/* ─────────────────────────────────────────────────────────────────────
   Editorial-grid — shared marketing-site CSS. Mirrors the design tokens
   used by app.milsiz.art so the marketing site and the product read as
   one identity. Used by index.html and every for-* page.
   ───────────────────────────────────────────────────────────────────── */

:root {
    --page-bg:       #f5f5f4;
    --surface:       #ece9e4;
    --ink:           #0a0a0a;
    --ink-2:         #404040;
    --ink-3:         #737373;
    --ink-line:      #0a0a0a;
    --ink-line-soft: #c4c4c4;
    --ok:            #16a34a;
    --warm:          #b54a1d;

    --font-display: 'Fraunces', Georgia, serif;
    --font-mono:    'IBM Plex Mono', 'SF Mono', ui-monospace, monospace;
    --font-body:    'Montserrat', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--page-bg);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { background: var(--ink); color: var(--page-bg); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px) { .container { padding: 0 18px; } }

/* ── Header ──────────────────────────────────────────────────── */
header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(245, 245, 244, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--ink-line);
}
nav.container {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; padding-bottom: 14px; gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { height: 42px; width: auto; }
.logo-wordmark { font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.nav-right { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; justify-content: flex-end; }
@media (max-width: 480px) { .nav-right { gap: 12px; } }
.nav-links { display: none; gap: 18px; }
@media (min-width: 880px) { .nav-links { display: inline-flex; } }
.nav-link {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink-2); text-decoration: none; padding: 6px 2px;
    border-bottom: 1px solid transparent;
}
.nav-link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--ink-3); text-decoration: none; }
a.lang-switch:hover { color: var(--ink); }
.lang-switch a { color: var(--ink-3); text-decoration: none; }
.lang-switch a.active { color: var(--ink); }
.lang-switch span { color: var(--ink-line-soft); user-select: none; }
/* Lang switch when tucked inside the user pop-down: sits flush with the
   menu items, hairline above and below, mono caps. */
.user-pop-lang {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 10px 16px;
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    border-top: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
}
.user-pop-lang a { color: rgba(10,10,10,0.55); text-decoration: none; padding: 2px 4px; }
.user-pop-lang a:hover { color: var(--ink); }
.user-pop-lang a.active { color: var(--ink); }
.user-pop-lang span { color: var(--ink-line-soft); user-select: none; }
/* Mini now-playing chip — surfaces when the stations strip scrolls out of
   view and audio is mid-playback. Sits in the nav, to the left of the
   user pop-down. Click → smooth-scroll back to the stations section. */
.now-playing-chip {
    display: inline-flex; align-items: center; gap: 6px;
    width: 38px; height: 38px;
    padding: 0; background: var(--ink); border: 1px solid var(--ink);
    border-radius: 0; cursor: pointer;
    position: relative; overflow: hidden;
    transition: opacity 0.18s ease;
}
.now-playing-chip[hidden] { display: none; }
.now-playing-chip img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.now-playing-shell { position: relative; display: inline-flex; }
.now-playing-pop {
    position: absolute; top: calc(100% + 8px); right: 0;
    width: 280px; padding: 14px;
    background: var(--page-bg);
    border: 1px solid var(--ink);
    box-shadow: 0 8px 22px rgba(10,10,10,0.08);
    z-index: 60;
}
.now-playing-pop[hidden] { display: none; }
.np-row {
    display: grid; grid-template-columns: 52px 1fr auto;
    gap: 12px; align-items: center;
}
.np-cover {
    width: 52px; height: 52px; object-fit: cover;
    background: var(--surface);
    border: 1px solid var(--ink-line);
    display: block;
}
.np-meta { min-width: 0; }
.np-title {
    margin: 0 0 4px 0;
    font-family: var(--font-display); font-weight: 700;
    font-size: 15px; line-height: 1.25; color: var(--ink);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.np-artist {
    margin: 0;
    font-family: var(--font-mono); font-size: 10px; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(10,10,10,0.55);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.np-onair {
    width: 8px; height: 8px; border-radius: 50%;
    background: #15c393;
    box-shadow: 0 0 0 2px var(--page-bg);
    animation: stationPulse 1.6s ease-in-out infinite;
}
.np-actions {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; margin-top: 12px;
    padding-top: 10px; border-top: 1px solid var(--ink-line);
}
.np-actions-left { display: inline-flex; gap: 6px; align-items: center; }
.np-stop, .np-queue-toggle {
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.np-stop {
    border: 1px solid var(--ink); background: var(--ink); color: var(--page-bg);
}
.np-stop:hover { background: var(--page-bg); color: var(--ink); }
.np-stop svg { width: 12px; height: 12px; }
.np-queue-toggle {
    border: 1px solid var(--ink-line); background: var(--page-bg); color: var(--ink);
}
.np-queue-toggle:hover { background: var(--ink); color: var(--page-bg); border-color: var(--ink); }
.np-queue-toggle[aria-expanded="true"] { background: var(--ink); color: var(--page-bg); border-color: var(--ink); }
.np-queue-toggle svg { width: 14px; height: 14px; }
.np-queue {
    margin-top: 10px; padding-top: 10px;
    border-top: 1px solid var(--ink-line);
    max-height: 280px; overflow-y: auto;
}
.np-queue[hidden] { display: none; }
.np-queue .queue-row { padding: 6px 0; gap: 8px; }
.np-queue .queue-row-title { font-size: 13px; }
.np-queue .queue-row-artist { font-size: 9.5px; }
.np-open {
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink); text-decoration: none;
    padding: 6px 10px; border: 1px solid var(--ink);
    transition: background 0.15s, color 0.15s;
}
.np-open:hover { background: var(--ink); color: var(--page-bg); }
.now-playing-chip-eq {
    position: absolute; right: 3px; bottom: 3px;
    display: inline-flex; align-items: flex-end; gap: 2px;
    padding: 2px 3px; background: rgba(10,10,10,0.65);
}
.now-playing-chip-eq i {
    display: inline-block; width: 2px; background: #15c393;
    animation: chipEq 0.9s ease-in-out infinite;
}
.now-playing-chip-eq i:nth-child(1) { height: 6px; animation-delay: 0s; }
.now-playing-chip-eq i:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.now-playing-chip-eq i:nth-child(3) { height: 4px; animation-delay: 0.3s; }
@keyframes chipEq {
    0%, 100% { transform: scaleY(0.4); }
    50%      { transform: scaleY(1); }
}
.nav-cta {
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    background: var(--ink); color: #fff;
    padding: 10px 16px; text-decoration: none;
    border: 1px solid var(--ink);
    transition: background 0.12s, color 0.12s;
}
.nav-cta:hover { background: transparent; color: var(--ink); }

/* ── User pop-down (logged-in via milsiz_presence cookie) ──────
   Uses native <details> for zero-JS toggle. Marker (the default
   triangle disclosure indicator) is hidden — we want a pure
   avatar button. Menu is positioned absolutely under the button,
   mirrors the app.milsiz.art user-menu styling. */
.user-pop { position: relative; }
.user-pop > summary {
    list-style: none;
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    cursor: pointer;
    background: var(--ink); color: #fff;
    border: 1px solid var(--ink);
    transition: opacity 0.12s;
    overflow: hidden;
}
.user-pop > summary::-webkit-details-marker { display: none; } /* Safari */
.user-pop > summary:hover { opacity: 0.85; }
.user-pop > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.user-pop-initial {
    font-family: var(--font-mono); font-size: 12px; font-weight: 600;
    letter-spacing: 0.04em; line-height: 1; color: #fff;
}
.user-pop > summary img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
}
.user-pop-menu {
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 220px;
    background: var(--page-bg);
    border: 1px solid var(--ink);
    z-index: 100;
    display: flex; flex-direction: column;
}
.user-pop-meta {
    padding: 14px 16px;
    border-bottom: 1px solid var(--ink);
    background: var(--surface);
}
.user-pop-meta .name {
    font-family: var(--font-display); font-weight: 700;
    font-size: 16px; letter-spacing: -0.01em; color: var(--ink);
    line-height: 1.15;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.user-pop-meta .role {
    margin-top: 4px;
    font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-3);
}
.user-pop-item {
    display: block; padding: 12px 16px;
    font-family: var(--font-body); font-size: 14px; color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ink-line-soft);
    background: transparent;
    transition: background 0.12s, color 0.12s;
}
.user-pop-item:hover { background: var(--ink); color: #fff; }
.user-pop-item:last-child { border-bottom: none; }
.user-pop-divider {
    height: 0; border-top: 1px solid var(--ink);
}
.user-pop-form { margin: 0; }
.user-pop-form button {
    width: 100%; text-align: left; padding: 12px 16px;
    font-family: var(--font-body); font-size: 14px; color: var(--ink);
    background: transparent; border: 0; cursor: pointer;
    transition: background 0.12s, color 0.12s;
}
.user-pop-form button:hover { background: var(--ink); color: #fff; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    padding: 13px 22px; text-decoration: none;
    border: 1px solid var(--ink); background: transparent; color: var(--ink);
    transition: background 0.12s, color 0.12s; cursor: pointer;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: transparent; color: var(--ink); }
.btn-ghost { border-color: var(--ink-line-soft); color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }

/* ── Typography helpers ──────────────────────────────────────── */
.eyebrow {
    display: inline-block;
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-3); margin-bottom: 18px;
}
.display {
    font-family: var(--font-display); font-weight: 700;
    letter-spacing: -0.02em; line-height: 1.05;
    color: var(--ink);
}
.display-italic { font-style: italic; }
.lead {
    font-family: var(--font-body); font-size: 18px; line-height: 1.6;
    color: var(--ink-2); max-width: 640px;
}
.section-head { margin-bottom: 44px; }
.section-head .lead { margin-top: 12px; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
    padding: 96px 0 88px;
    border-bottom: 1px solid var(--ink-line);
    background: var(--page-bg);
}
.hero-inner { max-width: 980px; margin: 0 auto; text-align: left; }
.hero h1 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(40px, 6vw, 76px); line-height: 1.02;
    letter-spacing: -0.025em; margin-bottom: 28px;
}
.hero h1 em { font-style: italic; font-weight: 700; color: var(--warm); }
.hero-sub { font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 620px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Section frame ───────────────────────────────────────────── */
section.block { padding: 88px 0; border-bottom: 1px solid var(--ink-line); }
section.block.inverse { background: var(--ink); color: var(--page-bg); }
section.block.inverse .eyebrow,
section.block.inverse h2,
section.block.inverse h3,
section.block.inverse .lead { color: var(--page-bg); }
section.block.inverse .eyebrow { color: rgba(245,245,244,0.55); }
section.block.inverse .lead { color: rgba(245,245,244,0.7); }
section.block.inverse .card { background: rgba(245,245,244,0.04); border-color: rgba(245,245,244,0.15); }
section.block.inverse .card h3 { color: var(--page-bg); }
section.block.inverse .card p,
section.block.inverse .card .card-meta { color: rgba(245,245,244,0.7); }
h2.section-title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(30px, 4vw, 46px); line-height: 1.1;
    letter-spacing: -0.02em; color: var(--ink); max-width: 720px;
}
h2.section-title em { font-style: italic; }

/* ── Card grids ──────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--ink-line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--ink-line); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--ink-line); }
@media (max-width: 960px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.card {
    background: var(--page-bg);
    padding: 32px 30px;
    border-right: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
    display: flex; flex-direction: column;
}
.card:last-child,
.grid-2 > .card:nth-child(2n),
.grid-3 > .card:nth-child(3n),
.grid-4 > .card:nth-child(4n) { border-right: none; }
.card--wide { grid-column: 1 / -1; border-right: none; }
.card--wide p { max-width: 720px; }
@media (max-width: 960px) {
    .grid-3 .card:nth-child(2n), .grid-4 .card:nth-child(2n) { border-right: none; }
    .grid-3 .card:nth-child(3n), .grid-4 .card:nth-child(3n) { border-right: 1px solid var(--ink-line); }
    .grid-3 .card:nth-child(3n+2), .grid-4 .card:nth-child(3n+2) { border-right: none; }
}
@media (max-width: 620px) {
    .card { border-right: none !important; }
}
.card-meta {
    font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-3); margin-bottom: 14px;
}
.card h3 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 22px; line-height: 1.2; letter-spacing: -0.015em;
    color: var(--ink); margin-bottom: 10px;
}
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

/* ── Audience cards (colored, home only) ─────────────────────── */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
    position: relative; display: block; text-decoration: none;
    padding: 36px 32px; min-height: 220px;
    border: 1px solid var(--ink-line);
    transition: transform 0.18s ease;
}
.audience-card:hover { transform: translateY(-2px); }
.audience-card--artists    { background: #d8e8d8; }
.audience-card--venues     { background: #d2dfe9; }
.audience-card--collectors { background: #ebd6d5; }
.audience-card--curators   { background: #ddd5ec; }
.audience-card-role {
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(10,10,10,0.55); margin-bottom: 16px;
}
.audience-card h3 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 24px; line-height: 1.2; letter-spacing: -0.015em;
    color: var(--ink); margin-bottom: 10px;
}
.audience-card p {
    font-family: var(--font-body); font-size: 14.5px; line-height: 1.6;
    color: rgba(10,10,10,0.6); max-width: 360px;
}
.audience-card-arrow {
    position: absolute; bottom: 20px; right: 26px;
    font-family: var(--font-mono); font-size: 28px; font-weight: 700;
    line-height: 1; color: rgba(10,10,10,0.6);
    transition: color 0.15s, transform 0.18s;
}
.audience-card:hover .audience-card-arrow {
    color: var(--ink); transform: translateX(3px);
}
/* Disabled audience card — non-clickable, muted opacity, no hover lift.
   Used to park a role that isn't shipping yet (e.g. Curators) without
   breaking the 4-up grid. Pair with a `.audience-card-soon` badge. */
.audience-card--disabled {
    opacity: 0.55; cursor: default; pointer-events: none;
}
.audience-card--disabled:hover { transform: none; }
.audience-card-soon {
    position: absolute; bottom: 20px; right: 26px;
    font-family: var(--font-mono); font-size: 10px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(10,10,10,0.7);
    padding: 4px 8px; border: 1px solid rgba(10,10,10,0.35);
    background: rgba(255,255,255,0.5);
}
/* Bridge CTA between major sections — the button sits as a buckle in the
   middle of a full-bleed ink-coloured belt. Pseudo-elements on either side
   flex-grow to fill the available width and stretch to the button's height
   via `align-items: stretch`, so the bars are never taller or shorter than
   the button itself. Vertical margin gives the next section room to breathe. */
.section-cta {
    display: flex;
    align-items: stretch;
    margin: 64px 0;
}
.section-cta::before,
.section-cta::after {
    content: "";
    flex: 1;
    background: var(--ink);
}
.section-cta .btn {
    flex: 0 0 auto;
    /* Keep the button square against the belt — no rounded corners or extra
       border that would break the flush join with the stripes. */
    border-radius: 0;
}

/* ── Earn + stations side-by-side layout ─────────────────────────────── */
.earn-stations { background: var(--surface); padding: 0; }
.earn-stations > .container { padding-top: 0; padding-bottom: 0; }
.earn-stations-grid {
    display: grid; grid-template-columns: minmax(0, 1fr);
    gap: 0;
}
.earn-stations-stations {
    order: 1;
    padding: 56px 0 28px 0;
}
.earn-stations-earn {
    order: 2;
    background: var(--ink); color: var(--page-bg);
    padding: 56px 28px;
    margin: 0 -28px;  /* break out of container padding so dark bg goes edge-to-edge on mobile */
}
.earn-stations-earn .section-title,
.earn-stations-earn h3 { color: var(--page-bg); }
.earn-stations-earn .eyebrow,
.earn-stations-earn .lead,
.earn-stations-earn p { color: rgba(245,245,244,0.7); }
.earn-stations-earn .earn-row p { color: rgba(245,245,244,0.65); }
@media (min-width: 960px) {
    .earn-stations-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        align-items: stretch;
    }
    .earn-stations-stations {
        order: 2;            /* desktop: right column */
        padding: 64px 0 64px 40px;
        border-left: 1px solid var(--ink-line);
    }
    .earn-stations-earn {
        order: 1;            /* desktop: left column */
        margin: 0;
        padding: 64px 40px 64px 0;
        padding-left: 40px;
        padding-right: 40px;
        /* dark column hugs the section start; full-bleed effect on left edge */
        position: relative;
    }
    .earn-stations-earn::before {
        content: ""; position: absolute; top: 0; bottom: 0;
        right: 100%; width: 50vw; background: var(--ink);
    }
}

/* ── Live stations strip (loaded from app.milsiz.art /api/stations) ───── */
.stations-strip { background: transparent; }
.section-head--compact { margin-bottom: 20px; }
.section-title--compact { font-size: clamp(28px, 3vw, 38px); }
.stations-strip .eyebrow-icon {
    width: 14px; height: 14px; display: inline-block;
    vertical-align: -2px; margin-right: 8px; color: var(--accent, #15c393);
}
.stations-controls {
    display: inline-flex; gap: 0; margin: 0 0 20px 0;
    border: 1px solid var(--ink-line);
}
.stations-tab {
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    background: var(--page-bg); color: rgba(10,10,10,0.55);
    border: 0; padding: 9px 16px; cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.stations-tab + .stations-tab { border-left: 1px solid var(--ink-line); }
.stations-tab:hover { color: var(--ink); }
.stations-tab.is-active { background: var(--ink); color: var(--page-bg); }
.stations-grid {
    display: grid; grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}
@media (min-width: 1280px) {
    /* When the earn-stations column is wide enough, allow 2 columns. */
    .earn-stations-stations .stations-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
.stations-status {
    grid-column: 1 / -1; padding: 28px 0;
    font-family: var(--font-mono); font-size: 12px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(10,10,10,0.4); text-align: center;
}
.station-card {
    position: relative; display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
    gap: 14px 16px;
    padding: 16px;
    background: var(--page-bg); border: 1px solid var(--ink-line);
    transition: border-color 0.15s;
}
.station-card.is-on-air { border-color: rgba(21,195,147,0.6); }
.station-card-cover {
    grid-column: 1; grid-row: 1 / span 2;
    width: 80px; height: 80px; position: relative;
    background: var(--surface); border: 1px solid var(--ink-line);
}
.station-card-cover img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.station-onair-dot {
    position: absolute; top: 6px; right: 6px;
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(10,10,10,0.2);
    box-shadow: 0 0 0 2px var(--page-bg);
}
.station-card.is-on-air .station-onair-dot {
    background: #15c393;
    animation: stationPulse 1.6s ease-in-out infinite;
}
@keyframes stationPulse {
    0%, 100% { box-shadow: 0 0 0 2px var(--page-bg), 0 0 0 0 rgba(21,195,147,0.4); }
    50% { box-shadow: 0 0 0 2px var(--page-bg), 0 0 0 4px rgba(21,195,147,0); }
}
.station-card-body { grid-column: 2; grid-row: 1; min-width: 0; }
.station-card-name {
    font-family: var(--font-display); font-weight: 700;
    font-size: 19px; line-height: 1.2; letter-spacing: -0.01em;
    color: var(--ink); margin: 0 0 4px 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.station-card-track {
    font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(10,10,10,0.55); margin: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.station-card-actions {
    grid-column: 2; grid-row: 2;
    display: inline-flex; gap: 6px; align-items: center;
}
.station-btn {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--ink-line); background: var(--page-bg);
    color: var(--ink); cursor: pointer; text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.station-btn:hover { background: var(--ink); color: var(--page-bg); border-color: var(--ink); }
.station-btn svg { width: 16px; height: 16px; }
.station-btn[aria-expanded="true"] { background: var(--ink); color: var(--page-bg); }
.station-btn.is-disabled { opacity: 0.35; pointer-events: none; }
/* Listen button play↔stop icon toggle. The play SVG is the default; when
   the parent card is .is-playing, swap to the stop square. */
.station-btn--listen .station-btn-stop { display: none; }
.station-card.is-playing .station-btn--listen { background: var(--ink); color: var(--page-bg); border-color: var(--ink); }
.station-card.is-playing .station-btn--listen .station-btn-play { display: none; }
.station-card.is-playing .station-btn--listen .station-btn-stop { display: block; }
.station-card.is-loading .station-btn--listen { opacity: 0.55; }
.station-card-queue {
    grid-column: 1 / -1;
    border-top: 1px solid var(--ink-line);
    padding-top: 12px; margin-top: 4px;
}
.station-card-queue[hidden] { display: none; }
.queue-row {
    display: grid; grid-template-columns: 40px 1fr auto;
    gap: 10px; align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(10,10,10,0.06);
}
.queue-row:last-child { border-bottom: 0; }
.queue-row.is-current { background: rgba(21,195,147,0.05); margin: 0 -8px; padding: 8px; }
.queue-row-position {
    font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(10,10,10,0.4);
}
.queue-row-meta { min-width: 0; }
.queue-row-title {
    font-family: var(--font-display); font-weight: 600;
    font-size: 14px; line-height: 1.25; color: var(--ink);
    margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.queue-row-artist {
    font-family: var(--font-mono); font-size: 10px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(10,10,10,0.5); margin: 2px 0 0 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.queue-row-cart {
    width: 28px; height: 28px;
    border: 1px solid var(--ink-line); background: var(--page-bg);
    color: var(--ink); cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.queue-row-cart:hover { background: var(--ink); color: var(--page-bg); }
.queue-row-cart svg { width: 14px; height: 14px; }
.queue-row-cart.is-pending {
    opacity: 0.3; pointer-events: none;
}
.queue-row-cart.is-pending::after {
    content: "—"; font-family: var(--font-mono); font-size: 12px;
}
.queue-row-cart.is-pending svg { display: none; }
.queue-empty {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: rgba(10,10,10,0.4);
    text-align: center; padding: 16px 0;
}
.queue-footer {
    padding-top: 10px; border-top: 1px solid rgba(10,10,10,0.06);
    margin-top: 6px;
    display: flex; justify-content: space-between; align-items: center;
}
.queue-link {
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink); text-decoration: none;
    padding: 6px 10px; border: 1px solid var(--ink);
    transition: background 0.15s, color 0.15s;
}
.queue-link:hover { background: var(--ink); color: var(--page-bg); }
.queue-close {
    font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(10,10,10,0.5); background: transparent; border: 0;
    cursor: pointer; padding: 6px 4px;
}
.queue-close:hover { color: var(--ink); }
@media (max-width: 720px) {
    .stations-grid { grid-template-columns: 1fr; }
    .station-card { grid-template-columns: 64px 1fr; padding: 14px; }
    .station-card-cover { width: 64px; height: 64px; }
    .station-card-name { font-size: 17px; }
}

/* ── Earn list (numbered, used inside inverse blocks) ────────── */
.earn-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--ink-line); }
.earn-row {
    display: grid; grid-template-columns: 60px 1fr; gap: 24px;
    padding: 24px 4px; border-bottom: 1px solid var(--ink-line);
}
.earn-num {
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.2em; color: rgba(245,245,244,0.5);
}
.earn-row h3 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 22px; line-height: 1.2; letter-spacing: -0.015em;
    color: var(--page-bg); margin-bottom: 6px;
}
.earn-row p { font-size: 14.5px; color: rgba(245,245,244,0.7); line-height: 1.6; max-width: 640px; }

/* ── Mini block (used for short trust / agreement asides) ───── */
.mini-block {
    border: 1px solid var(--ink-line);
    padding: 32px 30px;
    background: var(--surface);
}
.mini-block h3 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 22px; line-height: 1.2; letter-spacing: -0.015em;
    color: var(--ink); margin-bottom: 10px;
}
.mini-block p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; max-width: 720px; }

/* ── Closing CTA block ───────────────────────────────────────── */
.cta-block {
    padding: 96px 0; text-align: center;
    background: var(--surface);
    border-bottom: 1px solid var(--ink-line);
}
.cta-block h2 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(30px, 4vw, 46px); line-height: 1.1;
    letter-spacing: -0.02em; margin-bottom: 14px;
}
.cta-block .lead { margin: 0 auto 28px; text-align: center; }
.cta-block .hero-cta { justify-content: center; }

/* ── Cookie banner ───────────────────────────────────────────
   Server-rendered on every page, hidden client-side once
   dismissed (state in localStorage). The marketing site sets no
   cookies itself — the banner exists to disclose `milsiz_presence`
   set by app.milsiz.art at login. */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: var(--ink); color: var(--page-bg);
    border-top: 1px solid var(--ink);
    padding: 18px 0;
    font-family: var(--font-body);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner .container {
    display: grid; grid-template-columns: 1fr auto; gap: 24px;
    align-items: center;
}
@media (max-width: 760px) {
    .cookie-banner .container { grid-template-columns: 1fr; gap: 14px; }
}
.cookie-banner-body {
    font-size: 13.5px; line-height: 1.55;
    color: rgba(245,245,244,0.85);
    max-width: 820px;
}
.cookie-banner-body code {
    font-family: var(--font-mono); font-size: 12px;
    background: rgba(245,245,244,0.12); color: var(--page-bg);
    padding: 1px 6px;
    border: 1px solid rgba(245,245,244,0.2);
}
.cookie-banner-body a {
    color: var(--page-bg); text-decoration: underline; text-underline-offset: 2px;
}
.cookie-banner-body a:hover { color: #fff; }
.cookie-banner-actions { display: flex; gap: 10px; align-items: center; }
.cookie-banner-actions .more {
    font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(245,245,244,0.6); text-decoration: none;
}
.cookie-banner-actions .more:hover { color: var(--page-bg); }
.cookie-banner-actions button {
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    background: var(--page-bg); color: var(--ink);
    border: 1px solid var(--page-bg);
    padding: 10px 16px; cursor: pointer;
    transition: background 0.12s, color 0.12s;
}
.cookie-banner-actions button:hover { background: transparent; color: var(--page-bg); }

/* ── Footer (lightly aligned to editorial-grid) ──────────────── */
footer { background: var(--page-bg); padding: 64px 0 32px; border-top: 1px solid var(--ink-line); font-family: var(--font-body); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 720px) { .footer-content { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand p { font-size: 13px; color: var(--ink-3); max-width: 320px; line-height: 1.6; }
.footer-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); margin-bottom: 14px; }
.footer-logo img { height: 32px; width: auto; }
.footer-logo-text { font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: 18px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--ink-line-soft); flex-wrap: wrap; gap: 16px; }
.footer-bottom-left, .footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-left span, .footer-legal a { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; text-decoration: none; }
.footer-legal a:hover { color: var(--ink); }
@media (max-width: 720px) { .footer-bottom { flex-direction: column; } }

/* ── Roadmap-specific (used by /roadmap only) ────────────────── */
.roadmap-col { padding: 28px 30px; }
.roadmap-col h3 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 22px; line-height: 1.2; letter-spacing: -0.015em;
    color: var(--ink); margin-bottom: 16px;
    padding-bottom: 14px; border-bottom: 1px solid var(--ink-line);
}
.roadmap-item {
    padding: 14px 0; border-bottom: 1px solid var(--ink-line-soft);
    display: flex; gap: 14px; align-items: flex-start;
}
.roadmap-item:last-child { border-bottom: none; }
.roadmap-tick {
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    width: 64px; flex-shrink: 0; color: var(--ink-3);
}
.roadmap-item--live .roadmap-tick { color: var(--ok); }
.roadmap-item-text { flex: 1; }
.roadmap-item-text h4 {
    font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
    color: var(--ink); margin-bottom: 4px;
}
.roadmap-item-text p {
    font-size: 13.5px; color: var(--ink-3); line-height: 1.55;
}

/* ── Image placeholders & feature bands ──────────────────────
   Empty slots so we can drop real photography in later without
   restructuring the page. Every placeholder shows its intended ratio
   and a hand-off slug in mono. Replace the .placeholder div with an
   <img> + same wrapper to keep the framing. ─────────────────────── */

.media {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--ink-line);
}
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.placeholder {
    position: relative;
    width: 100%; height: 100%;
    min-height: 240px;
    background:
      repeating-linear-gradient(135deg, rgba(10,10,10,0.04) 0 12px, transparent 12px 24px),
      var(--surface);
    display: flex; align-items: center; justify-content: center;
}
.placeholder::after {
    content: attr(data-slug);
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ink-3);
    background: var(--page-bg);
    padding: 6px 12px;
    border: 1px solid var(--ink-line);
}
.placeholder--tall  { min-height: 480px; }
.placeholder--wide  { min-height: 320px; }
.placeholder--hero  { min-height: 560px; }
.placeholder--band  { min-height: 380px; }

/* On dark / inverse sections */
section.block.inverse .media { background: rgba(245,245,244,0.04); border-color: rgba(245,245,244,0.15); }
section.block.inverse .placeholder {
    background:
      repeating-linear-gradient(135deg, rgba(245,245,244,0.04) 0 12px, transparent 12px 24px),
      rgba(245,245,244,0.04);
}
section.block.inverse .placeholder::after {
    color: rgba(245,245,244,0.7); background: var(--ink);
    border-color: rgba(245,245,244,0.4);
}

/* Half-page side-by-side: image + text */
.split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border: 1px solid var(--ink-line);
    background: var(--page-bg);
}
.split > .media { border: none; border-right: 1px solid var(--ink-line); min-height: 480px; }
.split > .split-body {
    padding: 48px 44px; display: flex; flex-direction: column; justify-content: center;
}
.split > .split-body h3 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(24px, 3vw, 32px); line-height: 1.15;
    letter-spacing: -0.02em; margin-bottom: 14px;
}
.split > .split-body p {
    font-family: var(--font-body); font-size: 15.5px; line-height: 1.65;
    color: var(--ink-2); max-width: 480px;
}
.split.reverse > .media { order: 2; border-right: none; border-left: 1px solid var(--ink-line); }
.split.reverse > .split-body { order: 1; }
@media (max-width: 760px) {
    .split { grid-template-columns: 1fr; }
    .split > .media,
    .split.reverse > .media { border: none; border-bottom: 1px solid var(--ink-line); order: 1; min-height: 280px; }
    .split > .split-body,
    .split.reverse > .split-body { order: 2; padding: 32px 28px; }
}

/* Full-bleed feature band — sits flush, no container padding.
   Holds either a `.placeholder` block or an `<img>` / `<picture>`.
   On mobile the band switches to a portrait crop (~4:5) so the
   image still has presence; desktop stays at the cinematic 16:5
   the prompts were authored for. See IMAGE_PROMPTS.md. */
.feature-band {
    border-top: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
    background: var(--surface);
    overflow: hidden;
}
.feature-band .placeholder {
    border: none; min-height: 380px;
    background:
      repeating-linear-gradient(135deg, rgba(10,10,10,0.04) 0 16px, transparent 16px 32px),
      var(--surface);
}
/* Image variant — fills the band, crops with object-fit so the
   composition reads on any viewport width. */
.feature-band img,
.feature-band picture,
.feature-band picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feature-band picture { display: block; }
.feature-band > img,
.feature-band > picture {
    /* Desktop: cinematic 16:5 band */
    aspect-ratio: 16 / 5;
}
@media (max-width: 720px) {
    /* Mobile: portrait crop so the image actually has presence.
       Sides of the wide source get cropped via object-fit:cover —
       the centered subject (people at the table, etc.) stays in. */
    .feature-band > img,
    .feature-band > picture {
        aspect-ratio: 4 / 5;
    }
    /* Center-crop the wide source on mobile. Once a real portrait
       source lands in `<source srcset>`, the picture element serves
       that instead and object-position is moot. */
    .feature-band img,
    .feature-band picture img {
        object-position: center center;
    }
}

/* Hero with side image — used on for-* pages where appropriate */
.hero.has-side {
    padding: 72px 0;
}
.hero.has-side .hero-grid {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.hero.has-side .hero-grid > .media { min-height: 480px; }
@media (max-width: 860px) {
    .hero.has-side .hero-grid { grid-template-columns: 1fr; }
    .hero.has-side .hero-grid > .media { min-height: 320px; }
}

/* Hero with full-bleed background image (uses overlay for readability) */
.hero.hero-bg {
    position: relative; overflow: hidden; isolation: isolate;
    color: var(--page-bg);
}
.hero.hero-bg .hero-bg-image {
    position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: center; background-color: var(--ink);
}
.hero.hero-bg::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(135deg, rgba(10,10,10,0.78) 0%, rgba(10,10,10,0.55) 60%, rgba(10,10,10,0.4) 100%);
}
.hero.hero-bg h1 { color: var(--page-bg); }
.hero.hero-bg .hero-sub { color: rgba(245,245,244,0.85); }
.hero.hero-bg .eyebrow { color: rgba(245,245,244,0.6); }

/* ── Brand kit (used by /brand-kit only) ─────────────────────── */
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; border: 1px solid var(--ink-line); }
.swatch {
    padding: 80px 16px 14px; border-right: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line); position: relative;
}
.swatch:last-child { border-right: none; }
.swatch-meta {
    font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ink); margin-bottom: 2px;
}
.swatch-hex { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.swatch--ink     { background: #0a0a0a; color: #fff; }
.swatch--surface { background: #ece9e4; }
.swatch--page    { background: #f5f5f4; }
.swatch--warm    { background: #b54a1d; color: #fff; }
.swatch--ok      { background: #16a34a; color: #fff; }
.swatch--ink .swatch-meta, .swatch--warm .swatch-meta, .swatch--ok .swatch-meta { color: #fff; }
.swatch--ink .swatch-hex, .swatch--warm .swatch-hex, .swatch--ok .swatch-hex { color: rgba(255,255,255,0.7); }

.font-sample {
    padding: 24px 26px; border: 1px solid var(--ink-line); margin-bottom: 14px;
    background: var(--page-bg);
}
.font-sample-meta {
    font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-3); margin-bottom: 12px;
}
.font-sample-display { font-family: var(--font-display); font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.font-sample-display em { font-style: italic; }
.font-sample-mono    { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.04em; }
.font-sample-body    { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* ── Iconography grid (brand-kit) ──────────────────────────── */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--ink-line);
    background: var(--page-bg);
}
@media (max-width: 720px) { .icon-grid { grid-template-columns: repeat(2, 1fr); } }
.icon-cell {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 24px 16px;
    border-right: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
    background: var(--surface);
    color: var(--ink);
}
.icon-cell:nth-child(4n) { border-right: none; }
@media (max-width: 720px) {
    .icon-cell:nth-child(4n) { border-right: 1px solid var(--ink-line); }
    .icon-cell:nth-child(2n) { border-right: none; }
}
.icon-cell svg { width: 36px; height: 36px; display: block; }
.icon-cell-label {
    margin-top: 14px;
    font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-3);
}
.icon-view-all {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 24px;
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ink); text-decoration: none;
    padding-bottom: 4px; border-bottom: 1px solid var(--ink);
}
.icon-view-all:hover { color: var(--warm); border-bottom-color: var(--warm); }

.download-list { border: 1px solid var(--ink-line); }
.download-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 22px; border-bottom: 1px solid var(--ink-line);
}
.download-row:last-child { border-bottom: none; }
.download-row .meta {
    font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-3);
}
.download-row .name { font-family: var(--font-body); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.download-btn {
    font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    padding: 8px 14px; border: 1px solid var(--ink); color: var(--ink);
    text-decoration: none; transition: background 0.12s, color 0.12s;
}
.download-btn:hover { background: var(--ink); color: #fff; }

/* ── Live sales rail ──────────────────────────────────────────────────
   IG-stories-style circular avatars of the most recent paid orders, fed
   live from app.milsiz.art. Hidden until first item lands so a quiet
   day doesn't show empty chrome on the marketing page.                  */
.live-sales-rail { padding: 28px 0 36px; border-bottom: 1px solid var(--ink-line); }
.live-sales-rail .lsr-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.live-sales-rail .lsr-eyebrow {
    font-family: var(--font-mono); font-size: 10px; font-weight: 700;
    letter-spacing: 0.28em; text-transform: uppercase; color: #ef4444;
    margin: 0;
}
.live-sales-rail .lsr-eyebrow::before {
    content: ""; display: inline-block; width: 6px; height: 6px;
    border-radius: 50%; background: #ef4444; margin-right: 8px;
    vertical-align: middle; animation: lsr-pulse 1.6s ease-in-out infinite;
}
.live-sales-rail .lsr-title {
    font-family: var(--font-display); font-weight: 600; font-size: 18px;
    letter-spacing: -0.005em; color: var(--ink); margin: 0;
}
@keyframes lsr-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.live-sales-rail .lsr-rail {
    display: flex; gap: 18px; overflow-x: auto; overflow-y: hidden;
    padding: 6px 2px 12px; scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.live-sales-rail .lsr-rail::-webkit-scrollbar { height: 6px; }
.live-sales-rail .lsr-rail::-webkit-scrollbar-thumb { background: var(--ink-line); border-radius: 3px; }

.live-sales-rail .lsr-item {
    flex: 0 0 auto; display: flex; flex-direction: column; align-items: center;
    width: 84px; text-decoration: none; color: inherit;
}
.live-sales-rail .lsr-avatar {
    position: relative; width: 78px; height: 78px; border-radius: 50%;
    padding: 2px; background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #8b5cf6 100%);
    transition: transform 0.18s ease;
}
.live-sales-rail .lsr-item:hover .lsr-avatar { transform: scale(1.05); }
.live-sales-rail .lsr-avatar-inner {
    width: 100%; height: 100%; border-radius: 50%; padding: 2px;
    background: var(--page-bg, #fff);
}
.live-sales-rail .lsr-cover {
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
    background: var(--ink-line); display: block;
}
.live-sales-rail .lsr-cover-fb {
    width: 100%; height: 100%; border-radius: 50%; background: var(--ink-line);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-2); font-family: var(--font-display); font-size: 24px; font-weight: 600;
}
.live-sales-rail .lsr-badge {
    position: absolute; bottom: 0; right: 0; width: 22px; height: 22px;
    border-radius: 50%; background: var(--ink); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; line-height: 1; border: 2px solid var(--page-bg, #fff);
}
.live-sales-rail .lsr-caption {
    font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.04em;
    color: var(--ink-2); margin-top: 8px; max-width: 84px;
    text-align: center; overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap; line-height: 1.3;
}
.live-sales-rail .lsr-artist {
    font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.04em;
    color: var(--ink-3); margin-top: 2px; max-width: 84px;
    text-align: center; overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap;
}
.live-sales-rail .lsr-item.is-new .lsr-avatar { animation: lsr-pop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1.2); }
@keyframes lsr-pop {
    0%   { transform: scale(0.4) rotate(-8deg); opacity: 0; }
    60%  { transform: scale(1.08) rotate(2deg); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
