:root {
  color-scheme: dark;
  --bg: #0b1217;
  --surface: #111c22;
  --surface-raised: #16242a;
  --line: #2a3940;
  --text: #ecf2ef;
  --muted: #9eadae;
  --quiet: #708488;
  --cyan: #6cd5da;
  --cyan-deep: #163b42;
  --gold: #e5c06e;
  --red: #f28476;
  --green: #9cdaa8;
  --font-display: Impact, "Arial Narrow", "Segoe UI Condensed", sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.5; }
body::before { position: fixed; inset: 0; z-index: -1; content: ""; background: radial-gradient(circle at 82% 4%, rgba(83, 167, 174, .10), transparent 28rem); pointer-events: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--cyan); color: var(--bg); }

.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .7rem 1rem; background: var(--cyan); color: var(--bg); font-weight: 800; }
.skip-link:focus { top: .75rem; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header, main, .site-footer { width: min(100% - 3rem, 1200px); margin-inline: auto; }
.site-header { min-height: 86px; display: flex; align-items: center; gap: 2.5rem; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; white-space: nowrap; font-family: var(--font-display); font-size: 1.55rem; line-height: 1; letter-spacing: .045em; }
.wordmark-accent { color: var(--cyan); }
.wordmark small { display: block; margin-top: .16rem; color: var(--muted); font-family: var(--font-body); font-size: .56rem; font-weight: 800; letter-spacing: .37em; }
.mark { width: 31px; height: 33px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; transform: skewY(-9deg); }
.mark i { background: var(--cyan); }
.mark i:nth-child(2), .mark i:nth-child(5) { opacity: .47; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; height: 86px; margin-left: auto; }
.main-nav a { display: inline-flex; align-items: center; height: 100%; color: var(--muted); font-size: .88rem; font-weight: 700; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--cyan); }
.server-chip { display: inline-flex; align-items: center; gap: .55rem; min-height: 39px; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--text); padding: .3rem .65rem; font-size: .78rem; font-weight: 700; letter-spacing: .01em; }
.server-chip:hover { border-color: var(--cyan); }
.server-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(108, 213, 218, .11); }
.copy-glyph { color: var(--cyan); font-size: 1rem; }
main { flex: 1; padding-block: 4.5rem 6rem; }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2.5rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line); color: var(--quiet); font-size: .76rem; }
.site-footer a { margin-left: auto; color: var(--cyan); font-weight: 700; }
.footer-brand { color: var(--text); font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.footer-brand b { color: var(--cyan); }
.toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 9; max-width: min(90vw, 360px); padding: .8rem 1rem; border: 1px solid var(--cyan); background: var(--surface-raised); box-shadow: 0 12px 40px #0008; color: var(--text); font-size: .84rem; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: none; }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: var(--cyan); font-size: .7rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 19px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.09; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: .017em; text-transform: uppercase; }
h1 { font-size: clamp(3.6rem, 7.5vw, 7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.05rem; }
.muted { color: var(--muted); }
.tiny { color: var(--quiet); font-size: .76rem; }
.accent { color: var(--cyan); }
.positive { color: var(--green); }
.negative { color: var(--red); }
.neutral { color: var(--muted); }
.section { margin-top: 5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: .55rem 0 0; }
.section-heading p { max-width: 36rem; margin: 0; }
.section-link, .text-link { color: var(--cyan); font-weight: 750; }
.section-link { white-space: nowrap; padding-bottom: .3rem; font-size: .84rem; }
.section-link:hover, .text-link:hover { text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.8rem; color: var(--muted); font-size: .83rem; font-weight: 700; }
.back-link:hover { color: var(--cyan); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .7rem 1.2rem; border: 1px solid var(--cyan); border-radius: 2px; background: var(--cyan); color: var(--bg); font-weight: 900; text-align: center; }
.button:hover { background: #a7eef0; border-color: #a7eef0; }
.button.secondary { background: transparent; color: var(--cyan); }
.button.secondary:hover { background: var(--cyan-deep); }
.button:disabled { opacity: .4; cursor: not-allowed; }
.small-button { min-height: 38px; padding: .35rem .75rem; font-size: .8rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; min-height: 440px; }
.hero h1 { max-width: 760px; margin: 1rem 0 1.1rem; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-copy { max-width: 33rem; margin-bottom: 2.1rem; color: var(--muted); font-size: 1.02rem; }
.search-form { display: flex; width: min(100%, 570px); gap: .5rem; }
.search-field { flex: 1; display: flex; align-items: center; gap: .8rem; min-width: 0; padding: 0 1rem; border: 1px solid #46575d; background: var(--surface); }
.search-field:focus-within { border-color: var(--cyan); }
.search-field span { color: var(--cyan); font-weight: 900; }
.search-field input { width: 100%; min-width: 0; min-height: 54px; border: 0; outline: 0; background: transparent; color: var(--text); }
.search-field input::placeholder { color: #718589; }
.form-error { min-height: 1.2rem; margin: .55rem 0 0; color: var(--red); font-size: .79rem; }
.hero-aside { position: relative; padding: 1.2rem; border: 1px solid var(--line); background: #111b20; overflow: hidden; }
.hero-aside::before { position: absolute; top: 0; right: 0; width: 130px; height: 130px; content: ""; opacity: .18; background-image: linear-gradient(var(--cyan) 1px, transparent 1px), linear-gradient(90deg, var(--cyan) 1px, transparent 1px); background-size: 17px 17px; mask-image: linear-gradient(135deg, #000, transparent 75%); }
.aside-top { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; font-size: .68rem; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.aside-top span:last-child { color: var(--cyan); }
.rank-preview { display: grid; gap: 0; min-height: 205px; align-content: center; }
.preview-row { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .9rem .2rem; border-bottom: 1px solid var(--line); }
.preview-row:last-child { border-bottom: 0; }
.preview-row .ordinal { color: var(--gold); font-family: var(--font-display); font-size: 1.35rem; }
.preview-row .player-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.preview-row .mmr { color: var(--cyan); font-size: .88rem; font-weight: 800; white-space: nowrap; }
.aside-foot { margin: 0; padding-top: .65rem; border-top: 1px solid var(--line); color: var(--quiet); font-size: .72rem; }
.server-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 5rem; border-block: 1px solid var(--line); }
.server-stat { padding: 1.4rem 1.2rem 1.4rem 0; border-right: 1px solid var(--line); }
.server-stat:not(:first-child) { padding-left: 1.8rem; }
.server-stat:last-child { border-right: 0; }
.server-stat strong { display: block; font-family: var(--font-display); font-size: 2.3rem; line-height: 1.1; }
.server-stat span { color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-strip > div { padding: 1.5rem 1.8rem 0 0; border-right: 1px solid var(--line); }
.feature-strip > div:not(:first-child) { padding-left: 1.8rem; }
.feature-strip > div:last-child { border-right: 0; }
.feature-strip span { display: block; margin-bottom: 1rem; color: var(--cyan); font-size: .68rem; font-weight: 850; letter-spacing: .1em; }
.feature-strip strong { display: block; font-size: 1.03rem; }
.feature-strip p { max-width: 19rem; margin: .4rem 0 0; color: var(--muted); font-size: .82rem; }

.empty { display: grid; justify-items: start; gap: .6rem; padding: 2.2rem 1.6rem; border: 1px dashed #395057; background: rgba(17, 28, 34, .42); }
.empty .empty-symbol { color: var(--cyan); font-family: var(--font-display); font-size: 2.3rem; line-height: 1; }
.empty h3 { margin: 0; font-size: 1.1rem; }
.empty p { margin: 0; color: var(--muted); font-size: .85rem; }
.empty .button { margin-top: .6rem; }
.empty.compact { padding: 1.4rem; }
.loading { display: flex; align-items: center; gap: .8rem; min-height: 120px; color: var(--muted); font-size: .85rem; }
.loading::before { width: 13px; height: 13px; border: 2px solid var(--line); border-top-color: var(--cyan); border-radius: 50%; content: ""; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-error { max-width: 710px; margin: 4rem auto; }
.page-error h1 { margin: 1rem 0; font-size: clamp(3rem, 7vw, 5.8rem); }
.page-error p { max-width: 30rem; color: var(--muted); }

.match-list { display: grid; }
.match-row { display: grid; grid-template-columns: 5rem minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, .55fr) minmax(0, .7fr) 1.2rem; align-items: center; gap: .8rem; padding: 1.05rem .2rem; border-bottom: 1px solid var(--line); transition: background .15s, padding .15s; }
.match-row:hover { padding-inline: .7rem; background: var(--surface); }
.result { display: inline-block; width: fit-content; min-width: 3.7rem; padding: .26rem .4rem; border: 1px solid currentColor; font-size: .69rem; font-weight: 900; letter-spacing: .075em; text-align: center; }
.result.win { color: var(--green); }
.result.loss { color: var(--red); }
.result.neutral { color: var(--muted); }
.match-primary { min-width: 0; }
.match-primary strong, .match-primary small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-primary strong { font-size: .94rem; }
.match-primary small { color: var(--quiet); font-size: .75rem; }
.match-meta { color: var(--muted); font-size: .81rem; }
.match-score { font-size: .8rem; font-weight: 800; }
.match-arrow { color: var(--cyan); font-size: 1.1rem; text-align: right; }
.list-head { display: grid; grid-template-columns: 5rem minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, .55fr) minmax(0, .7fr) 1.2rem; gap: .8rem; padding: .6rem .2rem; border-bottom: 1px solid var(--line); color: var(--quiet); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.profile-mast { display: flex; align-items: center; gap: 1.5rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.avatar { display: grid; place-items: center; flex: 0 0 90px; height: 90px; border: 1px solid var(--cyan); background: linear-gradient(145deg, #183c40, #0f2025); color: var(--cyan); font-family: var(--font-display); font-size: 3rem; }
.profile-heading { min-width: 0; flex: 1; }
.profile-heading h1 { overflow-wrap: anywhere; margin: .25rem 0 .2rem; font-size: clamp(2.6rem, 5vw, 4.7rem); }
.profile-meta { display: flex; flex-wrap: wrap; gap: .55rem 1rem; color: var(--muted); font-size: .83rem; }
.profile-meta .rank { color: var(--gold); font-weight: 900; }
.profile-mmr { align-self: center; text-align: right; white-space: nowrap; }
.profile-mmr strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; }
.profile-mmr span { display: block; margin-top: .3rem; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.metric-scope { margin: .9rem 0 0; color: var(--muted); font-size: .75rem; }
.metric-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line); }
.metric { min-width: 0; padding: 1.35rem 1rem 1.35rem 0; border-right: 1px solid var(--line); }
.metric:not(:first-child) { padding-left: 1rem; }
.metric:last-child { border-right: 0; }
.metric .label { display: block; min-height: 2rem; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.metric strong { display: block; overflow: hidden; font-family: var(--font-display); font-size: clamp(1.55rem, 2.4vw, 2.25rem); font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.practice-summary { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; margin: 1rem 0 0; color: var(--cyan); font-size: .7rem; font-weight: 900; letter-spacing: .08em; }
.practice-summary strong { color: var(--text); font-size: .85rem; letter-spacing: 0; }
.practice-summary span { color: var(--muted); font-weight: 700; letter-spacing: 0; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .75fr); gap: 3rem; }
.chart-panel { padding: 1.3rem 1.3rem .5rem; border: 1px solid var(--line); background: var(--surface); }
.panel-head { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.panel-head h3 { margin: 0; font-size: 1.05rem; }
.panel-head p { margin: .2rem 0 0; font-size: .78rem; color: var(--muted); }
.segmented { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); }
.segmented button { min-height: 33px; padding: .25rem .6rem; border: 0; background: transparent; color: var(--muted); font-size: .74rem; font-weight: 800; }
.segmented button[aria-pressed="true"] { background: var(--cyan); color: var(--bg); }
.chart { display: block; width: 100%; height: auto; margin-top: 1rem; }
.chart-empty { min-height: 180px; display: grid; place-items: center; color: var(--muted); font-size: .83rem; }
.chart-axis { fill: var(--quiet); font-family: var(--font-body); font-size: 11px; }
.chart-grid { stroke: #365057; stroke-width: 1; stroke-dasharray: 3 5; }
.chart-line { fill: none; stroke: var(--cyan); stroke-width: 3; vector-effect: non-scaling-stroke; }
.chart-point { fill: var(--cyan); stroke: var(--surface); stroke-width: 2; }
.chart-area { fill: rgba(108, 213, 218, .08); }
.chart-caption { margin: .5rem 0 0; color: var(--quiet); font-size: .72rem; }
.performance-panel { padding-top: .2rem; }
.performance-score { display: flex; align-items: baseline; gap: .6rem; margin: .8rem 0 1.15rem; }
.performance-score strong { font-family: var(--font-display); font-size: 3.6rem; font-weight: 400; line-height: 1; }
.performance-score span { color: var(--muted); font-size: .77rem; }
.category { display: grid; grid-template-columns: 5.6rem 1fr 2rem; align-items: center; gap: .6rem; margin: .72rem 0; font-size: .79rem; }
.category span { color: var(--muted); }
.category .bar { height: 5px; background: #2a3a3f; }
.category .bar i { display: block; height: 100%; background: var(--cyan); }
.category strong { text-align: right; font-size: .8rem; }
.form-panel { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.form-panel h3 { margin-bottom: .8rem; }
.form-strip { display: flex; flex-wrap: wrap; gap: .36rem; }
.form-chip { display: grid; place-items: center; width: 29px; height: 30px; border: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 900; }
.form-chip.win { border-color: #52735b; background: #1b3127; color: var(--green); }
.form-chip.loss { border-color: #734b47; background: #321f21; color: var(--red); }
.form-panel .tiny { margin-top: .6rem; }
.mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; border-block: 1px solid var(--line); }
.mini-stat { padding: .9rem .3rem; }
.mini-stat:nth-child(odd) { border-right: 1px solid var(--line); }
.mini-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.mini-stat:nth-child(even) { padding-left: 1rem; }
.mini-stat span { display: block; color: var(--muted); font-size: .72rem; }
.mini-stat strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; color: var(--muted); font-size: .8rem; }
.pagination .controls { display: flex; gap: .5rem; }

.leaderboard-hero h1, .report-title h1 { margin: .8rem 0 .8rem; font-size: clamp(3.2rem, 7vw, 6rem); }
.leaderboard-hero p { max-width: 37rem; color: var(--muted); }
.tab-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2.5rem 0 1rem; border-bottom: 1px solid var(--line); }
.tab-list a { min-height: 44px; display: inline-flex; align-items: center; padding: .7rem 1rem; border-bottom: 2px solid transparent; color: var(--muted); font-size: .82rem; font-weight: 800; }
.tab-list a:hover, .tab-list a[aria-current="page"] { color: var(--text); border-bottom-color: var(--cyan); }
.leader-head, .leader-row { display: grid; grid-template-columns: 4rem minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, .7fr) minmax(0, .7fr) minmax(0, .7fr); align-items: center; gap: 1rem; }
.leader-head { padding: .8rem 1rem; color: var(--quiet); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.leader-row { min-height: 67px; padding: .9rem 1rem; border-top: 1px solid var(--line); font-size: .85rem; }
.leader-row:hover { background: var(--surface); }
.leader-position { color: var(--gold); font-family: var(--font-display); font-size: 1.45rem; }
.leader-player { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 850; }
.leader-value { font-weight: 900; }
.leader-muted { color: var(--muted); }

.report-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.report-title .eyebrow { margin-bottom: .7rem; }
.report-title h1 { margin-bottom: .3rem; }
.report-title p { margin: 0; color: var(--muted); }
.report-title .practice-notice { display: inline-block; margin-top: .8rem; padding: .35rem .55rem; border: 1px solid var(--cyan); color: var(--cyan); font-size: .68rem; font-weight: 900; letter-spacing: .09em; }
.report-outcome { min-width: 140px; text-align: right; }
.report-outcome strong { display: block; font-family: var(--font-display); font-size: 3.3rem; font-weight: 400; line-height: 1; }
.report-outcome small { color: var(--muted); font-size: .75rem; }
.report-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.report-summary div { min-width: 0; padding: 1.2rem 1rem 1.2rem 0; border-right: 1px solid var(--line); }
.report-summary div:not(:first-child) { padding-left: 1rem; }
.report-summary div:last-child { border-right: 0; }
.report-summary span { display: block; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.report-summary strong { font-size: 1rem; }
.report-summary .match-id { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, Consolas, monospace; font-size: .74rem; font-weight: 500; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 3rem; }
.report-focus { padding: 1.2rem; border: 1px solid var(--line); background: var(--surface); }
.report-focus-head { display: flex; justify-content: space-between; gap: .8rem; align-items: start; margin-bottom: .8rem; }
.report-focus h3 { margin: 0; }
.report-focus .focus-mmr { color: var(--cyan); font-weight: 900; white-space: nowrap; }
.focus-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-top: 1.2rem; }
.focus-stats div { padding: .65rem .5rem; border-top: 1px solid var(--line); }
.focus-stats span { display: block; color: var(--muted); font-size: .7rem; }
.focus-stats strong { font-family: var(--font-display); font-size: 1.65rem; font-weight: 400; }
.comparison { margin-top: 1.4rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.comparison h4 { margin: 0 0 .6rem; font-size: .77rem; letter-spacing: .1em; text-transform: uppercase; }
.comparison-row { display: flex; justify-content: space-between; gap: .5rem; padding: .45rem 0; font-size: .8rem; }
.comparison-row span { color: var(--muted); }
.team-list { display: grid; gap: .8rem; margin-top: 1rem; }
.team-card { border: 1px solid var(--line); background: var(--surface); }
.team-card-top { display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.team-color { width: 10px; height: 22px; background: #95a9b1; }
.team-color.red { background: #e27e77; } .team-color.blue { background: #79abdc; } .team-color.green { background: #8dcb87; } .team-color.yellow { background: #dbcb77; } .team-color.aqua { background: #6cd5da; } .team-color.white { background: #dee5e0; } .team-color.pink { background: #db97b5; } .team-color.gray { background: #8d969d; }
.team-card-top strong { text-transform: capitalize; }
.team-card-top small { margin-left: auto; color: var(--muted); }
.team-player { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; align-items: center; padding: .65rem 1rem; font-size: .82rem; }
.team-player + .team-player { border-top: 1px solid #27363c; }
.team-player a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.team-player a:hover { color: var(--cyan); }
.team-player span { color: var(--muted); white-space: nowrap; }
.team-note { margin: 0; padding: .7rem 1rem; border-top: 1px solid var(--line); font-size: .77rem; }
.timeline { position: relative; margin-top: 1rem; padding-left: 1.1rem; border-left: 1px solid var(--line); }
.timeline-event { position: relative; display: grid; grid-template-columns: 3.6rem 1fr; gap: .8rem; padding: 0 0 1.35rem 1rem; font-size: .82rem; }
.timeline-event::before { position: absolute; left: -1.45rem; top: .38rem; width: 9px; height: 9px; border: 2px solid var(--cyan); border-radius: 50%; background: var(--bg); content: ""; }
.timeline-event time { color: var(--cyan); font-weight: 800; }
.timeline-event p { margin: 0; }
.timeline-event small { display: block; color: var(--quiet); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-aside { max-width: 620px; }
  .profile-layout, .report-layout { grid-template-columns: 1fr; gap: 2rem; }
  .performance-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; }
  .performance-panel > .eyebrow, .performance-panel > h2, .performance-panel > p { grid-column: 1 / -1; }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .metric:nth-child(3) { border-right: 0; }
  .metric:nth-child(n+4) { border-top: 1px solid var(--line); }
  .metric:nth-child(4) { padding-left: 0; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip > div, .feature-strip > div:not(:first-child) { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-strip > div:last-child { border-bottom: 0; }
}
@media (max-width: 700px) {
  .site-header, main, .site-footer { width: min(100% - 2rem, 1200px); }
  .site-header { min-height: 72px; gap: .8rem; flex-wrap: wrap; padding-block: .7rem; }
  .wordmark { font-size: 1.25rem; }
  .mark { width: 24px; height: 26px; }
  .main-nav { order: 3; width: 100%; height: 38px; gap: 1.4rem; margin-left: 0; }
  .main-nav a { font-size: .78rem; }
  .server-chip { margin-left: auto; min-height: 32px; font-size: .68rem; }
  .server-chip .copy-glyph { display: none; }
  .chart-axis { font-size: 19px; }
  main { padding-block: 2.7rem 4rem; }
  .hero h1 { font-size: clamp(3.4rem, 13vw, 5.5rem); }
  .hero-copy { font-size: .94rem; }
  .section { margin-top: 3.5rem; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 2.1rem; }
  .server-stats { margin-top: 3.5rem; }
  .server-stat { padding-right: .6rem; }
  .server-stat:not(:first-child) { padding-left: .6rem; }
  .server-stat strong { font-size: 1.8rem; }
  .server-stat span { font-size: .61rem; }
  .list-head { display: none; }
  .match-row { grid-template-columns: 5.1rem minmax(0, 1fr) auto; gap: .5rem; }
  .match-row .match-meta:nth-child(4), .public-matches .match-row .match-score, .profile-matches .match-row .match-meta:nth-child(3) { display: none; }
  .match-row .match-arrow { display: none; }
  .profile-mast { flex-wrap: wrap; gap: .9rem; }
  .avatar { flex-basis: 62px; height: 62px; font-size: 2.2rem; }
  .profile-heading { flex-basis: calc(100% - 80px); }
  .profile-heading h1 { font-size: clamp(2.3rem, 10vw, 3.6rem); }
  .profile-mmr { margin-left: 80px; text-align: left; }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .metric { padding-right: .5rem; }
  .metric:not(:first-child) { padding-left: .5rem; }
  .metric:nth-child(4) { padding-left: 0; }
  .metric .label { font-size: .61rem; }
  .metric strong { font-size: 1.8rem; }
  .performance-panel { display: block; }
  .report-head { grid-template-columns: 1fr; gap: 1rem; }
  .report-outcome { text-align: left; }
  .report-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-summary div:nth-child(2) { border-right: 0; }
  .report-summary div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .report-summary div:nth-child(3) { padding-left: 0; }
  .leader-head, .leader-row { grid-template-columns: 3.1rem minmax(0, 1fr) 5rem; gap: .5rem; }
  .leader-head span:nth-child(n+4), .leader-row span:nth-child(n+4) { display: none; }
  .leader-head span:nth-child(3) { text-align: right; }
  .leader-row span:nth-child(3) { text-align: right; }
  .site-footer a { margin-left: 0; }
}
@media (max-width: 470px) {
  .leaderboard-hero h1 { font-size: 2.5rem; }
  .search-form { flex-direction: column; }
  .search-form .button { width: 100%; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-right: 1px solid var(--line); }
  .metric:nth-child(even) { border-right: 0; }
  .metric:nth-child(odd) { padding-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .focus-stats { grid-template-columns: repeat(2, 1fr); }
  .team-player { gap: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
