/* Shared look for the game-menu mockups (12–14) */
:root{
  --ground: oklch(0.15 0.012 25);
  --surface: oklch(0.20 0.016 25);
  --line: oklch(0.30 0.02 20);
  --text: oklch(0.94 0.015 60);
  --muted: oklch(0.76 0.02 40);
  --guava: oklch(0.74 0.15 5);
  --guava-cream: oklch(0.88 0.06 15);
  --crown: oklch(0.80 0.13 80);
  --olive: oklch(0.80 0.08 110);
  --olive-dot: oklch(0.68 0.11 120);
  --box: #3B1466;
  --felt: oklch(0.17 0.035 165);
  --ui: #14101A;
  --ui-line: #F3E6E8;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--ground);color:var(--text)}
body{font-family:"Host Grotesk",system-ui,sans-serif;font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased;min-height:100svh;display:flex;flex-direction:column;transition:background-color .7s;overflow-x:hidden}
body.cut-in{background:var(--felt)}
a{color:var(--guava)}a:hover{color:var(--guava-cream)}
img.px{image-rendering:pixelated;display:block}
.sr{position:absolute;left:-9999px}
.pix{font-family:"Geist Pixel",monospace;font-size:12px;letter-spacing:.06em;color:var(--muted)}

header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px clamp(16px,4vw,40px)}
.hud{display:flex;gap:10px}
.hud button,.hud a{min-height:40px;display:inline-flex;align-items:center;padding:0 14px;border:1.5px solid var(--line);border-radius:10px;background:transparent;color:var(--muted);font-family:"Geist Pixel",monospace;font-size:12px;text-decoration:none;cursor:pointer}
.hud button:hover,.hud a:hover{color:var(--text)}
.hud button[aria-pressed="true"]{color:var(--crown);border-color:var(--crown)}

main{flex:1;width:100%;max-width:1180px;margin:0 auto;padding:0 clamp(16px,4vw,40px) 20px;display:flex;flex-direction:column;gap:18px}

/* the UI frame: a pixel-bordered game panel */
.ui{background:var(--ui);border:4px solid var(--ui-line);box-shadow:0 0 0 3px #000,inset 0 0 0 2px #000;color:#F3E6E8}
.ui-title{font-family:"Geist Pixel",monospace;font-size:13px;letter-spacing:.12em;color:var(--crown)}

/* dialogue */
.talk{display:flex;align-items:flex-end;gap:14px}
.boxwrap{position:relative;flex:1;isolation:isolate}
.box{position:relative;background:var(--box);border:4px solid var(--crown);box-shadow:0 0 0 3px #1B0A2E,0 8px 0 -2px #0C0614;padding:14px 18px 16px;font-family:Tiny5,monospace;font-size:clamp(18px,1.9vw,22px);line-height:1.3;color:#FFF6EC;min-height:78px;cursor:pointer}
/* each box's mark sits on its top-left corner, overlapping the border */
.box .who{position:absolute;top:-16px;left:12px;line-height:0}
/* his box is the game's own (see the game repo's dialog art, drips cut as in the videos), 1 art px = 1 CSS px.
   The wide left slice keeps the top-left highlight's fade intact; every other edge is a plain repeat. */
.box.shadow{background:none;box-shadow:none;color:#fff;border-style:solid;border-width:4px 4px 3px 4px;
  border-image:url(assets/shadow-box.png) 4 4 3 150 fill / 4px 4px 3px 150px stretch;image-rendering:pixelated}
/* the game's peek: his head over the box's top-left corner, bottom 6 px overlapping the box */
.box.shadow .who{background:none;padding:0;top:-22px;left:4px}
/* a faint gray rim, one art pixel, just a shade above his ink: gives him shape without drawing him (on the wrapper, never the sprite) */
.box.shadow .who{filter:drop-shadow(0 -2px 0 #353235) drop-shadow(2px 0 0 #353235) drop-shadow(-2px 0 0 #353235)}
.who img{display:block;height:auto;image-rendering:pixelated}
.ghost{position:absolute;inset:0;pointer-events:none;border:3px solid #BC4A9B;background:#242234}
.redact{display:inline-flex;gap:2px;vertical-align:-3px}
.redact b{width:13px;height:18px;background:var(--c)}
#rey{transition:opacity .35s}
body.cut-in #rey{opacity:0}

/* shared bits */
.tag{display:inline-flex;align-items:center;gap:8px;font-family:"Geist Pixel",monospace;font-size:11px;color:var(--olive);border:1px solid oklch(0.40 0.06 115);background:oklch(0.20 0.03 115);border-radius:999px;padding:4px 11px}
.tag i{width:7px;height:7px;border-radius:50%;background:var(--olive-dot)}
.lock{display:inline-flex;align-items:center;gap:8px;font-family:"Geist Pixel",monospace;font-size:11px;color:#F3E6E8;border:1px solid #F3E6E8;padding:4px 10px}
.static{background-color:#0B080C;background-image:repeating-linear-gradient(0deg,#ffffff0d 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,#c2385c14 0 2px,transparent 2px 7px);animation:hiss .25s steps(3) infinite}
@keyframes hiss{to{background-position:0 3px,7px 0}}
.jeyes{display:block}
.seat{display:flex;gap:8px;flex-wrap:wrap}
.seat input{flex:1;min-width:190px;height:46px;background:#000;border:2px solid #F3E6E8;color:#fff;font-family:Tiny5,monospace;font-size:17px;padding:0 12px}
.seat input:focus{outline:2px solid var(--crown);outline-offset:2px}
.seat button,.go{height:46px;padding:0 18px;border:2px solid var(--guava);background:var(--guava);color:#2A0A18;font-family:Tiny5,monospace;font-size:18px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.seat button:hover,.go:hover{background:var(--guava-cream);border-color:var(--guava-cream);color:#2A0A18}
.consent{font-size:12px;color:oklch(0.64 0.02 40);margin:6px 0 0}
.consent a{color:inherit}

.foot{display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;align-items:baseline;padding:14px clamp(16px,4vw,40px) 22px;border-top:1px solid var(--line);font-size:14px;color:oklch(0.62 0.02 40)}
.foot nav{display:flex;gap:18px;flex-wrap:wrap}
/* socials sit bottom-left; policies and the entity line sit opposite */
.foot .fine{display:flex;align-items:baseline;gap:10px 22px;flex-wrap:wrap;justify-content:flex-end}
.foot nav a{color:var(--text);text-decoration:none;border-bottom:1px solid var(--line)}
.foot nav a:hover{color:var(--guava);border-color:var(--guava)}
.foot .legalline{font-family:"Geist Pixel",monospace;font-size:11px;color:#9C8E99;letter-spacing:.04em}
.foot .legalline a{color:inherit;text-decoration:none;border-bottom:1px solid var(--line)}
.foot .legalline a:hover{color:var(--guava);border-color:var(--guava)}
.keys{display:flex;gap:14px;justify-content:center;color:var(--muted);font-size:13px}
.keys kbd{font-family:"Geist Pixel",monospace;font-size:11px;border:1px solid var(--line);border-bottom-width:3px;border-radius:5px;padding:1px 6px;color:var(--text)}
@media (max-width:760px){.keys{display:none}.hud a{display:none}}
@media (prefers-reduced-motion:reduce){.static{animation:none}body{transition:none}}
