/* Map Rumble public site. Plain CSS, mobile-first. Tokens follow the studio palette (MapRumble/web/visual.js). */
@font-face { font-family: 'Barlow'; src: url(../fonts/Barlow-Regular.ttf) format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/BarlowCondensed-SemiBold.ttf) format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #0b1824; --board: #0c1a2a; --deep: #07121b; --paper: #f5f1e8; --dim: #aebcc4; --mute: #7f94a0;
  --slate: #344c5a; --gold: #f3c45f; --teal: #5ee6dc; --coral: #ff9a80; --orange: #f26729;
  --surface: #11212f; --surface-2: #162a3a; --line: rgba(174, 188, 196, .16); --line-strong: rgba(174, 188, 196, .32);
  --orange-ink: #1a0b03; --radius: 14px; --radius-sm: 9px;
  --head: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif; --body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --gutter: 16px; --max: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--body); font-size: 17px; line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(900px 500px at 85% -10%, rgba(242, 103, 41, .16), transparent 60%),
  radial-gradient(700px 420px at -10% 20%, rgba(94, 230, 220, .08), transparent 60%),
  linear-gradient(180deg, var(--board), var(--ink) 45%, var(--deep)); }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: 1; margin: 0 0 .4em; color: var(--paper); }
h1 { font-size: clamp(40px, 9vw, 76px); letter-spacing: -.005em; }
h2 { font-size: clamp(30px, 6vw, 46px); }
h3 { font-size: clamp(22px, 4vw, 28px); }
h4 { font-size: 20px; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--dim); max-width: 60ch; }
.muted { color: var(--mute); }
.dim { color: var(--dim); }
.small { font-size: 14px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
main { flex: 1; }
.layout > *, .dgrid > *, .grid > *, .podium > *, .fgrid > *, .hero-grid > *, .tiers > *, .steps > *, .stats > *, .foot-grid > * { min-width: 0; }
section.block { padding: 48px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.eyebrow { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--orange); margin: 0 0 10px; }
.eyebrow.quiet { color: var(--mute); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(7, 18, 27, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 26px; width: auto; }
.nav { display: flex; gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.nav::-webkit-scrollbar { display: none; }
.nav a { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 16px; color: var(--dim); padding: 10px 11px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: var(--paper); text-decoration: none; background: rgba(255, 255, 255, .04); }
.nav a[aria-current="page"] { color: var(--paper); box-shadow: inset 0 -3px 0 var(--orange); }
.nav a.cta { color: var(--orange-ink); background: var(--orange); margin-left: 6px; }
.nav a.cta:hover { background: #ff7a3c; }
@media (max-width: 760px) {
  .top-row { flex-wrap: wrap; padding: 8px 0 0; row-gap: 2px; }
  .logo { padding: 2px 0 6px; }
  .nav { width: 100vw; padding-bottom: 6px; }
  .nav a { font-size: 15px; padding: 8px 9px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 18px; line-height: 1; padding: 14px 22px; border-radius: 11px; border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .12s ease, background .12s ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--orange-ink); }
.btn-primary:hover { background: #ff7a3c; }
.btn-ghost { border-color: var(--line-strong); color: var(--paper); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); }
.btn-gold { background: var(--gold); color: #2a1d00; }
.btn-gold:hover { background: #ffd271; }
.btn-sm { font-size: 15px; padding: 10px 14px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero .lockup { width: min(640px, 92%); height: auto; margin-bottom: 28px; }
.hero .lockup.stacked { width: min(520px, 88%); }
.hero h1 { max-width: 12ch; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { margin-bottom: 26px; }
.hero-grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .hero { padding: 72px 0 56px; } .hero-grid { grid-template-columns: 1.2fr .8fr; } }
.flag-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.flag-wall img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; border-radius: 6px; background: var(--surface); box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.flag-wall img:nth-child(odd) { transform: rotate(-1.2deg); }
.flag-wall img:nth-child(3n) { transform: rotate(1.4deg); }
@media (min-width: 900px) { .flag-wall { grid-template-columns: repeat(4, 1fr); gap: 12px; } }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 14px; }
.stat b { display: block; font-family: var(--head); font-weight: 600; font-size: clamp(34px, 6vw, 46px); line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; }
.stat b.orange { color: var(--orange); }
.stat b.teal { color: var(--teal); }
.stat b.gold { color: var(--gold); }
.stat span { display: block; margin-top: 6px; color: var(--mute); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--head); font-weight: 600; }

/* Cards and grids */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card.pad-lg { padding: 28px; }
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.steps { counter-reset: step; display: grid; gap: 12px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--head); font-weight: 600; color: var(--orange); font-size: 30px; line-height: 1; display: block; margin-bottom: 8px; }
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--dim); font-size: 15px; }

/* Chips and badges */
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; font-size: 12.5px; line-height: 1; padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--dim); white-space: nowrap; }
.chip.type-Forge { color: #ffb48f; border-color: rgba(242, 103, 41, .55); background: rgba(242, 103, 41, .12); }
.chip.type-Supply { color: var(--gold); border-color: rgba(243, 196, 95, .5); background: rgba(243, 196, 95, .1); }
.chip.type-Route { color: var(--teal); border-color: rgba(94, 230, 220, .5); background: rgba(94, 230, 220, .1); }
.chip.type-Fortress { color: #c8d6de; border-color: rgba(174, 188, 196, .5); background: rgba(174, 188, 196, .1); }
.chip.type-Alliance { color: var(--coral); border-color: rgba(255, 154, 128, .5); background: rgba(255, 154, 128, .1); }
.chip.status-verified { color: var(--teal); border-color: rgba(94, 230, 220, .45); }
.chip.status-pending { color: var(--gold); border-color: rgba(243, 196, 95, .45); }
.chip.status-draft { color: var(--coral); border-color: rgba(255, 154, 128, .45); }
.chip.kind-sea { color: var(--teal); }
.chip.land { color: var(--dim); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* Flags */
.flag { aspect-ratio: 3 / 2; width: 100%; object-fit: contain; background: #0a1521; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.flag.emblem { object-fit: contain; padding: 8%; }

/* Faction grid */
.toolbar { display: grid; gap: 10px; margin: 18px 0 22px; }
.toolbar .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search { position: relative; }
.search input { width: 100%; font: 400 17px var(--body); color: var(--paper); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px 13px 42px; }
.search::before { content: ''; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); border: 2px solid var(--mute); border-radius: 50%; box-sizing: border-box; }
.search::after { content: ''; position: absolute; left: 26px; top: calc(50% + 5px); width: 7px; height: 2px; background: var(--mute); transform: rotate(45deg); }
input, select, textarea { font: 400 17px var(--body); color: var(--paper); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 12px; }
input::placeholder, textarea::placeholder { color: var(--mute); }
select { appearance: none; -webkit-appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg button { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--dim); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 13px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.count { color: var(--mute); font-size: 15px; }
.fgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .fgrid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 900px) { .fgrid { grid-template-columns: repeat(4, 1fr); } }
.fcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--paper); text-decoration: none !important; transition: transform .12s ease, border-color .12s ease; }
.fcard:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.fcard .flag { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.fcard .body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fcard h3 { font-size: 22px; margin: 0; letter-spacing: 0; line-height: .95; }
.fcard .country { color: var(--mute); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--head); font-weight: 600; }
.fcard .pop { color: var(--dim); font-size: 14px; }
.fcard .special { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--dim); }
.fcard .special b { display: block; color: var(--paper); font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 16px; }
.fcard .chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.fcard .chip { font-size: 11px; padding: 5px 7px; }
.fcard .basis { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: var(--mute); margin-top: 3px; }
.mini-ratings { display: flex; align-items: center; gap: 3px; margin: 2px 0 4px; }
.mini-ratings .mr { flex: 1; height: 5px; background: rgba(255, 255, 255, .07); border-radius: 999px; overflow: hidden; }
.mini-ratings .mr i { display: block; height: 100%; width: var(--v, 50%); background: var(--slate); }
.mini-ratings small { font-size: 11px; color: var(--mute); margin-left: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 559px) { .mini-ratings small { display: none; } .fcard h3 { font-size: 19px; } .fcard .body { padding: 10px 10px 12px; } }
.empty { padding: 40px 20px; text-align: center; color: var(--mute); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* Detail dialog */
.detail { position: fixed; inset: 0; z-index: 60; background: rgba(7, 18, 27, .9); overflow-y: auto; -webkit-overflow-scrolling: touch; display: none; }
.detail[open] { display: block; }
.detail .panel { max-width: 980px; margin: 0 auto; min-height: 100%; background: var(--board); border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0 var(--gutter) 60px; }
.detail .panel-head { position: sticky; top: 0; z-index: 2; background: rgba(12, 26, 42, .95); backdrop-filter: blur(8px); display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0 calc(-1 * var(--gutter)) 18px; padding-left: var(--gutter); padding-right: var(--gutter); }
.detail .panel-head .crumbs { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--mute); }
.close { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--paper); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.dgrid { display: grid; gap: 22px; }
@media (min-width: 820px) { .dgrid { grid-template-columns: 1fr 1.25fr; gap: 32px; } }
.dhead h2 { font-size: clamp(36px, 8vw, 60px); letter-spacing: -.005em; margin-bottom: 6px; }
.dhead .country { color: var(--orange); font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 15px; margin: 14px 0; }
.kv dt { color: var(--mute); margin: 0; }
.kv dd { margin: 0; color: var(--paper); }
.ratings { display: grid; gap: 8px; margin: 10px 0; }
.rating { display: grid; grid-template-columns: 110px minmax(0, 1fr) 64px; gap: 10px; align-items: center; font-size: 14px; }
.rating .bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.rating .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--slate), var(--dim)); }
.rating .val { text-align: right; color: var(--dim); font-variant-numeric: tabular-nums; }
.rating .w { color: var(--mute); font-size: 12px; }
.borders { display: flex; flex-wrap: wrap; gap: 6px; }
.borders a { font-size: 14px; color: var(--paper); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; }
.borders a.sea { border-style: dashed; color: var(--teal); }
.borders a:hover { text-decoration: none; border-color: var(--line-strong); }
.special-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.special-box h3 { margin-bottom: 4px; }
.special-box .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.source { word-break: break-word; font-size: 14px; }
.cta-box { background: linear-gradient(135deg, rgba(242, 103, 41, .16), rgba(243, 196, 95, .08)); border: 1px solid rgba(242, 103, 41, .45); border-radius: var(--radius); padding: 18px; }
.cta-box h3 { color: var(--orange); }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--mute); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table { min-width: 520px; }
tr.me td { background: rgba(242, 103, 41, .08); }
.rank { color: var(--orange); font-family: var(--head); font-weight: 600; font-size: 18px; }
.cellflag { width: 44px; height: 30px; object-fit: contain; background: #0a1521; border-radius: 4px; vertical-align: middle; margin-right: 8px; display: inline-block; }

/* Prose */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.2em; scroll-margin-top: 90px; }
.prose p, .prose li { color: var(--dim); }
.prose strong, .prose b { color: var(--paper); font-weight: 400; font-family: var(--head); font-size: 1.05em; letter-spacing: .02em; }
.prose code, code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: rgba(255, 255, 255, .07); padding: 2px 6px; border-radius: 6px; color: var(--paper); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: .35em; }
.formula { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; overflow-x: auto; color: var(--paper); margin: 14px 0; line-height: 1.6; }
.formula b { color: var(--gold); font-weight: 400; }
.callout { border-left: 4px solid var(--orange); background: rgba(242, 103, 41, .08); padding: 14px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 16px 0; }
.callout.teal { border-color: var(--teal); background: rgba(94, 230, 220, .07); }
.callout.gold { border-color: var(--gold); background: rgba(243, 196, 95, .08); }
.callout p:last-child { margin-bottom: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.toc a { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--dim); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 12px; }
.toc a:hover { color: var(--paper); text-decoration: none; }
.layout { display: grid; gap: 28px; }
@media (min-width: 980px) { .layout { grid-template-columns: 1fr 360px; align-items: start; } .layout .side { position: sticky; top: 84px; } }

/* Counter chart */
.counter-chart { display: grid; gap: 8px; }
.counter { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; }
.counter .arrow { color: var(--orange); font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.counter .reason { grid-column: 1 / -1; color: var(--mute); font-size: 13px; }
.weights { display: grid; gap: 6px; }
.weight { display: grid; grid-template-columns: 110px minmax(0, 1fr) 48px; gap: 10px; align-items: center; font-size: 14px; }
.weight .bar { height: 12px; background: rgba(255, 255, 255, .07); border-radius: 999px; overflow: hidden; }
.weight .bar i { display: block; height: 100%; background: var(--orange); }
.weight .val { text-align: right; color: var(--dim); font-variant-numeric: tabular-nums; }

/* Odds calculator */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.calc .sides { display: grid; gap: 12px; }
@media (min-width: 680px) { .calc .sides { grid-template-columns: 1fr auto 1fr; align-items: end; } }
.calc label { display: block; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--mute); margin-bottom: 6px; }
.calc select, .calc input { width: 100%; }
.calc .vs { text-align: center; font-family: var(--head); font-weight: 600; font-size: 22px; color: var(--mute); padding-bottom: 8px; }
.oddsline { position: relative; height: 34px; border-radius: 999px; overflow: hidden; background: var(--coral); margin: 18px 0 6px; }
.oddsline i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--teal); }
.oddsline b { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; font-family: var(--head); font-weight: 600; font-size: 18px; color: #06201f; padding: 0 12px; font-variant-numeric: tabular-nums; }
.oddsline b.left { left: 0; }
.oddsline b.right { right: 0; color: #3a1409; }
.rounds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.round { background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 6px; text-align: center; }
.round small { display: block; color: var(--mute); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-family: var(--head); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.round b { display: block; font-family: var(--head); font-weight: 600; font-size: 20px; color: var(--teal); font-variant-numeric: tabular-nums; }
.round b.def { color: var(--coral); }
.calc .mods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sidenames { display: flex; justify-content: space-between; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.sidenames .att { color: var(--teal); }
.sidenames .def { color: var(--coral); }

/* Fan power */
.tiers { display: grid; gap: 12px; }
@media (min-width: 700px) { .tiers { grid-template-columns: 1fr 1fr; } }
.tier { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; cursor: pointer; position: relative; }
.tier[aria-pressed="true"] { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242, 103, 41, .18); }
.tier.guarantee[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(243, 196, 95, .18); }
.tier .price { font-family: var(--head); font-weight: 600; font-size: 40px; line-height: 1; color: var(--paper); }
.tier .price small { font-size: 18px; color: var(--mute); }
.tier h3 { font-size: 24px; margin: 8px 0 4px; }
.tier p { margin: 0; color: var(--dim); font-size: 15px; }
.tier .tag { position: absolute; top: 14px; right: 14px; }
.tiergrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
@media (min-width: 560px) { .tiergrid { grid-template-columns: repeat(5, 1fr); } }
.tierbtn { font-family: var(--body); color: var(--paper); background: var(--surface); border: 2px solid var(--line); border-radius: 12px; padding: 12px 8px; cursor: pointer; text-align: center; display: grid; gap: 3px; transition: border-color .12s ease, transform .12s ease; }
.tierbtn b { font-family: var(--head); font-weight: 600; font-size: 26px; line-height: 1; }
.tierbtn span { font-size: 12.5px; color: var(--dim); line-height: 1.2; }
.tierbtn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.tierbtn[aria-pressed="true"] { border-color: var(--orange); background: rgba(242, 103, 41, .12); box-shadow: 0 0 0 3px rgba(242, 103, 41, .18); }
.tierbtn.win b { color: var(--gold); }
.tierbtn.win[aria-pressed="true"] { border-color: var(--gold); background: rgba(243, 196, 95, .1); box-shadow: 0 0 0 3px rgba(243, 196, 95, .18); }
.fcard .why { display: grid; gap: 3px; margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--mute); line-height: 1.35; }
.fcard .why b { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; color: var(--orange); }
.fcard .why .fact { color: var(--dim); }
.fcard .why .num { color: var(--dim); }
.tierbtn[disabled] { opacity: .3; cursor: not-allowed; transform: none; }
.pool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-top: 12px; }
.pool .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; color: var(--dim); }
.pool .meta b { font-family: var(--head); font-weight: 600; font-size: 24px; color: var(--paper); font-variant-numeric: tabular-nums; }
.poolbar { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 8px 0 6px; }
.poolbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--gold)); border-radius: 999px; transition: width .3s ease; }
.poolbar.rebel i { background: linear-gradient(90deg, var(--coral), var(--gold)); }
.poolbar.spent i { background: var(--slate); }
.pool .status { font-size: 14px; color: var(--mute); }
.pool .status.full { color: var(--gold); }
.pool .status.spent { color: var(--dim); }
.pool .status.rebel { color: var(--coral); }
.lb li .sub { display: block; font-size: 12px; color: var(--mute); }
.lb li .bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 4px; }
.lb li .bar i { display: block; height: 100%; background: var(--orange); }
.supporters li { grid-template-columns: 44px 1fr auto; }
.supporters li q { color: var(--paper); font-style: italic; quotes: '“' '”'; }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.amounts button { font-family: var(--head); font-weight: 600; font-size: 17px; color: var(--paper); background: var(--deep); border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 14px; cursor: pointer; min-width: 60px; }
.amounts button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.amounts .custom { display: inline-flex; align-items: center; gap: 6px; }
.amounts .custom input { width: 92px; padding: 9px 10px; font-size: 17px; }
.effect { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 18px; color: var(--teal); margin-top: 10px; }
.effect.guaranteed { color: var(--gold); }
.picker { position: relative; }
.picker-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: var(--board); border: 1px solid var(--line-strong); border-radius: 12px; max-height: 320px; overflow-y: auto; display: none; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.picker-list[data-open="true"] { display: block; }
.picker-list button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--paper); font: 400 16px var(--body); padding: 9px 12px; cursor: pointer; }
.picker-list button:hover, .picker-list button[aria-selected="true"] { background: rgba(255, 255, 255, .06); }
.picker-list img { width: 36px; height: 24px; object-fit: contain; background: #0a1521; border-radius: 3px; flex: 0 0 auto; }
.picker-list small { color: var(--mute); margin-left: auto; font-size: 13px; }
.chosen { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-top: 12px; }
.chosen img { width: 72px; height: 48px; object-fit: contain; background: #0a1521; border-radius: 6px; flex: 0 0 auto; }
.chosen b { font-family: var(--head); font-weight: 600; text-transform: uppercase; font-size: 22px; line-height: 1; display: block; }
.chosen span { color: var(--mute); font-size: 14px; }
.summary { background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary .line:last-of-type { border: 0; }
.summary .line b { font-family: var(--head); font-weight: 600; font-size: 18px; text-transform: uppercase; }
.summary .total { font-family: var(--head); font-weight: 600; font-size: 34px; color: var(--paper); margin: 8px 0 12px; }
.notice { font-size: 14px; color: var(--mute); }
.prepay { margin-top: 14px; display: grid; gap: 8px; font-size: 12.5px; color: var(--mute); line-height: 1.45; }
.prepay p { margin: 0; }
.prepay b { color: var(--dim); font-weight: 400; font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.foot .seller { display: block; margin-top: 6px; }
textarea { width: 100%; min-height: 76px; resize: vertical; }
.field { display: grid; gap: 6px; margin-top: 14px; }
.field label { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--mute); }
.field .hint { color: var(--mute); font-size: 13px; text-align: right; }
.stepnum { font-family: var(--head); font-weight: 600; color: var(--orange); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }

/* Standings */
.board-head { display: grid; gap: 14px; margin-bottom: 20px; }
@media (min-width: 760px) { .board-head { grid-template-columns: 1fr 1fr; } }
.podium { display: grid; gap: 12px; }
@media (min-width: 760px) { .podium { grid-template-columns: 1fr 1fr; } }
.lb { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.lb h3 { font-size: 20px; margin-bottom: 10px; }
.lb ol { list-style: none; padding: 0; margin: 0; }
.lb li { display: grid; grid-template-columns: 28px 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lb li:last-child { border: 0; }
.lb li img { width: 44px; height: 30px; object-fit: contain; background: #0a1521; border-radius: 4px; }
.lb li .val { font-family: var(--head); font-weight: 600; font-size: 18px; color: var(--paper); font-variant-numeric: tabular-nums; }
.lb .none { color: var(--mute); font-size: 14px; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 8px; }
summary { cursor: pointer; padding: 14px 16px; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--orange); font-size: 24px; line-height: 1; }
details[open] summary::after { content: '−'; }
details .a { padding: 0 16px 14px; color: var(--dim); }
details .a p:last-child { margin-bottom: 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; margin-top: 56px; color: var(--mute); font-size: 14px; background: rgba(7, 18, 27, .6); }
.foot-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot img { height: 24px; width: auto; margin-bottom: 12px; }
.foot h4 { font-size: 15px; letter-spacing: .1em; color: var(--dim); margin-bottom: 8px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 6px; }
.foot a { color: var(--dim); }
.foot .legal { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 14px; }
.social a:hover { text-decoration: none; border-color: var(--paper); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--paper); color: var(--ink); border-radius: 10px; padding: 12px 16px; font-size: 15px; z-index: 80; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); max-width: calc(100% - 32px); }
.banner { background: rgba(243, 196, 95, .12); border: 1px solid rgba(243, 196, 95, .4); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 15px; color: var(--paper); }
.banner.orange { background: rgba(242, 103, 41, .1); border-color: rgba(242, 103, 41, .45); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .fcard { transition: none; } }

/* Season map */
.map-head { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 900px) { .map-head { grid-template-columns: 1fr auto; align-items: end; } }
.map-tools { display: grid; gap: 10px; }
@media (min-width: 600px) { .map-tools { grid-template-columns: auto 1fr; align-items: center; } }
.map-tools .search input { padding-top: 11px; padding-bottom: 11px; }
.map-layout { display: grid; gap: 14px; }
@media (min-width: 980px) { .map-layout { grid-template-columns: 1fr 360px; align-items: start; } }
.map-stage { position: relative; background: #0a1521; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; touch-action: none; height: min(72vh, 760px); min-height: 380px; }
#map-svg { width: 100%; height: 100%; display: block; cursor: grab; }
#map-svg:active { cursor: grabbing; }
.terr { stroke: #07121b; stroke-width: .7px; transition: filter .12s ease; }
.terr:hover { filter: brightness(1.15); }
.terr.sel { stroke: var(--gold); stroke-width: 2.4px; filter: brightness(1.12); }
.terr.hl { stroke: var(--teal); stroke-width: 2px; }
.terr.marker { stroke: #07121b; stroke-width: 1px; }
.inset-box { fill: rgba(7, 18, 27, .75); stroke: var(--slate); stroke-width: 1px; stroke-dasharray: 4 4; }
.inset-label { fill: var(--mute); font-family: var(--head); font-weight: 600; font-size: 11px; letter-spacing: .12em; }
.map-zoom { position: absolute; right: 10px; top: 10px; display: grid; gap: 6px; }
.map-zoom button { width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line-strong); background: rgba(12, 26, 42, .92); color: var(--paper); font: 600 20px var(--head); cursor: pointer; }
.map-zoom button:hover { background: var(--surface-2); }
.map-hint { position: absolute; left: 10px; bottom: 8px; margin: 0; font-size: 12px; color: var(--mute); background: rgba(7, 18, 27, .7); padding: 4px 8px; border-radius: 6px; pointer-events: none; }
.map-side { display: grid; gap: 12px; }
.map-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 16px; max-height: min(72vh, 760px); overflow-y: auto; }
.map-panel .panel-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.map-panel .crumbs { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--mute); }
.map-panel .panel-flag .flag { max-height: 150px; }
.map-panel h2 { font-size: 34px; margin: 2px 0 6px; }
.map-panel .country { color: var(--orange); font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin-top: 10px; }
.map-panel .kv { margin: 8px 0; font-size: 14px; }
.map-panel .thumb { width: 28px; height: 18px; object-fit: cover; vertical-align: middle; border-radius: 3px; margin-left: 6px; }
.map-panel .special-box { padding: 12px 14px; margin: 10px 0; }
.map-panel .special-box h3 { font-size: 22px; }
.map-panel .rating { grid-template-columns: 96px minmax(0, 1fr) 52px; font-size: 13px; }
.map-panel .pool { margin-top: 10px; }
@media (max-width: 979px) { .map-panel { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 50; max-height: 58vh; box-shadow: 0 -10px 40px rgba(0, 0, 0, .5); } }
.legend { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.legend h3 { font-size: 20px; margin-bottom: 8px; }
.legend-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; }
.legend-list button { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; width: 100%; background: none; border: 0; color: var(--paper); font: 400 15px var(--body); padding: 5px 4px; border-radius: 8px; cursor: pointer; text-align: left; }
.legend-list button:hover { background: rgba(255, 255, 255, .05); }
.legend-list b { font-family: var(--head); font-weight: 600; font-size: 17px; }
.sw { display: inline-block; width: 34px; height: 22px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); vertical-align: middle; flex: 0 0 auto; }
.sw img { width: 100%; height: 100%; object-fit: cover; display: block; }
#map-results button .sw { width: 28px; height: 18px; margin-right: 8px; }

/* Sponsors, terms, forms and faction follow */
h1 em, h2 em { font-style: normal; color: var(--orange); }
.legal { font-size: 13px; color: var(--mute); }
.legal a { color: var(--dim); }
.stats.five .stat:last-child { grid-column: span 2; }
@media (min-width: 720px) { .stats.five { grid-template-columns: repeat(5, 1fr); } .stats.five .stat:last-child { grid-column: auto; } }
.stat b.word { font-size: clamp(26px, 5vw, 34px); letter-spacing: .02em; padding-top: 6px; }
.updated { margin-top: 12px; font-size: 13px; color: var(--mute); font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.notes { margin: 14px 0 0; padding: 0; list-style: none; max-width: 72ch; }
.notes li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 15px; }
.ratecard { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 720px) { .ratecard { grid-template-columns: repeat(3, 1fr); } }
.rate { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; }
.rate .eyebrow { margin-bottom: 0; }
.rate .price { font-family: var(--head); font-weight: 600; font-size: clamp(38px, 7vw, 50px); line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; }
.rate .price small { font-size: 16px; color: var(--mute); letter-spacing: .04em; }
.rate .price.word { font-size: clamp(26px, 5vw, 34px); padding-top: 8px; }
.rate p { margin: 0; color: var(--dim); font-size: 15px; }
.rate.title { border-color: rgba(243, 196, 95, .45); }
.rate.title .price { color: var(--gold); }
.twocol { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 680px) { .twocol { grid-template-columns: 1fr 1fr; } }
.card.get { border-top: 3px solid var(--gold); }
.card.never { border-top: 3px solid var(--coral); }
.card .plain { list-style: none; padding: 0; margin: 0; }
.card .plain li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 15px; }
.card .plain li:first-child { border-top: 0; padding-top: 0; }
.card.get h3 { color: var(--gold); }
.card.never h3 { color: var(--coral); }
.kv.labels { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
.kv.labels dt { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--orange); padding-top: 10px; border-top: 1px solid var(--line); }
.kv.labels dd { font-size: 16px; }
@media (min-width: 680px) { .kv.labels { grid-template-columns: 220px 1fr; gap: 0 18px; } .kv.labels dt, .kv.labels dd { padding: 10px 0; border-top: 1px solid var(--line); } }
.form { max-width: 720px; }
.form .field { margin-top: 14px; }
.form input, .form select, .form textarea { width: 100%; }
.form-row { display: grid; gap: 0 14px; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; padding: 0; flex: 0 0 auto; accent-color: var(--orange); }
.check label { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--dim); line-height: 1.45; }
.form .actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hp { display: none; }
.follow { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; margin-top: 32px; }
.follow h3 { font-size: 26px; margin-bottom: 4px; }
.follow p { margin: 0; color: var(--dim); font-size: 15px; }
.follow .row { display: grid; gap: 10px; margin-top: 14px; }
.follow .row .field { margin-top: 0; }
.follow .row input, .follow .row select { width: 100%; }
@media (min-width: 680px) { .follow .row { grid-template-columns: 1fr 1fr auto; align-items: end; } .follow .row.one { grid-template-columns: 1fr auto; } }
.follow .consent { margin-top: 12px; }
.follow .legal { margin-top: 12px; }
/* Dossier (factions.html#ID): what the episode's pre-battle card promises */
.rankchip { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .06em; color: var(--gold); border: 1px solid rgba(243, 196, 95, .45); border-radius: 999px; padding: 3px 8px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.chip.gold { color: var(--gold); border-color: rgba(243, 196, 95, .5); background: rgba(243, 196, 95, .1); }
.sechead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 22px 0 6px; }
.sechead h3 { margin: 0; }
.detail section, .detail .special-box, .detail .cta-box { scroll-margin-top: 70px; }
.detail section { margin-top: 22px; }
.detail .kv dd .muted { font-size: 14px; }
.dnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.dnav button { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: var(--dim); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 11px; cursor: pointer; }
.dnav button:hover { color: var(--paper); border-color: var(--paper); }
.special-box .basis { font-size: 17px; color: var(--paper); margin: 4px 0 10px; }
.kv.small { font-size: 14px; margin: 10px 0; gap: 6px 12px; }
.rating .lab { min-width: 0; }
.rating.special .bar { overflow: visible; }
.rating.special .bar i { border-radius: 999px 0 0 999px; }
.rating.special .bar em { position: absolute; top: 0; bottom: 0; background: var(--gold); border-radius: 0 999px 999px 0; }
.rating.special .bar small { position: absolute; top: -1px; line-height: 12px; font-family: var(--head); font-weight: 600; font-size: 10px; letter-spacing: .1em; color: var(--gold); white-space: nowrap; }
.rating .bar { position: relative; }
.rating.special .val b { color: var(--gold); font-family: var(--head); font-weight: 600; font-size: 15px; white-space: nowrap; }
.rating .summary { grid-column: 1 / -1; font-size: 13.5px; color: var(--dim); margin: -2px 0 4px; }
.ratings.compact .rating { grid-template-columns: 96px minmax(0, 1fr) 60px; font-size: 13px; }
.sources { padding-left: 18px; margin: 0; font-size: 14px; color: var(--dim); }
.sources li { margin-bottom: 4px; }
.songs { list-style: none; counter-reset: song; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.songs li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; counter-increment: song; }
.songs li::before { content: counter(song); grid-column: 1; grid-row: 1 / span 2; font-family: var(--head); font-weight: 600; font-size: 20px; color: var(--orange); }
.songs li b { grid-column: 2; grid-row: 1; font-family: var(--head); font-weight: 600; font-size: 18px; letter-spacing: .01em; color: var(--paper); line-height: 1.05; }
.songs li .by { grid-column: 2; grid-row: 2; font-size: 14px; color: var(--dim); }
.songs li .chip { grid-column: 3; grid-row: 1 / span 2; font-size: 11px; }
@media (max-width: 480px) {
  .songs li .chip { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 4px; }
  .rating { grid-template-columns: 88px minmax(0, 1fr) 60px; gap: 8px; }
  .ratings.compact .rating { grid-template-columns: 84px minmax(0, 1fr) 56px; }
}
.mini-ratings .mr.top i { background: var(--gold); }
.fcard .why .more { color: var(--teal); font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; margin-top: 2px; }
.detail code { font-size: .85em; }
.kv dd { min-width: 0; overflow-wrap: anywhere; }
/* Dossier grid: flag, then the facts, then fan power on a phone; on wider screens the flag and the fan power box stack beside the facts. */
.dgrid.dossier { grid-template-areas: "flag" "main" "fan"; }
.dgrid.dossier .dflag { grid-area: flag; }
.dgrid.dossier .dmain { grid-area: main; }
.dgrid.dossier .dfan { grid-area: fan; }
@media (min-width: 820px) { .dgrid.dossier { grid-template-areas: "flag main" "fan main"; grid-template-rows: auto 1fr; align-items: start; } }
.rating .lab .w { white-space: nowrap; }

/* No third-party badges, ever (Netlify's 'Powered by' widget is off in the dashboard; this keeps it off if that ever flips). */
#nl-badge-frame, iframe[id^="nl-badge"], iframe[src*="netlify.com/badge"], [data-nf-variant], [class*="nl-badge"] { display: none !important; visibility: hidden !important; }
