:root {
    --bg: #090b0c;
    --bg-deep: #060708;
    --panel: #101315;
    --panel-soft: #14181a;
    --panel-hover: #181d20;
    --border: #252b2e;
    --border-strong: #343b3f;
    --text: #f4f1ea;
    --muted: #92999d;
    --accent: #e88732;
    --accent-bright: #ff9a3c;
    --accent-soft: rgba(232, 135, 50, .13);
    --green: #62c889;
    --gold: #e8b64d;
    --silver: #adb8be;
    --bronze: #b87343;
    --shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }

html {
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px),
        var(--bg);
    background-size: 34px 34px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 0%, rgba(232, 135, 50, .12), transparent 28rem),
        radial-gradient(circle at 90% 28%, rgba(232, 135, 50, .055), transparent 30rem);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }

.container {
    width: min(1220px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,.065);
    background: rgba(8, 10, 11, .91);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 52px;
}

.brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy strong,
.brand-copy small { display: block; }

.brand-copy strong {
    font-size: 15px;
    letter-spacing: .035em;
}

.brand-copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.site-nav a {
    padding: 12px 13px;
    color: #aab0b3;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .055em;
    border-bottom: 2px solid transparent;
    transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--text);
    border-bottom-color: var(--accent);
    background: rgba(255,255,255,.025);
}

.site-nav .discord-link { color: var(--accent-bright); }

.mode-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    margin-right: 6px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(255,255,255,.03);
}

.mode-tab {
    padding: 7px 15px;
    border-radius: 999px;
    color: #aab0b3;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .08em;
    border-bottom: none !important;
    transition: color .16s ease, background .16s ease, color .16s ease;
}

.mode-tab:hover {
    color: var(--text);
    background: rgba(255,255,255,.05);
}

.mode-tab.is-active {
    color: #160d06;
    background: var(--accent);
}

@media (max-width: 640px) {
    .mode-switch { order: -1; width: 100%; justify-content: center; margin: 0 0 8px; }
}

.stats-hero {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(100deg, rgba(5,6,7,.94) 0%, rgba(9,11,12,.88) 54%, rgba(9,11,12,.70) 100%),
        radial-gradient(circle at 82% 50%, rgba(232,135,50,.18), transparent 28rem),
        #0a0d0e;
}

.stats-hero::after {
    content: "FuX";
    position: absolute;
    right: -35px;
    bottom: -95px;
    color: rgba(255,255,255,.018);
    font-size: clamp(200px, 31vw, 460px);
    font-weight: 1000;
    font-style: italic;
    letter-spacing: -.12em;
    line-height: 1;
    user-select: none;
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: .22;
    pointer-events: none;
    background-image: repeating-linear-gradient(115deg, transparent 0 48px, rgba(255,255,255,.018) 49px 50px);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 70px;
    align-items: center;
    padding: 68px 0;
}

.eyebrow,
.section-kicker {
    color: var(--accent-bright);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.eyebrow { margin: 0 0 14px; }
.section-kicker { margin-bottom: 9px; }

h1, h2, h3, p { margin-top: 0; }

h1 {
    margin-bottom: 20px;
    font-size: clamp(48px, 7vw, 88px);
    line-height: .88;
    letter-spacing: -.06em;
    font-weight: 1000;
}

h1 span { color: var(--accent-bright); }

h2 {
    margin-bottom: 8px;
    font-size: clamp(25px, 3.2vw, 38px);
    line-height: 1;
    letter-spacing: -.035em;
    font-weight: 950;
}

.hero-text,
.section-heading p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-text {
    max-width: 690px;
    margin-bottom: 0;
    font-size: 15px;
}

.summary-grid {
    display: grid;
    gap: 10px;
}

.summary-card {
    position: relative;
    overflow: hidden;
    padding: 21px 22px;
    border: 1px solid var(--border);
    background: rgba(15,18,20,.88);
    box-shadow: var(--shadow);
}

.summary-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
}

.summary-card span,
.stat-highlight span {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
}

.summary-card strong {
    display: block;
    margin-top: 7px;
    font-size: 30px;
    letter-spacing: -.035em;
}

.content-shell { padding: 42px 0 78px; }

.search-section,
.content-section,
.detail-card {
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255,255,255,.018), transparent 120px), var(--panel);
    box-shadow: var(--shadow);
}

.search-section { padding: 28px; }

.section-heading {
    display: flex;
    gap: 22px;
    margin-bottom: 22px;
}

.split-heading {
    align-items: flex-end;
    justify-content: space-between;
}

.center-heading {
    justify-content: center;
    text-align: center;
}

.section-heading p {
    max-width: 650px;
    margin-bottom: 0;
    font-size: 13px;
}

.status-chip,
.count-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 31px;
    padding: 0 11px;
    border: 1px solid var(--border-strong);
    color: #b6bdc0;
    background: #0c0f10;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    white-space: nowrap;
}

.status-chip i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 14px rgba(98,200,137,.7);
}

.search-box { position: relative; }

.search-box > input {
    width: 100%;
    height: 62px;
    padding: 0 146px 0 52px;
    border: 1px solid var(--border-strong);
    border-radius: 0;
    outline: none;
    color: var(--text);
    background: #090c0d;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.search-box > input:focus {
    border-color: rgba(232,135,50,.78);
    box-shadow: inset 0 0 0 1px rgba(232,135,50,.22), 0 0 0 3px rgba(232,135,50,.06);
}

.search-box > input::placeholder { color: #687075; }

.search-icon {
    position: absolute;
    z-index: 2;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-bright);
    font-size: 24px;
}

.search-box > button {
    position: absolute;
    right: 6px;
    top: 6px;
    height: 50px;
    min-width: 122px;
    border: 0;
    color: #130b05;
    background: var(--accent);
    cursor: pointer;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .1em;
    transition: background .16s ease, transform .16s ease;
}

.search-box > button:hover {
    background: var(--accent-bright);
    transform: translateY(-1px);
}

.live-search-results {
    position: absolute;
    z-index: 80;
    left: 0;
    right: 0;
    top: calc(100% + 7px);
    max-height: 480px;
    overflow-y: auto;
    border: 1px solid var(--border-strong);
    background: #0b0e0f;
    box-shadow: 0 25px 65px rgba(0,0,0,.55);
}

.live-search-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,.055);
    transition: background .14s ease;
}

.live-search-item:last-child { border-bottom: 0; }
.live-search-item:hover,
.live-search-item.is-active { background: var(--accent-soft); }

.live-search-avatar {
    width: 46px;
    height: 46px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: var(--panel-soft);
}

.live-search-avatar img,
.live-search-avatar .avatar-fallback { width: 100%; height: 100%; object-fit: cover; }

.live-search-info { min-width: 0; }
.live-search-info strong,
.live-search-info small,
.live-search-stats strong,
.live-search-stats small { display: block; }

.live-search-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.live-search-info small {
    margin-top: 4px;
    color: var(--muted);
    font: 10px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.live-search-stats { text-align: right; }
.live-search-stats strong { color: var(--accent-bright); font-size: 17px; }
.live-search-stats small { margin-top: 2px; color: var(--muted); font-size: 8px; letter-spacing: .13em; }
.live-search-message { padding: 18px; color: var(--muted); font-size: 12px; }

.search-fallback-results { margin-top: 28px; }

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

.player-card {
    padding: 17px;
    border: 1px solid var(--border);
    background: #0c0f10;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.player-card:hover {
    transform: translateY(-2px);
    border-color: rgba(232,135,50,.48);
    background: #101416;
}

.player-card-top { display: flex; align-items: center; gap: 12px; }
.avatar { overflow: hidden; flex: 0 0 auto; border: 1px solid var(--border-strong); background: var(--panel-soft); }
.avatar-small { width: 36px; height: 36px; }
.avatar-medium { width: 50px; height: 50px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.avatar-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #160c05;
    background: linear-gradient(135deg, var(--accent), #ffb66f);
    font-size: 12px;
    font-weight: 950;
}

.player-meta { min-width: 0; }
.player-meta strong,
.player-meta small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-meta strong { font-size: 14px; }
.player-meta small { margin-top: 5px; color: var(--muted); font: 9px ui-monospace, monospace; }

.mini-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    margin-top: 15px;
}

.mini-stats div { padding: 10px; background: rgba(255,255,255,.025); }
.mini-stats span,
.mini-stats strong { display: block; }
.mini-stats span { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .09em; }
.mini-stats strong { margin-top: 4px; font-size: 16px; }

.podium-section { padding: 68px 0 24px; }

.podium-grid {
    width: min(920px, 100%);
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.podium-card {
    position: relative;
    min-height: 322px;
    padding: 28px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 55%), #0d1011;
    box-shadow: var(--shadow);
    transition: transform .18s ease, border-color .18s ease;
}

.podium-card:hover { transform: translateY(-5px); border-color: rgba(232,135,50,.5); }
.podium-card.place-1 { min-height: 370px; padding-top: 34px; border-color: rgba(232,182,77,.48); }
.podium-card.place-2 { border-color: rgba(173,184,190,.32); }
.podium-card.place-3 { border-color: rgba(184,115,67,.34); }

.podium-place {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #0b0d0e;
    background: var(--silver);
    font-weight: 950;
}

.place-1 .podium-place { background: var(--gold); }
.place-3 .podium-place { background: var(--bronze); color: #180c06; }

.podium-crown {
    position: absolute;
    top: -33px;
    color: var(--gold);
    font-size: 38px;
    text-shadow: 0 0 22px rgba(232,182,77,.35);
}

.podium-avatar {
    width: 104px;
    height: 104px;
    overflow: hidden;
    border: 3px solid var(--border-strong);
    border-radius: 50%;
    background: var(--panel-soft);
}

.place-1 .podium-avatar { width: 122px; height: 122px; border-color: var(--gold); }
.place-2 .podium-avatar { border-color: var(--silver); }
.place-3 .podium-avatar { border-color: var(--bronze); }
.podium-avatar img,
.podium-avatar .avatar-fallback { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.podium-name {
    width: 100%;
    margin-top: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 17px;
}

.podium-id { margin-top: 5px; color: var(--muted); font: 9px ui-monospace, monospace; }

.podium-kills { margin-top: 20px; }
.podium-kills strong,
.podium-kills span { display: block; }
.podium-kills strong { color: var(--accent-bright); font-size: 31px; letter-spacing: -.04em; }
.podium-kills span { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .15em; }

.podium-base {
    width: calc(100% + 40px);
    min-height: 50px;
    margin-top: auto;
    display: grid;
    place-items: center;
    border-top: 1px solid var(--border);
    color: #aeb4b7;
    background: rgba(255,255,255,.018);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
}

.place-1 .podium-base { border-top-color: rgba(232,182,77,.28); color: var(--gold); }

.content-section {
    margin-top: 28px;
    padding: 28px;
}

.leaderboard-section { margin-top: 42px; }

.leaderboard-heading { margin-bottom: 18px; }

.leaderboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}

.leaderboard-tab {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid var(--border-strong);
    color: #9da5a9;
    background: #0b0e0f;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .1em;
    transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.leaderboard-tab:hover {
    color: var(--text);
    border-color: rgba(232,135,50,.55);
    background: var(--accent-soft);
    transform: translateY(-1px);
}

.leaderboard-tab.is-active {
    color: #160d06;
    border-color: var(--accent);
    background: var(--accent);
}

.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 12px; border-bottom: 1px solid rgba(255,255,255,.055); text-align: left; white-space: nowrap; }
th { color: #727a7e; background: rgba(0,0,0,.14); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
tbody tr { transition: background .14s ease; }
tbody tr:hover { background: rgba(232,135,50,.045); }
.numeric { text-align: right; }
.emphasis { color: var(--accent-bright); font-weight: 900; }
.steam-id { color: #7f888c; font: 10px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.table-player { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; }
.table-player:hover { color: var(--accent-bright); }

.rank {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    color: #8b9397;
    background: #0b0e0f;
    border: 1px solid var(--border);
    font-size: 10px;
    font-weight: 950;
}

.rank-1 { color: #151005; border-color: var(--gold); background: var(--gold); }
.rank-2 { color: #111415; border-color: var(--silver); background: var(--silver); }
.rank-3 { color: #170d06; border-color: var(--bronze); background: var(--bronze); }

.empty-state { padding: 50px 20px; text-align: center; border: 1px dashed var(--border-strong); background: #0b0e0f; }
.empty-icon { display: block; margin-bottom: 10px; color: var(--accent); font-size: 30px; }
.empty-state h3 { margin-bottom: 7px; }
.empty-state p { margin-bottom: 0; color: var(--muted); }

.profile-page { padding: 40px 0 75px; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.back-link:hover { color: var(--accent-bright); }

.profile-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border: 1px solid var(--border);
    background:
        linear-gradient(105deg, rgba(232,135,50,.07), transparent 42%),
        var(--panel);
    box-shadow: var(--shadow);
}

.profile-avatar-wrap { position: relative; }
.profile-avatar {
    width: 142px;
    height: 142px;
    display: block;
    overflow: hidden;
    border: 3px solid var(--accent);
    background: var(--panel-soft);
}
.profile-avatar img,
.profile-avatar .avatar-fallback { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar .avatar-fallback { font-size: 32px; }
.rank-badge {
    position: absolute;
    right: -10px;
    bottom: -10px;
    min-width: 49px;
    height: 37px;
    display: grid;
    place-items: center;
    padding: 0 9px;
    color: #160d06;
    background: var(--accent);
    font-size: 13px;
    font-weight: 950;
}

.profile-title h1 {
    margin: 0 0 7px;
    font-size: clamp(38px, 5vw, 66px);
    line-height: .95;
    overflow-wrap: anywhere;
}
.profile-title > p { margin: 0; color: var(--muted); font: 11px ui-monospace, monospace; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.primary-button,
.secondary-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .11em;
}
.primary-button { color: #160d06; background: var(--accent); }
.primary-button:hover { background: var(--accent-bright); }
.secondary-button { border: 1px solid var(--border-strong); color: #bec4c7; background: #0a0d0e; }
.secondary-button:hover { border-color: var(--accent); color: var(--text); }

.profile-rank-card {
    min-width: 160px;
    padding: 19px;
    border-left: 3px solid var(--accent);
    background: #0b0e0f;
}
.profile-rank-card span,
.profile-rank-card strong,
.profile-rank-card small { display: block; }
.profile-rank-card span { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.profile-rank-card strong { margin: 6px 0 2px; color: var(--accent-bright); font-size: 39px; line-height: 1; }
.profile-rank-card small { color: #899195; font-size: 9px; }

.stats-highlight-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.stat-highlight {
    min-height: 116px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--border);
    background: var(--panel);
}
.stat-highlight strong { display: block; margin-top: 8px; font-size: 29px; letter-spacing: -.04em; }
.accent-stat { border-color: rgba(232,135,50,.52); background: linear-gradient(135deg, rgba(232,135,50,.11), transparent), var(--panel); }
.accent-stat strong { color: var(--accent-bright); }

.shooting-card { margin-top: 18px; padding: 25px; }
.shooting-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}
.shooting-stat {
    min-height: 108px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255,255,255,.065);
    background: #0b0e0f;
}
.shooting-stat span { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.shooting-stat strong { margin-top: 8px; font-size: 25px; letter-spacing: -.035em; }
.accent-shooting-stat { border-color: rgba(232,135,50,.4); background: linear-gradient(135deg, rgba(232,135,50,.09), transparent), #0b0e0f; }
.accent-shooting-stat strong { color: var(--accent-bright); }
.stat-formula-note { margin: 13px 0 0; color: #697176; font-size: 8px; font-weight: 750; letter-spacing: .06em; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.detail-card { padding: 25px; }
.compact-heading { margin-bottom: 14px; }

.stat-list { display: grid; }
.stat-list > div {
    min-height: 51px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}
.stat-list > div:last-child { border-bottom: 0; }
.stat-list span { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .09em; }
.stat-list strong { font-size: 17px; }

.achievements-card { margin-top: 18px; }

.achievement-subheading {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}
.achievement-subheading + .achievement-subheading,
.achievement-grid + .achievement-subheading,
.achievement-list + .achievement-subheading {
    margin-top: 22px;
}

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

.achievement-badge {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(232,135,50,.35);
    background: linear-gradient(135deg, rgba(232,135,50,.09), transparent), #0b0e0f;
    border-radius: 4px;
}

.achievement-icon { font-size: 20px; line-height: 1; }

.achievement-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.achievement-copy strong { font-size: 13px; }
.achievement-copy small { color: var(--muted); font-size: 10.5px; line-height: 1.4; }
.achievement-copy time { color: #7f8890; font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.achievement-reward { color: var(--accent-bright); font-size: 9.5px; font-weight: 800; letter-spacing: .04em; }

.achievement-list { display: grid; gap: 10px; }

.achievement-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.02);
    border-radius: 4px;
}

.achievement-progress { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 110px; }
.achievement-progress small { color: var(--muted); font-size: 9.5px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }

.achievement-progress-bar {
    display: block;
    width: 110px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
}
.achievement-progress-bar span {
    display: block;
    height: 100%;
    background: var(--accent);
    border-radius: 999px;
}

.updated-note { margin: 18px 0 0; color: #697176; text-align: right; font-size: 8px; font-weight: 800; letter-spacing: .12em; }


.footer { border-top: 1px solid var(--border); background: var(--bg-deep); }
.footer-inner {
    min-height: 150px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 40px;
    align-content: center;
}
.footer-inner > div:first-child strong,
.footer-inner > div:first-child span { display: block; }
.footer-inner > div:first-child strong { font-size: 17px; }
.footer-inner > div:first-child span { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links a { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.footer-links a:hover { color: var(--accent-bright); }
.footer-inner small { grid-column: 1 / -1; color: #596064; font-size: 9px; }

@media (max-width: 980px) {
    .hero-content { grid-template-columns: 1fr; gap: 34px; }
    .summary-grid { grid-template-columns: repeat(3, 1fr); }
    .podium-grid { width: 100%; }
    .player-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-highlight-grid { grid-template-columns: repeat(3, 1fr); }
    .shooting-stat-grid { grid-template-columns: repeat(3, 1fr); }
    .profile-hero { grid-template-columns: auto 1fr; }
    .profile-rank-card { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 24px, 1220px); }
    .header-inner { min-height: 68px; }
    .brand-copy { display: none; }
    .site-nav { gap: 0; }
    .site-nav a { padding: 10px 8px; font-size: 9px; }
    .stats-hero { min-height: auto; }
    .hero-content { padding: 50px 0; }
    h1 { font-size: clamp(45px, 15vw, 70px); }
    .summary-grid { grid-template-columns: 1fr; }
    .search-section, .content-section { padding: 20px; }
    .split-heading { align-items: flex-start; flex-direction: column; }
    .search-box > input { height: 58px; padding-right: 20px; }
    .search-box > button { position: static; width: 100%; height: 48px; margin-top: 8px; }
    .live-search-results { top: calc(100% + 55px); }
    .podium-grid { grid-template-columns: 1fr; align-items: stretch; }
    .podium-card, .podium-card.place-1 { min-height: 320px; padding-top: 28px; }
    .podium-card.place-1 { order: -1; }
    .player-grid { grid-template-columns: 1fr; }
    .mini-stats { grid-template-columns: repeat(3, 1fr); }
    .shooting-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .steam-id { display: none; }
    .profile-hero { grid-template-columns: 1fr; text-align: center; }
    .profile-avatar-wrap { margin: 0 auto; }
    .profile-actions { justify-content: center; }
    .profile-rank-card { text-align: left; }
    .stats-highlight-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
    .achievement-grid { grid-template-columns: 1fr 1fr; }
    .achievement-row { flex-direction: column; align-items: stretch; }
    .achievement-progress { align-items: stretch; min-width: 0; }
    .achievement-progress-bar { width: 100%; }
    .footer-inner { grid-template-columns: 1fr; padding: 30px 0; }
    .footer-inner small { grid-column: auto; }
}

@media (max-width: 470px) {
    .site-nav a:first-child { display: none; }
    .stats-highlight-grid { grid-template-columns: 1fr 1fr; }
    .shooting-stat-grid { grid-template-columns: 1fr; }
    .achievement-grid { grid-template-columns: 1fr; }
    .mini-stats { grid-template-columns: repeat(2, 1fr); }
    .live-search-item { grid-template-columns: 42px minmax(0,1fr); }
    .live-search-stats { display: none; }
    th, td { padding: 11px 8px; }
}

/* AJAX Leaderboard */
.leaderboard-section.is-loading .table-wrap {
    opacity: .42;
    pointer-events: none;
}

.leaderboard-section.is-loading .leaderboard-tabs {
    pointer-events: none;
}

.leaderboard-section .table-wrap {
    transition: opacity .16s ease;
}

.leaderboard-ajax-message {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(232, 135, 50, .35);
    color: #d9dde0;
    background: rgba(232, 135, 50, .08);
    font-size: 12px;
}

.leaderboard-ajax-message.is-error {
    border-color: rgba(255, 92, 92, .38);
    color: #ffc2c2;
    background: rgba(255, 92, 92, .08);
}
