/* Tabletown website sub-pages (design locked 7 Nov 2026, canvas v53): the landing's look on a plain page.
   Lean palette: navy = action, gold = money, green = good, amber = warning, red = error, violet = focus. */
:root {
  --bg: #EAF4FB; --surface: #FFFFFF; --raised: #F4F1DE; --ink: #1D1B2E; --muted: #4A4766; --line: #C9D3E3; --control: #4A4766;
  --primary: #2B3A67; --on-primary: #FFFFFF; --focus: #6E4BF5; --good: #2E7D32; --good-bg: #E8F5E9; --warn: #8A5A00; --warn-bg: #FFF1D6;
  --danger: #C1121F; --danger-bg: #FCE4E6; --info-bg: #D4ECFA; --info-ink: #2B3A67; --scrim: 14, 13, 34;
  --sans: Manrope, system-ui, sans-serif; --serif: 'Playfair Display', Georgia, serif; --mono: ui-monospace, Menlo, monospace;
}
:root[data-theme="dark"] { --bg: #14132A; --surface: #211F3D; --raised: #2C2A4D; --ink: #F4F1DE; --muted: #B8B5D1; --line: #3A3860; --control: #B8B5D1;
          --primary: #7FC4F0; --on-primary: #14132A; --focus: #A28BFF; --good: #5FD17A; --good-bg: #173827; --warn: #FF8C42; --warn-bg: #3A2414;
          --danger: #FF7A85; --danger-bg: #3B1A2B; --info-bg: #1B2D4A; --info-ink: #7FC4F0; }
.theme { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: 4px; padding: 0; border: 0; background: none; color: inherit; }
.theme svg { display: none; } .theme[data-mode="system"] .t-system, .theme[data-mode="light"] .t-light, .theme[data-mode="dark"] .t-dark { display: block; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.5 var(--sans); }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--sans); font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: 34px; } h3 { font-size: 22px; line-height: 1.15; }
p { margin: 0; }
.muted { color: var(--muted); } .small { font-size: 14px; } .strong { font-weight: 700; } .danger { color: var(--danger); }
.label { font: 800 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* nav + footer: as on the landing, solid */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 20px 64px; background: var(--bg); border-bottom: 1px solid var(--line); }
.wordmark { font: 900 28px/1 var(--serif); letter-spacing: -.01em; text-decoration: none; }
.wordmark::after { content: ""; display: inline-block; width: 1.1em; height: 1.1em; margin-left: .28em; vertical-align: -.2em; background: url(/media/mark.png) center / contain no-repeat; }
.links { margin-left: auto; display: flex; gap: 28px; }
.links a { font-weight: 700; font-size: 15px; text-decoration: none; }
.menu { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
       font: 800 17px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn.small { height: 42px; padding: 0 20px; font-size: 15px; }
.btn.primary { background: var(--primary); color: var(--on-primary); }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn.center { align-self: center; }
.link { font-weight: 700; font-size: 15px; text-underline-offset: 3px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 64px; padding: 24px 0 40px; border-top: 1px solid var(--line); }
.brand { display: flex; flex-direction: column; gap: 6px; } .brand .wordmark { font-size: 24px; } .brand small { font-weight: 700; font-size: 14px; color: var(--muted); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; } .foot-links a { font-weight: 700; font-size: 14px; text-underline-offset: 3px; }

/* hero band: a short slice of the film */
.hero { position: relative; height: 380px; overflow: hidden; background: #0E0D22; color: #fff; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--scrim), .85) 0, rgba(var(--scrim), .55) 45%, rgba(var(--scrim), .1) 75%); }
.hero-words { position: absolute; z-index: 1; left: 64px; right: 64px; bottom: 48px; max-width: 720px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero h1 { font-size: 56px; line-height: 1.04; letter-spacing: -.025em; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero p { font-weight: 600; font-size: 20px; color: rgba(255,255,255,.86); }
.kick { font: 800 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.pill { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); font: 800 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }

/* content */
.content { display: flex; flex-direction: column; gap: 40px; padding: 56px 64px 64px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.grid { display: grid; gap: 16px; } .grid.four { grid-template-columns: repeat(4, 1fr); } .grid.three { grid-template-columns: repeat(3, 1fr); gap: 18px; } .grid.two { grid-template-columns: repeat(2, 1fr); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.row-start { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { display: inline-flex; padding: 5px 11px; border-radius: 999px; font: 800 12px/1.2 var(--sans); letter-spacing: .04em; }
.tag.good { background: var(--good-bg); color: var(--good); } .tag.info { background: var(--info-bg); color: var(--info-ink); }
.tag.quiet { background: var(--raised); color: var(--muted); } .tag.warn { background: var(--warn-bg); color: var(--warn); }
.chain { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--bg); font: 700 13px/1 var(--sans); }
.chain i { width: 8px; height: 8px; border-radius: 50%; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: none; box-shadow: inset 0 0 0 1.5px var(--line);
        font: 700 14px/1 var(--sans); white-space: nowrap; text-decoration: none; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--info-bg); box-shadow: inset 0 0 0 2px var(--focus); }
.search { display: flex; align-items: center; gap: 10px; height: 52px; width: 420px; max-width: 100%; padding: 0 16px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--control); }
.search::before { content: ''; width: 16px; height: 16px; border: 2.4px solid var(--muted); border-radius: 50%; flex: none; }
.search.wide { width: 560px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-weight: 600; }
.toolbar { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.block { display: flex; flex-direction: column; gap: 12px; }
.empty { color: var(--muted); }

.city.near { border: 2px solid var(--focus); }
.near-tag { font-size: 13px; color: var(--focus); }
.city h3 { font-size: 26px; }
.skin { padding: 14px 14px 20px; gap: 12px; }
.skin .pic { position: relative; height: 230px; border-radius: 14px; overflow: hidden; }
.skin img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; display: block; }
.skin .dim { position: absolute; inset: 0; background: rgba(14,13,34,.6); }
.fig { position: absolute; padding: 4px 7px; border-radius: 6px; background: #fff; color: #1D1B2E; font: 700 13px/1 var(--mono); }
.skin h3 { font-size: 26px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.road ul { list-style: none; margin: 0; padding: 0; }
.road li { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-top: 1px solid var(--line); }
.road li span, .steps span span, .section p { color: var(--muted); }
/* the roadmap: five phases on a line, the current one raised, each with what you can do now */
/* the deck's road art (slide 11), then the five phases. Wide screens: the cards ride up onto the foot of the picture, under its markers,
   as on the slide. Narrower: a numbered list under the picture whose marks repeat the markers. No box around the list (no box in a box). */
.road-stage { display: flex; flex-direction: column; gap: 16px; }
.road-art { position: relative; margin: 0; border-radius: 24px; overflow: hidden; }
.road-pic { position: relative; aspect-ratio: 2200 / 697; }
.road-pic img { display: block; width: 100%; height: 100%; }
/* the road over the picture (tools/pages.py places it): solid to where we are, dashed after, a dotted stem from each pin down to its node */
.road-line > span { position: absolute; pointer-events: none; }
.road-done, .road-todo, .road-fill { height: 4px; margin-top: -2px; border-radius: 2px; }
.road-done { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); } .road-todo, .road-fill-todo { background: repeating-linear-gradient(90deg, #fff 0 9px, transparent 9px 15px); }
.stem { width: 0; border-left: 2px dotted rgba(255,255,255,.9); margin-left: -1px; }
.node { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid #1b1d3f; box-sizing: border-box; transform: translate(-50%, -50%); }
.pin { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transform: translate(-50%, -50%); box-sizing: border-box;
  background: #fff; color: #1b1d3f; border: 3px solid #1b1d3f; font: 800 17px/1 var(--sans); box-shadow: 0 6px 14px rgba(0,0,0,.3); transition: box-shadow .3s; }
.pin-done { background: #1b1d3f; color: #fff; border-color: #fff; } .pin-now { background: #F5C451; border-color: #fff; }
.here { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap; padding: 7px 14px; border-radius: 99px; background: #1b1d3f; color: #F5C451; font: 800 14px/1 var(--sans); }
.phases { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.phase { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.phase-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.phase h3, .phase p { margin: 0; } .phase p { color: var(--muted); flex: 1; }
.mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 17px/1 var(--sans); background: var(--raised); border: 2px solid var(--line); color: var(--muted); }
.ph-done .mark { background: var(--good-bg); border-color: var(--good); color: var(--good); }
.ph-now { border-color: var(--ink); } .ph-now .mark { background: #F5C451; border-color: #F5C451; color: #1b1d3f; }
.ph-next h3 { color: var(--muted); }
/* the scroll story (site.js adds .road-live on phones and wide screens): the phase you are on is violet and the others fade back;
   the road fills violet from phase 1 to its pin, a dot runs along it, and the pin pops with a violet ring */
.road-fill, .road-dot { display: none; }
.road-art.still, .road-art.still * { transition: none !important; }
.road-live .phase { transition: border-color .3s, opacity .4s; opacity: .3; }
.road-live .phase.on { opacity: 1; border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus); }
/* the violet only recolours the road as you go: solid up to where we are, dashed after (Denis 3 Dec) */
.road-live .road-fill.road-fill-todo { background: repeating-linear-gradient(90deg, var(--focus) 0 9px, transparent 9px 15px); }
.road-live .road-fill { display: block; width: 0; background-color: var(--focus); transition: width .6s ease; }
.road-live .road-dot { display: block; width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box; background: var(--focus); border: 2px solid #fff; transform: translate(-50%, -50%); transition: left .6s ease; }
.road-live .pin.on { box-shadow: 0 0 0 4px var(--focus), 0 6px 14px rgba(0,0,0,.3); }
.pin.pop { animation: pin-pop .7s .5s ease-out both; }
@keyframes pin-pop { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 40% { transform: translate(-50%, -50%) scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .road-pic, .road-fill, .road-dot, .road-live .phase, .pin { transition: none; } .pin.pop { animation: none; } }
@media (max-width: 767px) {
  /* the picture stays at the top while you scroll the list, and slides to the pin of the phase you are reading */
  .road-art { position: sticky; top: 76px; z-index: 2; border-radius: 20px; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
  .road-pic { height: 200px; width: calc(200px * 2200 / 697); transition: transform .6s ease; }
  .pin { width: 32px; height: 32px; font-size: 14px; } .here { font-size: 12px; padding: 6px 11px; bottom: calc(100% + 8px); }
  .road-stage { gap: 14px; } .phases { gap: 10px; } .phase { grid-template-columns: 32px 1fr; gap: 12px; padding: 16px; } .mark { width: 32px; height: 32px; font-size: 14px; }
}
@media (min-width: 1200px) {
  /* wide screens: the cards in a row under their pins; scrolling down walks the road from phase 1 to 5, left to right,
     while picture and cards stay put (the section is tall, the stage sticky) */
  .phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 0 4%; }
  .phase { grid-template-columns: 1fr; padding: 18px 16px; }
  .mark { display: none; } .phase .btn { align-self: stretch; padding: 0 10px; }
  .road-live .phase { opacity: .45; }
  .road-scroll.road-live { height: calc(var(--stage, 640px) + 150vh); } .road-live .road-stage { position: sticky; top: var(--stage-top, 96px); }
}
.split { display: flex; gap: 40px; align-items: flex-start; } .split > * { flex: 1; } .steps-col { flex: 1.2; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.steps, .next { list-style: none; margin: 0; padding: 0; align-self: stretch; }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li > span:last-child { display: flex; flex-direction: column; gap: 4px; } .steps b { font-size: 18px; }
.num { font: 900 30px/1 var(--sans); color: var(--primary); } .num.small { font-size: 16px; line-height: 1.4; color: var(--ink); }
.next li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.code { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-radius: 14px; border: 2px solid var(--ink); background: var(--bg); }
.code span { display: flex; flex-direction: column; gap: 6px; } .code small { font: 800 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.code b { font: 700 32px/1 var(--mono); letter-spacing: .04em; }
.section h3 { font-size: 22px; }
.table-card { padding: 18px 24px 8px; overflow-x: auto; }
.series-panel { display: flex; flex-direction: column; gap: 16px; } .series-panel[hidden] { display: none; } .series-panel .card p { margin: 0; }
.src-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
details.cont { border-top: 1px solid var(--line); } details.cont summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 0; font-weight: 800; font-size: 17px; }
details.cont summary b, .ranges dd, table.ctries td, .types span { font-family: var(--sans); font-variant-numeric: tabular-nums; } details.cont summary b, .ranges dd { font-weight: 500; }
details.cont summary::-webkit-details-marker { display: none; } details.cont summary span { flex: 1; } details.cont summary b { white-space: nowrap; }

table.ctries { width: 100%; border-collapse: collapse; margin: 0 0 8px; } table.ctries th, table.ctries td { padding: 7px 0; border-top: 1px solid var(--line); font-weight: 400; color: var(--muted); text-align: left; } table.ctries td { text-align: right; color: var(--ink); }
details.cont p { margin: 0 0 16px; }
details.occ summary { flex-wrap: wrap; } details.occ summary::after { order: 2; } details.occ summary .ranges { order: 3; flex-basis: 100%; }
.ranges { margin: 2px 0 0; display: flex; flex-direction: column; gap: 4px; } .ranges div { display: flex; justify-content: space-between; font-size: 15px; } .ranges dt { font-weight: 400; color: var(--muted); } .ranges dd { margin: 0; }
.types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; } .types span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.occ-head { padding: 6px 0 8px; } .occ-head span { font-size: 10px; font-weight: 600; text-overflow: clip; color: var(--muted); }
.occ-row { padding: 10px 0; border-top: 1px solid var(--line); } .occ-row b { display: block; font-weight: 400; color: var(--muted); font-size: 15px; margin-bottom: 4px; }
span.occv a { color: var(--ink); text-decoration: underline dotted; text-underline-offset: 3px; }
/* partners: a picture per spot, the islands beside the chains, credits as three plain columns (Denis 3 Dec: more visual) */
.card.spot { padding: 0; overflow: hidden; gap: 0; } .spot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.spot-words { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; } .spot h3, .spot p { margin: 0; }
.chains { align-items: center; } .chains img { width: 100%; height: auto; max-width: 520px; border-radius: 24px; } .chains h2 { margin: 0; } .chains .tag { align-self: flex-start; }
.cols { display: grid; gap: 14px; } .cols.three { grid-template-columns: repeat(3, 1fr); gap: 24px; } .cols div { display: flex; flex-direction: column; gap: 2px; } .cols span { color: var(--muted); }
.pblock { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; } .pblock h2, .pblock p { margin: 0; } .pblock.split { flex-direction: row; gap: 40px; }
.now-open { margin-top: 8px; } .now-open .cols div { padding-top: 14px; border-top: 2px solid var(--line); }
@media (max-width: 767px) { .pblock { margin-top: 8px; } .pblock.split { flex-direction: column; gap: 18px; } .cols.three { grid-template-columns: 1fr; gap: 14px; } .spot img { aspect-ratio: 16 / 10; } .spot-words { padding: 16px 18px 18px; } }
.card h2 { margin: 0; font-size: 24px; } ul.plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } ul.plain li { display: flex; flex-direction: column; } ul.plain span { color: var(--muted); }
.open-first { gap: 18px; } .card .tag { align-self: flex-start; }
.method .card { gap: 8px; } .method h3, .method p { margin: 0; } .step-n { font-size: 40px; font-weight: 800; line-height: 1; color: var(--muted); }
table.data tr.grp th { padding-top: 18px; font: 800 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
table.data tr.held td { color: var(--muted); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 12px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; font: 800 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
tbody th { font-weight: 700; }
.auction-doc > .card, .auction-doc ~ .card { max-width: 720px; } .auction-doc .steps-table { max-width: 520px; }
.howto { list-style: none; margin: 0; padding: 0; } .howto li { display: grid; grid-template-columns: 1.4em 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; } .howto li > span:first-child { font-weight: 800; }
.steps-table th:last-child, .steps-table td:last-child { text-align: right; padding-right: 0; } .steps-table thead th { font: 800 12px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-top: 0; } td { color: var(--muted); }
.addr code { font: 700 13px/1.5 var(--mono); color: var(--ink); word-spacing: 2px; }
.copy { margin-top: 4px; display: block; border: 0; background: none; padding: 0; font-weight: 800; font-size: 14px; color: var(--primary); cursor: pointer; }
.chain-tabs { display: none; }
.checker { width: 640px; max-width: 100%; }
.checker .search { width: 100%; }
.result { padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.result.ok { background: var(--good-bg); color: var(--good); } .result.bad { background: var(--danger-bg); color: var(--danger); }

@media (max-width: 767px) {
  .nav { padding: 12px 18px; gap: 12px; } .wordmark { font-size: 24px; } .links { display: none; }
  .nav > .btn { margin-left: auto; height: 40px; }
  .menu { display: block; position: relative; } .menu summary { list-style: none; cursor: pointer; font: 800 22px/1 var(--sans); padding: 6px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu div { position: absolute; right: 0; top: 44px; display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--surface);
              border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.18); white-space: nowrap; font-weight: 700; }
  .menu div a { text-decoration: none; }
  .theme-row { width: auto; height: auto; margin: 4px 0 0; gap: 10px; grid-auto-flow: column; justify-content: start; font-weight: 700; } .nav > .theme, .links > .theme { display: none; }
  .hero { height: 300px; } .hero::after { background: linear-gradient(0deg, rgba(var(--scrim), .92) 0, rgba(var(--scrim), .55) 60%, rgba(var(--scrim), .2)); }
  .hero-words { left: 20px; right: 20px; bottom: 26px; gap: 10px; } .hero h1 { font-size: 34px; } .hero p { font-size: 16px; }
  .content { padding: 28px 20px 40px; gap: 26px; } h2 { font-size: 28px; }
  .grid.four, .grid.three, .grid.two { grid-template-columns: 1fr; }
  .method .card { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; row-gap: 2px; padding: 16px 18px; } .method .step-n { grid-row: span 2; font-size: 28px; } .grid.three.method { gap: 10px; }
  .split { flex-direction: column; gap: 18px; } .split > * { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .search, .search.wide { width: 100%; }
  .skin .pic { height: 190px; }
  .steps-col .btn { align-self: stretch; }
  .foot { margin: 0 20px; flex-direction: column; align-items: flex-start; }
  /* data: rows become cards */
  table.data thead { display: none; } table.data tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-top: 1px solid var(--line); }
  table.data th, table.data td { border: 0; padding: 2px 0; } table.data td:nth-child(2) { text-align: right; color: var(--ink); }
  table.data td:nth-child(n+3) { grid-column: 1 / -1; font-size: 15px; }
  table.data tr.grp { display: block; border-top: 0; padding-bottom: 0; }
  table.data td:nth-child(5)::before { content: 'Feeds '; }
  /* addresses: one chain at a time */
  .chain-tabs { display: flex; }
  table.addr thead { display: none; } table.addr tr { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  table.addr th, table.addr td { display: block; border: 0; padding: 2px 0; }
  table.addr td { display: none; } table.addr[data-show="Robinhood"] td[data-chain="Robinhood"], table.addr[data-show="Base"] td[data-chain="Base"], table.addr[data-show="Arbitrum"] td[data-chain="Arbitrum"] { display: block; }
}
[hidden] { display: none !important; }
thead .chain { text-transform: none; letter-spacing: 0; }
/* guide: a section opens in place */
#guideGrid { align-items: start; }
details.section { display: block; scroll-margin-top: 80px; }
.section summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 10px; } .section summary::-webkit-details-marker { display: none; }
.section summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 12px; }
/* Denis 3 Dec: calmer question type, and the + as an icon on the right */
.section summary h3 { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
/* one open/close icon for every fold on the site (FAQ, guide, data lists, contracts); an outline ring reads in both themes */
.section summary h3::after, details.cont summary::after, .table-card summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--control); color: var(--ink); font: 700 18px/1 var(--sans); }
.section[open] summary h3::after, details.cont[open] summary::after, .table-card[open] summary::after { content: "−"; }
.table-card summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0 10px; } .table-card summary::-webkit-details-marker { display: none; }
@media (max-width: 767px) { .section summary h3 { font-size: 17px; } } .section[open] summary { margin-bottom: 12px; }
.rules { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; } .rules li { color: var(--ink); }
/* genesis: the form comes first in the page, so on a phone it is above "How it works"; wide screens keep the steps on the left */
@media (min-width: 768px) { .split.genesis { flex-direction: row-reverse; } }
.section summary .sum { color: var(--muted); }

/* /game/: the game's screens on phones (Denis 28 Nov; the deck's world slide, Pokémon GO and Hay Day bands) */
.game-hero { position: relative; overflow: hidden; background: #14132A; color: #F4F1DE; display: grid; grid-template-columns: 1fr 560px; align-items: center; gap: 32px; padding: 72px 64px 64px; min-height: 640px; }
.game-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,19,42,.94) 0, rgba(20,19,42,.75) 45%, rgba(20,19,42,.25) 100%); }
.game-hero-words { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 560px; }
.game-hero-words .kick { color: #7FC4F0; }
.game-hero h1 { font-size: 60px; line-height: 1.04; letter-spacing: -.025em; }
.game-hero p { font-size: 20px; font-weight: 600; color: #D4ECFA; }
.btn.ghost-light { background: transparent; color: #F4F1DE; border-color: #F4F1DE; }
.game-stage { position: relative; z-index: 2; height: 600px; }
.phone { position: relative; width: 280px; aspect-ratio: 390 / 878; padding: 9px; border-radius: 46px; background: #0D0C1D;
         box-shadow: inset 0 0 0 2px #3A3860, 0 30px 60px rgba(0,0,0,.45); display: flex; flex-direction: column; }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #0D0C1D; z-index: 2; }
.phone-status { height: 34px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 6px 26px 0; background: #F4F1DE; color: #1D1B2E;
                border-radius: 37px 37px 0 0; font: 700 12px/1 var(--sans); }
.phone-status i { width: 34px; height: 10px; border-radius: 3px; border: 1.5px solid #1D1B2E; }
.phone img { display: block; width: 100%; height: auto; flex: 1; min-height: 0; object-fit: cover; object-position: top; border-radius: 0 0 37px 37px; }
.game-stage .phone { position: absolute; }
.game-stage .back { left: 0; top: 40px; transform: rotate(-7deg); }
.game-stage .front { right: 0; top: 0; transform: rotate(5deg); }
.game-stage .pop { position: absolute; right: 120px; bottom: 6px; width: 350px; height: auto; border-radius: 16px; border: 2px solid #1D1B2E;
                   box-shadow: 0 20px 40px rgba(0,0,0,.45); transform: rotate(-3deg); background: #F4F1DE; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.section-head h2, .world-words h2 { font-size: 40px; line-height: 1.08; }
.section-head p { font-size: 18px; color: var(--muted); }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.role { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.role-screen { display: flex; justify-content: center; padding: 28px 20px 0; height: 340px; overflow: hidden; }
.role-own .role-screen { background: #D4ECFA; } .role-build .role-screen { background: #F4F1DE; } .role-run .role-screen { background: #E4DCFF; }
.phone.cut { width: 250px; flex: none; border-radius: 40px 40px 0 0; padding-bottom: 0; box-shadow: inset 0 0 0 2px #3A3860, 0 18px 40px rgba(20,19,42,.25); }
.phone.cut img { border-radius: 0; }
.role-words { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.role-words h3 { font-size: 26px; } .role-sub { font-weight: 700; color: var(--muted); margin: 0; }
.role .rules { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.world-block { display: grid; grid-template-columns: 1fr 360px; align-items: end; gap: 48px; padding: 40px 48px 0; border-radius: 28px; background: linear-gradient(135deg, #2B3A67, #14132A 70%); border: 1px solid #3A3860; color: #F4F1DE; overflow: hidden; }
.world-words { display: flex; flex-direction: column; gap: 16px; padding-bottom: 40px; } .world-words .kick { color: #7FC4F0; }
.world-lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.world-lines li { display: flex; flex-direction: column; gap: 4px; border-top: 2px solid #7FC4F0; padding-top: 12px; }
.world-lines b { font-size: 17px; } .world-lines span { font-size: 15px; color: #D4ECFA; }
.world-words .link { color: #F4F1DE; }
.world-screen { display: flex; justify-content: center; height: 380px; overflow: hidden; }
@media (max-width: 1023px) {
  .game-hero { grid-template-columns: 1fr; min-height: 0; }
  .game-stage { width: 560px; max-width: 100%; margin: 0 auto; }
  .roles { grid-template-columns: 1fr; max-width: 560px; }
  .world-block { grid-template-columns: 1fr; padding: 32px 28px 0; } .world-lines { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .game-hero { grid-template-columns: 1fr; padding: 40px 20px 32px; min-height: 0; }
  .game-hero h1 { font-size: 36px; } .game-hero p { font-size: 17px; }
  .game-stage { height: 470px; max-width: 360px; width: 100%; margin: 0 auto; }
  .game-stage .phone { width: 200px; } .game-stage .back { left: 0; top: 30px; } .game-stage .front { right: 0; }
  .game-stage .pop { width: 260px; right: 40px; bottom: 0; }
  .game-stage .phone::before { width: 58px; height: 18px; top: 14px; } .game-stage .phone-status { padding: 4px 18px 0; font-size: 10px; } .game-stage .phone-status i { width: 24px; height: 8px; }
  .section-head h2, .world-words h2 { font-size: 28px; } .role-screen { height: 300px; } .phone.cut { width: 220px; }
}

/* the cities: cards to discover them, and each city's page (Denis 28 Nov) */
a.card.city { color: inherit; text-decoration: none; gap: 6px; transition: border-color .15s, transform .15s; }
a.card.city:hover { border-color: var(--primary); transform: translateY(-2px); }
.city-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.flag { border-radius: 50%; box-shadow: 0 0 0 1px var(--line); flex: none; }
.tag.tier { background: var(--raised); color: var(--ink); } .tag.tier-1 { background: #FFE9A8; color: #5A4300; } .tag.tier-2 { background: var(--info-bg); color: var(--info-ink); }
.city-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.city-stats div, .facts div, .live div { display: flex; flex-direction: column; gap: 2px; }
.city-stats dt, .facts dt, .live dt { font: 800 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.city-stats dd, .facts dd, .live dd { margin: 0; font-weight: 800; font-size: 17px; }
.facts { margin: 0; } .facts div { padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); } .facts dd { font-size: 28px; }
.facts small { font-size: 15px; color: var(--muted); font-weight: 700; }
.city-badge { display: flex; align-items: center; gap: 10px; }
.net { gap: 16px; } .net h2 { font-size: 26px; } .live { margin: 0; gap: 14px 24px; } .live dd { font-size: 22px; }
@media (max-width: 767px) { .grid.facts, .grid.live { grid-template-columns: repeat(2, 1fr); } .facts dd { font-size: 22px; } .net h2 { font-size: 22px; } }
.net .row-between { flex-wrap: wrap; gap: 12px; }
.hero .city-badge img.flag { position: static; inset: auto; width: 44px; height: 44px; object-fit: contain; }
/* the cities grid fills the width with cards of at least 250 px, so it never runs wider than the page (Marko r1, 768-1257 px) */
#cityGrid { grid-template-columns: repeat(auto-fill, minmax(max(280px, calc((100% - 48px) / 4)), 1fr)); }  /* at most four across, so "Population" fits on one line */
.city-stats div { min-width: 0; } .city-stats dt { overflow-wrap: anywhere; }

/* the game's world map, framed from the app */
.world-frame { border-radius: 28px; overflow: hidden; background: #14132A; border: 1px solid var(--line); }
.world-frame iframe { display: block; width: 100%; height: min(78vh, 760px); min-height: 520px; border: 0; }
@media (max-width: 767px) { .world-frame { border-radius: 20px; } .world-frame iframe { height: 72vh; min-height: 480px; } }

/* the partners banner under the roadmap (Denis 3 Dec): the deck's city gate as on home, kept light, with two ways in to /partners/ */
.partners-banner { position: relative; display: flex; align-items: center; min-height: 300px; border-radius: 26px; overflow: hidden; color: #fff; }
.partners-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.partners-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,16,40,.92) 0%, rgba(14,16,40,.6) 45%, rgba(14,16,40,0) 70%); z-index: 1; }
.pb-words { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 36px 40px; max-width: 560px; }
.pb-words > b { font-size: 32px; line-height: 1.1; } .pb-words > span:not(.kick) { color: rgba(255,255,255,.85); font-size: 17px; }
.pb-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.partners-banner .btn.secondary { color: #fff; border-color: rgba(255,255,255,.7); }
@media (max-width: 767px) {
  .partners-banner { flex-direction: column; align-items: stretch; min-height: 0; background: #1b1d3f; } .partners-banner::before { display: none; }
  .partners-banner > img { position: relative; height: 170px; object-position: 50% 45%; }
  .pb-words { padding: 20px 20px 22px; } .pb-words > b { font-size: 26px; } .pb-options { flex-direction: column; align-self: stretch; } .pb-options .btn { text-align: center; }
}
/* Game speed chart on /game/ (decision game-speed-floor-2x) */
.speed-block { display: flex; flex-direction: column; gap: 24px; }
.speed-chart { width: 100%; max-width: 760px; height: auto; color: var(--focus); }
.sp-axis { stroke: var(--line); stroke-width: 2; }
.sp-bar { fill: var(--focus); } .sp-mid { fill-opacity: .7; } .sp-fade { fill: url(#speedFade); opacity: .5; }
.sp-big { font: 900 44px/1 var(--serif); fill: var(--on-primary); } .sp-big-2 { font-size: 30px; fill: var(--ink); }
.sp-tick { font: 700 14px/1 var(--sans); fill: var(--muted); }
.speed-lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 760px; }
.speed-lines li { display: flex; flex-direction: column; gap: 4px; border-top: 2px solid var(--focus); padding-top: 12px; }
.speed-lines b { font-size: 17px; } .speed-lines span { font-size: 15px; color: var(--muted); }
@media (max-width: 767px) { .speed-lines { grid-template-columns: 1fr; } .sp-tick { font-size: 22px; } }
