:root {
    --surface: #2b2927;
    --surface-soft: #252321;
    --surface-raised: #36312e;
    --surface-hover: #403934;
    --line: #ffffff20;
    --line-strong: #ffffff36;
    --text: #f9f5ee;
    --muted: #c1b8ae;
    --quiet: #91877d;
    --accent: #ffad25;
    --accent-bright: #ffc45a;
    --accent-ink: #231503;
    --header: #36120b;
    --notice: #5f250f;
    --notice-border: #a94b1c;
    --radius: .45rem;
    --radius-large: .75rem;
    --shadow: 0 1rem 2.5rem #0006;
}
* { box-sizing: border-box; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-bright); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; }
button, select { font: inherit; }
.hero-icon, svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.page-shell { width: min(100% - 2rem, 62.5rem); margin-inline: auto; }
.stats-main-wide { width: min(100% - 2rem, 80rem); margin-inline: auto; }
main { min-height: 60vh; padding-block: 1.75rem; }
.saxton-section-heading .season-picker {
    flex: 0 0 auto;
    margin: 0;
}
.notice { margin: 0 0 1rem; padding: .85rem 1rem; color: #fff4e9; background: linear-gradient(135deg, var(--notice), #4a2013); border: 1px solid var(--notice-border); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.controls { margin-bottom: .65rem; padding: .6rem .75rem; text-align: center; background: #1716158c; border: 1px solid var(--line); border-radius: var(--radius); font-size: .85rem; }
.button, .season-picker button { display: inline-block; padding: .7rem 1rem; color: var(--accent-ink); background: linear-gradient(180deg, var(--accent-bright), var(--accent)); border: 1px solid #ffd477; border-radius: var(--radius); box-shadow: inset 0 1px #fff7; font-weight: 700; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.button:hover, .season-picker button:hover { color: #17110a; background: linear-gradient(180deg, #ffda8a, var(--accent-bright)); box-shadow: inset 3px 0 var(--accent), inset 0 1px #fff7; transform: translateY(-1px); text-decoration: none; }
.map-rankings-table th:nth-child(1) { width: 12%; }
.map-rankings-table th:nth-child(2) { width: 48%; }
.map-rankings-table th:nth-child(3) { width: 20%; }
.map-rankings-table th:nth-child(4) { width: 20%; }
.sort-link { display: inline-flex; gap: .3rem; align-items: center; color: inherit; font: inherit; }
.sort-link:hover { color: var(--accent-bright); }
.sort-link.is-active { color: var(--accent-bright); }
.sort-link.is-active .sort-indicator { font-weight: 700; }
table { width: 100%; min-width: 38rem; border-collapse: separate; border-spacing: 0; }
th, td { padding: .78rem .7rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--muted); background: #1615148c; border-top: 1px solid var(--line); border-bottom-color: var(--line-strong); font-family: Jura, sans-serif; font-size: .77rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
th:first-child { border-top-left-radius: .35rem; }
th:last-child { border-top-right-radius: .35rem; }
tbody tr { transition: background-color .15s ease, box-shadow .15s ease; }
tbody tr:last-child td { border-bottom: 0; }
td small { display: block; margin-top: .25rem; color: var(--quiet); font-size: .77rem; }
main a:not(.stats-tile):not(.mode-card):not(.button):not(.back-button):not(.legacy-search-clear):not(.error-page-section-link):not(.table-cell-row-link):not(.steam-identity):not(.table-row-secondary-link) { border-left: 3px solid transparent; padding-left: .3em; transition: border-color .15s ease, color .15s ease; }
main a:not(.stats-tile):not(.mode-card):not(.button):not(.back-button):not(.legacy-search-clear):not(.error-page-section-link):not(.table-cell-row-link):not(.steam-identity):not(.table-row-secondary-link):hover { border-left-color: var(--accent); text-decoration: none; }
.stats-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; text-align: center; }
.stats-tile { position: relative; display: block; width: 100%; overflow: hidden; color: #fff; background: #171615; border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: 0 .4rem 1rem #0003; }
.stats-tile::before { position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 3px; content: ""; background: var(--accent); transform: translateX(-3px); transition: transform .15s ease; }
.stats-tile:not(.disabled):hover { color: #fff; box-shadow: 0 .55rem 1.3rem #0005; transform: translateY(-1px); text-decoration: none; }
.stats-tile:not(.disabled):hover::before { transform: translateX(0); }
.stats-tile img { display: block; width: 100%; height: auto; }
.stats-tile-overlay { position: absolute; z-index: 2; top: 50%; left: 0; width: 100%; color: #fff; font-family: Jura, sans-serif; font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 600; text-align: center; text-shadow: 0 .15rem .5rem #000; transform: translateY(-50%); }
.stats-tile.disabled { cursor: not-allowed; }
.stats-tile.disabled img { opacity: .16; }
.mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mode-card { position: relative; display: block; aspect-ratio: 477 / 105; overflow: hidden; background-color: #171615; background-position: center; background-size: cover; border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: 0 .4rem 1rem #0003; transition: background-size .15s ease, box-shadow .15s ease, transform .15s ease; }
.mode-card--vsh { background-image: url("/images/maprankings/vsh.png"); }
.mode-card--dr { background-image: url("/images/maprankings/dr.png"); }
.mode-card--ph { background-image: url("/images/maprankings/ph.png"); }
.mode-card--zf { background-image: url("/images/maprankings/zf.png"); }
.mode-card--jump { background-image: url("/images/maprankings/jump.png"); }
.mode-card--db { background-image: url("/images/maprankings/db.png"); }
.mode-card--fw { background-image: url("/images/maprankings/fw.png"); }
.mode-card::before { position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 3px; content: ""; background: var(--accent); transform: translateX(-3px); transition: transform .15s ease; }
.mode-card:hover { box-shadow: 0 .55rem 1.3rem #0005; transform: translateY(-1px); text-decoration: none; }
.mode-card:hover::before { transform: translateX(0); }
.mode-card:hover { background-size: 102%; }
.season-picker { display: flex; justify-content: flex-end; align-items: center; gap: .5rem; margin: 0 0 .85rem; }
.season-picker select { padding: .55rem; color: var(--text); background: #171615; border: 1px solid #ffffff32; border-radius: var(--radius); }
.player-cell { min-width: 15rem; }
.dodgeball-row { cursor: pointer; }
.dodgeball-player-map-link:is(:hover, :focus-visible) { color: inherit; text-decoration: none; }
.dodgeball-map-rank-link:is(:hover, :focus-visible) { color: inherit; text-decoration: none; }
.dodgeball-player-detail-inner { display: grid; grid-template-columns: minmax(10rem, .55fr) minmax(0, 2fr); gap: 1rem; align-items: start; margin-bottom: 0; }
.dodgeball-player-detail-player { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: .55rem; }
.dodgeball-player-detail-player .steam-identity { flex-direction: column; gap: .7rem; max-width: 100%; text-align: center; }
.dodgeball-player-detail-player .steam-identity-avatar { --steam-avatar-size: 6.5rem; }
.dodgeball-player-detail-player .steam-identity-copy { justify-items: center; }
.dodgeball-player-detail-player .steam-identity-name { max-width: 13rem; font-family: Jura, sans-serif; font-size: 1.25rem; }
.dodgeball-player-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; background: radial-gradient(ellipse 115% 105% at center, rgb(0 0 0 / 4%) 0%, transparent 78%); }
.dodgeball-player-details > div { display: grid; min-width: 0; gap: .16rem; padding: .62rem .7rem; }
.dodgeball-player-details dt { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.dodgeball-player-details dd { min-width: 0; margin: 0; line-height: 1.45; overflow-wrap: anywhere; }
.message-page { max-width: 45rem; margin: 3rem auto; text-align: center; }
.vsh-stats-stack { display: grid; gap: .7rem; }
.vsh-stats-stack .saxton-section-card { margin-bottom: 0; }
.vsh-scoreboard-card .saxton-card-content { padding-inline: .65rem; }
.vsh-scoreboard-table { min-width: 56rem; }
.vsh-scoreboard-table th:not(:first-child), .vsh-scoreboard-table td:not(:first-child) { white-space: nowrap; }
.vsh-scoreboard-table th.vsh-scoreboard-player, .vsh-scoreboard-table td.vsh-scoreboard-player { width: 14.5rem; min-width: 14.5rem; max-width: 14.5rem; }
.vsh-scoreboard-table .vsh-scoreboard-player .steam-identity { display: flex; width: 100%; max-width: 100%; }
.vsh-scoreboard-table th.vsh-scoreboard-boss, .vsh-scoreboard-table td.vsh-scoreboard-boss { width: 9rem; max-width: 9rem; white-space: normal; overflow-wrap: anywhere; }
.vsh-scoreboard-table th.vsh-scoreboard-mercenary-damage, .vsh-scoreboard-table td.vsh-scoreboard-mercenary-damage { width: 9rem; max-width: 9rem; white-space: normal; }
.vsh-scoreboard-table th.vsh-scoreboard-damage-taken, .vsh-scoreboard-table td.vsh-scoreboard-damage-taken { width: 7rem; max-width: 7rem; white-space: normal; }
.vsh-scoreboard-table th:not(.vsh-scoreboard-player):not(.vsh-scoreboard-boss), .vsh-scoreboard-table td:not(.vsh-scoreboard-player):not(.vsh-scoreboard-boss) { padding-inline: .5rem; }
.vsh-map-round-card .saxton-card-content { padding: .5rem .65rem .65rem; }
.vsh-map-round-log { display: grid; gap: .7rem; }
.vsh-map-play, .vsh-round-rollup { position: relative; padding: .45rem .55rem; border: 1px solid var(--line); border-radius: var(--radius); background: #00000020; transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.vsh-map-play:is(:hover, :focus-within):not(:has(.vsh-round-rollup:is(:hover, :focus-within))), .vsh-round-rollup:is(:hover, :focus-within) { color: #fff; background: var(--surface-hover); border-color: var(--line-strong); box-shadow: inset 3px 0 var(--accent); }
.vsh-card-link { position: absolute; z-index: 1; inset: 0; border: 0 !important; border-radius: inherit; padding: 0 !important; }
.vsh-card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vsh-map-play-summary { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.vsh-map-play-summary > strong { flex: 0 1 13rem; min-width: 0; font-family: Jura, sans-serif; font-size: 1.06rem; }
.vsh-map-rollup-stats { display: grid; flex: 1 1 36rem; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .22rem .6rem; margin: 0; }
.vsh-map-rollup-stats div, .vsh-round-stats div { min-width: 0; }
.vsh-map-rollup-stats dt, .vsh-round-stats dt, .vsh-round-reference-label, .vsh-round-reference-value { font-size: .8rem; }
.vsh-map-rollup-stats dt, .vsh-round-stats dt { color: var(--quiet); }
.vsh-map-rollup-stats dd, .vsh-round-stats dd { margin: .04rem 0 0; font-size: 1rem; font-variant-numeric: tabular-nums; }
.vsh-map-play-summary > time { flex: 0 0 auto; margin-left: auto; text-align: right; }
.vsh-rollup-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem .65rem; margin: .55rem 0 0; }
.vsh-rollup-stats div { min-width: 0; }
.vsh-rollup-stats dt { color: var(--quiet); font-size: .72rem; }
.vsh-rollup-stats dd { margin: .08rem 0 0; font-variant-numeric: tabular-nums; }
.vsh-round-list { position: relative; z-index: 2; display: grid; gap: .45rem; margin-top: .65rem; pointer-events: none; }
.vsh-round-rollup { pointer-events: auto; }
.vsh-round-rollup .vsh-rollup-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vsh-round-players { display: grid; grid-template-columns: minmax(11rem, 1fr) minmax(11rem, 1fr); gap: .55rem; margin-top: .4rem; }
.vsh-round-players > div { display: grid; min-width: 0; gap: .16rem; }
.vsh-round-players > div + div { border-left: 1px solid var(--line); padding-left: .55rem; }
.vsh-round-players small { color: var(--quiet); font-size: .8rem; }
.vsh-round-boss-details { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.vsh-round-boss-details > div { display: grid; min-width: 0; gap: .16rem; }
.vsh-round-players .steam-identity { max-width: 100%; }
.vsh-round-rollup .steam-identity { position: relative; z-index: 2; }
.vsh-more-rounds-link { position: relative; z-index: 2; width: fit-content; pointer-events: auto; }
.vsh-round-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) max-content; gap: .35rem .65rem; margin: 0; }
.vsh-round-reference { align-self: start; color: var(--quiet); font-size: .8rem; white-space: nowrap; }
.vsh-round-reference dd { display: grid; grid-template-columns: max-content max-content; column-gap: .3rem; margin-top: .04rem; }
.vsh-round-reference-label { text-align: right; }
.vsh-round-reference-value { min-width: 2ch; color: var(--text); text-align: left; font-variant-numeric: tabular-nums; }
.vsh-more-rounds-link { align-self: center; justify-self: center; color: var(--accent); background: transparent; border-left: 0 !important; border-radius: .25rem; padding: .15rem .35rem !important; }
.vsh-more-rounds-link:hover { color: #19120a; background: var(--accent-bright); text-decoration: none; }
.vsh-map-detail-card .saxton-card-content { padding: .5rem .65rem .65rem; }
.vsh-map-detail-round-list { margin-top: .8rem; }
.vsh-round-detail-card .saxton-section-heading { align-items: center; }
.vsh-map-history-link { margin-left: auto; white-space: nowrap; }
.vsh-round-detail-stats { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); }
.vsh-round-detail-table-content { padding-inline: .65rem; }
.vsh-round-participants-table { min-width: 68rem; }
.vsh-round-participants-table th:not(:first-child), .vsh-round-participants-table td:not(:first-child) { white-space: nowrap; }
.vsh-event-log { display: grid; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.vsh-event-log li { padding: .45rem .55rem; background: #00000020; border: 1px solid var(--line); border-radius: var(--radius); line-height: 1.35; }
.vsh-event-log time { color: var(--quiet); font-variant-numeric: tabular-nums; }
.vsh-event-log .steam-identity { display: inline-flex; vertical-align: middle; max-width: 11rem; }
.vsh-event-log .steam-identity-avatar { display: none; }
@media (max-width: 55rem) { .mode-grid, .stats-tiles { grid-template-columns: 1fr; } .vsh-map-play-summary { align-items: flex-start; flex-wrap: wrap; } .vsh-map-play-summary > strong { flex-basis: 100%; } .vsh-map-rollup-stats { flex-basis: calc(100% - 8rem); grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 42rem) { .vsh-rollup-stats, .vsh-round-rollup .vsh-rollup-stats, .vsh-round-players, .vsh-round-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vsh-round-reference { grid-column: 1 / -1; text-align: start; } .vsh-map-rollup-stats { flex-basis: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); } .vsh-map-play-summary > time { order: -1; } .vsh-round-players > div + div { border-left: 0; padding-left: 0; } .vsh-round-players > .vsh-round-boss-details + div { border-left: 1px solid var(--line); padding-left: .55rem; } .vsh-map-history-link { width: 100%; margin-left: 0; } }
@media (max-width: 40rem) { .dodgeball-player-detail-inner, .dodgeball-player-details { grid-template-columns: 1fr; } .dodgeball-player-detail-player { align-items: flex-start; } .dodgeball-player-detail-player .steam-identity { flex-direction: row; text-align: start; } .dodgeball-player-detail-player .steam-identity-copy { justify-items: start; } }
@media (max-width: 38rem) { .page-shell { width: min(100% - 1rem, 62.5rem); } .stats-main-wide { width: min(100% - 1rem, 80rem); padding-block: 1rem; } }
