/* Fonts are served from this site (fonts/), not from a third party. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(fonts/archivo-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(fonts/archivo-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Martian Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/martian-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Wire Transcript: the site is a handshake record. Two lifelines run down every page,
   cobalt for the player's agent and amber for the platform's agent. */
:root {
  --paper: #f2f4f8;
  --sheet: #ffffff;
  --ink: #101a33;
  --ink-soft: #46516d;
  --line: #cfd6e4;
  --player: #2747f5;
  --player-deep: #1a33c4;
  --on-player: #e3e8ff;
  --house: #e39a1b;
  --house-ink: #7a4a00;
  --proof: #0b7f63;
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
  --gutter: 44px;
  --rail: 14px;
  --r: 3px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--ink) var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  caret-color: var(--player);
}
::selection { background: var(--player); color: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--player-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: var(--r); }
.hero a:focus-visible, .page-hero a:focus-visible, .aud.p a:focus-visible, .foot a:focus-visible { outline-color: #fff; }
body[data-page="operators"] .page-hero a:focus-visible { outline-color: var(--ink); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-stretch: 116%; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 5.6rem); line-height: 0.96; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.9rem); line-height: 1.04; letter-spacing: -0.028em; }
h3 { font-size: 1.22rem; line-height: 1.3; font-weight: 700; font-stretch: 108%; letter-spacing: -0.01em; }
html[data-lang="zh"] h1, html[data-lang="zh"] h2 { letter-spacing: 0; line-height: 1.2; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.muted { color: var(--ink-soft); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* the two lifelines */
main { position: relative; }
main::before, main::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 0; z-index: 0;
  border-left: 2px dashed var(--player);
  left: calc(50% - min(50%, var(--wrap) / 2) + var(--rail));
}
main::after { border-left-color: var(--house); left: auto; right: calc(50% - min(50%, var(--wrap) / 2) + var(--rail)); }

.band { padding: 104px 0; }
.band-head { max-width: 44em; margin-bottom: 48px; position: relative; }
.band-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.08rem; }
/* each section hangs off the player's lifeline */
.band-head h2::before, .game h2::before, .split h2::before {
  content: ""; position: absolute; width: 12px; height: 12px; background: var(--player);
  left: calc(var(--rail) - var(--gutter) - 5px); margin-top: 0.42em;
}
.game > div:last-child, .split > div:first-child { position: relative; }
.game h2::before { left: calc(var(--rail) - var(--gutter) - 5px - 300px - 56px); }

/* the platform's page hangs its sections on the platform's lifeline */
body[data-page="operators"] .wrap { position: relative; }
body[data-page="operators"] .band-head, body[data-page="operators"] .split > div:first-child { position: static; }
body[data-page="operators"] .band-head h2::before, body[data-page="operators"] .split h2::before { left: auto; right: calc(var(--rail) - 5px); background: var(--house); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 2px solid var(--ink); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { font-weight: 800; font-stretch: 116%; font-size: 1.16rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 20px; height: 22px; flex: none; position: relative; background: linear-gradient(var(--player), var(--player)) left / 4px 100% no-repeat, linear-gradient(var(--house), var(--house)) right / 4px 100% no-repeat; }
.brand-mark::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 4px; background: var(--ink); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { white-space: nowrap; color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--line); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--player); font-weight: 700; }
.lang { font: inherit; font-size: 0.9rem; background: none; border: 2px solid var(--ink); border-radius: var(--r); padding: 4px 12px; color: var(--ink); cursor: pointer; }

/* buttons */
.btn { display: inline-block; font-weight: 700; text-decoration: none; padding: 14px 24px; border-radius: var(--r); border: 2px solid var(--ink); color: var(--ink); background: transparent; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--player); border-color: var(--player); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* hero: the player's field */
.hero, .page-hero { position: relative; z-index: 1; background: var(--player); color: #fff; }
.hero { padding: 30px 0 60px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); font-stretch: 110%; max-width: none; }
.hero-grid { display: block; }
.hero-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 24px 56px; align-items: end; margin-top: 22px; }
.hero .lede { max-width: 44em; font-size: 1.1rem; }
.hero .lede, .page-hero .lede { color: var(--on-player); }
.hero .actions { margin-top: 0; }
.hero .btn, .page-hero .btn { border-color: #fff; color: #fff; }
.hero .btn:hover, .page-hero .btn:hover { background: #fff; color: var(--player-deep); }
.hero .btn-solid, .page-hero .btn-solid { background: #fff; color: var(--player-deep); }
.hero .btn-solid:hover, .page-hero .btn-solid:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-hero { padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); max-width: 15em; }
.page-hero .lede { margin-top: 22px; }
.page-hero a:not(.btn) { color: #fff; }
/* the platform's page opens on the platform's colour */
body[data-page="operators"] .page-hero { background: var(--house); color: var(--ink); }
body[data-page="operators"] .page-hero .lede { color: #3a2a08; }
body[data-page="operators"] .page-hero .btn-solid { background: var(--ink); border-color: var(--ink); color: #fff; }
body[data-page="operators"] .page-hero .btn-solid:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* the handshake, drawn as a sequence diagram */
.shake { margin-top: 24px; }
.shake-top { display: flex; justify-content: space-between; }
.shake-top span { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; padding: 9px 14px; border-radius: var(--r); min-width: 46px; }
.shake-top .p { background: #fff; color: var(--player-deep); }
.shake-top .h { background: var(--house); color: var(--ink); }
.shake ol { list-style: none; margin: 0; padding: 14px 0 0; position: relative; }
.shake ol::before, .shake ol::after { content: ""; position: absolute; top: 0; bottom: 0; left: 22px; border-left: 2px dashed rgba(255, 255, 255, 0.6); }
.shake ol::after { left: auto; right: 22px; border-left-color: var(--house); }
.msg { position: relative; padding: 9px 52px 17px; color: #fff; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; }
.msg.h { flex-direction: row-reverse; }
.msg.h { text-align: right; color: #ffd88a; }
.msg::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 7px; height: 2px; background: currentColor; transform-origin: left; }
.msg.h::after { transform-origin: right; }
.msg::before { content: ""; position: absolute; bottom: 1px; right: 18px; border: 7px solid transparent; border-left-color: currentColor; }
.msg.h::before { right: auto; left: 18px; border-left-color: transparent; border-right-color: currentColor; }
.msg code { font-family: var(--mono); font-size: 0.86rem; font-weight: 600; display: block; overflow-wrap: anywhere; }
.msg span { display: block; font-size: 0.98rem; color: var(--on-player); }
.msg code svg { width: 0.95em; height: 0.95em; vertical-align: -0.1em; margin-left: 0.35em; }
.msg.ok { background: #fff; color: var(--proof); border-radius: var(--r); margin: 10px 24px 0; padding: 14px 22px; }
.msg.ok::before, .msg.ok::after { display: none; }
.msg.ok code { font-size: 1rem; }
.msg.ok span { color: var(--ink); }
.shake-note { margin: 14px 24px 0; font-size: 0.84rem; color: var(--on-player); }
.msg:nth-child(1) { --i: 0; } .msg:nth-child(2) { --i: 1; } .msg:nth-child(3) { --i: 2; } .msg:nth-child(4) { --i: 3; }
.msg:nth-child(5) { --i: 4; } .msg:nth-child(6) { --i: 5; } .msg:nth-child(7) { --i: 6; } .msg:nth-child(8) { --i: 7; }
/* the one authored moment: the arrows draw themselves once, in order. The words never hide. */
@media (prefers-reduced-motion: no-preference) {
  .msg::after { animation: msg-draw 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(var(--i) * 0.38s + 0.3s); }
  .msg::before { animation: msg-in 0.2s ease both; animation-delay: calc(var(--i) * 0.38s + 0.8s); }
}
@keyframes msg-in { from { opacity: 0; } }
@keyframes msg-draw { from { transform: scaleX(0); } }

/* three agents: three participants */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.trio > div { border-top: 2px solid var(--ink); padding-top: 0; }
.trio h3 { display: inline-block; padding: 10px 14px; border-radius: 0 0 var(--r) var(--r); color: #fff; background: var(--ink); }
.trio .p h3 { background: var(--player); }
.trio .g h3 { background: var(--proof); }
.trio .h h3 { background: var(--house); color: var(--ink); }
.trio p { color: var(--ink-soft); margin-top: 18px; }
.trio ul { margin: 14px 0 0; padding-left: 1.1em; display: grid; gap: 6px; }
.trio .st { margin-top: 18px; }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); border-radius: var(--r); background: var(--sheet); position: relative; z-index: 1; }
.compare > div { padding: 36px; }
.compare > div + div { background: var(--ink); color: #fff; }
.compare h3 { margin-bottom: 18px; }
.compare ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.compare .them li { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: #98a2ba; }
.compare .us li { padding-left: 24px; position: relative; font-weight: 500; }
.compare .us li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 11px; height: 11px; background: var(--house); }

/* loop: a real sequence, so it is numbered */
ol.loop { margin: 0; padding: 0; }
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; counter-reset: step; }
.loop li { list-style: none; padding: 20px 0 0; counter-increment: step; border-top: 2px solid var(--ink); position: relative; }
.loop li::before { content: counter(step); font-family: var(--mono); font-size: 0.8rem; font-weight: 600; color: var(--player-deep); }
.loop li:not(:last-child)::after { content: ""; position: absolute; top: -8px; right: -20px; border: 7px solid transparent; border-left-color: var(--ink); }
.loop h3 { margin: 10px 0 8px; }
.loop p { color: var(--ink-soft); font-size: 0.98rem; }

/* product lines */
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.line { border-top: 2px solid var(--ink); padding-top: 22px; }
.line > p { color: var(--ink-soft); margin-top: 8px; }
.line-list { list-style: none; margin: 22px 0 0; padding: 0; }
.line-list li { display: grid; gap: 2px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 0.98rem; }
.line-list strong { font-weight: 700; }
.line-list span { color: var(--ink-soft); }
.line a.more { display: inline-block; margin-top: 18px; font-weight: 700; }

/* tables: ruled, no boxes */
table.levels, table.caps { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.levels { font-size: 1rem; border-top: 2px solid var(--ink); }
table.levels th, table.levels td { text-align: left; padding: 18px 24px 18px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
table.levels thead th, table.caps th { font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
table.levels thead th { padding: 12px 24px 12px 0; }
table.levels tbody th { font-weight: 800; font-stretch: 108%; font-size: 1.1rem; white-space: nowrap; }
table.levels td { color: var(--ink-soft); }
table.caps { font-size: 0.98rem; border-top: 2px solid var(--ink); }
table.caps th { text-align: left; padding: 12px 0; }
table.caps td { padding: 14px 14px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
table.caps td > span { font-weight: 600; }
table.caps td:last-child { padding-right: 0; text-align: right; }
table.caps td small { display: block; color: var(--ink-soft); font-size: 0.9rem; margin-top: 3px; }

/* partners */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 48px; }
.partner { border-top: 2px solid var(--ink); padding-top: 22px; }
.partner h3 { font-size: 1.45rem; }
.partner dl { margin: 18px 0 0; display: grid; gap: 14px; }
.partner dt { font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.partner dd { margin: 4px 0 0; }

/* audiences: each side on its own colour */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: relative; z-index: 1; }
.aud { padding: 44px; }
.aud.p { background: var(--player); color: #fff; border-radius: var(--r) 0 0 var(--r); }
.aud.h { background: var(--house); color: var(--ink); border-radius: 0 var(--r) var(--r) 0; }
.aud h3 { font-size: 1.7rem; font-weight: 800; font-stretch: 116%; letter-spacing: -0.02em; }
.aud ul { margin: 18px 0 0; padding-left: 1.1em; display: grid; gap: 9px; }
.aud .btn { margin-top: 28px; }
.aud.p .btn { border-color: #fff; color: #fff; }
.aud.p .btn:hover { background: #fff; color: var(--player-deep); }

/* status: lit, half-lit, unlit */
.st { display: inline-block; font-family: var(--mono); font-size: 0.7rem; font-weight: 600; padding: 4px 9px; border-radius: var(--r); white-space: nowrap; border: 1.5px solid transparent; }
.st.built { background: var(--proof); color: #fff; }
.st.closed { border-color: var(--house-ink); color: var(--house-ink); }
.st.plan { border: 1.5px dashed #7a849c; color: var(--ink-soft); }
.legend { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 0.95rem; color: var(--on-player); margin-top: 26px; }
.legend span { display: inline-flex; gap: 9px; align-items: center; }
.page-hero .st.built { background: #fff; color: var(--proof); }
.page-hero .st.closed { border-color: #ffd88a; color: #ffd88a; }
.page-hero .st.plan { border-color: var(--on-player); color: var(--on-player); }

/* game sections */
.game { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
.game-shot { border-radius: var(--r); overflow: hidden; border: 2px solid var(--ink); background: var(--ink); position: sticky; top: 92px; z-index: 1; }
.game-shot img { width: 100%; height: 520px; object-fit: cover; object-position: top; }
.game h2 { margin-bottom: 14px; }
dl.facts { display: flex; flex-wrap: wrap; gap: 0 36px; margin: 30px 0 34px; padding: 0; }
.facts div { padding: 14px 0 0; border-top: 2px solid var(--ink); flex: 1 1 120px; }
.facts dt { font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.facts dd { margin: 6px 0 0; font-weight: 800; font-stretch: 116%; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* rules list */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin: 0; padding: 0; list-style: none; }
.rules li { padding: 22px 0 24px; border-top: 1px solid var(--line); }
.rules li:nth-child(-n + 2) { border-top: 2px solid var(--ink); }
.rules p { color: var(--ink-soft); margin-top: 6px; }

.code { background: var(--ink); color: #dfe5f7; font-family: var(--mono); font-size: 0.78rem; line-height: 1.75; padding: 24px 26px; border-radius: var(--r); overflow-x: auto; white-space: pre; position: relative; z-index: 1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.notice { border: 2px dashed var(--house-ink); border-radius: var(--r); padding: 26px 30px; background: var(--paper); position: relative; z-index: 1; }
.notice ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--ink-soft); display: grid; gap: 7px; }

/* the closing ask: the platform's field, edge to edge */
.cta { position: relative; z-index: 1; background: var(--house); color: var(--ink); padding: 72px 0; display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: end; justify-content: space-between; box-shadow: 0 0 0 100vmax var(--house); clip-path: inset(0 -100vmax); }
.cta h2 { max-width: 16em; }
.cta p { color: #3a2a08; margin-top: 14px; max-width: 36em; font-size: 1.08rem; }
.cta .btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }

.foot { background: var(--ink); color: #b6bfd6; padding: 48px 0 64px; font-size: 0.9rem; }
.foot-in { display: grid; gap: 18px; }
.foot p { max-width: 62em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: #fff; }
.foot a:hover { color: var(--house); }

.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 10px; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); margin-top: 10px; }
.prose ul { color: var(--ink-soft); padding-left: 1.1em; display: grid; gap: 8px; margin: 10px 0 0; }

@media (max-width: 960px) {
  .lines, .split, .rules, .trio, .partners { grid-template-columns: 1fr; }
  .trio { gap: 40px 0; }
  .lines, .partners { gap: 44px 0; }
  .rules li:nth-child(2) { border-top: 1px solid var(--line); }
  .loop { grid-template-columns: 1fr 1fr; gap: 32px; }
  .loop li:not(:last-child)::after { display: none; }
  .hero-intro { grid-template-columns: 1fr; }
  .game { grid-template-columns: 1fr; gap: 32px; }
  .game h2::before { left: calc(var(--rail) - var(--gutter) - 5px); }
  .game-shot { position: static; max-width: 250px; }
  .game-shot img { height: 410px; }
  .band { padding: 76px 0; }
  .nav-links { gap: 18px; }
}
@media (max-width: 720px) {
  :root { --gutter: 26px; --rail: 8px; }
  body { font-size: 16px; }
  .nav { position: static; }
  .nav-in { flex-wrap: wrap; height: auto; gap: 6px 16px; padding-top: 12px; padding-bottom: 10px; }
  .nav-links { order: 3; width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); gap: 22px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a:last-child { padding-right: var(--gutter); }
  .nav-in { padding-bottom: 0 !important; }
  .nav-links a { font-size: 0.92rem; padding: 7px 0 5px; }
  .lang { margin-left: auto; }
  .hero { padding: 44px 0 56px; }
  .page-hero { padding: 44px 0 44px; }
  .band { padding: 60px 0; }
  .band-head { margin-bottom: 32px; }
  .band-head h2::before, .game h2::before, .split h2::before { width: 10px; height: 10px; left: calc(var(--rail) - var(--gutter) - 4px); }
  .actions .btn { flex: 1 1 100%; text-align: center; }
  .shake { margin-top: 24px; }
  .shake ol::before { left: 10px; }
  .shake ol::after { right: 10px; }
  .msg { padding: 12px 26px 22px; display: block; }
  .msg span { margin-top: 3px; }
  .hero h1 { font-stretch: 116%; }
  body[data-page="operators"] .band-head h2::before, body[data-page="operators"] .split h2::before { right: calc(var(--rail) - 4px); }
  .msg::after { left: 12px; right: 12px; }
  .msg::before { right: 6px; }
  .msg.h::before { left: 6px; }
  .msg code { font-size: 0.76rem; }
  .msg span { font-size: 0.92rem; }
  .msg.ok, .shake-note { margin-left: 12px; margin-right: 12px; }
  .msg.ok { padding: 14px 16px; }
  .duo, .compare { grid-template-columns: 1fr; }
  .aud, .compare > div { padding: 28px 24px; }
  .aud.p { border-radius: var(--r) var(--r) 0 0; }
  .aud.h { border-radius: 0 0 var(--r) var(--r); }
  .loop { grid-template-columns: 1fr; gap: 26px; }
  .cta { padding: 52px 0; }
  .cta .btn { width: 100%; text-align: center; }
  dl.facts { gap: 18px 24px; }
  .facts div { flex-basis: 40%; }
  .facts dd { font-size: 1.4rem; }
  /* the driving-levels table reads as stacked entries on a phone */
  table.levels thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.levels, table.levels tbody, table.levels tr, table.levels th, table.levels td { display: block; }
  table.levels tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  table.levels th, table.levels td { padding: 0; border: 0; }
  table.levels tbody th { white-space: normal; margin-bottom: 6px; }
  table.levels td + td { margin-top: 10px; }
  table.levels td::before { content: attr(data-label); display: block; font-size: 0.8rem; font-weight: 700; color: var(--ink); }
  table.caps td { padding-right: 10px; }
  .code { font-size: 0.7rem; padding: 18px; }
  .notice { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- game detail pages (one template for every title) ----------
   Each title sets its own world on <main class="gd" data-game="…">: --g-deep (hero field), --g-gold (action),
   --g-wood and --g-cream (the boards that hold interactive parts), --g-sky (hero art). The rest is the site's system. */
.gd[data-game="duck"] {
  --g-deep: #0d2a57; --g-deep-2: #173f7a; --g-gold: #f5b83d; --g-gold-ink: #3b2600;
  --g-wood: #6e4120; --g-wood-2: #8a5530; --g-cream: #fff4dc; --g-ice: #dcebfc;
  --g-sky: url(img/duck/sky-clear.webp); --g-hills: url(img/duck/far-hills.webp); --g-cliffs: url(img/duck/near-cliffs.webp);
}
.gd-hero { position: relative; z-index: 1; color: #fff; padding: 34px 0 0; overflow: hidden;
  background: linear-gradient(90deg, rgba(13, 42, 87, 0.96) 0%, rgba(13, 42, 87, 0.86) 42%, rgba(13, 42, 87, 0.15) 75%),
    var(--g-cliffs) right bottom / 1100px auto no-repeat, var(--g-hills) right 30% bottom 60px / 1300px auto no-repeat,
    var(--g-sky) center top / cover no-repeat, var(--g-deep); }
.gd-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: end; }
.gd-crumb { font-size: 0.92rem; color: var(--g-ice); }
.gd-crumb a { color: #fff; }
.gd-hero h1 { margin-top: 22px; font-size: clamp(2.6rem, 6.4vw, 5.4rem); color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18); }
.gd-by { margin-top: 14px; font-weight: 700; color: var(--g-gold); font-size: 1.02rem; }
.gd-pitch { margin-top: 18px; font-size: 1.22rem; max-width: 30em; color: #fff; }
.gd-hero .actions { margin-top: 28px; }
.gd-hero .btn { border-color: #fff; color: #fff; }
.gd-hero .btn:hover { background: #fff; color: var(--g-deep); }
.btn-gold, .gd-hero .btn-gold { background: var(--g-gold); border-color: var(--g-gold); color: var(--g-gold-ink); }
.btn-gold:hover, .gd-hero .btn-gold:hover { background: #fff; border-color: #fff; color: var(--g-deep); }
.gd-demo { margin-top: 16px; font-size: 0.9rem; color: var(--g-ice); max-width: 34em; }
.gd-hero a:focus-visible { outline-color: #fff; }
.gd-hero-duck { width: 230px; justify-self: center; margin-bottom: -6px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.3)); }
.gd-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 34px 0 0; background: var(--g-wood); border-radius: var(--r) var(--r) 0 0; border-top: 4px solid var(--g-wood-2); }
.gd-strip div { padding: 16px 20px 18px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.gd-strip div:first-child { border-left: 0; }
.gd-strip dt { font-size: 0.82rem; font-weight: 600; color: #f1d9b5; }
.gd-strip dd { margin: 4px 0 0; font-weight: 800; font-stretch: 112%; font-size: 1.5rem; color: var(--g-cream); font-variant-numeric: tabular-nums; }

.gd .band-head h2::before { background: var(--g-gold); }
.gd-alt { background: var(--sheet); position: relative; z-index: 1; box-shadow: 0 0 0 100vmax var(--sheet); clip-path: inset(0 -100vmax); }
.gd-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.gd-two .band-head { margin-bottom: 22px; }
.gd-read > * { max-width: 820px; }

.gd-poses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gd-poses li { background: linear-gradient(var(--g-ice), #f6faff); border-radius: var(--r); padding: 14px 10px 10px; text-align: center; position: relative; z-index: 1; }
.gd-poses img { height: 120px; width: auto; margin: 0 auto; object-fit: contain; }
.gd-poses span { display: block; margin-top: 8px; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }

ol.gd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.gd-steps li { counter-increment: step; }
.gd-steps img { width: 100%; height: auto; aspect-ratio: 540 / 780; object-fit: cover; object-position: top; border-radius: 10px; border: 2px solid var(--ink); background: var(--g-ice); }
.gd-steps h3 { margin-top: 18px; display: flex; gap: 10px; align-items: baseline; }
.gd-steps h3::before { content: counter(step); font-family: var(--mono); font-size: 0.8rem; font-weight: 600; background: var(--g-gold); color: var(--g-gold-ink); border-radius: var(--r); padding: 2px 8px; }
.gd-steps p { margin-top: 8px; color: var(--ink-soft); }

.gd-world { background: var(--g-deep); color: #fff; position: relative; z-index: 1; box-shadow: 0 0 0 100vmax var(--g-deep); clip-path: inset(0 -100vmax); }
.gd-world .band-head p { color: var(--g-ice); }
ul.gd-events { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.gd-events li { background: var(--g-deep-2); border-radius: var(--r); padding: 16px; }
.gd-events img { height: 120px; width: 100%; object-fit: contain; }
.gd-events h3 { margin-top: 14px; color: var(--g-gold); }
.gd-events p { margin-top: 6px; color: var(--g-ice); font-size: 0.95rem; }
.gd-note { margin-top: 30px; background: var(--g-cream); color: var(--g-gold-ink); border-radius: var(--r); padding: 18px 22px; max-width: 52em; }

.gd-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-switch button { font: inherit; font-weight: 700; padding: 10px 18px; border-radius: var(--r); border: 2px solid var(--ink); background: var(--sheet); color: var(--ink); cursor: pointer; }
.gd-switch button:hover { background: var(--g-cream); }
.gd-switch button[aria-pressed="true"] { background: var(--g-gold); border-color: var(--g-gold-ink); color: var(--g-gold-ink); }
.gd-outfit { margin: 0; background: radial-gradient(circle at 50% 60%, var(--g-ice), transparent 70%); display: grid; place-items: center; min-height: 360px; position: relative; z-index: 1; }
.gd-outfit img { height: 320px; width: auto; }

.gd-board { background: var(--g-wood); border-top: 4px solid var(--g-wood-2); border-radius: 8px; padding: 26px; color: var(--g-cream); position: relative; z-index: 1; display: grid; gap: 20px; }
.gd-board h3 { color: var(--g-cream); }
.gd-board .gd-switch button { border-color: var(--g-cream); background: var(--g-cream); color: var(--g-gold-ink); }
.gd-board .gd-switch button[aria-pressed="true"] { background: var(--g-gold); border-color: var(--g-gold); }
.gd-board button:focus-visible, .gd-board input:focus-visible, .gd-board select:focus-visible, .gd-board summary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.gd-range { display: grid; gap: 8px; font-weight: 600; }
.gd-range input { width: 100%; accent-color: var(--g-gold); }
.gd-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.gd-nums div { background: var(--g-cream); color: var(--g-gold-ink); border-radius: var(--r); padding: 14px 16px; }
.gd-nums dt { font-size: 0.84rem; font-weight: 600; }
.gd-nums dd { margin: 4px 0 0; font-weight: 800; font-stretch: 112%; font-size: 1.65rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gd-board-note { color: #f1d9b5; font-size: 0.95rem; }

table.gd-levels { width: 100%; border-collapse: collapse; margin-top: 44px; border-top: 2px solid var(--ink); font-variant-numeric: tabular-nums; }
.gd-levels th, .gd-levels td { text-align: left; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); }
.gd-levels thead th { font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.gd-levels tbody th { font-weight: 800; font-stretch: 108%; }
.gd-small { margin-top: 12px; color: var(--ink-soft); font-size: 0.92rem; }
details.gd-more { margin-top: 24px; }
.gd-more summary { cursor: pointer; font-weight: 700; color: var(--player-deep); }
.gd-board .gd-more summary { color: var(--g-gold); }
.gd-tables { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 18px; align-items: start; }
table.gd-mult { width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.gd-mult caption { text-align: left; font-weight: 800; padding-bottom: 8px; }
.gd-mult th, .gd-mult td { text-align: right; padding: 4px 6px; border-bottom: 1px solid var(--line); }
.gd-mult th:first-child, .gd-mult td:first-child { text-align: left; }
.gd-mult thead th { font-weight: 600; color: var(--ink-soft); font-size: 0.8rem; }

ol.gd-proof { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; counter-reset: step; }
.gd-proof li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 16px; }
.gd-proof h3::before { content: counter(step) "  "; font-family: var(--mono); font-size: 0.8rem; color: var(--g-wood); white-space: pre; }
.gd-proof p { margin-top: 6px; color: var(--ink-soft); }
.gd-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.gd-fields label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; min-width: 0; }
.gd-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gd-fields input, .gd-fields select { font: inherit; font-family: var(--mono); font-size: 0.8rem; padding: 10px 12px; border-radius: var(--r); border: 2px solid var(--g-cream); background: var(--g-cream); color: var(--g-gold-ink); width: 100%; min-width: 0; }
.gd-verify > .btn { justify-self: start; }
.gd-result { background: var(--g-cream); color: var(--g-gold-ink); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 14px; }
.gd-result p { overflow-wrap: anywhere; }
.gd-result .ok { color: var(--proof); font-weight: 700; }
.gd-result .bad { color: #a3262f; font-weight: 700; }
ol.gd-bridge { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 3px; }
.gd-bridge li { font-size: 0.66rem; font-weight: 700; text-align: center; padding: 8px 0; border-radius: 2px; background: #d9b98d; color: var(--g-gold-ink); font-variant-numeric: tabular-nums; }
.gd-bridge li.x { background: #c0392b; color: #fff; }
.gd-bridge li.past { opacity: 0.38; }
.gd-bridge:empty { display: none; }
.gd-method { margin: 12px 0 0; padding-left: 1.3em; display: grid; gap: 8px; color: #f1d9b5; font-size: 0.95rem; }
.gd-method code { font-family: var(--mono); font-size: 0.82rem; color: var(--g-cream); overflow-wrap: anywhere; }

details.gd-rule { border-top: 1px solid var(--line); padding: 18px 0; }
details.gd-rule:last-child { border-bottom: 1px solid var(--line); }
.gd-rule summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.gd-rule summary::-webkit-details-marker { display: none; }
.gd-rule summary::after { content: "+"; font-family: var(--mono); color: var(--g-wood); flex: none; }
.gd-rule[open] summary::after { content: "−"; }
.gd-rule p { margin-top: 10px; color: var(--ink-soft); max-width: 44em; }
.gd-rule summary:focus-visible, .gd-more summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

ul.gd-others { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gd-others a { display: grid; gap: 4px; padding: 18px 20px; border: 2px solid var(--ink); border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--sheet); position: relative; z-index: 1; }
.gd-others a:hover { background: var(--g-cream); }
.gd-others span { color: var(--ink-soft); }
.gd .cta .btn.gd-btn-line { background: transparent; color: var(--ink); }
.gd .cta .btn.gd-btn-line:hover { background: var(--ink); color: #fff; }

@media (max-width: 960px) {
  .gd-two { grid-template-columns: 1fr; gap: 32px; }
  ul.gd-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-tables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gd-strip div:nth-child(4) { border-left: 0; }
  .gd-strip div:nth-child(n + 4) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
}
@media (max-width: 720px) {
  .gd-hero { padding-top: 24px; background: linear-gradient(180deg, rgba(13, 42, 87, 0.9), rgba(13, 42, 87, 0.94)), var(--g-sky) center top / cover no-repeat, var(--g-deep); }
  .gd-hero-in { grid-template-columns: 1fr; }
  .gd-hero-duck { display: none; }
  .gd-pitch { font-size: 1.08rem; }
  .gd-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; }
  .gd-strip div { padding: 12px var(--gutter) 14px; border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .gd-strip div:nth-child(-n + 2) { border-top: 0; }
  .gd-strip div:nth-child(even) { padding-left: 14px; }
  .gd-strip dd { font-size: 1.25rem; }
  .gd-strip div:last-child { grid-column: 1 / -1; }
  .gd-poses { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .gd-poses img { height: 84px; }
  ol.gd-steps { grid-template-columns: 1fr; gap: 40px; }
  .gd-steps img { max-width: 300px; }
  ul.gd-events { grid-template-columns: 1fr; }
  .gd-events li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
  .gd-events img { grid-row: span 2; height: 90px; }
  .gd-events h3 { margin-top: 0; }
  .gd-outfit { min-height: 280px; }
  .gd-outfit img { height: 250px; }
  .gd-board { padding: 20px 16px; }
  .gd-nums dd { font-size: 1.3rem; }
  table.gd-levels thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.gd-levels, .gd-levels tbody, .gd-levels tr, .gd-levels th, .gd-levels td { display: block; }
  .gd-levels tr { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .gd-levels th, .gd-levels td { padding: 0; border: 0; }
  .gd-levels tbody th { grid-column: 1 / -1; font-size: 1.15rem; }
  .gd-levels td::before { content: attr(data-label); display: block; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }
  .gd-tables { grid-template-columns: 1fr; }
  ol.gd-proof { grid-template-columns: 1fr; gap: 22px; }
  .gd-fields, .gd-pair { grid-template-columns: 1fr; }
  ol.gd-bridge { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .gd-bridge li { font-size: 0.72rem; }
  .gd .cta .actions .btn { flex: 1 1 100%; }
}

#studio .rules li:nth-child(2) { border-top: 1px solid var(--line); }

/* games catalogue: one card per title, the game's own picture first */
.gc-band { padding-top: 64px; }
ul.gc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gc { display: flex; flex-direction: column; background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; position: relative; z-index: 1; }
.gc-img { display: block; background: var(--ink); }
.gc-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.gc-kind { margin: 18px 20px 0; font-size: 0.84rem; font-weight: 600; color: var(--ink-soft); }
.gc h2 { margin: 6px 20px 0; font-size: 1.45rem; line-height: 1.1; letter-spacing: -0.02em; }
.gc h2 a { color: var(--ink); text-decoration: none; }
.gc h2 a:hover { text-decoration: underline; }
.gc-line { margin: 10px 20px 0; color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
ul.gc-st { list-style: none; margin: 16px 20px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gc-act { display: grid; gap: 8px; margin: 18px 20px 20px; }
.gc-act .btn { text-align: center; padding: 11px 16px; }
.gc-note { margin-top: 28px; color: var(--ink-soft); font-size: 0.95rem; max-width: 60em; }
.gc-legend { color: var(--ink-soft); margin-top: 0; }
#agent-tables { padding-bottom: 40px; }
#agent-tables .band-head { margin-bottom: 24px; }
@media (max-width: 1180px) { ul.gc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { ul.gc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  ul.gc-grid { grid-template-columns: 1fr; gap: 22px; }
  .gc { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .gc-img { grid-row: 1 / span 4; }
  .gc-img img { height: 100%; aspect-ratio: auto; }
  .gc-kind { margin: 14px 14px 0; font-size: 0.78rem; }
  .gc h2 { margin: 4px 14px 0; font-size: 1.2rem; }
  .gc-line { margin: 6px 14px 0; font-size: 0.9rem; }
  ul.gc-st { margin: 10px 14px 14px; }
  .gc-act { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; margin: 0; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
  .gc-act .btn { padding: 10px 8px; font-size: 0.92rem; }
}

/* Mine Island: night sea, gold and ship's timber */
.gd[data-game="mines"] {
  --g-deep: #1b1410; --g-deep-2: #2d2119; --g-gold: #e9b54a; --g-gold-ink: #3a2400;
  --g-wood: #4a2f1a; --g-wood-2: #6b4526; --g-cream: #fbf0d9; --g-ice: #ece3d2;
}
.gd[data-game="mines"] .gd-hero { background: linear-gradient(90deg, rgba(27, 20, 16, 0.97) 0%, rgba(27, 20, 16, 0.86) 45%, rgba(27, 20, 16, 0.35) 80%), url(img/mine/backdrop.webp) right center / 900px auto no-repeat, var(--g-deep); }
.gd-hero-logo { width: 360px; justify-self: center; align-self: center; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45)); }
.gd[data-game="mines"] .gd-hero-in { grid-template-columns: minmax(0, 1fr) 380px; }
ul.gd-events.gd-events-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gd[data-game="mines"] .gd-events img { height: 96px; }
.gd-scroll { overflow-x: auto; margin-top: 14px; }
table.gd-pay { border-collapse: collapse; font-size: 0.74rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gd-pay th, .gd-pay td { padding: 4px 7px; border: 1px solid var(--line); text-align: right; }
.gd-pay thead th, .gd-pay tbody th { background: var(--paper); font-weight: 700; position: sticky; }
.gd-pay tbody th { left: 0; text-align: left; }
.gd-pay td.cap { color: var(--ink-soft); background: #f6f0e6; text-align: center; }
.gd-pay td.na { background: var(--paper); border-color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
ol.gd-grid5 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 46px); gap: 5px; }
.gd-grid5 li { aspect-ratio: 1; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; border-radius: 4px; background: #d9c39d; color: var(--g-gold-ink); font-variant-numeric: tabular-nums; }
.gd-grid5 li.x { background: #b3261e; color: #fff; }
.gd-grid5:empty { display: none; }
@media (max-width: 960px) { ul.gd-events.gd-events-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gd[data-game="mines"] .gd-hero-in { grid-template-columns: 1fr; } .gd-hero-logo { width: 280px; justify-self: start; } }
@media (max-width: 720px) {
  .gd[data-game="mines"] .gd-hero { background: linear-gradient(180deg, rgba(27, 20, 16, 0.86), rgba(27, 20, 16, 0.95)), url(img/mine/backdrop.webp) center top / cover no-repeat, var(--g-deep); }
  .gd-hero-logo { width: 150px; order: -1; margin: 0 0 -8px; }
  ul.gd-events.gd-events-4 { grid-template-columns: 1fr; }
}

.gd-hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-self: center; justify-self: center; }
.gd-hero-tiles img { width: 170px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.5)); }
.gd-hero-tiles img:last-child { margin-top: 56px; }
@media (max-width: 960px) { .gd-hero-tiles { justify-self: start; } .gd-hero-tiles img { width: 120px; } }
@media (max-width: 720px) { .gd-hero-tiles { display: none; } }

.gd[data-game="mines"] .gd-steps img { aspect-ratio: 540 / 665; }

/* Nova Crash: deep space, violet and a hot orange burst */
.gd[data-game="crash"] {
  --g-deep: #0d0a24; --g-deep-2: #1d1745; --g-gold: #f4a53a; --g-gold-ink: #2e1700;
  --g-wood: #261d55; --g-wood-2: #3a2d7a; --g-cream: #efeaff; --g-ice: #ddd6ff;
}
.gd[data-game="crash"] .gd-hero { background: linear-gradient(90deg, rgba(13, 10, 36, 0.96) 0%, rgba(13, 10, 36, 0.8) 45%, rgba(13, 10, 36, 0.2) 80%), url(img/nova/bg.webp) right center / cover no-repeat, var(--g-deep); }
.gd[data-game="crash"] .gd-hero-in { grid-template-columns: minmax(0, 1fr) 420px; }
.gd-hero-ship { width: 420px; align-self: center; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.55)); }
.gd[data-game="crash"] .gd-strip dt { color: #c9bff5; }
.gd[data-game="crash"] .gd-board-note, .gd[data-game="crash"] .gd-strip dt { color: #c9bff5; }
.gd[data-game="crash"] .gd-events img { height: 96px; }
.gd[data-game="crash"] .gd-steps img { aspect-ratio: 540 / 914; }
.gd[data-game="crash"] .gd-strip dd { font-size: 1.25rem; }
@media (max-width: 960px) { .gd[data-game="crash"] .gd-hero-in { grid-template-columns: 1fr; } .gd-hero-ship { width: 300px; } }
@media (max-width: 720px) {
  .gd[data-game="crash"] .gd-hero { background: linear-gradient(180deg, rgba(13, 10, 36, 0.82), rgba(13, 10, 36, 0.95)), url(img/nova/bg.webp) center top / cover no-repeat, var(--g-deep); }
  .gd-hero-ship { width: 220px; order: -1; }
  .gd[data-game="crash"] .gd-strip dd { font-size: 1.05rem; }
}

/* Heart of Time: midnight blue palace, brass and clock gold */
.gd[data-game="slot"] {
  --g-deep: #0c1430; --g-deep-2: #18244f; --g-gold: #f2c25a; --g-gold-ink: #2b1d00;
  --g-wood: #1f2a5c; --g-wood-2: #33448a; --g-cream: #fbf3dc; --g-ice: #dfe6ff;
}
.gd[data-game="slot"] .gd-hero { background: linear-gradient(90deg, rgba(12, 20, 48, 0.95) 0%, rgba(12, 20, 48, 0.78) 45%, rgba(12, 20, 48, 0.25) 80%), url(img/hot/bg.webp) center / cover no-repeat, var(--g-deep); }
.gd[data-game="slot"] .gd-hero-in { grid-template-columns: minmax(0, 1fr) 440px; }
.gd-hero-wide { width: 440px; }
.gd[data-game="slot"] .gd-strip dt { color: #cdd6ff; }
.gd-shot1 { margin: 0; justify-self: center; }
.gd-shot1 img { width: 300px; height: auto; border-radius: 10px; border: 2px solid var(--ink); }
ol.gd-proof.gd-proof-1 { grid-template-columns: 1fr; gap: 22px; margin: 0; }
ul.gd-symbols { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.gd-symbols li { background: var(--g-deep-2); border-radius: var(--r); padding: 8px; }
.gd-symbols img { width: 100%; height: auto; }
.gd[data-game="slot"] .gd-events img { height: 96px; }
@media (max-width: 960px) { .gd[data-game="slot"] .gd-hero-in { grid-template-columns: 1fr; } .gd-hero-wide { width: 320px; justify-self: start; } ul.gd-symbols { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .gd[data-game="slot"] .gd-hero { background: linear-gradient(180deg, rgba(12, 20, 48, 0.82), rgba(12, 20, 48, 0.95)), url(img/hot/bg.webp) center top / cover no-repeat, var(--g-deep); }
  .gd-hero-wide { width: 240px; }
  .gd-shot1 img { width: 240px; }
  ul.gd-symbols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* The Shattered Hour: black cathedral, crimson cracks, old gold */
.gd[data-game="ch2"] {
  --g-deep: #0b0a12; --g-deep-2: #1d1420; --g-gold: #e8b45a; --g-gold-ink: #2a1600;
  --g-wood: #2a1218; --g-wood-2: #5a1e24; --g-cream: #fbefdc; --g-ice: #f0d9cc;
}
.gd[data-game="ch2"] .gd-hero { background: linear-gradient(90deg, rgba(11, 10, 18, 0.96) 0%, rgba(11, 10, 18, 0.82) 50%, rgba(11, 10, 18, 0.35) 85%), url(img/ch2/bg.webp) right 20% / 760px auto no-repeat, var(--g-deep); }
.gd[data-game="ch2"] .gd-hero-in { grid-template-columns: minmax(0, 1fr) 380px; }
.gd-hero-ch2 { width: 360px; }
.gd-soon { margin-top: 18px; }
.gd-soon + h1 { margin-top: 10px; }
.gd-hero .st.closed { border-color: var(--g-gold); color: var(--g-gold); }
.gd[data-game="ch2"] .gd-strip dt { color: #e8c9b8; }
.gd[data-game="ch2"] .gd-strip dd { font-size: 1.3rem; }
.gd-keeper { margin: 0; justify-self: center; }
.gd-keeper img { width: 320px; height: auto; border-radius: 10px; }
.gd-ladder { position: relative; max-width: 900px; margin: 0 0 34px; }
.gd-ladder img { width: 100%; height: auto; }
.gd-ladder ol { position: absolute; left: 26%; right: 6%; top: 34%; bottom: 26%; margin: 0; padding: 0; list-style: none; display: flex; justify-content: space-around; align-items: center; }
.gd-ladder li { font-family: var(--mono); font-weight: 600; font-size: clamp(0.8rem, 2.4vw, 1.6rem); color: var(--g-gold); }
.gd-ladder li:first-child { color: #fff; }
ul.gd-events.gd-events-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .gd[data-game="ch2"] .gd-hero-in { grid-template-columns: 1fr; } .gd-hero-ch2 { width: 260px; justify-self: start; } ul.gd-events.gd-events-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .gd[data-game="ch2"] .gd-hero { background: linear-gradient(180deg, rgba(11, 10, 18, 0.8), rgba(11, 10, 18, 0.95)), url(img/ch2/bg.webp) center top / cover no-repeat, var(--g-deep); }
  .gd-hero-ch2 { width: 200px; order: -1; }
  .gd-keeper img { width: 240px; }
  .gd[data-game="ch2"] .gd-strip dd { font-size: 1.05rem; }
}

/* Studio titles with a landscape cover in the hero: one template, a palette per game */
.gd[data-game="duel"]    { --g-deep: #0e0f2b; --g-deep-2: #1d1f4a; --g-gold: #f2c14e; --g-gold-ink: #2b1d00; --g-wood: #2b2d63; --g-wood-2: #3d4090; --g-cream: #f3f0ff; --g-ice: #d9dbf7; }
.gd[data-game="dragon"]  { --g-deep: #08291f; --g-deep-2: #0f4433; --g-gold: #f4c542; --g-gold-ink: #2e2000; --g-wood: #0f4a36; --g-wood-2: #17684c; --g-cream: #fff6dc; --g-ice: #d8f0e4; }
.gd[data-game="hideout"] { --g-deep: #120b0b; --g-deep-2: #251515; --g-gold: #b8322a; --g-gold-ink: #fff; --g-wood: #3a1614; --g-wood-2: #5e201c; --g-cream: #f7ebe6; --g-ice: #ecd7d2; }
.gd[data-game="ombak"]   { --g-deep: #07335c; --g-deep-2: #0d4a82; --g-gold: #ffb627; --g-gold-ink: #2e1d00; --g-wood: #0a4f86; --g-wood-2: #1269a8; --g-cream: #fff4dc; --g-ice: #d6ecfb; }
.gd[data-game="skyline"] { --g-deep: #0c1426; --g-deep-2: #18243f; --g-gold: #f2b632; --g-gold-ink: #2b1c00; --g-wood: #1e2c4d; --g-wood-2: #2d4170; --g-cream: #fdf3dd; --g-ice: #d7e0f2; }
.gd[data-game="bull"]    { --g-deep: #22150c; --g-deep-2: #3a2416; --g-gold: #e8a33a; --g-gold-ink: #2b1700; --g-wood: #5a3418; --g-wood-2: #7b4a23; --g-cream: #fbefdc; --g-ice: #efdcc6; }
.gd[data-game="powder"]  { --g-deep: #14305e; --g-deep-2: #1f4580; --g-gold: #ffd23f; --g-gold-ink: #2b2200; --g-wood: #1d4a8a; --g-wood-2: #2a62b0; --g-cream: #f4f8ff; --g-ice: #dbe8fb; }
.gd-cov .gd-hero { background: linear-gradient(180deg, var(--g-deep-2), var(--g-deep)); }
.gd-cov .gd-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); align-items: center; }
.gd-hero-cover { width: 100%; height: auto; border-radius: var(--r); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.gd-cov .gd-strip dd { font-size: 1.3rem; }
.gd-hero .btn-gold { color: var(--g-gold-ink); }
@media (max-width: 960px) { .gd-cov .gd-hero-in { grid-template-columns: 1fr; } .gd-hero-cover { max-width: 520px; } }
@media (max-width: 720px) { .gd-hero-cover { order: -1; } .gd-cov .gd-strip dd { font-size: 1.05rem; } }
.gd[data-game="hideout"] .gd-note { color: #3a1614; }
.gd[data-game="hideout"] .gd-by, .gd[data-game="hideout"] .gd-events h3 { color: #f0796d; }
.mcp-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 10px 10px 16px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--sheet); position: relative; z-index: 1; }
.mcp-addr code { flex: 1 1 16em; min-width: 0; font-family: var(--mono); font-size: 0.92rem; overflow-wrap: anywhere; }
.mcp-addr .btn { flex: none; }
