/* Drawtable · a quiet card room. Navy baize, ivory, one muted gold. */
:root {
  --felt: #15233a; --felt2: #1a2a45; --felt3: #213353; --deep: #0f1a2c;
  --ivory: #efe8d8; --ivory2: #d9d1bf; --mute: #a6aab3; --dim: #737c8c;
  --gold: #b3995a; --gold2: #cdb57c; --goldd: rgba(179, 153, 90, .16);
  --rule: rgba(239, 232, 216, .12); --rule2: rgba(239, 232, 216, .22);
  --cardink: #1b2436; --cardred: #9a3b34;
  --ok: #8fae8a; --bad: #c0705f;
  --serif: 'Playfair Display', Georgia, serif; --sans: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1); --spring: cubic-bezier(.3, 1.35, .5, 1);
  --max: 1200px;
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--felt); color: var(--ivory); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 3px 3px; }
main, .foot, .nav { position: relative; z-index: 1; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .84em; word-break: break-all; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--felt); }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--felt); padding: 8px 14px; }
.skip:focus { top: 10px; }
.sec__in { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(15, 26, 44, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.nav__in { max-width: var(--max); margin: 0 auto; padding: 0 32px; height: 66px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 23px; font-weight: 600; text-decoration: none; letter-spacing: .01em; flex: none; margin: 0; }
.brand__mark { width: 28px; height: 28px; fill: var(--felt); stroke: var(--gold2); stroke-width: 1.4; }
.nav__links { display: flex; gap: 2px; margin-right: auto; }
.nav__links a { text-decoration: none; font-size: 14px; color: var(--mute); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .25s; }
.nav__links a:hover { color: var(--ivory); }
.nav__links a.is-on { color: var(--ivory); background: rgba(239, 232, 216, .07); }
.nav__right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.xlink { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--rule2); border-radius: 50%; }
.xlink svg { width: 15px; height: 15px; fill: var(--ivory2); }
.burger { display: none; width: 40px; height: 36px; border: 1px solid var(--rule2); background: none; border-radius: 999px; position: relative; cursor: pointer; }
.burger span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ivory); transition: transform .3s var(--ease); }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* wallet */
.wb { position: relative; }
.wb-btn { height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--gold); background: var(--gold); color: #141c2b; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: transform .15s var(--ease), background .2s; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
.wb-btn:hover { background: var(--gold2); }
.wb-btn:active { transform: scale(.96); }
.wb-btn.is-on { background: transparent; color: var(--ivory); border-color: var(--rule2); font-family: ui-monospace, Menlo, monospace; font-weight: 500; font-size: 13px; }
.wb-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 400; width: 284px; max-width: calc(100vw - 24px); background: var(--ivory); color: var(--cardink); border-radius: 12px; padding: 8px; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); animation: pop .25s var(--spring); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.wb-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 8px; text-align: left; font-size: 14px; color: var(--cardink); text-decoration: none; cursor: pointer; }
.wb-item:hover, .wb-item:focus-visible { background: rgba(27, 36, 54, .08); }
.wb-item img { width: 18px; height: 18px; border-radius: 4px; }
.wb-addr { font-family: ui-monospace, Menlo, monospace; font-size: 12px; word-break: break-all; padding: 8px 12px 2px; }
.wb-bal { padding: 2px 12px 10px; font-family: var(--serif); font-size: 18px; border-bottom: 1px solid rgba(27, 36, 54, .12); margin-bottom: 6px; }
.wb-note { font-size: 12px; color: #5c6372; padding: 8px 12px 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid var(--rule2); background: none; cursor: pointer; position: relative; overflow: hidden; transition: transform .15s var(--ease), border-color .2s, background .2s, color .2s; }
.btn span { position: relative; z-index: 1; }
.btn:active { transform: scale(.96); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #141c2b; font-weight: 600; }
.btn--gold::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn--gold:hover::before { opacity: 1; }
.btn--line:hover { border-color: var(--gold); color: var(--gold2); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.copy { position: relative; overflow: hidden; height: 28px; min-width: 64px; border-radius: 999px; border: 1px solid var(--rule2); background: none; cursor: pointer; font-size: 12px; }
.copy span { display: block; transition: transform .3s var(--ease), opacity .3s; }
.copy__b { position: absolute; inset: 0; display: grid !important; place-items: center; transform: translateY(100%); opacity: 0; color: var(--ok); }
.copy.is-done .copy__a { transform: translateY(-100%); opacity: 0; } .copy.is-done .copy__b { transform: none; opacity: 1; }
.shimmer { color: transparent !important; background: linear-gradient(90deg, rgba(239, 232, 216, .06), rgba(239, 232, 216, .16), rgba(239, 232, 216, .06)); background-size: 200% 100%; animation: shim 1.3s linear infinite; border-radius: 4px; }
@keyframes shim { to { background-position: -200% 0; } }
.flash { animation: flash 1s var(--ease); } @keyframes flash { 0% { color: var(--gold2); } }

/* hero */
.hero { padding: 72px 0 80px; text-align: center; overflow: hidden; }
.hero__copy { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.kicker { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold2); margin: 0 0 20px; }
.hero__t { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5.6vw, 74px); line-height: 1.04; letter-spacing: -.01em; margin: 0 auto 22px; text-wrap: balance; }
.hero__t .w:last-child .wi { font-style: italic; color: var(--gold2); }
.pts b, .tac__score b, .anat__dl dd, .plaque__row b, .ev b, .shoe__s, .sh__n, .wb-bal, .tc__r, .pc__c b, .otab td { font-variant-numeric: lining-nums tabular-nums; }
.hero__sub { font-size: 18px; color: var(--ivory2); max-width: 640px; margin: 0 auto 30px; font-weight: 300; }
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cachip { margin: 22px auto 0; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--rule2); border-radius: 999px; padding: 5px 5px 5px 14px; max-width: 100%; font-size: 12px; }
.cachip span { color: var(--gold2); }
.cachip code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: normal; min-width: 0; }
.felt { position: relative; max-width: 1060px; margin: 56px auto 0; padding: 70px 24px 40px; border-radius: 50% / 34%; background: radial-gradient(ellipse at 50% 35%, #22385c 0%, #1a2b47 45%, #132037 100%); box-shadow: inset 0 0 0 10px #10192b, inset 0 0 0 11px rgba(179, 153, 90, .45), inset 0 30px 80px rgba(0, 0, 0, .25), 0 40px 80px -40px rgba(0, 0, 0, .8); min-height: 520px; }
.felt__ring { position: absolute; inset: 34px 60px; border-radius: 50% / 34%; border: 1px dashed rgba(179, 153, 90, .28); pointer-events: none; }
.fan { position: relative; height: 250px; margin: 0 auto; max-width: 640px; }
.fan .pc { position: absolute; left: 50%; top: 20px; margin-left: -75px; }
.plaque { position: relative; max-width: 560px; margin: 24px auto 0; background: rgba(15, 26, 44, .7); border: 1px solid rgba(179, 153, 90, .4); border-radius: 10px; padding: 14px 20px; text-align: left; }
.plaque__row { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 4px 0; font-size: 13px; align-items: baseline; }
.plaque__row span { color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.plaque__row b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--gold2); justify-self: start; }
.plaque__row code { color: var(--ivory2); min-width: 0; }
.plaque__note { margin: 6px 0 0; font-size: 12px; color: var(--dim); }

/* playing cards */
.pc { width: 150px; height: 214px; border-radius: 12px; background: var(--ivory); color: var(--cardink); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 34px -14px rgba(0, 0, 0, .65), 0 2px 4px rgba(0, 0, 0, .2); position: relative; transform-origin: 50% 120%; transition: transform .9s var(--spring), opacity .5s; user-select: none; }
.pc.red { color: var(--cardred); }
.pc__c { position: absolute; display: grid; justify-items: center; line-height: 1; font-family: var(--serif); font-weight: 600; }
.pc__c b { font-size: 26px; } .pc__c i { font-style: normal; font-size: 20px; margin-top: 2px; }
.pc__c--tl { left: 12px; top: 12px; } .pc__c--br { right: 12px; bottom: 12px; transform: rotate(180deg); }
.pc__mid { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; font-family: var(--serif); }
.pc__mid::before { content: ''; position: absolute; inset: 14px 34px; border: 1px solid currentColor; opacity: .12; border-radius: 6px; }
.pc--back { background: var(--felt3); box-shadow: inset 0 0 0 6px var(--ivory), inset 0 0 0 7px var(--gold), 0 18px 34px -14px rgba(0, 0, 0, .65); }
.pc--back::after { content: ''; position: absolute; inset: 14px; border-radius: 6px; background: repeating-linear-gradient(45deg, rgba(179, 153, 90, .28) 0 1px, transparent 1px 8px), repeating-linear-gradient(-45deg, rgba(179, 153, 90, .28) 0 1px, transparent 1px 8px); }
.pc--sm { width: 86px; height: 122px; border-radius: 8px; }
.pc--sm .pc__c b { font-size: 16px; } .pc--sm .pc__c i { font-size: 13px; } .pc--sm .pc__mid { font-size: 34px; }
.pc--sm .pc__c--tl { left: 7px; top: 7px; } .pc--sm .pc__c--br { right: 7px; bottom: 7px; }
.pc--sm .pc__mid::before { inset: 9px 18px; }

/* split + load */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .wi { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 60ms + 60ms); }
.is-ready .split .wi { transform: none; }
.reveal-load { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.is-ready .reveal-load { opacity: 1; transform: none; }
.is-ready .kicker { transition-delay: 0s; } .is-ready .hero__sub { transition-delay: .6s; } .is-ready .hero__cta { transition-delay: .75s; } .is-ready .felt { transition-delay: .9s; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .reveal-load, .no-js .split .wi { opacity: 1; transform: none; }

/* sections */
.sec { padding: 104px 0; position: relative; }
.sec--felt { background: var(--felt2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sec--rule { border-top: 1px solid var(--rule); }
.sh { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 0 18px; margin-bottom: 44px; max-width: 820px; }
.sh__n { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--gold); margin: 0; line-height: 1; }
.sh h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; margin: 0 0 10px; }
.sh p:last-child { margin: 0; color: var(--mute); max-width: 640px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.how__i { border: 1px solid var(--rule); border-radius: 14px; padding: 26px 22px; background: linear-gradient(180deg, rgba(239, 232, 216, .03), transparent); min-width: 0; transition: transform .4s var(--ease), border-color .3s; }
.how__i:hover { transform: translateY(-4px); border-color: rgba(179, 153, 90, .45); }
.how__suit { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ivory); color: var(--cardink); font-size: 22px; margin-bottom: 18px; }
.how__suit.red { color: var(--cardred); }
.how__i h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0 0 8px; }
.how__i p { margin: 0; color: var(--mute); font-size: 15px; }

/* tools */
.tool { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
.tool--odds { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.panel { background: var(--deep); border: 1px solid var(--rule); border-radius: 16px; padding: 26px; min-width: 0; position: relative; }
.form { display: grid; gap: 16px; align-content: start; }
.f { display: grid; gap: 6px; min-width: 0; }
.f > span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.f > span em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--dim); opacity: .8; margin-left: 6px; }
.f input, .f textarea { width: 100%; min-width: 0; background: rgba(239, 232, 216, .04); border: 1px solid var(--rule2); border-radius: 10px; padding: 11px 14px; font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.f textarea { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--goldd); background: rgba(239, 232, 216, .06); }
.f--grow { flex: 1; }
.f2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.out { display: grid; gap: 18px; align-content: start; }
.out__btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.hand { min-height: 228px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; padding: 10px; border-radius: 12px; background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .04), transparent 70%); }
.hand .pc { animation: deal .7s var(--spring) backwards; }
.hand--sm { min-height: 140px; margin-top: 16px; }
@keyframes deal { from { opacity: 0; transform: translate(-60px, -40px) rotate(-18deg); } }
.ph { color: var(--dim); font-family: var(--serif); font-style: italic; font-size: 20px; margin: 0; }
.ph3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0 0 14px; }
.facts { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; }
.facts div { border-top: 1px solid var(--rule); padding: 9px 0; min-width: 0; }
.facts dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 2px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.facts dd code { color: var(--ivory2); }
.facts dd a { color: var(--gold2); }
.facts--row { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 14px; }
.err { color: var(--bad); font-size: 14px; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hint { color: var(--mute); font-size: 14px; margin: 10px 0 0; }
.memo { margin: 0 0 16px; background: var(--ivory); color: var(--cardink); border-radius: 10px; padding: 12px 16px; display: grid; gap: 4px; }
.memo span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6a6f7a; }

/* verifier */
.verdict { overflow: hidden; }
.verdict__seal { position: absolute; right: 22px; top: 18px; margin: 0; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--serif); font-weight: 700; font-size: 14px; letter-spacing: .08em; border: 2px solid currentColor; box-shadow: inset 0 0 0 5px var(--deep), inset 0 0 0 6px currentColor; transform: rotate(-10deg); animation: seal .55s var(--spring); background: var(--deep); z-index: 2; }
.verdict__seal.ok { color: var(--ok); } .verdict__seal.bad { color: var(--bad); }
@keyframes seal { from { transform: rotate(-30deg) scale(1.9); opacity: 0; } }
.vsteps { list-style: none; margin: 0; padding: 0; counter-reset: v; max-width: calc(100% - 100px); }
.vsteps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.vsteps i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--rule2); position: relative; transition: background .3s; }
.vsteps li.ok i { background: var(--ok); border-color: var(--ok); }
.vsteps li.ok i::after { content: ''; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid var(--deep); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vsteps li.bad i { background: var(--bad); border-color: var(--bad); }
.vsteps li.run i { border-color: var(--gold); border-top-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vsteps em { grid-column: 2; font-style: normal; font-size: 12px; color: var(--dim); overflow-wrap: anywhere; font-family: ui-monospace, Menlo, monospace; }

/* anatomy (pinned) */
.anat { height: 260vh; position: relative; background: var(--deep); border-top: 1px solid var(--rule); }
.anat__pin { position: sticky; top: 66px; height: calc(100vh - 66px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.anat__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: center; width: 100%; }
.anat__copy { min-width: 0; }
.anat__t { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; margin: 8px 0 14px; }
.anat__copy > p { color: var(--mute); }
.anat__dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 14px; }
.anat__dl div { border-top: 1px solid var(--rule2); padding-top: 8px; }
.anat__dl dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.anat__dl dd { margin: 2px 0 0; font-family: var(--serif); font-size: 24px; color: var(--gold2); }
.anat__last { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--ivory2); overflow-wrap: anywhere; }
.anat__stage { min-width: 0; }
.anat__stage canvas { width: 100%; height: auto; aspect-ratio: 720 / 460; }
.anat__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rule); }
.anat__bar i { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* tactics */
.tac { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px; }
.tac__side { display: grid; gap: 20px; align-content: start; min-width: 0; }
.tac__rules h3, .tac__ledger h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0 0 10px; }
.tac__rules p { color: var(--mute); font-size: 15px; margin: 0 0 12px; }
.tac__score { display: flex; gap: 24px; font-size: 14px; color: var(--mute) !important; }
.tac__score b { font-family: var(--serif); font-size: 30px; color: var(--ivory); margin-left: 6px; font-weight: 600; }
.pts { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.pts b { font-family: var(--serif); font-size: 46px; color: var(--gold2); font-weight: 600; line-height: 1; }
.pts > span { color: var(--mute); font-size: 14px; }
.sigout { margin: 12px 0 0; background: rgba(239, 232, 216, .05); border: 1px solid var(--rule); border-radius: 8px; padding: 10px; font-size: 11px; white-space: pre-wrap; word-break: break-all; color: var(--ivory2); max-height: 160px; overflow: auto; }
.tac__main { min-width: 0; display: grid; gap: 16px; justify-items: center; background: radial-gradient(ellipse at 50% 50%, #22385c, #172640 70%); border-radius: 26px; padding: 24px 16px; box-shadow: inset 0 0 0 1px rgba(179, 153, 90, .35); }
.tac__hand { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; min-height: 96px; }
.board { display: grid; grid-template-columns: repeat(3, 104px); grid-template-rows: repeat(3, 132px); gap: 10px; }
.cell { border-radius: 10px; border: 1px dashed rgba(239, 232, 216, .22); background: rgba(15, 26, 44, .35); position: relative; transition: background .2s, border-color .2s; }
.cell.can { cursor: pointer; border-color: rgba(179, 153, 90, .55); }
.cell.can:hover, .cell.can:focus-visible { background: rgba(179, 153, 90, .12); }
.tc { width: 100%; height: 100%; border-radius: 10px; background: var(--ivory); color: var(--cardink); position: relative; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .7); transition: transform .5s var(--spring); }
.tc.red { color: var(--cardred); }
.tc.mine { box-shadow: inset 0 0 0 3px var(--gold), 0 10px 20px -10px rgba(0, 0, 0, .7); }
.tc.theirs { box-shadow: inset 0 0 0 3px #6f7f9c, 0 10px 20px -10px rgba(0, 0, 0, .7); background: #dcd9d2; }
.tc.flip { animation: flip .6s var(--ease); }
@keyframes flip { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }
.tc__r { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1; text-align: center; }
.tc__r small { display: block; font-size: 18px; }
.tc__e { position: absolute; font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--cardink); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(27, 36, 54, .08); }
.tc__e--t { top: 5px; left: 50%; margin-left: -11px; } .tc__e--b { bottom: 5px; left: 50%; margin-left: -11px; }
.tc__e--l { left: 5px; top: 50%; margin-top: -11px; } .tc__e--r { right: 5px; top: 50%; margin-top: -11px; }
.hc { width: 74px; height: 94px; cursor: pointer; border: 0; padding: 0; background: none; border-radius: 10px; transition: transform .25s var(--spring); }
.hc .tc { font-size: 12px; }
.hc .tc__r { font-size: 18px; } .hc .tc__r small { font-size: 13px; }
.hc .tc__e { font-size: 11px; width: 17px; height: 17px; }
.hc .tc__e--t, .hc .tc__e--b { margin-left: -8.5px; } .hc .tc__e--l, .hc .tc__e--r { margin-top: -8.5px; }
.hc:hover { transform: translateY(-6px); }
.hc.sel { transform: translateY(-12px); }
.hc.sel .tc { box-shadow: inset 0 0 0 3px var(--gold2), 0 16px 24px -10px rgba(0, 0, 0, .8); }
.hc[disabled] { cursor: default; opacity: .9; }
.hc--back { width: 54px; height: 72px; border-radius: 8px; background: var(--felt3); box-shadow: inset 0 0 0 3px var(--ivory), inset 0 0 0 4px var(--gold); }
.tac__seed { margin: 0; font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--dim); overflow-wrap: anywhere; text-align: center; max-width: 100%; }

/* odds */
.otab { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 14px; }
.otab th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 500; padding: 8px 6px; border-bottom: 1px solid var(--rule2); }
.otab td { padding: 9px 6px; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.otab td:first-child { font-family: var(--serif); font-size: 16px; }
.otab td small { display: block; font-family: var(--sans); font-size: 11px; color: var(--dim); }
.otab input { width: 64px; background: rgba(239, 232, 216, .05); border: 1px solid var(--rule2); border-radius: 6px; padding: 4px 6px; font-size: 14px; }
.otab input:focus { outline: none; border-color: var(--gold); }
.ev { font-size: 15px; color: var(--mute); margin: 10px 0 0; }
.ev b { font-family: var(--serif); font-size: 26px; color: var(--gold2); margin-left: 8px; }
.bars { display: grid; gap: 12px; }
.bar { display: grid; gap: 4px; }
.bar__l { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.bar__l span:last-child { color: var(--dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar__t { position: relative; height: 16px; background: rgba(239, 232, 216, .05); border-radius: 4px; overflow: hidden; }
.bar__x, .bar__s { position: absolute; left: 0; top: 0; bottom: 0; transform-origin: 0 50%; transition: transform 1.1s var(--ease); }
.bar__x { background: rgba(179, 153, 90, .55); height: 8px; }
.bar__s { background: var(--ivory2); top: 8px; height: 8px; opacity: .8; }

/* shoe */
.shoe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.shoe li { background: var(--deep); border: 1px solid var(--rule); border-radius: 14px; padding: 14px; display: grid; gap: 10px; justify-items: center; min-width: 0; animation: shoeIn .8s var(--spring); }
@keyframes shoeIn { from { opacity: 0; transform: translateX(40px); } }
.shoe li.skel { min-height: 210px; }
.shoe__s { font-family: var(--serif); font-size: 16px; color: var(--gold2); }
.shoe__h { font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* memos */
.mlist { list-style: none; margin: 14px 0 0; padding: 0; }
.mlist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
.mlist code { overflow-wrap: anywhere; color: var(--ivory2); }
.mlist time { grid-column: 1; font-size: 12px; color: var(--dim); }
.mlist a { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--gold2); font-size: 13px; }

/* faq */
.faqwrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
.faq { border-top: 1px solid var(--rule2); }
.qa { border-bottom: 1px solid var(--rule2); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--serif); font-size: 21px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--gold2); transition: transform .35s var(--ease); }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa p { margin: 0 0 22px; color: var(--mute); }

/* footer */
.foot { background: var(--deep); padding: 64px 0 36px; border-top: 1px solid var(--rule); }
.foot__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; }
.brand--foot { font-size: 30px; }
.foot__honest { color: var(--mute); font-size: 14px; max-width: 640px; }
.foot__honest b { color: var(--ivory); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; align-content: start; }
.foot__nav a { color: var(--mute); text-decoration: none; }
.foot__nav a:hover { color: var(--gold2); }
.foot__end { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--dim); }

/* sheet / toast */
.sheet { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: rgba(8, 13, 22, .72); padding: 16px; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.sheet__card { width: 560px; max-width: 100%; max-height: calc(100vh - 32px); overflow: auto; background: var(--ivory); color: var(--cardink); border-radius: 18px; padding: 28px; animation: pop .35s var(--spring); }
.sheet__card .kicker { color: #8a7440; }
.sheet__card h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0 0 16px; }
.sheet__list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.sheet__list li { border-top: 1px solid rgba(27, 36, 54, .14); padding-top: 10px; font-size: 15px; overflow-wrap: anywhere; }
.sheet__list b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6a6f7a; font-weight: 600; }
.sheet .hint { color: #4c5361; }
.sheet .btn--line { border-color: rgba(27, 36, 54, .3); }
.sheet .hint a { color: #6d5a2c; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 600; background: var(--ivory); color: var(--cardink); padding: 10px 18px; border-radius: 999px; font-size: 14px; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); max-width: calc(100vw - 32px); animation: pop .3s var(--spring); }

/* responsive */
@media (max-width: 1060px) {
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool, .tool--odds, .tac, .anat__grid, .faqwrap, .foot__in { grid-template-columns: minmax(0, 1fr); }
  .shoe { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__nav { justify-content: flex-start; }
}
@media (max-width: 860px) {
  .nav__in { padding: 0 16px; gap: 12px; position: relative; }
  .burger { display: block; }
  .nav__links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--deep); border-bottom: 1px solid var(--rule2); padding: 8px 16px 14px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); margin: 0; }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { border-radius: 0; padding: 13px 4px; border-bottom: 1px solid var(--rule); font-size: 16px; }
  .sec__in { padding: 0 16px; }
}
@media (max-width: 560px) {
  .brand { font-size: 19px; } .brand__mark { width: 24px; height: 24px; }
  .wb-btn { padding: 0 12px; font-size: 13px; height: 36px; }
  .hero { padding: 40px 0 56px; }
  .hero__sub { font-size: 16px; }
  .felt { border-radius: 32px; padding: 34px 10px 16px; margin: 36px 12px 0; min-height: 0; }
  .felt__ring { inset: 14px; border-radius: 24px; }
  .fan { height: 170px; }
  .fan .pc { width: 96px; height: 137px; margin-left: -48px; border-radius: 9px; }
  .fan .pc .pc__c b { font-size: 17px; } .fan .pc .pc__c i { font-size: 13px; } .fan .pc .pc__mid { font-size: 38px; }
  .fan .pc .pc__c--tl { left: 7px; top: 7px; } .fan .pc .pc__c--br { right: 7px; bottom: 7px; }
  .fan .pc .pc__mid::before { inset: 9px 20px; }
  .plaque { padding: 12px 14px; }
  .plaque__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sec { padding: 72px 0; }
  .sh { grid-template-columns: minmax(0, 1fr); }
  .sh__n { grid-row: auto; font-size: 30px; margin-bottom: 8px; }
  .how { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 18px; border-radius: 14px; }
  .f2, .facts, .facts--row { grid-template-columns: minmax(0, 1fr); }
  .pc--sm { width: 64px; height: 92px; }
  .pc--sm .pc__mid { font-size: 26px; } .pc--sm .pc__c b { font-size: 13px; } .pc--sm .pc__c i { font-size: 11px; }
  .board { grid-template-columns: repeat(3, 88px); grid-template-rows: repeat(3, 112px); gap: 8px; }
  .hc { width: 58px; height: 76px; }
  .hc .tc__r { font-size: 15px; }
  .tac__main { padding: 18px 8px; }
  .shoe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anat { height: auto; }
  .anat__pin { position: static; height: auto; padding: 72px 0; }
  .anat__bar { display: none; }
  .vsteps { max-width: 100%; }
  .verdict__seal { position: relative; right: auto; top: auto; margin: 0 0 12px auto; width: 80px; height: 80px; font-size: 12px; }
  .otab th:nth-child(2), .otab td:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal, .reveal-load, .split .wi { opacity: 1 !important; transform: none !important; }
}
