:root {
  /* The Cyber Tower of Babel — dark cinematic, bold neon */
  --bg: #05070d;
  --bg-2: #080b14;
  --ink: #05070d;          /* dark text on neon fills */
  --text: #e2e8f5;         /* body */
  --text-dim: #b7c0d4;
  --muted: #8791a8;
  --muted-2: #5f6880;
  --line: rgba(255,255,255,0.09);
  --line-soft: rgba(255,255,255,0.05);
  --panel: rgba(255,255,255,0.028);
  --panel-2: rgba(255,255,255,0.05);
  /* bold neon accents */
  --orange: #F38333;
  --amber:  #FFA920;
  --blue:   #70B0FF;
  --lime:   #C3FF20;
  --accent: #C3FF20;       /* lime — the "validation" signal color */
  --accent-2: #70B0FF;     /* blue */
  --ok: #C3FF20;
  --err: #ff5b6e;
  --font-sans: "Sofia Sans Condensed", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --radius: 16px;
  --shadow: 0 24px 70px rgba(0,0,0,0.6);
  --shadow-soft: 0 10px 34px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(900px 620px at 12% -6%, rgba(112,176,255,0.14), transparent 60%),
    radial-gradient(820px 560px at 92% 4%, rgba(243,131,51,0.13), transparent 58%),
    radial-gradient(1000px 700px at 50% 118%, rgba(195,255,32,0.12), transparent 62%),
    linear-gradient(180deg, #05070d 0%, #04050a 100%);
  background-attachment: fixed;
}

/* faint grid overlay for the "cyber" feel */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}

a { color: var(--lime); text-decoration: none; font-weight: 600; }
a:hover { color: var(--blue); }

.wrap { max-width: 980px; margin: 0 auto; padding: 22px 22px 90px; position: relative; z-index: 1; }

/* ---------- top bar ---------- */
header.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0 22px; gap: 14px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; }
.logo-chip { background: transparent; padding: 0; display: inline-flex; align-items: center; }
.logo-chip img { height: 42px; display: block; }
.brand .divider { width: 1px; height: 26px; background: var(--line); }
.brand .evt { font-size: 12px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.brand .evt b { color: var(--text); font-weight: 700; }

.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--text); }
.badge {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--muted);
  padding: 5px 11px; border-radius: 999px;
}
.badge.live { color: var(--lime); border-color: rgba(195,255,32,0.4); box-shadow: 0 0 16px rgba(195,255,32,0.25); }
.badge.live::before { content: "●"; color: var(--lime); margin-right: 6px; }

/* ---------- hero ---------- */
.hero { padding: 48px 0 8px; text-align: center; }
.eyebrow {
  display: inline-block; color: var(--lime); font-size: 13px; letter-spacing: 4px;
  text-transform: uppercase; font-weight: 700; margin-bottom: 18px;
  border: 1px solid rgba(195,255,32,0.35); padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 0 22px rgba(195,255,32,0.18);
}
.hero h1 {
  font-size: 66px; line-height: 0.98; margin: 0 0 18px; letter-spacing: -1px;
  font-weight: 800; color: #fff; text-transform: uppercase;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--orange) 0%, var(--amber) 30%, var(--lime) 62%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(195,255,32,0.25));
}
.hero .lede { font-size: 20px; color: var(--text-dim); max-width: 720px; margin: 0 auto; }
.hero .lede strong { color: #fff; }
@media (max-width: 640px) { .hero h1 { font-size: 40px; } }

/* motif line */
.motif {
  text-align: center; margin: 26px auto 0; max-width: 760px;
  font-size: 22px; font-weight: 700; color: #fff; line-height: 1.3;
}
.motif .q {
  background: linear-gradient(100deg, var(--lime), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ THE TOWER ============ */
.tower-stage {
  position: relative; margin: 30px auto 8px; height: 560px; width: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  perspective: 900px;
}
.tower-stage .halo {
  position: absolute; top: 4%; left: 50%; transform: translateX(-50%);
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(112,176,255,0.20), rgba(195,255,32,0.06) 45%, transparent 70%);
  filter: blur(6px); z-index: 0; animation: haloPulse 6s ease-in-out infinite;
}
.tower {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding-bottom: 6px;
}
.tower .spire {
  width: 3px; height: 58px; margin-bottom: 4px;
  background: linear-gradient(180deg, transparent, var(--lime));
  box-shadow: 0 0 12px var(--lime); position: relative;
}
.tower .spire .beacon {
  position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 14px 3px var(--lime); animation: beacon 1.6s ease-in-out infinite;
}
.floor {
  --g: var(--lime);
  width: var(--w, 240px); height: 46px; border-radius: 6px;
  border: 1px solid var(--g);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  box-shadow: 0 0 18px -2px var(--g), inset 0 0 22px -12px var(--g);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; position: relative;
  animation: floorPulse 4s ease-in-out infinite;
}
.floor .name {
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 1px;
  text-transform: uppercase; text-shadow: 0 0 10px var(--g); white-space: nowrap;
}
.floor .tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 1px;
  color: var(--g); border: 1px solid var(--g); border-radius: 999px;
  padding: 2px 8px; text-transform: uppercase; opacity: 0.9; white-space: nowrap; flex: none;
}
.floor .tag::before { content: "✓ "; }
.floor.base { height: 54px; border-width: 2px; }
.floor.anomaly { animation: floorPulse 4s ease-in-out infinite, anomaly 2.4s steps(1) infinite; }
.floor.anomaly .tag { letter-spacing: 3px; color: #fff; border-color: rgba(255,255,255,0.7); }
.floor.anomaly .tag::before { content: ""; }

/* validation scan sweeping up the tower */
.tower-stage .scanbeam {
  position: absolute; z-index: 3; left: 50%; transform: translateX(-50%);
  bottom: 8px; width: 320px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  box-shadow: 0 0 22px 4px rgba(195,255,32,0.55);
  animation: scan 5.5s ease-in-out infinite;
}
.tower-stage .ground {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 520px; height: 2px; background: var(--lime);
  box-shadow: 0 0 40px 6px rgba(195,255,32,0.35); opacity: 0.7;
}

@keyframes floorPulse { 0%,100%{ filter: brightness(1); } 50%{ filter: brightness(1.28); } }
@keyframes beacon { 0%,100%{ opacity: 1; } 50%{ opacity: 0.25; } }
@keyframes haloPulse { 0%,100%{ opacity: 0.75; } 50%{ opacity: 1; } }
@keyframes scan { 0%{ bottom: 8px; opacity: 0; } 8%{ opacity: 1; } 92%{ opacity: 1; } 100%{ bottom: 452px; opacity: 0; } }
@keyframes anomaly { 0%,78%,100%{ opacity: 1; } 80%{ opacity: 0.35; } 86%{ opacity: 1; } 90%{ opacity: 0.2; } 94%{ opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .floor, .floor.anomaly, .tower-stage .scanbeam, .tower .spire .beacon, .tower-stage .halo { animation: none !important; }
}
@media (max-width: 640px) {
  .tower-stage { height: 460px; transform: scale(0.82); }
}

/* ---------- sections ---------- */
.section-title {
  font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--muted); margin: 56px 0 18px; font-weight: 700;
  display: flex; align-items: center; gap: 12px;
}
.section-title::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px; display: inline-block;
  background: linear-gradient(90deg, var(--lime), var(--blue));
  box-shadow: 0 0 12px rgba(195,255,32,0.5);
}

.prose p { color: var(--text-dim); margin: 0 0 16px; }
.prose strong { color: #fff; font-weight: 700; }

.pull {
  position: relative; padding: 22px 24px; margin: 26px 0;
  color: #fff; font-size: 22px; font-weight: 700; line-height: 1.35;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--line); border-radius: 14px;
}
.pull::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px;
  border-radius: 4px; background: linear-gradient(180deg, var(--lime), var(--blue));
  box-shadow: 0 0 16px rgba(195,255,32,0.5);
}

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 680px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; position: relative; overflow: hidden; box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
}
.card .kicker { color: var(--lime); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.card h3 { margin: 8px 0 8px; font-size: 19px; color: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .num { position: absolute; top: 12px; right: 16px; font-family: var(--font-mono); color: rgba(255,255,255,0.08); font-size: 34px; font-weight: 800; }

/* ---------- terminal (kept) ---------- */
.terminal { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #04050a; margin: 18px 0; box-shadow: var(--shadow-soft); }
.terminal .bar { background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--line); padding: 9px 13px; display: flex; align-items: center; gap: 7px; }
.terminal .bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f56; } .dot.y { background: #ffbd2e; } .dot.g { background: #27c93f; }
.terminal .bar .t { color: var(--muted); font-family: var(--font-mono); font-size: 12.5px; margin-left: 8px; }
.terminal pre { margin: 0; padding: 16px 18px; font-family: var(--font-mono); font-size: 13.5px; white-space: pre-wrap; word-break: break-word; color: var(--text-dim); line-height: 1.7; }
.terminal pre .c { color: var(--lime); }
.terminal pre .m { color: var(--muted-2); }
.terminal pre .a { color: var(--amber); }
.terminal pre .p { color: var(--blue); }

.inline {
  font-family: var(--font-mono); font-size: 0.9em; color: var(--lime);
  background: rgba(195,255,32,0.08); border: 1px solid rgba(195,255,32,0.28);
  padding: 1px 7px; border-radius: 6px;
}

/* ---------- key box ---------- */
.key-panel {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin-top: 12px; box-shadow: var(--shadow);
  position: relative; overflow: hidden; backdrop-filter: blur(6px);
}
.key-panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber), var(--lime), var(--blue));
  box-shadow: 0 0 20px rgba(195,255,32,0.5);
}
.key-panel label { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; font-weight: 700; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
input[type="text"],
input[type="password"] {
  flex: 1; min-width: 200px; background: #04050a; border: 1.5px solid var(--line);
  color: #fff; font-family: var(--font-mono); font-size: 17px; letter-spacing: 2px;
  padding: 14px 16px; border-radius: 12px;
}
input[type="text"]::placeholder,
input[type="password"]::placeholder { color: var(--muted-2); }
input[type="text"]:focus,
input[type="password"]:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(195,255,32,0.16), 0 0 22px rgba(195,255,32,0.2); }

button {
  border: none; cursor: pointer; font-family: var(--font-sans); font-weight: 800;
  font-size: 16px; letter-spacing: 0.5px; padding: 14px 26px; border-radius: 12px;
  text-transform: uppercase;
  background: linear-gradient(100deg, var(--lime), var(--blue));
  color: var(--ink); transition: transform .06s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow: 0 8px 26px rgba(195,255,32,0.28);
}
button:hover { box-shadow: 0 12px 34px rgba(195,255,32,0.45); transform: translateY(-1px); filter: brightness(1.06); }
button.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); box-shadow: none; }
button.ghost:hover { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 18px rgba(195,255,32,0.2); }

.result { margin-top: 16px; min-height: 20px; font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.result.err { color: var(--err); }
.result.ok { color: var(--lime); }

/* ---------- certificate ---------- */
.cert {
  border: 1px solid rgba(195,255,32,0.45); border-radius: 20px; margin-top: 18px;
  padding: 36px 30px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(700px 260px at 50% -10%, rgba(195,255,32,0.16), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  box-shadow: 0 0 70px rgba(195,255,32,0.18), var(--shadow);
  backdrop-filter: blur(8px);
}
.cert::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--amber), var(--lime), var(--blue));
}
.cert .granted { color: var(--lime); font-family: var(--font-mono); letter-spacing: 3px; font-size: 13px; text-transform: uppercase; }
.cert .booth {
  font-size: 74px; font-weight: 800; margin: 8px 0 4px; letter-spacing: 1px; line-height: 1;
  background: linear-gradient(100deg, var(--orange), var(--amber), var(--lime), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(195,255,32,0.35));
}
.cert .headline { color: #fff; font-size: 20px; margin: 6px 0; }
.cert .msg { color: var(--text); font-size: 19px; font-weight: 600; margin: 12px 0 8px; }
.cert .campaign {
  margin: 16px 0 4px; font-size: 26px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  background: linear-gradient(100deg, var(--lime), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(195,255,32,0.4));
}
.cert .certid { color: var(--muted); font-family: var(--font-mono); font-size: 13px; }

/* ---------- QR ---------- */
.qr-wrap { display: flex; flex-direction: column; align-items: center; margin: 24px 0 8px; }
.qr { background: #fff; padding: 14px; border-radius: 14px; line-height: 0; box-shadow: 0 0 34px rgba(195,255,32,0.25); border: 1px solid rgba(195,255,32,0.4); }
.qr img, .qr canvas { display: block; }
.qr-cap { color: var(--muted); font-size: 14px; margin-top: 12px; letter-spacing: 0.4px; font-weight: 600; }

.token-details { margin-top: 16px; text-align: left; }
.token-details summary { color: var(--muted-2); font-size: 12.5px; cursor: pointer; font-family: var(--font-mono); }
.token-details summary:hover { color: var(--muted); }
.token { margin-top: 12px; word-break: break-all; font-family: var(--font-mono); font-size: 11px; color: var(--muted); background: #04050a; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }

.hidden { display: none; }
.blink { animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { opacity: 0; } }

/* ---------- accordion ---------- */
.accordion { margin-top: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; box-shadow: var(--shadow-soft); backdrop-filter: blur(6px); }
.acc-toggle {
  width: 100%; background: transparent; border: none; color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; font-family: var(--font-sans); font-weight: 700; font-size: 16px;
  cursor: pointer; box-shadow: none;
}
.acc-toggle:hover { background: rgba(255,255,255,0.03); box-shadow: none; transform: none; filter: none; }
.acc-toggle .chevron { color: var(--lime); transition: transform .18s ease; font-size: 13px; }
.acc-toggle[aria-expanded="true"] .chevron { transform: rotate(90deg); }
.acc-body { padding: 0 20px 18px; border-top: 1px solid var(--line); }
.acc-note { color: var(--muted); font-size: 14px; margin: 14px 0 10px; }
.steps { margin: 0; padding-left: 20px; color: var(--text-dim); }
.steps li { margin: 8px 0; font-size: 15px; }
.steps b { color: #fff; }

/* ---------- layer registry (records page) ---------- */
.exhibits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 680px) { .exhibits { grid-template-columns: 1fr; } }
.exhibit { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--panel); box-shadow: var(--shadow-soft); position: relative; backdrop-filter: blur(6px); }
.exhibit::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.exhibit .ref { font-family: var(--font-mono); color: var(--lime); font-size: 12px; letter-spacing: 1px; font-weight: 700; }
.exhibit h4 { margin: 8px 0 6px; color: #fff; font-size: 17px; }
.exhibit p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- reward ---------- */
.reward {
  border: 1px solid rgba(235,69,171,0.4); border-radius: 18px; padding: 26px 26px 22px;
  background: radial-gradient(600px 220px at 50% -20%, rgba(235,69,171,0.14), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  box-shadow: 0 0 50px rgba(235,69,171,0.12), var(--shadow-soft);
  backdrop-filter: blur(6px); position: relative; overflow: hidden;
}
.reward::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, #EB45AB, #6FF0FC, #D0FE57, #F3AF56);
}
.reward-head {
  font-size: 26px; font-weight: 800; color: #fff; margin: 0 0 6px; letter-spacing: 0.3px;
}
.reward-sub { color: var(--text-dim); margin: 0 0 18px; font-size: 16px; }
.reward-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .reward-grid { grid-template-columns: 1fr; } }
.reward-item {
  display: flex; gap: 14px; align-items: center; padding: 16px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.03);
}
.reward-item .ri-ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 24px; background: rgba(255,255,255,0.05); border: 1px solid var(--line);
}
.reward-item b { display: block; color: #fff; font-size: 17px; }
.reward-item span { display: block; color: var(--muted); font-size: 14px; }
.reward-foot { margin: 18px 0 0; color: var(--text-dim); font-size: 16px; }
.reward-foot b {
  background: linear-gradient(100deg, var(--lime), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
}

/* ---------- campaign banner ---------- */
.campaign-banner {
  margin: 56px 0 10px; text-align: center; padding: 34px 20px;
  border: 1px solid var(--line); border-radius: 18px;
  background: radial-gradient(700px 240px at 50% 120%, rgba(112,176,255,0.14), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
}
.campaign-banner .sub { color: var(--muted); letter-spacing: 3px; text-transform: uppercase; font-size: 13px; margin-bottom: 12px; }
.campaign-banner .big {
  font-size: 52px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; line-height: 1;
  background: linear-gradient(100deg, var(--orange), var(--amber), var(--lime), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(195,255,32,0.3));
}
@media (max-width: 640px){ .campaign-banner .big { font-size: 34px; } }

/* ---------- camera scanner (verify page) ---------- */
.scanner { margin-top: 10px; }
.scan-stage { position: relative; width: 100%; max-width: 360px; margin: 0 auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #04050a; aspect-ratio: 1/1; display: none; box-shadow: var(--shadow-soft); }
.scan-stage.on { display: block; }
.scan-stage video { width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: absolute; inset: 14%; border: 2px solid var(--lime); border-radius: 12px; box-shadow: 0 0 0 9999px rgba(4,5,10,0.6), 0 0 20px rgba(195,255,32,0.4); }
.scan-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

.footer { color: var(--muted-2); font-size: 13px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer .mono { font-family: var(--font-mono); }

/* ---------- solver identity fields (name + email before code submit) ---------- */
.solver-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 4px;
}
@media (max-width: 560px) { .solver-fields { grid-template-columns: 1fr; } }
.solver-fields input[type="text"],
.solver-fields input[type="email"] {
  font-family: var(--font-sans); font-size: 16px; letter-spacing: 0.3px; min-width: 0; width: 100%;
}
input[type="email"] {
  flex: 1; background: #04050a; border: 1.5px solid var(--line);
  color: #fff; font-family: var(--font-sans); font-size: 16px; letter-spacing: 0.3px;
  padding: 14px 16px; border-radius: 12px; width: 100%;
}
input[type="email"]::placeholder { color: var(--muted-2); }
input[type="email"]:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(195,255,32,0.16), 0 0 22px rgba(195,255,32,0.2); }

/* ---------- leaderboard ---------- */
.lb-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lb-table th { text-align: left; padding: 8px 12px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); font-weight: 700; }
.lb-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); color: var(--text-dim); vertical-align: middle; }
.lb-table tbody tr:hover { background: rgba(255,255,255,0.025); }
.lb-table tbody tr:last-child td { border-bottom: none; }
