/* ============================================================
   FLAPPONS ($FPONS) — never been touched.
   lime #CCFF00 · ink #101010 · glass #E8EDE8 · mint #A8E6C4 (dark bg only)
   Contrast law: text on --bg is --ink. Text on an --ink panel is --glass or --bg.
                 --mint is NEVER text on lime (1.21:1). Red is NEVER text on ink (3.20:1).
   grid: 8px · display: Archivo Black · body: Space Grotesk · data: JetBrains Mono
   ============================================================ */

:root{
  --bg:#CCFF00;         /* lime — the page */
  --ink:#101010;        /* charcoal — text, panels, outlines */
  --glass:#E8EDE8;      /* glass white — cards, and text on ink panels */
  --mint:#A8E6C4;       /* mint — ONLY on dark surfaces */
  --danger-dk:#B3373B;  /* red — legal on lime (5.07:1) and glass (5.02:1), never on ink */
  --disp:'Archivo Black',system-ui,sans-serif;
  --body:'Space Grotesk',system-ui,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,monospace;
  --marquee-h:40px;
  --cabar-h:56px;       /* the always-on OFFICIAL CA bar */
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-bottom:calc(var(--marquee-h) + var(--cabar-h) + 16px)}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:var(--body);
  font-size:16px;
  line-height:1.55;
  overflow-x:clip;
  -webkit-font-smoothing:antialiased;
}
img,canvas,video{max-width:100%}
a{color:var(--ink);text-underline-offset:3px}
::selection{background:var(--ink);color:var(--bg)}
[hidden]{display:none!important}

h1,h2,h3{font-family:var(--disp);font-weight:400;color:var(--ink);line-height:1.02;text-wrap:balance}

.mono{
  font-family:var(--mono);
  font-variant-ligatures:none;
  font-feature-settings:"liga" 0,"calt" 0;
  font-variant-numeric:tabular-nums;
}
.overline{
  font-family:var(--mono);
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ink);
  margin-bottom:16px;
}
.overline--dark{color:var(--bg)}

:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.ca__box :focus-visible,.footer :focus-visible,.sticky :focus-visible,.verified :focus-visible{outline-color:var(--bg)}

/* ---------- background theatre ---------- */
#bgCanvas{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.grain{
  position:fixed;inset:0;z-index:80;pointer-events:none;opacity:.04;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='180'%20height='180'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.85'%20numOctaves='2'/%3E%3C/filter%3E%3Crect%20width='180'%20height='180'%20filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */
.nav{
  display:flex;align-items:center;gap:12px;
  padding:12px 20px;
  border-bottom:2px solid var(--ink);
}
.nav__brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-height:44px}
.nav__logo{display:flex;width:36px;height:36px}
.nav__logo img{width:36px;height:36px;border-radius:8px;image-rendering:auto}
.nav__name{font-family:var(--disp);font-size:20px;color:var(--ink);letter-spacing:.01em;white-space:nowrap}
.nav__tag{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;background:var(--ink);color:var(--bg);padding:3px 7px;border-radius:4px}
.nav__links{display:flex;gap:4px;margin-left:auto}
.nav__links a{
  font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--ink);
  text-decoration:none;padding:14px 10px;
}
.nav__links a:hover{text-decoration:underline;text-underline-offset:4px}
/* CA + X stay visible at every breakpoint — anti-scam surfaces are never hidden */
.nav__quick{display:flex;gap:6px;margin-left:auto}
.nav__quick a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:38px;min-width:44px;padding:0 12px;
  background:var(--ink);color:var(--bg);
  border:2px solid var(--ink);border-radius:8px;
  font-family:var(--mono);font-size:12px;font-weight:700;letter-spacing:.08em;
  text-decoration:none;
}
.nav__quick a:hover{background:var(--bg);color:var(--ink)}
.magnet-wrap{display:inline-block;padding:6px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:700;text-decoration:none;cursor:pointer;
  border:0;border-radius:8px;
  transition:transform .12s ease,box-shadow .2s ease,background .2s ease,color .2s ease;
}
.btn:active{transform:translateY(1px)}
.btn--buy{
  background:var(--ink);color:var(--bg);
  font-size:13px;letter-spacing:.06em;
  min-height:44px;padding:0 20px;
  animation:buyPulse 2.6s ease-in-out infinite;
}
.btn--buy:hover{background:#000}
@keyframes buyPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(16,16,16,0),0 0 14px rgba(16,16,16,.35)}
  50%{box-shadow:0 0 0 4px rgba(16,16,16,.18),0 0 26px rgba(16,16,16,.55)}
}

/* ---------- register bar ---------- */
.register{
  display:flex;align-items:center;gap:12px;
  background:var(--ink);color:var(--glass);
  font-size:11px;font-weight:700;letter-spacing:.06em;
  padding:5px 20px;
}
.register #registerText{flex:1;white-space:nowrap;overflow:hidden;min-width:0}
.glass-btn{
  flex:none;background:transparent;color:var(--bg);
  border:1.5px solid var(--bg);border-radius:6px;cursor:pointer;
  font-size:10px;font-weight:700;letter-spacing:.08em;
  min-height:30px;padding:0 12px;white-space:nowrap;
}
.glass-btn:hover{background:rgba(204,255,0,.16)}
.glass-btn.on{background:var(--bg);color:var(--ink)}

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;flex-direction:column;
  padding-bottom:calc(var(--marquee-h) + var(--cabar-h) + 16px);
}
.hero__main{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:16px;padding:24px 20px 8px;
}
.hero__head{text-align:center;max-width:900px}
.hero__head .overline{margin-bottom:8px}
.hero__title{
  font-size:clamp(28px,5vw,56px);
  letter-spacing:-.01em;
  color:var(--ink);
}
.hero__sub{font-size:12px;font-weight:400;margin-top:8px;color:rgba(16,16,16,.8)}

/* ---------- game ---------- */
.game-zone{display:flex;flex-direction:column;align-items:center;gap:8px}

/* stage: fullscreen wrapper — scales the paint layer only, logic space untouched */
.game-stage{position:relative;width:fit-content;margin:0 auto}
/* a static row UNDER the shell: parked over the playfield they collided with the
   overlay title at every short viewport. Fullscreen re-pins them (see .fs/.theater). */
.stage-ctl{display:flex;gap:6px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:8px}
.stage-btn{
  background:var(--ink);color:var(--glass);border:1.5px solid rgba(232,237,232,.5);
  border-radius:999px;cursor:pointer;
  font-size:10px;font-weight:700;letter-spacing:.06em;
  min-height:30px;padding:0 12px;opacity:.92;
}
.stage-btn:hover{opacity:1;border-color:var(--glass)}
.stage-btn.on{background:var(--bg);border-color:var(--bg);color:var(--ink)}
#muteBtn{font-size:13px;min-width:38px;padding:0 8px}
.game-stage.fs,.game-stage.theater{
  display:flex;align-items:center;justify-content:center;
  background:var(--bg);width:auto;
}
.game-stage.theater{position:fixed;inset:0;z-index:9999}
.game-stage.fs::after,.game-stage.theater::after{
  content:'';position:absolute;inset:0;pointer-events:none;opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='180'%20height='180'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.85'%20numOctaves='2'/%3E%3C/filter%3E%3Crect%20width='180'%20height='180'%20filter='url(%23n)'/%3E%3C/svg%3E");
}
.game-stage.fs #gameCanvas,.game-stage.theater #gameCanvas{max-width:none;max-height:none}
.game-stage.fs .stage-ctl,.game-stage.theater .stage-ctl{position:fixed;top:16px;right:16px;z-index:10001;max-width:none}
html.stage-lock,html.stage-lock body{overflow:hidden}

/* stream mode overlays live on the letterbox, never over the playfield */
.stream-ui{position:absolute;inset:0;pointer-events:none;z-index:10000}
.stream-left{
  position:absolute;left:28px;top:50%;transform:translateY(-50%);
  display:flex;flex-direction:column;gap:14px;
}
.stream-left div{
  background:var(--ink);color:var(--glass);
  font-size:30px;font-weight:700;letter-spacing:.04em;
  padding:12px 20px;border-radius:10px;
}
/* red is illegal on ink (3.20:1) — LV5 shouts in lime instead */
.stream-left #stLv[data-lv="5"]{color:var(--bg)}
.stream-right{
  position:absolute;right:28px;top:50%;transform:translateY(-50%);
  display:flex;flex-direction:column;gap:12px;width:340px;
}
.st-claim{background:var(--ink);color:var(--glass);font-size:13px;font-weight:700;padding:10px 14px;border-radius:8px}
.st-log{background:var(--ink);color:var(--glass);font-size:12px;line-height:1.6;padding:10px 14px;border-radius:8px;min-height:120px}
.st-hall{background:var(--ink);color:var(--glass);font-size:13px;padding:10px 14px;border-radius:8px}
.st-hall-head{font-weight:700;letter-spacing:.1em;font-size:11px;opacity:.7;margin-bottom:6px}
.st-hall-row{display:flex;gap:10px;justify-content:space-between;padding:2px 0}
.st-banner{
  position:absolute;left:50%;top:18%;transform:translateX(-50%);
  background:var(--ink);color:var(--bg);
  font-size:34px;font-weight:700;letter-spacing:.04em;
  padding:18px 32px;border-radius:12px;border:3px solid var(--bg);
  white-space:nowrap;
}
.st-banner.flash{animation:stFlash 1.2s ease}
@keyframes stFlash{0%{opacity:0;transform:translateX(-50%) scale(.92)}12%{opacity:1;transform:translateX(-50%) scale(1.04)}24%{transform:translateX(-50%) scale(1)}80%{opacity:1}100%{opacity:.2}}
.st-mark{
  /* sits on the lime letterbox in fullscreen — ink, 16.19:1 */
  position:absolute;right:24px;bottom:18px;
  font-family:var(--disp);font-size:22px;color:var(--ink);
}
.go-live{
  position:absolute;inset:0;z-index:10002;cursor:pointer;
  background:rgba(16,16,16,.9);color:var(--bg);border:0;
  font-size:26px;font-weight:700;letter-spacing:.1em;
}
.game-shell{
  position:relative;width:fit-content;
  border:3px solid var(--ink);border-radius:8px;
  background:var(--glass);
  box-shadow:8px 8px 0 var(--ink);
  touch-action:none;
  overflow:hidden;            /* the overlay may never paint outside the playfield */
}
.game-shell.gflash{box-shadow:0 0 0 5px var(--ink),8px 8px 0 var(--ink)}
.game-shell:focus-within{outline:3px dashed var(--ink);outline-offset:4px}
#gameCanvas{
  display:block;border-radius:5px;outline:none;
  height:clamp(300px,calc(100svh - 540px),640px);
  width:auto;
  max-width:min(380px,calc(100vw - 48px));
  touch-action:none;
  cursor:pointer;
}
.game-overlay{
  position:absolute;inset:0;z-index:2;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:8px;text-align:center;padding:14px 16px;overflow:hidden;
  /* .90 not .84: at .84 the live canvas mascot bobbing underneath read as a second, ghostly
     Pons next to the overlay figure. Also lifts every overlay pair to >12:1. */
  background:rgba(16,16,16,.9);color:var(--glass);
  border-radius:5px;cursor:pointer;touch-action:none;
}
.ov-overline{font-size:9px;font-weight:700;letter-spacing:.12em;opacity:.7}
.ov-title{font-family:var(--disp);font-size:clamp(19px,6vw,32px);color:var(--bg);line-height:1.05;max-width:100%}
.ov-line{font-size:11.5px;line-height:1.55;opacity:.92;max-width:100%}
.ov-claim{opacity:.75}
.ov-btn{
  margin-top:8px;background:var(--bg);color:var(--ink);
  border:0;border-radius:8px;cursor:pointer;
  font-size:13px;font-weight:700;letter-spacing:.05em;
  min-height:46px;min-width:150px;padding:0 20px;flex:none;
}
.ov-btn--big{min-height:50px;font-size:14px}
.ov-btn:hover{background:#DDFF4D}
/* overlay sprite figures. The feather PNGs are pure black silhouettes and the overlay
   composites to ~#333, so they must be inverted to read at all. The pons PNGs are already
   light glass and are left alone. A missing file removes only its own <img> (game.js). */
.ov-fig{display:block;width:auto;height:auto;max-width:min(56%,150px);max-height:clamp(38px,9vh,72px);object-fit:contain;pointer-events:none;flex:none}
.ov-fig--wide{max-width:min(74%,190px);max-height:clamp(26px,5.5vh,44px)}
.ov-fig--feather{filter:brightness(0) invert(1);opacity:.9}
.ov-figrow{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
@media (prefers-reduced-motion:reduce){.ov-fig{max-height:clamp(34px,8vh,60px)}}
/* short viewports: the shell shrinks with the viewport but the overlay content does not,
   so at <=880px tall the ready overlay overflowed by ~40px and clipped TAP TO START.
   Measured: 346px in a 306px box at 360x780, and 366 in 360 at 1440x900. */
@media (max-height:960px){
  .ov-overline{display:none}
  .ov-fig{max-height:clamp(30px,6vh,52px)}
  .ov-fig--wide{max-height:clamp(22px,4vh,36px)}
  .ov-line{font-size:11px;line-height:1.45}
  .ov-title{font-size:clamp(18px,5.4vw,28px)}
  .game-overlay{gap:6px;padding:12px 14px}
}
.game-hint{font-size:11px;font-weight:400;letter-spacing:.04em;color:rgba(16,16,16,.8)}
.counter{
  font-size:13px;font-weight:700;letter-spacing:.02em;text-align:center;
  padding:10px 16px;border:2px solid var(--ink);border-radius:8px;background:var(--glass);
}
.counter b{color:var(--ink)}
.counter__dev{font-weight:400;opacity:.75}
.badge{
  font-size:13px;font-weight:700;letter-spacing:.12em;
  background:var(--ink);color:var(--bg);
  padding:8px 16px;border-radius:999px;
}
.game-noscript{font-size:12px;background:var(--ink);color:var(--glass);padding:8px 12px;border-radius:8px}

/* ---------- glass log ---------- */
.glasslog{
  width:min(440px,calc(100% - 40px));
  margin:8px auto 0;
  background:var(--ink);color:var(--glass);
  border:2px solid var(--ink);border-radius:8px;
  overflow:hidden;
}
.glasslog__head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  font-size:11px;font-weight:700;letter-spacing:.12em;
  padding:8px 12px;border-bottom:1px solid rgba(232,237,232,.25);
}
.glasslog__head span{font-size:9px;font-weight:400;letter-spacing:.1em;opacity:.78}
.glasslog__body{
  display:flex;flex-direction:column;justify-content:flex-end;
  height:200px;overflow:hidden;
  padding:10px 12px;
  font-size:12px;line-height:1.5;font-weight:400;
}
.glasslog__body .gl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;animation:glIn .25s ease}
@keyframes glIn{from{transform:translateY(5px)}to{transform:none}}

/* ---------- sections ---------- */
.sec{padding:88px 20px;position:relative}
.sec__inner{max-width:1040px;margin:0 auto}
.sec h2{font-size:clamp(28px,4.6vw,46px);margin-bottom:32px}

/* ---------- VERIFIED LINKS (anti-scam) ---------- */
.sec--verified{padding:40px 20px 8px;scroll-margin-top:12px}
.verified{
  max-width:680px;margin:0 auto;
  background:var(--ink);color:var(--glass);
  border:2px solid var(--bg);border-radius:12px;
  overflow:hidden;box-shadow:8px 8px 0 var(--ink);
}
.verified__head{
  font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--bg);
  padding:12px 16px;border-bottom:1px solid rgba(232,237,232,.25);
}
.verified__rows{padding:6px 16px 4px}
.verified__row{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  padding:10px 0;border-bottom:1px solid rgba(232,237,232,.14);
}
.verified__row:last-child{border-bottom:0}
.verified__k{
  flex:none;min-width:104px;
  font-size:10px;font-weight:700;letter-spacing:.12em;color:var(--glass);opacity:.78;
}
.verified__v{
  flex:1 1 220px;min-width:0;
  font-size:13px;font-weight:700;color:var(--bg);
  word-break:break-all;overflow-wrap:anywhere;text-decoration:none;
}
a.verified__v:hover{text-decoration:underline;text-underline-offset:3px}
.verified__copy{
  flex:none;background:var(--bg);color:var(--ink);border:0;border-radius:8px;cursor:pointer;
  font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.06em;
  min-height:44px;min-width:76px;padding:0 14px;
}
.verified__copy:hover{background:#DDFF4D}
.verified__warn{
  padding:12px 16px 16px;
  font-size:11px;line-height:1.7;color:var(--glass);
}

/* ---------- the glass house ---------- */
.sec--hall{padding:40px 20px 8px}
.hall{
  max-width:680px;margin:0 auto;
  background:var(--ink);color:var(--glass);
  border:2px solid var(--ink);border-radius:12px;
  overflow:hidden;box-shadow:8px 8px 0 var(--ink);
}
.hall__head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;
  font-size:12px;font-weight:700;letter-spacing:.12em;
  padding:12px 16px;border-bottom:1px solid rgba(232,237,232,.25);
}
.hall__head span{font-size:9px;font-weight:400;letter-spacing:.1em;opacity:.78}
.hall__head .glass-btn{margin-left:auto}
.hall__body{min-height:120px;max-height:340px;overflow-y:auto;padding:10px 12px;font-size:12px;scroll-behavior:smooth}
.hall__row{display:flex;gap:10px;padding:5px 8px;border-radius:6px;align-items:baseline}
.hall__row--head{font-size:9px;letter-spacing:.1em;opacity:.72;border-bottom:1px solid rgba(232,237,232,.25);border-radius:0;padding-bottom:7px;margin-bottom:4px}
.hall__row.me{background:var(--bg);color:var(--ink)}
.hall__rank{flex:none;width:44px;opacity:.75}
.hall__addr{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hall__you{background:var(--ink);color:var(--bg);font-size:9px;padding:1px 5px;border-radius:4px;margin-left:6px}
.hall__copy{
  flex:none;background:transparent;color:inherit;border:0;cursor:pointer;
  font-size:12px;opacity:.72;padding:0 4px;min-width:22px;
}
.hall__copy:hover{opacity:1}
.hall__pts{flex:none;font-weight:700;min-width:48px;text-align:right}
.hall__lv{flex:none;min-width:76px;text-align:right;opacity:.85}
.hall__sep{text-align:center;opacity:.72;padding:2px 0;letter-spacing:.3em}
.hall__skel{
  height:26px;border-radius:6px;margin:4px 0;
  background:rgba(232,237,232,.14);
  animation:skelPulse 1.1s ease-in-out infinite;
}
@keyframes skelPulse{0%,100%{opacity:.45}50%{opacity:1}}
.hall__empty{opacity:.78;font-size:12px;padding:8px}
.hall__retry{
  margin:0 12px 10px;background:var(--bg);color:var(--ink);border:0;border-radius:6px;
  cursor:pointer;font-size:11px;font-weight:700;letter-spacing:.06em;min-height:36px;padding:0 16px;
}
.hall__note{padding:10px 16px 0;font-size:11px;line-height:1.6;color:rgba(232,237,232,.78)}
.hall__note2{padding:4px 16px 14px;font-size:10px;color:rgba(232,237,232,.6)}

/* CA */
.sec--ca{padding-top:40px}
.ca__box{
  max-width:880px;margin:0 auto;
  background:var(--ink);color:var(--glass);
  border:2px solid var(--bg);border-radius:16px;
  padding:40px 32px;
  box-shadow:10px 10px 0 var(--ink);
}
.ca__title{color:var(--bg);font-size:clamp(26px,4.4vw,42px);margin-bottom:16px}
.ca__note{font-size:17px;line-height:1.6;color:var(--glass);max-width:60ch}
.ca__row{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.ca__addr{
  flex:1 1 260px;display:flex;align-items:center;
  background:#1B1B1B;border:1px solid #3a3a3a;border-radius:8px;
  padding:14px 16px;
  font-size:14px;color:var(--glass);
  word-break:break-all;overflow-wrap:anywhere;min-width:0;
}
.btn--copy{
  background:var(--bg);color:var(--ink);
  min-height:48px;min-width:104px;font-size:13px;letter-spacing:.05em;
}
.btn--copy:hover{background:#DDFF4D}
.btn--copy.ok{background:var(--glass)}
.ca__actions{display:flex;gap:12px;margin-top:16px;flex-wrap:wrap}
.ca__actions .btn{min-height:52px;padding:0 28px;font-size:14px;letter-spacing:.05em;flex:1 1 auto}
.btn--ghost{background:transparent;color:var(--bg);border:2px solid var(--bg)}
.btn--ghost:hover{background:rgba(204,255,0,.14)}
.btn--fill{background:var(--bg);color:var(--ink)}
.btn--fill:hover{background:#DDFF4D}

/* receipts / tally */
.tally{border-bottom:2px solid var(--ink)}
.tally__row{
  display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:8px 24px;
  border-top:2px solid var(--ink);padding:24px 0;
}
.tally__k{font-weight:700;font-size:clamp(18px,2.6vw,26px)}
.tally__v{font-family:var(--disp);color:var(--ink);font-size:clamp(22px,3.8vw,40px);text-align:right}

/* the naming line */
.who{
  max-width:1040px;margin:0 auto 32px;
  font-family:var(--mono);font-size:13px;font-weight:700;letter-spacing:.02em;
  background:var(--ink);color:var(--glass);
  border-radius:10px;padding:14px 18px;
}

/* extra card */
.extra-card{
  max-width:420px;margin:48px auto 0;
  background:var(--glass);
  border:2px solid var(--ink);border-radius:12px;
  padding:12px;box-shadow:6px 6px 0 var(--ink);
}
.extra-card img{display:block;width:100%;height:auto;border-radius:12px}
.extra-card figcaption{margin-top:10px;text-align:center;font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--ink)}

/* footage */
.footage__frame{
  position:relative;max-width:960px;width:100%;margin:0 auto;
  border:3px solid var(--ink);border-radius:12px;overflow:hidden;
  background:var(--ink);
}
.footage__video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#181818;border-radius:12px}
.footage__cap{margin-top:12px;text-align:center;font-size:11px;color:rgba(16,16,16,.75)}

/* how to buy */
.steps{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.step{
  background:var(--glass);
  border:2px solid var(--ink);border-radius:12px;
  padding:24px;box-shadow:6px 6px 0 var(--ink);
}
.step__num{font-family:var(--disp);font-size:40px;color:var(--ink);line-height:1}
.step__overline{margin:8px 0 4px}
.step h3{font-size:18px;color:var(--ink);margin-bottom:8px}
.step p{font-size:14px;line-height:1.6}
.step a{font-weight:700}

/* footer */
.footer{
  background:var(--ink);color:var(--glass);
  padding:64px 20px calc(64px + var(--marquee-h) + var(--cabar-h));
  text-align:center;
}
.footer__inner{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:16px;align-items:center}
.footer__logo{width:48px;height:48px;border-radius:8px}
.footer__claim{font-size:17px;font-weight:700;color:var(--glass);text-wrap:balance}
.footer__links{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;letter-spacing:.04em}
.footer__links a,.footer__links span{color:var(--bg);word-break:break-all;text-underline-offset:3px}
.footer__tiny{font-size:11px;color:rgba(232,237,232,.62)}

/* ---------- marquee ---------- */
.marquee{
  position:fixed;left:0;right:0;bottom:0;height:var(--marquee-h);
  background:var(--ink);border-top:2px solid var(--ink);
  display:flex;align-items:center;overflow:hidden;z-index:40;
}
.marquee__track{
  display:flex;white-space:nowrap;
  animation:mq 26s linear infinite;
  will-change:transform;
}
.marquee__track span{
  font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--bg);
}
@keyframes mq{to{transform:translateX(-50%)}}

/* ---------- floating buy — stacked ABOVE the CA bar so neither covers content ---------- */
.float-buy{
  position:fixed;right:20px;bottom:calc(var(--marquee-h) + var(--cabar-h) + 16px);z-index:41;
  background:var(--ink);color:var(--bg);
  font-size:13px;font-weight:700;letter-spacing:.06em;text-decoration:none;
  min-height:48px;padding:14px 22px;border-radius:999px;
  box-shadow:0 0 22px rgba(16,16,16,.5);
  transition:opacity .3s ease,transform .3s ease;
}
.float-buy:hover{background:#000}
.float-buy.is-off{opacity:0;pointer-events:none;transform:translateY(10px)}

/* ---------- OFFICIAL CA bar — always on, every breakpoint ---------- */
.sticky{
  position:fixed;left:8px;right:8px;bottom:calc(var(--marquee-h) + 8px);z-index:42;
  display:flex;align-items:center;gap:10px;
  min-height:var(--cabar-h);
  background:var(--ink);color:var(--bg);
  border:2px solid var(--bg);border-radius:10px;
  padding:6px 6px 6px 14px;
  box-shadow:0 6px 18px rgba(16,16,16,.35);
}
.sticky__tag{
  flex:none;font-size:9px;font-weight:700;letter-spacing:.14em;
  background:var(--bg);color:var(--ink);padding:3px 7px;border-radius:4px;
}
.sticky__label{flex:1;font-size:12px;font-weight:700;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.sticky__copy{
  flex:none;background:var(--bg);color:var(--ink);border:0;border-radius:8px;cursor:pointer;
  font-family:var(--mono);font-size:12px;font-weight:700;min-height:44px;min-width:84px;
}
.sticky__copy:hover{background:#DDFF4D}
@media (min-width:720px){
  .sticky{left:auto;right:20px;width:min(420px,calc(100vw - 40px))}
}

/* ---------- glass dropdown menu ---------- */
.glass-menu{
  position:fixed;z-index:10005;min-width:180px;
  background:var(--ink);border:1.5px solid var(--bg);border-radius:10px;
  padding:6px;display:flex;flex-direction:column;gap:2px;
  box-shadow:0 8px 22px rgba(16,16,16,.4);
}
.glass-menu button{
  background:transparent;color:var(--glass);border:0;border-radius:6px;cursor:pointer;
  font-size:11px;font-weight:700;letter-spacing:.06em;text-align:left;
  min-height:36px;padding:0 12px;
}
.glass-menu button:hover{background:rgba(204,255,0,.16)}

/* ---------- toasts ---------- */
#toasts{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:60;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none}
.toast{
  background:var(--ink);color:var(--glass);
  border:2px solid var(--bg);border-radius:10px;
  font-size:12px;font-weight:700;letter-spacing:.04em;
  padding:10px 18px;max-width:min(92vw,420px);text-align:center;
  opacity:0;transform:translateY(-8px);transition:opacity .3s ease,transform .3s ease;
}
.toast.on{opacity:1;transform:none}
.toast--action{display:flex;align-items:center;gap:12px;pointer-events:auto}
.toast__btn{
  background:var(--bg);color:var(--ink);border:0;border-radius:6px;cursor:pointer;
  font-size:11px;font-weight:700;letter-spacing:.06em;min-height:34px;padding:0 14px;flex:none;
}

/* ---------- reveal / chars (JS-gated) ---------- */
.js [data-reveal]{opacity:0;transform:translateY(24px);transition:opacity .7s ease var(--rd,0s),transform .7s cubic-bezier(.2,.7,.2,1) var(--rd,0s)}
.js [data-reveal].revealed{opacity:1;transform:none}
[data-chars] .chw{display:inline-block;white-space:nowrap}
[data-chars] .ch{display:inline-block;opacity:0;transform:translateY(.7em) rotate(4deg);transition:opacity .4s ease var(--d,0s),transform .55s cubic-bezier(.2,.7,.2,1) var(--d,0s)}
[data-chars].chars-in .ch{opacity:1;transform:none}

/* ---------- responsive ---------- */
@media (min-width:1320px){
  .glasslog{
    position:absolute;right:24px;bottom:calc(var(--marquee-h) + var(--cabar-h) + 80px);
    width:300px;margin:0;
  }
  /* stacked, never overlapping: marquee | CA bar | BUY pill | docked log */
  .glasslog__body{height:clamp(160px,calc(100svh - 640px),400px)}
}
@media (max-width:999px){
  #streamBtn{display:none} /* stream mode is desktop-landscape only */
}
@media (max-width:719px){
  .nav{padding:10px 14px;gap:8px}
  .nav__links{display:none}
  .nav__tag{display:none}
  .nav__name{font-size:17px}
  .register{padding:6px 14px;font-size:10px}
  .magnet-wrap{display:none} /* the CA bar + nav CA/X carry the buy path on mobile */
  .hero__main{padding:16px 14px 8px}
  #gameCanvas{height:clamp(280px,calc(100svh - 474px),640px);max-width:calc(100vw - 36px)}
  .game-shell{box-shadow:5px 5px 0 var(--ink)}
  .sec{padding:64px 16px}
  .ca__box{padding:28px 18px}
  .ca__actions{flex-direction:column;align-items:stretch}
  .ca__addr{font-size:12px;flex-basis:100%}
  .steps{grid-template-columns:1fr}
  .tally__row{grid-template-columns:1fr}
  .float-buy{display:none}
  .verified__k{min-width:100%}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hall__body{scroll-behavior:auto}
  .hall__skel{animation:none;opacity:.6}
  .st-banner.flash{animation:none}
  .marquee__track{animation:none}
  .btn--buy{animation:none}
  .glasslog__body .gl{animation:none}
  .toast{transition:opacity .01s}
  .js [data-reveal]{opacity:1;transform:none;transition:none}
  [data-chars] .ch{opacity:1;transform:none;transition:none}
  .btn,.float-buy{transition:none}
}
