@font-face{font-family:Silkscreen;src:url("/fonts/silkscreen-400-latin.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Silkscreen;src:url("/fonts/silkscreen-700-latin.woff2") format("woff2");font-weight:700;font-display:swap}

/* ═══════ CLUBHOUSE — the default skin, 2001 in the bones, 2026 in the marks ═══════
   The club websight's frame (scanline wall, glossy panel headers, bevel
   buttons, pixel nav, marquee) rebuilt around the Clanker Church marks and
   the warm palette. Silkscreen for chrome, Cormorant for the one claim,
   Verdana/mono for reading. Magenta is the accent, not the ground: the wall
   stays dark so bone text holds contrast.

   Shell is 1120px, three columns; it collapses to two then one. No fixed
   760px table, the aspect is free.
   ────────────────────────────────────────────────────────────────────── */

:root{
  --wall:#1b0509; --wall2:#120305; --ox:#5e0a22; --hot:#d81b60;
  --gold:#e0b640; --gold-hot:#ffd35c; --bone:#e8dfcf; --dim:#a58f92; --faint:#7d666a;
  --panel:#100608; --panel2:#170a0e; --edge:#5c1a2e; --green:#7dff8a;
  --pixel:"Silkscreen",monospace; --disp:"Cormorant Garamond",Georgia,serif;
  --mono:"IBM Plex Mono",Menlo,Consolas,monospace;
  --sans:Verdana,Tahoma,"DejaVu Sans",sans-serif;
}

html{background:var(--wall);scrollbar-color:var(--ox) #180306}
body.clubhouse{
  margin:0; color:var(--bone); font:14px/1.6 var(--sans);
  background:repeating-linear-gradient(0deg,var(--wall) 0 2px,var(--wall2) 2px 4px);
  padding:0 0 40px;
}
body.clubhouse{
  --void:#100608; --panel:#100608; --line:#5c1a2e;
  --ink:#e8dfcf; --dim:#a58f92; --faint:#7d666a;
  max-width:none; margin:0; padding:0;
}
body.clubhouse a{color:var(--gold);text-decoration:none}
body.clubhouse a:hover{color:#fff;background:var(--ox)}
body.clubhouse ::selection{background:var(--hot);color:#fff}

.ch-shell{width:1120px;max-width:100%;margin:0 auto;background:#000;
  box-shadow:0 0 0 1px #000,0 0 60px rgba(0,0,0,.9)}

/* ── header ─────────────────────────────────────────────────────────── */
.ch-hd{position:relative;height:150px;overflow:hidden;
  background:radial-gradient(120% 150% at 82% 26%,#8c1038 0,#520a1e 34%,#1d0409 68%,#080102 100%)}
.ch-hd:before{content:"";position:absolute;inset:0;
  background:repeating-linear-gradient(115deg,transparent 0 38px,rgba(255,255,255,.08) 38px 60px,transparent 60px 120px);
  mix-blend-mode:screen}
.ch-logo{position:absolute;left:20px;top:12px;font:700 52px/.84 var(--disp);letter-spacing:-.02em;color:#fff;
  text-shadow:0 2px 0 #3d0014,0 0 20px rgba(216,27,96,.55)}
.ch-logo small{display:block;margin-top:10px;font:400 10px/1.2 var(--pixel);letter-spacing:.14em;
  color:var(--gold);text-shadow:none}
.ch-crt{position:absolute;right:12px;top:10px;width:190px;height:128px;border:3px solid #2b2b22;border-radius:14px;
  background:#031406;box-shadow:inset 0 0 26px #000,0 0 0 2px #555a4a;overflow:hidden}
.ch-crt p{margin:0;position:absolute;inset:0;display:grid;place-items:center;
  font:34px/1 var(--pixel);color:var(--green);text-shadow:0 0 8px var(--green);letter-spacing:.04em}
.ch-crt:after{content:"";position:absolute;inset:0;
  background:repeating-linear-gradient(0deg,rgba(0,0,0,.35) 0 1px,transparent 1px 3px)}
.ch-util{position:absolute;left:250px;bottom:16px;font:400 10px var(--pixel);letter-spacing:.1em;color:#e28aac;display:flex;gap:10px}
.ch-util a{color:#e28aac}
.ch-util a:hover{color:#fff;background:none}

/* ── pixel nav + marquee ────────────────────────────────────────────── */
.ch-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:0;
  background:linear-gradient(#43000f,#260008);border-top:1px solid #8f1240;border-bottom:1px solid #000;
  padding:6px 10px;font:700 12px/1 var(--pixel)}
.ch-nav a{color:var(--gold);padding:4px 7px}
.ch-nav a:hover{background:var(--gold);color:#2c0009}
.ch-nav a.on{background:#000;color:var(--gold-hot);box-shadow:inset 0 0 0 1px var(--edge)}
.ch-nav i{color:var(--hot);font-style:normal;padding:4px 1px}

.ch-tick{overflow:hidden;white-space:nowrap;border-bottom:1px solid #000;background:#000;
  font:19px/26px var(--pixel);color:var(--green);text-shadow:0 0 6px rgba(125,255,138,.5)}
.ch-tick span{display:inline-block;padding-left:100%;animation:chtk 46s linear infinite;animation-delay:-16s}
@keyframes chtk{to{transform:translateX(-100%)}}
@media (prefers-reduced-motion:reduce){.ch-tick span{animation:none;padding-left:12px}}

/* ── the page body ──────────────────────────────────────────────────── */
.ch-main{padding:16px 18px 26px;max-width:100%}
body.clubhouse .cc-hero{
  display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:start;
  border:1px solid var(--edge);background:var(--panel);padding:16px 18px;margin:0 0 16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07)
}
body.clubhouse .cc-hero-mark{width:132px;height:132px;color:#ffd9ea;
  filter:drop-shadow(0 0 14px rgba(216,27,96,.5));opacity:1}
body.clubhouse .cc-eyebrow{font:400 10px/1.4 var(--pixel);letter-spacing:.16em;color:var(--gold);
  text-transform:uppercase;margin:0 0 10px}
body.clubhouse .cc-hero h1.cc-claim{font:600 clamp(1.8rem,3.6vw,2.7rem)/1.06 var(--disp);
  color:#fff;margin:0 0 10px;max-width:26ch;text-shadow:0 2px 0 #2c0009}
body.clubhouse .cc-lede{font:13px/1.65 var(--sans);color:var(--bone);max-width:70ch;margin:0 0 14px}
body.clubhouse .cc-hero-links{display:flex;gap:8px;flex-wrap:wrap;font:700 10px/1 var(--pixel);
  text-transform:uppercase;letter-spacing:.12em}
body.clubhouse .cc-hero-links a{display:inline-block;padding:7px 12px;color:#2c0009;
  background:linear-gradient(#ffe866,#e0a800);border:2px outset #ffe866}
body.clubhouse .cc-hero-links a:hover{border-style:inset;background:linear-gradient(#fff,#ffd400);color:#2c0009}

/* the three doors as bevel buttons */
body.clubhouse .doors{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 16px}
body.clubhouse .door{display:block;text-align:center;padding:10px 8px;color:#2c0009;
  background:linear-gradient(#ffe866,#e0a800);border:2px outset #ffe866}
body.clubhouse .door:hover{border-style:inset;background:linear-gradient(#fff,#ffd400);color:#2c0009}
body.clubhouse .door b{display:block;font:700 12px/1.2 var(--pixel);color:#2c0009;text-shadow:none}
body.clubhouse .door span{display:block;margin-top:4px;font:400 11px/1.35 var(--sans);color:#5a2a00}

/* retro windows become panels with glossy headers */
body.clubhouse .wtop{display:flex;align-items:center;gap:10px;border:0;margin:18px 0 8px;padding:6px 9px;
  background:linear-gradient(#a3003f,#56001c);border-bottom:1px solid #000;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16)}
body.clubhouse .wtop h2,body.grimoire-index.clubhouse .wired .wtop h2{
  font:700 11px/1 var(--pixel) !important;letter-spacing:.1em !important;text-transform:uppercase !important;
  color:#fff !important;margin:0 !important;text-shadow:0 1px 0 #000}
body.clubhouse .wtop .lay{font:400 10px/1 var(--pixel);letter-spacing:.1em;color:#ffc2d8}
body.clubhouse .wtop .now{margin-left:auto;font:400 10px/1 var(--pixel);letter-spacing:.08em;color:#ffc2d8}
body.clubhouse .wtop .now b{color:#fff}
body.clubhouse .cur{color:var(--green)}

body.clubhouse .nwins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.clubhouse .nwin{background:var(--panel);border:1px solid var(--edge);box-shadow:none;color:var(--bone)}
body.clubhouse .nwin .tb{background:linear-gradient(#3d0014,#22000b);border-bottom:1px solid #000;
  color:#e28aac;font:400 10px/1.4 var(--pixel);letter-spacing:.08em}
body.clubhouse .nwin .tb i{background:var(--hot)}
body.clubhouse .nwin b{font:700 12px/1.3 var(--pixel);color:var(--gold-hot);padding:8px 10px 0}
body.clubhouse .nwin .d{font:11px/1.5 var(--sans);color:var(--dim);padding:4px 10px 10px}
body.clubhouse .nwin:hover,body.clubhouse .nwin:focus-visible{border-color:var(--hot)}
body.clubhouse .nwin .shot::after{background:linear-gradient(180deg,transparent 60%,rgba(10,2,5,.7))}
body.clubhouse .nwin .shot img{filter:grayscale(.5) contrast(1.05) brightness(.9)}

body.clubhouse .plays{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body.clubhouse .playbar{background:var(--panel);border:1px solid var(--edge);color:var(--dim);
  font:11px/1.4 var(--sans);box-shadow:none}
body.clubhouse .playbar b{font:700 11px/1.3 var(--pixel);color:var(--gold-hot);letter-spacing:.06em}
body.clubhouse .playbar:hover{border-color:var(--hot);background:#1d0a10}

body.clubhouse .ls{background:var(--panel);border:1px solid var(--edge);font:12px/1.7 var(--mono);color:var(--dim)}
body.clubhouse .ls>div{border-bottom:1px dotted #45101f}
body.clubhouse .ls .dir{color:var(--hot)}

/* research sections */
body.clubhouse h2{font:600 clamp(1.35rem,2.4vw,1.75rem)/1.15 var(--disp);color:#fff;
  border-top:1px solid var(--edge);padding-top:14px;margin:34px 0 10px;letter-spacing:.01em}
body.clubhouse h2 .idx{font:400 12px/1 var(--pixel);color:var(--hot);margin-right:12px;letter-spacing:.1em}
body.clubhouse h3{font:700 13px/1.3 var(--pixel);color:var(--gold-hot);letter-spacing:.04em}
body.clubhouse p{color:var(--bone)}
body.clubhouse blockquote{border-left:2px solid var(--hot);background:rgba(216,27,96,.05);
  padding:8px 12px;color:var(--bone);font:13px/1.6 var(--sans)}
body.clubhouse blockquote::before{content:none}
body.clubhouse code{background:#1a0a0f;border:1px solid var(--edge);color:#ffe9f0;padding:1px 5px}
body.clubhouse b{color:#fff}
body.clubhouse h1::first-letter,body.clubhouse .cc-claim::first-letter{color:inherit}
body.clubhouse img{border:1px solid var(--edge)}

/* footer */
body.clubhouse .cc-foot{margin-top:30px;padding:12px 16px;background:#000;border-top:1px solid var(--edge);
  display:flex;gap:14px;flex-wrap:wrap;align-items:center;
  font:10px/1.6 var(--pixel);letter-spacing:.08em;text-transform:uppercase;color:var(--faint)}
body.clubhouse .cc-foot .cc-word{font:700 12px/1 var(--pixel);text-transform:uppercase;color:var(--gold)}
body.clubhouse .cc-foot a{color:var(--dim)}
body.clubhouse .cc-foot a:hover{color:#fff}
.ch-badges{display:flex;gap:5px;margin-left:auto}
.ch-badges span{padding:2px 6px;background:#c0c0c0;color:#000;border:2px outset #e8e8e8;
  font:400 9px/1.4 var(--pixel);letter-spacing:.04em}

@media (max-width:1000px){
  body.clubhouse .nwins,body.clubhouse .plays{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  body.clubhouse{background:#000}
  .ch-shell{box-shadow:none}
  .ch-hd{height:auto;min-height:150px;padding-bottom:12px}
  .ch-logo{position:static;display:block;padding:14px 16px 0;font-size:40px}
  .ch-crt{position:absolute;right:10px;top:10px;width:120px;height:84px}
  .ch-crt p{font-size:20px}
  .ch-util{position:static;padding:8px 16px 0}
  body.clubhouse .cc-hero{grid-template-columns:1fr}
  body.clubhouse .cc-hero-mark{width:92px;height:92px}
  body.clubhouse .doors,body.clubhouse .nwins,body.clubhouse .plays{grid-template-columns:1fr}
  .ch-main{padding:12px}
}

/* the write-up disclosure, wheel caption and fine print */
body.clubhouse details.writeup{margin:22px 0 0;border:1px solid var(--edge);background:var(--panel)}
body.clubhouse details.writeup>summary{list-style:none;cursor:pointer;padding:9px 12px;
  background:linear-gradient(#a3003f,#56001c);color:#fff;
  font:700 11px/1.3 var(--pixel);letter-spacing:.08em;text-transform:uppercase;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16)}
body.clubhouse details.writeup>summary::before{content:"\25B8  ";color:var(--gold-hot)}
body.clubhouse details.writeup[open]>summary::before{content:"\25BE  "}
body.clubhouse details.writeup>summary span{display:block;margin-top:3px;
  font:400 11px/1.3 var(--sans);letter-spacing:0;text-transform:none;color:#ffc2d8}
body.clubhouse details.writeup .writeup-in{padding:4px 14px 14px}
body.clubhouse .wheel-cap{max-width:74ch;margin:14px auto 0;text-align:center;
  font:13px/1.7 var(--sans);color:var(--dim)}
body.clubhouse .wheel-cap b{color:var(--bone)}
body.clubhouse .foot.method{margin:0;padding:14px 16px 6px;background:#0a0205;
  border-top:1px solid var(--edge);font:11px/1.7 var(--sans);color:var(--faint);max-width:none}

/* rotating showcase in the hero */
body.clubhouse .cc-rot{display:block;min-height:2.15em}
body.clubhouse .cc-rot-caret{display:inline-block;width:.5ch;height:.92em;margin-left:.1em;
  background:var(--gold);vertical-align:-.08em;animation:ccblink 1.05s steps(1) infinite}
@keyframes ccblink{50%{opacity:0}}
body.clubhouse .cc-rot-meta{margin:0 0 14px;font:700 10px/1.4 var(--pixel);letter-spacing:.14em;
  text-transform:uppercase}
body.clubhouse .cc-rot-meta a{color:var(--gold);border-bottom:1px dotted var(--ox)}
body.clubhouse .cc-rot-meta a:hover{color:#2c0009;background:var(--gold);border-bottom-color:transparent}
@media (prefers-reduced-motion:reduce){body.clubhouse .cc-rot-caret{animation:none}}
