/* =========================================================================
   Playbook — cinematic dark. Media first, one orange accent, sentence-case type.
   ========================================================================= */
:root {
  --bg: #09090a;
  --bg-2: #050506;
  --panel: #121214;
  --panel-2: #1a1a1d;
  --panel-3: #232327;
  --ink: #f4f4f1;
  --ink-2: #d6d6d2;
  --muted: #9b9ba1;
  --dim: #66666d;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --accent: #ff5b1f;
  --accent-ink: #0b0b0c;
  --accent-text: #ff7a45;
  --accent-soft: rgba(255, 91, 31, 0.16);
  --glass: rgba(20, 20, 22, 0.55);
  --ok: #4fd18b;
  --warn: #f0a43c;
  --bad: #ff6b6b;
  --media: #0e0e10;
  --code: #050506;
  --code-ink: #e3e3df;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 12px 32px -16px rgba(0,0,0,.8);
  --shadow-lg: 0 40px 90px -30px rgba(0,0,0,.9);
  --r: 14px;
  --r-sm: 10px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --display: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --pad: 32px;
  --nav-h: 64px;
  --z-nav: 40; --z-menu: 35; --z-modal: 60; --z-toast: 70;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.glow { display: none; }
main { display: block; position: relative; z-index: 2; padding-top: var(--nav-h); min-height: 80vh; }
.wrap { padding-inline: var(--pad); max-width: 1440px; margin-inline: auto; }
.muted { color: var(--muted); } .small { font-size: 13px; } .mono { font-family: var(--mono); }
em { font-style: normal; }
.hl { background: linear-gradient(transparent 60%, var(--accent-soft) 60%, var(--accent-soft) 92%, transparent 92%); padding: 0 .06em; }

/* ---------- top bar ---------- */
.nav { position: fixed; z-index: var(--z-nav); inset: 0 0 auto 0; height: var(--nav-h); display: flex; align-items: center; gap: 6px; padding: 0 var(--pad);
  background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.04em; margin-right: 18px; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); display: grid; grid-template-columns: repeat(2, 6px); gap: 3px; place-content: center; transform: rotate(-6deg); transition: transform .5s var(--spring); }
.brand:hover .brand-mark { transform: rotate(6deg) scale(1.05); }
.brand-mark i { width: 6px; height: 6px; background: var(--bg); border-radius: 2px; }
.brand-mark i:nth-child(3) { grid-column: 1 / 3; width: 15px; background: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.nav-links a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .2s var(--ease), background .2s var(--ease); }
.nav-links a:hover { color: var(--ink); background: var(--panel-2); }
.nav-links a.on { color: var(--ink); }
.nav-links a.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-links .sep, .badge { display: none; }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.searchbtn { display: inline-flex; align-items: center; gap: 10px; height: 40px; width: 260px; padding: 0 8px 0 12px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--dim); font-size: 14px; transition: box-shadow .2s var(--ease); }
.searchbtn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.searchbtn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.searchbtn span { flex: 1; text-align: left; }
kbd { font-family: var(--mono); font-size: 11.5px; padding: 2px 6px; border-radius: 6px; background: var(--panel-2); color: var(--muted); box-shadow: inset 0 -1px 0 var(--line-2); }
.nav-right .ghost { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.nav-right .ghost:hover { background: var(--panel-2); }
.burger { display: none; width: 40px; height: 40px; border-radius: 11px; position: relative; background: var(--panel-2); }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.burger i:first-child { top: 15px; } .burger i:last-child { top: 23px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: var(--z-menu); display: flex; flex-direction: column; gap: 2px; padding: 20px var(--pad); background: var(--bg); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.menu.open { opacity: 1; pointer-events: auto; transform: none; }
.menu a { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.04em; padding: 8px 0; border-bottom: 1px solid var(--line); }
.menu a:last-child { color: var(--accent-text); border: 0; }

/* mobile tab bar */
.tabbar { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; height: 42px; padding: 0 18px; border-radius: 12px; font-weight: 600; font-size: 14.5px; color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .25s var(--spring), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease); }
.btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn:active { transform: scale(0.97) translateY(1px); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-ico { display: none; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 -2px 0 rgba(0,0,0,.14); }
.btn-accent:hover { background: var(--accent); box-shadow: inset 0 -2px 0 rgba(0,0,0,.14), 0 8px 22px -8px var(--accent); transform: translateY(-1px); }
.btn-white, .btn-ink { background: var(--ink); color: var(--bg); box-shadow: none; }
.btn-white:hover, .btn-ink:hover { background: var(--ink-2); box-shadow: none; transform: translateY(-1px); }
.btn-sm { height: 34px; padding: 0 13px; border-radius: 10px; font-size: 13.5px; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 15.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-plain { }
.link { color: var(--accent-text); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }

.bezel { border-radius: var(--r); }
.core { border-radius: var(--r); background: var(--panel); overflow: hidden; position: relative; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } * { animation: none !important; } }

/* ---------- media (game frames are always dark) ---------- */
.media { position: relative; overflow: hidden; background: var(--media); border-radius: var(--r); isolation: isolate; box-shadow: var(--shadow); }
.media .poster { position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 10%, var(--c1), transparent 60%), radial-gradient(100% 100% at 100% 100%, var(--c2), transparent 70%), linear-gradient(160deg, color-mix(in srgb, var(--c1) 70%, #000), color-mix(in srgb, var(--c2) 55%, #000)); }
.media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); background: transparent; }
.media iframe.on { opacity: 1; }
.media .scan { position: absolute; inset: 0; pointer-events: none; z-index: 2; background: linear-gradient(to bottom, rgba(0,0,0,.42) 0%, transparent 26%); }
.media.plain .scan { display: none; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 7px; font-size: 12px; font-weight: 500; background: var(--panel-2); color: var(--ink-2); white-space: nowrap; }
.media .chip { background: rgba(15, 13, 10, 0.58); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chip.hot, .media .chip.hot { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chip.coin, .media .chip.coin { background: #fff; color: #1b1813; font-weight: 700; font-family: var(--mono); }

/* ---------- home: hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; padding: 56px 0 40px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5.6vw, 86px); line-height: .95; letter-spacing: -0.045em; margin-top: 18px; }
.hero h1 em { color: var(--accent-text); }
.hero .lede { font-size: 18px; color: var(--muted); max-width: 30em; margin-top: 20px; line-height: 1.55; }
.hsearch { display: flex; align-items: center; gap: 8px; margin-top: 28px; max-width: 540px; padding: 6px 6px 6px 16px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); transition: box-shadow .2s var(--ease); }
.hsearch:focus-within { box-shadow: inset 0 0 0 2px var(--ink), var(--shadow); }
.hsearch svg { width: 19px; height: 19px; stroke: var(--dim); fill: none; stroke-width: 1.8; stroke-linecap: round; flex: none; }
.hsearch input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.hsearch input::placeholder { color: var(--dim); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.quick a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .25s var(--spring); }
.quick a:hover { background: var(--panel); box-shadow: inset 0 0 0 1px var(--ink); transform: translateY(-1px); }
.facts { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.facts div { display: flex; flex-direction: column; }
.facts b { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { font-size: 13px; color: var(--muted); margin-top: 4px; }

.stage { position: relative; }
.stage-main { display: block; position: relative; }
.stage-main .media { aspect-ratio: 16 / 11; border-radius: 22px; box-shadow: var(--shadow-lg); transform: rotate(.6deg); transition: transform .6s var(--spring); }
.stage:hover .stage-main .media { transform: rotate(0); }
.stage-bar { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px; background: rgba(15, 13, 10, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.stage-bar h3 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.stage-bar p { font-size: 13px; color: rgba(255,255,255,.72); margin-top: 1px; }
.stage-bar .acts { display: flex; gap: 8px; flex: none; }
.stage-bar .btn:not(.btn-accent) { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.stage-bar .btn:not(.btn-accent):hover { background: rgba(255,255,255,.2); }
.stage-sticker { position: absolute; z-index: 5; top: -14px; right: 22px; transform: rotate(5deg); background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 800; font-size: 14px; line-height: 1; padding: 9px 12px; border-radius: 10px; box-shadow: var(--shadow); }
.stage-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.stage-picks button { text-align: left; border-radius: 12px; padding: 6px; transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.stage-picks button:hover { background: var(--panel); }
.stage-picks button.on { background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--ink); }
.stage-picks .media { aspect-ratio: 16 / 10; border-radius: 8px; box-shadow: none; }
.stage-picks .media .scan { display: none; }
.stage-picks b { display: block; font-size: 13px; font-weight: 600; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-picks span { display: block; font-size: 12px; color: var(--muted); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.step { padding: 24px 26px 26px; position: relative; }
.step + .step { border-left: 1px dashed var(--line-2); }
.step .n { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent-text); }
.step h3 { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; margin-top: 8px; }
.step p { color: var(--muted); font-size: 14px; margin-top: 6px; max-width: 32em; }
.step code { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 12.5px; padding: 6px 10px; border-radius: 8px; background: var(--code); color: var(--code-ink); }

/* ---------- sections ---------- */
.section { padding: 72px 0 0; }
.section.tight { padding: 48px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.sec-head h2 { font-family: var(--display); font-weight: 750; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.035em; line-height: 1.05; color: var(--ink); margin-top: 4px; }
.sec-head h2 br { display: none; }
.sec-head p { color: var(--muted); font-size: 15px; max-width: 36em; margin-top: 6px; }
.sec-head .tag { display: inline-flex; }
.sec-head.plain h2 { font-size: 24px; }
.page-head { padding: 72px 0 36px; position: relative; }
.page-head > .wrap { position: relative; }
.page-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4.6vw, 68px); line-height: .98; letter-spacing: -0.045em; margin-top: 14px; max-width: 16em; }
.page-head h1 em { color: var(--accent-text); }
.page-head h1 br { display: none; }
.page-head p { color: var(--muted); max-width: 38em; margin-top: 16px; font-size: 17px; }
.page-head .acts { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.page-head .note { margin-top: 14px; }
.dots::before { display: none; }

.controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.pill:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pill.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--panel-2); }
.seg button { height: 32px; padding: 0 14px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--panel); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08), inset 0 0 0 1px var(--line); }

.subbar { position: sticky; top: var(--nav-h); z-index: 30; display: flex; justify-content: center; gap: 4px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; padding: 0 12px; }
.subbar button { height: 48px; padding: 0 14px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; display: inline-flex; gap: 8px; align-items: center; }
.subbar button.on { color: var(--ink); border-color: var(--accent); }
.subbar i { width: 8px; height: 8px; border-radius: 3px; background: currentColor; display: inline-block; }

/* ---------- game cards: frame on top, words underneath ---------- */
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.wall.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: block; position: relative; }
.card .media { aspect-ratio: 4 / 3; transition: transform .45s var(--spring), box-shadow .3s var(--ease); }
.wall.three .card .media { aspect-ratio: 16 / 10; }
.card:hover .media { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:hover iframe { transform: scale(1.03); }
.card.here .media { box-shadow: 0 0 0 3px var(--accent), var(--shadow); }
.card .top { position: absolute; z-index: 3; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; gap: 6px; }
.card .top > span { display: flex; gap: 5px; }
.card .playbtn { position: absolute; z-index: 3; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -6px rgba(0,0,0,.5); opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .25s var(--ease), transform .35s var(--spring); }
.card .playbtn svg { width: 18px; height: 18px; fill: currentColor; margin-left: 3px; }
.card:hover .playbtn, .card:focus-visible .playbtn { opacity: 1; transform: none; }
.cmeta { padding: 12px 2px 0; }
.cmeta h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmeta .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 5px; font-size: 13px; color: var(--muted); }
.cmeta .who { display: inline-flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .stats { display: flex; gap: 12px; font-size: 13px; color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
.card .stats span { display: inline-flex; gap: 4px; align-items: center; }
.card .stats svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ava { width: 20px; height: 20px; border-radius: 6px; flex: none; display: inline-block; background: linear-gradient(135deg, hsl(var(--h) 80% 62%), hsl(calc(var(--h) + 50) 75% 46%)); }
.ava.lg { width: 76px; height: 76px; border-radius: 22px; }
.empty { grid-column: 1 / -1; padding: 56px 20px; text-align: center; color: var(--muted); border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--line-2); border: 0; background-image: repeating-linear-gradient(135deg, transparent 0 10px, var(--line) 10px 11px); }
.empty b { display: block; font-family: var(--display); font-size: 20px; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.02em; }
.seeall { display: flex; justify-content: center; margin-top: 20px; }

/* ---------- mechanics ---------- */
.mgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 16px; }
.mcard { display: block; }
.mcard .media { aspect-ratio: 4 / 3; transition: transform .45s var(--spring), box-shadow .3s var(--ease); }
.mcard .media iframe { opacity: 1; }
.mcard:hover .media { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mcard .mmeta { padding: 10px 2px 0; }
.mcard h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.mcard .row { display: flex; justify-content: space-between; margin-top: 3px; font-size: 13px; color: var(--muted); }

/* ---------- jam band ---------- */
.contest { margin-top: 72px; border-radius: 24px; overflow: hidden; position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; padding: 44px 48px;
  background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.contest::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(0,0,0,.14) 1.2px, transparent 1.6px); background-size: 18px 18px; mask-image: linear-gradient(100deg, transparent 35%, #000); -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000); }
.contest > * { position: relative; z-index: 1; }
.contest .money { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 6.4vw, 96px); letter-spacing: -0.055em; line-height: .9; font-variant-numeric: tabular-nums; }
.contest p { font-weight: 500; font-size: 17px; margin-top: 14px; max-width: 26em; }
.contest .right { justify-self: end; text-align: right; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -0.04em; line-height: 1; }
.contest .right .btn { margin-top: 18px; background: var(--ink); color: var(--bg); box-shadow: none; font-family: var(--body); letter-spacing: 0; }
.contest:hover .right .btn { transform: translateY(-2px); }

/* MCP band on home */
.mcpband { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 40px; border-radius: 24px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.mcpband h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.045em; line-height: 1; }
.mcpband p { color: var(--muted); margin-top: 12px; max-width: 30em; }
.mcpband .acts { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.chat { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.chat .me { align-self: flex-end; max-width: 80%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: var(--bg); }
.chat .ai { align-self: flex-start; max-width: 88%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.chat .ai code { font-family: var(--mono); font-size: 12.5px; color: var(--accent-text); }
.chat .tool { align-self: flex-start; font-family: var(--mono); font-size: 12px; color: var(--muted); padding-left: 4px; }

/* ---------- game page ---------- */
.gpage { padding: 28px 0 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--dim); margin-bottom: 16px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--ink); }
.ggrid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.player .core { background: var(--media); box-shadow: var(--shadow-lg); border-radius: 20px; }
.player .screen { aspect-ratio: 16 / 10; position: relative; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.pbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 2px 6px; flex-wrap: wrap; }
.pbar h1 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.045em; line-height: 1; }
.pbar .by { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-top: 10px; flex-wrap: wrap; }
.pbar .by a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pact { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s var(--ease), transform .25s var(--spring); }
.icon-btn:hover { box-shadow: inset 0 0 0 1px var(--ink); } .icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hint { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); padding: 4px 2px 8px; }
.recipe .core { padding: 24px; position: sticky; top: calc(var(--nav-h) + 16px); }
.recipe h2 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.recipe .lead { color: var(--muted); font-size: 14.5px; margin: 6px 0 18px; }
.rsec { padding: 16px 0; border-top: 1px solid var(--line); }
.rsec > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.mchips { display: flex; flex-wrap: wrap; gap: 6px; }
.mchip { padding: 7px 11px; border-radius: 9px; font-size: 13.5px; font-weight: 500; background: var(--panel-2); transition: background .2s var(--ease), color .2s var(--ease); }
a.mchip:hover { background: var(--ink); color: var(--bg); }
.sw { display: flex; align-items: center; font-size: 14px; }
.sw i { width: 28px; height: 28px; border-radius: 8px; flex: none; margin-right: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.sw span { margin-left: 6px; }
.prompt { font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: var(--code-ink); background: var(--code); border-radius: 12px; padding: 14px; white-space: pre-wrap; word-break: break-word; }
.prompt-row { display: flex; justify-content: flex-end; margin-top: 8px; }
.statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { padding: 12px 14px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 750; font-size: 22px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.5px; color: var(--muted); }
.cmd { margin-top: 16px; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--mono); font-size: 13px; }
.cmd code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.cmd code b { color: var(--accent-text); font-weight: 500; }
.copy { flex: none; height: 32px; padding: 0 13px; border-radius: 9px; font-family: var(--body); font-size: 13px; font-weight: 600; background: var(--ink); color: var(--bg); transition: background .2s var(--ease), transform .25s var(--spring); }
.copy:hover { background: var(--ink-2); } .copy:active { transform: scale(.94); }
.copy.done { background: var(--ok); color: #fff; }
.lineage { display: flex; align-items: stretch; gap: 20px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.lineage .card { flex: 0 0 300px; }
.lineage .arrow { flex: none; align-self: center; font-size: 13px; font-weight: 600; color: var(--dim); }

/* ---------- charts ---------- */
.board .core { padding: 8px; }
.brow { display: grid; grid-template-columns: 44px 104px minmax(0, 1.6fr) minmax(0, 1fr) 84px 84px 130px; align-items: center; gap: 16px; padding: 10px 12px; border-radius: 12px; transition: background .2s var(--ease); }
.brow:hover { background: var(--bg); }
.brow.head { font-size: 12.5px; font-weight: 600; color: var(--dim); }
.brow.head:hover { background: none; }
.brow .pos { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--dim); font-variant-numeric: tabular-nums; }
.brow:nth-child(2) .pos { color: var(--accent-text); } .brow:nth-child(3) .pos, .brow:nth-child(4) .pos { color: var(--ink); }
.brow .thumb { aspect-ratio: 16 / 10; border-radius: 9px; box-shadow: none; }
.brow .thumb .scan { display: none; }
.brow h3 { font-size: 15.5px; font-weight: 600; }
.brow .num { font-size: 14px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }

/* ---------- creator ---------- */
.chead { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; text-align: left; }
.chead h1 { margin: 4px 0 0; }
.cstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 32px 0 44px; text-align: left; }
.cstats .core { padding: 18px; }
.cstats b { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.045em; display: block; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cstats span { font-size: 13px; color: var(--muted); }

/* ---------- publish ---------- */
.pubgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.drop .core { min-height: 390px; display: grid; place-items: center; text-align: center; padding: 28px; box-shadow: none; border: 2px dashed var(--line-2); background: transparent; transition: border-color .2s var(--ease), background .2s var(--ease); }
.drop.over .core { border-color: var(--accent); background: var(--accent-soft); }
.drop h3 { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -0.04em; margin: 12px 0 6px; }
.drop .or { margin: 18px 0; color: var(--dim); font-size: 13px; font-weight: 500; }
.term .core { background: #17150f; min-height: 390px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.term .bar3 { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.term .bar3 i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.16); }
.term .bar3 i:first-child { background: #ff5f57; } .term .bar3 i:nth-child(2) { background: #febc2e; } .term .bar3 i:nth-child(3) { background: #28c840; }
.term pre { margin: 0; padding: 18px; font-family: var(--mono); font-size: 13px; line-height: 1.8; color: #e6dfd2; white-space: pre-wrap; flex: 1; text-align: left; }
.term pre .p, .term pre .y { color: #ff8d5f; } .term pre .ok { color: #4fd18b; } .term pre .d { color: #8a8274; }
.result { margin-top: 16px; display: none; } .result.on { display: block; }
.result .core { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.result .screen { aspect-ratio: 16 / 10; position: relative; background: var(--media); }
.result iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.result .info { padding: 28px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.result h3 { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.04em; }

/* ---------- modal + search palette ---------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-scrim { position: absolute; inset: 0; background: color-mix(in srgb, #14120f 48%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-card { position: relative; width: min(580px, 100%); max-height: calc(100dvh - 32px); overflow: auto; transform: translateY(14px) scale(.98); transition: transform .4s var(--spring); }
.modal.open .modal-card { transform: none; }
.modal .core { padding: 28px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
.modal h2 { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -0.045em; line-height: 1; margin: 12px 0 8px; padding-right: 44px; }
.modal .lead { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field select { width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--bg); color: var(--ink); font: inherit; box-shadow: inset 0 0 0 1px var(--line-2); outline: none; transition: box-shadow .2s var(--ease); }
.field input:focus, .field select:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.field input:user-invalid { box-shadow: inset 0 0 0 2px var(--bad); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.x { position: absolute; top: 18px; right: 18px; z-index: 2; }
.tabs { display: flex; gap: 4px; margin: 4px 0 10px; padding: 4px; border-radius: 12px; background: var(--panel-2); width: fit-content; }
.tabs button { height: 30px; padding: 0 12px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.tabs button.on { background: var(--panel); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.note { font-size: 13px; color: var(--dim); margin-top: 14px; }
.toast { position: fixed; z-index: var(--z-toast); left: 50%; bottom: 28px; transform: translate(-50%, 20px); min-height: 44px; padding: 0 18px; display: flex; align-items: center; gap: 8px; border-radius: 14px; background: var(--ink); color: var(--bg); font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--spring); }
.toast::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.cmdk { position: fixed; inset: 0; z-index: var(--z-modal); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
.cmdk.open { opacity: 1; pointer-events: auto; }
.cmdk-box { position: relative; width: min(640px, 100%); border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); overflow: hidden; transform: translateY(-8px) scale(.98); transition: transform .35s var(--spring); }
.cmdk.open .cmdk-box { transform: none; }
.cmdk-in { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.cmdk-in svg { width: 20px; height: 20px; stroke: var(--dim); fill: none; stroke-width: 1.8; stroke-linecap: round; flex: none; }
.cmdk-in input { flex: 1; height: 60px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 18px; outline: none; }
.cmdk-list { max-height: min(56vh, 520px); overflow: auto; padding: 8px; }
.cmdk-group { font-size: 12px; font-weight: 600; color: var(--dim); padding: 10px 10px 6px; }
.cmdk-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; cursor: pointer; }
.cmdk-item.sel { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.cmdk-item .sw2 { width: 40px; height: 30px; border-radius: 7px; flex: none; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.cmdk-item b { font-weight: 600; font-size: 14.5px; display: block; }
.cmdk-item span { font-size: 12.5px; color: var(--muted); }
.cmdk-item .go { margin-left: auto; font-size: 12px; color: var(--dim); white-space: nowrap; }
.cmdk-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.cmdk-empty { padding: 32px 16px; text-align: center; color: var(--muted); }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: 96px; }
.footer-in { padding-inline: var(--pad); max-width: 1440px; margin-inline: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.footer p { margin-top: 10px; max-width: 30em; }
.flinks { display: flex; gap: 28px; flex-wrap: wrap; justify-content: flex-end; font-size: 14px; }
.flinks div { display: flex; flex-direction: column; gap: 8px; }
.flinks b { font-size: 12.5px; color: var(--dim); font-weight: 600; }
.flinks a { color: var(--ink-2); } .flinks a:hover { color: var(--accent-text); }
.footer .fnote { max-width: none; grid-column: 1 / -1; font-size: 12.5px; color: var(--dim); border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- discover (games from around the web) ---------- */
.dcard .dlink { display: block; }
.dcard .media .poster { background: radial-gradient(110% 90% at 15% 0%, var(--c1), transparent 62%), radial-gradient(90% 90% at 100% 100%, var(--c2), transparent 70%), #16130f; }
.dcard .media .poster::after { content: ''; position: absolute; inset: 0; opacity: .35; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.dcard .ptitle { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.1vw, 30px); line-height: .95; letter-spacing: -0.045em; color: rgba(255,255,255,.94); text-shadow: 0 2px 20px rgba(0,0,0,.35); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: opacity .3s var(--ease); }
.dcard .media.live .ptitle { opacity: 0; }
.dcard .phint { position: absolute; z-index: 3; left: 12px; bottom: 12px; opacity: 0; transition: opacity .2s var(--ease); }
.dcard .media.loading .phint { opacity: 1; }
.dcard .top .chip { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.dmeta { padding: 12px 2px 0; }
.dmeta h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtags { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.dnote { color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.dby { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; }
.dby .who { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dby .dim { color: var(--dim); font-weight: 400; }
.dby a { color: var(--muted); flex: none; white-space: nowrap; }
.dby a:hover { color: var(--accent-text); }
.dclaim { margin-top: 8px; font-size: 12.5px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.dclaim:hover { color: var(--ink); }
.plabel { display: inline-flex; align-items: center; height: 36px; padding: 0 8px 0 2px; font-size: 13px; font-weight: 600; color: var(--dim); }
.dcount { font-size: 13.5px; color: var(--muted); }
.dfoot { max-width: 720px; margin: 36px auto 0; text-align: center; }
#sgForm .btn, #clForm .btn { margin-top: 6px; }

/* ---------- review queue (internal) ---------- */
.rq-wrap { max-width: 1000px; }
#rqTabs i { font-style: normal; opacity: .65; margin-left: 4px; font-variant-numeric: tabular-nums; }
#rqList { display: grid; gap: 14px; }
.rq { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 20px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); transition: opacity .3s var(--ease), box-shadow .3s var(--ease); }
.rq.is-approve { box-shadow: inset 0 0 0 2px var(--ok), var(--shadow); }
.rq.is-reject { opacity: .6; }
.rq-score { display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.rq-score b { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.rq-score span { font-size: 11.5px; color: var(--dim); margin-top: 4px; }
.rq-head { display: flex; gap: 10px; align-items: center; }
.rq-title { flex: 1; min-width: 0; height: 40px; padding: 0 10px; margin-left: -10px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 650 19px/1 var(--body); letter-spacing: -0.015em; outline: none; }
.rq-title:hover { background: var(--bg); }
.rq-title:focus { background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); }
.rq-links { display: flex; gap: 6px; flex: none; }
.rq-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.rq-desc { color: var(--muted); font-size: 14px; margin-top: 8px; }
.rq-ev { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--bg); box-shadow: inset 3px 0 0 var(--dim); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.rq-ev span { display: block; font-size: 12px; font-weight: 700; color: var(--dim); margin-bottom: 4px; }
.rq-ev.ok { box-shadow: inset 3px 0 0 var(--ok); } .rq-ev.ok span { color: var(--ok); }
.rq-ev.mid { box-shadow: inset 3px 0 0 var(--warn); } .rq-ev.mid span { color: var(--warn); }
.rq-ev.low { box-shadow: inset 3px 0 0 var(--bad); } .rq-ev.low span { color: var(--bad); }
.rq-checks { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
.rq-checks .chip.okc { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.rq-checks .chip.warn { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.rq-pt { font-size: 12.5px; color: var(--dim); }
.rq-fields { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr auto; gap: 10px; align-items: end; margin-top: 16px; }
.rq-fields .field, .rq-note { margin-bottom: 0; }
.rq .field input, .rq .field select { height: 38px; font-size: 14px; }
.rq-note { margin-top: 12px; }
.rq-check { display: inline-flex; align-items: center; gap: 8px; height: 38px; font-size: 13.5px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.rq-check input { accent-color: var(--accent); width: 16px; height: 16px; }
.rq-acts { display: flex; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.rq-reason { height: 34px; padding: 0 10px; border-radius: 10px; border: 0; background: var(--bg); color: var(--ink); font: inherit; font-size: 13.5px; box-shadow: inset 0 0 0 1px var(--line-2); }
.rq-state { font-size: 14px; font-weight: 600; color: var(--ok); }
.rq.is-reject .rq-state { color: var(--muted); }
.rq-bar { position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; padding: 12px; border-radius: 18px; background: color-mix(in srgb, var(--panel) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); }
.rq-bar .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.rq-cmd { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; font-size: 13px; color: var(--muted); }
.rq-cmd code { font-family: var(--mono); font-size: 12.5px; color: var(--code-ink); background: var(--code); padding: 7px 11px; border-radius: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
#rqMeta code { font-family: var(--mono); font-size: 14px; color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ggrid { grid-template-columns: 1fr; }
  .recipe .core { position: relative; top: 0; }
  .searchbtn { width: 200px; }
  .brow { grid-template-columns: 36px 84px minmax(0, 1fr) 74px 74px; }
  .brow > :nth-child(4), .brow > :nth-child(7) { display: none; }
}
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 36px; }
  .mcpband { grid-template-columns: 1fr; }
  .nav-right .ghost { display: none; }
}
@media (max-width: 860px) {
  :root { --pad: 18px; --nav-h: 58px; }
  .nav-links, .searchbtn span, .searchbtn kbd, .nav-right .btn-ink { display: none; }
  .searchbtn { width: 40px; padding: 0; justify-content: center; }
  .burger { display: block; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px dashed var(--line-2); }
  .contest, .pubgrid, .result .core, .two { grid-template-columns: 1fr; }
  .contest { padding: 30px 26px; gap: 18px; } .contest .right { justify-self: start; text-align: left; }
  .wall, .wall.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cstats { grid-template-columns: repeat(2, 1fr); }
  .brow { grid-template-columns: 28px 64px minmax(0, 1fr) 64px; gap: 10px; }
  .brow > :nth-child(5) { display: none; }
  .footer-in { grid-template-columns: 1fr; } .flinks { justify-content: flex-start; }
  .stage-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .stage-picks span { display: none; }
  .mcpband { padding: 26px; }
  .rq-fields { grid-template-columns: 1fr 1fr; }
  /* bottom tab bar */
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; z-index: var(--z-nav); left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; border-radius: 12px; font-size: 11px; font-weight: 600; color: var(--muted); }
  .tabbar svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar .on { color: var(--ink); }
  .tabbar .on svg { stroke: var(--accent-text); }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .rq-bar { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .wall, .wall.three { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .stage-bar { left: 10px; right: 10px; bottom: 10px; padding: 10px; }
  .stage-bar p { display: none; }
  .rq { grid-template-columns: 1fr; gap: 8px; }
  .rq-score { flex-direction: row; gap: 8px; align-items: baseline; }
  .rq-head { flex-wrap: wrap; }
}

/* ---------- home hero: recipe -> your agent -> your version ---------- */
.hcmd { max-width: 560px; margin-top: 26px; }
.hcmd code { font-size: 12.5px; }
.hacts { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.flow { display: flex; flex-direction: column; gap: 12px; }
.flow-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.flow-card { display: block; }
.flow-card .media { aspect-ratio: 4 / 3; border-radius: 14px; transition: transform .45s var(--spring), box-shadow .3s var(--ease); }
.flow-card:hover .media { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.flow-card b { display: block; font-size: 14.5px; font-weight: 600; margin-top: 8px; letter-spacing: -0.01em; }
.flow-card > span { display: block; font-size: 12.5px; color: var(--muted); }
.flabel { position: absolute; z-index: 3; left: 10px; top: 10px; }
.flow-arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); margin-top: -34px; }
.flow-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.agent { border-radius: 16px; background: #17150f; box-shadow: var(--shadow-lg); overflow: hidden; }
.agent-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.agent-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.agent-bar i:first-child { background: #ff5f57; } .agent-bar i:nth-child(2) { background: #febc2e; } .agent-bar i:nth-child(3) { background: #28c840; }
.agent-bar span { margin-left: 8px; font-family: var(--mono); font-size: 11.5px; color: #8a8274; }
.agent-log { margin: 0; padding: 14px 16px 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #e6dfd2; white-space: pre-wrap; min-height: 214px; }
.agent-log .l { opacity: 0; animation: typein .35s var(--ease) forwards; animation-delay: calc(var(--k) * 380ms + 250ms); }
.agent-log .u { color: #ff8d5f; } .agent-log .t { color: #8fb6ff; } .agent-log .s { color: #f0c674; } .agent-log .d { color: #8a8274; } .agent-log .ok { color: #4fd18b; }
@keyframes typein { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .agent-log .l { opacity: 1; animation: none; } }

/* creator lineage on home */
.lineage-mini { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.lm-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease), transform .25s var(--spring); }
.lm-row:hover { box-shadow: inset 0 0 0 1px var(--ink); transform: translateX(2px); }
.lm-row:not(.root) { margin-left: 28px; position: relative; }
.lm-row:not(.root)::before { content: ''; position: absolute; left: -18px; top: -14px; width: 12px; height: 34px; border-left: 1.5px solid var(--line-2); border-bottom: 1.5px solid var(--line-2); border-bottom-left-radius: 8px; }
.lm-row .sw2 { width: 44px; height: 32px; border-radius: 8px; flex: none; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.lm-row b { display: block; font-size: 14.5px; font-weight: 600; }
.lm-row span { font-size: 12.5px; color: var(--muted); }
.lm-row em { margin-left: auto; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lm-more { margin-left: 28px; font-size: 13px; color: var(--dim); padding: 2px 4px; }
@media (max-width: 560px) {
  .flow-top { grid-template-columns: 1fr 1fr; }
  .flow-arrow { display: none; }
  .agent-log { font-size: 11.5px; min-height: 0; }
  .hcmd code { font-size: 11.5px; }
}

/* =========================================================================
   v9 — cinematic layer (overrides above)
   ========================================================================= */
body { font-size: 15px; letter-spacing: -0.005em; }
h1, h2, h3 { font-feature-settings: "ss01", "cv11"; }
.nav { transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease); background: rgba(9,9,10,.72); }
.nav.over { background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { font-family: var(--body); font-weight: 700; font-size: 18px; letter-spacing: -0.035em; }
.brand-mark { transform: none; border-radius: 8px; width: 28px; height: 28px; }
.brand:hover .brand-mark { transform: rotate(-8deg); }
.nav-links a { font-size: 14px; color: rgba(244,244,241,.66); }
.nav-links a:hover { background: rgba(255,255,255,.07); color: var(--ink); }
.nav-links a.on::after { bottom: 3px; height: 2px; }
.searchbtn { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.searchbtn:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
kbd { background: rgba(255,255,255,.08); color: var(--muted); box-shadow: none; }

.btn { background: rgba(255,255,255,.07); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn-ink, .btn-white { background: var(--ink); color: #0b0b0c; box-shadow: none; }
.btn-ink:hover, .btn-white:hover { background: #fff; transform: translateY(-1px); }
.btn-accent { color: #0b0b0c; }
.copy { background: var(--ink); color: #0b0b0c; }
.copy:hover { background: #fff; }

.page-head h1, .sec-head h2, .pbar h1, .recipe h2, .modal h2, .hero h1, .mcpband h2, .drop h3, .result h3, .contest .money, .facts b, .stat b, .cstats b, .step h3, .stage-bar h3 { font-family: var(--display); }
.page-head h1 { font-weight: 700; letter-spacing: -0.05em; font-size: clamp(40px, 5vw, 72px); }
.sec-head h2 { font-weight: 650; letter-spacing: -0.035em; font-size: clamp(22px, 2vw, 28px); }
.sec-head p { font-size: 14.5px; }
.pbar h1 { font-weight: 700; letter-spacing: -0.045em; }
.recipe h2 { font-weight: 700; letter-spacing: -0.035em; }
.modal h2 { font-weight: 700; letter-spacing: -0.04em; }
.core { box-shadow: inset 0 0 0 1px var(--line); }
.media { box-shadow: none; border-radius: 12px; }
.chip { background: rgba(255,255,255,.08); color: var(--ink-2); }
.pill { box-shadow: none; background: rgba(255,255,255,.05); color: var(--ink-2); }
.pill:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.pill.on { background: var(--ink); color: #0b0b0c; }
.seg { background: rgba(255,255,255,.06); }
.seg button.on { background: var(--ink); color: #0b0b0c; box-shadow: none; }
.field input, .field select { background: var(--bg-2); }
.field input:focus, .field select:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.toast { background: var(--ink); color: #0b0b0c; }
.empty { background-image: none; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.hl { background: none; color: var(--accent-text); padding: 0; }

/* cards: image first, quiet metadata */
.wall { gap: 32px 18px; }
.card .media, .mcard .media { aspect-ratio: 16 / 10; }
.card:hover .media, .mcard:hover .media { transform: none; box-shadow: 0 0 0 1px rgba(255,255,255,.22), var(--shadow-lg); }
.card .media iframe { transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.card:hover iframe { transform: scale(1.05); }
.cmeta, .dmeta, .mcard .mmeta { padding-top: 11px; }
.cmeta h3, .dmeta h3, .mcard h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.cmeta .row, .mcard .row { font-size: 12.5px; }
.card .playbtn { width: 42px; height: 42px; }

/* ---------- full-bleed hero ---------- */
.hx { position: relative; min-height: min(92vh, 880px); display: flex; align-items: flex-end; margin-top: calc(var(--nav-h) * -1); overflow: hidden; isolation: isolate; }
.hx-bg { position: absolute; inset: 0; z-index: -2; }
.hx-bg .media { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.hx-bg .media iframe { transform: scale(1.06); }
.hx-bg .media .scan { display: none; }
.hx-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, var(--bg) 0%, rgba(9,9,10,.86) 22%, rgba(9,9,10,.25) 58%, rgba(9,9,10,.55) 100%), radial-gradient(70% 60% at 50% 85%, rgba(9,9,10,.7), transparent 70%); }
.hx-in { width: 100%; padding-bottom: 72px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hx-in .tag { color: rgba(244,244,241,.8); padding: 7px 12px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line-2); }
.hx h1 { font-family: var(--display); font-weight: 700; font-size: clamp(46px, 7.4vw, 112px); line-height: .92; letter-spacing: -0.058em; margin-top: 22px; max-width: 12.5em; text-shadow: 0 8px 60px rgba(0,0,0,.45); }
.hx h1 .soft { color: rgba(244,244,241,.5); }
.hx .lede { font-size: 18px; color: rgba(244,244,241,.74); max-width: 36em; margin-top: 22px; line-height: 1.5; }
.hx-cmd { display: flex; align-items: center; gap: 10px; width: min(620px, 100%); margin-top: 30px; padding: 7px 7px 7px 18px; border-radius: 16px; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 60px -20px rgba(0,0,0,.8); font-family: var(--mono); font-size: 13px; text-align: left; }
.hx-cmd code { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.hx-cmd code b { color: var(--accent-text); font-weight: 500; }
.hx-cmd .copy { height: 38px; padding: 0 16px; border-radius: 11px; font-size: 13.5px; }
.hx-acts { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.hx-now { position: absolute; right: var(--pad); bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; color: var(--muted); }
.hx-now b { color: var(--ink); font-weight: 600; }
.hx-now .live { width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 4px rgba(255,59,59,.18); animation: pulse 1.6s var(--ease) infinite; }
.hx-now .btn { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 9px; }

/* category strip under the hero */
.tabsbar { position: sticky; top: var(--nav-h); z-index: 30; display: flex; gap: 6px; padding: 12px var(--pad); overflow-x: auto; scrollbar-width: none; background: rgba(9,9,10,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.tabsbar::-webkit-scrollbar { display: none; }
.tabsbar a { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 11px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: rgba(255,255,255,.045); transition: background .2s var(--ease), color .2s var(--ease); }
.tabsbar a:hover { background: rgba(255,255,255,.1); color: var(--ink); }
.tabsbar a.on { background: var(--ink); color: #0b0b0c; }
.tabsbar svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabsbar .count { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.tabsbar a.on .count { color: rgba(0,0,0,.5); }

/* horizontal rails */
.rail { padding-top: 56px; }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.rail-head h2 { font-family: var(--display); font-weight: 650; font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -0.035em; display: flex; align-items: center; gap: 10px; }
.rail-head h2 .chip { font-size: 11.5px; font-weight: 600; letter-spacing: 0; }
.rail-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.rail-ctl { display: flex; align-items: center; gap: 6px; flex: none; }
.rail-ctl .link { margin-right: 8px; font-size: 14px; color: var(--ink-2); }
.rail-ctl .link:hover { color: var(--ink); }
.rail-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s var(--ease), opacity .2s var(--ease); }
.rail-btn:hover { background: rgba(255,255,255,.14); }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: 0; padding-bottom: 6px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; min-width: 0; }
.rail.wide .rail-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
.rail.mech .rail-track { grid-auto-columns: calc((100% - 4 * 18px) / 5); }
.rail .dnote { -webkit-line-clamp: 2; }

/* feature split */
.feature { margin-top: 96px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.feature h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.6vw, 54px); line-height: 1; letter-spacing: -0.05em; }
.feature h2 .soft { color: var(--dim); }
.feature > div > p { color: var(--muted); font-size: 16.5px; margin-top: 18px; max-width: 30em; }
.feature .points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.feature .points li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--ink-2); }
.feature .points b { color: var(--ink); font-weight: 600; display: block; }
.feature .points i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-style: normal; font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.feature .acts { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.feature .flow { padding: 18px; border-radius: 22px; background: radial-gradient(120% 90% at 100% 0%, rgba(255,91,31,.14), transparent 55%), var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.feature .stage-picks { margin-top: 0; }
.feature .stage-picks button.on { background: var(--panel-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.feature .stage-picks button:hover { background: var(--panel-2); }

/* stats band */
.statband { margin-top: 96px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statband div { padding: 30px 24px; }
.statband div + div { border-left: 1px solid var(--line); }
.statband b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.statband span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

.mcpband { margin-top: 96px; background: radial-gradient(90% 120% at 0% 0%, rgba(255,91,31,.12), transparent 50%), var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.lineage-mini { background: var(--bg-2); }
.lm-row { background: var(--panel-2); }
.lm-row:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.contest { margin-top: 96px; }
.contest .right .btn { background: #0b0b0c; color: var(--ink); }
.flow-arrow { margin-top: -30px; }
.agent { background: #050506; box-shadow: inset 0 0 0 1px var(--line); }
.footer { margin-top: 120px; }

@media (max-width: 1240px) {
  .rail-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .rail.mech .rail-track { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
  .feature { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  :root { --pad: 18px; }
  .rail-track, .rail.wide .rail-track { grid-auto-columns: 72%; gap: 14px; }
  .rail.mech .rail-track { grid-auto-columns: 46%; }
  .rail-btn { display: none; }
  .hx { min-height: 86vh; }
  .hx-in { padding-bottom: 56px; }
  .hx .lede { font-size: 16px; }
  .hx-now { display: none; }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .statband div:nth-child(3) { border-left: 0; }
  .statband div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .feature, .statband, .mcpband, .contest { margin-top: 64px; }
}
@media (max-width: 560px) {
  .hx h1 { font-size: 46px; }
  .hx-cmd { font-size: 11.5px; padding-left: 12px; }
}
.btn-accent { background: var(--accent); color: #0b0b0c; box-shadow: inset 0 -2px 0 rgba(0,0,0,.16); backdrop-filter: none; -webkit-backdrop-filter: none; }
.btn-accent:hover { background: #ff6c35; box-shadow: inset 0 -2px 0 rgba(0,0,0,.16), 0 10px 28px -10px var(--accent); }

/* =========================================================================
   v11 — media-first home (banner row, promo, tiles). No big headline.
   ========================================================================= */
.bnr { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 14px) / 2.45); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 14px var(--pad) 4px; scroll-padding-inline: var(--pad); }
.bnr::-webkit-scrollbar { display: none; }
.bnr-card { display: block; scroll-snap-align: start; min-width: 0; }
.bnr-card .media { aspect-ratio: 16 / 9; border-radius: 14px; transition: box-shadow .3s var(--ease); }
.bnr-card:hover .media { box-shadow: 0 0 0 1px rgba(255,255,255,.28), var(--shadow-lg); }
.bnr-card:hover iframe { transform: scale(1.035); }
.bnr-card .media .scan { background: linear-gradient(to bottom, rgba(0,0,0,.35), transparent 30%); }
.bnr-tag { position: absolute; z-index: 3; left: 12px; top: 12px; display: flex; gap: 6px; }
.bnr-card h3 { font-size: 15px; font-weight: 650; letter-spacing: -0.02em; margin-top: 12px; }
.bnr-card p { font-size: 13.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Discover collage inside a banner */
.collage { background: #0c0c0e; }
.cl-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 6px; padding: 6px; }
.cl-item { position: relative; border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; background: radial-gradient(110% 90% at 15% 0%, var(--c1), transparent 62%), radial-gradient(90% 90% at 100% 100%, var(--c2), transparent 70%), #16130f; transition: transform .5s var(--ease); }
.bnr-card:hover .cl-item:nth-child(odd) { transform: translateY(-3px); }
.bnr-card:hover .cl-item:nth-child(even) { transform: translateY(3px); }
.cl-item b { font-weight: 750; font-size: clamp(13px, 1.2vw, 17px); letter-spacing: -0.035em; line-height: 1; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-item span { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Jam art */
.jamart { background: radial-gradient(80% 120% at 70% 40%, #ff8a4c 0%, #ff5b1f 30%, #7a2208 68%, #1a0a04 100%); }
.jamart::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(0,0,0,.2) 1.2px, transparent 1.6px); background-size: 16px 16px; mask-image: linear-gradient(110deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(110deg, transparent 30%, #000); }
.ja-in { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 8%; color: #fff; }
.ja-in small { font-size: clamp(12px, 1vw, 14px); font-weight: 600; opacity: .85; }
.ja-in b { font-weight: 800; font-size: clamp(40px, 5.4vw, 82px); letter-spacing: -0.06em; line-height: .9; margin-top: 6px; text-shadow: 0 6px 30px rgba(0,0,0,.35); font-variant-numeric: tabular-nums; }
.ja-in span { font-size: clamp(12px, 1vw, 15px); font-weight: 500; margin-top: 10px; opacity: .9; }

/* promo + tiles */
.promo2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; margin-top: 36px; }
.promo-big { position: relative; overflow: hidden; border-radius: 16px; padding: 30px; display: flex; flex-direction: column; justify-content: center; min-height: 270px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,140,80,.55) 0%, rgba(255,91,31,.38) 26%, rgba(120,32,8,.4) 56%, transparent 80%), var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.promo-big::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.4px); background-size: 14px 14px; mask-image: linear-gradient(120deg, transparent 45%, #000); -webkit-mask-image: linear-gradient(120deg, transparent 45%, #000); }
.promo-big > * { position: relative; z-index: 1; }
.pb-tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: rgba(0,0,0,.35); color: rgba(255,255,255,.9); }
.pb-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.promo-big h2 { font-weight: 700; font-size: clamp(22px, 2.3vw, 32px); letter-spacing: -0.035em; line-height: 1.12; margin-top: 14px; max-width: 18em; }
.promo-big h2 span { display: block; color: rgba(244,244,241,.6); font-weight: 600; }
.promo-big .cmd { max-width: 560px; margin-top: 18px; background: rgba(0,0,0,.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.pb-acts { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.sticker { position: absolute !important; z-index: 2 !important; top: 18px; right: 20px; transform: rotate(8deg); background: var(--accent); color: #0b0b0c; font-weight: 800; font-size: 13px; line-height: 1.05; padding: 8px 10px; border-radius: 8px; text-align: center; box-shadow: var(--shadow); }
.tiles2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile2 { border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 128px; transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .3s var(--spring); }
.tile2:hover { background: var(--panel-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transform: translateY(-2px); }
.tile2 .ti { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.tile2 .ti svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile2 h3 { font-size: 15px; font-weight: 650; letter-spacing: -0.015em; display: flex; align-items: baseline; gap: 8px; }
.tile2 h3 em { font-size: 12px; font-weight: 500; color: var(--dim); }
.tile2 p { font-size: 13px; color: var(--muted); margin-top: 3px; }

@media (max-width: 1240px) { .bnr { grid-auto-columns: calc((100% - 14px) / 1.6); } }
@media (max-width: 860px) {
  .bnr { grid-auto-columns: 86%; padding-top: 10px; }
  .promo2 { grid-template-columns: 1fr; margin-top: 28px; }
  .promo-big { padding: 24px; min-height: 0; }
  .sticker { display: none; }
}
@media (max-width: 520px) { .tiles2 { grid-template-columns: 1fr 1fr; gap: 10px; } .tile2 { padding: 14px; min-height: 0; } .tile2 p { display: none; } }

/* =========================================================================
   v12 — real covers (creator's own share image), live fallback, calm posters
   ========================================================================= */
.media img.cover { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s var(--ease); }
.card:hover .media img.cover, .bnr-card:hover .media img.cover { transform: scale(1.04); }
.media.live img.cover { opacity: 0; }
.media iframe { z-index: 1; }
.media .scan { z-index: 2; }
.media .top, .media .bnr-tag, .media .playbtn, .media .flabel { z-index: 3; }
.dcard .media.has-cover .ptitle { display: none; }
.dcard .media.live .ptitle { opacity: 0; }
.dcard .media .poster { background: radial-gradient(120% 100% at 0% 0%, var(--c1), transparent 70%), linear-gradient(160deg, var(--c2), #0b0b0c); }
.dcard .media .poster::after { opacity: .18; }
.dcard .ptitle { font-weight: 700; color: rgba(255,255,255,.88); text-shadow: none; letter-spacing: -0.04em; }
.livedot { width: 6px; height: 6px; border-radius: 50%; background: #ff3b3b; display: inline-block; box-shadow: 0 0 0 3px rgba(255,59,59,.2); }

/* banner: featured cover and cover collage */
.bnr-card .media.feat .poster { background: linear-gradient(160deg, var(--c1), var(--c2)); }
.cl-item { background: radial-gradient(120% 100% at 0% 0%, var(--c1), transparent 70%), linear-gradient(160deg, var(--c2), #0b0b0c); }
.cl-item img.cover { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cl-item.has-cover::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.05) 60%); }
.cl-item b, .cl-item span { position: relative; z-index: 1; }
.cl-item.has-cover b { font-size: clamp(12px, 1vw, 14px); font-weight: 650; letter-spacing: -0.02em; }
.bnr-card:hover .cl-item img.cover { transform: scale(1.05); }
.pb-sub { color: rgba(244,244,241,.72); font-size: 15px; margin-top: 12px; max-width: 34em; }

/* MCP setup page */
.mcp-code { position: relative; max-width: 720px; margin-top: 18px; border-radius: 14px; background: var(--code); box-shadow: inset 0 0 0 1px var(--line-2); }
.mcp-code pre { margin: 0; padding: 18px 110px 18px 18px; font-family: var(--mono); font-size: 13.5px; line-height: 1.65; color: var(--code-ink); white-space: pre-wrap; word-break: break-word; }
.mcp-code .copy { position: absolute; top: 12px; right: 12px; }
.mcp-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 28px; max-width: 980px; }
.mcp-tools div { padding: 14px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.mcp-tools code { font-family: var(--mono); font-size: 13px; color: var(--accent-text); }
.mcp-tools span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
@media (max-width: 860px) { .mcp-tools { grid-template-columns: 1fr 1fr; } }

/* key numbers on mechanic pages */
.keys { display: grid; gap: 6px; }
.keys div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 9px 11px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.keys code { font-family: var(--mono); font-size: 12px; color: var(--accent-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.keys b { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink); text-align: right; white-space: nowrap; }
.keys b span { color: var(--dim); font-weight: 400; }
.keys p { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); margin: 0; }

/* =========================================================================
   v18 — the home of vibe gaming: weekly picks, creators, make hub
   ========================================================================= */
.wk { padding-top: 22px; }
.wk-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.wk-head .tag { color: var(--ink); }
.wk-date { font-size: 13px; color: var(--dim); font-family: var(--mono); }
.wk-head .link { margin-left: auto; font-size: 14px; }
.picks { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 22px 18px; }
.pick.pk-hero { grid-row: 1 / span 2; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.pick.pk-hero .pick-media { display: block; width: 100%; height: 100%; min-height: 340px; }
.pick.pk-hero .media { aspect-ratio: auto; width: 100%; height: 100%; }
.pick-media { display: block; }
.pick .ptitle { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; font-family: var(--display); font-weight: 750; font-size: 24px; line-height: 1; letter-spacing: -0.04em; color: rgba(255,255,255,.92); }
.pick.pk-hero .ptitle { font-size: clamp(30px, 3vw, 44px); }
.pick-meta { padding-top: 12px; }
.pick-meta h3 { font-size: 15px; font-weight: 650; letter-spacing: -0.02em; }
.pick.pk-hero .pick-meta h3 { font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.035em; }
.pick-meta p { color: var(--muted); font-size: 14px; margin-top: 4px; max-width: 46em; }
.pick-by { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.pick-by:hover span { color: var(--accent-text); }

.cava { width: 20px; height: 20px; border-radius: 6px; flex: none; display: inline-grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.92); background: hsl(var(--h) 34% 34%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.cava.lg { width: 84px; height: 84px; border-radius: 24px; font-size: 36px; letter-spacing: -0.04em; }
.dby a.who { color: var(--ink-2); flex: 0 1 auto; }
.dby a.who:hover { color: var(--accent-text); }

.crcard .media { aspect-ratio: 16 / 10; }
.crcard .ptitle { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; font-family: var(--display); font-weight: 750; font-size: 20px; line-height: 1; letter-spacing: -0.04em; color: rgba(255,255,255,.9); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.crmeta { display: flex; gap: 10px; align-items: center; padding-top: 12px; min-width: 0; }
.crmeta .cava { width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }
.crmeta div { min-width: 0; display: grid; }
.crmeta b { font-size: 14.5px; font-weight: 650; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crmeta span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crcard:hover .crmeta b { color: var(--accent-text); }
.crgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 18px; padding-top: 8px; }
.rail.cr .rail-track { grid-auto-columns: calc((100% - 4 * 18px) / 5); }
.chead2 { display: flex; gap: 22px; align-items: center; }
.chead2 h1 { margin-top: 0 !important; font-size: clamp(34px, 4vw, 56px) !important; word-break: break-word; }
.chead2 p { margin-top: 8px !important; font-size: 15px !important; }

.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step4 { position: relative; padding: 22px 20px 20px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.step4 .n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 600; background: var(--accent-soft); color: var(--accent-text); }
.step4 h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; margin-top: 6px; }
.step4 p { font-size: 14px; color: var(--muted); }
.step4 .sx { margin-top: auto; padding-top: 8px; display: grid; gap: 10px; justify-items: start; }
.step4 .cmd { margin: 0; width: 100%; }
.step4 .cmd { display: flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; }
.step4 .cmd code { flex: 1; min-width: 0; font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step4 .cmd .copy { flex: none; }

@media (max-width: 1240px) {
  .rail.cr .rail-track { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
  .crgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick.pk-hero { grid-column: 1 / -1; grid-row: auto; }
  .pick.pk-hero .pick-media { min-height: 0; height: auto; }
  .pick.pk-hero .media { height: auto; aspect-ratio: 16 / 10; }
  .rail.cr .rail-track { grid-auto-columns: calc((100% - 18px) / 2.3); }
  .crgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .wk-head .link { margin-left: 0; }
}
@media (max-width: 560px) {
  .picks { grid-template-columns: 1fr; }
  .steps4 { grid-template-columns: 1fr; }
  .chead2 { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cava.lg { width: 64px; height: 64px; border-radius: 18px; font-size: 28px; }
}

/* v19 polish: calmer surfaces, compact browsing cards */
.gcard .gmeta { padding-top: 11px; min-width: 0; }
.gcard .gmeta h3 { font-size: 14.5px; font-weight: 650; letter-spacing: -0.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gcard .gmeta p { font-size: 13px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gcard .gmeta a { color: var(--ink-2); }
.gcard .gmeta a:hover { color: var(--accent-text); }
.gcard .gmeta span { color: var(--dim); }
.gcard .chip.host, .dcard .chip.host { opacity: 0; transition: opacity .2s var(--ease); }
.gcard:hover .chip.host { opacity: 1; }
.crcard .media .scan { background: none; }
.promo-big.calm { background: radial-gradient(70% 90% at 100% 0%, rgba(255, 91, 31, .09), transparent 70%), var(--panel); }
.promo-big.calm::after { opacity: .35; }
.promo-big.calm .pb-tag { background: rgba(255,255,255,.06); color: var(--ink-2); }
.contest.calm { background: radial-gradient(60% 120% at 100% 50%, rgba(255, 91, 31, .08), transparent 70%), var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.contest.calm::after { display: none; }
.contest.calm .tag { color: var(--muted); }
.contest.calm .money { margin-top: 10px; color: var(--ink); }
.contest.calm p { color: var(--muted); font-weight: 400; font-size: 16px; }
.contest.calm .right { color: var(--ink-2); font-weight: 650; }
.contest.calm .right .btn { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 560px) {
  .wk-head { flex-wrap: nowrap; }
  .wk-date { display: none; }
  .wk-head .link { margin-left: auto; white-space: nowrap; }
}

/* v20 — learned from Wavedash's layout: a page per game, halftone genre tiles (our own treatment, no copied assets) */
.gtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gtile { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; isolation: isolate; background: var(--tint); }
.gtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(.92); mix-blend-mode: luminosity; transition: filter .35s var(--ease), transform .7s var(--ease); }
.gtile .ht { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(12, 12, 14, .7) 32%, transparent 36%); background-size: 4px 4px; mix-blend-mode: multiply; opacity: .45; transition: opacity .35s var(--ease); }
.gtile::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(8, 8, 10, .7), transparent 58%); }
.gtile b { position: absolute; z-index: 2; left: 14px; bottom: 30px; font-size: 17px; font-weight: 650; letter-spacing: -0.02em; color: #fff; }
.gtile span { position: absolute; z-index: 2; left: 14px; bottom: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .72); font-variant-numeric: tabular-nums; }
.gtile:hover img, .gtile:focus-visible img { filter: none; mix-blend-mode: normal; transform: scale(1.04); }
.gtile:hover .ht, .gtile:focus-visible .ht { opacity: 0; }
.gtiles.small { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 12px) / 6); gap: 12px; overflow-x: auto; scrollbar-width: none; margin-bottom: 22px; padding-bottom: 2px; }
.gtiles.small::-webkit-scrollbar { display: none; }
.gtiles.small .gtile { aspect-ratio: 16 / 10; }
.gtiles.small .gtile b { font-size: 15px; bottom: 27px; left: 12px; }
.gtiles.small .gtile span { left: 12px; bottom: 10px; font-size: 12px; }

.gd { padding-top: 26px; }
.gd-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 30px; align-items: start; }
.gd-media { aspect-ratio: 16 / 9; border-radius: 16px; }
.gd-media .ptitle { position: absolute; z-index: 1; left: 22px; bottom: 18px; right: 22px; font-family: var(--display); font-weight: 750; font-size: clamp(28px, 3vw, 46px); line-height: 1; letter-spacing: -0.045em; color: rgba(255, 255, 255, .92); }
.gd-over { position: absolute; inset: 0; z-index: 3; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; background: rgba(6, 6, 8, .35); opacity: 0; transition: opacity .25s var(--ease); }
.gd-media:hover .gd-over, .gd-media:focus-within .gd-over { opacity: 1; }
@media (hover: none) { .gd-over { opacity: 1; background: linear-gradient(to top, rgba(6, 6, 8, .55), transparent 60%); align-items: flex-end; padding-bottom: 16px; } }
.gd-over .btn svg { width: 15px; height: 15px; fill: currentColor; margin-right: 6px; }
.gd-media.playing { background: #000; }
.gd-media.playing iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 1; pointer-events: auto; background: #000; }
.gd-hint { font-size: 12.5px; color: var(--dim); margin-top: 10px; }
.gd-info h1 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.04; letter-spacing: -0.04em; }
.gd-by { display: inline-flex; align-items: center; gap: 9px; margin-top: 12px; color: var(--ink-2); font-weight: 550; }
.gd-by .cava { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; }
.gd-by:hover span { color: var(--accent-text); }
.gd-note { color: var(--muted); font-size: 15px; margin-top: 14px; }
.gd-info .dtags { margin-top: 14px; }
.gd-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0 0; font-size: 13.5px; }
.gd-facts dt { color: var(--dim); }
.gd-facts dd { margin: 0; color: var(--ink-2); }
.gd-acts { display: grid; gap: 8px; margin-top: 22px; }
.gd-info .dclaim { margin-top: 14px; }

@media (max-width: 1240px) { .gtiles.small { grid-auto-columns: calc((100% - 4 * 12px) / 4.6); } }
@media (max-width: 1020px) { .gd-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .gtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gtiles.small { grid-auto-columns: calc((100% - 12px) / 2.3); }
}


/* v21 — details learned from 1minus1: pixel labels, rolling hover text, word reveals, ticker, numbered sections */
:root { --pixel: 'Silkscreen', var(--mono); }
.tag, .chip.hot, .media .chip.hot, .step4 .n, .gtile span, .ticker { font-family: var(--pixel); font-weight: 400; letter-spacing: .02em; }
.tag { font-size: 12px; text-transform: uppercase; }
.chip.hot, .media .chip.hot { font-size: 11px; text-transform: uppercase; }
.gtile span { font-size: 11px; text-transform: uppercase; }

.roll { display: inline-grid; overflow: hidden; vertical-align: top; line-height: 1.25; height: 1.25em; }
.roll > span { grid-area: 1 / 1; transition: transform .45s cubic-bezier(.65, 0, .25, 1); }
.roll > span + span { transform: translateY(105%); }
:is(a, button):hover > .roll > span:first-child, :is(a, button):focus-visible > .roll > span:first-child { transform: translateY(-105%); }
:is(a, button):hover > .roll > span + span, :is(a, button):focus-visible > .roll > span + span { transform: none; }

.split .splitw { display: inline; }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform .8s cubic-bezier(.2, .75, .15, 1); transition-delay: calc(var(--i, 0) * 45ms); }
.split.in .w > span { transform: none; }

.ticker { margin-top: 34px; border-block: 1px solid var(--line); overflow: hidden; font-size: 12px; text-transform: uppercase; color: var(--ink-2); }
.ticker-in { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker:hover .ticker-in { animation-play-state: paused; }
.ticker-run { display: flex; align-items: center; gap: 22px; padding: 11px 22px 11px 0; white-space: nowrap; }
.ticker-run i { font-style: normal; color: var(--accent-text); }
@keyframes tick { to { transform: translateX(-50%); } }

.idx { counter-reset: sec; }
.idx :is(.rail-head, .sec-head) h2::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); font-family: var(--pixel); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--accent-text); margin-right: 12px; position: relative; top: -.6em; }
.rail-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 12px; }

@media (prefers-reduced-motion: reduce) {
  .ticker-in { animation: none; }
  .split .w > span, .roll > span { transition: none; transform: none; }
}


/* v22 — batch 1 learned from 1minus1: colour sections, giant word, stickers, playable 404, pixel stairs */
:root { --stairs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cg fill='%23ff5b1f'%3E%3Crect x='0' y='7' width='8' height='1'/%3E%3Crect x='1' y='6' width='7' height='1'/%3E%3Crect x='2' y='5' width='6' height='1'/%3E%3Crect x='3' y='4' width='5' height='1'/%3E%3Crect x='4' y='3' width='4' height='1'/%3E%3Crect x='5' y='2' width='3' height='1'/%3E%3Crect x='6' y='1' width='2' height='1'/%3E%3Crect x='7' y='0' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E"); --stairs-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 3' shape-rendering='crispEdges'%3E%3Cg fill='%23ff5b1f'%3E%3Crect x='0' y='2' width='3' height='1'/%3E%3Crect x='1' y='1' width='2' height='1'/%3E%3Crect x='2' y='0' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E"); --cream: #f3eee4; --cream-ink: #15120f; }
.tag .dot { width: 10px; height: 10px; border-radius: 0; box-shadow: none; background: var(--stairs-mark) no-repeat center / contain; animation: none; }

/* light toolkit block */
.promo2.light { position: relative; overflow: hidden; background: var(--cream); color: var(--cream-ink); border-radius: 28px; padding: 16px; }
.promo2.light > * { position: relative; z-index: 1; }
.promo2.light::before { content: ''; position: absolute; right: -6px; bottom: -6px; width: min(300px, 40%); aspect-ratio: 1; background: var(--stairs) no-repeat right bottom / contain; opacity: .16; z-index: 0; pointer-events: none; }
.promo2.light .promo-big.calm { background: transparent; box-shadow: none; }
.promo2.light .promo-big::after { display: none; }
.promo2.light .promo-big h2 { color: var(--cream-ink); }
.promo2.light .promo-big h2 span { color: rgba(21, 18, 15, .55); }
.promo2.light .pb-tag { background: rgba(21, 18, 15, .07); color: var(--cream-ink); }
.promo2.light .cmd { background: var(--cream-ink); box-shadow: none; color: #f4f4f1; }
.promo2.light .btn-ink { background: var(--cream-ink); color: #fff; }
.promo2.light .btn-ink:hover { background: #000; }
.promo2.light .btn:not(.btn-ink) { background: transparent; color: var(--cream-ink); box-shadow: inset 0 0 0 1.5px rgba(21, 18, 15, .22); backdrop-filter: none; -webkit-backdrop-filter: none; }
.promo2.light .btn:not(.btn-ink):hover { box-shadow: inset 0 0 0 1.5px var(--cream-ink); }
.promo2.light .tile2 { background: #fff; box-shadow: 0 1px 0 rgba(21, 18, 15, .04), 0 8px 24px -16px rgba(21, 18, 15, .35); }
.promo2.light .tile2:hover { background: #fff; box-shadow: 0 1px 0 rgba(21, 18, 15, .04), 0 16px 32px -16px rgba(21, 18, 15, .45); transform: translateY(-3px) rotate(-.6deg); }
.promo2.light .tile2 h3 { color: var(--cream-ink); }
.promo2.light .tile2 h3 em, .promo2.light .tile2 p { color: rgba(21, 18, 15, .58); }
.promo2.light .tile2 .ti { background: rgba(255, 91, 31, .12); }
.promo2.light .tile2 .ti svg { stroke: #c9400d; }

/* creator stickers on compact cards */
.gcard .stk-c { position: relative; z-index: 4; display: inline-block; max-width: calc(100% + 10px); margin: -32px 0 9px -10px; padding: 6px 9px 5px; border-radius: 6px; background: var(--accent); color: #0b0b0c; font-family: var(--pixel); font-size: 11px; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: rotate(-2deg); box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .7); transition: transform .35s var(--spring), background .2s var(--ease); }
.gcard .stk-c:hover { background: #fff; }
.gcard:hover .stk-c { transform: rotate(0deg) translateY(-2px); }
.gcard:hover .media { transform: rotate(-1deg) translateY(-3px); }
.gcard .gmeta p { color: var(--dim); }

/* orange footer with a giant pixel word and scattered stickers */
.footer { background: var(--accent); color: #140b06; border-top: 0; margin-top: 120px; padding: 48px 0 24px; overflow: hidden; }
.footer .muted { color: rgba(20, 11, 6, .72); }
.footer .brand-mark i { background: #140b06 !important; }
.footer .flinks b { color: rgba(20, 11, 6, .55); }
.footer .flinks a { color: #140b06; }
.footer .flinks a:hover { color: #140b06; text-decoration: underline; text-underline-offset: 3px; }
.fbig { position: relative; margin-top: 36px; padding: 4px 0; }
.fbig-word { font-family: var(--pixel); font-size: clamp(64px, 15vw, 248px); line-height: .9; white-space: nowrap; color: #140b06; margin-left: -.03em; letter-spacing: -.02em; user-select: none; }
.stk { position: absolute; z-index: 2; display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; background: #fff; color: #140b06; font-weight: 650; font-size: 14px; box-shadow: 0 10px 24px -12px rgba(20, 11, 6, .55); transition: transform .35s var(--spring); }
.stk.s1 { left: 7%; top: 60%; transform: rotate(-6deg); }
.stk.s2 { left: 41%; top: 8%; transform: rotate(4deg); }
.stk.s3 { right: 9%; top: 58%; transform: rotate(-3deg); }
.stk:hover { transform: rotate(0deg) scale(1.06); }
.fbottom { display: flex !important; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.footer .fbottom .fnote { border-top: 0; padding-top: 0; margin: 0; color: rgba(20, 11, 6, .62); max-width: 64em; }
.respawn { flex: none; font-family: var(--pixel); font-size: 12px; text-transform: uppercase; padding: 9px 14px; border-radius: 10px; background: #140b06; color: var(--accent); transition: transform .25s var(--spring); }
.respawn:hover { transform: translateY(-2px); }

/* playable 404 */
.nf { padding-top: 64px; }
.nf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; align-items: center; }
.nf h1 { font-family: var(--display); font-weight: 750; font-size: clamp(44px, 6vw, 88px); letter-spacing: -.05em; line-height: .95; margin-top: 14px; }
.nf p { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 30em; }
.nf .acts { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.nf-game { aspect-ratio: 440 / 280; border-radius: 18px; overflow: hidden; background: #0D0D10; box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); transform: rotate(1.2deg); }
.nf-game iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
  .promo2.light { border-radius: 22px; padding: 10px; }
  .stk { padding: 7px 12px; font-size: 12.5px; }
  .stk.s1 { top: 64%; } .stk.s3 { top: 62%; right: 4%; }
  .fbottom { flex-direction: column; align-items: flex-start; }
  .nf-grid { grid-template-columns: 1fr; }
  .nf-game { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gcard:hover .media, .gcard:hover .stk-c, .stk:hover, .promo2.light .tile2:hover { transform: none; }
}
.gcard .stk-c { font-size: 12px; padding: 6px 10px 5px; }
.rail-track { padding-inline-start: 12px; margin-inline-start: -12px; scroll-padding-inline-start: 12px; }
@media (max-width: 560px) {
  .fbig-word { font-size: 25vw; white-space: normal; line-height: .88; }
  .stk, .stk.s1, .stk.s2, .stk.s3 { position: relative; left: auto; right: auto; top: auto; margin: 14px 6px 0 0; }
}
@media (max-width: 560px) { .stk.s1 { margin-left: var(--pad); } }


/* v23 — batch 2 learned from 1minus1: scroll-driven showreel, stacked cards */
.reel { position: relative; height: 175vh; margin-top: 8px; }
.reel-stick { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); display: flex; align-items: center; }
.reel-stick .wrap { width: 100%; display: flex; justify-content: center; }
.reel-card { --p: 0; position: relative; display: block; overflow: hidden; isolation: isolate; width: calc(46% + 54% * var(--p)); aspect-ratio: 16 / 9; max-height: calc(100vh - var(--nav-h) - 48px); border-radius: calc(30px - 14px * var(--p)); transform: rotate(calc(-5deg + 5deg * var(--p))); background: var(--panel); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); will-change: width, transform; }
.reel-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 3.2s linear; }
.reel-card img.on { opacity: 1; transform: scale(1); }
.reel-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(6, 6, 8, .72), transparent 45%), linear-gradient(to bottom, rgba(6, 6, 8, .45), transparent 30%); }
.reel-top { position: absolute; z-index: 2; left: 22px; right: 22px; top: 18px; display: flex; justify-content: space-between; align-items: center; color: #fff; }
.reel-top .tag { color: #fff; }
.reel-tc { font-family: var(--pixel); font-size: 12px; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
.reel-cap { position: absolute; z-index: 2; left: 24px; bottom: 20px; right: 24px; display: grid; gap: 4px; color: #fff; }
.reel-cap b { font-family: var(--display); font-weight: 750; font-size: clamp(24px, calc(22px + 2.6vw * var(--p)), 56px); letter-spacing: -.045em; line-height: 1; }
.reel-cap span { font-size: 14px; color: rgba(255, 255, 255, .78); }
.reel-card:hover .reel-cap b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.stack { position: relative; padding-bottom: 12px; }
.scard { position: sticky; top: calc(var(--nav-h) + 22px + var(--k) * 16px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: end; min-height: 320px; padding: 38px 42px; margin-bottom: 26px; border-radius: 28px; overflow: hidden; isolation: isolate; transform: rotate(var(--rot, 0deg)); box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .85); }
.scard::after { content: ''; position: absolute; right: -4px; top: -4px; width: 170px; aspect-ratio: 1; z-index: -1; background: var(--stairs) no-repeat right top / contain; transform: scaleY(-1); opacity: .16; }
.scard.c0 { --rot: -1.2deg; background: var(--cream); color: var(--cream-ink); }
.scard.c1 { --rot: 1deg; background: var(--accent); color: #140b06; }
.scard.c1::after { filter: brightness(0); opacity: .14; }
.scard.c2 { --rot: -.8deg; background: #17171b; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 34px 70px -34px rgba(0, 0, 0, .9); }
.scard.c3 { --rot: .9deg; background: #fbfaf7; color: #121212; }
.scard .n { font-family: var(--pixel); font-size: 13px; opacity: .8; }
.scard h3 { font-family: var(--display); font-weight: 750; font-size: clamp(36px, 4.6vw, 68px); letter-spacing: -.05em; line-height: .94; margin-top: 12px; }
.scard p { font-size: 16.5px; line-height: 1.5; opacity: .82; max-width: 34em; }
.scard .sx { margin-top: 18px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.scard .link { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.scard .cmd { margin: 0; width: 100%; max-width: 560px; background: #121212; color: #f4f4f1; box-shadow: none; }
.scard.c2 .cmd { background: #0b0b0d; box-shadow: inset 0 0 0 1px var(--line-2); }

@media (max-width: 860px) {
  .reel { height: auto; margin-top: 24px; }
  .reel-stick { position: static; height: auto; display: block; }
  .reel-card { width: 100%; transform: none; border-radius: 18px; }
  .scard { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding: 26px 24px; top: calc(var(--nav-h) + 12px + var(--k) * 10px); }
}
@media (prefers-reduced-motion: reduce) {
  .reel { height: auto; }
  .reel-stick { position: static; height: auto; padding: 24px 0; }
  .reel-card { width: 100%; transform: none; }
  .reel-card img { transition: none; }
}


/* v24 — weekly issues */
.wk-head .wk-past { margin-left: 0; color: var(--muted); }
.wk-head .wk-past:hover { color: var(--ink); }
.wkp { padding-top: 26px; }
.wkp-head { max-width: 760px; margin-top: 10px; }
.wkp-head h1 { font-family: var(--display); font-weight: 750; font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -.05em; line-height: .95; margin-top: 14px; }
.wkp-head p { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 40em; }
.wkp-head .acts { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.wkp-list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 44px; }
.wkp-item { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.wkp-item:nth-child(even) .wkp-media { order: 2; }
.wkp-media { display: block; }
.wkp-media .media { aspect-ratio: 16 / 9; border-radius: 18px; transition: transform .45s var(--spring), box-shadow .3s var(--ease); }
.wkp-item:nth-child(odd) .wkp-media:hover .media { transform: rotate(-1deg) translateY(-3px); }
.wkp-item:nth-child(even) .wkp-media:hover .media { transform: rotate(1deg) translateY(-3px); }
.wkp-media .ptitle { position: absolute; z-index: 1; left: 20px; bottom: 16px; right: 20px; font-family: var(--display); font-weight: 750; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; letter-spacing: -.045em; color: rgba(255, 255, 255, .92); }
.wkp-n { font-family: var(--pixel); font-size: 12px; text-transform: uppercase; color: var(--accent-text); }
.wkp-text h2 { font-family: var(--display); font-weight: 720; font-size: clamp(28px, 2.8vw, 42px); letter-spacing: -.045em; line-height: 1; margin-top: 10px; }
.wkp-text h2 a:hover { color: var(--accent-text); }
.wkp-by { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--ink-2); font-weight: 550; }
.wkp-by .cava { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; }
.wkp-by:hover span { color: var(--accent-text); }
.wkp-text p { color: var(--muted); font-size: 16px; margin-top: 14px; max-width: 34em; }
.wkp-acts { display: flex; gap: 16px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.wkp-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line); }
.wkx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.wkx-card { display: block; }
.wkx-art { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--panel); transition: transform .45s var(--spring); }
.wkx-art span { position: relative; overflow: hidden; background: radial-gradient(110% 90% at 15% 0%, var(--c1), transparent 62%), radial-gradient(90% 90% at 100% 100%, var(--c2), transparent 70%), #16130f; }
.wkx-art span:first-child { grid-row: 1 / 3; }
.wkx-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wkx-card:hover .wkx-art { transform: rotate(-1deg) translateY(-3px); }
.wkx-meta { padding-top: 12px; }
.wkx-meta h3 { font-size: 18px; font-weight: 680; letter-spacing: -.02em; margin-top: 6px; }
.wkx-meta p { color: var(--muted); font-size: 14px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 860px) {
  .wkp-item { grid-template-columns: 1fr; gap: 16px; }
  .wkp-item:nth-child(even) .wkp-media { order: 0; }
  .wkx { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .wkp-media:hover .media, .wkx-card:hover .wkx-art { transform: none !important; } }


/* v25 — Chinese interface */
.langbtn { font-weight: 600; }
.menu .langbtn { text-align: left; font-size: 22px; padding: 10px 0; color: var(--ink-2); }
html[lang="zh-CN"] :is(h1, h2, h3, .scard h3, .wkp-head h1, .nf h1) { letter-spacing: -0.015em; }
html[lang="zh-CN"] body { line-height: 1.6; }
html[lang="zh-CN"] .tag, html[lang="zh-CN"] .chip.hot { letter-spacing: .04em; }
.scard-l, .scard-r { min-width: 0; }


/* v26 — favorites, random three, guides */
.fav { width: 28px; height: 28px; border-radius: 8px; display: inline-grid; place-items: center; background: rgba(15, 13, 10, .58); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; transition: transform .25s var(--spring), background .2s var(--ease); }
.fav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fav:hover { transform: scale(1.1); }
.fav.on { background: var(--accent); color: #0b0b0c; }
.fav.on svg { fill: currentColor; }
.card .top > span { align-items: center; }
.wkp-acts .fav { background: var(--panel-2); color: var(--ink); }
.wkp-acts .fav.on { background: var(--accent); color: #0b0b0c; }
.savebtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; margin-right: 6px; }
.savebtn.on { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1px rgba(255, 91, 31, .4); }
.savebtn.on svg { fill: currentColor; }
.rand { margin: 6px 0 28px; }
.rand .sec-head { align-items: center; }


/* v27 — share kit, standards */
.kit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.kit-card { border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 14px; display: grid; gap: 12px; align-content: start; }
.kit-prev { display: grid; place-items: center; min-height: 92px; border-radius: 12px; background: #050506; box-shadow: inset 0 0 0 1px var(--line); }
.kit-prev.light { background: #f3eee4; }
.kit-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.kit-btns { display: flex; gap: 6px; }
.kit-card.post p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.kit-card.post .btn { justify-self: start; }
.std { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.std-item { padding: 22px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.std-item h3 { font-size: 20px; letter-spacing: -.02em; margin-top: 10px; }
.std-item p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.std-picks { margin-top: 40px; padding: 30px; border-radius: 22px; background: var(--cream); color: var(--cream-ink); }
.std-picks h2 { font-size: 26px; letter-spacing: -.03em; }
.std-picks p { margin-top: 10px; max-width: 46em; color: rgba(21, 18, 15, .7); }
.std-picks .acts { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.std-picks .btn:not(.btn-accent) { background: transparent; color: var(--cream-ink); box-shadow: inset 0 0 0 1.5px rgba(21, 18, 15, .22); backdrop-filter: none; }


/* v28 — weekly-pick credit */
.gd-pick { display: grid; gap: 6px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 91, 31, .09); box-shadow: inset 0 0 0 1px rgba(255, 91, 31, .38); color: inherit; text-decoration: none; transition: background .2s, transform .2s; }
.gd-pick:hover { background: rgba(255, 91, 31, .15); transform: translateY(-1px); }
.gd-pick-k { font-family: var(--pixel); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.gd-pick-k::before { content: '★ '; }
.gd-pick b { font-size: 17px; letter-spacing: -.01em; }
.gd-pick-why { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cr-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-bottom: 24px; }
.cr-picks .gd-pick { margin-top: 0; }
.kit { scroll-margin-top: 90px; }
