:root{
  --bg: #0b1220;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.10);
  --text: #e8eefc;
  --muted: rgba(232,238,252,.72);
  --line: rgba(255,255,255,.12);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --r: 18px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 15% 20%, rgba(84,140,255,.22), transparent 55%),
    radial-gradient(900px 600px at 85% 25%, rgba(255,110,199,.16), transparent 55%),
    radial-gradient(900px 700px at 55% 90%, rgba(81,255,213,.10), transparent 55%),
    var(--bg);
}

.wrap{
  min-height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding: 28px 16px;
  gap: 18px;
}

.card{
  width: min(560px, 100%);
  background: linear-gradient(180deg, var(--card), rgba(255,255,255,.04));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(10px);
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-bottom: 16px;
}

.logo{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  letter-spacing: .02em;
  background: linear-gradient(135deg, rgba(84,140,255,.9), rgba(255,110,199,.75));
  border: 1px solid rgba(255,255,255,.18);
}

h1{
  margin:0;
  font-size: 20px;
  line-height: 1.2;
}
.muted{ color: var(--muted); }
.brand p{ margin: 4px 0 0; }

.status{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  margin: 12px 0 18px;
}

.status-title{
  font-weight: 650;
  margin-bottom: 4px;
}
.status-text{ color: var(--muted); }

.spinner{
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  border-top-color: rgba(255,255,255,.85);
  margin-top: 2px;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn{
  appearance:none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration:none;
  cursor:pointer;
  font-weight: 600;
  transition: transform .08s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{ background: rgba(255,255,255,.10); }
.btn:active{ transform: translateY(1px); }

.btn.primary{
  border-color: rgba(84,140,255,.55);
  background: rgba(84,140,255,.16);
}
.btn.primary:hover{ background: rgba(84,140,255,.22); }

.help{
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.help summary{
  cursor:pointer;
  color: var(--muted);
}
.help ul{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
code{
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 8px;
}

.foot{
  width: min(560px, 100%);
  display:flex;
  justify-content:center;
  font-size: 12px;
}
