@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
}
:root {
  --bg: #08080b;
  --panel: #111116;
  --panel-2: #16161c;
  --ink: #f5f3ee;
  --muted: #9b99a5;
  --line: rgba(255, 255, 255, .09);
  --opus: #ff8a3d;
  --sonnet: #4dc9ff;
  --sol: #a2edbd;
  --argon: #c084fc;
  --flash: #38bdf8;
  --grad: linear-gradient(95deg, var(--opus) 0%, #ff5fa2 20%, var(--sonnet) 40%, var(--sol) 60%, var(--argon) 80%, var(--flash) 100%);
  --display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--sonnet); color: #06131a; }
.mono { font-family: var(--mono); }
.m-opus { --mc: var(--opus); }
.m-sonnet { --mc: var(--sonnet); }
.m-sol { --mc: var(--sol); }
.m-argon { --mc: var(--argon); }
.m-flash { --mc: var(--flash); }
:focus-visible { outline: 3px solid var(--sonnet); outline-offset: 3px; }

.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -2%); }
  60% { transform: translate(-2%, -4%); } 80% { transform: translate(4%, 2%); } 100% { transform: translate(0, 0); }
}
.grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 10%, transparent 75%);
}

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.nav.scrolled { background: rgba(8, 8, 11, .74); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.logo { font: 800 22px/1 var(--display); letter-spacing: -.02em; display: flex; align-items: center; gap: 2px; }
.logo i { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); display: inline-block; margin-top: 8px; }
.logo span { margin-left: 10px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 5px 8px; border-radius: 6px; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--muted); padding: 9px 14px; border-radius: 999px; transition: color .2s, background .2s; white-space: nowrap; }
.nav-links a svg { width: 15px; height: 15px; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav-links a.pill { color: var(--ink); border: 1px solid var(--line); }
.nav-links a.pill:hover { border-color: rgba(255, 255, 255, .3); }

/* shared bits */
.eyebrow { font: 500 12.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
h2 { margin: 0; font: 800 clamp(44px, 7.4vw, 116px)/.9 var(--display); letter-spacing: -.015em; font-stretch: 82%; }
.sec-head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head .note, .note { margin: 0; max-width: 36ch; color: var(--muted); font-size: 17px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; white-space: nowrap;
  font: 600 16px/1 var(--body); padding: 16px 22px; border-radius: 999px; border: 0;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--ink); color: #0b0b0f; }
.btn.primary:hover { box-shadow: 0 10px 40px rgba(77, 201, 255, .3); transform: translateY(-2px); }
.btn.ghost { background: rgba(255, 255, 255, .07); color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn.ok, .chip.ok { background: var(--sol); color: #07140d; border-color: var(--sol); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap;
  font: 600 14px/1 var(--body); padding: 11px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--ink);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.chip svg { width: 15px; height: 15px; flex-shrink: 0; }
.chip:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); }
.chip.solid { background: var(--ink); color: #0b0b0f; border-color: var(--ink); }
.chip.solid:hover { background: #fff; }

.share { position: relative; }
.share .menu {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 190px;
  padding: 6px; border-radius: 16px; background: #1a1a21; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.share .menu[hidden] { display: none; }
.share .menu a, .share .menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; background: none; border: 0; cursor: pointer; text-align: left;
}
.share .menu a:hover, .share .menu button:hover { background: rgba(255, 255, 255, .08); }
.share .menu svg { width: 16px; height: 16px; }
.share .menu button.ok { background: rgba(162, 237, 189, .16); color: var(--sol); }

/* hero */
.hero { position: relative; isolation: isolate; padding: 128px var(--gutter) clamp(56px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -20vw; top: -30vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 201, 255, .16), transparent 62%); pointer-events: none;
}
.hero-inner { max-width: var(--max); margin: 0 auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.kicker .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } }
h1 { margin: 0; font: 800 clamp(58px, 9vw, 150px)/.86 var(--display); letter-spacing: -.015em; font-stretch: 78%; }
.grad {
  background: var(--grad); background-size: 160% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s ease-in-out infinite alternate; padding-bottom: .06em;
}
@keyframes sheen { to { background-position: 100% 0; } }
.hero-top { display: grid; grid-template-columns: auto minmax(300px, 460px); gap: clamp(28px, 4vw, 72px); align-items: end; justify-content: space-between; }
.hero-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.lede { margin: 0; max-width: 44ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: #cfccd6; }
.lede b { color: var(--ink); font-weight: 600; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.trip { margin-top: clamp(44px, 6vw, 80px); }
.trip-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.trip-head p { margin: 0; font-size: 14px; letter-spacing: .04em; color: var(--muted); }
.trip-head p b { color: var(--ink); font-weight: 600; margin-right: 8px; }
.frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.frame { margin: 0; }
.screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: clamp(10px, 1.2vw, 18px); overflow: hidden;
  background: var(--panel); border: 1px solid color-mix(in srgb, var(--mc) 35%, transparent);
  box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--mc) 40%, transparent);
}
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.screen img.on { opacity: 1; }
a.screen { display: block; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
a.screen .play {
  position: absolute; right: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; padding: 7px 11px; border-radius: 999px; background: var(--mc); color: #0b0b0f;
  opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease;
}
a.screen .play svg { width: 13px; height: 13px; }
a.screen:hover, a.screen:focus-visible { border-color: var(--mc); box-shadow: 0 30px 80px -24px color-mix(in srgb, var(--mc) 70%, transparent); transform: translateY(-3px); }
a.screen:hover .play, a.screen:focus-visible .play { opacity: 1; transform: none; }
a.screen.soon { border-style: dashed; border-color: color-mix(in srgb, var(--mc) 28%, transparent); box-shadow: none; pointer-events: none; cursor: default; }
a.screen.soon img, a.screen.soon .play { opacity: 0 !important; }
a.screen.soon::after {
  content: "Building"; position: absolute; inset: 0; display: grid; place-items: center;
  font: 600 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .02) 0 10px, transparent 10px 20px), var(--panel);
}
.frame figcaption { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; font-size: 15px; }
.frame figcaption i, .tag i, .legend i, .build-name i { width: 9px; height: 9px; border-radius: 50%; background: var(--mc); flex-shrink: 0; }
.frame figcaption small { font: 400 12.5px/1 var(--mono); color: var(--muted); margin-left: 4px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.tabs button {
  font: 500 13px/1 var(--mono); padding: 9px 11px; border-radius: 8px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}
.tabs button:hover { color: var(--ink); border-color: rgba(255, 255, 255, .25); }
.tabs button[aria-selected="true"] { color: #0b0b0f; background: var(--ink); border-color: var(--ink); }

/* rules */
.rules, main.games, .stats, .kids-move, .outro { position: relative; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.rules { padding-block: clamp(56px, 8vw, 120px) 0; }
.rule-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: r; }
.rule-list li { border-top: 1px solid var(--line); padding-top: 22px; }
.rule-list .mono { font-size: 13px; color: var(--sonnet); letter-spacing: .08em; }
.rule-list li:nth-child(1) .mono { color: var(--opus); } .rule-list li:nth-child(3) .mono { color: var(--sol); } .rule-list li:nth-child(4) .mono { color: #ff5fa2; }
.rule-list h3 { margin: 14px 0 10px; font: 800 clamp(26px, 2.4vw, 34px)/1 var(--display); font-stretch: 85%; letter-spacing: -.01em; }
.rule-list p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 34ch; }
.contestants { margin-top: clamp(40px, 6vw, 72px); padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.contestants .eyebrow { margin-bottom: 16px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; }
.legend span {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px;
  background: color-mix(in srgb, var(--mc) 9%, transparent); border: 1px solid color-mix(in srgb, var(--mc) 32%, transparent);
  font: 700 clamp(17px, 1.7vw, 21px)/1 var(--display); font-stretch: 90%;
}
.legend small { font: 400 12.5px/1 var(--mono); color: var(--muted); letter-spacing: .02em; }
.fine { margin: 18px 0 0; color: var(--muted); font-size: 14.5px; max-width: 80ch; }

/* experiments */
main.games { padding-block: clamp(72px, 10vw, 140px) 0; }
.exps { border-bottom: 1px solid var(--line); }
.exp {
  display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(20px, 3vw, 44px);
  padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--line); align-items: start;
}
.exp-id { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 0 0 14px; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.exp-id b { color: var(--c); font-weight: 600; }
.exp-id span { text-transform: uppercase; }
.exp h3 { margin: 0; font: 800 clamp(32px, 3.2vw, 48px)/.95 var(--display); letter-spacing: -.012em; font-stretch: 82%; }
.exp h3 a:hover { color: var(--c); }
.exp .pitch { margin: 12px 0 0; color: #d3d0da; font-size: 16px; line-height: 1.5; }
.exp .meta { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; letter-spacing: .02em; }
.exp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.exp-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 14px); }
.tile {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; isolation: isolate;
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .3s ease, box-shadow .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(8, 8, 11, .82)); }
.tile .tag {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; padding: 6px 10px 6px 8px; border-radius: 999px;
  background: rgba(8, 8, 11, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .12);
}
.tile .play {
  position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; padding: 7px 11px; border-radius: 999px; background: var(--mc); color: #0b0b0f;
  opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease;
}
.tile .play svg { width: 13px; height: 13px; }
.tile:not(.soon):hover, .tile:not(.soon):focus-visible { border-color: var(--mc); box-shadow: 0 22px 60px -24px color-mix(in srgb, var(--mc) 70%, transparent); transform: translateY(-3px); }
.tile:not(.soon):hover img { transform: scale(1.05); }
.tile:not(.soon):hover .play, .tile:not(.soon):focus-visible .play { opacity: 1; transform: none; }
.tile.soon {
  border-style: dashed; border-color: color-mix(in srgb, var(--mc) 26%, transparent);
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .02) 0 10px, transparent 10px 20px), var(--panel);
  display: grid; place-items: center;
}
.tile.soon::after { display: none; }
.tile.soon .soon-badge {
  font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  padding: 5px 9px; border-radius: 999px; border: 1px dashed var(--line); background: rgba(8, 8, 11, .65);
}

/* stats */
.stats { padding-block: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { border-top: 1px solid var(--line); padding-top: 22px; }
.stat b { display: block; font: 800 clamp(60px, 7vw, 112px)/.9 var(--display); letter-spacing: -.02em; font-stretch: 82%; }
.stat:nth-child(1) b { color: var(--opus); } .stat:nth-child(2) b { color: #ff5fa2; } .stat:nth-child(3) b { color: var(--sonnet); } .stat:nth-child(4) b { color: var(--sol); }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 24ch; }

/* kids moved */
.kids-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(26px, 4vw, 48px); border-radius: 28px; color: #2a2140; position: relative; overflow: hidden; isolation: isolate;
  background: #fff7ea;
}
.kids-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at 5% 0%, rgba(255, 196, 92, .6), transparent 60%), radial-gradient(420px circle at 95% 100%, rgba(120, 200, 255, .5), transparent 60%);
}
.kids-card .eyebrow { color: #6b6280; margin-bottom: 12px; }
.kids-big { margin: 0; font: 800 clamp(34px, 5vw, 68px)/.95 var(--display); font-stretch: 85%; letter-spacing: -.01em; }
.kids-sub { margin: 12px 0 0; color: #5a5170; font-size: 16px; }
.kids-card .go { background: #2a2140; color: #fff7ea; }

/* outro */
.outro { padding-block: clamp(56px, 7vw, 90px) 36px; }
.say {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 60px); border-radius: 28px; position: relative; overflow: hidden; isolation: isolate;
  background: var(--panel); border: 1px solid var(--line);
}
.say::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: .12; transition: opacity .4s ease; }
.say:hover::before { opacity: .24; }
.say .big { font: 800 clamp(52px, 9vw, 150px)/.88 var(--display); letter-spacing: -.012em; font-stretch: 80%; }
.say .big em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.go { display: grid; place-items: center; width: clamp(64px, 8vw, 110px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: #0b0b0f; transition: transform .4s cubic-bezier(.2, .8, .2, 1); flex-shrink: 0; }
.go svg { width: 40%; height: 40%; }
.say:hover .go, .kids-card:hover .go { transform: rotate(-45deg) scale(1.06); }
.legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: 14px; }
.legal a { color: var(--ink); }

/* game page */
.g-main { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); overflow-x: clip; }
.g-head { position: relative; isolation: isolate; padding: 132px 0 clamp(36px, 5vw, 56px); }
.g-head .grid-bg { left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); }
.g-head::before {
  content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; right: -20vw; top: -28vw; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 62%); pointer-events: none;
}
.g-head .exp-id { font-size: 14px; margin-bottom: 22px; }
.g-head h1 { font-size: clamp(54px, 9.6vw, 160px); }
.g-head .lede { margin-top: clamp(20px, 3vw, 30px); max-width: 40ch; }
.g-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 16px; }
.g-row .menu { left: auto; right: 0; }
.g-sub { margin: 0; color: var(--muted); font-size: 16px; }
.g-sub b { color: var(--ink); font-weight: 600; }
.builds { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 18px); }
.build {
  position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .3s ease, box-shadow .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.build::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--mc); z-index: 2; }
.build:not(.soon):hover { border-color: color-mix(in srgb, var(--mc) 60%, transparent); box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--mc) 55%, transparent); transform: translateY(-3px); }
.build-shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.build-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.build:not(.soon):hover .build-shot img { transform: scale(1.04); }
.build.soon { border-style: dashed; border-color: color-mix(in srgb, var(--mc) 28%, transparent); }
.build-shot.soon-shot {
  display: grid; place-items: center;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .02) 0 10px, transparent 10px 20px), var(--panel-2);
  font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.shared-tag { display: none; position: absolute; top: 14px; left: 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 8px; background: var(--mc); color: #0b0b0f; font-weight: 600; }
.build.picked { border-color: var(--mc); box-shadow: 0 0 0 1px var(--mc), 0 30px 80px -30px color-mix(in srgb, var(--mc) 65%, transparent); }
.build.picked .shared-tag { display: block; }
.build-body { display: flex; flex-direction: column; flex: 1; padding: clamp(18px, 2vw, 24px); }
.build-name { display: flex; align-items: center; gap: 10px; margin: 0; font: 800 clamp(22px, 2vw, 28px)/1 var(--display); font-stretch: 88%; }
.build-name i { width: 11px; height: 11px; }
.build-effort { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.build-play { margin-top: 20px; align-self: flex-start; background: var(--mc); color: #0b0b0f; }
.build-play:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -10px var(--mc); }
.build-play[aria-disabled="true"] { background: rgba(255, 255, 255, .05); color: var(--muted); border: 1px dashed var(--line); cursor: default; pointer-events: none; box-shadow: none; transform: none; }

.share-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  margin-top: clamp(20px, 3vw, 32px); padding: clamp(20px, 3vw, 30px); border-radius: 22px;
  background: var(--panel); border: 1px solid var(--line);
}
.share-bar .eyebrow { margin-bottom: 10px; }
.share-url { margin: 0; font-size: clamp(16px, 1.8vw, 21px); color: var(--ink); overflow-wrap: anywhere; }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.share-actions [hidden] { display: none; }

.brief-wrap { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.7fr); gap: clamp(28px, 5vw, 80px); padding-top: clamp(64px, 9vw, 120px); align-items: start; }
.brief-side { position: sticky; top: 96px; }
.brief-side h2 { font-size: clamp(40px, 5vw, 76px); }
.brief-side .note { margin-top: 18px; }
.facts { margin: 26px 0 0; display: grid; gap: 0; font-size: 13px; }
.facts div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 0; color: var(--ink); }
.brief { position: relative; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); padding: clamp(22px, 3.4vw, 48px); }
.brief-inner { color: #d6d3dc; font-size: 16.5px; line-height: 1.7; max-width: 70ch; }
.brief-inner p { margin: 0 0 1.1em; }
.brief-inner h3 { margin: 1.8em 0 .7em; font: 600 12.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.brief-inner > :first-child { margin-top: 0; }
.brief-more { display: none; }
.js .brief-more { display: inline-flex; margin-top: 18px; }
.js .brief.folded .brief-inner { max-height: 520px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.js .brief.folded .brief-more { margin-top: 4px; }
.brief-more[aria-expanded="true"] svg { transform: rotate(180deg); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(56px, 8vw, 110px); }
.pager a { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 3vw, 30px); border-radius: 22px; border: 1px solid var(--line); transition: background .25s ease, border-color .25s ease; }
.pager a:hover { background: var(--panel); border-color: rgba(255, 255, 255, .2); }
.pager .next { text-align: right; align-items: flex-end; }
.pager .mono { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; letter-spacing: .06em; }
.pager .mono svg { width: 15px; height: 15px; }
.pager b { font: 800 clamp(24px, 3vw, 44px)/1 var(--display); font-stretch: 84%; letter-spacing: -.01em; }

/* motion */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .rise { opacity: 0; transform: translateY(40px); animation: rise 1s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-foot { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
  .rule-list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .exp { grid-template-columns: 1fr; }
  .builds { grid-template-columns: 1fr 1fr; }
  .brief-wrap { grid-template-columns: 1fr; }
  .brief-side { position: static; }
}
@media (max-width: 760px) {
  .frames, .exp-shots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .builds { grid-template-columns: 1fr; gap: 10px; }
  .build { display: grid; grid-template-columns: 40% minmax(0, 1fr); border-radius: 16px; }
  .build::before { top: 0; bottom: 0; right: auto; width: 3px; height: auto; }
  .build-shot { aspect-ratio: auto; height: 100%; min-height: 118px; }
  .build-body { padding: 14px; }
  .build-name { font-size: 20px; gap: 8px; }
  .build-name i { width: 9px; height: 9px; }
  .build-effort { font-size: 11px; margin-top: 6px; }
  .build-play { margin-top: 12px; padding: 11px 14px; font-size: 14px; }
  .shared-tag { top: 8px; left: 10px; font-size: 10px; padding: 5px 7px; }
}
@media (max-width: 640px) {
  .nav-links a:not(.pill) { display: none; }
  .logo span { display: none; }
  .hero { padding-top: 104px; }
  .g-head { padding-top: 108px; }
  .frame figcaption { font-size: 12.5px; gap: 6px; margin-top: 8px; }
  .frame figcaption small { display: none; }
  .tile { border-radius: 10px; }
  .tile .tag { left: 6px; bottom: 6px; font-size: 11px; padding: 4px 7px 4px 6px; gap: 5px; }
  .tile .tag i { width: 7px; height: 7px; }
  .tile .play, a.screen .play { display: none; }
  .rule-list { grid-template-columns: 1fr; row-gap: 28px; }
  .stats { gap: 16px; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; align-items: flex-start; }
  .btn { padding: 15px 19px; }
}
@media (max-width: 360px) {
  .build-play .long { display: none; }
  .build-name { font-size: 18px; }
  .build-body { padding: 12px; }
  .tile .tag { font-size: 10px; }
  .kicker { font-size: 11.5px; }
}
@media (hover: none) { .tile:hover, .build:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .rise { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* live bits */
.nav-links a.lb { color: var(--ink); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: ping 2s ease-out infinite; flex-shrink: 0; }
.nav-links a.lb b { font: 600 11.5px/1 var(--mono); padding: 4px 7px; border-radius: 999px; background: rgba(61, 220, 132, .16); color: #6ff0a6; }
.nav-links a.lb b[hidden] { display: none; }

/* game page: played, stats, vote */
.played-tag { display: none; position: absolute; right: 14px; top: 14px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 8px; background: rgba(8, 8, 11, .78); color: var(--mc); border: 1px solid color-mix(in srgb, var(--mc) 50%, transparent); font-weight: 600; }
.build.played .played-tag { display: block; }
.build-stats { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.build-stats b { color: #6ff0a6; font-weight: 600; }
.build-stats[hidden] { display: none; }
.vote { margin-top: clamp(20px, 3vw, 32px); padding: clamp(22px, 3.4vw, 40px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px 40px; align-items: center; }
.vote-head h2 { font-size: clamp(32px, 4vw, 56px); }
.vote-note { margin: 14px 0 0; color: var(--muted); font-size: 15.5px; max-width: 40ch; }
.vote-opts { display: grid; gap: 10px; }
.vote-opt {
  position: relative; display: grid; grid-template-columns: minmax(110px, auto) 1fr 48px; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 16px; cursor: pointer; text-align: left;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--ink);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.vote-opt:not([disabled]):hover { border-color: var(--mc); background: color-mix(in srgb, var(--mc) 8%, transparent); transform: translateY(-1px); }
.vote-opt[disabled] { cursor: not-allowed; opacity: .45; }
.vo-name { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); font-stretch: 90%; }
.vo-name i { width: 10px; height: 10px; border-radius: 50%; background: var(--mc); }
.vo-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; visibility: hidden; }
.vo-bar b { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--mc); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.vo-pct { text-align: right; font-size: 14px; color: var(--muted); }
.vote.voted .vo-bar { visibility: visible; }
.vote-opt.mine { border-color: var(--mc); background: color-mix(in srgb, var(--mc) 12%, transparent); }
.vote-opt.mine .vo-pct { color: var(--ink); }
.vote-opt.mine::after { content: "Your pick"; position: absolute; top: -9px; right: 14px; font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; background: var(--mc); color: #0b0b0f; }

/* leaderboard */
.lb-head h1 { font-size: clamp(56px, 10vw, 168px); }
.lb-live { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(20px, 3vw, 30px); padding: 14px 22px 14px 18px; border-radius: 999px; background: rgba(61, 220, 132, .08); border: 1px solid rgba(61, 220, 132, .3); }
.lb-live b { font: 800 clamp(34px, 4vw, 52px)/1 var(--display); font-stretch: 85%; color: #6ff0a6; }
.lb-live span:last-child { color: #cfccd6; font-size: 17px; }
.big-dot { width: 14px; height: 14px; border-radius: 50%; background: #3ddc84; animation: ping 2s ease-out infinite; }
.lb-head .lede { margin-top: 18px; }
.lb-sec { padding-top: clamp(56px, 8vw, 110px); }
.podium { display: flex; gap: clamp(12px, 1.6vw, 20px); }
.pod { flex: 1; min-width: 0; position: relative; padding: clamp(20px, 2.4vw, 30px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.pod::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--mc); }
.pod.top { border-color: color-mix(in srgb, var(--mc) 55%, transparent); box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--mc) 55%, transparent); flex: 1.15; }
.pod-rank { margin: 0; font-size: 14px; color: var(--muted); letter-spacing: .06em; }
.pod-rank b { color: var(--mc); font-size: 18px; }
.pod h3 { display: flex; align-items: center; gap: 10px; margin: 14px 0 6px; font: 800 clamp(24px, 2.4vw, 34px)/1 var(--display); font-stretch: 86%; }
.pod h3 i { width: 11px; height: 11px; border-radius: 50%; background: var(--mc); flex-shrink: 0; }
.pod-effort { margin: 0; font-size: 12.5px; color: var(--muted); }
.pod-share { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 10px; }
.pod-share b { font: 800 clamp(52px, 6vw, 88px)/.9 var(--display); font-stretch: 80%; color: var(--mc); }
.pod-share span { color: var(--muted); font-size: 14px; }
.pod-bar { display: block; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.pod-bar b { display: block; height: 100%; width: 0; background: var(--mc); border-radius: inherit; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.pod-stats { margin: 22px 0 0; display: grid; font-size: 13px; }
.pod-stats div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.pod-stats dt { color: var(--muted); }
.pod-stats dd { margin: 0; color: var(--ink); }

.lb-table { display: grid; gap: 8px; }
.lb-row { display: grid; grid-template-columns: minmax(180px, 1.1fr) repeat(4, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.lb-game { display: flex; align-items: center; gap: 12px; padding: 14px 4px; font: 800 clamp(19px, 1.7vw, 24px)/1.05 var(--display); font-stretch: 86%; }
.lb-game .mono { font: 500 12.5px/1 var(--mono); color: var(--muted); }
.lb-game a:hover { color: var(--sonnet); }
.lb-cell { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.lb-cell.soon { border-style: dashed; border-color: color-mix(in srgb, var(--mc) 26%, transparent); opacity: .7; }
.lb-m { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.lb-m i { width: 8px; height: 8px; border-radius: 50%; background: var(--mc); }
.lb-votes { font: 800 22px/1 var(--display); font-stretch: 86%; color: var(--muted); grid-row: span 2; }
.lb-sub { font-size: 11.5px; color: var(--muted); }
.lb-cell.lead { border-color: color-mix(in srgb, var(--mc) 55%, transparent); background: color-mix(in srgb, var(--mc) 8%, var(--panel)); }
.lb-cell.lead .lb-votes { color: var(--mc); }
.lb-cell.live::after { content: ""; position: absolute; top: 10px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; animation: ping 2s ease-out infinite; }
.lb-cell.live .lb-votes { margin-right: 10px; }

.hs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.hs { padding: clamp(18px, 2.2vw, 26px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line); transition: border-color .6s ease; }
.hs.flash { border-color: var(--c); }
.hs-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.hs h3 { margin: 0; font: 800 clamp(24px, 2.2vw, 30px)/1 var(--display); font-stretch: 86%; }
.hs h3 a:hover { color: var(--c); }
.hs-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.hs-tabs button { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; padding: 8px 11px; border-radius: 999px; font: 600 13px/1 var(--body); background: transparent; border: 1px solid var(--line); color: var(--muted); }
.hs-tabs button i { width: 7px; height: 7px; border-radius: 50%; background: var(--mc); }
.hs-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--mc); background: color-mix(in srgb, var(--mc) 10%, transparent); }
.hs-panel { margin-top: 16px; }
.hs-panel[hidden] { display: none; }
.hs-label { margin: 0 0 10px; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.hs-pick { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hs-pick span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hs-pick select { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 10px; background: #0b0b0f; color: var(--ink); border: 1px solid var(--line); font: 500 14px/1.2 var(--body); }
.hs-list { list-style: none; margin: 0 0 16px; padding: 0; }
.hs-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 2px; border-top: 1px solid var(--line); font-size: 15px; }
.hs-list li small { grid-column: 2 / -1; color: var(--muted); font-size: 11.5px; }
.hs-list .pos { font-size: 12.5px; color: var(--muted); }
.hs-list li:first-child .pos { color: var(--c); }
.hs-list .nick { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.hs-list b { font: 700 16px/1 var(--mono); white-space: nowrap; }
.hs-list li.empty { display: block; color: var(--muted); padding: 16px 2px; }
.recent { margin-top: 28px; padding: clamp(18px, 2.2vw, 26px); border-radius: 22px; border: 1px dashed var(--line); }
.recent[hidden] { display: none; }
.recent ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.recent b, .recent strong, .recent span { color: var(--ink); }
.recent small { margin-left: 6px; font-size: 11.5px; }
.lb-fine { margin: clamp(48px, 6vw, 80px) 0 0; }

@media (max-width: 1100px) {
  .vote { grid-template-columns: 1fr; }
  .podium { flex-direction: column; }
  .lb-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-game { grid-column: 1 / -1; padding: 10px 2px 0; }
}
@media (max-width: 640px) {
  .nav-links a.lb { display: inline-flex; padding: 9px 10px; }
  .nav-links a.pill { display: none; }
  .vote-opt { grid-template-columns: auto 1fr 40px; padding: 14px; gap: 10px; }
  .vo-name { font-size: 17px; }
  .lb-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .lb-game { font-size: 18px; }
  .lb-cell { grid-template-columns: 1fr; gap: 6px; padding: 10px; border-radius: 12px; }
  .lb-m { font-size: 12px; gap: 6px; white-space: nowrap; }
  .lb-votes { grid-row: auto; font-size: 20px; }
  .lb-sub { font-size: 10.5px; }
  .lb-live span:last-child { font-size: 15px; }
}
