/* ==========================================================================
   Silex Network — Public Design System v2
   Yellow / charcoal competitive-PvP visual system.
   Typography: Barlow Condensed (display) + IBM Plex Mono (data/accents),
   matching the staff-auth design language.
   No cards, no status bubbles, no boxed logos.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
    color-scheme: dark;
    --slx-yellow: #ffd21f;
    --slx-yellow-deep: #e4ad00;
    --slx-ink: #0a0a0c;
    --slx-ink-2: #101013;
    --slx-ink-3: #17171b;
    --slx-line: #26262c;
    --slx-text: #f5f5f7;
    --slx-muted: #9a9aa3;
    --slx-faint: #63636b;
    --slx-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --slx-mono: "IBM Plex Mono", "Cascadia Code", monospace;
}

/* ---------- Base ---------- */

body.public-site {
    margin: 0;
    background: var(--slx-ink);
    color: var(--slx-text);
    font-family: var(--slx-display);
    font-weight: 500;
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.public-site *, .public-site *::before, .public-site *::after {
    box-sizing: border-box;
}

.public-site a { color: inherit; }
.public-site img { display: block; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Header ---------- */

.skip-link {
    position: absolute;
    left: 16px; top: -64px;
    z-index: 60;
    padding: 10px 18px;
    background: var(--slx-yellow);
    color: #1a1a00;
    font-family: var(--slx-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 10, 12, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slx-line);
}

.site-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: .12em;
    color: var(--slx-yellow);
}
.site-brand img { width: 34px; height: 34px; }

.site-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.site-links > a {
    position: relative;
    padding: 10px 13px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .08em;
    color: var(--slx-muted);
    transition: color .15s ease;
}
.site-links > a:hover { color: var(--slx-text); }
.site-links > a.is-active { color: var(--slx-text); }
.site-links > a.is-active::after {
    content: "";
    position: absolute;
    left: 13px; right: 13px; bottom: 4px;
    height: 2px;
    background: var(--slx-yellow);
}
.site-links > a.site-link-store { color: var(--slx-yellow); }
.site-links > a.site-link-store:hover { color: #ffe06a; }

/* Player search */
.player-search {
    position: relative;
    display: flex;
    align-items: stretch;
    min-width: 238px;
    margin-left: 12px;
    border-bottom: 1px solid var(--slx-line);
    transition: border-color .15s ease;
}
.player-search:focus-within { border-bottom-color: var(--slx-yellow); }
.player-search input {
    width: 150px;
    background: transparent;
    border: 0;
    padding: 9px 6px;
    color: var(--slx-text);
    font-family: var(--slx-mono);
    font-size: 13px;
    outline: none;
}
.player-search input::placeholder { color: var(--slx-faint); }
.player-search button {
    background: transparent;
    border: 0;
    padding: 0 6px 0 12px;
    color: var(--slx-yellow);
    font-family: var(--slx-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}
.player-search button:hover { color: #ffe06a; }
.public-site .player-search input:focus-visible,
.public-site .player-search button:focus-visible { outline: 0; }
.player-search button:focus-visible { color: #ffe06a; text-decoration: underline; text-underline-offset: 4px; }
.search-message {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 320px;
    min-height: 16px;
    pointer-events: none;
    font-family: var(--slx-mono);
    font-size: 11px;
    color: var(--slx-muted);
}
.search-results {
    position: absolute;
    top: calc(100% + 28px);
    left: 0;
    width: min(340px, calc(100vw - 32px));
    max-height: min(420px, 62vh);
    overflow-y: auto;
    background: var(--slx-ink-2);
    border: 1px solid var(--slx-line);
    border-top: 2px solid var(--slx-yellow);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .48);
    z-index: 55;
}
.search-results a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--slx-line);
    text-decoration: none;
    font-family: var(--slx-mono);
    font-size: 13px;
    color: var(--slx-text);
    transition: background .12s ease, box-shadow .12s ease;
}
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover,
.search-results a:focus-visible,
.search-results a.is-active { background: var(--slx-ink-3); box-shadow: inset 3px 0 0 var(--slx-yellow); outline: 0; }
.search-results img {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 1px solid #4a4a50;
    background: #111114;
    image-rendering: pixelated;
}
.search-result-copy { display: grid; gap: 4px; min-width: 0; }
.search-result-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.search-result-copy small { color: var(--slx-faint); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

.site-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.language-toggle {
    background: transparent;
    border: 1px solid var(--slx-line);
    color: var(--slx-muted);
    font-family: var(--slx-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    padding: 6px 10px;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}
.language-toggle:hover { color: var(--slx-text); border-color: var(--slx-faint); }

.header-discord {
    color: var(--slx-muted);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .1em;
}
.header-discord:hover { color: var(--slx-text); }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    margin-left: auto;
    padding: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--slx-text);
}

/* ---------- Layout shell ---------- */

.public-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Hero ---------- */

.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 96px 0 80px;
}

.home-hero::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background:
        linear-gradient(180deg, rgba(255, 210, 31, .05), rgba(255, 210, 31, 0) 34%),
        linear-gradient(90deg, var(--slx-ink) 0%, rgba(10, 10, 12, .6) 55%, var(--slx-ink) 100%);
    pointer-events: none;
}

.hero-copy { position: relative; max-width: 680px; }

.eyebrow {
    margin: 0 0 14px;
    font-family: var(--slx-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--slx-yellow);
}

.home-hero h1 {
    margin: 0;
    font-size: clamp(48px, 7.2vw, 88px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--slx-text);
}

.hero-lead {
    margin: 22px 0 0;
    max-width: 540px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--slx-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    font-family: var(--slx-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.public-site .button-primary {
    background: var(--slx-yellow);
    color: var(--slx-ink);
}
.public-site .button-primary:hover { background: #ffe06a; }

.button-quiet {
    background: transparent;
    color: var(--slx-text);
    border: 1px solid var(--slx-line);
}
.button-quiet:hover { border-color: var(--slx-yellow); color: var(--slx-yellow); }

.button-dark {
    background: var(--slx-ink);
    color: var(--slx-yellow);
    border: 1px solid var(--slx-yellow-deep);
    white-space: nowrap;
}
.button-dark:hover { background: var(--slx-ink-3); }

.server-address {
    margin: 26px 0 0;
    font-family: var(--slx-mono);
    font-size: 13px;
    letter-spacing: .06em;
    color: var(--slx-faint);
}
.server-address strong { color: var(--slx-yellow); font-weight: 600; }
.copy-ip {
    margin-left: 12px;
    padding: 0 0 2px;
    background: none;
    border: 0;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    font-family: var(--slx-mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--slx-yellow);
}
.copy-ip:hover { border-bottom-color: var(--slx-yellow); }

/* Hero logo — clean standalone element, no card */
.hero-logo {
    position: relative;
    flex: 0 0 auto;
    width: clamp(150px, 20vw, 240px);
    height: auto;
    filter: drop-shadow(0 0 48px rgba(255, 210, 31, .18));
}

/* ---------- Hero banner (v2 index) ---------- */

.hero-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 96px 0 80px;
    overflow: hidden;
    background: var(--slx-ink);
}

.hero-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('/images/marketing/hero-home-e7f794dccc4fa0c595f7996c3f578284.jpg') center/cover no-repeat;
    opacity: 0.35;
    pointer-events: none;
}

.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(255, 210, 31, .06), rgba(255, 210, 31, 0) 30%),
        linear-gradient(90deg, var(--slx-ink) 0%, rgba(10, 10, 12, .55) 50%, var(--slx-ink) 100%);
    pointer-events: none;
}

.hero-banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-banner h1 {
    margin: 0;
    font-size: clamp(48px, 7.2vw, 88px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--slx-text);
}

.hero-banner .hero-lead {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Sections ---------- */

.public-section { padding: 72px 0; }

.section-heading { margin-bottom: 40px; }
.section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--slx-text);
}

/* ---------- Media split layout ---------- */

.section-media {
    background: var(--slx-ink-2);
}

.media-split {
    display: flex;
    align-items: center;
    gap: 56px;
}

.media-split-copy {
    flex: 1;
    min-width: 0;
}

.media-split-copy h2 {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--slx-text);
}

.media-split-copy p:not(.eyebrow) {
    margin: 18px 0 0;
    font-size: 17px;
    line-height: 1.55;
    color: var(--slx-muted);
    max-width: 580px;
}

.media-split-copy .button {
    margin-top: 28px;
}

.media-figure {
    flex: 0 0 auto;
    width: clamp(280px, 38vw, 500px);
    margin: 0;
}

.media-figure img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--slx-line);
}

.media-split-reverse {
    flex-direction: row-reverse;
}

/* ---------- Mode rows — no cards ---------- */

.mode-list {
    display: flex;
    flex-direction: column;
}

.mode-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 28px 8px;
    text-decoration: none;
    border-top: 1px solid var(--slx-line);
    transition: background .15s ease, padding-left .2s ease;
}
.mode-list .mode-row:last-child { border-bottom: 1px solid var(--slx-line); }
.mode-row:hover { background: var(--slx-ink-2); padding-left: 20px; }

.mode-number {
    font-family: var(--slx-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--slx-yellow);
    min-width: 30px;
}

.mode-row strong {
    display: block;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--slx-text);
    transition: color .15s ease;
}
.mode-row:hover strong { color: var(--slx-yellow); }

.mode-row small {
    display: block;
    margin-top: 4px;
    max-width: 640px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--slx-muted);
}

.row-arrow {
    margin-left: auto;
    font-size: 22px;
    color: var(--slx-faint);
    transition: color .15s ease, transform .2s ease;
}
.mode-row:hover .row-arrow {
    color: var(--slx-yellow);
    transform: translate(3px, -3px);
}

/* ---------- Mode row extensions ---------- */

.mode-copy {
    flex: 1;
    min-width: 0;
}

.mode-thumb {
    flex: 0 0 auto;
    width: 140px;
    height: 88px;
    object-fit: cover;
    border: 1px solid var(--slx-line);
}

.mode-row-media {
    /* media variant — layout inherited from .mode-row */
}

/* ---------- Store banner ---------- */

.support-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
    margin: 0 0 88px;
    padding: 48px 0 0;
    border-top: 2px solid var(--slx-yellow);
}
.support-banner > div { max-width: 640px; }
.support-banner h2 {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--slx-text);
}
.support-banner p:not(.eyebrow) {
    margin: 14px 0 0;
    font-size: 17px;
    color: var(--slx-muted);
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--slx-line);
    background: var(--slx-ink-2);
}

.site-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--slx-yellow);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .12em;
}
.footer-brand img { width: 30px; height: 30px; }

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 24px 48px;
    margin-left: auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col-title {
    margin: 0 0 6px;
    font-family: var(--slx-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--slx-yellow);
}

.footer-col a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .08em;
    color: var(--slx-muted);
    transition: color .15s ease;
}
.footer-col a:hover { color: var(--slx-yellow); }

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 26px;
    padding-top: 24px;
    border-top: 1px solid var(--slx-line);
}
.footer-legal a {
    text-decoration: none;
    font-family: var(--slx-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--slx-faint);
    transition: color .15s ease;
}
.footer-legal a:hover { color: var(--slx-text); }

.footer-note {
    margin: 0;
    font-size: 15px;
    color: var(--slx-faint);
}

.footer-legal .footer-copy {
    margin-left: auto;
    font-family: var(--slx-mono);
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--slx-faint);
}

/* ---------- Focus visibility ---------- */

.public-site a:focus-visible,
.public-site button:focus-visible,
.public-site input:focus-visible {
    outline: 2px solid var(--slx-yellow);
    outline-offset: 3px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .site-header-inner { gap: 18px; }
    .player-search input { width: 120px; }
}

@media (max-width: 860px) {
    .store-category-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nav-toggle { display: flex; }

    .site-links {
        position: absolute;
        top: 72px; left: 0; right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 16px;
        background: var(--slx-ink);
        border-bottom: 1px solid var(--slx-line);
    }
    .site-links.is-open { display: flex; }
    .site-links > a { padding: 14px 4px; font-size: 17px; }
    .player-search { margin: 10px 0 4px; }
    .player-search input { flex: 1; width: auto; }
    .site-actions { margin-left: auto; }
    .header-discord { display: none; }

    .home-hero {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 32px;
        padding: 56px 0 56px;
    }
    .hero-logo { width: 120px; }

    .hero-banner {
        min-height: auto;
        padding: 72px 0 64px;
    }
    .hero-banner h1 {
        font-size: clamp(40px, 10vw, 56px);
    }
    .media-split {
        flex-direction: column;
        gap: 36px;
    }
    .media-split-reverse {
        flex-direction: column;
    }
    .media-figure {
        width: 100%;
    }
    .mode-thumb {
        width: 100px;
        height: 64px;
    }

    .mode-row { gap: 18px; padding: 22px 4px; }
    .mode-row:hover { padding-left: 10px; }
    .mode-row strong { font-size: 21px; }

    .support-banner { flex-direction: column; align-items: flex-start; }

    .footer-top { flex-direction: column; gap: 32px; }
    .footer-columns { margin-left: 0; width: 100%; }
}

@media (max-width: 560px) {
    .public-shell { padding: 0 18px; }
    .site-header-inner { padding: 0 18px; min-height: 64px; }
    .site-links { top: 64px; }
    .wiki-nav { top: 64px; }
    .wiki-page .public-section[id] { scroll-margin-top: 200px; }
    .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .site-brand span { font-size: 18px; }

    .home-hero h1 { font-size: clamp(40px, 12vw, 56px); }
    .hero-lead { font-size: 18px; }
    .hero-actions .button { flex: 1 1 100%; }

    .hero-banner {
        padding: 56px 0 48px;
    }
    .hero-banner h1 {
        font-size: clamp(36px, 12vw, 48px);
    }
    .media-split {
        gap: 28px;
    }
    .mode-thumb {
        display: none;
    }

    .footer-legal .footer-copy { margin-left: 0; width: 100%; }
}

/* =====================================================================
   STORE — Season 1 public catalogue (charcoal + yellow, row-led)
   ===================================================================== */

.store-hero, .store-welcome { min-height: 0; padding: 88px 0 64px; }
.store-welcome { position: relative; display: flex; align-items: center; overflow: hidden; background: var(--slx-ink); }
.store-hero-bg {
    background: url('/images/marketing/hero-store-308f52871d8ed45c1f88c0ea3841da9d.jpg') center 30%/cover no-repeat;
    opacity: .28;
}
.store-hero-grid {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    text-align: left;
    width: 100%;
}
.store-hero-copy { max-width: 640px; }
.store-hero-copy h1 { margin: 0; }
.store-hero-copy .hero-lead { margin-left: 0; margin-right: 0; }

/* Contained hero panel: visible page air around the band on desktop */
.store-page .store-hero {
    width: calc(100% - 48px);
    max-width: 1192px;
    margin: clamp(20px, 3vw, 40px) auto;
    border: 1px solid var(--slx-line);
    padding: 96px 0 88px;
}
.store-page .store-hero .public-shell { padding: 0 clamp(24px, 4vw, 48px); }

.store-hero-note {
    margin: 18px 0 0;
    font-family: var(--slx-mono);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--slx-faint);
}

/* Category icon atlas — 4x4 CSS sprite (charcoal/yellow Silex marks) */
.store-icon {
    display: inline-block;
    width: 18px; height: 18px;
    flex: 0 0 auto;
    background-image: url('/images/store/silex-store-icons-v1-fffaba96e9e1a2bbcfc7b2cc66760716.png');
    background-size:400% 400%;
    background-repeat: no-repeat;
    vertical-align: -4px;
}
.store-icon-pass { background-position: 0 0; }
.store-icon-coins { background-position: 33.333% 0; }
.store-icon-rank { background-position: 66.666% 0; }
.store-icon-upgrade { background-position: 100% 0; }
.store-icon-cosmetics { background-position: 0 33.333%; }
.store-icon-collection { background-position: 33.333% 33.333%; }
.store-icon-crate { background-position: 66.666% 33.333%; }
.store-icon-booster { background-position: 100% 33.333%; }
.store-icon-private { background-position: 0 66.666%; }
.store-icon-support { background-position: 33.333% 66.666%; }
.store-icon-gift { background-position: 66.666% 66.666%; }
.store-icon-bundle { background-position: 100% 66.666%; }
.store-icon-details { background-position: 0 100%; }
.store-icon-medical { background-position: 33.333% 100%; }
.store-icon-tag { background-position: 66.666% 100%; }
.store-icon-frame { background-position: 100% 100%; }

/* Store category switcher */
.store-directory,
.store-account,
.store-page .store-category-rail,
.store-page .catalogue-section,
.store-script-note {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}
.store-directory {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    padding-top: 30px;
    padding-bottom: 20px;
}
.store-directory h2 { margin: 5px 0 0; font-size: clamp(26px, 3vw, 38px); line-height: 1; text-transform: uppercase; }
.store-directory > p { max-width: 520px; margin: 0; color: var(--slx-muted); font-size: 14px; line-height: 1.55; }
.store-basket-button {
    display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 16px;
    border: 1px solid var(--slx-yellow); background: transparent; color: var(--slx-text); cursor: pointer;
    font: 700 12px/1 var(--slx-mono); letter-spacing: .08em; text-transform: uppercase;
}
.store-basket-button:hover, .store-basket-button:focus-visible { background: var(--slx-yellow); color: var(--slx-ink); }
.store-basket-button strong { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; background: var(--slx-yellow); color: var(--slx-ink); }
.store-basket-button:hover strong, .store-basket-button:focus-visible strong { background: var(--slx-ink); color: var(--slx-yellow); }
.store-account {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: 34px;
    padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--slx-line);
}
.store-account-intro h2 { margin: 5px 0 10px; font-size: clamp(26px, 3vw, 38px); line-height: 1; text-transform: uppercase; }
.store-account-intro > p:not(.eyebrow) { max-width: 570px; margin: 0; color: var(--slx-muted); font-size: 14px; line-height: 1.55; }
.store-account-form { align-self: start; padding: 20px; border: 1px solid var(--slx-line); background: var(--slx-ink-2); }
.store-account-form label { display: block; margin-bottom: 9px; color: var(--slx-muted); font: 700 11px/1.3 var(--slx-mono); letter-spacing: .08em; text-transform: uppercase; }
.store-account-form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.store-account-form input {
    min-width: 0; min-height: 44px; padding: 10px 13px; border: 1px solid var(--slx-faint);
    border-radius: 0; outline: 0; background: var(--slx-ink); color: var(--slx-text); font: 600 15px/1 var(--slx-mono);
}
.store-account-form input:focus { border-color: var(--slx-yellow); box-shadow: inset 0 -2px 0 var(--slx-yellow); }
.store-account-form button {
    min-height: 44px; padding: 0 18px; border: 1px solid var(--slx-yellow); background: var(--slx-yellow); color: var(--slx-ink);
    cursor: pointer; font: 700 11px/1 var(--slx-mono); letter-spacing: .08em; text-transform: uppercase;
}
.store-account-form button:hover, .store-account-form button:focus-visible { background: #ffe06a; }
.store-account-form button:disabled { cursor: wait; opacity: .62; }
.store-account-form > p { min-height: 18px; margin: 10px 0 0; color: var(--slx-muted); font-size: 12px; line-height: 1.45; }
.store-account-result { grid-column: 1 / -1; border: 1px solid var(--slx-line); background: var(--slx-ink-2); }
.store-account-result[hidden], .store-account-clear[hidden], .store-punishment-offers article[hidden] { display: none; }
.store-account-result > header { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--slx-line); }
.store-account-result > header span { color: var(--slx-faint); font: 700 10px/1 var(--slx-mono); letter-spacing: .1em; text-transform: uppercase; }
.store-account-result > header strong { color: var(--slx-yellow); font: 700 18px/1 var(--slx-mono); }
.store-account-clear { margin: 0; padding: 22px 20px; color: var(--slx-muted); font-size: 14px; }
.store-account-components { display: grid; gap: 6px; margin: 0; padding: 0 20px 20px 38px; color: var(--slx-muted); font-size: 13px; line-height: 1.4; }
.store-account-components[hidden] { display: none; }
.store-checkout-recipient { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--slx-line); background: var(--slx-ink-2); }
.store-checkout-recipient[hidden] { display: none; }
.store-checkout-recipient .store-dialog-help { margin: 0; }
.store-punishment-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.store-punishment-offers article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 18px; align-items: start; padding: 22px 20px; border-right: 1px solid var(--slx-line); box-shadow: inset 0 3px 0 #ef5454; }
.store-punishment-offers article:last-child { border-right: 0; }
.store-punishment-offers article > div { grid-column: 1 / -1; }
.store-punishment-offers article span { color: #ff7676; font: 700 10px/1 var(--slx-mono); letter-spacing: .1em; }
.store-punishment-offers article h3 { margin: 7px 0 3px; font-size: 20px; text-transform: uppercase; }
.store-punishment-offers article p { margin: 0; color: var(--slx-muted); font-size: 13px; line-height: 1.45; }
.store-punishment-offers article > strong { align-self: center; color: var(--slx-yellow); font: 700 16px/1 var(--slx-mono); }
.store-punishment-offers article .store-product-cta { justify-self: end; }
.store-category-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding-top: 0;
    padding-bottom: 24px;
    border-top: 1px solid var(--slx-line);
    border-bottom: 1px solid var(--slx-line);
    background: transparent;
}
.store-category-rail button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    min-height: 76px;
    padding: 14px 16px;
    border: 1px solid var(--slx-line);
    background: var(--slx-ink-2);
    color: var(--slx-muted);
    cursor: pointer;
    text-align: left;
    transition: color .15s ease, background .15s ease;
}
.store-category-rail button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: transparent;
    transform: scaleX(.35);
    transition: background .15s ease, transform .15s ease;
}
.store-category-rail button:hover,
.store-category-rail button:focus-visible,
.store-category-rail button[aria-selected="true"] {
    color: var(--slx-text);
    background: var(--slx-ink-3);
}
.store-category-rail button:hover,
.store-category-rail button:focus-visible { border-color: var(--slx-faint); }
.store-category-rail button[aria-selected="true"] { border-color: var(--slx-yellow); }
.store-category-rail button[aria-selected="true"]::after {
    background: var(--slx-yellow);
    transform: scaleX(1);
}
.store-category-rail button[aria-selected="true"] .store-icon { filter: saturate(1.15) brightness(1.12); }
.store-category-copy { display: grid; min-width: 0; gap: 5px; }
.store-category-copy strong {
    overflow: hidden;
    color: inherit;
    font: 700 14px/1 var(--slx-display);
    letter-spacing: .03em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.store-category-copy small {
    color: var(--slx-faint);
    font: 400 9px/1.25 var(--slx-mono);
    letter-spacing: .04em;
    white-space: normal;
}
.store-tabs-ready [data-store-panel][hidden] { display: none; }
.store-tabs-ready [data-store-panel]:not([hidden]) { animation: store-panel-in .18s ease both; }
[data-store-panel] { scroll-margin-top: 96px; }
.store-script-note { margin-top: 14px; margin-bottom: 14px; color: var(--slx-muted); font-size: 13px; }
@keyframes store-panel-in { from { opacity: .45; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* Store sections */
.store-section, .store-subsection { padding: 84px 0; border-bottom: 1px solid var(--slx-line); }
.store-subsection { padding: 40px 0; }
.store-section-heading, .store-page .section-heading.split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
}
.store-section-heading h2, .store-page .section-heading h2 {
    margin: 6px 0 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: .98;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.store-section-heading > p, .store-page .section-heading.split > p {
    max-width: 420px;
    margin: 0;
    color: var(--slx-muted);
    font-size: 15px;
    line-height: 1.5;
}
.subsection-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 8px;
}
.subsection-heading h3 {
    margin: 4px 0 0;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1;
    text-transform: uppercase;
}
.subsection-lead { margin: 6px 0 28px; max-width: 640px; color: var(--slx-muted); font-size: 15px; line-height: 1.5; }
.subsection-price { text-align: right; font-family: var(--slx-mono); }
.subsection-price strong { display: block; color: var(--slx-yellow); font-size: 26px; line-height: 1; }
.subsection-price span { display: block; color: var(--slx-muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.subsection-price small { display: block; color: var(--slx-faint); font-size: 11px; margin-top: 2px; }

/* CTA shared */
.public-site .store-product-cta {
    display: inline-block;
    font-family: var(--slx-mono);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    color: var(--slx-ink);
    background: var(--slx-yellow);
    padding: 10px 16px;
    border: 1px solid var(--slx-yellow);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.public-site .store-product-cta:hover { background: #ffe06a; }
.public-site .store-product-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.public-site .store-product-cta:visited { color: var(--slx-ink); }
.public-site .store-product-cta:disabled { cursor: wait; opacity: .62; }
.public-site .store-product-cta.store-product-owned { opacity: .48; filter: saturate(.2); }
.public-site .store-product-cta.store-product-owned::after { content: " · " attr(data-owned-label); font-size: 9px; }
.store-owned-surface { opacity: .54; filter: saturate(.35); transition: opacity .15s ease, filter .15s ease; }
.store-owned-surface:hover, .store-owned-surface:focus-within { opacity: .82; filter: saturate(.7); }

/* Ranks — image-led rows, not boxed cards */
.rank-cards {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--slx-line);
}
.rank-card {
    position: relative;
    background: var(--slx-ink-2);
    border-bottom: 1px solid var(--slx-line);
    transition: background .15s ease;
}
.rank-card:last-child { border-bottom: 0; }
.rank-card:hover { background: var(--slx-ink-3); }
.rank-card.featured { background: var(--slx-ink-3); box-shadow: inset 0 2px 0 var(--slx-yellow); }
.rank-row { display: flex; align-items: center; gap: 36px; padding: 32px 28px; }
.rank-row-media {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.rank-icon {
    width: 120px; height: 120px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}
.rank-prefix-live {
    display: block; width: 100%; max-width: 200px; padding: 11px 12px;
    border: 1px solid var(--slx-line); background: #070708; color: #aaa;
    font: 700 15px/1 var(--slx-mono); text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}
.rank-prefix-live b { font-weight: 700; }
.rank-prefix-neon b { color: #5555ff; }
.rank-prefix-luxe b { color: #55ff55; }
.rank-prefix-prince b { color: #ffff55; }
.rank-prefix-crown b { color: #ff55ff; }
.rank-row-copy { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.rank-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rank-card-head h4 { margin: 0; font-size: 26px; text-transform: uppercase; letter-spacing: .01em; }
.rank-card-head strong { font-family: var(--slx-mono); color: var(--slx-yellow); font-size: 18px; }
.rank-card p { margin: 0 0 14px; color: var(--slx-muted); font-size: 14px; line-height: 1.5; max-width: 780px; }
.rank-card ul { margin: 0 0 20px; padding: 0; list-style: none; max-width: 780px; }
.rank-card ul li { position: relative; padding: 5px 0 5px 18px; color: var(--slx-text); font-size: 13.5px; border-top: 1px solid var(--slx-line); }
.rank-card ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 7px; height: 7px; background: var(--slx-yellow); }
.rank-card .store-product-cta { margin-top: auto; align-self: flex-start; text-align: center; }
.rank-upgrade-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 16px;
    padding: 16px 0 0;
    border-top: 1px solid var(--slx-line);
}
.rank-upgrade-intro h4 { margin: 0 0 6px; font-size: 18px; text-transform: uppercase; }
.rank-upgrade-intro p { margin: 0; max-width: 640px; color: var(--slx-muted); font-size: 13.5px; line-height: 1.5; }
.rank-upgrade-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.rank-upgrade-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--slx-line);
    background: var(--slx-ink-2);
}
.rank-upgrade-item h5 { margin: 0; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.rank-upgrade-item p { margin: 0; color: var(--slx-muted); font-size: 13px; line-height: 1.45; }
.rank-upgrade-links .store-product-cta::before {
    content: "↑";
    margin-right: 6px;
    font-weight: 400;
}
.rank-upgrade-links .store-product-cta {
    align-self: flex-start;
    margin-top: auto;
    background: transparent;
    color: var(--slx-yellow);
}
.rank-upgrade-links .store-product-cta:visited { color: var(--slx-yellow); }
.rank-upgrade-links .store-product-cta:hover { background: var(--slx-yellow); color: var(--slx-ink); }

/* Rank benefits table */
.rank-benefits { margin-top: 40px; }
.rank-benefits-heading h4 { margin: 4px 0 6px; font-size: 22px; text-transform: uppercase; }
.rank-benefits-heading p:not(.eyebrow) { margin: 0 0 18px; color: var(--slx-muted); font-size: 14.5px; max-width: 640px; }
.rank-benefit-table-wrap { overflow-x: auto; border: 1px solid var(--slx-line); }
.rank-benefit-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 760px; }
.rank-benefit-table caption {
    caption-side: top; text-align: left; padding: 12px 16px;
    font-family: var(--slx-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--slx-faint); background: var(--slx-ink-2); border-bottom: 1px solid var(--slx-line);
}
.rank-benefit-table th, .rank-benefit-table td {
    padding: 12px 16px; text-align: left; vertical-align: top;
    border-bottom: 1px solid var(--slx-line); border-right: 1px solid var(--slx-line);
    color: var(--slx-muted); line-height: 1.45;
}
.rank-benefit-table thead th {
    background: var(--slx-ink-2); color: var(--slx-text);
    font-family: var(--slx-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}
.rank-benefit-table tbody th { color: var(--slx-text); font-weight: 600; white-space: nowrap; }
.rank-benefit-table th:last-child, .rank-benefit-table td:last-child { border-right: 0; }
.rank-benefit-table tbody tr:last-child th, .rank-benefit-table tbody tr:last-child td { border-bottom: 0; }

/* Pass */
.pass-detail .pass-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--slx-line); }
.pass-benefits > div { padding: 24px; border-right: 1px solid var(--slx-line); background: var(--slx-ink-2); }
.pass-benefits > div:last-child { border-right: 0; }
.pass-benefits h4 { margin: 0 0 14px; font-size: 17px; text-transform: uppercase; color: var(--slx-yellow); }
.pass-benefits ul { margin: 0; padding: 0; list-style: none; }
.pass-benefits li { position: relative; padding: 6px 0 6px 18px; color: var(--slx-muted); font-size: 13.5px; line-height: 1.45; border-top: 1px solid var(--slx-line); }
.pass-benefits li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; background: var(--slx-yellow); }
.store-callout {
    margin: 20px 0 0; padding: 16px 20px;
    background: var(--slx-ink-2); border: 1px solid var(--slx-line); border-left: 2px solid var(--slx-yellow);
    color: var(--slx-muted); font-size: 14px; line-height: 1.5;
}
.store-pass-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Coins — v2 table */
.coin-grid { border: 1px solid var(--slx-line); }
.coin-row {
    display: grid; grid-template-columns: minmax(120px, 1fr) auto auto minmax(120px, 1fr) auto auto; gap: 0;
    align-items: center;
    border-bottom: 1px solid var(--slx-line);
}
.coin-row:last-child { border-bottom: 0; }
.coin-row > span, .coin-row > strong { padding: 13px 18px; font-size: 15px; }
.coin-row > strong { font-family: var(--slx-mono); color: var(--slx-yellow); text-align: right; }
.coin-row .coin-choose {
    min-width: 84px;
    margin: 8px 14px 8px 0;
    padding: 9px 12px;
    text-align: center;
}
.coin-head { background: var(--slx-ink-2); }
.coin-head > span {
    font-family: var(--slx-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--slx-faint);
}

/* Product categories (cosmetics) + package cards — row-led */
.product-category-grid, .store-package-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.store-package-grid-single { grid-template-columns: minmax(0, 1fr); }
.store-package-grid-single .store-package-card { max-width: 900px; }
.product-category, .store-package-card { border: 1px solid var(--slx-line); background: var(--slx-ink-2); }
.product-category-heading { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--slx-line); background: var(--slx-ink-3); }
.product-category-heading .store-icon { width: 26px; height: 26px; }
.product-category-heading h3 { margin: 0; font-size: 19px; text-transform: uppercase; }
.product-category-heading p { margin: 4px 0 0; color: var(--slx-muted); font-size: 13px; }
.product-lines, .store-package-lines { display: flex; flex-direction: column; }
.product-line::before, .store-package-line::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--slx-line);
    transition: background .15s ease;
}
.product-line:hover::before, .store-package-line:hover::before { background: var(--slx-yellow); }
.product-line, .store-package-line {
    position: relative;
    display: flex; align-items: center; gap: 18px;
    padding: 16px 20px 16px 22px;
    border-bottom: 1px solid var(--slx-line);
    transition: background .15s ease;
}
.product-line:last-child, .store-package-line:last-child { border-bottom: 0; }
.product-line:hover, .store-package-line:hover { background: var(--slx-ink-3); }
.product-line > div, .store-package-line > div { flex: 1 1 auto; min-width: 0; }
.product-line h4, .store-package-line h4 { margin: 0; font-size: 16px; text-transform: none; letter-spacing: 0; }
.product-line p, .store-package-line p { margin: 3px 0 0; color: var(--slx-muted); font-size: 13px; line-height: 1.45; }
.product-line > strong, .store-package-line > strong {
    font-family: var(--slx-mono); color: var(--slx-yellow); font-size: 16px; white-space: nowrap;
}

/* Checkout band + parent note */
.store-checkout-band {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: 48px 0; border-bottom: 1px solid var(--slx-line);
}
.store-checkout-band h2 { margin: 6px 0 8px; font-size: clamp(26px, 3.4vw, 38px); text-transform: uppercase; }
.store-checkout-band p:not(.eyebrow) { margin: 0; color: var(--slx-muted); font-size: 15px; max-width: 560px; }
.store-checkout-guide {
    width: calc(100% - 48px); max-width: 1192px; margin: 34px auto 64px;
    border: 1px solid var(--slx-line); border-left: 3px solid var(--slx-yellow); background: var(--slx-ink-2);
}
.store-checkout-guide-grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.3fr); gap: 42px; align-items: center; padding: 26px 30px; }
.store-checkout-guide h2 { margin: 5px 0 0; max-width: 410px; font-size: clamp(22px, 2.8vw, 34px); line-height: 1; text-transform: uppercase; }
.store-checkout-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--slx-line); }
.store-checkout-steps li { min-height: 96px; padding: 16px; background: var(--slx-ink); }
.store-checkout-steps b { display: block; margin-bottom: 14px; color: var(--slx-yellow); font: 700 12px/1 var(--slx-mono); letter-spacing: .12em; }
.store-checkout-steps span { color: var(--slx-muted); font-size: 13px; line-height: 1.4; }

.store-basket-drawer {
    position: fixed; z-index: 1200; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column;
    width: min(460px, 100%); padding: 28px; border-left: 1px solid var(--slx-faint); background: var(--slx-ink);
    color: var(--slx-text); box-shadow: -28px 0 80px rgba(0, 0, 0, .58); overflow-y: auto;
}
.store-basket-drawer[hidden] { display: none; }
.store-basket-heading { position: relative; display: flex; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--slx-line); }
.store-basket-heading h2 { margin: 4px 0 0; font-size: 34px; line-height: 1; text-transform: uppercase; }
.store-basket-heading .store-dialog-close { position: static; flex: 0 0 auto; }
.store-basket-items { display: grid; gap: 1px; margin-top: 18px; background: var(--slx-line); }
.store-basket-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px; background: var(--slx-ink-2); }
.store-basket-item > div:first-child { display: grid; gap: 6px; min-width: 0; }
.store-basket-item strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.store-basket-item span { color: var(--slx-yellow); font: 700 12px/1 var(--slx-mono); }
.store-basket-quantity { display: grid; grid-template-columns: 32px 28px 32px; align-items: center; text-align: center; }
.store-basket-quantity button { width: 32px; height: 32px; border: 1px solid var(--slx-faint); background: transparent; color: var(--slx-text); cursor: pointer; font-size: 18px; }
.store-basket-quantity button:hover, .store-basket-quantity button:focus-visible { border-color: var(--slx-yellow); color: var(--slx-yellow); }
.store-basket-quantity span { color: var(--slx-text); }
.store-basket-empty { margin: 28px 0; color: var(--slx-muted); }
.store-basket-total { display: flex; justify-content: space-between; gap: 18px; margin-top: auto; padding: 24px 0 16px; border-top: 1px solid var(--slx-line); text-transform: uppercase; }
.store-basket-total span { color: var(--slx-muted); font: 700 11px/1.4 var(--slx-mono); letter-spacing: .1em; }
.store-basket-total strong { color: var(--slx-yellow); font: 700 20px/1 var(--slx-mono); }
.store-basket-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store-basket-actions .store-dialog-fallback { padding: 0; border: 0; background: transparent; cursor: pointer; }
.store-basket-actions .store-dialog-fallback:disabled { cursor: default; opacity: .45; }
.store-basket-drawer > small { margin-top: 18px; color: var(--slx-faint); font-size: 11px; line-height: 1.5; }

.store-checkout-dialog {
    width: min(560px, calc(100% - 28px)); max-height: calc(100dvh - 32px); padding: 0;
    border: 1px solid var(--slx-faint); background: var(--slx-ink); color: var(--slx-text);
    box-shadow: 0 32px 90px rgba(0, 0, 0, .72); overflow: auto;
}
.store-checkout-dialog::backdrop { background: rgba(3, 3, 4, .82); backdrop-filter: blur(5px); }
.store-checkout-form { position: relative; display: grid; gap: 14px; padding: 34px; }
.store-checkout-form h2 { margin: 0 38px 4px 0; font-size: clamp(26px, 5vw, 38px); line-height: .98; text-transform: uppercase; }
.store-dialog-close {
    position: absolute; top: 18px; right: 18px; width: 38px; height: 38px;
    border: 1px solid var(--slx-line); background: transparent; color: var(--slx-text); cursor: pointer; font-size: 25px; line-height: 1;
}
.store-dialog-close:hover, .store-dialog-close:focus-visible { border-color: var(--slx-yellow); color: var(--slx-yellow); }
.store-dialog-package { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; margin: 4px 0; padding: 16px 18px; border: 1px solid var(--slx-line); background: var(--slx-ink-2); }
.store-dialog-package span { grid-column: 1 / -1; color: var(--slx-faint); font: 400 10px/1 var(--slx-mono); letter-spacing: .12em; text-transform: uppercase; }
.store-dialog-package strong { font-size: 17px; }
.store-dialog-package b { color: var(--slx-yellow); font: 700 16px/1.2 var(--slx-mono); }
.store-checkout-form > label { color: var(--slx-text); font: 700 11px/1 var(--slx-mono); letter-spacing: .1em; text-transform: uppercase; }
.store-checkout-form > input {
    width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--slx-faint);
    border-radius: 0; background: var(--slx-ink-2); color: var(--slx-text); font: 700 17px/1 var(--slx-mono);
}
.store-checkout-form > input:focus { outline: 3px solid rgba(255, 210, 31, .26); border-color: var(--slx-yellow); }
.store-dialog-help, .store-dialog-status { margin: 0; color: var(--slx-muted); font-size: 13px; line-height: 1.5; }
.store-dialog-status { min-height: 20px; color: var(--slx-yellow); }
.store-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store-dialog-fallback { color: var(--slx-muted); font-size: 13px; text-underline-offset: 3px; }
.store-dialog-fallback:hover, .store-dialog-fallback:focus-visible { color: var(--slx-yellow); }
.store-checkout-form > small { padding-top: 14px; border-top: 1px solid var(--slx-line); color: var(--slx-faint); font-size: 11px; line-height: 1.5; }
.parent-note { padding: 36px 0 64px; }
.parent-note h2 { margin: 0 0 8px; font-size: 20px; text-transform: uppercase; }
.parent-note p { margin: 0; color: var(--slx-muted); font-size: 14.5px; }
.price-note { margin: 18px 0 0; font-family: var(--slx-mono); font-size: 12px; letter-spacing: .06em; color: var(--slx-faint); }

/* =====================================================================
   WIKI — v2
   ===================================================================== */
.wiki-hero {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
    padding: 72px 0 56px; border-bottom: 1px solid var(--slx-line);
}
.wiki-hero h1 { margin: 6px 0 0; font-size: clamp(34px, 4.6vw, 56px); line-height: .98; text-transform: uppercase; }
.wiki-hero .hero-lead { margin: 18px 0 0; }
.wiki-hero .hero-actions { margin-top: 26px; }
.wiki-hero-media { margin: 0; }
.wiki-hero-media img { display: block; width: 100%; height: auto; border: 1px solid var(--slx-line); }
.wiki-nav {
    position: sticky; top: 72px; z-index: 20;
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 18px 0; border-bottom: 1px solid var(--slx-line);
    background: rgba(10, 10, 12, .92);
    backdrop-filter: blur(10px);
}
.wiki-nav a {
    font-family: var(--slx-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
    text-decoration: none; color: var(--slx-muted); border: 1px solid var(--slx-line); padding: 9px 14px;
    transition: color .15s, background .15s, border-color .15s;
}
.wiki-nav a:hover,
.wiki-nav a.active { color: var(--slx-ink); background: var(--slx-yellow); border-color: var(--slx-yellow); }
.wiki-page .public-section[id] { scroll-margin-top: 150px; }
.wiki-page .public-section { padding: 64px 0; }
.wiki-page .public-section + .public-section { border-top: 1px solid var(--slx-line); }
.wiki-page .section-heading { margin-bottom: 28px; }
.wiki-page .section-heading.split { align-items: flex-start; }

.step-list { margin: 0; padding: 0; list-style: none; counter-reset: step; border: 1px solid var(--slx-line); }
.step-list li {
    display: flex; gap: 22px; align-items: flex-start;
    padding: 20px 24px; border-bottom: 1px solid var(--slx-line); background: var(--slx-ink-2);
}
.step-list li:last-child { border-bottom: 0; }
.step-list li > span {
    font-family: var(--slx-mono); color: var(--slx-yellow); font-size: 14px; letter-spacing: .06em;
    border: 1px solid var(--slx-line); padding: 4px 8px; flex: 0 0 auto;
}
.step-list strong { display: block; font-size: 17px; text-transform: uppercase; margin-bottom: 4px; }
.step-list p { margin: 0; color: var(--slx-muted); font-size: 14.5px; line-height: 1.5; }

.wiki-mode-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--slx-line); }
.wiki-mode { padding: 24px; border-right: 1px solid var(--slx-line); border-bottom: 1px solid var(--slx-line); background: var(--slx-ink-2); }
.wiki-mode h3 { margin: 0 0 8px; font-size: 19px; text-transform: uppercase; }
.wiki-mode p { margin: 0; color: var(--slx-muted); font-size: 14px; line-height: 1.5; }
.wiki-inline-media { margin: 16px 0 0; }
.wiki-inline-media img { display: block; width: 100%; height: auto; border: 1px solid var(--slx-line); }
.wiki-enchant-book { max-width: 280px; }

.rules-callout {
    display: flex; gap: 16px; align-items: baseline;
    margin-top: 20px; padding: 16px 20px;
    background: var(--slx-ink-2); border: 1px solid var(--slx-line); border-left: 2px solid var(--slx-yellow);
}
.rules-callout strong { font-family: var(--slx-mono); color: var(--slx-yellow); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.rules-callout span { color: var(--slx-muted); font-size: 14px; line-height: 1.5; }

.crafting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.crafting-figure { margin: 0; }
.crafting-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--slx-line); background: var(--slx-ink-2); }
.crafting-figure figcaption { margin-top: 8px; font-family: var(--slx-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--slx-faint); }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--slx-line); }
.fact-grid > p { margin: 0; padding: 20px; border-right: 1px solid var(--slx-line); border-bottom: 1px solid var(--slx-line); background: var(--slx-ink-2); }
.fact-grid strong { display: block; font-size: 16px; text-transform: uppercase; margin-bottom: 6px; color: var(--slx-text); }
.fact-grid span { color: var(--slx-muted); font-size: 13.5px; line-height: 1.5; }
.craft-item { width: 26px; height: 26px; vertical-align: middle; margin-right: 6px; image-rendering: pixelated; }

.recipe-list { display: grid; gap: 12px; }
.recipe-card {
    display: grid; grid-template-columns: minmax(320px, .9fr) 1.1fr; gap: 28px; align-items: center;
    padding: 22px; border: 1px solid var(--slx-line); background: var(--slx-ink-2);
}
.recipe-slots { display: flex; align-items: center; gap: 8px; min-width: 0; }
.recipe-slots > span {
    position: relative; display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px;
    border: 1px solid #56565f; background: linear-gradient(135deg, #26262c, #161619);
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.08);
}
.recipe-slots img { width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; }
.recipe-slots small { position: absolute; right: 4px; bottom: 2px; color: #fff; font: 700 11px/1 var(--slx-mono); text-shadow: 1px 1px #000; }
.recipe-slots b { color: var(--slx-faint); font: 500 14px/1 var(--slx-mono); }
.recipe-slots .recipe-arrow { margin-left: auto; color: var(--slx-yellow); font-size: 20px; }
.recipe-slots > .recipe-result { border-color: var(--slx-yellow); background: rgba(255,210,31,.08); }
.recipe-slots > .fragment-slot { color: #c98cff; font-size: 25px; }
.recipe-card h3 { margin: 0 0 6px; color: var(--slx-text); font-size: 19px; text-transform: uppercase; }
.recipe-card p { margin: 0 0 8px; color: var(--slx-muted); font-size: 14px; line-height: 1.5; }
.recipe-card code { color: var(--slx-yellow); font: 11px/1.4 var(--slx-mono); text-transform: uppercase; letter-spacing: .05em; }

.enchantment-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--slx-line); }
.enchantment-card { display: flex; gap: 18px; padding: 24px; border-right: 1px solid var(--slx-line); background: var(--slx-ink-2); }
.enchantment-card:last-child { border-right: 0; }
.enchantment-icon { display: grid; place-items: center; flex: 0 0 58px; width: 58px; height: 58px; border: 1px solid #6a5279; background: radial-gradient(circle, rgba(177,94,226,.18), transparent 70%); }
.enchantment-icon img { width: 38px; height: 38px; object-fit: contain; image-rendering: pixelated; }
.enchantment-slot { color: #c98cff; font: 11px/1 var(--slx-mono); letter-spacing: .1em; text-transform: uppercase; }
.enchantment-card h3 { margin: 5px 0 8px; font-size: 19px; color: var(--slx-text); text-transform: uppercase; }
.enchantment-card p { margin: 0; color: var(--slx-muted); font-size: 13.5px; line-height: 1.55; }

.link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--slx-line); margin-top: 20px; }
.link-grid a {
    display: flex; flex-direction: column; gap: 4px; position: relative;
    padding: 20px; border-right: 1px solid var(--slx-line); border-bottom: 1px solid var(--slx-line);
    background: var(--slx-ink-2); text-decoration: none; transition: background .15s;
}
.link-grid a:hover { background: var(--slx-ink-3); }
.link-grid strong { font-size: 17px; text-transform: uppercase; color: var(--slx-text); }
.link-grid span { color: var(--slx-muted); font-size: 13px; line-height: 1.45; }
.link-grid b { position: absolute; top: 18px; right: 18px; color: var(--slx-yellow); font-weight: 400; }

.wiki-table-wrap { overflow-x: auto; border: 1px solid var(--slx-line); }
.wiki-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.wiki-table th {
    padding: 13px 18px;
    background: var(--slx-ink-3);
    color: var(--slx-yellow);
    font-family: var(--slx-mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
}
.wiki-table td { padding: 13px 18px; border-top: 1px solid var(--slx-line); color: var(--slx-muted); font-size: 15px; }
.wiki-table tbody tr:hover { background: var(--slx-ink-3); }

/* =====================================================================
   LEADERBOARDS — v2
   ===================================================================== */
.leaderboards-surface { background: var(--slx-ink); }
.leaderboards-container { padding-bottom: 64px; }
.leaderboards-hero {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
    padding: 72px 0 40px; border-bottom: 1px solid var(--slx-line);
}
.leaderboards-kicker { font-family: var(--slx-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--slx-yellow); }
.leaderboards-hero h1 { margin: 10px 0 0; font-size: clamp(38px, 5.4vw, 66px); line-height: .95; text-transform: uppercase; }
.leaderboards-hero h1 strong { color: var(--slx-yellow); font-weight: 800; }
.leaderboards-hero p { margin: 14px 0 0; max-width: 520px; color: var(--slx-muted); font-size: 16px; line-height: 1.5; }
.leaderboards-seal { display: none; }

.gamemode-selector { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--slx-line); }
.gamemode-selector a {
    display: flex; align-items: baseline; gap: 10px;
    font-family: var(--slx-mono); text-decoration: none;
    color: var(--slx-muted); border: 1px solid var(--slx-line); padding: 10px 16px;
    transition: color .15s, background .15s, border-color .15s;
}
.gamemode-selector a small { font-size: 11px; color: var(--slx-faint); letter-spacing: .08em; }
.gamemode-selector a span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.gamemode-selector a:hover { color: var(--slx-text); border-color: var(--slx-yellow); }
.gamemode-selector a.active { color: var(--slx-ink); background: var(--slx-yellow); border-color: var(--slx-yellow); }
.gamemode-selector a.active small { color: var(--slx-ink); }

.leaderboards-section-heading {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
    padding: 32px 0 20px;
}
.leaderboards-section-heading span { font-family: var(--slx-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slx-yellow); }
.leaderboards-section-heading h2 { margin: 6px 0 0; font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; }
.leaderboards-section-heading p { margin: 0; color: var(--slx-muted); font-size: 14px; max-width: 380px; }

.leaderboards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.leaderboard-column { border: 1px solid var(--slx-line); background: var(--slx-ink-2); }
.leaderboard-column .column-header {
    padding: 14px 18px; background: var(--slx-ink-3); border-bottom: 1px solid var(--slx-line);
    font-family: var(--slx-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--slx-yellow);
}
.lb-table { width: 100%; border-collapse: collapse; }
.lb-table tr { border-bottom: 1px solid var(--slx-line); transition: background .15s; }
.lb-table tr:last-child { border-bottom: 0; }
.lb-table tr:hover { background: var(--slx-ink-3); }
.lb-table td { padding: 10px 14px; font-size: 14px; vertical-align: middle; }
.lb-table .pos { font-family: var(--slx-mono); color: var(--slx-faint); width: 36px; text-align: right; }
.lb-table tr:first-child .pos { color: var(--slx-yellow); }
.lb-table .player a { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.lb-table .player img { width: 24px; height: 24px; display: block; }
.lb-table .stat { font-family: var(--slx-mono); text-align: right; color: var(--slx-text); }

.leaderboard-state-card {
    display: flex; gap: 18px; align-items: flex-start;
    margin-top: 24px; padding: 24px;
    border: 1px solid var(--slx-line); border-left: 2px solid var(--slx-yellow); background: var(--slx-ink-2);
}
.leaderboard-state-card .state-mark {
    font-family: var(--slx-mono); color: var(--slx-ink); background: var(--slx-yellow);
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex: 0 0 auto;
}
.leaderboard-state-card h2 { margin: 4px 0 6px; font-size: 20px; text-transform: uppercase; }
.leaderboard-state-card p { margin: 0; color: var(--slx-muted); font-size: 14px; }
.leaderboard-state-card .eyebrow { margin: 0; }

/* ---------- Player and clan records — data-first, not card-first ---------- */

.wiki-anchor-alias { position: relative; top: -96px; display: block; visibility: hidden; }

.public-profile,
.public-clans { background: var(--slx-ink); color: var(--slx-text); }
.public-profile .profile-page,
.public-clans .clan-leaderboard-page { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 80px; }
.public-profile .profile-hero,
.public-profile .profile-page .profile-hero {
    display: flex; align-items: end; gap: 24px; min-height: 180px; padding: 34px 0 28px;
    border-bottom: 2px solid var(--slx-yellow); background: none; border-radius: 0;
}
.public-profile .profile-hero-mark,
.public-profile .profile-season-stamp { display: none; }
.public-profile .profile-kicker,
.public-page-heading .eyebrow { color: var(--slx-yellow); font-family: var(--slx-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.public-profile .profile-hero h1,
.public-page-heading h1 { margin: 8px 0 0; font-size: clamp(40px, 6vw, 72px); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; }
.public-page-heading h1 { color: var(--slx-text); }
.public-profile .profile-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: var(--slx-muted); font-family: var(--slx-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.public-profile .profile-tag { display: inline-flex; gap: 8px; align-items: baseline; }
.public-profile .profile-tag small { color: var(--slx-faint); }
.public-profile .profile-layout-grid { display: grid; grid-template-columns: minmax(230px, .78fr) minmax(0, 2fr); gap: 40px; margin-top: 34px; }
.public-profile .identity-container,
.public-profile .stats-container { display: grid; align-content: start; gap: 28px; }
.public-profile .profile-layout-grid > *,
.public-profile .identity-container,
.public-profile .stats-container,
.public-profile .profile-panel,
.public-profile .table-wrapper { min-width: 0; max-width: 100%; }
.public-profile .card,
.public-profile .matches-card,
.public-profile .clan-panel,
.public-profile .carnage-feature-grid article { margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.public-profile .card { border-top: 1px solid var(--slx-line) !important; padding-top: 16px; }
.public-profile .card-header-bar { padding: 0 0 14px !important; background: transparent !important; color: var(--slx-yellow) !important; font-family: var(--slx-mono); font-size: 11px; letter-spacing: .13em; text-align: left !important; text-transform: uppercase; }
.public-profile .skin-body { background: var(--slx-ink-2) !important; border: 1px solid var(--slx-line); }
.public-profile .skin-body img { width: 100%; max-width: 310px; margin: 0 auto; }
.public-profile .info-body { padding: 0 !important; }
.public-profile .info-row { border-bottom: 1px solid var(--slx-line); padding: 10px 0; }
.public-profile .info-row .label { color: var(--slx-faint); font-family: var(--slx-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.public-profile .info-row .value { color: var(--slx-text); }
.public-profile .stats-filters-container,
.public-profile .show-more-container { padding: 0 0 16px !important; background: transparent !important; }
.public-profile .stats-filters-container {
    display: inline-grid;
    width: min(100%, 290px);
}
.public-profile .custom-dropdown,
.public-profile .replay-filter {
    width: 100%;
    min-height: 44px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--slx-line);
    border-radius: 0;
    background-color: var(--slx-ink-2);
    background-image:
        linear-gradient(45deg, transparent 50%, var(--slx-yellow) 50%),
        linear-gradient(135deg, var(--slx-yellow) 50%, transparent 50%);
    background-position:
        calc(100% - 17px) calc(50% - 2px),
        calc(100% - 11px) calc(50% - 2px);
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    color: var(--slx-text);
    cursor: pointer;
    font: 600 12px/1 var(--slx-mono);
    letter-spacing: .08em;
    padding: 12px 42px 12px 14px;
    text-transform: uppercase;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.public-profile .custom-dropdown:hover,
.public-profile .replay-filter:hover { border-color: var(--slx-faint); background-color: var(--slx-ink-3); }
.public-profile .custom-dropdown:focus-visible,
.public-profile .replay-filter:focus-visible {
    outline: 0;
    border-color: var(--slx-yellow);
    box-shadow: inset 0 -2px 0 var(--slx-yellow);
}
.public-profile .custom-dropdown:disabled,
.public-profile .replay-filter:disabled { cursor: not-allowed; opacity: .55; }
.public-profile .custom-dropdown option,
.public-profile .replay-filter option { background: var(--slx-ink-2); color: var(--slx-text); }
.public-profile .profile-select { position: relative; width: 100%; }
.public-profile .profile-select.is-enhanced .profile-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
.public-profile .profile-select-trigger {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    width: 100%;
    min-height: 58px;
    border: 1px solid var(--slx-line);
    border-left: 3px solid var(--slx-yellow);
    border-radius: 0;
    padding: 10px 12px 10px 14px;
    background: var(--slx-ink-2);
    color: var(--slx-text);
    cursor: pointer;
    text-align: left;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.public-profile .profile-select-trigger:hover { border-color: var(--slx-faint); border-left-color: var(--slx-yellow); background: var(--slx-ink-3); }
.public-profile .profile-select-trigger:focus-visible {
    outline: 0;
    border-color: var(--slx-yellow);
    box-shadow: inset 0 -2px 0 var(--slx-yellow);
}
.public-profile .profile-select-label {
    grid-column: 1;
    color: var(--slx-faint);
    font: 600 9px/1.2 var(--slx-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
}
.public-profile .profile-select-value {
    grid-column: 1;
    margin-top: 5px;
    overflow: hidden;
    font: 700 13px/1.2 var(--slx-mono);
    letter-spacing: .06em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.public-profile .profile-select-chevron {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--slx-line);
}
.public-profile .profile-select-chevron::before,
.public-profile .profile-select-chevron::after {
    content: '';
    position: absolute;
    top: 28px;
    width: 7px;
    height: 2px;
    background: var(--slx-yellow);
    transition: transform .15s ease;
}
.public-profile .profile-select-chevron::before { right: 19px; transform: rotate(45deg); }
.public-profile .profile-select-chevron::after { right: 14px; transform: rotate(-45deg); }
.public-profile .profile-select.is-open .profile-select-chevron::before { transform: rotate(-45deg); }
.public-profile .profile-select.is-open .profile-select-chevron::after { transform: rotate(45deg); }
.public-profile .profile-select-menu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    border: 1px solid var(--slx-line);
    border-top: 2px solid var(--slx-yellow);
    background: var(--slx-ink-2);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
}
.public-profile .profile-select-menu[hidden] { display: none; }
.public-profile .profile-select-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-bottom: 1px solid var(--slx-line);
    padding: 10px 13px;
    background: transparent;
    color: var(--slx-muted);
    cursor: pointer;
    font: 650 12px/1.2 var(--slx-mono);
    letter-spacing: .06em;
    text-align: left;
    text-transform: uppercase;
}
.public-profile .profile-select-option:last-child { border-bottom: 0; }
.public-profile .profile-select-option small { color: var(--slx-faint); font: 600 9px/1 var(--slx-mono); letter-spacing: .12em; }
.public-profile .profile-select-option:hover,
.public-profile .profile-select-option:focus-visible { outline: 0; background: var(--slx-ink-3); color: var(--slx-text); }
.public-profile .profile-select-option[aria-selected="true"] { background: rgba(255, 210, 31, .08); color: var(--slx-yellow); }
.public-profile .profile-select-option[aria-selected="true"] small { color: var(--slx-yellow); }
.public-profile .table-wrapper,
.public-data-table { overflow-x: auto; border-top: 1px solid var(--slx-line); }
.public-profile .stats-table,
.public-data-table table { width: 100%; border-collapse: collapse; }
.public-profile .stats-table th,
.public-data-table th { padding: 12px 10px; color: var(--slx-faint); font-family: var(--slx-mono); font-size: 10px; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.public-profile .stats-table td,
.public-data-table td { border-top: 1px solid var(--slx-line); padding: 12px 10px; color: var(--slx-text); }
.public-profile .replay-link,
.public-data-table .replay-link { color: var(--slx-yellow) !important; text-decoration: none; }
.public-profile .carnage-cosmetic { border: 1px solid var(--slx-line); border-radius: 0; background: transparent; color: var(--slx-muted); }
.public-page-heading { padding: 36px 0 28px; border-bottom: 2px solid var(--slx-yellow); }
.public-page-heading h1 { color: var(--slx-text) !important; }
.public-page-heading p { max-width: 560px; margin: 14px 0 0; color: var(--slx-muted); font-size: 16px; line-height: 1.55; }
.public-data-table { margin-top: 28px; background: var(--slx-ink-2); }
.public-data-table tbody tr:hover { background: var(--slx-ink-3); }

/* ---------- Player profile v2 — identity render, record, season performance ---------- */

.public-profile .profile-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.public-profile .profile-rank { font-family: var(--slx-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.public-profile .profile-status { display: inline-flex; align-items: center; gap: 8px; }
.public-profile .profile-status i {
    width: 8px; height: 8px; border-radius: 50%; background: var(--slx-faint); flex: 0 0 auto;
}
.public-profile .profile-status.is-online i { background: #55ff55; box-shadow: 0 0 0 4px rgba(85, 255, 85, .1); }
.public-profile .profile-status b { font-weight: 400; }
.public-profile .profile-tag b { color: var(--slx-text); font-weight: 400; }

.public-profile .profile-panel { border-top: 1px solid var(--slx-line); padding-top: 16px; }
.public-profile .profile-panel-title {
    margin: 0 0 14px; padding: 0; color: var(--slx-yellow); font-family: var(--slx-mono);
    font-size: 11px; font-weight: 400; letter-spacing: .13em; text-transform: uppercase;
}

.public-profile .skin-stage {
    position: relative; min-height: 390px; overflow: hidden; isolation: isolate;
    background: radial-gradient(circle at 50% 38%, rgba(255, 210, 31, .14), transparent 48%);
}
.public-profile .skin-stage::after { content: ""; position: absolute; inset: auto 10% 32px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.56); filter: blur(12px); z-index: -1; }
.public-profile .skin-render-main { display: block; width: 100%; max-width: 360px; margin: 10px auto 0; filter: drop-shadow(0 22px 18px rgba(0,0,0,.46)); }
.public-profile .info-row-block { display: block; }
.public-profile .info-row-block .value { display: block; margin-top: 8px; }
.public-profile .carnage-cosmetics { display: flex; flex-wrap: wrap; gap: 8px; }
.public-profile .carnage-cosmetics .carnage-cosmetic { padding: 4px 10px; font-size: 12px; }
.public-profile .carnage-tag-value { color: var(--slx-yellow); }

.public-profile .profile-state {
    border: 1px solid var(--slx-line); background: var(--slx-ink-2); padding: 18px 20px;
    display: flex; flex-direction: column; gap: 6px;
}
.public-profile .profile-state strong { color: var(--slx-text); font-size: 15px; font-weight: 600; }
.public-profile .profile-state span { color: var(--slx-muted); font-size: 13.5px; line-height: 1.5; }

.public-profile .stats-table-secondary { margin-top: 22px; }
.public-profile .global-row td:first-child { color: var(--slx-yellow); font-family: var(--slx-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.public-profile .hidden-match { display: none; }

.public-profile .icon { width: 15px; height: 15px; vertical-align: -2px; }
.public-profile .icon-muted { color: var(--slx-faint); }
.public-profile .icon-trophy { color: var(--slx-yellow); width: 17px; height: 17px; }
.public-profile .replay-state { color: var(--slx-faint); font-family: var(--slx-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.public-profile .profile-state-hero { padding: 72px 0 64px; border-bottom: 2px solid var(--slx-yellow); }
.public-profile .profile-state-hero h1 { margin: 10px 0 0; font-size: clamp(34px, 5vw, 56px); line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.public-profile .profile-state-hero .hero-lead { max-width: 620px; }
.public-profile .profile-state-hero .hero-actions { margin-top: 26px; }
.public-profile .profile-state-hint { margin-top: 26px; color: var(--slx-faint); font-family: var(--slx-mono); font-size: 12px; letter-spacing: .04em; }

/* ---------- Clan standings and clan record ---------- */
.clan-ranking-hero { display: block; padding-bottom: 28px; border-bottom: 1px solid var(--slx-line); }
.clan-ranking-copy { max-width: 680px; }
.clan-podium { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 1fr); grid-template-areas: "second first third"; align-items: end; gap: 14px; margin-top: 72px; }
.clan-podium-card { --podium-accent: var(--slx-yellow); --podium-glow: rgba(255,210,31,.10); position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto auto; gap: 15px; min-width: 0; min-height: 318px; padding: 25px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--podium-accent) 38%, var(--slx-line)); background: linear-gradient(150deg, var(--podium-glow), transparent 42%), var(--slx-ink-2); color: var(--slx-text); text-decoration: none; box-shadow: 0 18px 48px rgba(0,0,0,.18); transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.clan-podium-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--podium-accent); }
.clan-podium-card::after { content: ""; position: absolute; right: -66px; bottom: -84px; width: 190px; height: 190px; border: 1px solid var(--podium-accent); transform: rotate(45deg); opacity: .035; pointer-events: none; }
.clan-podium-card.podium-first { --podium-accent: #ffd21f; --podium-glow: rgba(255,210,31,.13); grid-area: first; min-height: 352px; transform: translateY(-26px); border-color: rgba(255,210,31,.52); box-shadow: 0 28px 70px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,210,31,.05); }
.clan-podium-card.podium-second { --podium-accent: #c9d0da; --podium-glow: rgba(201,208,218,.075); grid-area: second; }
.clan-podium-card.podium-third { --podium-accent: #c98658; --podium-glow: rgba(201,134,88,.075); grid-area: third; }
.clan-podium-card:hover, .clan-podium-card:focus-visible { transform: translateY(-6px); border-color: var(--podium-accent); background: linear-gradient(150deg, color-mix(in srgb, var(--podium-accent) 15%, transparent), transparent 46%), var(--slx-ink-3); box-shadow: 0 26px 62px rgba(0,0,0,.32); }
.clan-podium-card.podium-first:hover, .clan-podium-card.podium-first:focus-visible { transform: translateY(-32px); }
.clan-podium-position { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.clan-podium-position b { color: var(--podium-accent); font: 700 31px/.8 var(--slx-display); letter-spacing: -.02em; }
.clan-podium-position small { color: var(--slx-faint); font: 400 9px/1 var(--slx-mono); letter-spacing: .12em; text-transform: uppercase; }
.clan-podium-place { justify-self: start; border: 1px solid color-mix(in srgb, var(--podium-accent) 36%, var(--slx-line)); padding: 5px 8px; color: var(--podium-accent); background: color-mix(in srgb, var(--podium-accent) 7%, transparent); font: 700 9px/1 var(--slx-mono); letter-spacing: .12em; text-transform: uppercase; }
.clan-podium-identity { display: flex; align-items: center; gap: 15px; min-width: 0; }
.clan-podium-sigil { display: grid; flex: 0 0 auto; place-items: center; width: 60px; height: 60px; border: 1px solid color-mix(in srgb, var(--clan-colour, var(--slx-yellow)) 75%, var(--slx-line)); color: var(--clan-colour, var(--slx-yellow)); background: color-mix(in srgb, var(--clan-colour, var(--slx-yellow)) 7%, transparent); box-shadow: inset 0 0 22px color-mix(in srgb, var(--clan-colour, var(--slx-yellow)) 8%, transparent); font: 700 34px/1 var(--slx-display); text-transform: uppercase; }
.clan-podium-name { overflow: hidden; color: var(--slx-text); font: 700 clamp(24px, 2.5vw, 33px)/.95 var(--slx-display); text-overflow: ellipsis; text-transform: uppercase; }
.clan-podium-score { align-self: end; }
.clan-podium-score small, .clan-podium-score strong { display: block; }
.clan-podium-score small { color: var(--slx-faint); font: 400 9px/1 var(--slx-mono); letter-spacing: .12em; text-transform: uppercase; }
.clan-podium-score strong { margin-top: 6px; color: var(--podium-accent); font: 700 clamp(28px, 3.6vw, 42px)/.9 var(--slx-display); }
.clan-podium-stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--slx-line); border-bottom: 1px solid var(--slx-line); }
.clan-podium-stats > span { min-width: 0; padding: 13px 8px 13px 0; }
.clan-podium-stats > span + span { padding-left: 16px; border-left: 1px solid var(--slx-line); }
.clan-podium-stats small, .clan-podium-stats b { display: block; }
.clan-podium-stats small { color: var(--slx-faint); font: 400 9px/1 var(--slx-mono); letter-spacing: .08em; text-transform: uppercase; }
.clan-podium-stats b { margin-top: 7px; color: var(--slx-text); font: 700 13px/1 var(--slx-mono); }
.clan-podium-action { display: flex; align-items: center; justify-content: space-between; color: var(--slx-muted); font: 400 10px/1 var(--slx-mono); letter-spacing: .1em; text-transform: uppercase; }
.clan-podium-action b { color: var(--podium-accent); font-size: 17px; transition: transform .16s ease; }
.clan-podium-card:hover .clan-podium-action b, .clan-podium-card:focus-visible .clan-podium-action b { transform: translateX(4px); }
.clan-ranking-list { margin-top: 42px; }
.clan-ranking-list-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.clan-ranking-list-heading h2 { margin: 0; font-size: 25px; text-transform: uppercase; }
.clan-ranking-list-heading span { color: var(--slx-faint); font: 400 10px/1 var(--slx-mono); letter-spacing: .1em; text-transform: uppercase; }
.clan-table-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.clan-table-sigil { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--clan-colour, var(--slx-line)); color: var(--clan-colour, var(--slx-yellow)); font: 700 14px/1 var(--slx-display); }
.clan-rank-cell { color: var(--slx-faint) !important; font-family: var(--slx-mono); }

.public-clan-profile .clan-profile-hero { position: relative; justify-content: space-between; border-bottom-color: var(--clan-colour, var(--slx-yellow)); }
.public-clan-profile .profile-hero-meta > span { display: inline-flex; align-items: baseline; gap: 7px; }
.public-clan-profile .profile-hero-meta small { color: var(--slx-faint); font-size: 9px; }
.clan-identity-mark { display: grid; place-items: center; width: 104px; height: 104px; border: 1px solid var(--clan-colour, var(--slx-yellow)); color: var(--clan-colour, var(--slx-yellow)); background: var(--slx-ink-2); font: 700 64px/1 var(--slx-display); text-transform: uppercase; }
.clan-overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 30px; border: 1px solid var(--slx-line); background: var(--slx-line); }
.clan-overview-card { min-width: 0; padding: 24px; background: var(--slx-ink-2); }
.clan-overview-card > strong { display: block; margin: 13px 0 10px; color: var(--slx-text); font: 700 clamp(22px, 3vw, 30px)/1 var(--slx-display); text-transform: uppercase; }
.clan-overview-card > p { margin: 0; color: var(--slx-muted); font-size: 13.5px; line-height: 1.5; }
.clan-treasury-card { box-shadow: inset 0 3px 0 var(--slx-yellow); }
.clan-treasury-ledger { display: grid; gap: 7px; margin: 18px 0 0; }
.clan-treasury-ledger > div { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; border-top: 1px solid var(--slx-line); }
.clan-treasury-ledger dt { color: var(--slx-faint); font: 400 9px/1.3 var(--slx-mono); letter-spacing: .09em; text-transform: uppercase; }
.clan-treasury-ledger dd { margin: 0; color: var(--slx-text); font-size: 12px; text-align: right; }
.clan-system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0 36px; }
.clan-system-grid article { padding: 19px 0; border-top: 1px solid var(--slx-line); border-bottom: 1px solid var(--slx-line); }
.clan-system-grid strong { display: block; margin: 10px 0 8px; color: var(--slx-text); font: 700 22px/1 var(--slx-display); text-transform: uppercase; }
.clan-system-grid p, .clan-management-copy p, .clan-achievement-list p { margin: 0; color: var(--slx-muted); font-size: 13px; line-height: 1.5; }
.public-clan-profile .clan-panel { margin-top: 30px !important; }
.clan-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.clan-management-copy { display: grid; gap: 10px; }
.clan-achievement-list { display: flex; flex-wrap: wrap; gap: 8px; }
.clan-member-link { color: var(--slx-text); font-weight: 700; text-decoration-color: var(--slx-yellow); text-underline-offset: 3px; }
.profile-presence-online { color: #55ff55 !important; }

/* The original competitive-record stylesheet is intentionally more specific
   than its shared selectors. Keep that legacy surface inside the public
   system without changing the staff or game-data presentation. */
body.public-site.leaderboards-surface {
    --record-accent: var(--slx-yellow);
    --record-panel: var(--slx-ink-2);
    --record-panel-raised: var(--slx-ink-3);
    --record-line: var(--slx-line);
    --record-muted: var(--slx-muted);
}
body.public-site.leaderboards-surface .leaderboards-container {
    width: min(1180px, calc(100% - 48px)); max-width: none; margin: 0 auto; padding: 0 0 72px;
}
body.public-site.leaderboards-surface .leaderboards-hero {
    display: flex; align-items: flex-end; justify-content: space-between; min-height: 0; gap: 40px;
    margin: 0; padding: 72px 0 40px; background: none; border: 0; border-bottom: 1px solid var(--slx-line);
    border-radius: 0; box-shadow: none;
}
body.public-site.leaderboards-surface .leaderboards-hero::before,
body.public-site.leaderboards-surface .leaderboards-seal { display: none; }
body.public-site.leaderboards-surface .leaderboards-hero-copy { padding: 0; }
body.public-site.leaderboards-surface .leaderboards-hero h1 { margin: 10px 0 0; color: var(--slx-text); font-size: clamp(38px, 5.4vw, 66px); line-height: .95; }
body.public-site.leaderboards-surface .leaderboards-hero h1 strong { color: var(--slx-yellow); }
body.public-site.leaderboards-surface .leaderboards-hero p { margin: 14px 0 0; color: var(--slx-muted); font-size: 16px; line-height: 1.5; }
body.public-site.leaderboards-surface .gamemode-selector {
    justify-content: flex-start; gap: 8px; margin: 0; padding: 22px 0; background: none; border: 0; border-bottom: 1px solid var(--slx-line);
}
body.public-site.leaderboards-surface .gamemode-selector a {
    flex: 0 0 auto; min-height: 0; padding: 10px 16px; background: transparent; color: var(--slx-muted);
    border: 1px solid var(--slx-line); border-radius: 0; font-family: var(--slx-mono); font-size: 13px;
}
body.public-site.leaderboards-surface .gamemode-selector a:hover { background: var(--slx-ink-3); color: var(--slx-text); border-color: var(--slx-yellow); }
body.public-site.leaderboards-surface .gamemode-selector a.active { background: var(--slx-yellow); color: var(--slx-ink); border-color: var(--slx-yellow); }
body.public-site.leaderboards-surface .gamemode-selector a.active::after { display: none; }
body.public-site.leaderboards-surface .gamemode-selector a small,
body.public-site.leaderboards-surface .gamemode-selector a.active small { color: inherit; }
body.public-site.leaderboards-surface .leaderboards-section-heading { padding: 32px 0 20px; }
body.public-site.leaderboards-surface .leaderboards-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
body.public-site.leaderboards-surface .leaderboard-column {
    border: 1px solid var(--slx-line); border-radius: 0; background: var(--slx-ink-2); box-shadow: none;
}
body.public-site.leaderboards-surface .leaderboard-column::after { display: none; }
body.public-site.leaderboards-surface .column-header { min-height: 0; padding: 14px 18px; background: var(--slx-ink-3); color: var(--slx-yellow); }
body.public-site.leaderboards-surface .lb-table tr { height: auto; border-bottom-color: var(--slx-line); }
body.public-site.leaderboards-surface .lb-table tr:hover { background: var(--slx-ink-3); }
body.public-site.leaderboards-surface .lb-table tr:nth-child(1) .pos { color: var(--slx-yellow); }
body.public-site.leaderboards-surface .lb-table tr:nth-child(2) .pos { color: var(--slx-text); }
body.public-site.leaderboards-surface .lb-table tr:nth-child(3) .pos { color: var(--slx-muted); }
body.public-site.leaderboards-surface .lb-table td { padding: 10px 14px; }
body.public-site.leaderboards-surface .player a { color: var(--slx-text); }
body.public-site.leaderboards-surface .stat { color: var(--slx-text); }

/* ---------- Rules: remove the archived red/white surface ---------- */

body.public-site.rules-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 68% 38% at 72% 4%, rgba(255, 210, 31, .10), transparent 64%),
        var(--slx-ink);
}
body.public-site.rules-page .rules-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 24px 96px;
    background: transparent;
}
body.public-site.rules-page .rules-header {
    max-width: 690px;
    margin: 0 0 46px;
    padding: 0 0 32px;
    text-align: left;
    border-bottom: 1px solid var(--slx-line);
}
body.public-site.rules-page .rules-header h1 {
    margin: 8px 0 12px;
    color: var(--slx-text);
    font-family: var(--slx-display);
    font-size: clamp(44px, 6.8vw, 78px);
    line-height: .88;
    letter-spacing: -.035em;
    text-shadow: none;
}
body.public-site.rules-page .rules-header h1 strong { color: var(--slx-yellow); }
body.public-site.rules-page .rules-intro {
    max-width: 560px;
    margin: 0 0 26px;
    color: var(--slx-muted);
    font-size: 18px;
    line-height: 1.45;
}
body.public-site.rules-page .lang-content.es { display: none; }
html[lang="es"] body.public-site.rules-page .lang-content.en { display: none; }
html[lang="es"] body.public-site.rules-page .lang-content.es { display: block; }
body.public-site.rules-page .rules-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 24px;
    align-items: start;
}
body.public-site.rules-page .rules-column-side { display: grid; gap: 24px; }
body.public-site.rules-page .rule-card {
    margin: 0;
    border: 1px solid var(--slx-line);
    border-left: 2px solid var(--slx-yellow);
    border-radius: 0;
    padding: 27px 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,0));
    box-shadow: none;
}
body.public-site.rules-page .category-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 22px;
    color: var(--slx-yellow);
    font-family: var(--slx-display);
    font-size: 25px;
    letter-spacing: .045em;
}
body.public-site.rules-page .category-title::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--slx-yellow);
    flex: 0 0 auto;
}
body.public-site.rules-page .rule-card ul { margin: 0; padding: 0; list-style: none; }
body.public-site.rules-page .rule-item { padding: 15px 0; border-top: 1px solid var(--slx-line); }
body.public-site.rules-page .rule-item:first-child { padding-top: 0; border-top: 0; }
body.public-site.rules-page .rule-item:last-child { padding-bottom: 0; }
body.public-site.rules-page .rule-title {
    margin: 0 0 3px;
    color: var(--slx-text);
    font-family: var(--slx-display);
    font-size: 20px;
    font-weight: 700;
}
body.public-site.rules-page .rule-desc {
    margin: 0;
    color: var(--slx-muted);
    font-family: var(--slx-display);
    font-size: 16px;
    line-height: 1.45;
}
@media (max-width: 760px) {
    body.public-site.rules-page .rules-container { padding: 46px 16px 64px; }
    body.public-site.rules-page .rules-layout { grid-template-columns: 1fr; gap: 16px; }
    body.public-site.rules-page .rules-column-side { gap: 16px; }
    body.public-site.rules-page .rule-card { padding: 22px 20px; }
}

/* Replay library — a chronological match ledger, not a generic card grid. */
.replay-shell { max-width: 1160px; margin: 0 auto; padding: 64px 24px 104px; }
.replay-library-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 460px); align-items: end; gap: 24px 72px; padding-bottom: 34px; border-bottom: 2px solid var(--slx-yellow); }
.replay-library-hero .eyebrow, .replay-missing .eyebrow { grid-column: 1 / -1; margin: 0; color: var(--slx-yellow); font: 600 11px/1 var(--slx-mono); letter-spacing: .16em; text-transform: uppercase; }
.replay-library-hero h1 { margin: 0; font-size: clamp(54px, 9vw, 108px); line-height: .78; letter-spacing: -.035em; }
.replay-library-hero > p:last-child { margin: 0; color: var(--slx-muted); font-size: 17px; line-height: 1.55; }
.replay-filters { display: flex; flex-wrap: wrap; gap: 0; margin: 30px 0 36px; border-bottom: 1px solid var(--slx-line); }
.replay-filters a { padding: 11px 22px; border-bottom: 3px solid transparent; color: var(--slx-muted); font: 600 13px/1 var(--slx-mono); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.replay-filters a:hover, .replay-filters a.is-active { color: var(--slx-text); border-bottom-color: var(--slx-yellow); }
.replay-state-panel { display: grid; gap: 6px; padding: 30px 0; border-top: 1px solid var(--slx-line); border-bottom: 1px solid var(--slx-line); }
.replay-state-panel strong { font-size: 24px; }
.replay-state-panel span { color: var(--slx-muted); }
.replay-ledger { list-style: none; margin: 0; padding: 0; }
.replay-ledger > li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 26px; min-height: 188px; border-top: 1px solid var(--slx-line); }
.replay-ledger > li:last-child { border-bottom: 1px solid var(--slx-line); }
.replay-ledger-mark { position: relative; display: flex; justify-content: center; padding-top: 30px; border-right: 1px solid var(--slx-line); }
.replay-ledger-mark span { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; background: var(--slx-ink); border: 1px solid var(--slx-yellow); color: var(--slx-yellow); font: 600 12px/1 var(--slx-mono); }
.replay-ledger-mark i { position: absolute; top: 0; bottom: 0; right: -1px; width: 1px; background: var(--slx-line); }
.replay-ledger article { padding: 27px 0 25px; }
.replay-ledger-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.replay-ledger-head p { margin: 0 0 5px; color: var(--slx-faint); font: 500 11px/1.4 var(--slx-mono); letter-spacing: .04em; text-transform: uppercase; }
.replay-ledger-head h2 { margin: 0; font-size: clamp(25px, 4vw, 36px); line-height: 1.05; }
.replay-ledger-head h2 a { text-decoration: none; }
.replay-ledger-head h2 a:hover { color: var(--slx-yellow); }
.replay-status { flex: 0 0 auto; padding: 8px 10px; border-left: 3px solid var(--slx-faint); background: var(--slx-ink-2); color: var(--slx-muted); font: 600 11px/1 var(--slx-mono); letter-spacing: .08em; text-transform: uppercase; }
.replay-status[data-state="ready"] { border-color: var(--slx-yellow); color: var(--slx-yellow); }
.replay-status[data-state="retrying"] { border-color: #f49b36; color: #f6b86f; }
.replay-status[data-state="unavailable"] { border-color: #d45858; color: #ef8585; }
.replay-ledger-meta, .replay-participants { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.replay-ledger-meta span { color: var(--slx-muted); font: 500 12px/1 var(--slx-mono); }
.replay-participants a { color: var(--slx-text); font-size: 15px; text-decoration-color: var(--slx-faint); text-underline-offset: 3px; }
.replay-participants a:hover { color: var(--slx-yellow); }
.replay-ledger-action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 20px; color: var(--slx-muted); font-size: 14px; }
.replay-watch, .replay-details, .replay-record-link { color: var(--slx-yellow); font: 600 12px/1 var(--slx-mono); letter-spacing: .07em; text-transform: uppercase; text-underline-offset: 4px; }
.replay-details { margin-left: auto; color: var(--slx-muted); }
.replay-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 34px; font: 600 12px/1 var(--slx-mono); text-transform: uppercase; }
.replay-pagination a { color: var(--slx-yellow); text-underline-offset: 4px; }
.replay-pagination a:last-child { text-align: right; }
.replay-pagination span { color: var(--slx-faint); }

.replay-back { display: inline-block; margin-bottom: 34px; color: var(--slx-muted); font: 600 12px/1 var(--slx-mono); text-transform: uppercase; text-underline-offset: 4px; }
.replay-detail-hero { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding-bottom: 30px; border-bottom: 2px solid var(--slx-yellow); }
.replay-detail-hero .eyebrow { margin: 0 0 8px; color: var(--slx-yellow); font: 600 11px/1 var(--slx-mono); letter-spacing: .14em; text-transform: uppercase; }
.replay-detail-hero h1 { margin: 0; font-size: clamp(48px, 9vw, 94px); line-height: .86; text-transform: uppercase; }
.replay-detail-id { margin: 14px 0 0; color: var(--slx-muted); font: 500 13px/1 var(--slx-mono); }
.replay-status-large { padding: 13px 15px; }
.replay-unlisted { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 14px 18px; border: 1px dashed var(--slx-faint); color: var(--slx-muted); }
.replay-unlisted strong { color: var(--slx-text); }
.replay-playback-gate { margin-top: 38px; padding: 34px; background: linear-gradient(105deg, rgba(255,210,31,.1), transparent 70%); border-left: 4px solid var(--slx-yellow); }
.replay-playback-gate > div { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.replay-playback-gate strong { font-size: 23px; }
.replay-playback-gate a { color: var(--slx-yellow); font-family: var(--slx-mono); text-underline-offset: 4px; }
.replay-watch-primary { display: inline-block; padding: 15px 22px; background: var(--slx-yellow); color: #171200; text-decoration: none; }
.replay-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 38px 0 0; border-top: 1px solid var(--slx-line); border-left: 1px solid var(--slx-line); }
.replay-facts > div { min-height: 102px; padding: 22px; border-right: 1px solid var(--slx-line); border-bottom: 1px solid var(--slx-line); }
.replay-facts dt { color: var(--slx-faint); font: 500 10px/1 var(--slx-mono); letter-spacing: .12em; text-transform: uppercase; }
.replay-facts dd { margin: 11px 0 0; font-size: 22px; }
.replay-roster { margin-top: 42px; }
.replay-roster h2 { margin: 0 0 15px; font-size: 28px; text-transform: uppercase; }
.replay-roster > div { display: flex; flex-wrap: wrap; border-top: 1px solid var(--slx-line); }
.replay-roster a { min-width: 180px; padding: 15px 22px 15px 0; border-bottom: 1px solid var(--slx-line); color: var(--slx-text); text-underline-offset: 4px; }
.replay-roster a:hover { color: var(--slx-yellow); }
.replay-record-link { display: inline-block; margin-top: 34px; }
.replay-missing { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.replay-missing h1 { margin: 12px 0 0; font-size: clamp(48px, 9vw, 92px); line-height: .9; text-transform: uppercase; }
.replay-missing > p:not(.eyebrow) { color: var(--slx-muted); font-size: 20px; }

@media (max-width: 780px) {
    .replay-library-hero { grid-template-columns: 1fr; }
    .replay-library-hero .eyebrow { grid-column: 1; }
    .replay-ledger > li { grid-template-columns: 48px minmax(0, 1fr); gap: 18px; }
    .replay-ledger-mark span { width: 32px; height: 32px; font-size: 10px; }
    .replay-ledger-head, .replay-detail-hero, .replay-unlisted, .replay-playback-gate > div { align-items: flex-start; flex-direction: column; }
    .replay-details { margin-left: 0; }
    .replay-facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .replay-shell { padding-left: 17px; padding-right: 17px; }
    .replay-filters a { flex: 1 0 50%; text-align: center; }
    .replay-pagination { grid-template-columns: 1fr 1fr; gap: 18px; }
    .replay-pagination span { grid-row: 2; grid-column: 1 / -1; text-align: center; }
    .replay-facts { grid-template-columns: 1fr; }
}

/* ---------- Public punishments ---------- */

body.public-site.punishments-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 64% 38% at 76% 2%, rgba(255, 210, 31, .08), transparent 68%),
        var(--slx-ink);
}
body.public-site.punishments-page .punishments-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 24px 96px;
    background: transparent;
    font-family: var(--slx-display);
}
body.public-site.punishments-page .punishments-hero {
    max-width: 700px;
    margin-bottom: 38px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--slx-line);
}
body.public-site.punishments-page .punishments-hero h1 {
    margin: 8px 0 12px;
    color: var(--slx-text);
    font-family: var(--slx-display);
    font-size: clamp(42px, 6vw, 72px);
    line-height: .9;
    letter-spacing: -.035em;
}
body.public-site.punishments-page .punishments-hero h1 strong { color: var(--slx-yellow); }
body.public-site.punishments-page .punishments-hero > p:last-child {
    margin: 0;
    color: var(--slx-muted);
    font-size: 18px;
}
body.public-site.punishments-page .punishments-card {
    overflow: hidden;
    border: 1px solid var(--slx-line);
    border-radius: 0;
    background: var(--slx-ink-2);
    box-shadow: none;
}
body.public-site.punishments-page .card-title {
    margin: 0;
    padding: 15px 20px;
    background: var(--slx-yellow);
    color: var(--slx-ink);
    font-family: var(--slx-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-align: left;
}
body.public-site.punishments-page .table-wrapper { overflow-x: auto; }
body.public-site.punishments-page .punishment-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    color: var(--slx-text);
    font-family: var(--slx-display);
}
body.public-site.punishments-page .punishment-table th {
    padding: 13px 18px;
    border-bottom: 1px solid var(--slx-line);
    color: var(--slx-yellow);
    background: var(--slx-ink-3);
    font-family: var(--slx-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
}
body.public-site.punishments-page .punishment-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--slx-line);
    color: var(--slx-muted);
    font-size: 16px;
}
body.public-site.punishments-page .punishment-table tbody tr:hover { background: var(--slx-ink-3); }
body.public-site.punishments-page .punishment-table tbody tr:last-child td { border-bottom: 0; }
body.public-site.punishments-page .punishment-table .type-cell,
body.public-site.punishments-page .punishment-table .duration-cell { color: var(--slx-yellow); font-weight: 700; }
body.public-site.punishments-page .punishment-table .reason-cell { color: var(--slx-text); }
body.public-site.punishments-page .player-cell { display: flex; align-items: center; gap: 10px; }
body.public-site.punishments-page .player-cell img { width: 24px; height: 24px; image-rendering: pixelated; }
body.public-site.punishments-page .pagination-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: var(--slx-muted);
    font-family: var(--slx-mono);
    font-size: 12px;
}
body.public-site.punishments-page .pagination-container a {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--slx-line);
    color: var(--slx-yellow);
    text-decoration: none;
}
body.public-site.punishments-page .pagination-container a:hover { border-color: var(--slx-yellow); background: var(--slx-yellow); color: var(--slx-ink); }
@media (max-width: 760px) {
    body.public-site.punishments-page .punishments-container { padding: 46px 16px 64px; }
}

/* ---------- Community and creator roster ---------- */

body.public-site.media-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 70% 40% at 76% 0%, rgba(255, 210, 31, .08), transparent 65%),
        var(--slx-ink);
}
body.public-site.media-page .media-page-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 24px 96px;
    display: grid;
    gap: 24px;
    background: transparent;
}
body.public-site.media-page .media-hero {
    max-width: 720px;
    margin: 0 0 22px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--slx-line);
}
body.public-site.media-page .media-hero h1 {
    margin: 8px 0 12px;
    color: var(--slx-text);
    font-family: var(--slx-display);
    font-size: clamp(42px, 6.3vw, 76px);
    line-height: .9;
    letter-spacing: -.035em;
}
body.public-site.media-page .media-hero h1 strong { color: var(--slx-yellow); }
body.public-site.media-page .media-hero > p:last-child { margin: 0; color: var(--slx-muted); font-size: 18px; }
body.public-site.media-page .rank-box {
    overflow: hidden;
    border: 1px solid var(--slx-line);
    border-radius: 0;
    background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,0));
    box-shadow: none;
}
body.public-site.media-page .rank-header {
    padding: 15px 20px;
    background: var(--slx-ink-3);
    border-bottom: 1px solid var(--slx-line);
    color: var(--slx-yellow);
    font-family: var(--slx-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-align: left;
}
body.public-site.media-page .players-flex {
    justify-content: flex-start;
    gap: 0;
    padding: 0;
}
body.public-site.media-page .player-entry,
body.public-site.media-page a.player-entry {
    width: 180px;
    min-height: 238px;
    padding: 22px 18px 18px;
    border-right: 1px solid var(--slx-line);
    border-bottom: 1px solid var(--slx-line);
    color: var(--slx-text);
    transition: background .16s ease;
}
body.public-site.media-page .player-entry:hover,
body.public-site.media-page a.player-entry:hover {
    transform: none;
    background: var(--slx-ink-3);
}
body.public-site.media-page .player-entry img {
    width: 112px;
    max-width: 100%;
    margin: 0 0 15px;
    filter: drop-shadow(0 14px 14px rgba(0,0,0,.55));
}
body.public-site.media-page .player-name {
    font-family: var(--slx-display);
    font-size: 18px;
    letter-spacing: .01em;
    text-shadow: none;
}
@media (max-width: 760px) {
    body.public-site.media-page .media-page-container { padding: 46px 16px 64px; }
    body.public-site.media-page .players-flex { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
    body.public-site.media-page .player-entry,
    body.public-site.media-page a.player-entry { width: 100%; min-height: 210px; }
}

/* ---------- Carnage match archive ---------- */

body.public-site.match-history-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 68% 40% at 72% 0%, rgba(255, 210, 31, .08), transparent 66%),
        var(--slx-ink);
}
body.public-site.match-history-page .uhc-history-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 24px 96px;
    background: transparent;
}
body.public-site.match-history-page .match-history-hero {
    max-width: 700px;
    margin: 0 0 38px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--slx-line);
}
body.public-site.match-history-page .match-history-hero h1 {
    margin: 8px 0 12px;
    color: var(--slx-text);
    font-family: var(--slx-display);
    font-size: clamp(44px, 6.4vw, 76px);
    line-height: .9;
    letter-spacing: -.035em;
}
body.public-site.match-history-page .match-history-hero h1 strong { color: var(--slx-yellow); }
body.public-site.match-history-page .match-history-hero > p:last-child { margin: 0; color: var(--slx-muted); font-size: 18px; }
body.public-site.match-history-page .history-card,
body.public-site.match-history-page .card {
    overflow: hidden;
    border: 1px solid var(--slx-line);
    border-radius: 0;
    background: var(--slx-ink-2);
    box-shadow: none;
}
body.public-site.match-history-page .upcoming-section { margin-bottom: 24px !important; padding-bottom: 0; border-bottom: 0; }
body.public-site.match-history-page .card-header-bar {
    padding: 15px 20px;
    border-bottom: 1px solid var(--slx-line);
    background: var(--slx-yellow);
    color: var(--slx-ink);
    font-family: var(--slx-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-align: left;
    text-transform: uppercase;
}
body.public-site.match-history-page .card-header-bar i { color: inherit !important; }
body.public-site.match-history-page .coming-matches-flex {
    justify-content: flex-start;
    gap: 0;
    padding: 0;
}
body.public-site.match-history-page .match-card {
    min-width: 260px;
    max-width: none;
    margin: 0;
    border: 0;
    border-right: 1px solid var(--slx-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body.public-site.match-history-page .match-card:hover { transform: none; border-color: var(--slx-line); box-shadow: none; background: var(--slx-ink-3); }
body.public-site.match-history-page .match-card-top { padding: 12px 16px; background: var(--slx-ink-3); border-bottom: 1px solid var(--slx-line); }
body.public-site.match-history-page .match-time { color: var(--slx-yellow); font-family: var(--slx-mono); font-size: 12px; }
body.public-site.match-history-page .match-card-body { padding: 18px; }
body.public-site.match-history-page .match-details-mini { padding: 10px 0; border-radius: 0; background: transparent; border-top: 1px solid var(--slx-line); border-bottom: 1px solid var(--slx-line); }
body.public-site.match-history-page .detail { color: var(--slx-muted); font-family: var(--slx-mono); font-size: 11px; }
body.public-site.match-history-page .detail i { color: var(--slx-yellow); }
body.public-site.match-history-page .scenarios-list { border-left-color: var(--slx-yellow); border-radius: 0; background: transparent; color: var(--slx-muted); font-family: var(--slx-mono); font-size: 12px; }
body.public-site.match-history-page .no-matches-msg { padding: 28px; color: var(--slx-muted); font-family: var(--slx-display); font-size: 18px; }
body.public-site.match-history-page .no-matches-msg i { color: var(--slx-yellow); }
body.public-site.match-history-page .table-wrapper { overflow-x: auto; }
body.public-site.match-history-page .uhc-table { width: 100%; min-width: 700px; border-collapse: collapse; }
body.public-site.match-history-page .uhc-table th {
    padding: 13px 18px;
    border-bottom: 1px solid var(--slx-line);
    background: var(--slx-ink-3);
    color: var(--slx-yellow);
    font-family: var(--slx-mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
}
body.public-site.match-history-page .uhc-table td { padding: 14px 18px; border-bottom: 1px solid var(--slx-line); color: var(--slx-muted); font-size: 16px; }
body.public-site.match-history-page .uhc-table tbody tr:hover { background: var(--slx-ink-3); }
body.public-site.match-history-page .uhc-table .type-cell,
body.public-site.match-history-page .uhc-table .players-cell,
body.public-site.match-history-page .uhc-table .duration-cell { color: var(--slx-text); font-weight: 700; }
body.public-site.match-history-page .uhc-table .date-cell { color: var(--slx-muted); font-family: var(--slx-mono); font-size: 12px; }
@media (max-width: 760px) {
    body.public-site.match-history-page .uhc-history-page { padding: 46px 16px 64px; }
    body.public-site.match-history-page .match-card { min-width: 100%; border-right: 0; border-bottom: 1px solid var(--slx-line); }
}

/* =====================================================================
   CHANGELOG — release notes
   ===================================================================== */

.changelog-page .page-heading {
    padding: 56px 0 32px;
    border-bottom: 2px solid var(--slx-yellow);
}

.changelog-page .page-heading .eyebrow {
    margin: 0;
    color: var(--slx-yellow);
    font-family: var(--slx-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.changelog-page .page-heading h1 {
    margin: 10px 0 0;
    font-size: clamp(38px, 5.6vw, 64px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.changelog-page .page-heading p {
    max-width: 560px;
    margin: 16px 0 0;
    color: var(--slx-muted);
    font-size: 17px;
}

.changelog-entry {
    display: flex;
    gap: 40px;
}

.changelog-date {
    flex: 0 0 180px;
}
.changelog-date strong {
    display: block;
    color: var(--slx-yellow);
    font-family: var(--slx-mono);
    font-size: 12px;
    letter-spacing: .12em;
}
.changelog-date span {
    display: block;
    margin-top: 6px;
    color: var(--slx-faint);
    font-family: var(--slx-mono);
    font-size: 12px;
}

.changelog-entry h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    text-transform: uppercase;
}
.changelog-entry h3 {
    margin: 22px 0 8px;
    font-family: var(--slx-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--slx-yellow);
}
.changelog-entry p { margin: 0; color: var(--slx-muted); font-size: 16px; }

.changelog-entry .plain-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.changelog-entry .plain-list li {
    position: relative;
    padding: 7px 0 7px 22px;
    color: var(--slx-muted);
    font-size: 16px;
    line-height: 1.55;
}
.changelog-entry .plain-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 2px;
    background: var(--slx-yellow);
}

@media (max-width: 760px) {
    .changelog-entry { flex-direction: column; gap: 14px; }
    .changelog-date { flex: none; }
}

/* =====================================================================
   LEGAL — privacy / terms documents (shared legal-page styles)
   ===================================================================== */

.legal-document {
    max-width: 860px;
    padding-top: 56px;
    padding-bottom: 88px;
}

.legal-document .page-heading {
    padding-bottom: 32px;
    border-bottom: 2px solid var(--slx-yellow);
}

.legal-document .page-heading .eyebrow {
    margin: 0;
    color: var(--slx-yellow);
    font-family: var(--slx-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.legal-document .page-heading h1 {
    margin: 10px 0 0;
    font-size: clamp(38px, 5.6vw, 64px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.02em;
    text-transform: uppercase;
    color: var(--slx-text);
}

.legal-document .page-heading p {
    max-width: 620px;
    margin: 16px 0 0;
    color: var(--slx-muted);
    font-size: 17px;
    line-height: 1.55;
}

.legal-section {
    padding: 36px 0;
    border-bottom: 1px solid var(--slx-line);
}
.legal-section:last-child { border-bottom: 0; }

.legal-section h2 {
    margin: 0 0 14px;
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--slx-text);
}

.legal-section p {
    margin: 0 0 14px;
    color: var(--slx-muted);
    font-size: 16px;
    line-height: 1.65;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section strong { color: var(--slx-text); font-weight: 700; }

.legal-section a {
    color: var(--slx-yellow);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.legal-section a:hover { color: var(--slx-text); }

.legal-section .plain-list {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}
.legal-section .plain-list li {
    position: relative;
    padding: 8px 0 8px 22px;
    color: var(--slx-muted);
    font-size: 16px;
    line-height: 1.6;
}
.legal-section .plain-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 8px;
    height: 2px;
    background: var(--slx-yellow);
}

@media (max-width: 560px) {
    .legal-document { padding-top: 40px; padding-bottom: 64px; }
    .legal-section { padding: 28px 0; }
}

/* =====================================================================
   STORE / WIKI / LEADERBOARDS — responsive
   ===================================================================== */
@media (max-width: 1024px) {
    .store-hero-grid { flex-direction: column; align-items: flex-start; gap: 32px; }
    .store-checkout-guide-grid { grid-template-columns: 1fr; gap: 24px; }
    .pass-detail .pass-benefits { grid-template-columns: 1fr; }
    .pass-benefits > div { border-right: 0; border-bottom: 1px solid var(--slx-line); }
    .pass-benefits > div:last-child { border-bottom: 0; }
    .wiki-hero { grid-template-columns: 1fr; }
    .wiki-hero-media { order: -1; }
    .enchantment-grid { grid-template-columns: 1fr; }
    .enchantment-card { border-right: 0; border-bottom: 1px solid var(--slx-line); }
    .enchantment-card:last-child { border-bottom: 0; }
}

@media (max-width: 860px) {
    .store-directory { flex-direction: column; align-items: flex-start; gap: 10px; }
    .store-account { grid-template-columns: 1fr; }
    .store-account-result { grid-column: auto; }
    .store-punishment-offers { grid-template-columns: 1fr; }
    .store-punishment-offers article { border-right: 0; border-bottom: 1px solid var(--slx-line); }
    .store-punishment-offers article:last-child { border-bottom: 0; }
    .store-section-heading, .store-page .section-heading.split { flex-direction: column; align-items: flex-start; gap: 12px; }
    .store-section-heading > p, .store-page .section-heading.split > p { max-width: none; }
    .product-category-grid, .store-package-grid, .rank-upgrade-actions { grid-template-columns: 1fr; }
    .wiki-mode-list, .fact-grid, .link-grid, .crafting-grid { grid-template-columns: 1fr; }
    .wiki-mode, .fact-grid > p, .link-grid a { border-right: 0; }
    .store-checkout-band { flex-direction: column; align-items: flex-start; }
    .leaderboards-hero { flex-direction: column; align-items: flex-start; gap: 16px; }
    .leaderboards-section-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
    .recipe-card { grid-template-columns: 1fr; gap: 16px; }
    .clan-podium { grid-template-columns: 1fr; grid-template-areas: "first" "second" "third"; align-items: stretch; margin-top: 28px; }
    .clan-podium-card.podium-first { min-height: 318px; transform: none; }
    .clan-podium-card.podium-first:hover, .clan-podium-card.podium-first:focus-visible { transform: translateY(-6px); }
    .clan-overview-grid { grid-template-columns: 1fr; }
    .clan-system-grid { grid-template-columns: 1fr 1fr; }
    .clan-detail-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 620px) {
    .rank-row { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 20px; }
    .rank-row-media { flex: 0 0 auto; align-items: flex-start; }
    .rank-prefix-live { max-width: 240px; }
    .recipe-slots { flex-wrap: wrap; }
    .recipe-slots .recipe-arrow { margin-left: 0; }
    .coin-row { grid-template-columns: minmax(0, 1fr) auto auto; row-gap: 4px; padding: 6px 0; }
    .coin-row > strong { padding-right: 12px; }
    .coin-row .coin-choose { min-width: 76px; margin-right: 10px; }
    .coin-head { display: none; }
    .store-page .store-hero { width: 100%; max-width: none; margin: 0; border: 0; padding: 56px 0 40px; }
    .store-page .store-hero .public-shell { padding: 0 18px; }
    .store-checkout-guide { width: 100%; margin-bottom: 20px; border-left-width: 0; border-right-width: 0; }
    .store-checkout-guide-grid { padding: 24px 18px; }
    .store-checkout-steps { grid-template-columns: 1fr; }
    .store-checkout-steps li { min-height: 0; }
    .store-checkout-form { padding: 28px 20px 24px; }
    .store-category-rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(190px, 64vw); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; }
    .store-category-rail button { min-height: 72px; padding: 12px 14px; scroll-snap-align: start; }
    .store-policy-grid { grid-template-columns: 1fr 1fr; }
    .store-checkout-band { padding: 36px 0; }
    .public-profile .profile-page,
    .public-clans .clan-leaderboard-page { width: min(100% - 32px, 1180px); padding-top: 24px; }
    .public-profile .profile-layout-grid { grid-template-columns: 1fr; gap: 28px; }
    .public-profile .profile-hero { min-height: auto; padding-top: 24px; }
    .public-profile .profile-state-hero { padding: 48px 0 44px; }
    .public-profile .skin-stage { min-height: 340px; }
    .public-profile .profile-state { padding: 14px 16px; }
    .public-clan-profile .clan-profile-hero { align-items: flex-start; }
    .clan-identity-mark { width: 72px; height: 72px; font-size: 44px; }
    .clan-system-grid { grid-template-columns: 1fr; gap: 0; }
    .store-page .store-category-rail,
    .store-page .catalogue-section,
    .store-directory,
    .store-account,
    .store-script-note { padding-left: 18px; padding-right: 18px; }
    .store-basket-drawer { padding: 22px 18px; }
}

@media (max-width: 560px) {
    .store-policy-grid { grid-template-columns: 1fr; }
    .product-line, .store-package-line { flex-wrap: wrap; }
    .store-account-form > div { grid-template-columns: 1fr; }
    .subsection-price { text-align: left; }
    .step-list li { flex-direction: column; gap: 10px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .hero-banner *,
    .hero-banner *::before,
    .hero-banner *::after,
    .mode-row,
    .mode-row *,
    .mode-row:hover,
    .mode-row:hover .row-arrow,
    .row-arrow,
    .media-split *,
    .button,
    .store-category-rail button,
    .wiki-nav a,
    .gamemode-selector a,
    .rank-card,
    .product-line,
    .store-package-line,
    .store-product-cta,
    .link-grid a,
    .lb-table tr,
    .coin-row a {
        transition: none !important;
        animation: none !important;
    }
}

/* =====================================================================
   PUBLIC SURFACE EXTENSIONS — profile, clan, account, logs, tickets,
   staff roster and match detail (v2 restyle support)
   ===================================================================== */

/* Player profile — info rows, empty season row, status dot */
.public-profile .info-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.public-profile .info-row:last-child { border-bottom: 0; }
.public-profile .empty-season-row td { text-align: center; padding: 34px 10px; }
.public-profile .empty-season-row span { display: block; font-weight: 700; }
.public-profile .empty-season-row small { display: block; margin-top: 6px; color: var(--slx-faint); }
.public-profile .profile-hero-meta i {
    display: inline-block; width: 8px; height: 8px; margin-right: 6px;
    border-radius: 50%; background: var(--status-colour, var(--slx-faint));
}

/* Clan profile — summary feature grid */
.public-profile .carnage-feature-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px 32px; margin-top: 34px;
}
.public-profile .carnage-feature-grid article .eyebrow { display: block; margin-bottom: 8px; }
.public-profile .carnage-feature-grid article h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; }
.public-profile .carnage-feature-grid article p { margin: 8px 0 0; color: var(--slx-muted); font-size: 14px; line-height: 1.55; }

/* Account — fail-closed surface */
.account-page .account-shell { padding-top: 56px; padding-bottom: 88px; }
.account-page .section-heading > p:not(.eyebrow) { margin: 12px 0 0; max-width: 560px; color: var(--slx-muted); font-size: 16px; }
.account-page .account-data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.account-page .account-data-grid .leaderboard-state-card { margin-top: 0; }

/* Log viewer */
.log-viewer-page .log-shell { padding-top: 56px; padding-bottom: 88px; }
.log-viewer-page .log-console {
    margin: 0; padding: 20px 24px;
    background: var(--slx-ink-2); border: 1px solid var(--slx-line);
    max-height: 75vh; overflow: auto;
    white-space: pre-wrap; word-break: break-word;
    font-family: var(--slx-mono); font-size: 13px; line-height: 1.55; color: var(--slx-muted);
}
.log-viewer-page .log-waiting { color: var(--slx-faint); }

/* Ticket transcript viewer */
.ticket-viewer-page .ticket-shell { padding-top: 56px; padding-bottom: 88px; }
.ticket-viewer-page .text-green-500 { color: #57d9a3; font-family: var(--slx-mono); }
.ticket-viewer-page .text-red-500 { color: #f16a6a; font-family: var(--slx-mono); }
.ticket-viewer-page .ticket-messages { border: 1px solid var(--slx-line); background: var(--slx-ink-2); }
.ticket-viewer-page .ticket-empty { padding: 32px 24px; color: var(--slx-muted); }
.ticket-viewer-page .ticket-message { display: flex; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--slx-line); }
.ticket-viewer-page .ticket-message:last-child { border-bottom: 0; }
.ticket-viewer-page .ticket-avatar { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--slx-line); }
.ticket-viewer-page .ticket-message-content { flex: 1; min-width: 0; }
.ticket-viewer-page .ticket-timestamp { margin-left: 10px; color: var(--slx-faint); font-family: var(--slx-mono); font-size: 12px; }
.ticket-viewer-page .ticket-text { margin-top: 5px; color: var(--slx-muted); font-size: 15px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.ticket-viewer-page .ticket-attachments img,
.ticket-viewer-page .ticket-attachments video { max-width: 100%; height: auto; margin-top: 10px; border: 1px solid var(--slx-line); }

/* Staff members roster */
body.public-site.staff-members-page .rules-header { border-bottom: 2px solid var(--slx-yellow); }
body.public-site.staff-members-page .staff-rank-groups { display: grid; gap: 38px; margin-top: 34px; }
body.public-site.staff-members-page .rule-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
body.public-site.staff-members-page .category-title { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--slx-line); color: var(--slx-yellow); font: 400 11px/1 var(--slx-mono); letter-spacing: .14em; text-transform: uppercase; }
body.public-site.staff-members-page .players-flex { display: flex; flex-wrap: wrap; gap: 14px; }
body.public-site.staff-members-page .player-entry,
body.public-site.staff-members-page a.player-entry {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    width: 204px; min-height: 286px; padding: 28px 18px 20px; overflow: hidden;
    border: 1px solid var(--slx-line); background: var(--slx-ink-2);
    color: var(--slx-text); text-decoration: none;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
body.public-site.staff-members-page .player-entry::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: currentColor; opacity: .9; }
body.public-site.staff-members-page .player-entry:hover,
body.public-site.staff-members-page a.player-entry:hover { transform: translateY(-3px); background: var(--slx-ink-3); border-color: var(--slx-faint); }
body.public-site.staff-members-page a.player-entry:focus-visible { outline: 3px solid var(--slx-yellow); outline-offset: 3px; }
body.public-site.staff-members-page .player-entry img { width: 150px; height: 202px; max-width: 100%; margin: 0 0 14px; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .58)); }
body.public-site.staff-members-page .player-name { position: relative; width: 100%; padding-top: 13px; border-top: 1px solid var(--slx-line); font-family: var(--slx-display); font-size: 20px; letter-spacing: .01em; text-align: center; }

/* Match detail */
body.public-site.match-detail-page .match-detail-content { display: grid; gap: 32px; margin-top: 32px; }
body.public-site.match-detail-page .match-summary { display: grid; gap: 26px; justify-items: center; }
body.public-site.match-detail-page .match-stats { width: 100%; }
body.public-site.match-detail-page .match-winners { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
body.public-site.match-detail-page .match-winner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
body.public-site.match-detail-page .match-winner span { font-size: 20px; font-weight: 700; }
body.public-site.match-detail-page .match-winner-avatar { width: 120px; height: 120px; border: 1px solid var(--slx-line); background: var(--slx-ink-3); image-rendering: pixelated; }
body.public-site.match-detail-page .match-scenarios { margin: 0; color: var(--slx-muted); font-size: 15px; line-height: 1.5; text-align: center; }
body.public-site.match-detail-page .match-scenarios-label { font-family: var(--slx-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--slx-faint); margin-right: 8px; }
body.public-site.match-detail-page .match-log-heading { margin-bottom: 24px; }
body.public-site.match-detail-page .player-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--slx-text); font-weight: 700; }
body.public-site.match-detail-page .player-link img { width: 24px; height: 24px; display: block; }
body.public-site.match-detail-page .killer-name { color: #34c813; }
body.public-site.match-detail-page .victim-name { color: #bf2323; }
body.public-site.match-detail-page .info-btn {
    width: 34px; height: 34px; border: 1px solid var(--slx-line);
    background: transparent; color: var(--slx-yellow);
    font-family: var(--slx-mono); font-size: 13px; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
body.public-site.match-detail-page .info-btn:hover { background: var(--slx-yellow); color: var(--slx-ink); }
body.public-site.match-detail-page .state-back-link { margin-top: 16px; }

@media (max-width: 860px) {
    .account-page .account-data-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    body.public-site.staff-members-page .player-entry,
    body.public-site.staff-members-page a.player-entry { width: calc(50% - 8px); min-height: 210px; }
}
