/* ===== TRICHIE.COM RETRO ARCADE SKIN — shared sheet =====
   Linked LAST in <head> so it wins ties. Tokens match the approved
   front-door preview (test-retro-frontdoor). "body " prefix + !important
   on chrome rules beats inline styles and body <style> blocks.
   SKIN ONLY: never restyle game-state classes (.correct/.wrong/.selected
   etc.) — those are gameplay, not chrome. */

:root{
  --rt-ink:#0d0a1a; --rt-panel:#1b1038; --rt-panel2:#241a45;
  --rt-gold:#d4af37; --rt-goldb:#ffd75e;
  --rt-cyan:#00e5ff; --rt-mag:#ff2ea6; --rt-purp:#7b2ff7; --rt-green:#39ff6a;
}

/* ---------- base ---------- */
body{
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255,46,166,.20), transparent 55%),
    radial-gradient(ellipse at 50% 112%, rgba(0,229,255,.16), transparent 55%),
    repeating-linear-gradient(0deg, rgba(0,229,255,.05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255,46,166,.045) 0 1px, transparent 1px 44px),
    #0d0a1a !important;
  background-attachment:fixed !important;
  font-family:"Comic Sans MS","Comic Sans",cursive,sans-serif !important;
  color:#ffffff !important;
}
body .px, body .chunky{font-family:'Press Start 2P','Courier New',monospace !important;}

/* ---------- headings ---------- */
body h1.title{font-size:clamp(1.6rem,5.5vw,3rem) !important;letter-spacing:1px !important;}
body h1.gametitle{
  font-size:clamp(1.3rem,4.5vw,2.2rem) !important;line-height:1.5 !important;
  background:linear-gradient(180deg,#ffd75e,#d4af37 55%,#ff2ea6 100%) !important;
  -webkit-background-clip:text !important;background-clip:text !important;color:transparent !important;
}
body h2.chunky{color:#ffd75e !important;font-size:clamp(.9rem,2.8vw,1.3rem) !important;line-height:1.7 !important;}
body .sec-head{
  background:#1b1038 !important;color:#ffd75e !important;border:3px solid #d4af37 !important;
  font-size:clamp(.85rem,2.4vw,1.2rem) !important;line-height:1.7 !important;
  box-shadow:0 5px 0 #000, 0 0 18px rgba(212,175,55,.35) !important;
}
body .burst{font-size:.75rem !important;line-height:1.6 !important;}
body .tagline{
  background:#1b1038 !important;color:#ffd75e !important;border:3px solid #d4af37 !important;
  box-shadow:0 5px 0 #000 !important;
}
body .funline{color:#ffd8a8 !important;}
body .resetline{font-family:'Press Start 2P','Courier New',monospace !important;color:#ffd75e !important;}

/* ---------- nav / plainbar ---------- */
body #plainbar, body nav{background:#12081f !important;border-bottom:3px solid #d4af37 !important;}
body #plainbar .brand, body nav .logo{
  color:#ffd75e !important;font-family:'Press Start 2P','Courier New',monospace !important;
  font-size:14px !important;text-shadow:2px 2px 0 #ff2ea6, 0 0 14px rgba(255,215,94,.6) !important;
}
body #plainbar a, body nav a{
  color:#ffffff !important;background:#241a45 !important;border:3px solid #d4af37 !important;
  border-radius:8px !important;box-shadow:0 3px 0 rgba(0,0,0,.55) !important;
  font-family:'Press Start 2P','Courier New',monospace !important;font-size:11px !important;
}
body #plainbar a.gold, body nav a.gold{background:#d4af37 !important;color:#0d0a1a !important;}

/* ---------- panels (flat pages) ---------- */
body .card, body .person, body .game, body .fact, body .tip{
  background:#1b1038 !important;border:3px solid #d4af37 !important;border-radius:10px !important;
  box-shadow:0 5px 0 #000, 0 0 18px rgba(0,229,255,.25) !important;
  color:#ffffff !important;
}
body .card p, body .tip p{color:#ffffff !important;}
body .fact b, body .tip b{color:#ff2ea6 !important;}
body .person h3, body .game h3{color:#ffd75e !important;}
body .acronym .card{background:#1b1038 !important;}
body .champs{background:#17102e !important;border:3px solid #d4af37 !important;}
body .champ .gname{color:#ffd34d !important;}
body .champ .gwho{color:#ffffff !important;}
body .sidehead{color:#ffd75e !important;font-family:'Press Start 2P','Courier New',monospace !important;font-size:.95rem !important;line-height:1.7 !important;}
body .sidehead small{color:#cbbd93 !important;font-family:"Comic Sans MS","Comic Sans",cursive,sans-serif !important;}

/* ---------- games hub ---------- */
body .gamecard{
  background:#1b1038 !important;border:3px solid #d4af37 !important;border-radius:10px !important;
  box-shadow:0 5px 0 #000, 0 0 18px rgba(212,175,55,.35) !important;
}
body .gamecard .gname{
  color:#ffd75e !important;font-size:clamp(1rem,3.2vw,1.45rem) !important;line-height:1.6 !important;
}
body .gamecard .gtease{color:#ffffff !important;}
body .gamecard .gpodium{
  background:#17102e !important;border:2px solid #d4af37 !important;color:#ffffff !important;
}
body .gamecard .gchamp, body .champ-pic{border:3px solid #d4af37 !important;}
body .gamecard .gplay{
  background:#d4af37 !important;color:#0d0a1a !important;border:3px solid #ffe9a8 !important;
  border-radius:8px !important;box-shadow:0 4px 0 #8a6a10 !important;
  font-family:'Press Start 2P','Courier New',monospace !important;font-size:.8rem !important;
}
body .setlist-shout{background:#1b1038 !important;border:3px solid #d4af37 !important;}
body .setlist-shout .shout-title{
  color:#ffd75e !important;font-family:'Press Start 2P','Courier New',monospace !important;
  font-size:clamp(.9rem,3vw,1.2rem) !important;
}
body .setlist-shout .shout-date{color:#ffe9b3 !important;}
body .reset-panel{background:#1b1038 !important;border:3px solid #00e5ff !important;}
body .reset-panel .reset-title{
  color:#00e5ff !important;font-family:'Press Start 2P','Courier New',monospace !important;
  font-size:clamp(.9rem,3vw,1.2rem) !important;
}
body .reset-panel p, body .reset-panel .reset-when{color:#ffffff !important;}
body .reset-panel .reset-count{color:#ffd75e !important;}
body .hubname{
  background:#1b1038 !important;border:3px solid #ffd75e !important;box-shadow:4px 4px 0 #000 !important;
}
body .hubname label{
  font-family:'Press Start 2P','Courier New',monospace !important;font-size:12px !important;color:#ffd75e !important;
}
body .hubname input{background:#0d0a1a !important;border:3px solid #ffd75e !important;color:#ffd75e !important;}
body .hubname .hn-status{color:#ffffff !important;}

/* ---------- footer / clock / misc chrome ---------- */
body footer{background:#12081f !important;border-top:3px solid #d4af37 !important;color:#ffffff !important;}
body footer .big{color:#ffd75e !important;}
body #rcTime{color:#00e5ff !important;font-family:'Press Start 2P','Courier New',monospace !important;font-size:12px !important;}
body #rcMove{color:#ffd75e !important;}
body #jokeBlock div{font-family:"Comic Sans MS","Comic Sans",cursive,sans-serif !important;}
/* NOTE: no generic input/select color rule — game pages have white-bg
   name inputs where white text would vanish. Dark inputs are styled
   only where their background is dark (see .hubname / .pcard below). */

/* ---------- game pages (skin only — NEVER answer/timer/board states) ---------- */
body .logo{font-family:'Press Start 2P','Courier New',monospace !important;font-size:clamp(18px,5.5vw,28px) !important;}
body .stage{
  background:#1b1038 !important;border:3px solid #d4af37 !important;color:#ffffff !important;
  box-shadow:0 5px 0 #000 !important;
}
body .stage .qmeta, body .stage .msg, body .stage .amt{color:#ffd75e !important;}
body .hud .val{color:#ffd75e !important;}
body .pcard{
  background:#1b1038 !important;border:4px solid #d4af37 !important;color:#ffffff !important;
  box-shadow:0 5px 0 #000 !important;
}
body .pcard input{background:#0d0a1a !important;color:#ffffff !important;border:2px solid #d4af37 !important;}

/* ---------- gallery (facts/) ---------- */
body .thumbcard, body .fullcard{
  background:#1b1038 !important;border:3px solid #d4af37 !important;border-radius:10px !important;
  box-shadow:0 5px 0 #000, 0 0 18px rgba(212,175,55,.35) !important;
}
body .thumb-title, body .fact-title{
  color:#ffd75e !important;font-family:'Press Start 2P','Courier New',monospace !important;
}
body .thumb-date, body .fact-date{color:#ffffff !important;}
body .thumb-fresh{color:#ffd75e !important;}
body .fresh-note{
  background:#1b1038 !important;border:3px solid #d4af37 !important;color:#ffd75e !important;
}
body .thumb-art, body .full-art{border:3px solid #d4af37 !important;}
body .corner-banner{
  color:#ffd75e !important;font-size:clamp(.9rem,3vw,1.3rem) !important;line-height:1.7 !important;
}
body .explain{
  background:#241a45 !important;border:3px solid #00e5ff !important;color:#ffffff !important;
}
body .backlink{color:#00e5ff !important;}
body .fresh-note{color:#ffd75e !important;}

/* ---------- CRT scanlines + vignette (never blocks clicks) ---------- */
.scanlines{
  position:fixed; inset:0; z-index:80; pointer-events:none;
  background:repeating-linear-gradient(0deg, rgba(0,0,0,.20) 0 1px, transparent 1px 3px);
  box-shadow:inset 0 0 120px rgba(0,0,0,.55);
}
