@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/spacegrotesk-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/spacegrotesk-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --bg: #06131b;
    --bg-deep: #041018;
    --surface: rgba(7, 24, 35, 0.82);
    --surface-strong: rgba(10, 31, 45, 0.94);
    --line: rgba(169, 210, 230, 0.14);
    --text: #f4fbff;
    --muted: #98b7c8;
    --accent: #7ee0ff;
    --accent-strong: #d8ff57;
    --up: #87f29a;
    --down: #ff8674;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    --radius-xl: 28px;
    --radius-lg: 20px;

    /* Per-tier accent colors — used by rank chips, tier pills, row hover glow,
       and the podium gold/silver/bronze variants fall back to these when a
       tierKey is missing. Keys map to legends.rank_tier_key strings. */
    --tier-rookie: #8e9aa1;
    --tier-bronze: #a97548;
    --tier-silver: #c7d2dd;
    --tier-gold: #f2c94c;
    --tier-platinum: #36d3b8;
    --tier-diamond: #7ab9ff;
    --tier-master: #c77dff;
    --tier-apex_predator: #ff5a5f;
    --tier-predator: #ff5a5f;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
}

body {
    margin: 0;
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(126, 224, 255, 0.12), transparent 34%),
        radial-gradient(circle at 85% 10%, rgba(216, 255, 87, 0.14), transparent 24%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    min-height: 100vh;
}

body.home-theme--ember {
    --bg: #160805;
    --bg-deep: #070403;
    --surface: rgba(39, 15, 9, 0.84);
    --surface-strong: rgba(52, 18, 9, 0.95);
    --line: rgba(255, 181, 115, 0.17);
    --text: #fff8ef;
    --muted: #d7a78a;
    --accent: #ff7a45;
    --accent-strong: #ffe073;
    --up: #ffd166;
    --down: #ff6b6b;
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 122, 69, 0.24), transparent 34%),
        radial-gradient(circle at 80% 10%, rgba(255, 224, 115, 0.16), transparent 28%),
        linear-gradient(180deg, #160805 0%, #070403 100%);
}

body.home-theme--neon {
    --bg: #050616;
    --bg-deep: #02030b;
    --surface: rgba(8, 12, 35, 0.86);
    --surface-strong: rgba(12, 18, 52, 0.95);
    --line: rgba(255, 77, 216, 0.18);
    --text: #f8f3ff;
    --muted: #aab1e8;
    --accent: #ff4dd8;
    --accent-strong: #4dfff0;
    --up: #4dfff0;
    --down: #ff6b93;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 77, 216, 0.2), transparent 32%),
        radial-gradient(circle at 88% 8%, rgba(77, 255, 240, 0.16), transparent 30%),
        linear-gradient(180deg, #050616 0%, #02030b 100%);
}

body.home-theme--frost {
    --bg: #07141b;
    --bg-deep: #02070a;
    --surface: rgba(10, 31, 45, 0.82);
    --surface-strong: rgba(14, 45, 64, 0.95);
    --line: rgba(183, 241, 255, 0.18);
    --text: #f7fdff;
    --muted: #a8c9d8;
    --accent: #b7f1ff;
    --accent-strong: #ffffff;
    --up: #b8ffd8;
    --down: #ff9aa8;
    background:
        radial-gradient(circle at 18% 6%, rgba(183, 241, 255, 0.18), transparent 36%),
        radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.12), transparent 26%),
        linear-gradient(180deg, #07141b 0%, #02070a 100%);
}

body.home-theme--gold {
    --bg: #111009;
    --bg-deep: #050503;
    --surface: rgba(30, 27, 15, 0.86);
    --surface-strong: rgba(47, 40, 18, 0.96);
    --line: rgba(255, 218, 111, 0.2);
    --text: #fff9e8;
    --muted: #d4bd80;
    --accent: #ffd76b;
    --accent-strong: #fff2b0;
    --up: #c7ff8a;
    --down: #ff8a6b;
    background:
        radial-gradient(circle at 16% 10%, rgba(255, 215, 107, 0.18), transparent 34%),
        radial-gradient(circle at 82% 8%, rgba(255, 242, 176, 0.12), transparent 28%),
        linear-gradient(180deg, #111009 0%, #050503 100%);
}

body.home-theme--void {
    --bg: #06040d;
    --bg-deep: #020106;
    --surface: rgba(14, 10, 27, 0.88);
    --surface-strong: rgba(22, 15, 41, 0.96);
    --line: rgba(160, 113, 255, 0.2);
    --text: #fbf7ff;
    --muted: #b9a8d6;
    --accent: #a071ff;
    --accent-strong: #ff7adf;
    --up: #8affd2;
    --down: #ff7296;
    background:
        radial-gradient(circle at 18% 8%, rgba(160, 113, 255, 0.22), transparent 34%),
        radial-gradient(circle at 85% 12%, rgba(255, 122, 223, 0.13), transparent 30%),
        linear-gradient(180deg, #06040d 0%, #020106 100%);
}

body.home-theme--ember .glass-card,
body.home-theme--neon .glass-card,
body.home-theme--frost .glass-card,
body.home-theme--gold .glass-card,
body.home-theme--void .glass-card {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 88%, transparent), color-mix(in srgb, var(--bg-deep) 88%, transparent));
}

body.home-theme--neon .hero-copy h1,
body.home-theme--void .hero-copy h1 {
    text-shadow: 0 0 34px color-mix(in srgb, var(--accent) 32%, transparent);
}

body.home-theme--frost .glass-card {
    box-shadow: 0 24px 80px rgba(168, 220, 255, 0.12);
}

.app-shell {
    position: relative;
    overflow-x: hidden;
}

.page {
    width: min(1280px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 18px 0 48px;
    position: relative;
    z-index: 1;
}

.site-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 10px 0;
}

.ranked-announcement {
    margin: -6px 0 22px;
}

.ranked-announcement__link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(126, 224, 255, 0.2);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(126, 224, 255, 0.14), rgba(216, 255, 87, 0.08)),
        rgba(6, 19, 27, 0.72);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.ranked-announcement__link:hover {
    border-color: rgba(126, 224, 255, 0.38);
    transform: translateY(-1px);
}

.ranked-announcement__label,
.ranked-announcement__cta {
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ranked-announcement__label {
    padding: 5px 8px;
    border-radius: 6px;
    background: rgba(216, 255, 87, 0.14);
    color: #e8ff94;
}

.ranked-announcement__copy {
    overflow: hidden;
    color: #dbeafe;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranked-announcement__cta {
    color: var(--accent);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0;
}

.site-brand__mark {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(225, 43, 43, 0.12);
    box-shadow: 0 0 18px rgba(225, 43, 43, 0.16);
    overflow: hidden;
}

.site-brand__mark img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.page-glow {
    position: fixed;
    width: 34rem;
    height: 34rem;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.28;
    pointer-events: none;
}

.page-glow-a {
    left: -10rem;
    top: -10rem;
    background: rgba(126, 224, 255, 0.18);
}

.page-glow-b {
    right: -10rem;
    top: 12rem;
    background: rgba(216, 255, 87, 0.12);
}

.glass-card {
    background: linear-gradient(180deg, rgba(13, 38, 53, 0.92), rgba(5, 19, 28, 0.92));
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero {
    display: grid;
    gap: 20px;
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
    margin-bottom: 14px;
}

.home-preview-switcher {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
    padding: 12px;
}

.home-preview-switcher__group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.home-preview-switcher span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.home-preview-switcher a {
    border: 1px solid rgba(126, 224, 255, 0.14);
    border-radius: 999px;
    padding: 9px 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 800;
}

.home-preview-switcher a.is-active {
    border-color: rgba(216, 255, 87, 0.42);
    color: var(--text);
    background: rgba(216, 255, 87, 0.12);
}

.hero-copy {
    padding: 20px 4px;
    position: relative;
}

.hero-copy > :not(.hero-brand-mark) {
    position: relative;
    z-index: 1;
}

.hero-brand-mark {
    position: absolute;
    top: 2px;
    right: clamp(0px, 6vw, 64px);
    z-index: 0;
    width: clamp(120px, 18vw, 220px);
    height: auto;
    opacity: 0.14;
    pointer-events: none;
    filter: drop-shadow(0 22px 42px rgba(225, 43, 43, 0.26));
}

.hero-kicker {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(126, 224, 255, 0.12);
    color: var(--muted);
    font-size: 0.85rem;
}

.meta-pill--link {
    color: var(--text);
    text-decoration: none;
    border-color: rgba(216, 255, 87, 0.26);
    background: rgba(216, 255, 87, 0.08);
}

.eyebrow,
.mini-label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    font-size: 0.78rem;
    margin: 0 0 8px;
}

h1,
h2,
strong {
    letter-spacing: -0.03em;
}

h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5.8vw, 4.8rem);
    line-height: 1;
    max-width: 14ch;
}

h2 {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.lede {
    max-width: 42rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--muted);
    margin-top: 16px;
}

.hero-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-self: stretch;
}

.breaking-news-card {
    display: grid;
    grid-template-columns: auto minmax(220px, 0.6fr) minmax(280px, 1fr);
    gap: 14px;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px 18px;
    color: inherit;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.breaking-news-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 50%, rgba(255, 90, 95, 0.18), transparent 28%),
        linear-gradient(90deg, rgba(255, 90, 95, 0.12), rgba(126, 224, 255, 0.04), transparent);
    pointer-events: none;
}

.breaking-news-card > * {
    position: relative;
    z-index: 1;
}

.breaking-news-card__label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    border: 1px solid rgba(255, 90, 95, 0.34);
    border-radius: 999px;
    padding: 7px 11px;
    color: #ffd2d4;
    background: rgba(255, 90, 95, 0.14);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.breaking-news-card strong {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.15;
}

.breaking-news-card span:last-child {
    color: var(--muted);
    line-height: 1.5;
}

.breaking-news-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 90, 95, 0.3);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.ranked-map-widget {
    display: grid;
    gap: 8px;
    color: inherit;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.ranked-map-widget::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--map-accent) 26%, transparent), transparent 34%),
        linear-gradient(120deg, transparent 0 34%, color-mix(in srgb, var(--map-accent-alt) 10%, transparent) 34% 35%, transparent 35%);
    opacity: 0.9;
    pointer-events: none;
}

.ranked-map-widget > * {
    position: relative;
    z-index: 1;
}

.ranked-map-widget h2 {
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 0.9;
}

.ranked-map-widget__bar {
    display: block;
    height: 8px;
    margin-top: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.09);
}

.ranked-map-widget__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--map-accent), var(--map-accent-alt));
}

.split-strip-map {
    color: inherit;
    min-width: 0;
    text-decoration: none;
}

.split-strip-map strong {
    display: block;
    overflow: hidden;
    color: var(--text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-layout--command .hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
}

.home-layout--command .hero-copy {
    border: 1px solid rgba(169, 210, 230, 0.1);
    border-radius: 34px;
    padding: clamp(24px, 5vw, 46px);
    background:
        radial-gradient(circle at 80% 18%, rgba(216, 255, 87, 0.12), transparent 34%),
        radial-gradient(circle at 16% 12%, rgba(126, 224, 255, 0.16), transparent 36%),
        rgba(255, 255, 255, 0.025);
}

.home-layout--command .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(4rem, 10vw, 8rem);
    letter-spacing: -0.09em;
}

.home-layout--command .hero-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-layout--compact .hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
    align-items: center;
    margin-bottom: 12px;
}

.home-layout--compact .hero-copy {
    padding: 8px 4px;
}

.home-layout--compact .hero-copy h1 {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.home-layout--compact .hero-copy .lede {
    max-width: 58rem;
    margin-top: 10px;
}

.home-layout--compact .hero-panels .stat-card:first-child {
    display: none;
}

.home-layout--compact .split-strip {
    margin-bottom: 12px;
}

.home-layout--map-focus .hero {
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.75fr);
}

.home-layout--map-focus .ranked-map-widget--hero {
    min-height: 260px;
    justify-content: end;
}

.home-layout--map-focus .ranked-map-widget--hero h2 {
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    letter-spacing: -0.08em;
}

.home-layout--map-focus .hero-panels .stat-card:not(.ranked-map-widget) {
    min-height: 120px;
}

.concept-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 20px;
    align-items: stretch;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    border-radius: 36px;
    padding: clamp(22px, 4vw, 38px);
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 34%),
        radial-gradient(circle at 14% 16%, color-mix(in srgb, var(--accent-strong) 12%, transparent), transparent 30%),
        rgba(255, 255, 255, 0.028);
}

.concept-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0 28%, color-mix(in srgb, var(--accent) 12%, transparent) 28% 29%, transparent 29%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 44px);
    opacity: 0.8;
    pointer-events: none;
}

.concept-hero > * {
    position: relative;
    z-index: 1;
}

.concept-hero h1 {
    max-width: 9ch;
    font-size: clamp(3.4rem, 8vw, 7.8rem);
    letter-spacing: -0.1em;
    line-height: 0.82;
}

.concept-hero p:not(.eyebrow) {
    max-width: 58ch;
    color: var(--muted);
    line-height: 1.7;
}

.concept-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.concept-signal-grid article {
    display: grid;
    align-content: end;
    min-height: 150px;
    border: 1px solid rgba(169, 210, 230, 0.1);
    border-radius: 24px;
    padding: 18px;
    background:
        radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 38%),
        rgba(0, 0, 0, 0.16);
}

.concept-signal-grid span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.concept-signal-grid strong {
    margin-top: 8px;
    font-size: clamp(1.4rem, 3vw, 2.6rem);
    line-height: 0.95;
}

.home-layout--arena .hero {
    grid-template-columns: 0.75fr 1.25fr;
    align-items: stretch;
}

.home-layout--arena .hero-copy {
    display: grid;
    align-content: center;
    border: 1px solid rgba(169, 210, 230, 0.1);
    border-radius: 30px;
    padding: 26px;
    background: rgba(255, 255, 255, 0.025);
}

.home-layout--arena .hero-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-layout--arena .stat-card {
    min-height: 190px;
    align-content: end;
}

.home-layout--arena .content-grid {
    grid-template-columns: minmax(0, 1fr);
}

.home-layout--arena .side-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.home-layout--terminal {
    width: min(1500px, calc(100vw - 28px));
}

.home-layout--terminal .concept-hero {
    grid-template-columns: minmax(0, 0.6fr) minmax(540px, 1.4fr);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        rgba(0, 0, 0, 0.26);
}

.home-layout--terminal .concept-hero h1 {
    font-size: clamp(2.6rem, 5vw, 5.4rem);
}

.home-layout--terminal .concept-signal-grid article,
.home-layout--terminal .glass-card,
.home-layout--terminal .leaderboard-row {
    border-radius: 12px;
}

.home-layout--terminal .hero {
    display: none;
}

.home-layout--terminal .split-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-radius: 12px;
    padding: 14px;
}

.home-layout--terminal .content-grid {
    grid-template-columns: minmax(0, 1.85fr) minmax(280px, 0.65fr);
}

.home-layout--terminal .leaderboard-row {
    padding-top: 9px;
    padding-bottom: 9px;
}

.home-layout--broadcast .concept-hero {
    min-height: 420px;
    align-items: end;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 58%),
        radial-gradient(circle at 82% 24%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 38%),
        rgba(255, 255, 255, 0.025);
}

.home-layout--broadcast .concept-hero::after {
    content: "LIVE RANKED FEED";
    position: absolute;
    right: -24px;
    bottom: 20px;
    color: color-mix(in srgb, var(--accent) 18%, transparent);
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.08em;
    pointer-events: none;
}

.home-layout--broadcast .hero {
    grid-template-columns: minmax(0, 1fr);
}

.home-layout--broadcast .hero-copy {
    display: none;
}

.home-layout--broadcast .hero-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-layout--broadcast .leaderboard-table {
    border: 1px solid rgba(169, 210, 230, 0.08);
    border-radius: 24px;
    overflow: hidden;
}

.home-layout--broadcast .leaderboard-entry:nth-of-type(odd) {
    background: color-mix(in srgb, var(--accent) 4%, transparent);
}

.home-layout--data-wall {
    width: min(1440px, calc(100vw - 28px));
}

.home-layout--data-wall .concept-hero {
    grid-template-columns: minmax(0, 0.7fr) minmax(620px, 1.3fr);
}

.home-layout--data-wall .concept-signal-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-layout--data-wall .concept-signal-grid article {
    min-height: 210px;
}

.home-layout--data-wall .hero {
    display: none;
}

.home-layout--data-wall .split-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-layout--data-wall .content-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
}

.concept-analysis-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: -4px 0 20px;
}

.concept-analysis-strip article {
    border: 1px solid rgba(169, 210, 230, 0.1);
    border-radius: 24px;
    padding: 18px;
    background:
        radial-gradient(circle at 90% 12%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 36%),
        rgba(255, 255, 255, 0.025);
}

.concept-analysis-strip span {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.concept-analysis-strip strong {
    display: block;
    margin-top: 10px;
    font-size: 1.25rem;
}

.concept-analysis-strip p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.home-layout--race-line {
    width: min(1480px, calc(100vw - 28px));
}

.home-layout--race-line .hero {
    display: none;
}

.home-layout--race-line .concept-hero {
    grid-template-columns: minmax(0, 0.7fr) minmax(560px, 1.3fr);
    min-height: 360px;
}

.home-layout--race-line .leaderboard-table {
    display: grid;
    gap: 10px;
}

.home-layout--race-line .leaderboard-head {
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
}

.home-layout--race-line .leaderboard-entry {
    border: 1px solid color-mix(in srgb, var(--tier-color) 24%, rgba(255, 255, 255, 0.08));
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--tier-color) 12%, transparent), transparent 34%),
        rgba(255, 255, 255, 0.03);
}

.home-layout--race-line .leaderboard-entry::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tier-color), transparent);
    opacity: 0.75;
}

.home-layout--race-line .rank-chip {
    width: 64px;
    border-radius: 999px;
}

.home-layout--ops-room {
    width: min(1500px, calc(100vw - 28px));
}

.home-layout--ops-room .hero {
    display: none;
}

.home-layout--ops-room .concept-hero {
    grid-template-columns: minmax(0, 1fr);
}

.home-layout--ops-room .concept-signal-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-layout--ops-room .split-strip {
    border-radius: 999px;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--accent) 8%, transparent), rgba(255, 255, 255, 0.025));
}

.home-layout--ops-room .content-grid {
    grid-template-columns: minmax(0, 1fr);
}

.home-layout--ops-room .side-column {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-layout--ops-room .leaderboard-table {
    border-radius: 28px;
    overflow: hidden;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 46px),
        rgba(0, 0, 0, 0.12);
}

.home-layout--player-cards {
    width: min(1420px, calc(100vw - 28px));
}

.home-layout--player-cards .hero {
    display: none;
}

.home-layout--player-cards .content-grid {
    grid-template-columns: minmax(0, 1fr);
}

.home-layout--player-cards .side-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.home-layout--player-cards .leaderboard-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-layout--player-cards .leaderboard-head {
    display: none;
}

.home-layout--player-cards .leaderboard-row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 14px;
}

.home-layout--player-cards .leaderboard-entry {
    min-height: 156px;
    align-items: center;
    border: 1px solid color-mix(in srgb, var(--tier-color) 26%, rgba(255, 255, 255, 0.08));
    border-radius: 28px;
    padding: 18px;
    background:
        radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--tier-color) 18%, transparent), transparent 34%),
        rgba(255, 255, 255, 0.035);
}

.home-layout--player-cards .tier-cell,
.home-layout--player-cards .status-cell {
    display: none;
}

.home-layout--player-cards .rp-cell {
    align-items: flex-end;
    text-align: right;
}

.home-layout--player-cards .delta-cell {
    justify-content: flex-end;
}

.home-layout--pro-terminal {
    width: min(1360px, calc(100vw - 32px));
}

.home-layout--pro-terminal .hero {
    display: none;
}

.home-layout--pro-terminal .concept-hero {
    grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1.25fr);
    min-height: unset;
    border-radius: 18px;
    padding: 22px;
}

.home-layout--pro-terminal .concept-hero h1 {
    font-size: clamp(2.4rem, 5vw, 5rem);
}

.home-layout--pro-terminal .concept-signal-grid article {
    min-height: 112px;
    border-radius: 14px;
}

.home-layout--pro-terminal .glass-card {
    border-radius: 16px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
}

.home-layout--pro-terminal .split-strip {
    border-radius: 16px;
    padding: 14px;
}

.home-layout--pro-terminal .leaderboard-row {
    grid-template-columns: 58px 1.8fr 0.9fr 0.95fr 0.7fr 0.6fr;
    padding-top: 8px;
    padding-bottom: 8px;
}

.home-layout--pro-terminal .rank-chip,
.home-layout--pro-terminal .legend-thumb,
.home-layout--pro-terminal .filter-bar input,
.home-layout--pro-terminal .filter-bar select,
.home-layout--pro-terminal .filter-bar button {
    border-radius: 10px;
}

.stat-card,
.sidebar-card,
.split-strip,
.player-hero,
.metric-grid {
    padding: 20px;
}

.hero-panels .stat-card {
    min-width: 0;
    padding: 15px;
}

.hero-panels .stat-card:first-child {
    grid-column: 1 / -1;
}

.hero-panels .stat-card h2 {
    font-size: clamp(1.28rem, 2.25vw, 1.95rem);
    line-height: 1.02;
}

.hero-panels .stat-label {
    margin-bottom: 7px;
}

.hero-panels .stat-foot {
    margin-top: 8px;
    line-height: 1.35;
}

.stat-label,
.metric-label,
.stat-foot,
.section-note,
.back-link,
.leaderboard-row small,
.pagination-strip,
.tier-list,
.feature-list {
    color: var(--muted);
}

.stat-card h2,
.player-score strong,
.big-name,
.big-delta {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.split-strip {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 20px;
}

.content-grid,
.player-grid {
    display: grid;
    gap: 20px;
}

.content-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
}

.section-head,
.filter-bar,
.pagination-strip,
.player-hero,
.metric-grid {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}

.leaderboard-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    text-align: right;
}

.top-reset-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 13px;
    border: 1px solid rgba(216, 255, 87, 0.28);
    border-radius: 999px;
    color: var(--text);
    background: rgba(216, 255, 87, 0.08);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.top-reset-link:hover {
    border-color: rgba(216, 255, 87, 0.5);
    background: rgba(216, 255, 87, 0.14);
}

.filter-bar {
    flex-wrap: wrap;
    margin: 20px 0;
}

.filter-bar.is-searching {
    opacity: 0.72;
}

.filter-bar label {
    display: grid;
    gap: 6px;
    min-width: 180px;
    color: var(--muted);
    font-size: 0.86rem;
}

.filter-field--active span {
    color: var(--text);
}

.filter-bar input,
.filter-bar select,
.filter-bar button,
.button-link {
    border: 1px solid rgba(126, 224, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    padding: 13px 16px;
    text-decoration: none;
}

.filter-bar button,
.button-link {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #06202a;
    font-weight: 700;
    cursor: pointer;
}

.filter-bar button[disabled] {
    cursor: progress;
    opacity: 0.8;
}

.search-processing {
    display: none;
    align-items: center;
    gap: 14px;
    margin: 14px 0 20px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(126, 224, 255, 0.18);
    background:
        radial-gradient(circle at left, rgba(126, 224, 255, 0.12), transparent 42%),
        rgba(255, 255, 255, 0.04);
}

.search-processing.is-visible {
    display: flex;
}

.search-processing strong,
.search-processing p {
    margin: 0;
}

.search-processing p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-top: 2px;
}

.search-processing__spinner {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-top-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(126, 224, 255, 0.08);
    animation: search-processing-spin 900ms linear infinite;
    flex-shrink: 0;
}

@keyframes search-processing-spin {
    to {
        transform: rotate(360deg);
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(216, 255, 87, 0.12);
}

.hero-panels .stat-card:hover,
.sidebar-card:hover,
.split-strip:hover,
.site-footer:hover {
    transform: translateY(-2px);
    border-color: rgba(126, 224, 255, 0.24);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.leaderboard-table {
    display: grid;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 72px 1.6fr 1.05fr 0.95fr 0.85fr 0.7fr;
    gap: 16px;
    align-items: center;
    padding: 12px 10px;
    --tier-color: var(--accent);
}

.leaderboard-empty {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    color: var(--muted);
}

/* Tier accent mapping — each tier-accent-* class sets a CSS var on the row
   which downstream elements (rank chip, hover glow, tier pill) read from. */
.tier-accent-rookie        { --tier-color: var(--tier-rookie); }
.tier-accent-bronze        { --tier-color: var(--tier-bronze); }
.tier-accent-silver        { --tier-color: var(--tier-silver); }
.tier-accent-gold          { --tier-color: var(--tier-gold); }
.tier-accent-platinum      { --tier-color: var(--tier-platinum); }
.tier-accent-diamond       { --tier-color: var(--tier-diamond); }
.tier-accent-master        { --tier-color: var(--tier-master); }
.tier-accent-apex_predator { --tier-color: var(--tier-apex_predator); }
.tier-accent-predator      { --tier-color: var(--tier-predator); }

.leaderboard-head {
    position: sticky;
    top: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(7, 24, 35, 0.96), rgba(7, 24, 35, 0.88));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    padding-top: 14px;
    padding-bottom: 14px;
}

.leaderboard-entry {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(169, 210, 230, 0.06);
    position: relative;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
    scroll-margin-top: 96px;
}

.leaderboard-entry:nth-of-type(odd) {
    background: rgba(255, 255, 255, 0.015);
}

.leaderboard-entry::before {
    /* Left-edge tier bar — fades in on hover, adds color identity to the row. */
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 3px;
    background: var(--tier-color);
    opacity: 0;
    transition: opacity 180ms ease;
}

.leaderboard-entry:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--tier-color) 8%, transparent);
    border-color: color-mix(in srgb, var(--tier-color) 28%, transparent);
}

.leaderboard-entry:hover::before {
    opacity: 1;
}

.leaderboard-entry--missing {
    color: color-mix(in srgb, var(--muted) 82%, var(--text));
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 10px, transparent 10px 20px),
        rgba(255, 255, 255, 0.01);
    border-bottom-style: dashed;
    cursor: default;
}

.leaderboard-entry--missing:hover {
    transform: none;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.024) 0 10px, transparent 10px 20px),
        rgba(255, 255, 255, 0.012);
}

.leaderboard-entry--missing .legend-thumb,
.leaderboard-entry--missing .rank-chip {
    opacity: 0.64;
}

.rank-chip {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    background: linear-gradient(160deg,
        color-mix(in srgb, var(--tier-color) 28%, transparent),
        color-mix(in srgb, var(--tier-color) 10%, transparent));
    border: 1px solid color-mix(in srgb, var(--tier-color) 45%, transparent);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15) inset,
                0 6px 16px -8px color-mix(in srgb, var(--tier-color) 40%, transparent);
    color: var(--text);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Player cell: legend portrait + name + platform meta */
.player-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.player-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.player-meta strong {
    font-size: 0.98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-meta small {
    font-size: 0.78rem;
    color: var(--muted);
}

.legend-thumb {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--tier-color) 30%, transparent), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid color-mix(in srgb, var(--tier-color) 35%, rgba(255, 255, 255, 0.06));
    position: relative;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.legend-thumb img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
    /* Slight zoom pinned to the top edge so the tile's top stays flush
       with the container and the character's face lands near the middle
       of the 42px thumbnail. */
    transform: scale(1.15);
    transform-origin: center top;
}

.legend-thumb__fallback,
.portrait-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.08em;
    z-index: 0;
}

.legend-thumb--fallback::after {
    content: none;
}

.leaderboard-entry:hover .legend-thumb {
    transform: scale(1.08);
    box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--tier-color) 60%, transparent);
}

.race-banner {
    position: sticky;
    top: 10px;
    z-index: 20;
    margin-bottom: 22px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(216, 255, 87, 0.26);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(13, 38, 53, 0.96), rgba(5, 19, 28, 0.96)),
        radial-gradient(circle at 12% 10%, rgba(216, 255, 87, 0.18), transparent 30%);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
}

.race-banner__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.race-banner__head h2 {
    margin: 2px 0 0;
    font-size: clamp(1.25rem, 2vw, 2rem);
    letter-spacing: 0;
}

.race-banner__status {
    flex: 0 0 auto;
    color: var(--accent-strong);
    font: 700 0.78rem/1 "Inter", sans-serif;
    text-transform: uppercase;
}

.race-banner__actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.race-banner__toggle {
    appearance: none;
    border: 1px solid rgba(169, 210, 230, 0.18);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    font: 800 0.72rem/1 "Inter", sans-serif;
    text-transform: uppercase;
    cursor: pointer;
}

.race-banner__toggle:hover {
    border-color: var(--accent);
    color: var(--accent-strong);
}

.race-banner__body {
    display: block;
}

.race-banner--collapsed {
    padding-block: 12px;
}

.race-banner--collapsed .race-banner__head {
    margin-bottom: 0;
}

.race-banner--collapsed .race-banner__body {
    display: none;
}

.race-track {
    position: relative;
    min-height: 342px;
    overflow: hidden;
    border: 1px solid rgba(169, 210, 230, 0.14);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 12.5% 100%,
        linear-gradient(180deg, rgba(126, 224, 255, 0.08), rgba(2, 8, 12, 0.42));
}

.race-track__grid {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(180deg, transparent 0 41px, rgba(169, 210, 230, 0.11) 42px 43px);
    pointer-events: none;
}

.race-track__finish {
    position: absolute;
    top: 0;
    right: 18px;
    bottom: 0;
    width: 3px;
    background: var(--accent-strong);
    box-shadow: 0 0 20px color-mix(in srgb, var(--accent-strong) 72%, transparent);
}

.race-track__finish span {
    position: absolute;
    top: 10px;
    right: 8px;
    color: var(--accent-strong);
    font: 800 0.74rem/1 "Inter", sans-serif;
    white-space: nowrap;
}

.race-track__empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 700;
}

.race-lane {
    position: absolute;
    left: 14px;
    right: 28px;
    top: calc(18px + (var(--lane) * 39px));
    height: 36px;
}

.race-lane__line {
    position: absolute;
    left: 0;
    right: 0;
    top: 18px;
    height: 1px;
    background: linear-gradient(90deg, rgba(126, 224, 255, 0.28), rgba(216, 255, 87, 0.38));
}

.race-runner {
    position: absolute;
    top: 0;
    display: inline-flex;
    align-items: center;
    min-width: 210px;
    max-width: min(310px, 52vw);
    gap: 8px;
    padding: 5px 10px 5px 6px;
    color: var(--text);
    text-decoration: none;
    transform: translateX(-50%);
    border: 1px solid color-mix(in srgb, var(--tier-color, var(--accent)) 42%, transparent);
    border-radius: 999px;
    background: rgba(4, 16, 24, 0.9);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    transition: left 900ms ease, transform 180ms ease, border-color 180ms ease;
}

.race-runner:hover {
    transform: translateX(-50%) translateY(-1px);
    border-color: var(--tier-color, var(--accent));
}

.race-runner__rank {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    color: #06131b;
    background: var(--accent-strong);
    font: 800 0.72rem/1 "Inter", sans-serif;
}

.race-runner__portrait {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--tier-color, var(--accent)) 28%, #06131b);
    color: var(--text);
    font-weight: 800;
}

.race-runner__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.race-runner__copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.race-runner__copy strong,
.race-runner__copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.race-runner__copy strong {
    font-size: 0.84rem;
}

.race-runner__copy small {
    color: var(--muted);
    font: 700 0.72rem/1.1 "Inter", sans-serif;
}

.race-champion {
    position: absolute;
    inset: 18px;
    z-index: 5;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    border-radius: 12px;
    background: rgba(5, 19, 28, 0.88);
    text-align: center;
}

.race-champion span {
    color: var(--accent-strong);
    font: 800 0.78rem/1 "Inter", sans-serif;
    text-transform: uppercase;
}

.race-champion strong {
    font-size: clamp(1.8rem, 5vw, 4rem);
}

.race-champion small {
    color: var(--muted);
    font-weight: 800;
}

.race-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    margin-top: 12px;
    overflow: hidden;
    white-space: nowrap;
}

.race-ticker__label {
    flex: 0 0 auto;
    color: var(--accent-strong);
    font: 800 0.72rem/1 "Inter", sans-serif;
    text-transform: uppercase;
}

.race-ticker__item,
.race-ticker__empty {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid rgba(169, 210, 230, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font: 700 0.78rem/1 "Inter", sans-serif;
}

.race-ticker__item strong {
    color: var(--text);
}

.race-track {
    display: grid;
    gap: 8px;
    min-height: 536px;
    padding: 12px;
}

.race-track__grid {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 12.5% 100%,
        repeating-linear-gradient(180deg, transparent 0 51px, rgba(169, 210, 230, 0.1) 52px 53px);
}

.race-track__finish {
    right: 12px;
}

.race-lane {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    align-items: center;
    gap: 12px;
    height: auto;
    min-height: 44px;
}

.race-lane__line {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    height: 12px;
    overflow: visible;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
}

.race-lane__fill {
    display: block;
    width: var(--progress);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 35%, transparent);
    transition: width 900ms ease;
}

.race-lane__marker {
    position: absolute;
    top: 50%;
    left: var(--progress);
    width: 18px;
    height: 18px;
    border: 2px solid #06131b;
    border-radius: 999px;
    background: var(--accent-strong);
    box-shadow: 0 0 16px color-mix(in srgb, var(--accent-strong) 55%, transparent);
    transform: translate(-50%, -50%);
    transition: left 900ms ease;
}

.race-runner {
    position: relative;
    top: auto;
    left: auto !important;
    width: 100%;
    max-width: none;
    min-width: 0;
    display: grid;
    grid-template-columns: 24px 34px minmax(0, 1fr) auto;
    border-radius: 12px;
    transform: none;
}

.race-runner:hover {
    transform: translateY(-1px);
}

.race-runner__score {
    display: grid;
    justify-items: end;
    gap: 2px;
    min-width: 84px;
}

.race-runner__score strong {
    font: 900 0.9rem/1 "Inter", sans-serif;
}

.race-runner__score small {
    color: var(--accent-strong);
    font: 800 0.66rem/1 "Inter", sans-serif;
    text-transform: uppercase;
}

/* Tier pill */
.tier-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.tier-cell small {
    font-size: 0.76rem;
    color: var(--muted);
}

.tier-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: color-mix(in srgb, var(--tier-color) 18%, rgba(0, 0, 0, 0.15));
    border: 1px solid color-mix(in srgb, var(--tier-color) 45%, transparent);
    color: color-mix(in srgb, var(--tier-color) 75%, var(--text));
    width: fit-content;
}

.tier-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--tier-color);
    box-shadow: 0 0 8px color-mix(in srgb, var(--tier-color) 80%, transparent);
}

/* RP cell with progress bar */
.rp-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.rp-cell strong {
    font-size: 1.0rem;
    font-variant-numeric: tabular-nums;
}

.rp-meter {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.rp-meter__fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--tier-color) 60%, transparent),
        var(--tier-color));
    box-shadow: 0 0 6px color-mix(in srgb, var(--tier-color) 60%, transparent);
    transition: width 220ms ease;
}

/* Delta chip */
.delta-cell {
    display: flex;
    align-items: center;
}

.delta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    border: 1px solid transparent;
    white-space: nowrap;
}

.delta-chip__arrow {
    font-size: 0.72rem;
    line-height: 1;
}

.delta-chip--up {
    background: color-mix(in srgb, var(--up) 14%, transparent);
    border-color: color-mix(in srgb, var(--up) 38%, transparent);
    color: var(--up);
}

.delta-chip--down {
    background: color-mix(in srgb, var(--down) 14%, transparent);
    border-color: color-mix(in srgb, var(--down) 38%, transparent);
    color: var(--down);
}

.delta-chip--flat {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

/* Status cell: live dot + label */
.status-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-cell small {
    color: var(--muted);
    font-size: 0.78rem;
}

.live-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    flex-shrink: 0;
    display: inline-block;
}

.live-dot--online {
    position: relative;
    background: var(--up);
}

.live-dot--online::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: color-mix(in srgb, var(--up) 60%, transparent);
    animation: live-pulse 2s ease-out infinite;
    pointer-events: none;
    will-change: transform, opacity;
}

.live-dot--offline {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.live-dot--match {
    background: #ffcf5a;
    box-shadow: 0 0 0 4px rgba(255, 207, 90, 0.14), 0 0 18px rgba(255, 207, 90, 0.38);
}

/* Live party badges */
.party-badge {
    --party-color: #c9d1d9;
    --party-bg: rgba(139, 148, 158, 0.14);
    --party-border: rgba(139, 148, 158, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.5rem;
    padding: 0.12rem 0.45rem 0.12rem 0.32rem;
    border: 1px solid var(--party-border);
    border-radius: 999px;
    background: var(--party-bg);
    color: var(--party-color);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0;
    vertical-align: middle;
    line-height: 1;
    white-space: nowrap;
}

.party-badge__icon {
    display: inline-grid;
    grid-template-columns: repeat(2, 0.34rem);
    grid-template-rows: repeat(2, 0.34rem);
    gap: 0.08rem;
    width: 0.76rem;
    height: 0.76rem;
    align-items: center;
    justify-items: center;
}

.party-badge__pip {
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.party-badge__pip:nth-child(1) {
    grid-column: 1 / 3;
}

.party-badge__pip--active {
    background: var(--party-color);
    box-shadow: 0 0 8px color-mix(in srgb, var(--party-color) 45%, transparent);
}

.party-badge__label {
    transform: translateY(-0.01rem);
}
.party-badge--solo {
    --party-color: #c9d1d9;
    --party-bg: rgba(139, 148, 158, 0.14);
    --party-border: rgba(139, 148, 158, 0.32);
}
.party-badge--duo {
    --party-color: #79c0ff;
    --party-bg: rgba(88, 166, 255, 0.15);
    --party-border: rgba(88, 166, 255, 0.38);
}
.party-badge--trio {
    --party-color: #ffcf5a;
    --party-bg: rgba(255, 207, 90, 0.17);
    --party-border: rgba(255, 207, 90, 0.4);
}

.last-rp {
    margin-left: 0.4rem;
    padding: 0.04rem 0.32rem;
    border-radius: 0.32rem;
    font-size: 0.66rem;
    font-weight: 600;
}
.last-rp--up   { color: #3fb950; background: rgba(63, 185, 80, 0.12); }
.last-rp--down { color: #f85149; background: rgba(248, 81, 73, 0.12); }

.presence-inline {
    display: block;
    margin-top: 2px;
    color: rgba(191, 219, 254, 0.88);
    font-size: 0.72rem;
    line-height: 1.2;
}

.presence-panel {
    border-color: rgba(255, 207, 90, 0.24);
}

.presence-status-line {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.1rem 0 0.95rem;
}

.presence-status-line strong {
    color: #fff7d6;
    font-size: 1.05rem;
}

.presence-teammates {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.presence-teammates > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.5rem;
}

.presence-teammates a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border: 1px solid rgba(126, 224, 255, 0.22);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    color: #dff8ff;
    background: rgba(126, 224, 255, 0.08);
    text-decoration: none;
}

@keyframes live-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* ----- Podium (top 3) ----- */
.podium {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    align-items: end;
    gap: 14px;
    margin: 20px 0 28px;
}

.podium-card {
    --tier-color: var(--accent);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 18px 18px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    background:
        radial-gradient(circle at top, color-mix(in srgb, var(--medal-color) 18%, transparent), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid color-mix(in srgb, var(--medal-color) 40%, rgba(255, 255, 255, 0.08));
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.podium-card--gold {
    --medal-color: #ffd460;
    order: 2;
    min-height: 300px;
    padding-top: 26px;
    background:
        radial-gradient(circle at top, rgba(255, 212, 96, 0.24), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    box-shadow: 0 20px 60px -20px rgba(255, 212, 96, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.podium-card--silver {
    --medal-color: #c7d2dd;
    order: 1;
    min-height: 270px;
}

.podium-card--bronze {
    --medal-color: #d08f5b;
    order: 3;
    min-height: 270px;
}

.podium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px -22px color-mix(in srgb, var(--medal-color) 50%, transparent),
                inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.podium-card--missing {
    color: color-mix(in srgb, var(--muted) 84%, var(--text));
    border-style: dashed;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 12px, transparent 12px 24px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

.podium-card--missing:hover {
    transform: none;
    box-shadow: none;
}

.podium-rank-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--medal-color);
    color: #06131b;
    box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--medal-color) 80%, transparent);
}

.podium-portrait {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--medal-color) 35%, transparent), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 2px solid color-mix(in srgb, var(--medal-color) 60%, transparent);
    box-shadow: 0 0 0 4px rgba(6, 19, 27, 0.6),
                0 10px 25px -8px color-mix(in srgb, var(--medal-color) 55%, transparent);
}

.podium-card--gold .podium-portrait {
    width: 112px;
    height: 112px;
}

.podium-portrait img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
    /* Zoom-in crop pinned to the container's top edge. EA grid-tile images
       pack the full character into a nearly-square frame with the face in
       the top 15-30%. Scaling around `center top` enlarges the image while
       keeping its top edge flush against the container top (no blank strip),
       which brings the face into the upper-middle of the circle. */
    transform: scale(1.4);
    transform-origin: center top;
}

.podium-portrait .live-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(6, 19, 27, 0.85);
}

.podium-body {
    text-align: center;
    display: grid;
    gap: 6px;
}

.podium-name {
    margin: 4px 0 0;
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.podium-card--gold .podium-name {
    font-size: 1.18rem;
    max-width: 220px;
}

.podium-sub {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.podium-rp {
    margin: 2px 0 0;
    font-size: 1.4rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.podium-card--gold .podium-rp {
    font-size: 1.7rem;
}

.podium-rp span {
    font-size: 0.72em;
    color: var(--muted);
    font-weight: 500;
    margin-left: 4px;
}

@media (max-width: 720px) {
    .race-banner {
        position: relative;
        top: auto;
        padding: 14px;
    }

    .race-banner__head {
        display: grid;
    }

    .race-banner__status {
        justify-self: start;
    }

    .race-banner__actions {
        justify-content: space-between;
        width: 100%;
    }

    .race-track {
        min-height: 640px;
        padding: 10px;
    }

    .race-lane {
        left: 8px;
        right: 16px;
        top: calc(14px + (var(--lane) * 41px));
        left: auto;
        right: auto;
        top: auto;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .race-runner {
        min-width: 156px;
        max-width: 68vw;
        max-width: none;
        padding-right: 8px;
        grid-template-columns: 22px 30px minmax(0, 1fr) auto;
    }

    .race-runner__copy strong {
        font-size: 0.78rem;
    }

    .race-runner__copy small {
        font-size: 0.66rem;
    }

    .race-ticker {
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .podium {
        grid-template-columns: 1fr;
    }

    .podium-card--gold,
    .podium-card--silver,
    .podium-card--bronze {
        order: unset;
        min-height: unset;
    }

    .search-processing.is-visible {
        align-items: flex-start;
    }
}

.pagination-links {
    display: flex;
    gap: 10px;
}

.pagination-links a,
.back-link {
    text-decoration: none;
}

.site-footer {
    margin-top: 20px;
    padding: 18px 20px;
}

.site-footer__title,
.site-footer__meta {
    margin: 0;
}

.site-footer__title {
    color: var(--text);
    font-weight: 700;
}

.site-footer__meta + .site-footer__meta,
.site-footer__title + .site-footer__meta {
    margin-top: 6px;
}

.site-footer__meta {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.tier-list,
.feature-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.section-stack {
    margin-top: 20px;
}

.tier-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.tier-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(169, 210, 230, 0.1);
    background:
        radial-gradient(circle at top right, rgba(126, 224, 255, 0.1), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
}

.tier-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.tier-card h3 {
    margin: 0;
    font-size: 1.35rem;
}

.tier-floor,
.tier-topline,
.tier-rewards {
    color: var(--muted);
}

.tier-floor {
    font-weight: 700;
}

.tier-topline {
    margin: 10px 0 0;
}

.tier-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tier-stats span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(169, 210, 230, 0.08);
    color: var(--text);
    font-size: 0.85rem;
}

.tier-rewards {
    margin: 14px 0 0;
    line-height: 1.55;
}

.player-content-grid {
    margin-top: 20px;
}

.tier-list li,
.feature-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(169, 210, 230, 0.08);
}

.feature-list li {
    justify-content: flex-start;
}

.big-name {
    margin-top: 12px;
}

.big-delta {
    color: var(--up);
    margin-top: 8px;
}

.player-page {
    padding-top: 24px;
}

.player-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
    gap: 24px;
    padding: 28px;
    margin-bottom: 20px;
}

.player-stage-copy {
    display: grid;
    gap: 14px;
    align-content: start;
}

.stage-lede {
    margin: 0;
    max-width: 52rem;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.7;
}

.player-stage-visual {
    display: grid;
    gap: 16px;
    align-content: start;
}

.avatar-plaque {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(126, 224, 255, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-core {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #041018;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.avatar-meta {
    display: grid;
    gap: 6px;
}

.avatar-meta span {
    color: var(--muted);
}

.avatar-meta strong {
    font-size: 1.2rem;
}

.hero-scoreboard {
    display: grid;
    gap: 10px;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(169, 210, 230, 0.08);
}

.hero-score {
    display: grid;
    gap: 8px;
}

.hero-score-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 0.88rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 16px;
}

.player-score {
    text-align: right;
}

.player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 20px 0;
}

.player-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-panel {
    padding: 20px;
}

.stat-cluster {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.stat-cluster > div {
    display: grid;
    gap: 8px;
}

.stat-cluster strong {
    font-size: 1.1rem;
}

.player-dossier-grid {
    align-items: start;
}

.dossier-rail {
    display: grid;
    gap: 20px;
}

.feature-panel {
    padding: 22px;
}

.metric-grid {
    flex-wrap: wrap;
    align-items: stretch;
}

.metric-grid > div {
    min-width: 180px;
    display: grid;
    gap: 8px;
}

.chart-shell {
    padding-top: 10px;
}

.line-chart-shell {
    display: grid;
    gap: 14px;
}

.rank-history-chart {
    width: 100%;
    height: 240px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at top, rgba(126, 224, 255, 0.08), transparent 50%);
    border: 1px solid rgba(169, 210, 230, 0.08);
}

.chart-axis {
    stroke: rgba(169, 210, 230, 0.15);
    stroke-width: 1;
}

.chart-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 8px 16px rgba(126, 224, 255, 0.22));
}

.chart-area {
    fill: url(#rank-history-fill);
}

.chart-line--ladder {
    stroke: var(--accent-strong);
    filter: drop-shadow(0 8px 16px rgba(216, 255, 87, 0.18));
}

.chart-area--ladder {
    fill: url(#ladder-history-fill);
}

.chart-point {
    fill: var(--bg-deep);
    stroke: var(--accent);
    stroke-width: 2;
    cursor: help;
}

.chart-point:hover {
    fill: var(--accent);
}

.chart-point--ladder {
    stroke: var(--accent-strong);
}

.chart-point--ladder:hover {
    fill: var(--accent-strong);
}

.chart-scale {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.88rem;
}

.bars {
    display: flex;
    gap: 10px;
    align-items: end;
    min-height: 240px;
}

.history-table {
    display: grid;
    margin-top: 16px;
}

.session-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.session-stat {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(169, 210, 230, 0.08);
}

.session-stat strong {
    font-size: 1.18rem;
}

.profile-tape-panel {
    display: grid;
    gap: 18px;
}

.game-tape {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
    align-items: stretch;
    gap: 5px;
    min-height: 116px;
    padding: 14px 12px;
    border: 1px solid rgba(169, 210, 230, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    position: relative;
}

.game-tape::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50%;
    height: 1px;
    background: rgba(169, 210, 230, 0.14);
}

.game-tape__slot {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 1fr 1fr;
    align-items: stretch;
    min-height: 88px;
    min-width: 8px;
    cursor: help;
}

.game-tape__bar {
    display: block;
    min-height: 12px;
    border-radius: 7px 7px 4px 4px;
}

.game-tape__slot--up .game-tape__bar {
    align-self: end;
    grid-row: 1;
}

.game-tape__slot--down .game-tape__bar {
    align-self: start;
    grid-row: 2;
    border-radius: 4px 4px 7px 7px;
}

.game-tape__label {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    padding: 3px 6px;
    border-radius: 6px;
    background: rgba(4, 16, 24, 0.94);
    color: var(--text);
    font-size: 0.68rem;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
    white-space: nowrap;
}

.game-tape__slot:hover .game-tape__label {
    opacity: 1;
}

.game-tape__bar--up {
    background: linear-gradient(180deg, rgba(135, 242, 154, 0.96), rgba(46, 160, 67, 0.74));
    box-shadow: 0 10px 22px rgba(46, 160, 67, 0.12);
}

.game-tape__bar--down {
    background: linear-gradient(180deg, rgba(255, 134, 116, 0.96), rgba(201, 64, 52, 0.74));
    box-shadow: 0 10px 22px rgba(201, 64, 52, 0.12);
}

.profile-pulse-grid,
.profile-insight-grid {
    display: grid;
    gap: 14px;
}

.profile-pulse-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-pulse-grid > div {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border: 1px solid rgba(169, 210, 230, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.profile-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-mini-panel {
    padding: 20px;
}

.legend-form-list,
.party-mix-list,
.lobby-snapshot-list,
.teammate-list {
    display: grid;
    gap: 10px;
}

.legend-form-row,
.lobby-snapshot-row,
.teammate-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(169, 210, 230, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.legend-form-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
}

.legend-form-row__portrait {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(169, 210, 230, 0.12);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
}

.legend-form-row__portrait img,
.legend-form-row__portrait > span {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
}

.legend-form-row__portrait img {
    z-index: 1;
    display: block;
    object-fit: cover;
}

.legend-form-row__portrait > span {
    display: grid;
    place-items: center;
    color: var(--text);
    font-weight: 900;
}

.legend-form-row strong,
.lobby-snapshot-row strong,
.teammate-row strong {
    display: block;
    overflow: hidden;
    color: var(--text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.legend-form-row span,
.lobby-snapshot-row span,
.teammate-row small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.78rem;
}

.party-mix-row {
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid rgba(169, 210, 230, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.party-mix-row__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.party-mix-row__bar {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.party-mix-row__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.party-mix-row small {
    color: var(--muted);
    font-size: 0.76rem;
}

.profile-live-card {
    border-color: rgba(126, 224, 255, 0.16);
}

.teammate-row {
    color: inherit;
    text-decoration: none;
}

.teammate-row b {
    color: var(--accent-strong);
    font-size: 0.86rem;
}

.teammate-row:hover {
    border-color: rgba(126, 224, 255, 0.24);
}

@media (max-width: 900px) {
    .profile-insight-grid,
    .profile-pulse-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .profile-insight-grid,
    .profile-pulse-grid {
        grid-template-columns: 1fr;
    }

    .game-tape {
        grid-template-columns: repeat(18, minmax(8px, 1fr));
        min-height: 104px;
        overflow-x: auto;
    }

    .legend-form-row,
    .lobby-snapshot-row,
    .teammate-row {
        padding: 10px;
    }
}

.history-row {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr;
    gap: 16px;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(169, 210, 230, 0.08);
}

.history-head {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
}

.game-head,
.game-row {
    grid-template-columns: 0.9fr 0.8fr 0.8fr 1.1fr;
}

.session-head,
.session-row {
    grid-template-columns: 0.7fr 0.9fr 0.7fr 0.7fr 0.8fr 1fr 1.5fr;
}

.game-row small {
    display: block;
    color: var(--muted);
    margin-top: 4px;
}

.bar-wrap {
    flex: 1;
    text-align: center;
}

.bar {
    min-height: 12px;
    border-radius: 18px 18px 8px 8px;
    background: linear-gradient(180deg, var(--accent), var(--accent-strong));
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
    color: #05202b;
    font-size: 0.75rem;
    font-weight: 700;
}

.empty-state {
    width: min(720px, calc(100vw - 32px));
    margin: 80px auto;
    padding: 32px;
}

.search-discovery-note {
    margin: 16px 0 20px;
    padding: 14px 16px;
    border: 1px solid rgba(169, 210, 230, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(239, 244, 255, 0.86);
}

.search-discovery-note p {
    margin: 0;
    line-height: 1.55;
}

.search-discovery-results {
    margin: 18px 0 24px;
    display: grid;
    gap: 14px;
}

.search-mode-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 0;
    padding: 10px 4px 0;
}

.search-mode-actions__label {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.search-mode-actions__link {
    flex-shrink: 0;
    text-decoration: none;
    color: var(--accent);
    font-weight: 700;
}

.search-mode-actions__link:hover {
    text-decoration: underline;
}

.search-discovery-results__head {
    margin-bottom: 0;
}

.search-discovery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.search-discovery-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(169, 210, 230, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.search-discovery-card:hover {
    transform: translateY(-2px);
    border-color: rgba(126, 224, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

.search-discovery-card__name {
    margin: 0 0 4px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.search-discovery-card__badge {
    margin: 0 0 6px;
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-discovery-card__meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.search-discovery-card__score {
    display: grid;
    gap: 4px;
    justify-items: end;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.search-discovery-card__score strong {
    font-size: 1rem;
}

.search-discovery-card__score span {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lede--compact {
    max-width: none;
    margin-bottom: 0;
}

.seo-insights-grid,
.seo-link-grid,
.faq-grid {
    display: grid;
    gap: 20px;
}

.seo-insights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
}

.seo-insight-card,
.seo-link-hub,
.seo-copy-block,
.content-hero,
.seo-article-section {
    padding: 22px;
}

.seo-stat-cluster {
    margin-top: 18px;
}

.status-banner {
    display: grid;
    gap: 6px;
    margin-top: 8px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(169, 210, 230, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.status-banner strong {
    font-size: 0.95rem;
}

.status-banner span {
    color: var(--muted);
    line-height: 1.55;
}

.status-banner--healthy {
    border-color: color-mix(in srgb, var(--up) 42%, transparent);
    background: color-mix(in srgb, var(--up) 8%, transparent);
}

.status-banner--watching {
    border-color: color-mix(in srgb, var(--accent) 42%, transparent);
    background: color-mix(in srgb, var(--accent) 9%, transparent);
}

.status-banner--delayed,
.status-banner--unknown {
    border-color: color-mix(in srgb, var(--down) 42%, transparent);
    background: color-mix(in srgb, var(--down) 9%, transparent);
}

.seo-mini-list,
.seo-mover-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.seo-mini-list li,
.seo-mover,
.seo-link-card,
.faq-card {
    border: 1px solid rgba(169, 210, 230, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.seo-mini-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
}

.seo-mover {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.seo-mover:hover,
.seo-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(126, 224, 255, 0.24);
    background: rgba(255, 255, 255, 0.05);
}

.seo-mover__identity {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.seo-mover__identity small,
.seo-link-card span,
.faq-card p,
.seo-copy p {
    color: var(--muted);
}

.seo-mover__delta {
    color: var(--up);
    font-weight: 700;
    white-space: nowrap;
}

.seo-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.seo-link-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.seo-link-card strong,
.faq-card h3 {
    font-size: 1.05rem;
}

.seo-copy {
    display: grid;
    gap: 14px;
}

.seo-copy p,
.faq-card p {
    margin: 0;
    line-height: 1.7;
}

.content-page {
    padding-top: 24px;
}

.content-hero {
    margin-bottom: 20px;
}

.content-grid--single {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    align-items: start;
}

.seo-article-section + .seo-article-section {
    margin-top: 20px;
}

.faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.faq-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
}

.article-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 20px;
    align-items: center;
}

.article-hero__copy {
    min-width: 0;
}

.article-hero__media {
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(126, 224, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
}

.article-hero__media img {
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.article-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.article-byline span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-byline span + span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(126, 224, 255, 0.55);
}

.article-summary,
.editor-note,
.jump-box {
    grid-column: 1 / -1;
}

.article-summary,
.editor-note {
    margin: 0;
    padding: 16px 18px;
    border-radius: 18px;
    line-height: 1.65;
}

.article-summary {
    color: var(--text);
    border: 1px solid rgba(216, 255, 87, 0.22);
    background: color-mix(in srgb, var(--accent-strong) 9%, transparent);
}

.editor-note {
    color: var(--muted);
    border: 1px solid rgba(169, 210, 230, 0.13);
    background: rgba(255, 255, 255, 0.035);
}

.jump-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(126, 224, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
}

.jump-box strong {
    margin-right: 2px;
    color: var(--text);
}

.jump-box a,
.article-related-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid rgba(126, 224, 255, 0.16);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--accent);
    background: rgba(126, 224, 255, 0.06);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.25;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.jump-box a:hover,
.article-related-links a:hover {
    transform: translateY(-1px);
    border-color: rgba(216, 255, 87, 0.34);
    background: rgba(216, 255, 87, 0.08);
    color: var(--text);
}

.article-tldr ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-tldr li {
    position: relative;
    padding: 12px 14px 12px 34px;
    border-radius: 16px;
    border: 1px solid rgba(169, 210, 230, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    line-height: 1.5;
}

.article-tldr li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 20px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-strong);
    box-shadow: 0 0 12px color-mix(in srgb, var(--accent-strong) 70%, transparent);
}

.article-copy {
    gap: 16px;
}

.article-copy p {
    max-width: 72ch;
}

.article-quote,
.article-callout,
.why-line,
.article-inline-image {
    max-width: 74ch;
    margin: 0;
    border-radius: 18px;
}

.article-inline-image {
    overflow: hidden;
    border: 1px solid rgba(126, 224, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
}

.article-inline-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1672 / 941;
    object-fit: cover;
}

.article-inline-image figcaption {
    margin: 0;
    padding: 12px 14px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
    border-top: 1px solid rgba(169, 210, 230, 0.08);
}

.article-quote {
    padding: 18px 20px;
    border: 1px solid rgba(126, 224, 255, 0.18);
    border-left: 4px solid var(--accent);
    background: rgba(126, 224, 255, 0.055);
}

.article-quote p {
    margin: 0;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.65;
}

.article-quote cite {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.86rem;
    font-style: normal;
    font-weight: 700;
}

.article-callout,
.why-line {
    padding: 15px 17px;
    font-weight: 700;
    line-height: 1.55;
}

.article-callout {
    color: var(--text);
    border: 1px solid rgba(216, 255, 87, 0.22);
    background: color-mix(in srgb, var(--accent-strong) 8%, transparent);
}

.why-line {
    color: var(--text);
    border: 1px solid rgba(126, 224, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.article-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-language-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.article-language-switch a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid rgba(126, 224, 255, 0.14);
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 800;
}

.article-language-switch a.is-active {
    color: var(--text);
    border-color: rgba(216, 255, 87, 0.36);
    background: rgba(216, 255, 87, 0.1);
}

.map-rotation-page {
    padding-top: 24px;
}

.map-topbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.map-live-status {
    border: 1px solid rgba(126, 224, 255, 0.18);
    border-radius: 999px;
    padding: 9px 13px;
    color: var(--muted);
    background: rgba(126, 224, 255, 0.06);
    font-size: 0.82rem;
    font-weight: 700;
}

.map-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 20px;
    align-items: stretch;
}

.map-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
    overflow: hidden;
    position: relative;
}

.map-hero-copy::after {
    content: "";
    position: absolute;
    inset: auto -20% -36% 16%;
    height: 260px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 50%, rgba(126, 224, 255, 0.24), transparent 62%),
        radial-gradient(circle at 42% 48%, rgba(216, 255, 87, 0.14), transparent 54%);
    filter: blur(18px);
    pointer-events: none;
}

.map-hero-copy h1 {
    max-width: 10ch;
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.8rem);
    letter-spacing: -0.08em;
    line-height: 0.88;
}

.map-hero-copy .lede {
    max-width: 56ch;
}

.map-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    position: relative;
    z-index: 1;
}

.map-hero-metrics div {
    border: 1px solid rgba(169, 210, 230, 0.1);
    border-radius: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.035);
}

.map-hero-metrics span,
.map-kicker,
.map-countdown-card span,
.map-schedule-card__badge,
.map-schedule-card p,
.map-bullet-list,
.map-info-card p {
    color: var(--muted);
}

.map-hero-metrics strong {
    display: block;
    margin-top: 8px;
    font-size: 1.08rem;
}

.map-stage {
    min-height: 520px;
    border: 1px solid color-mix(in srgb, var(--map-accent) 34%, rgba(255, 255, 255, 0.12));
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 70% 16%, color-mix(in srgb, var(--map-accent-alt) 26%, transparent), transparent 34%),
        radial-gradient(circle at 24% 22%, color-mix(in srgb, var(--map-accent) 42%, transparent), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
        #07141d;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.map-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0 18%, color-mix(in srgb, var(--map-accent) 18%, transparent) 18% 19%, transparent 19% 43%, color-mix(in srgb, var(--map-accent-alt) 14%, transparent) 43% 44%, transparent 44%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
    opacity: 0.8;
}

.map-stage::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    bottom: -130px;
    border: 1px solid color-mix(in srgb, var(--map-accent) 32%, transparent);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(255, 255, 255, 0.025),
        0 0 0 72px color-mix(in srgb, var(--map-accent) 7%, transparent);
}

.map-stage__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 88%);
}

.map-stage__scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.09), transparent);
    animation: mapScanline 6s ease-in-out infinite;
    opacity: 0.45;
}

.map-stage__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 520px;
    padding: clamp(26px, 5vw, 44px);
    position: relative;
    z-index: 1;
}

.map-stage h2 {
    max-width: 8ch;
    margin: 10px 0 12px;
    font-size: clamp(3.6rem, 8vw, 8rem);
    letter-spacing: -0.09em;
    line-height: 0.8;
    text-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.map-stage p {
    max-width: 54ch;
    margin: 0;
    color: rgba(236, 249, 255, 0.8);
    line-height: 1.7;
}

.map-kicker {
    width: fit-content;
    border: 1px solid color-mix(in srgb, var(--map-accent) 40%, transparent);
    border-radius: 999px;
    padding: 9px 12px;
    background: color-mix(in srgb, var(--map-accent) 11%, rgba(0, 0, 0, 0.2));
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.map-countdown-card {
    display: grid;
    gap: 4px;
    max-width: 320px;
    margin-top: 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    padding: 18px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

.map-countdown-card strong {
    font-size: clamp(2rem, 5vw, 3.6rem);
    letter-spacing: -0.07em;
    line-height: 0.95;
}

.map-countdown-card small {
    color: rgba(236, 249, 255, 0.72);
}

.map-progress {
    height: 10px;
    margin-top: 22px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.map-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--map-accent), var(--map-accent-alt));
    box-shadow: 0 0 22px color-mix(in srgb, var(--map-accent) 55%, transparent);
}

.map-section,
.map-info-grid {
    margin-top: 22px;
}

.map-section {
    border: 1px solid rgba(169, 210, 230, 0.08);
    border-radius: 30px;
    padding: clamp(18px, 3vw, 26px);
    background: rgba(255, 255, 255, 0.025);
}

.map-schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.map-schedule-card {
    border: 1px solid color-mix(in srgb, var(--map-accent) 20%, rgba(255, 255, 255, 0.1));
    border-radius: 22px;
    padding: 18px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 86% 16%, color-mix(in srgb, var(--map-accent) 18%, transparent), transparent 34%),
        rgba(255, 255, 255, 0.035);
}

.map-schedule-card.is-current {
    border-color: color-mix(in srgb, var(--map-accent) 52%, rgba(255, 255, 255, 0.12));
    background:
        radial-gradient(circle at 86% 16%, color-mix(in srgb, var(--map-accent) 30%, transparent), transparent 34%),
        rgba(255, 255, 255, 0.055);
}

.map-schedule-card__badge {
    display: inline-flex;
    border: 1px solid color-mix(in srgb, var(--map-accent) 30%, transparent);
    border-radius: 999px;
    padding: 6px 9px;
    background: color-mix(in srgb, var(--map-accent) 8%, transparent);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.map-schedule-card h3 {
    margin: 16px 0 8px;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
}

.map-schedule-card p {
    margin: 0 0 16px;
}

.map-schedule-card__time {
    display: grid;
    gap: 6px;
    color: rgba(236, 249, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 700;
}

.map-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.map-info-card {
    display: grid;
    gap: 14px;
}

.map-info-card h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    letter-spacing: -0.05em;
}

.map-info-card p {
    margin: 0;
    line-height: 1.7;
}

.map-bullet-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.map-bullet-list li {
    border: 1px solid rgba(169, 210, 230, 0.1);
    border-radius: 16px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
}

.map-source-card {
    background:
        radial-gradient(circle at 88% 18%, rgba(216, 255, 87, 0.12), transparent 34%),
        var(--glass);
}

@keyframes mapScanline {
    0% {
        transform: translateY(-100%);
    }
    50% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(100%);
    }
}

@media (max-width: 980px) {
    .hero,
    .breaking-news-card,
    .content-grid,
    .player-grid,
    .split-strip,
    .tier-card-grid,
    .player-stage,
    .player-overview-grid,
    .seo-insights-grid,
    .seo-link-grid,
    .faq-grid,
    .content-grid--single,
    .article-hero {
        grid-template-columns: 1fr;
    }

    /* Drop the "Status" and "RP-progress-details" columns first; the delta
       chip and RP number are the highest-signal survivors on tablet. */
    .leaderboard-row {
        grid-template-columns: 60px 1.5fr 1fr 0.85fr 0.8fr;
    }

    .leaderboard-row > :nth-child(6) {
        display: none;
    }

    .player-score,
    .section-head,
    .filter-bar,
    .pagination-strip,
    .player-hero,
    .tier-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .stat-cluster,
    .history-row,
    .session-summary-grid {
        grid-template-columns: 1fr;
    }

    .seo-mini-list li,
    .seo-mover {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-hero-shell,
    .map-schedule-grid,
    .map-info-grid {
        grid-template-columns: 1fr;
    }

    .home-layout--command .hero,
    .home-layout--command .hero-panels,
    .home-layout--compact .hero,
    .home-layout--map-focus .hero,
    .concept-hero,
    .home-layout--arena .hero,
    .home-layout--arena .hero-panels,
    .home-layout--arena .side-column,
    .home-layout--terminal .concept-hero,
    .home-layout--terminal .content-grid,
    .home-layout--broadcast .hero-panels,
    .home-layout--data-wall .concept-hero,
    .home-layout--data-wall .concept-signal-grid,
    .home-layout--data-wall .content-grid {
        grid-template-columns: 1fr;
    }

    .map-hero-copy,
    .map-stage,
    .map-stage__content {
        min-height: 440px;
    }
}

@media (max-width: 640px) {
    .page {
        width: min(100vw - 20px, 100%);
        padding-top: 10px;
    }

    .site-topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 12px;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
        gap: 4px;
    }

    .ranked-announcement {
        margin: 0 0 16px;
    }

    .ranked-announcement__link {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }

    .ranked-announcement__copy {
        white-space: normal;
    }

    .ranked-announcement__cta {
        justify-self: start;
    }

    .site-nav a {
        padding: 7px 8px;
        font-size: 0.82rem;
    }

    .hero-copy {
        padding: 8px 2px 12px;
    }

    .hero-brand-mark {
        top: 18px;
        right: -14px;
        width: 124px;
        opacity: 0.08;
    }

    .hero-kicker {
        margin-bottom: 8px;
    }

    h1 {
        font-size: clamp(2rem, 13vw, 3.3rem);
        max-width: 12ch;
    }

    .lede {
        margin-top: 10px;
        font-size: 0.96rem;
    }

    .meta-pills {
        gap: 6px;
        margin-top: 12px;
    }

    .meta-pill {
        padding: 7px 9px;
        font-size: 0.78rem;
    }

    .hero-panels {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hero-panels .stat-card {
        padding: 13px;
    }

    .hero-panels .stat-card:first-child {
        grid-column: auto;
    }

    .hero-panels .stat-card h2 {
        font-size: clamp(1.45rem, 8vw, 1.95rem);
    }

    .queue-speed-detail {
        gap: 5px;
    }

    .leaderboard-row {
        grid-template-columns: 52px 1.4fr 0.8fr 0.8fr;
        gap: 10px;
    }

    /* Hide the tier pill column + delta's redundant sibling — keep rank /
       player+thumb / RP / delta chip. That's still 4 signals on mobile. */
    .leaderboard-row > :nth-child(3) {
        display: none;
    }

    .rank-chip {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 0.95rem;
    }

    .legend-thumb {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .rp-meter {
        display: none;
    }

    .map-topbar,
    .map-hero-metrics {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-hero-metrics {
        display: flex;
    }

    .map-hero-metrics div {
        width: 100%;
    }

    .map-hero-copy,
    .map-stage,
    .map-stage__content {
        min-height: 380px;
    }

    .map-stage h2 {
        font-size: clamp(3rem, 16vw, 5rem);
    }

    .article-summary,
    .editor-note {
        padding: 14px;
    }

    .jump-box {
        align-items: stretch;
        flex-direction: column;
    }

    .jump-box a,
    .article-related-links a {
        justify-content: center;
        width: 100%;
    }

    .article-quote,
    .article-callout,
    .why-line,
    .article-inline-image {
        border-radius: 16px;
        padding: 14px;
    }

    .article-inline-image {
        padding: 0;
    }

.breaking-news-card {
        align-items: flex-start;
    }
}

.stream-race {
    display: grid;
    gap: 0.85rem;
    min-width: 0;
    margin-bottom: 0.9rem;
    padding: 1rem;
    background:
        linear-gradient(145deg, rgba(10, 29, 43, 0.96), rgba(5, 17, 26, 0.94)),
        radial-gradient(circle at top right, rgba(126, 224, 255, 0.12), transparent 42%);
    border: 1px solid rgba(126, 224, 255, 0.16);
    border-radius: 14px;
}

.stream-race__details {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
}

.stream-race__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    min-width: 0;
    cursor: pointer;
    list-style: none;
}

.stream-race__summary::-webkit-details-marker {
    display: none;
}

.stream-race__body {
    display: grid;
    gap: 0.8rem;
    min-width: 0;
}

.stream-race__head {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: flex-start;
    min-width: 0;
}

.stream-race__head > span {
    min-width: 0;
}

.stream-race__title {
    display: block;
    margin: 0.18rem 0 0.25rem;
    font-size: clamp(1.16rem, 1.45vw, 1.46rem);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 800;
    line-height: 1.08;
    color: var(--text);
}

.stream-race__lede {
    display: block;
    max-width: 52rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.stream-race__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.stream-race__chip,
.stream-race__timestamp {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.7rem;
    border-radius: 999px;
    background: rgba(8, 24, 36, 0.86);
    border: 1px solid rgba(169, 210, 230, 0.12);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.stream-race__timestamp {
    font-weight: 700;
    color: var(--muted);
}

.stream-race__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 94px;
    min-height: 38px;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(169, 210, 230, 0.16);
    background: rgba(10, 28, 41, 0.92);
    color: var(--text);
    font-weight: 800;
    font-size: 0.74rem;
    text-transform: uppercase;
}

.stream-race__toggle::before {
    content: "Collapse";
}

.stream-race__details:not([open]) .stream-race__toggle::before {
    content: "Show race";
}

.stream-race__details:not([open]) .stream-race__summary {
    margin-bottom: 0;
}

.stream-race-course {
    position: relative;
    display: grid;
    gap: 0.8rem;
    min-width: 0;
    overflow: hidden;
    padding: 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(169, 210, 230, 0.14);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 12.5% 100%,
        linear-gradient(90deg, rgba(37, 99, 235, 0.15) 0 100%),
        linear-gradient(180deg, rgba(126, 224, 255, 0.08), rgba(4, 15, 23, 0.76));
}

.stream-race-course::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0 var(--masters, 50%), rgba(150, 92, 255, 0.08) var(--masters, 50%) 100%);
}

.stream-race-course__bands {
    position: relative;
    z-index: 1;
    height: 24px;
    margin-left: calc(220px + 1rem);
    border-radius: 7px;
    overflow: hidden;
    background: rgba(5, 17, 26, 0.7);
    box-shadow: inset 0 0 0 1px rgba(169, 210, 230, 0.1);
}

.stream-race-course__band {
    position: absolute;
    top: 0;
    bottom: 0;
    display: grid;
    min-width: 1px;
    place-items: center;
    border-left: 1px solid rgba(244, 251, 255, 0.14);
}

.stream-race-course__band em {
    overflow: hidden;
    max-width: 100%;
    padding-inline: 0.35rem;
    color: rgba(244, 251, 255, 0.88);
    font: 900 0.62rem/1 "Inter", sans-serif;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.stream-race-course__band--diamond:nth-of-type(1) {
    background: linear-gradient(90deg, rgba(29, 78, 216, 0.72), rgba(37, 99, 235, 0.72));
}

.stream-race-course__band--diamond:nth-of-type(2) {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.72), rgba(59, 130, 246, 0.72));
}

.stream-race-course__band--diamond:nth-of-type(3) {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.72), rgba(96, 165, 250, 0.72));
}

.stream-race-course__band--diamond:nth-of-type(4) {
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.72), rgba(125, 211, 252, 0.72));
}

.stream-race-course__band--master {
    background: linear-gradient(90deg, rgba(126, 34, 206, 0.78), rgba(168, 85, 247, 0.76));
}

.stream-race-course__band--predator {
    background: linear-gradient(90deg, rgba(185, 28, 28, 0.82), rgba(239, 68, 68, 0.8));
}

.stream-race-course__finish {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    z-index: 2;
    width: 3px;
    border-radius: 999px;
    background: repeating-linear-gradient(
        180deg,
        #f4fbff 0 8px,
        #ef4444 8px 16px
    );
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.38);
}

.stream-race-course__finish span {
    position: absolute;
    right: 8px;
    top: -1px;
    white-space: nowrap;
    padding: 0.28rem 0.45rem;
    border: 1px solid rgba(239, 68, 68, 0.34);
    border-radius: 999px;
    background: rgba(69, 10, 10, 0.78);
    color: #fecaca;
    font: 900 0.64rem/1 "Inter", sans-serif;
}

.stream-race-course__checkpoint {
    position: absolute;
    top: 0.9rem;
    bottom: 0.9rem;
    left: var(--checkpoint);
    z-index: 1;
    width: 2px;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.72);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.36);
}

.stream-race-course__checkpoint span {
    position: absolute;
    left: 7px;
    bottom: 4px;
    white-space: nowrap;
    padding: 0.24rem 0.4rem;
    border: 1px solid rgba(168, 85, 247, 0.28);
    border-radius: 999px;
    background: rgba(36, 13, 61, 0.75);
    color: #ddd6fe;
    font: 900 0.62rem/1 "Inter", sans-serif;
}

.stream-race-course__lane {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    min-width: 0;
}

.stream-race-course__label {
    display: grid;
    gap: 0.18rem;
    align-content: center;
    min-height: 54px;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(169, 210, 230, 0.1);
    border-radius: 8px;
    background: rgba(5, 17, 26, 0.56);
    min-width: 0;
}

.stream-race-course__label strong {
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stream-race-course__label span {
    color: #bfdbfe;
    font-size: 0.9rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.stream-race-course__label small {
    color: rgba(169, 210, 230, 0.62);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.stream-race-course__track {
    position: relative;
    min-height: 54px;
    min-width: 0;
    border-radius: 999px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(37, 99, 235, 0.5) 0 var(--masters, 50%), rgba(168, 85, 247, 0.48) var(--masters, 50%) 100%);
    box-shadow: inset 0 0 0 1px rgba(169, 210, 230, 0.12);
}

.stream-race-course__fill {
    position: absolute;
    left: 0;
    top: 50%;
    width: var(--progress);
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(244, 251, 255, 0.88), rgba(216, 255, 87, 0.92));
    transform: translateY(-50%);
    box-shadow: 0 0 18px rgba(216, 255, 87, 0.28);
    transition: width 700ms ease;
}

.stream-race-course__runner {
    position: absolute;
    top: 50%;
    left: var(--progress);
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    overflow: hidden;
    border: 2px solid #06131b;
    border-radius: 999px;
    background: rgba(10, 28, 41, 0.96);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32), 0 0 18px rgba(45, 146, 255, 0.26);
    transform: translate(-50%, -50%);
    animation: stream-race-runner-bounce 1.35s ease-in-out infinite;
}

.stream-race-course__scale {
    position: relative;
    z-index: 1;
    min-height: 30px;
    margin-left: calc(220px + 1rem);
}

.stream-race-course__stop {
    position: absolute;
    top: 0;
    left: var(--stop);
    display: grid;
    gap: 0.12rem;
    min-width: 48px;
    color: rgba(169, 210, 230, 0.72);
    font-variant-numeric: tabular-nums;
    text-align: center;
    transform: translateX(-50%);
}

.stream-race-course__stop strong {
    color: rgba(244, 251, 255, 0.9);
    font: 900 0.64rem/1 "Inter", sans-serif;
}

.stream-race-course__stop small {
    color: rgba(169, 210, 230, 0.7);
    font: 700 0.58rem/1 "Inter", sans-serif;
}

.stream-race-course__stop--master strong {
    color: #ddd6fe;
}

.stream-race-course__stop--master {
    transform: translateX(-100%);
}

.stream-race-course__stop--predator strong {
    color: #fecaca;
}

.stream-race-course__lane--chaser .stream-race-course__runner {
    animation-delay: 180ms;
}

.stream-race-course__runner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-race-course__runner > span {
    font-weight: 800;
    color: var(--text);
}

@keyframes stream-race-runner-bounce {
    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0) rotate(-2deg);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-5px) rotate(2deg);
    }
}

.stream-race__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    min-width: 0;
}

.stream-race-card {
    display: grid;
    gap: 0.7rem;
    min-width: 0;
    min-height: 100%;
    padding: 0.88rem;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(8, 24, 36, 0.88), rgba(5, 17, 26, 0.82));
    border: 1px solid rgba(169, 210, 230, 0.14);
}

.stream-race-card--leader {
    border-color: rgba(216, 255, 87, 0.22);
    box-shadow: inset 0 0 0 1px rgba(216, 255, 87, 0.08);
}

.stream-race-card__topline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    min-width: 0;
}

.stream-race-card__position,
.stream-race-card__status {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.stream-race-card__identity {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    min-width: 0;
}

.stream-race-card__legend {
    position: relative;
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(169, 210, 230, 0.16);
    background: rgba(12, 30, 42, 0.92);
}

.stream-race-card__legend img,
.stream-race-card__legend > span {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
}

.stream-race-card__legend img {
    z-index: 1;
    display: block;
    object-fit: cover;
}

.stream-race-card__legend > span {
    display: grid;
    place-items: center;
    color: var(--text);
    font-weight: 800;
    background: linear-gradient(135deg, rgba(126, 224, 255, 0.18), rgba(216, 255, 87, 0.12));
}

.stream-race-card__legend:not(.stream-race-card__legend--fallback) > span {
    opacity: 0;
}

.stream-race-card__legend--live {
    border-color: rgba(216, 255, 87, 0.44);
    box-shadow: 0 0 0 0 rgba(216, 255, 87, 0.34), 0 0 22px rgba(216, 255, 87, 0.14);
    animation: stream-race-live-pulse 1.8s ease-out infinite;
}

.stream-race-card__legend--live::after {
    content: "";
    position: absolute;
    right: 5px;
    bottom: 5px;
    z-index: 2;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #d8ff57;
    box-shadow: 0 0 12px rgba(216, 255, 87, 0.8);
}

.stream-race-card__live-text {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: var(--accent-strong);
    font-weight: 700;
}

.stream-race-card__live-text::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #d8ff57;
    box-shadow: 0 0 10px rgba(216, 255, 87, 0.72);
    animation: stream-race-live-dot 1.2s ease-in-out infinite;
}

@keyframes stream-race-live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(216, 255, 87, 0.3), 0 0 22px rgba(216, 255, 87, 0.12);
    }

    72% {
        box-shadow: 0 0 0 10px rgba(216, 255, 87, 0), 0 0 22px rgba(216, 255, 87, 0.18);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(216, 255, 87, 0), 0 0 22px rgba(216, 255, 87, 0.12);
    }
}

@keyframes stream-race-live-dot {
    0%,
    100% {
        opacity: 0.58;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.18);
    }
}

.stream-race-card__portrait {
    position: relative;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(12, 30, 42, 0.92);
    border: 1px solid rgba(169, 210, 230, 0.12);
}

.stream-race-card__portrait img,
.stream-race-card__portrait .stream-race-card__fallback {
    width: 100%;
    height: 100%;
}

.stream-race-card__portrait img {
    display: block;
    object-fit: cover;
}

.stream-race-card__fallback {
    display: grid;
    place-items: center;
    color: var(--text);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(126, 224, 255, 0.22), rgba(216, 255, 87, 0.16));
}

.stream-race-card__copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.stream-race-card__copy strong {
    font-size: 1.05rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stream-race-card__copy small,
.stream-race-card__copy span {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.stream-race-card__scoreline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.stream-race-card__scoreline > div {
    min-width: 0;
    padding: 0.62rem;
    border: 1px solid rgba(169, 210, 230, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.stream-race-card__scoreline strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.06rem;
    line-height: 1.05;
}

.stream-race-card__progress {
    position: relative;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.36) 0 var(--masters, 50%), rgba(168, 85, 247, 0.36) var(--masters, 50%) 100%);
}

.stream-race-card__progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #38bdf8, #a855f7, #ef4444);
}

.stream-race-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.stream-race-card__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.6rem 0.9rem;
    border-radius: 7px;
    border: 1px solid rgba(169, 210, 230, 0.14);
    background: rgba(10, 28, 41, 0.92);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.stream-race-card__links a:hover {
    border-color: rgba(126, 224, 255, 0.34);
    transform: translateY(-1px);
}

.stream-race__grid--spotlight {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
    align-items: stretch;
}

.stream-race__grid--spotlight .stream-race-card {
    grid-template-columns: minmax(220px, 1fr) minmax(240px, 0.72fr);
    gap: 0.85rem 1rem;
    align-items: center;
}

.stream-race__grid--spotlight .stream-race-card__topline,
.stream-race__grid--spotlight .stream-race-card__progress,
.stream-race__grid--spotlight .stream-race-card__links {
    grid-column: 1 / -1;
}

.stream-race__grid--spotlight .stream-race-card__scoreline {
    align-self: stretch;
    align-content: center;
}

.stream-race-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(169, 210, 230, 0.12);
    background: rgba(5, 17, 26, 0.62);
    min-width: 0;
}

.stream-race-note__avatar {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(169, 210, 230, 0.14);
    background: rgba(10, 28, 41, 0.92);
}

.stream-race-note__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-race-note__avatar span {
    color: var(--text);
    font-weight: 800;
}

.stream-race-note__copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.stream-race-note__copy strong {
    color: var(--text);
}

.stream-race-note__copy span {
    color: var(--muted);
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.stream-race-note__links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.stream-race-note__links a {
    color: var(--accent-strong);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
}

.stream-race-note__links a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .stream-race__summary {
        grid-template-columns: 1fr;
    }

    .stream-race__head {
        display: grid;
        grid-template-columns: 1fr;
    }

    .stream-race__meta {
        justify-items: start;
    }

    .stream-race__grid {
        grid-template-columns: 1fr;
    }

    .stream-race__grid--spotlight .stream-race-card {
        grid-template-columns: 1fr;
    }

    .stream-race-course__lane {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .stream-race-course__bands,
    .stream-race-course__scale {
        margin-left: 0;
    }

    .stream-race-course__label {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .stream-race-course__label small {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .stream-race {
        padding: 0.72rem;
        border-radius: 12px;
    }

    .stream-race__summary {
        gap: 0.7rem;
    }

    .stream-race__head {
        gap: 0.65rem;
    }

    .stream-race__title {
        font-size: 1.12rem;
        line-height: 1.12;
    }

    .stream-race__lede {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .stream-race__meta {
        gap: 0.35rem;
        width: 100%;
        justify-content: flex-start;
    }

    .stream-race__chip,
    .stream-race__timestamp,
    .stream-race__toggle {
        min-height: 34px;
        padding: 0.45rem 0.6rem;
        font-size: 0.72rem;
        white-space: normal;
    }

    .stream-race__toggle {
        justify-self: start;
    }

    .stream-race-card__scoreline {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .stream-race-card__scoreline > div:first-child {
        grid-column: auto;
    }

    .stream-race-card__links a {
        width: 100%;
    }

    .stream-race-card__identity {
        align-items: flex-start;
        gap: 0.65rem;
    }

    .stream-race-course {
        gap: 0.55rem;
        padding: 0.62rem;
        border-radius: 9px;
    }

    .stream-race-course__finish {
        top: 86px;
        right: 0.62rem;
        bottom: 96px;
    }

    .stream-race-course__finish span,
    .stream-race-course__checkpoint span {
        display: none;
    }

    .stream-race-course__bands {
        order: 2;
        height: 10px;
        border-radius: 6px;
    }

    .stream-race-course__band em {
        display: none;
    }

    .stream-race-course__lane {
        order: 1;
    }

    .stream-race-course__scale {
        order: 3;
    }

    .stream-race-course__track {
        min-height: 56px;
    }

    .stream-race-course__runner {
        width: 46px;
        height: 46px;
    }

    .stream-race-course__scale {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.34rem;
        min-height: 0;
        margin-top: 0.1rem;
    }

    .stream-race-course__stop {
        position: static;
        min-width: 0;
        padding: 0.34rem 0.24rem;
        border: 1px solid rgba(169, 210, 230, 0.1);
        border-radius: 6px;
        background: rgba(5, 17, 26, 0.62);
        transform: none;
    }

    .stream-race-course__stop--diamond {
        border-color: rgba(59, 130, 246, 0.25);
        background: rgba(29, 78, 216, 0.2);
    }

    .stream-race-course__stop--master {
        border-color: rgba(168, 85, 247, 0.28);
        background: rgba(88, 28, 135, 0.24);
    }

    .stream-race-course__stop--predator {
        border-color: rgba(239, 68, 68, 0.3);
        background: rgba(127, 29, 29, 0.24);
    }

    .stream-race-course__stop strong {
        font-size: 0.61rem;
    }

    .stream-race-course__stop small {
        font-size: 0.58rem;
    }

    .stream-race-course__label {
        grid-template-columns: 1fr;
    }

    .stream-race-course__label small {
        grid-column: auto;
    }

    .stream-race__grid--spotlight {
        grid-template-columns: 1fr;
    }

    .stream-race-note {
        padding: 0.72rem;
    }
}

@media (max-width: 640px) {
    .section-head {
        gap: 10px;
    }

    .leaderboard-actions {
        width: 100%;
        align-items: stretch;
        justify-content: space-between;
        text-align: left;
    }

    .leaderboard-actions .section-note {
        display: grid;
        gap: 3px;
        margin: 0;
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .top-reset-link {
        min-height: 40px;
        padding-inline: 12px;
    }

    .leaderboard-head {
        display: none;
    }

    .leaderboard-row {
        grid-template-columns: 46px minmax(0, 1fr) auto;
        gap: 6px 10px;
        align-items: center;
        margin-bottom: 8px;
        padding: 10px 8px;
        border: 1px solid rgba(169, 210, 230, 0.08);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.018);
    }

    .leaderboard-entry::before {
        top: 10px;
        bottom: 10px;
    }

    .leaderboard-row > :nth-child(1) {
        grid-row: 1 / span 2;
    }

    .leaderboard-row > :nth-child(2) {
        grid-column: 2;
    }

    .leaderboard-row > :nth-child(3) {
        display: none;
    }

    .leaderboard-row > :nth-child(4) {
        grid-column: 3;
        justify-self: end;
        text-align: right;
    }

    .leaderboard-row > :nth-child(5) {
        display: flex;
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
    }

    .leaderboard-row > :nth-child(6) {
        display: flex;
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
    }

    .rank-chip {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        font-size: 0.9rem;
    }

    .legend-thumb {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }

    .player-cell {
        gap: 9px;
    }

    .player-meta strong {
        max-width: 46vw;
        font-size: 0.9rem;
    }

    .player-meta small {
        display: flex;
        max-width: 52vw;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px;
        font-size: 0.7rem;
        line-height: 1.25;
    }

    .party-badge,
    .last-rp {
        margin-left: 0;
    }

    .rp-cell {
        align-items: flex-end;
        gap: 0;
    }

    .rp-cell strong {
        font-size: 0.9rem;
        line-height: 1;
    }

    .rp-meter {
        display: none;
    }

    .delta-chip {
        padding: 4px 8px;
        font-size: 0.72rem;
    }

    .status-cell {
        gap: 6px;
        min-height: 18px;
    }

    .status-cell small {
        font-size: 0.7rem;
    }
}
/* Report page */
.report-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 0%, rgba(239, 68, 68, 0.16), transparent 30rem),
        radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.12), transparent 28rem),
        #06131b;
    color: #f8fafc;
}

.report-shell {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.report-hero {
    margin: 46px 0 24px;
    max-width: 760px;
}

.report-eyebrow {
    margin: 0 0 8px;
    color: #fca5a5;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.report-hero h1,
.report-message h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1;
}

.report-hero p,
.report-message p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.report-card {
    padding: clamp(18px, 3vw, 32px);
    border-radius: 12px;
}

.report-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.24);
}

.report-tab,
.report-secondary,
.report-submit {
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.report-tab {
    padding: 9px 14px;
    color: rgba(255, 255, 255, 0.72);
    background: transparent;
}

.report-tab.is-active {
    color: #111827;
    background: #f8fafc;
}

.report-panel {
    display: none;
}

.report-panel.is-active {
    display: block;
}

.report-field {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
}

.report-field small {
    color: rgba(255, 255, 255, 0.52);
    font-weight: 500;
}

.report-field input,
.report-field textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    padding: 11px 12px;
    font: inherit;
}

.report-field textarea {
    resize: vertical;
}

.report-field input:focus,
.report-field textarea:focus {
    outline: 2px solid rgba(96, 165, 250, 0.5);
    border-color: rgba(147, 197, 253, 0.7);
}

.report-results {
    display: grid;
    gap: 8px;
    margin: -8px 0 16px;
}

.report-player-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: inherit;
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.report-player-card:hover {
    border-color: rgba(248, 113, 113, 0.45);
    background: rgba(248, 113, 113, 0.08);
}

.report-player-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.report-player-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.report-player-card strong,
.report-selected__name {
    display: block;
    color: #fff;
}

.report-player-card small,
.report-selected__meta,
.report-selected__label,
.report-empty {
    color: rgba(255, 255, 255, 0.56);
}

.report-selected {
    margin: 0 0 18px;
    padding: 14px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.08);
}

.report-selected__label {
    margin-bottom: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.report-fieldset {
    margin: 0 0 20px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.report-fieldset legend {
    padding: 0 8px;
    color: #fff;
    font-weight: 800;
}

.report-fieldset p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.5;
}

.report-reasons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.report-reasons legend {
    margin-bottom: 8px;
}

.report-reasons label {
    color: rgba(255, 255, 255, 0.78);
}

.report-help {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.72);
}

.report-help summary {
    cursor: pointer;
    color: #bfdbfe;
    font-weight: 800;
}

.report-secondary,
.report-submit,
.report-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    text-decoration: none;
}

.report-secondary {
    margin-bottom: 18px;
    color: #e0f2fe;
    background: rgba(14, 165, 233, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.report-submit {
    width: 100%;
    min-height: 50px;
    color: #111827;
    background: #fca5a5;
}

.report-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.report-status {
    min-height: 24px;
    margin: 10px 0 14px;
    color: rgba(255, 255, 255, 0.72);
}

.report-status[data-type="error"] {
    color: #fecaca;
}

.report-status[data-type="success"] {
    color: #bbf7d0;
}

.report-message {
    min-height: 80vh;
    display: grid;
    place-content: center;
}

@media (max-width: 640px) {
    .report-shell {
        width: min(100% - 24px, 1040px);
        padding-top: 14px;
    }

    .report-hero {
        margin-top: 28px;
    }

    .report-tabs {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .report-tab {
        padding-inline: 8px;
    }

    .report-reasons {
        grid-template-columns: 1fr;
    }
}

/* ── Queue speed card ── */
.queue-speed-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(74, 222, 128, 0.2);
    background:
        radial-gradient(circle at 100% 0%, rgba(74, 222, 128, 0.14), transparent 44%),
        linear-gradient(180deg, rgba(12, 36, 35, 0.94), rgba(5, 19, 28, 0.92));
}
.queue-speed-card--hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}
.queue-speed-card .stat-label::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    margin-right: 6px;
    vertical-align: middle;
    animation: queue-pulse 2s ease-in-out infinite;
}
@keyframes queue-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}
.queue-speed-detail {
    display: flex;
    gap: 6px;
    margin-top: 2px;
    flex-wrap: wrap;
}
.queue-speed-lane {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 4px 7px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.72rem;
    color: rgba(230, 242, 247, 0.8);
    white-space: nowrap;
}
.queue-speed-lane small {
    opacity: .7;
}
.queue-speed-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.queue-speed-dot--solo { background: #4ade80; }
.queue-speed-dot--trio { background: #a78bfa; }

/* -- Big wins ticker -- */
.win-ticker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 9px 12px;
    border-radius: 12px;
    overflow: hidden;
}
.win-ticker__label {
    display: grid;
    gap: 2px;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}
.win-ticker__label strong {
    color: var(--accent-strong);
    font-size: 0.82rem;
    text-transform: uppercase;
}
.win-ticker__label span {
    color: var(--muted);
    font-size: 0.72rem;
}
.win-ticker__track {
    display: flex;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.win-ticker__track::-webkit-scrollbar {
    display: none;
}
.win-ticker__item {
    display: inline-grid;
    grid-template-columns: minmax(120px, 1fr) auto;
    gap: 2px 8px;
    align-items: center;
    min-width: 210px;
    max-width: 260px;
    padding: 7px 9px;
    border: 1px solid rgba(216, 255, 87, 0.12);
    border-radius: 8px;
    background: rgba(216, 255, 87, 0.035);
    color: inherit;
    text-decoration: none;
}
.win-ticker__item span,
.win-ticker__item small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.win-ticker__item span {
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 800;
}
.win-ticker__item small {
    grid-column: 1;
    color: var(--muted);
    font-size: 0.7rem;
}
.win-ticker__item b {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: #7ddc7a;
    font-size: 0.88rem;
}
.win-ticker__item:hover {
    border-color: rgba(216, 255, 87, 0.28);
}

@media (max-width: 640px) {
    .win-ticker {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
    }
    .win-ticker__label {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 8px;
        padding-right: 0;
        border-right: 0;
    }
    .win-ticker__item {
        min-width: 190px;
    }
}

/* Homepage cleanup pass: compact header, single status bar, lean ladder rows. */
.site-topbar--compact {
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.header-search {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    min-width: 0;
    margin: 0;
}

.header-search__field {
    position: relative;
    display: block;
    min-width: 0;
}

.header-search__field > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.header-search__field::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(159, 184, 196, 0.8);
    border-radius: 999px;
    transform: translateY(-58%);
    pointer-events: none;
}

.header-search__field::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 50%;
    width: 7px;
    height: 2px;
    border-radius: 999px;
    background: rgba(159, 184, 196, 0.8);
    transform: translateY(4px) rotate(45deg);
    pointer-events: none;
}

.header-search__field input {
    width: 100%;
    min-height: 42px;
    padding-left: 40px;
}

.platform-switch {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid rgba(126, 224, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
}

.platform-switch__button {
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #9fb8c4;
    font-weight: 800;
    cursor: pointer;
}

.platform-switch__button.is-active {
    background: linear-gradient(135deg, #5fd4ff, #7ee0ff);
    color: #06131b;
}

.header-search__submit {
    min-height: 40px;
    padding-inline: 14px;
}

.site-nav--secondary {
    justify-content: flex-end;
    gap: 6px;
}

.site-nav--secondary a {
    color: #9fb8c4;
    background: transparent;
    border-color: transparent;
}

.home-status-bar {
    display: grid;
    gap: 14px;
    margin-bottom: 12px;
    padding: clamp(16px, 2vw, 22px);
}

.home-status-title,
.home-status-title__meta,
.home-status-pills {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.home-status-title h1 {
    max-width: none;
    margin: 2px 0 0;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 0.96;
}

.home-status-title__meta {
    flex-wrap: wrap;
    justify-content: flex-end;
    color: #9fb8c4;
    font-size: 0.82rem;
}

.season-pill,
.home-status-pill {
    border: 1px solid rgba(126, 224, 255, 0.16);
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 800;
}

.home-stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    overflow: hidden;
    border: 1px solid rgba(126, 224, 255, 0.1);
    border-radius: 16px;
    background: rgba(6, 19, 27, 0.58);
}

.home-stat-cell {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 12px 14px;
    border-right: 1px solid rgba(126, 224, 255, 0.08);
    color: inherit;
    text-decoration: none;
}

.home-stat-cell:last-child {
    border-right: 0;
}

.home-stat-cell > span,
.home-stat-cell small {
    color: #9fb8c4;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-stat-cell strong {
    overflow: hidden;
    color: var(--text);
    font-size: clamp(1.12rem, 1.6vw, 1.5rem);
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-stat-cell--map .ranked-map-widget__bar {
    margin-top: 4px;
}

.home-status-pills {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.home-status-pill {
    display: inline-flex;
    max-width: 100%;
    text-decoration: none;
}

.home-status-pill--cyan {
    color: #7ee0ff;
    background: rgba(95, 212, 255, 0.08);
}

.home-status-pill--amber {
    color: #ffd479;
    border-color: rgba(255, 212, 121, 0.22);
    background: rgba(255, 212, 121, 0.08);
}

.home-status-pill--event {
    color: #b9ff78;
    border-color: rgba(185, 255, 120, 0.28);
    background:
        linear-gradient(135deg, rgba(185, 255, 120, 0.14), rgba(95, 212, 255, 0.08)),
        rgba(255, 255, 255, 0.035);
}

.home-event-spotlight {
    display: grid;
    grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 0 0 12px;
    padding: 10px;
    overflow: hidden;
    border-color: rgba(185, 255, 120, 0.18);
    color: var(--text);
    text-decoration: none;
    background:
        linear-gradient(115deg, rgba(185, 255, 120, 0.1), rgba(95, 212, 255, 0.08) 45%, rgba(6, 19, 27, 0.78)),
        rgba(6, 19, 27, 0.8);
}

.home-event-spotlight:hover {
    border-color: rgba(185, 255, 120, 0.34);
    transform: translateY(-1px);
}

.home-event-spotlight__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.home-event-spotlight__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 45%, rgba(185, 255, 120, 0.18));
    pointer-events: none;
}

.home-event-spotlight__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-event-spotlight__copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.home-event-spotlight__copy strong {
    font-size: clamp(1.12rem, 2vw, 1.55rem);
    line-height: 1.05;
}

.home-event-spotlight__copy > span:last-child {
    color: #c8d9e0;
    font-size: 0.9rem;
    line-height: 1.35;
}

.home-event-spotlight__cta {
    justify-self: end;
    padding: 9px 12px;
    border: 1px solid rgba(185, 255, 120, 0.28);
    border-radius: 8px;
    background: rgba(185, 255, 120, 0.12);
    color: #d8ffb0;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.leaderboard-scope-bar {
    margin: 10px 0 14px;
}

.leaderboard-table--predator .leaderboard-row {
    grid-template-columns: 72px minmax(0, 1.75fr) 0.95fr 0.85fr 0.55fr;
}

.leaderboard-entry--idle {
    opacity: 0.72;
}

.leaderboard-entry--idle .player-meta strong {
    color: #9fb8c4;
}

.leaderboard-entry--idle .legend-thumb {
    opacity: 0.45;
}

.leaderboard-entry--idle .status-cell {
    justify-content: center;
}

.leaderboard-entry--in-match {
    border-left: 2px solid #5fd4ff;
    background:
        linear-gradient(90deg, rgba(95, 212, 255, 0.07), transparent 45%),
        rgba(95, 212, 255, 0.035);
}

.leaderboard-entry--in-match::before {
    opacity: 0;
}

.leaderboard-entry--in-match .live-dot--match {
    background: #5fd4ff;
    box-shadow: 0 0 0 3px rgba(95, 212, 255, 0.25), 0 0 14px rgba(95, 212, 255, 0.6);
}

.seo-link-group {
    display: grid;
    gap: 12px;
}

.seo-link-group + .seo-link-group {
    margin-top: 18px;
}

.seo-link-grid--tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-latest-list {
    display: grid;
    gap: 10px;
}

.seo-latest-card {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(169, 210, 230, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    text-decoration: none;
}

.seo-latest-card span {
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .site-topbar--compact {
        grid-template-columns: 1fr;
    }

    .site-nav--secondary {
        justify-content: flex-start;
    }

    .home-status-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .leaderboard-table--predator .leaderboard-row {
        grid-template-columns: 60px 1.5fr 0.85fr 0.8fr;
    }

    .leaderboard-table--predator .leaderboard-row > :nth-child(3),
    .leaderboard-table--predator .leaderboard-row > :nth-child(4) {
        display: flex;
    }

    .leaderboard-table--predator .leaderboard-row > :nth-child(5) {
        display: none;
    }
}

@media (max-width: 640px) {
    .site-topbar--compact {
        display: grid;
        gap: 10px;
    }

    .header-search {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .platform-switch,
    .header-search__submit {
        width: 100%;
    }

    .platform-switch__button {
        flex: 1;
    }

    .home-stat-strip,
    .seo-link-grid--tools {
        grid-template-columns: 1fr;
    }

    .home-event-spotlight {
        grid-template-columns: 96px minmax(0, 1fr);
        align-items: start;
    }

    .home-event-spotlight__cta {
        grid-column: 1 / -1;
        justify-self: stretch;
        text-align: center;
    }

    .home-stat-cell {
        border-right: 0;
        border-bottom: 1px solid rgba(126, 224, 255, 0.08);
    }

    .home-stat-cell:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 560px) {
    .leaderboard-table .leaderboard-head {
        display: none;
    }

    .leaderboard-table .leaderboard-row,
    .leaderboard-table--predator .leaderboard-row {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 6px 9px;
        align-items: center;
        overflow: hidden;
    }

    .leaderboard-table--predator .leaderboard-row > :nth-child(1),
    .leaderboard-table .leaderboard-row > :nth-child(1) {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .leaderboard-table--predator .leaderboard-row > :nth-child(2),
    .leaderboard-table .leaderboard-row > :nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .leaderboard-table--predator .leaderboard-row > :nth-child(3) {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        text-align: right;
    }

    .leaderboard-table--predator .leaderboard-row > :nth-child(4) {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
    }

    .leaderboard-table--predator .leaderboard-row > :nth-child(5) {
        display: flex;
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
    }

    .leaderboard-table:not(.leaderboard-table--predator) .leaderboard-row > :nth-child(3) {
        display: none;
    }
}

/* Power Trip event page */
.event-page-theme {
    --bg: #07151c;
    --bg-deep: #03080c;
    --surface: rgba(8, 24, 31, 0.86);
    --surface-strong: rgba(11, 33, 43, 0.96);
    --line: rgba(126, 224, 255, 0.18);
    --accent: #70e8a4;
    --accent-strong: #f0ff75;
    --muted: #a6c5c9;
    background:
        radial-gradient(circle at 18% 8%, rgba(112, 232, 164, 0.16), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(126, 224, 255, 0.12), transparent 30%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.power-trip-page {
    width: min(1180px, calc(100vw - 32px));
}

.power-trip-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
}

.power-trip-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.power-trip-nav__links a,
.source-links a,
.secondary-action {
    color: var(--muted);
    text-decoration: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 8px 11px;
    font-size: 0.88rem;
}

.power-trip-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
    gap: 22px;
    padding: 22px;
    align-items: center;
    overflow: hidden;
}

.power-trip-hero__copy h1 {
    margin: 8px 0 12px;
    font-size: clamp(2.4rem, 6vw, 5.6rem);
    line-height: 0.92;
}

.power-trip-hero__copy .lede {
    max-width: 680px;
}

.power-trip-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.primary-action {
    color: #041018;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border: 0;
    border-radius: 8px;
    padding: 10px 14px;
    text-decoration: none;
    font-weight: 800;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(126, 224, 255, 0.22);
    background: #02070a;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
}

.video-frame iframe,
.media-grid video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-frame--small {
    box-shadow: none;
}

.power-trip-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.power-trip-fact {
    padding: 16px;
    border-radius: 8px;
}

.power-trip-fact span,
.weekly-grid span,
.reward-flow span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.power-trip-fact strong {
    display: block;
    margin-top: 6px;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    color: var(--text);
}

.power-trip-fact p,
.modifier-card p,
.reward-flow p,
.weekly-grid p,
.ranked-impact-grid p,
.media-grid p,
.power-trip-copy-card p {
    color: var(--muted);
    line-height: 1.55;
}

.power-trip-section {
    margin-top: 14px;
    padding: 22px;
}

.power-trip-two-up,
.event-gallery--featured,
.media-grid,
.ranked-impact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.power-trip-media-card,
.event-gallery figure,
.power-trip-wide-image {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.power-trip-media-card img,
.event-gallery img,
.power-trip-wide-image img {
    display: block;
    width: 100%;
    height: auto;
}

.power-trip-media-card figcaption,
.event-gallery figcaption,
.power-trip-wide-image figcaption {
    color: var(--muted);
    padding: 10px 12px 12px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.power-trip-copy-card {
    align-self: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.power-trip-combo {
    align-self: center;
    color: #041018;
    background: var(--accent-strong);
    border-radius: 8px;
    padding: 8px 10px;
    font-weight: 800;
}

.modifier-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.modifier-card,
.reward-flow article,
.weekly-grid article,
.ranked-impact-grid article,
.media-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
}

.modifier-card h3,
.reward-flow h3,
.ranked-impact-grid h3,
.media-grid h3 {
    margin: 0 0 8px;
}

.event-gallery {
    margin-top: 14px;
}

.event-gallery--cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.reward-flow,
.weekly-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.reward-flow span {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    color: #041018;
    background: var(--accent);
    border-radius: 999px;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.weekly-grid {
    margin-top: 14px;
}

.weekly-grid strong {
    display: block;
    margin-top: 6px;
    font-size: 1.1rem;
}

.media-grid video {
    position: static;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    border: 1px solid rgba(126, 224, 255, 0.22);
    background: #02070a;
}

.source-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

@media (max-width: 820px) {
    .power-trip-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .power-trip-nav__links {
        justify-content: flex-start;
    }

    .power-trip-hero,
    .power-trip-two-up,
    .event-gallery--featured,
    .media-grid,
    .ranked-impact-grid {
        grid-template-columns: 1fr;
    }

    .power-trip-hero {
        padding: 16px;
    }

    .power-trip-facts,
    .modifier-grid,
    .event-gallery--cards,
    .reward-flow,
    .weekly-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .power-trip-page {
        width: min(100vw - 20px, 1180px);
    }

    .power-trip-facts,
    .modifier-grid,
    .event-gallery--cards,
    .reward-flow,
    .weekly-grid {
        grid-template-columns: 1fr;
    }

    .power-trip-section {
        padding: 16px;
    }
}
