:root {
  --dw-bg: #07080b; --dw-fg: #e8eef2; --dw-accent: #3ef0e0; --dw-panel: rgba(10, 12, 16, .96);
  --dw-font-body: 'Space Grotesk', system-ui, sans-serif; --crt: 'VT323', ui-monospace, monospace;
  --cyan: #3ef0e0; --mag: #ff3ea5; --rec: #ff3b30; --dim: #8a96a3; --panel: #10141a; --line: #3ef0e02e;
}
body { overflow-x: hidden; }
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 60; background: repeating-linear-gradient(0deg, #ffffff05 0 1px, transparent 1px 3px); }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--crt); font-weight: 400; line-height: 1; margin: 0 0 .4em; letter-spacing: .02em; }
h2 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--cyan); text-shadow: 2px 0 var(--mag); }
section { padding: clamp(56px, 8vw, 110px) clamp(16px, 5vw, 64px); }
.sub { max-width: 62ch; margin: 0 auto 1.6rem; }

.topbar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 12px clamp(16px, 4vw, 40px); background: #07080be6; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--crt); font-size: 1.7rem; color: var(--dw-fg); text-decoration: none; display: flex; align-items: center; gap: .35em; }
.brand .dim { color: var(--dim); font-size: .8em; }
@media (max-width: 480px) { .brand .dim { display: none; } }
.rec { width: 12px; height: 12px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 10px var(--rec); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.topbar nav { display: flex; align-items: center; gap: 18px; font-size: .85rem; }
.topbar nav a { color: var(--dw-fg); text-decoration: none; opacity: .8; }
.topbar nav a:hover { color: var(--cyan); opacity: 1; }
@media (max-width: 720px) { .topbar nav a { display: none; } }

.hero { padding-top: 110px; text-align: center; max-width: 1320px; margin: 0 auto; }
.kicker { font-family: var(--crt); font-size: 1.3rem; color: var(--cyan); margin: 0 0 .6rem; letter-spacing: .06em; }
.hero h1 { font-size: clamp(3rem, 9vw, 7rem); }
.strike { color: var(--dim); text-decoration: line-through; text-decoration-color: var(--rec); text-decoration-thickness: .08em; }
.glitch { position: relative; display: inline-block; color: #fff; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; }
.glitch::before { color: var(--mag); transform: translate(-3px, 0); clip-path: inset(10% 0 55% 0); animation: g1 3s infinite steps(1); mix-blend-mode: screen; }
.glitch::after { color: var(--cyan); transform: translate(3px, 0); clip-path: inset(60% 0 8% 0); animation: g2 2.4s infinite steps(1); mix-blend-mode: screen; }
@keyframes g1 { 0%, 90% { transform: translate(-3px, 0); } 92% { transform: translate(5px, -2px); } 96% { transform: translate(-6px, 1px); } }
@keyframes g2 { 0%, 85% { transform: translate(3px, 0); } 88% { transform: translate(-5px, 2px); } 94% { transform: translate(6px, -1px); } }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 58ch; margin: 0 auto; color: #c9d3db; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 1.6rem 0 2.4rem; }
.btn { display: inline-block; font-family: var(--crt); font-size: 1.4rem; text-decoration: none; color: var(--dw-fg); cursor: pointer; padding: .35em 1em; border: 2px solid var(--cyan); background: transparent; transition: background .15s, color .15s; }
.btn:hover { background: var(--cyan); color: var(--dw-bg); }
.btn-hot { background: var(--mag); border-color: var(--mag); color: #fff; }
.btn-hot:hover { background: #ff6ab9; border-color: #ff6ab9; color: #fff; }
.wall { position: relative; margin: 0; border: 1px solid var(--line); box-shadow: 0 0 80px #3ef0e01a; }
.wall img { width: 100%; height: auto; }

.hs { position: absolute; z-index: 3; width: 9%; aspect-ratio: 1; border-radius: 6px; border: 2px dashed transparent; background: transparent; padding: 0; transition: border-color .3s, background .3s; }
.hs:hover, .hs:focus-visible { border-color: var(--cyan); background: #3ef0e01f; }
.hs.is-found { border-color: #3ef0e066; }
.hs-static { left: 44%; top: 38%; width: 13%; } .hs-off { left: 50.5%; top: 75%; width: 9%; }
.hs-hand { left: 50%; top: 65%; width: 16%; } .hs-tape { left: 68%; top: 52%; width: 18%; }

.court { background: radial-gradient(70% 50% at 50% 0%, #0f1a20, var(--dw-bg)); }
.court-head { max-width: 780px; margin: 0 auto 1.8rem; text-align: center; }
.docket { max-width: 760px; margin: 0 auto; }
.case, .final { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: clamp(16px, 3vw, 28px); box-shadow: 0 30px 80px #000a; }
.case.is-new { animation: tune .45s ease both; }
@keyframes tune { 0% { opacity: 0; filter: blur(4px) brightness(2); } 60% { opacity: 1; filter: blur(0) brightness(1.3); } }
.case-top { display: flex; justify-content: space-between; font-family: var(--crt); font-size: 1.3rem; color: var(--dim); }
.score b { color: var(--cyan); }
.screen { margin: .6rem 0 1rem; padding: 18px 20px; border-radius: 18px / 26px; background: radial-gradient(120% 120% at 50% 50%, #12313a, #061014); box-shadow: inset 0 0 40px #000, 0 0 0 6px #1b1f26, 0 0 0 8px #2a2f38; }
.screen-k { font-family: var(--crt); font-size: 1.2rem; color: var(--rec); margin: 0; }
.screen-t { font-family: var(--crt); font-size: clamp(2rem, 5vw, 2.8rem); margin: .1em 0 0; color: #e8fffd; text-shadow: 0 0 8px #3ef0e088; }
.case-desc { font-size: 1.12rem; }
.clues { margin: 0 0 1.2rem; padding-left: 1.2em; color: #c9d3db; }
.clues li { margin: .3em 0; }
.clues li::marker { content: '▸ '; color: var(--cyan); }
.verdicts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .verdicts { grid-template-columns: 1fr; } }
.v { font-family: var(--crt); font-size: 1.5rem; padding: .5em; border-radius: 8px; cursor: pointer; border: 2px solid; background: transparent; transition: background .15s, transform .1s; }
.v-real { color: #7dff9a; border-color: #7dff9a; } .v-gen { color: var(--mag); border-color: var(--mag); } .v-cant { color: var(--cyan); border-color: var(--cyan); font-size: 1.25rem; }
.v:hover:not(:disabled) { background: #ffffff12; transform: translateY(-2px); }
.v:disabled { opacity: .35; cursor: default; }
.v.best { opacity: 1; box-shadow: 0 0 0 3px #ffffff33; }
.v.picked { opacity: 1; background: #ffffff1a; }
.ruling { margin-top: 1.2rem; border-top: 1px dashed var(--line); padding-top: 1rem; }
.ruling-k { font-family: var(--crt); font-size: 1.5rem; color: var(--cyan); margin: 0; }
.final { text-align: center; }
.final h3 { font-size: clamp(2rem, 5vw, 3rem); color: var(--mag); }
.moral { color: #c9d3db; font-style: italic; }

.exhibit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1200px; margin: 0 auto; }
@media (max-width: 880px) { .exhibit { grid-template-columns: 1fr; } }
.art { position: relative; margin: 0; border: 1px solid var(--line); }
.art img { width: 100%; height: auto; }
.ex-copy p { color: #c9d3db; }

.guide { max-width: 880px; margin: 0 auto; }
.tips { counter-reset: t; list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 12px; }
.tips li { counter-increment: t; display: grid; grid-template-columns: 2.4em 1fr; gap: .8em; padding: 14px 16px; background: var(--panel); border-left: 3px solid var(--cyan); border-radius: 6px; }
.tips li::before { content: counter(t, decimal-leading-zero); font-family: var(--crt); font-size: 1.8rem; line-height: 1; color: var(--mag); }
.guide-note { color: var(--dim); font-size: .92rem; margin-top: 1.2rem; }

.merch-sec { text-align: center; background: #0b0e13; }
.merch { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 1060px; margin: 0 auto; text-align: left; }
.item { background: var(--panel); border: 1px solid var(--line); padding: 16px; display: grid; gap: .5rem; align-content: start; border-radius: 10px; }
.item h3 { font-family: var(--dw-font-body); font-weight: 700; font-size: 1.05rem; margin: .3rem 0 0; line-height: 1.3; }
.mock { height: 190px; display: grid; place-items: center; position: relative; overflow: hidden; background: #161b23; border-radius: 6px; }
.tee::before { content: ''; position: absolute; width: 150px; height: 165px; top: 14px; left: 50%; transform: translateX(-50%); background: #0d0f13; box-shadow: none;
  clip-path: polygon(30% 0, 40% 6%, 60% 6%, 70% 0, 100% 16%, 90% 36%, 80% 30%, 80% 100%, 20% 100%, 20% 30%, 10% 36%, 0 16%); }
.tee-print { position: relative; top: 12px; font-family: var(--crt); font-size: 1.2rem; line-height: 1; color: var(--cyan); text-align: center; }
.tee-print s { color: var(--dim); }
.stk { font-family: var(--crt); font-size: 1.15rem; line-height: 1; text-align: center; padding: .8em 1em; background: #e8eef2; color: #07080b; border-radius: 10px; transform: rotate(-6deg); box-shadow: 0 0 0 4px var(--mag); }
.stk b { font-size: 2rem; font-weight: 400; color: var(--rec); }
.pin-in { display: grid; place-items: center; gap: .3em; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(#2a2f38, #12161c); box-shadow: 0 0 0 6px #c9a65a, 0 10px 20px #0008; }
.pin-in i { width: 26px; height: 16px; border: 3px solid var(--cyan); border-radius: 50% / 70%; }
.pin-in b { font-family: var(--crt); font-weight: 400; font-size: 1.05rem; line-height: .95; text-align: center; color: #c9a65a; }
.offer { font-family: var(--crt); font-size: 1.3rem; padding: .35em; border: 2px solid var(--mag); border-radius: 6px; background: transparent; color: var(--mag); cursor: pointer; transition: background .15s, color .15s; }
.offer:hover, .offer:focus-visible { background: var(--mag); color: #fff; }
.shop-note { margin-top: 1.4rem; }

.tapes { text-align: center; }
.found { font-family: var(--crt); font-size: 1.4rem; }
.journal { max-width: 720px; margin: 1rem auto 0; text-align: left; }
.journal li { margin: .5em 0; }
.reward { max-width: 640px; margin: 1.2rem auto 0; padding: 1rem 1.3rem; border: 1px solid var(--cyan); border-radius: 8px; background: var(--panel); }

.witness { display: grid; justify-items: center; text-align: center; background: linear-gradient(#07080b, #12061a); }
.witness p { max-width: 58ch; }
.witness .dw-optin { text-align: left; width: 100%; }
.witness .dw-optin button[type=submit] { font-family: var(--crt); font-size: 1.3rem; font-weight: 400; }
.offer-note { margin: 0; color: var(--cyan); font-weight: 700; }

.foot { padding: 30px 16px 10px; text-align: center; border-top: 1px solid var(--line); }
.rec-glyph { font-family: var(--crt); font-size: 1.1rem; color: var(--rec); background: none; border: 0; cursor: pointer; padding: 0 .3em; }
@media (prefers-reduced-motion: reduce) { .glitch::before, .glitch::after { animation: none; } .rec { animation: none; } }
