:root {
  --bg: #0e0e10;
  --panel: #151518;
  --panel-border: #2a2a30;
  --text: #e8eaef;
  --muted: #8b8f9a;
  --accent: #6ea8fe;
  --accent-dim: #3d5a8a;
  --success: #3ecf6e;
  --radius: 6px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Code", "Consolas", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
}

body {
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 14px 14px;
}

.shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card--center {
  text-align: center;
}

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

.brand__mark {
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}

.brand h1 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.grid .stat:last-child {
  grid-column: 1 / -1;
}

.stat {
  background: #101012;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.stat__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}

.stat__value {
  font-size: 15px;
  font-weight: 600;
}

.stat__value--mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  word-break: break-all;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.btn {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: #1c1c20;
  color: var(--text);
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s;
}

.btn:hover {
  background: #222228;
  border-color: #3a3a42;
}

.btn--primary {
  background: linear-gradient(180deg, #2a3f66 0%, #1e2d4a 100%);
  border-color: var(--accent-dim);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #345080 0%, #243858 100%);
}

.note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.note code {
  font-family: var(--mono);
  font-size: 11px;
  background: #101012;
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid var(--panel-border);
}

.error {
  margin-top: 12px;
  color: #f07070;
  font-size: 13px;
}

.hidden {
  display: none;
}
