/* Synkrift: Ivory & Gold, "Strike" (angular cuts, oversized type, tilted bands).
   Every colour comes from the design system's tokens below; the two themes share the same names.
   Fonts are served from this site: no third-party requests from visitors. */

@font-face { font-family: "Archivo Black"; src: url("fonts/archivo-black-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* Ivory: the default, and the advertising look. */
:root {
    --ground: #F5F0E6; --surface: #FFFFFF; --surface-hover: #FAF6EE;
    --line: #E4DAC6; --line-strong: #8F826A;
    --ink: #1A1408; --ink-muted: #6E6350;
    --gold: #E0A82E; --gold-hover: #CF9A24; --gold-deep: #8C6A1E; --on-gold: #1A1408;
    --link: #7A5A14; --focus: #7A5A14; --success: #1A7A4C; --danger: #B3261E; --on-danger: #FFFFFF;
    /* The tilted band and other "inverted" blocks: ink on ivory, ivory on black. */
    --band: #1A1408; --on-band: #F5F0E6; --band-muted: #CFC6B4; --band-accent: #FFD25A; --band-line: #4A453C;
    --mark-up: #E0A82E; --mark-low: #8C6A1E;
    --font-display: "Archivo Black", "Arial Black", sans-serif;
    --font-text: Archivo, "Segoe UI", system-ui, sans-serif;
    --cut: 14px;
    color-scheme: light;
}
/* Black & Gold: the visitor's choice (the moon button), or their system's dark mode when they haven't chosen. */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="ivory"]) {
        --ground: #0C0C0C; --surface: #1A1A1A; --surface-hover: #232323;
        --line: #2C2A26; --line-strong: #7A746A;
        --ink: #F5F0E6; --ink-muted: #A8A296;
        --gold: #FFD25A; --gold-hover: #FFDF85; --gold-deep: #B8862A; --on-gold: #1A1408;
        --link: #FFD25A; --focus: #FFD25A; --success: #3DD68C; --danger: #FF6B5E; --on-danger: #1A1408;
        --band: #F5F0E6; --on-band: #1A1408; --band-muted: #5C5340; --band-accent: #7A5A14; --band-line: #C9BEA8;
        --mark-up: #FFD25A; --mark-low: #B8862A;
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --ground: #0C0C0C; --surface: #1A1A1A; --surface-hover: #232323;
    --line: #2C2A26; --line-strong: #7A746A;
    --ink: #F5F0E6; --ink-muted: #A8A296;
    --gold: #FFD25A; --gold-hover: #FFDF85; --gold-deep: #B8862A; --on-gold: #1A1408;
    --link: #FFD25A; --focus: #FFD25A; --success: #3DD68C; --danger: #FF6B5E; --on-danger: #1A1408;
    --band: #F5F0E6; --on-band: #1A1408; --band-muted: #5C5340; --band-accent: #7A5A14; --band-line: #C9BEA8;
    --mark-up: #FFD25A; --mark-low: #B8862A;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
html, body { margin: 0; background: var(--ground); color: var(--ink); }
body { min-height: 100vh; display: flex; flex-direction: column; font-family: var(--font-text); font-size: 17px; line-height: 1.55; overflow-x: clip; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1; }
p { margin: 0 0 1em; }
img { max-width: 100%; }
.mark-up { fill: var(--mark-up); }
.mark-low { fill: var(--mark-low); }
.wordmark { fill: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mod-legend { margin-top: 12px; }
/* "Skip to content": out of sight until a keyboard user tabs onto it. */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 20px; background: var(--gold); color: var(--on-gold); font-weight: 700; }
.skip-link:focus { top: 16px; }
main:focus { outline: none; }
.scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.staff-box { margin-top: 48px; padding: 24px; border: 2px solid var(--line-strong); }
.mod-legend .mod { margin-right: 4px; }
.mod-legend .sep:last-child { display: none; }

/* Header ---------------------------------------------------------------------------------------- */
header.top { position: relative; z-index: 3; }
header.top .bar { max-width: 1280px; margin: 0 auto; padding: 20px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
header.top .brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
header.top .logo { height: 34px; width: auto; display: block; }
header.top .spacer { flex: 1; }
header.top nav.main { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 15px; font-weight: 600; }
header.top nav.main a { color: var(--ink); text-decoration: none; padding: 6px 0; }
header.top nav.main a:hover, header.top nav.main a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 4px; text-underline-offset: 8px; }
header.top .tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 15px; }
header.top .lang { color: var(--ink-muted); text-decoration: none; font-weight: 600; }
header.top .lang:hover { color: var(--ink); }
header.top .account-link { color: var(--ink-muted); font-weight: 600; text-decoration: none; }
header.top .account-link:hover { color: var(--ink); }
.theme-toggle { width: 44px; height: 44px; padding: 0; border: 2px solid var(--ink); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transform: skewX(-12deg); }
.theme-toggle svg { transform: skewX(12deg); }
.theme-toggle:hover { background: var(--surface-hover); }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="ivory"]) .theme-toggle .sun { display: block; }
    :root:not([data-theme="ivory"]) .theme-toggle .moon { display: none; }
}
form.inline { display: inline; margin: 0; }
.linklike { background: none; border: 0; padding: 0; color: var(--ink-muted); font: inherit; font-weight: 600; cursor: pointer; }
.linklike:hover { color: var(--ink); text-decoration: underline; }

main { flex: 1; width: 100%; overflow-x: clip; }

/* Buttons: cut like a pick's edge ----------------------------------------------------------------- */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 30px; border: 0; cursor: pointer;
    font-family: var(--font-text); font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center;
    background: var(--band); color: var(--on-band);
    clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
}
.button:hover { color: var(--on-band); filter: brightness(1.15); }
.button.primary { background: var(--gold); color: var(--on-gold); }
.button.primary:hover { background: var(--gold-hover); color: var(--on-gold); filter: none; }
.button.danger, .button.danger:hover { background: var(--danger); color: var(--on-danger); }
.button.small { min-height: 40px; padding: 0 22px; font-size: 15px; --cut: 10px; }
.button.big { min-height: 64px; padding: 0 44px; font-size: 19px; }
.button.disabled, .button:disabled { opacity: .45; cursor: default; filter: none; }
/* A clipped button can't show an outline, so focus draws inside it and underlines the label. */
/* The ring is the button's own text colour, so it always contrasts with the button (3:1 or more, WCAG 1.4.11). */
.button:focus-visible { outline: none; box-shadow: inset 0 0 0 4px var(--on-band); text-decoration: underline; }
.button.primary:focus-visible { box-shadow: inset 0 0 0 4px var(--on-gold); }
.button.danger:focus-visible { box-shadow: inset 0 0 0 4px var(--on-danger); }
button.button { font-family: var(--font-text); }

/* Page frame ---------------------------------------------------------------------------------------- */
.page { max-width: 1280px; margin: 0 auto; padding: 40px 32px 96px; }
.page > h1, .page-head h1, .display {
    margin: 0 0 24px; font-size: clamp(3rem, 8.4vw, 7.5rem); line-height: .86; letter-spacing: -0.04em; overflow-wrap: anywhere;
}
.page.narrow { max-width: 720px; }
.page.narrow > h1, .page.prose > h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.page h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 48px 0 16px; letter-spacing: -0.5px; }
.page h3 { font-size: 24px; margin: 28px 0 12px; }
.prose { max-width: 860px; }
.prose p, .prose li { max-width: 40em; }
.prose h2 { padding-top: 20px; border-top: 4px solid var(--ink); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.lead { font-size: 20px; line-height: 30px; max-width: 30em; }
.muted { color: var(--ink-muted); }
.hint { color: var(--ink-muted); font-size: 15px; margin: 0; }
.strong { font-weight: 700; }
.error { color: var(--danger); font-weight: 600; margin: 0; }
.success, .ok { color: var(--success); font-weight: 600; }
.warn { color: var(--danger); }
h2.danger { color: var(--danger); }
.notice {
    padding: 16px 20px; background: var(--surface); border: 2px solid var(--gold-deep); color: var(--ink);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
code.hash { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13px; word-break: break-all; color: var(--ink-muted); }
.row-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* Statement rows: a heavy rule, a big title, its text beside it -------------------------------------- */
.rows { margin: 0; padding: 0; list-style: none; }
.rows > * { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 56px; padding: 30px 0; border-top: 4px solid var(--ink); }
.rows h2, .rows h3, .rows .row-title { flex: 1 1 400px; margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: .95; letter-spacing: -1px; }
.rows p, .rows .row-text { flex: 1 1 340px; margin: 0; font-size: 18px; line-height: 28px; color: var(--ink-muted); max-width: 28em; }
.rows.small h2, .rows.small h3, .rows.small .row-title { font-size: clamp(1.6rem, 3vw, 2.4rem); }

/* The tilted band ------------------------------------------------------------------------------------ */
.band { position: relative; margin: 64px -80px; transform: rotate(-3deg); background: var(--band); color: var(--on-band); }
/* On wide screens the angle eases off so the band's two ends never drift more than about 80px apart (130px on the home
   page): a fixed angle would put them hundreds of pixels apart on an ultrawide monitor. */
.band { transform: rotate(max(-3deg, atan2(-80px, 100vw))); }
.band a { color: var(--band-accent); }
.band a:hover { color: var(--on-band); }
.band .inner { max-width: 1280px; margin: 0 auto; padding: 40px 112px; }
.band .muted, .band .hint { color: var(--band-muted); }
.band .accent { color: var(--band-accent); }
.band .steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 44px; }
.band .steps li { display: flex; flex-direction: column; gap: 8px; }
.band .steps .n { font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--band-accent); }
.band .steps .t { font-family: var(--font-display); font-size: 22px; line-height: 26px; }
.band .steps .d { font-size: 16px; line-height: 24px; color: var(--band-muted); }
.ticker { margin: 0; padding: 22px 112px; text-align: center; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); line-height: 1.3; }
.ticker .item { white-space: nowrap; }
.ticker .sep { color: var(--band-accent); padding: 0 .35em; }

/* Big background mark --------------------------------------------------------------------------------- */
.hero-mark { position: absolute; right: -180px; top: -40px; width: 760px; height: 760px; pointer-events: none; z-index: 0; }
.has-mark { position: relative; }
/* Inner pages: a smaller pick, kept clear of the band below. */
.page-head .hero-mark { width: 440px; height: 440px; right: -150px; top: -60px; }
.has-mark > :not(.hero-mark) { position: relative; z-index: 1; }

/* Home ---------------------------------------------------------------------------------------------- */
.home-hero { position: relative; padding-bottom: 32px; }
.home-hero .intro { max-width: 1280px; margin: 0 auto; padding: 40px 32px 0; }
.home-hero h1 { margin: 0; font-size: clamp(3.2rem, 10.4vw, 9.5rem); line-height: .86; letter-spacing: -0.04em; max-width: 7.4em; }
.home-hero .band { margin: 72px -80px 0; transform: rotate(-5deg); transform: rotate(max(-5deg, atan2(-130px, 100vw))); }
/* The pick sits by the content's right edge, not the screen's, so it stays next to the headline on wide screens. */
.home-hero .hero-mark { right: max(-180px, calc((100vw - 1280px) / 2 - 260px)); }
.home-hero .after { max-width: 1280px; margin: 0 auto; padding: 72px 32px 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 56px; }
.home-hero .after .lead { flex: 1 1 420px; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.section { max-width: 1280px; margin: 0 auto; padding: 96px 32px 56px; }
.slab { background: var(--band); color: var(--on-band); clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%); }
.slab .inner { max-width: 1280px; margin: 0 auto; padding: 160px 32px 104px; }
.slab a { color: var(--band-accent); }
.slab a:hover { color: var(--on-band); }
.slab .muted { color: var(--band-muted); }
.slab .button.primary { color: var(--on-gold); }
.split { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.split > .side { flex: 0 1 320px; display: flex; flex-direction: column; gap: 16px; }
.split > .main { flex: 1 1 560px; min-width: 0; }
.side h2 { margin: 0; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: .95; letter-spacing: -1px; }
.updates { margin: 0; padding: 0; list-style: none; }
.updates li { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 22px 0; border-top: 1px solid var(--band-line); }
.updates .v { flex: 0 0 110px; font-family: var(--font-display); font-size: 30px; line-height: 32px; color: var(--band-accent); }
.updates .what { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.updates .what a, .updates .what strong { font-size: 21px; line-height: 27px; font-weight: 700; color: var(--on-band); text-decoration: none; }
.updates .what a:hover { text-decoration: underline; }
.updates .what span { font-size: 16px; line-height: 24px; color: var(--band-muted); }
.callout { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding-top: 72px; }
.callout p { flex: 1 1 480px; margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; }
.social-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }

/* Tabs: slanted, gold when selected ---------------------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 24px; }
.tab {
    display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 26px; white-space: nowrap;
    background: var(--band); color: var(--on-band); font-weight: 700; text-decoration: none;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.tab:hover { color: var(--on-band); filter: brightness(1.15); }
.tab.on { background: var(--gold); color: var(--on-gold); }
.tab:focus-visible { outline: none; box-shadow: inset 0 0 0 4px var(--on-band); text-decoration: underline; }
.tab.on:focus-visible { box-shadow: inset 0 0 0 4px var(--on-gold); }
.tab .stars { font-family: var(--font-display); font-size: 14px; opacity: .9; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.head-row h1, .head-row h2 { margin: 0; }
.head-row .tabs { margin: 0; }

/* Tables ---------------------------------------------------------------------------------------------- */
.scroll { overflow-x: auto; }
table.board { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 16px; }
table.board th { text-align: left; font-weight: 600; color: var(--ink-muted); font-size: 14px; padding: 10px 12px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
table.board td { padding: 14px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.board th:first-child, table.board td:first-child { padding-left: 0; }
table.board th:last-child, table.board td:last-child { padding-right: 0; }
table.board tbody tr:hover { background: var(--surface-hover); }
table.board .num { text-align: right; }
table.board .rank { font-family: var(--font-display); color: var(--ink-muted); width: 3.5em; }
table.board a { color: var(--ink); font-weight: 700; text-decoration: none; }
table.board a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
table.board .song small { display: block; font-weight: 400; font-size: 14px; color: var(--ink-muted); }
table.board .clout { font-family: var(--font-display); }
.grade { font-family: var(--font-display); font-size: 20px; color: var(--ink-muted); }
.grade-ss, .grade-s { color: var(--link); }
.grade-a { color: var(--ink); }
.mod {
    display: inline-block; margin-right: 4px; padding: 3px 12px; cursor: default;
    font-family: var(--font-display); font-size: 12px; line-height: 16px; background: var(--gold); color: var(--on-gold);
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.pager { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin-top: 28px; }

/* Leaderboard podium and "you" bar -------------------------------------------------------------------- */
.podium { margin: 48px 0 0; padding: 0; list-style: none; }
.podium li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding: 18px 0; border-top: 4px solid var(--ink); }
.podium .rank { flex: 0 0 140px; font-family: var(--font-display); font-size: clamp(56px, 7vw, 88px); line-height: .9; font-variant-numeric: tabular-nums; }
.podium li:first-child .rank { color: var(--link); }
.podium .who { flex: 1 1 260px; min-width: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.podium .who:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 4px; }
.podium .score { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin-left: auto; }
.podium .score strong { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.podium .score span { font-size: 15px; color: var(--ink-muted); }
.you-bar {
    margin: 8px 0 40px; padding: 18px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px;
    background: var(--band); color: var(--on-band); clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
}
.you-bar strong { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.you-bar span { color: var(--band-muted); }
.you-bar a { margin-left: auto; color: var(--band-accent); font-weight: 700; }

/* Profile -------------------------------------------------------------------------------------------- */
.page-head { max-width: 1280px; margin: 0 auto; padding: 40px 32px 0; }
.page-head .over { margin: 0 0 10px; font-size: 16px; color: var(--ink-muted); }
.page-head .lead { margin-top: 24px; }
.pool-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 40px; }
.pool-stats .name { font-size: 16px; font-weight: 600; color: var(--band-muted); }
.pool-stats .big { display: block; font-family: var(--font-display); font-size: 52px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pool-stats .unit { font-size: 20px; color: var(--band-accent); }
.pool-stats .detail { font-size: 16px; color: var(--band-muted); }

/* Cards (account, admin, devices): flat, one corner cut ------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 24px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%); }
.card h2 { font-size: 22px; margin: 0 0 10px; letter-spacing: 0; }
.card.stat .big { font-family: var(--font-display); font-size: 40px; line-height: 1.1; margin: 4px 0; font-variant-numeric: tabular-nums; }
.card.stat .unit { font-family: var(--font-text); font-size: 16px; color: var(--ink-muted); font-weight: 600; }
.card.device { text-align: center; margin: 16px 0; }
.card.device .code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 2.2rem; letter-spacing: 6px; margin: 0 0 6px; color: var(--link); font-weight: 700; }
.devices { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 28px; }
.device-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); }
.device-row .hint { display: block; }

/* Forms -------------------------------------------------------------------------------------------------- */
.narrow { max-width: 720px; }
.form { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 28px; }
.form.row { flex-direction: row; flex-wrap: wrap; align-items: center; }
.form label { font-weight: 600; }
.form input[type=text], .form input[type=search], .form input:not([type]), .form select {
    font: inherit; color: var(--ink); background: var(--surface); border: 2px solid var(--ink);
    border-radius: 0; padding: 10px 14px; min-height: 48px;
}
.form input:focus-visible, .form select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.form .check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.form .check input { width: 22px; height: 22px; accent-color: var(--gold-deep); }
.form .button { align-self: flex-start; }
.code-input { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 3px; text-transform: uppercase; max-width: 240px; }

/* Release notes ------------------------------------------------------------------------------------------- */
.release { display: flex; flex-wrap: wrap; gap: 12px 64px; padding: 32px 0; border-top: 4px solid var(--ink); }
.release .when { flex: 0 1 280px; display: flex; flex-direction: column; gap: 6px; }
.release .v { font-family: var(--font-display); font-size: 56px; line-height: .9; color: var(--link); }
.release .date { font-size: 15px; color: var(--ink-muted); }
.release .what { flex: 1 1 480px; min-width: 0; }
.release h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.05; letter-spacing: 0; }
.release ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; line-height: 26px; color: var(--ink-muted); }
.band .release { border: 0; padding: 0; }
.band .release .v { font-size: clamp(64px, 8vw, 96px); color: var(--band-accent); }
.band .release .date { color: var(--band-muted); }
.band .release h2 { font-size: 40px; }
.band .release ul { color: var(--on-band); }

/* Footer ------------------------------------------------------------------------------------------------- */
footer.site { max-width: 1280px; width: 100%; margin: 0 auto; padding: 40px 32px 48px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; color: var(--ink-muted); }
footer.site .links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
footer.site .mark-sm { width: 28px; height: 28px; }
footer.site a { color: var(--ink-muted); }
footer.site a:hover { color: var(--ink); }
footer.site .social { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer.site .independent { margin: 0; font-size: 13px; line-height: 20px; max-width: 60em; }

/* Gold contact block (artists) ------------------------------------------------------------------------------ */
.gold-slab { background: var(--gold); color: var(--on-gold); clip-path: polygon(0 64px, 100% 0, 100% 100%, 0 100%); margin-top: 72px; }
.gold-slab .inner { max-width: 1280px; margin: 0 auto; padding: 136px 32px 104px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 56px; }
.gold-slab h2 { margin: 0; font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .88; letter-spacing: -1.5px; }
.gold-slab p { margin: 12px 0 0; font-size: 19px; line-height: 29px; max-width: 30em; }
.gold-slab a:not(.button) { color: var(--on-gold); }
.gold-slab .button { background: #1A1408; color: #F5F0E6; }
.terms { margin: 0; }
.terms > div { display: flex; flex-wrap: wrap; gap: 6px 56px; padding: 22px 0; border-top: 2px solid var(--ink); }
.terms dt { flex: 1 1 280px; font-family: var(--font-display); font-size: 24px; line-height: 28px; }
.terms dd { flex: 1 1 420px; margin: 0; font-size: 18px; line-height: 28px; color: var(--ink-muted); }

/* Phones ---------------------------------------------------------------------------------------------------- */
@media (max-width: 700px) {
    body { font-size: 16px; }
    header.top .bar { padding: 14px 18px; gap: 10px 18px; }
    header.top .logo { height: 28px; }
    header.top nav.main { order: 3; flex-basis: 100%; gap: 2px 20px; }
    .page, .page-head, .section, .home-hero .intro, .home-hero .after { padding-left: 18px; padding-right: 18px; }
    .band { margin: 48px -40px; transform: rotate(-2deg); }
    .home-hero .band { margin-top: 48px; transform: rotate(-3deg); }
    .band .inner { padding: 32px 58px; }
    .ticker { padding: 18px 58px; }
    .hero-mark, .page-head .hero-mark { width: 300px; height: 300px; right: -110px; top: 10px; }
    .slab .inner { padding: 120px 18px 72px; }
    .gold-slab .inner { padding: 104px 18px 72px; }
    .podium .rank { flex-basis: 72px; }
    .podium .score { margin-left: 0; align-items: flex-start; }
    .you-bar a { margin-left: 0; }
    .rows > * { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Chart names with Clone Hero color tags: the charter's colour, adjusted per theme to stay readable (RichName.razor). */
.rt-color { color: var(--rt-light); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="ivory"]) .rt-color { color: var(--rt-dark); } }
:root[data-theme="dark"] .rt-color { color: var(--rt-dark); }
