/* Neverlose 05 — a single visual system, no remote assets or fonts. */
:root {
  color-scheme: dark;
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  --bg: #0b0e14;
  --surface: #121720;
  --surface-raised: #191f2a;
  --line: rgba(177, 192, 220, .10);
  --line-strong: rgba(177, 192, 220, .19);
  --text: #edf2fb;
  --secondary: #a4afc2;
  --muted: #7e8aa0;
  --positive: #66dfb0;
  --negative: #ff7891;
  --accent-a: #35f2ce;
  --accent-b: #9a78ff;
  --accent-a-rgb: 53, 242, 206;
  --accent-b-rgb: 154, 120, 255;
  --border-speed: 6s;
  --border-glow: .55;
  --border-width: 2px;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { color: var(--text); background: transparent; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; appearance: none; }
button, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; opacity: .45; }
button, a, input, select, textarea { outline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent-a); }
::selection { color: #fff; background: rgba(var(--accent-b-rgb), .36); }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.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; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border-radius: 12px; background: rgba(159, 177, 206, .22); }
::-webkit-scrollbar-thumb:hover { background: rgba(159, 177, 206, .40); }

.app-shell { position: relative; isolation: isolate; display: grid; grid-template-rows: 70px minmax(0, 1fr) 35px; width: calc(100% - 16px); max-width: 1600px; height: calc(100% - 16px); margin: 8px auto; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 17px; background: radial-gradient(ellipse at 80% 0, rgba(var(--accent-b-rgb), .035), transparent 50%), var(--bg); box-shadow: 0 24px 70px rgba(0, 0, 0, .45), 0 0 calc(24px * var(--border-glow)) rgba(var(--accent-a-rgb), calc(.16 * var(--border-glow))); }
.app-shell::before { content: ""; position: absolute; z-index: 90; inset: -1px; padding: var(--border-width); border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, var(--accent-a), rgba(var(--accent-a-rgb), .12) 20%, var(--accent-b) 44%, rgba(var(--accent-b-rgb), .18) 67%, var(--accent-a)); background-size: 300% 300%; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; filter: drop-shadow(0 0 calc(8px * var(--border-glow)) rgba(var(--accent-a-rgb), var(--border-glow))); animation: border-flow var(--border-speed) ease-in-out infinite alternate; }
.app-shell::after { content: ""; position: absolute; z-index: 89; inset: 0; border-radius: inherit; box-shadow: inset 0 0 calc(24px * var(--border-glow)) rgba(var(--accent-a-rgb), calc(.10 * var(--border-glow))); pointer-events: none; }
.app-shell[data-border-style="rainbow"]::before { background-image: linear-gradient(115deg, #fc647f, #ffc675, #d9ec83, #55e1c0, #6eb8ff, #bb89ff, #fc647f); }
.app-shell[data-border-style="pulse"]::before { background-image: linear-gradient(115deg, var(--accent-a), var(--accent-b)); animation: border-breathe var(--pulse-speed, 6s) ease-in-out infinite; }
.app-shell[data-border-style="comet"]::before { background-image: linear-gradient(115deg, rgba(var(--accent-a-rgb), .10) 10%, rgba(var(--accent-a-rgb), .10) 36%, var(--accent-a) 47%, #f4fffc 50%, var(--accent-b) 53%, rgba(var(--accent-b-rgb), .12) 65%); background-size: 350% 180%; animation: border-travel var(--border-speed) linear infinite; }
.app-shell[data-border-style="static"]::before { background-image: linear-gradient(120deg, var(--accent-a), var(--accent-b)); animation: none; }
.app-shell[data-border-style="off"]::before, .app-shell[data-border-style="off"]::after { display: none; }
.app-shell[data-border-style="off"] { box-shadow: 0 24px 70px rgba(0, 0, 0, .45); }
.ambient { position: absolute; z-index: -1; width: 370px; height: 370px; border-radius: 50%; opacity: .045; filter: blur(75px); pointer-events: none; }
.ambient-one { top: -290px; left: 17%; background: var(--accent-a); }
.ambient-two { top: 18%; right: -330px; background: var(--accent-b); }
@keyframes border-flow { from { background-position: 0 10%; } to { background-position: 100% 90%; } }
@keyframes border-travel { from { background-position: 120% 0; } to { background-position: -30% 0; } }
@keyframes border-breathe { 0%, 100% { opacity: .38; } 50% { opacity: 1; } }

.titlebar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 22px; border-bottom: 1px solid var(--line); background: rgba(9, 12, 18, .7); user-select: none; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { position: relative; display: grid; place-items: center; width: 37px; height: 38px; overflow: hidden; border: 1px solid rgba(var(--accent-a-rgb), .34); border-radius: 10px 3px 10px 3px; color: var(--accent-a); background: linear-gradient(145deg, rgba(var(--accent-a-rgb), .14), rgba(var(--accent-b-rgb), .035)); font-size: 23px; font-weight: 850; font-style: italic; line-height: 1; }
.brand-mark span { position: absolute; width: 20px; height: 2px; bottom: 5px; left: -4px; transform: rotate(-45deg); background: var(--accent-a); opacity: .5; }
.brand strong { display: block; font-size: 17px; line-height: 1.15; font-weight: 800; letter-spacing: 2.1px; }
.brand-period { color: var(--accent-a); }
.brand-caption { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; line-height: 1.6; letter-spacing: 1.9px; font-weight: 650; }
.brand-caption b { color: var(--accent-b); font-weight: 700; }
.titlebar-right { display: flex; align-items: center; gap: 6px; }
.connection-badge { display: flex; align-items: center; gap: 7px; color: var(--secondary); font-size: 11px; font-weight: 600; white-space: nowrap; padding: 6px 12px; border: 1px solid var(--line); border-radius: 20px; background: #10151d; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #67768c; }
.live-dot.connected { background: var(--accent-a); box-shadow: 0 0 0 3px rgba(var(--accent-a-rgb), .10); }
.live-dot.demo { background: #f8c466; box-shadow: 0 0 0 3px rgba(248, 196, 102, .10); }
.live-dot.error { background: var(--negative); }
.titlebar-divider { width: 1px; height: 20px; margin: 0 8px; background: var(--line-strong); }
.icon-button { display: inline-grid; place-items: center; width: 33px; height: 33px; padding: 0; color: var(--secondary); background: transparent; border: 1px solid transparent; border-radius: 7px; transition: color .16s, background .16s, border-color .16s; }
.icon-button svg { width: 17px; height: 17px; }
.icon-button:hover { color: var(--text); background: rgba(174, 192, 223, .07); border-color: var(--line); }
.icon-button[aria-pressed="true"] { color: var(--accent-a); background: rgba(var(--accent-a-rgb), .10); border-color: rgba(var(--accent-a-rgb), .24); }
.window-close:hover { color: #ffa1b2; background: rgba(255, 87, 120, .12); border-color: rgba(255, 87, 120, .2); }
.workspace { min-height: 0; display: grid; grid-template-columns: 92px minmax(0, 1fr); }
.nav-rail { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 22px 9px 13px; border-right: 1px solid var(--line); background: rgba(11, 15, 22, .64); user-select: none; }
.rail-top, .rail-bottom { display: flex; align-items: center; flex-direction: column; gap: 7px; }
.rail-section { font-size: 9px; font-weight: 650; letter-spacing: 1.6px; color: #616e83; margin-bottom: 10px; }
.nav-item { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; width: 100%; min-height: 63px; gap: 8px; padding: 10px 3px; color: var(--muted); border: 1px solid transparent; border-radius: 9px; background: transparent; transition: background .16s, color .16s, border-color .16s; }
.nav-item svg { width: 21px; height: 21px; stroke-width: 1.55; }
.nav-item span { font-size: 10px; font-weight: 650; white-space: nowrap; }
.nav-item i { position: absolute; left: -10px; top: 22px; width: 3px; height: 20px; border-radius: 0 3px 3px 0; background: transparent; }
.nav-item:hover { color: var(--text); background: rgba(151, 171, 205, .045); }
.nav-item.active { color: var(--accent-a); border-color: rgba(var(--accent-a-rgb), .14); background: linear-gradient(135deg, rgba(var(--accent-a-rgb), .09), rgba(var(--accent-a-rgb), .03)); }
.nav-item.active i { background: var(--accent-a); box-shadow: 1px 0 10px rgba(var(--accent-a-rgb), .25); }
.rail-monogram { font-weight: 850; font-size: 19px; font-style: italic; letter-spacing: -1px; color: rgba(var(--accent-a-rgb), .18); margin-bottom: 6px; }
.rail-version { margin-top: 8px; color: #5d6a7f; font-size: 9px; letter-spacing: 1px; }
.main-content { min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; padding: 24px 28px 20px; scrollbar-gutter: stable; }
.view { width: 100%; }
.notice-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 14px; margin-bottom: 16px; color: #f7c478; border: 1px solid rgba(247, 196, 120, .22); border-radius: 8px; background: rgba(247, 196, 120, .06); font-size: 12px; line-height: 1.5; }
.notice-banner .text-button { flex-shrink: 0; color: #ffd9a3; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: 1.2px; }
.eyebrow-dot { color: #4f5d72; font-weight: 400; }
.status-chip { color: var(--accent-a); padding: 3px 6px; border: 1px solid rgba(var(--accent-a-rgb), .20); background: rgba(var(--accent-a-rgb), .055); border-radius: 4px; font-size: 9px; letter-spacing: .75px; }
.match-hero { display: grid; grid-template-columns: minmax(220px, 1fr) 218px 139px; align-items: center; gap: 28px; min-height: 99px; margin-bottom: 22px; }
.hero-copy h1, .page-heading h1 { color: #f2f5fc; margin: 10px 0 7px; font-size: clamp(27px, 2.3vw, 37px); font-weight: 760; line-height: 1.12; letter-spacing: -1.5px; }
h1 em { color: var(--accent-a); font-style: normal; }
.hero-copy p, .page-heading p { color: var(--secondary); margin: 0; font-size: 12px; line-height: 1.6; }
.scoreboard { display: grid; grid-template-columns: 1fr 84px 1fr; align-items: center; min-height: 82px; padding: 10px 9px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(145deg, rgba(var(--accent-a-rgb), .035), rgba(var(--accent-b-rgb), .025)); text-align: center; }
.scoreboard > div:first-child { color: var(--accent-a); }.scoreboard > div:last-child { color: var(--accent-b); }
.score-caption { display: block; color: var(--secondary); font-size: 9px; font-weight: 700; letter-spacing: 1px; margin-bottom: 2px; }
.scoreboard strong { font-size: 32px; font-weight: 720; line-height: 1; font-variant-numeric: tabular-nums; }
.score-middle { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.score-middle > span:not(.score-versus) { font-size: 8px; font-weight: 650; color: var(--muted); line-height: 1.35; letter-spacing: .55px; }
.score-middle .score-versus { color: #58657a; font-size: 21px; line-height: 1; font-weight: 600; }
.hero-action { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.roster-count { color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: 1.25px; }
.roster-count b { color: var(--text); font-size: 14px; letter-spacing: 0; margin-right: 4px; font-variant-numeric: tabular-nums; }
.demo-hint { color: var(--muted); font-size: 10px; }
.secondary-button, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 36px; padding: 9px 13px; font-size: 11px; font-weight: 700; line-height: 1.25; border: 1px solid var(--line-strong); border-radius: 7px; background: #171d27; white-space: nowrap; transition: background .16s, border-color .16s, color .16s; }
.secondary-button svg, .primary-button svg { width: 15px; height: 15px; }
.secondary-button:hover { border-color: rgba(var(--accent-a-rgb), .42); background: rgba(var(--accent-a-rgb), .08); }
.primary-button { color: #0a1716; background: var(--accent-a); border-color: var(--accent-a); }.primary-button:hover { filter: brightness(1.08); }
.danger-button { color: var(--negative); border-color: rgba(255, 120, 145, .22); background: rgba(255, 120, 145, .055); }.danger-button:hover { border-color: rgba(255, 120, 145, .55); background: rgba(255, 120, 145, .11); }
.primary-button.danger-button { background: #ee708a; color: #200e15; border-color: #ee708a; }
.text-button { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 2px 0; color: var(--accent-a); background: transparent; border: 0; font-size: 11px; font-weight: 650; line-height: 1.5; text-align: left; }
.text-button svg { width: 15px; height: 15px; }.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.metric-card { position: relative; overflow: hidden; min-height: 85px; padding: 13px 15px 12px; background: linear-gradient(145deg, #151b25, #111720); border: 1px solid var(--line); border-radius: 9px; }
.metric-card:first-child { border-color: rgba(var(--accent-a-rgb), .16); }
.metric-card:first-child::after { content: ""; position: absolute; right: -16px; top: -16px; width: 60px; height: 60px; border: 1px solid rgba(var(--accent-a-rgb), .10); transform: rotate(45deg); }
.metric-label { display: block; color: var(--muted); font-size: 9px; line-height: 1.3; font-weight: 650; letter-spacing: 1px; }
.metric-value { color: var(--text); margin: 7px 0 4px; font-size: 24px; font-weight: 730; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.rank-metric { color: var(--accent-a); font-size: 21px; }.metric-value small { font-size: 11px; color: var(--secondary); font-weight: 500; letter-spacing: 0; }
.metric-caption { color: var(--secondary); font-size: 10px; line-height: 1.35; }
.match-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; min-height: 67px; padding: 15px 0; }
.search-field { display: flex; align-items: center; gap: 9px; width: 268px; height: 36px; padding: 0 11px; background: #10151e; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); }
.search-field:focus-within { border-color: rgba(var(--accent-a-rgb), .40); box-shadow: 0 0 0 2px rgba(var(--accent-a-rgb), .065); }.search-field svg { width: 15px; height: 15px; }
.search-field input { width: 100%; min-width: 0; padding: 0; color: var(--text); background: transparent; border: 0; outline: none; font-size: 11px; }.search-field input::placeholder { color: var(--muted); }.search-field input::-webkit-search-cancel-button { cursor: pointer; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 2px 4px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 4px; color: #99a6ba; background: #151b25; font-family: inherit; font-size: 8px; font-weight: 550; white-space: nowrap; }
.sort-control { display: flex; align-items: center; gap: 8px; }.sort-control > span { color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: 1px; }
select { width: 100%; height: 37px; padding: 7px 10px; color: var(--text); border: 1px solid var(--line-strong); border-radius: 7px; background: #161c26; cursor: pointer; font-size: 11px; }select option { background: #161c26; color: var(--text); }.sort-control select { width: 155px; height: 36px; }
.toolbar-note { color: var(--muted); font-size: 10px; line-height: 1.5; margin-left: auto; }
.teams-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.team-panel { --team-color: var(--accent-a); --team-rgb: var(--accent-a-rgb); min-width: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 11px; background: linear-gradient(160deg, rgba(25, 32, 44, .48), rgba(14, 19, 27, .7)); }.enemy-panel { --team-color: var(--accent-b); --team-rgb: var(--accent-b-rgb); }
.team-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 15px 13px; background: linear-gradient(100deg, rgba(var(--team-rgb), .04), transparent 66%); }
.team-eyebrow { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 8px; line-height: 1.5; font-weight: 650; letter-spacing: 1.05px; }.team-indicator { width: 4px; height: 4px; border-radius: 50%; background: var(--team-color); }
.team-header h2 { display: flex; align-items: center; gap: 9px; margin: 4px 0 0; color: var(--text); font-size: 17px; line-height: 1.15; font-weight: 700; letter-spacing: -.4px; }
.team-count { padding: 2px 5px; color: var(--team-color); border: 1px solid rgba(var(--team-rgb), .17); border-radius: 4px; background: rgba(var(--team-rgb), .045); font-size: 9px; font-weight: 600; letter-spacing: 0; }
.team-average { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }.team-average span { color: var(--muted); font-size: 8px; font-weight: 650; letter-spacing: .85px; }.team-average strong { color: var(--team-color); font-size: 12px; font-weight: 650; }
.list-labels { display: grid; grid-template-columns: minmax(0, 1fr) 78px 115px; gap: 12px; margin: 0 13px; padding: 8px 12px 7px; color: #78869d; border-top: 1px solid var(--line); font-size: 8px; font-weight: 700; letter-spacing: .8px; }.list-labels span:nth-child(2) { text-align: right; }.list-labels span:last-child { padding-left: 10px; }
.player-list { display: flex; flex-direction: column; gap: 5px; padding: 0 8px 8px; }.player-list:empty { padding: 0; }
.player-card { --rank-color: #9cacc2; position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) 74px 110px 9px; align-items: center; gap: 9px; width: 100%; min-height: 64px; padding: 10px; overflow: hidden; text-align: left; color: var(--text); background: #181e27; border: 1px solid transparent; border-radius: 7px; transition: border-color .16s, background .16s; }
.player-card::before { content: ""; position: absolute; left: 0; top: 17px; bottom: 17px; width: 2px; border-radius: 0 3px 3px 0; background: var(--team-color); opacity: .38; }.player-card:hover { border-color: rgba(var(--team-rgb), .30); background: #1c2430; }
.player-card.is-local { border-color: rgba(var(--team-rgb), .24); background: linear-gradient(105deg, rgba(var(--team-rgb), .095), rgba(var(--team-rgb), .025)), #171d26; }.player-card.is-local::before { top: 11px; bottom: 11px; opacity: .9; }
.agent-avatar { position: relative; display: grid; place-items: center; width: 36px; height: 39px; border: 1px solid rgba(var(--team-rgb), .20); border-radius: 9px 3px 9px 3px; color: #d4e8ed; background: linear-gradient(145deg, rgba(var(--team-rgb), .19), rgba(var(--team-rgb), .035)); overflow: hidden; }.agent-initials { position: relative; z-index: 1; font-size: 14px; font-weight: 750; letter-spacing: -.45px; }
.agent-avatar i { position: absolute; bottom: -5px; right: -8px; width: 25px; height: 20px; border: 1px solid rgba(var(--team-rgb), .32); border-radius: 50%; transform: rotate(-35deg); background: rgba(var(--team-rgb), .09); }
.player-identity { min-width: 0; display: flex; flex-direction: column; gap: 5px; }.name-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.player-name { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 650; line-height: 1.2; letter-spacing: -.15px; }
.local-pill { flex-shrink: 0; padding: 2px 4px; border: 1px solid rgba(var(--team-rgb), .27); border-radius: 3px; color: var(--team-color); background: rgba(var(--team-rgb), .09); font-size: 7px; font-weight: 750; line-height: 1; }
.agent-line { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 9px; line-height: 1.2; }.agent-name { color: var(--secondary); font-weight: 550; text-transform: uppercase; letter-spacing: .45px; white-space: nowrap; }.agent-role { color: var(--muted); font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.agent-role::before { content: "·"; margin-right: 6px; }
.combat-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }.kda-value { font-size: 11px; line-height: 1.15; font-weight: 600; }.player-kd { font-size: 9px; line-height: 1.2; color: var(--muted); }
.rank-info { display: flex; align-items: center; gap: 8px; min-width: 0; padding-left: 7px; }
.rank-emblem { position: relative; flex-shrink: 0; display: inline-grid; place-items: center; width: 26px; height: 31px; color: var(--rank-color); background: var(--rank-color); clip-path: polygon(50% 0, 94% 22%, 84% 78%, 50% 100%, 16% 78%, 6% 22%); }.rank-emblem::before { content: ""; position: absolute; inset: 2px; clip-path: inherit; background: #171e28; }.rank-emblem > span { position: relative; z-index: 1; color: var(--rank-color); font-size: 8px; font-weight: 850; letter-spacing: -.35px; }
.rank-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }.rank-name { color: #dce5f4; font-size: 10px; line-height: 1.1; font-weight: 650; white-space: nowrap; }.rank-tier { color: var(--muted); font-size: 9px; line-height: 1.2; white-space: nowrap; }
.card-reveal { color: var(--muted); opacity: 0; font-size: 14px; transition: opacity .16s; }.player-card:hover .card-reveal, .player-card:focus-visible .card-reveal { opacity: 1; }
.rank-distribution { padding: 12px 15px 14px; margin-top: 1px; border-top: 1px solid var(--line); }.rank-distribution > div:first-child { display: flex; justify-content: space-between; gap: 10px; color: var(--secondary); font-size: 9px; font-weight: 550; line-height: 1.45; }.rank-distribution > div:first-child > span:first-child { color: var(--muted); font-size: 8px; font-weight: 650; letter-spacing: .7px; }
.distribution-track { display: flex; gap: 3px; height: 4px; margin: 8px 0 7px; overflow: hidden; border-radius: 3px; background: #242d3b; }.distribution-track > span, .distribution-track > div { min-width: 0; border-radius: 2px; }.rank-distribution small { color: var(--muted); font-size: 9px; line-height: 1.3; }
.empty-state { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 267px; gap: 11px; padding: 30px 24px; text-align: center; }.empty-orbit { display: grid; place-items: center; width: 52px; height: 56px; margin-bottom: 5px; border: 1px solid rgba(var(--team-rgb), .19); border-radius: 16px 4px 16px 4px; color: rgba(var(--team-rgb), .68); background: linear-gradient(135deg, rgba(var(--team-rgb), .065), transparent); font-size: 24px; font-weight: 700; }.empty-state strong { font-size: 14px; font-weight: 650; }.empty-state p { max-width: 245px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.view-footnote { color: var(--muted); margin: 13px 2px 0; font-size: 10px; line-height: 1.7; }
.app-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; color: var(--muted); border-top: 1px solid var(--line); background: #0c1118; font-size: 9px; line-height: 1.4; }.app-footer > span:first-child { display: flex; align-items: center; gap: 7px; }.app-footer svg { width: 12px; height: 12px; color: var(--accent-a); }#footerSource { color: var(--secondary); font-size: 8px; font-weight: 650; letter-spacing: .6px; }.footer-separator { color: #4d5a70; }.footer-shortcut { display: flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 8px; }.footer-shortcut kbd { height: 16px; font-size: 7px; }

/* Journal and personal development. */
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 108px; margin-bottom: 23px; }.page-heading h1 { margin: 9px 0; }.page-tag { flex-shrink: 0; padding: 9px 11px; color: var(--accent-b); border: 1px solid rgba(var(--accent-b-rgb), .19); background: rgba(var(--accent-b-rgb), .055); border-radius: 5px; font-size: 9px; font-weight: 650; letter-spacing: .75px; }
.history-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #131a24; }.history-summary > div { display: flex; flex-direction: column; gap: 8px; padding: 17px 20px; }.history-summary > div + div { border-left: 1px solid var(--line); }.history-summary span { color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .8px; }.history-summary strong { font-size: 27px; line-height: 1.15; font-weight: 720; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }.positive { color: var(--positive); }.negative { color: var(--negative); }
.section-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 14px; }.filter-pills { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }.filter-pill { padding: 8px 12px; background: transparent; border: 1px solid transparent; border-radius: 5px; color: var(--secondary); font-size: 10px; font-weight: 600; }.filter-pill:hover { background: #151d29; color: var(--text); }.filter-pill.active { color: var(--accent-a); background: rgba(var(--accent-a-rgb), .085); border-color: rgba(var(--accent-a-rgb), .18); }.source-label { font-size: 8px; font-weight: 600; letter-spacing: .9px; color: var(--muted); }
.history-list { display: flex; flex-direction: column; gap: 8px; }
.history-card { --result-color: #a9b4c6; --result-rgb: 169, 180, 198; position: relative; display: grid; grid-template-columns: 46px minmax(125px, 1fr) 90px 108px 99px 96px; align-items: center; gap: 18px; padding: 17px 19px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(100deg, rgba(var(--result-rgb), .035), transparent 45%), #131a24; }.history-card::before { content: ""; position: absolute; left: 0; top: 19px; bottom: 19px; width: 3px; border-radius: 0 2px 2px 0; background: var(--result-color); opacity: .6; }
.result-win { --result-color: var(--positive); --result-rgb: 102, 223, 176; }.result-loss { --result-color: var(--negative); --result-rgb: 255, 120, 145; }.result-draw { --result-color: #caa4ff; --result-rgb: 202, 164, 255; }
.result-mark { display: flex; align-items: center; justify-content: center; width: 37px; height: 42px; color: var(--result-color); border: 1px solid rgba(var(--result-rgb), .24); border-radius: 10px 3px 10px 3px; background: rgba(var(--result-rgb), .065); font-size: 18px; font-weight: 750; }
.history-identity { min-width: 0; }.history-map { display: block; min-width: 0; color: var(--text); font-size: 15px; font-weight: 650; line-height: 1.4; margin-bottom: 4px; }.history-meta { display: block; color: var(--muted); font-size: 10px; line-height: 1.5; }.history-identity .history-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-map > strong { display: block; margin-bottom: 4px; font-weight: 650; }.history-map .history-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; }
.history-score, .history-kda, .history-rank { display: flex; flex-direction: column; gap: 5px; }.history-score { color: var(--result-color); font-size: 20px; font-weight: 700; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }.history-score span, .history-kda span, .history-rank span { color: var(--muted); font-size: 9px; font-weight: 400; line-height: 1.4; letter-spacing: 0; }.history-kda { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }.history-rank { color: var(--secondary); font-size: 11px; font-weight: 600; }
.history-kda > strong, .history-rank > strong { font-weight: 600; }
.history-quality { display: flex; align-items: flex-end; flex-direction: column; gap: 5px; color: var(--muted); font-size: 9px; line-height: 1.5; text-align: right; }.history-quality strong, .history-quality .quality-tag { color: var(--secondary); font-size: 9px; padding: 2px 5px; border: 1px solid var(--line); border-radius: 3px; font-weight: 550; }.history-quality .incomplete { color: #e9bc78; border-color: rgba(233, 188, 120, .22); }
.journal-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 300px; padding: 30px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 10px; background: rgba(20, 27, 39, .25); }.journal-empty > svg { width: 35px; height: 35px; margin-bottom: 10px; color: rgba(var(--accent-a-rgb), .6); }.journal-empty h2 { font-size: 19px; font-weight: 650; letter-spacing: -.5px; margin: 10px 0; }.journal-empty p { color: var(--secondary); font-size: 12px; line-height: 1.9; margin: 0 0 20px; }
.session-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }.large-metric { position: relative; padding: 22px 24px 19px; overflow: hidden; background: #141b25; border: 1px solid var(--line); border-radius: 10px; }.large-metric > span { display: block; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: 1px; }.large-metric > strong { position: relative; z-index: 1; display: block; margin: 12px 0 8px; color: var(--text); font-size: 42px; font-weight: 730; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; }.large-metric:first-child > strong { color: var(--accent-a); }.large-metric > strong.small-number { font-size: 28px; line-height: 1.5; letter-spacing: -.6px; }.large-metric p { position: relative; z-index: 1; margin: 0; color: var(--secondary); font-size: 10px; line-height: 1.5; }
.metric-decoration { position: absolute; width: 97px; height: 97px; right: -19px; bottom: -34px; border: 1px solid rgba(var(--accent-a-rgb), .10); transform: rotate(45deg); }.metric-decoration::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(var(--accent-a-rgb), .06); }
.session-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }.insight-panel { min-width: 0; padding: 21px 22px; background: #111822; border: 1px solid var(--line); border-radius: 10px; }.insight-panel h2 { display: flex; align-items: center; gap: 10px; margin: 7px 0 0; font-size: 19px; font-weight: 650; line-height: 1.3; letter-spacing: -.4px; }.insight-panel > p { margin: 16px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.form-timeline { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; min-height: 64px; margin-top: 23px; }.form-cell { --result-color: #a9b4c6; --result-rgb: 169, 180, 198; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; min-width: 0; min-height: 60px; color: var(--result-color); border: 1px solid rgba(var(--result-rgb), .16); border-radius: 5px; background: rgba(var(--result-rgb), .055); }.form-cell > span:first-child { font-size: 16px; font-weight: 650; }.form-cell > span:last-child { color: var(--muted); font-size: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }.form-cell.result-win { --result-color: var(--positive); --result-rgb: 102, 223, 176; }.form-cell.result-loss { --result-color: var(--negative); --result-rgb: 255, 120, 145; }.form-cell.result-draw { --result-color: #caa4ff; --result-rgb: 202, 164, 255; }.form-timeline > p { grid-column: 1 / -1; color: var(--muted); font-size: 12px; text-align: center; padding: 11px; margin: 0; }
.form-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 14px; }.form-legend > span { display: inline-flex; align-items: center; gap: 5px; color: var(--secondary); font-size: 9px; }.form-legend i { width: 5px; height: 5px; border-radius: 1px; }.win-dot { background: var(--positive); }.loss-dot { background: var(--negative); }.unknown-dot { background: #9ba7ba; }
.notes-panel textarea { display: block; resize: vertical; width: 100%; min-height: 110px; max-height: 260px; margin-top: 18px; padding: 12px 13px; color: var(--text); background: #0e141d; border: 1px solid var(--line-strong); border-radius: 7px; font-size: 12px; line-height: 1.75; }.notes-panel textarea::placeholder { color: #73829a; }.notes-footer { display: flex; justify-content: space-between; gap: 14px; margin-top: 9px; color: var(--muted); font-size: 9px; }
.warmup-panel h2 span { margin-left: auto; color: var(--accent-a); font-size: 11px; font-weight: 600; letter-spacing: 0; }.check-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 17px; cursor: pointer; }.check-row input { appearance: none; width: 17px; height: 17px; margin: 1px 0 0; border: 1px solid var(--line-strong); border-radius: 4px; background: #0d141d; flex-shrink: 0; cursor: pointer; }.check-row input:checked { background: var(--accent-a); border-color: var(--accent-a); }.check-row input:checked::after { content: ""; display: block; width: 8px; height: 4px; margin: 4px 3px; border-bottom: 2px solid #0b201b; border-left: 2px solid #0b201b; transform: rotate(-45deg); }.check-row > span { display: flex; flex-direction: column; gap: 5px; }.check-row strong { color: var(--secondary); font-size: 11px; font-weight: 600; }.check-row small { color: var(--muted); font-size: 10px; line-height: 1.4; }.check-row:has(input:checked) strong { color: var(--text); }.warmup-panel > .text-button { margin-top: 15px; font-size: 10px; }
.safety-panel { position: relative; background: linear-gradient(145deg, rgba(var(--accent-a-rgb), .035), transparent), #111822; }.safety-panel > svg { position: absolute; top: 22px; right: 23px; width: 28px; height: 28px; color: rgba(var(--accent-a-rgb), .32); }.safety-panel h2 { margin-top: 15px; font-size: 22px; line-height: 1.45; }.safety-panel > p { max-width: 340px; margin: 11px 0 13px; font-size: 11px; line-height: 1.8; }

/* Drawers are modal; the controller handles focus, inert and Escape. */
.panel-backdrop { position: absolute; z-index: 50; inset: 0; background: rgba(3, 7, 13, .70); backdrop-filter: blur(3px); }.drawer { position: absolute; z-index: 60; display: flex; flex-direction: column; width: 388px; max-width: calc(100% - 32px); right: 13px; top: 13px; bottom: 13px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: #111822; box-shadow: -20px 0 70px rgba(0, 0, 0, .35); }.drawer.open { animation: drawer-enter .19s ease-out; }
@keyframes drawer-enter { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 83px; padding: 20px 21px 17px; border-bottom: 1px solid var(--line); }.drawer-header h2 { margin: 5px 0 0; font-size: 22px; font-weight: 650; letter-spacing: -.7px; line-height: 1.25; }.drawer-header .eyebrow { font-size: 9px; }.drawer-scroll { flex: 1; min-height: 0; padding: 20px 22px; overflow-y: auto; overflow-x: hidden; }
.settings-group { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }.settings-group:last-child { margin-bottom: 0; padding-bottom: 3px; border-bottom: 0; }.settings-group h3 { margin: 0 0 13px; color: #c5d0e3; font-size: 12px; line-height: 1.5; font-weight: 650; }
.preset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.preset { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 3px 9px; text-align: left; min-height: 57px; padding: 11px; background: #161e2a; border: 1px solid var(--line); border-radius: 7px; }.preset > span { grid-row: span 2; width: 24px; height: 26px; border-radius: 7px 3px 7px 3px; border: 1px solid rgba(255, 255, 255, .17); background: linear-gradient(135deg, var(--p1), var(--p2)); box-shadow: inset 0 0 0 4px rgba(11, 16, 24, .55); }.preset strong { font-size: 11px; font-weight: 650; }.preset small { font-size: 7px; color: var(--muted); font-weight: 600; letter-spacing: .5px; line-height: 1.4; white-space: nowrap; }.preset:hover { border-color: var(--line-strong); background: #1b2533; }.preset.active { border-color: rgba(var(--accent-a-rgb), .43); background: rgba(var(--accent-a-rgb), .04); }.preset.active::after { content: ""; position: absolute; width: 4px; height: 4px; top: 7px; right: 7px; border-radius: 50%; background: var(--accent-a); }
.setting-label { display: block; margin-bottom: 7px; color: var(--secondary); font-size: 11px; }.color-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }.color-controls label { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 7px 7px; }.color-controls label > span { grid-column: 1 / -1; color: var(--secondary); font-size: 10px; margin-bottom: 2px; }
input[type="color"] { appearance: none; width: 26px; height: 26px; padding: 0; background: transparent; border: 0; cursor: pointer; }input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }input[type="color"]::-webkit-color-swatch { border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; }.color-controls code { color: var(--secondary); font-size: 10px; font-family: "Consolas", monospace; letter-spacing: .25px; }
.range-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; font-size: 11px; color: var(--secondary); }.range-row output { color: var(--accent-a); font-size: 10px; font-variant-numeric: tabular-nums; }
input[type="range"] { appearance: none; width: 100%; height: 4px; margin: 14px 0 3px; border-radius: 4px; border: 0; background: #2b3648; cursor: pointer; accent-color: var(--accent-a); }input[type="range"]::-webkit-slider-thumb { appearance: none; width: 13px; height: 13px; border: 2px solid #121b26; border-radius: 50%; background: var(--accent-a); box-shadow: 0 0 0 1px rgba(var(--accent-a-rgb), .24); }input[type="range"]::-webkit-slider-thumb:hover { box-shadow: 0 0 0 4px rgba(var(--accent-a-rgb), .12); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 17px; cursor: pointer; }.toggle-row > span { display: flex; flex-direction: column; gap: 5px; }.toggle-row strong { font-size: 11px; font-weight: 600; color: var(--text); }.toggle-row small { font-size: 10px; line-height: 1.5; color: var(--muted); }.toggle-row input { appearance: none; width: 32px; height: 18px; margin: 0; background: #2b3545; border: 1px solid #3a465a; border-radius: 20px; flex-shrink: 0; cursor: pointer; transition: background .15s, border-color .15s; }.toggle-row input::before { content: ""; display: block; width: 10px; height: 10px; margin: 3px; border-radius: 50%; background: #a5b2c6; transition: transform .15s, background .15s; }.toggle-row input:checked { background: rgba(var(--accent-a-rgb), .21); border-color: rgba(var(--accent-a-rgb), .55); }.toggle-row input:checked::before { transform: translateX(13px); background: var(--accent-a); }
.setting-note { margin: 15px 0 0; font-size: 10px; line-height: 1.75; color: var(--muted); }.diagnostics dl { margin: 0; }.diagnostics dl > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin: 10px 0; font-size: 10px; line-height: 1.5; }.diagnostics dt { color: var(--muted); }.diagnostics dd { color: var(--secondary); margin: 0; max-width: 180px; text-align: right; overflow-wrap: anywhere; }
.drawer-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 21px; border-top: 1px solid var(--line); background: #0f151f; }.drawer-footer > span { max-width: 174px; color: var(--muted); font-size: 9px; line-height: 1.65; text-align: right; }.drawer-footer .secondary-button { padding: 8px 10px; font-size: 10px; }
.player-inspector .drawer-header { min-height: 65px; padding: 14px 20px; }.player-inspector .drawer-scroll { padding-top: 21px; }.inspector-hero { text-align: center; padding: 0 0 23px; }
.inspector-avatar { display: grid; place-items: center; width: 76px; height: 81px; margin: 0 auto 15px; border: 1px solid var(--inspector-color, var(--accent-a)); border-radius: 21px 5px 21px 5px; background: linear-gradient(140deg, rgba(var(--accent-a-rgb), .13), rgba(var(--accent-b-rgb), .065)); box-shadow: 0 9px 25px rgba(0, 0, 0, .22); }.inspector-avatar span { color: var(--inspector-color, var(--accent-a)); font-size: 30px; font-weight: 750; letter-spacing: -1px; }.inspector-role { color: var(--accent-a); font-size: 9px; line-height: 1.6; font-weight: 650; letter-spacing: 1.5px; }.inspector-hero h2 { margin: 6px 0 8px; color: var(--text); font-size: 23px; line-height: 1.3; font-weight: 680; letter-spacing: -.6px; overflow-wrap: anywhere; }.inspector-hero p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.inspector-rank { display: flex; align-items: center; gap: 15px; padding: 17px; background: #192130; border: 1px solid var(--line); border-radius: 9px; }.inspector-rank .rank-emblem { width: 44px; height: 53px; }.inspector-rank .rank-emblem::before { inset: 3px; }.inspector-rank .rank-emblem span { font-size: 12px; }.inspector-rank .eyebrow { font-size: 8px; letter-spacing: 1px; }.inspector-rank h3 { margin: 5px 0 4px; font-size: 19px; line-height: 1.15; font-weight: 700; letter-spacing: -.3px; }.inspector-rank > div > span:last-child { font-size: 10px; color: var(--secondary); }
.inspector-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin: 17px 0 22px; }.inspector-stat-grid > div { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 12px 4px 13px; border: 1px solid var(--line); border-radius: 6px; background: #141b26; }.inspector-stat-grid span { color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: .3px; }.inspector-stat-grid strong { font-size: 21px; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.contribution { padding: 18px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.contribution > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 14px; }.contribution h3 { color: var(--secondary); font-size: 11px; font-weight: 550; margin: 0; line-height: 1.5; }.contribution strong { color: var(--accent-a); font-size: 16px; line-height: 1.3; font-weight: 700; font-variant-numeric: tabular-nums; }.contribution-track { overflow: hidden; height: 5px; border-radius: 5px; background: #283246; margin: 12px 0; }.contribution-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-a), var(--accent-b)); transition: width .2s; }.contribution p { color: var(--muted); font-size: 10px; line-height: 1.7; margin: 0; }
.inspector-facts { display: flex; flex-direction: column; gap: 13px; margin-top: 20px; }.inspector-facts > div { display: flex; justify-content: space-between; gap: 14px; font-size: 10px; line-height: 1.5; }.inspector-facts span { color: var(--muted); }.inspector-facts strong { color: var(--secondary); font-weight: 600; }.player-inspector .drawer-footer > svg { width: 18px; height: 18px; color: var(--accent-a); }.player-inspector .drawer-footer > span { max-width: 290px; text-align: left; }
.confirm-dialog { position: absolute; z-index: 70; top: 50%; left: 50%; width: 405px; max-width: calc(100% - 40px); transform: translate(-50%, -50%); padding: 28px; background: #161e2a; border: 1px solid var(--line-strong); border-radius: 13px; box-shadow: 0 25px 65px rgba(0, 0, 0, .4); }.confirm-dialog .eyebrow { color: var(--negative); font-size: 9px; }.confirm-dialog h2 { margin: 13px 0 11px; font-size: 24px; font-weight: 650; letter-spacing: -.7px; line-height: 1.3; }.confirm-dialog p { margin: 0 0 24px; color: var(--secondary); font-size: 12px; line-height: 1.85; }.confirm-dialog > div { display: flex; justify-content: flex-end; gap: 8px; }
.toast { position: absolute; z-index: 100; bottom: 51px; left: 50%; max-width: calc(100% - 40px); padding: 11px 17px; border: 1px solid rgba(var(--accent-a-rgb), .29); border-radius: 8px; background: #19252e; color: #dde8f3; box-shadow: 0 8px 25px rgba(0, 0, 0, .3); font-size: 11px; text-align: center; pointer-events: none; opacity: 0; transform: translate(-50%, 7px); transition: opacity .16s, transform .16s; }.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Search, review and analysis share the same measured visual language. */
.role-control { flex-shrink: 0; width: 116px; }.role-control select { height: 36px; }
.team-composition { display: flex; flex-wrap: wrap; gap: 5px; padding: 5px 13px 10px; }
.role-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 4px; background: rgba(var(--team-rgb), .03); color: var(--secondary); font-size: 8px; line-height: 1.2; }.role-badge b { color: var(--team-color); font-size: 9px; font-variant-numeric: tabular-nums; }
.journal-controls { padding: 16px; margin-bottom: 17px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(125deg, rgba(var(--accent-b-rgb), .025), transparent 55%), #101721; }
.journal-search-row { display: flex; align-items: center; gap: 12px; }.journal-search-row .search-field { flex: 1; min-width: 180px; width: auto; }.export-actions { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }.export-actions > span { margin-right: 7px; color: var(--secondary); font-size: 10px; font-variant-numeric: tabular-nums; }.export-actions .secondary-button { min-height: 36px; padding: 8px 12px; font-size: 10px; }
.journal-filter-row { display: grid; align-items: end; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px 12px; margin-top: 17px; }.field-control { display: flex; flex-direction: column; gap: 6px; min-width: 0; }.field-control > span { color: var(--muted); font-size: 8px; font-weight: 650; letter-spacing: .9px; }.field-control select { text-overflow: ellipsis; }.journal-filter-row > .text-button { grid-column: 1 / -1; justify-self: end; padding: 0; font-size: 10px; }.export-note { margin: 12px 0 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
button.history-card { width: 100%; text-align: left; color: var(--text); transition: background .16s, border-color .16s; }button.history-card:hover { border-color: rgba(var(--result-rgb), .38); background: linear-gradient(100deg, rgba(var(--result-rgb), .09), transparent 55%), #172130; }button.history-card:focus-visible { outline-offset: -3px; }
.insights-toolbar { display: flex; align-items: center; gap: 16px; margin: -6px 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }.insights-scope { color: var(--secondary); font-size: 11px; margin-right: auto; }.inline-field { flex-direction: row; align-items: center; gap: 8px; }.inline-field select { width: 143px; }
.coverage-strip { display: flex; align-items: center; gap: 18px; padding: 14px 17px; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 8px; background: #111822; }.coverage-strip > div:first-child { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }.coverage-strip .eyebrow { font-size: 8px; }.coverage-strip strong { color: var(--secondary); font-size: 11px; font-weight: 550; font-variant-numeric: tabular-nums; }.coverage-track { flex: 1; max-width: 280px; min-width: 45px; height: 5px; overflow: hidden; border-radius: 5px; background: #273143; }.coverage-track > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-a), var(--accent-b)); border-radius: inherit; }.coverage-strip > span { margin-left: auto; color: var(--muted); font-size: 10px; line-height: 1.5; }
.analysis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }.breakdown-panel { padding: 19px; }.breakdown-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.analysis-tag { padding: 4px 5px; color: var(--accent-b); border: 1px solid rgba(var(--accent-b-rgb), .15); border-radius: 4px; background: rgba(var(--accent-b-rgb), .03); font-size: 7px; font-weight: 650; white-space: nowrap; letter-spacing: .5px; }
.breakdown-labels, .breakdown-row { display: grid; grid-template-columns: minmax(0, 1fr) 75px 80px; gap: 12px; }.breakdown-labels { padding: 18px 10px 9px; margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 650; letter-spacing: .6px; }.breakdown-labels > span:not(:first-child) { text-align: right; }.breakdown-list { display: flex; flex-direction: column; gap: 4px; }.breakdown-row { align-items: center; min-height: 62px; width: 100%; padding: 11px 10px; border: 1px solid transparent; border-radius: 6px; background: #161e2a; text-align: left; }.breakdown-row:hover { border-color: rgba(var(--accent-a-rgb), .23); background: #1a2532; }.breakdown-identity { display: flex; flex-direction: column; gap: 5px; min-width: 0; }.breakdown-identity strong { font-size: 12px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.breakdown-identity small, .breakdown-ratio small { color: var(--muted); font-size: 8px; line-height: 1.5; }.breakdown-winrate { display: flex; flex-direction: column; gap: 7px; align-items: flex-end; }.breakdown-winrate strong { color: var(--accent-a); font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }.breakdown-track { width: 100%; height: 3px; border-radius: 3px; overflow: hidden; background: #283348; }.breakdown-track > span { display: block; height: 100%; background: var(--accent-a); border-radius: inherit; }.breakdown-ratio { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }.breakdown-ratio strong { color: var(--text); font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }.breakdown-ratio small { white-space: nowrap; }.breakdown-empty { min-height: 113px; padding: 30px 8px; margin: 0; color: var(--muted); font-size: 11px; text-align: center; line-height: 1.8; }
.review-hero { padding: 6px 0 21px; text-align: center; border-bottom: 1px solid var(--line); }.review-outcome { display: inline-block; color: var(--result-color, var(--secondary)); padding: 5px 11px; border: 1px solid currentColor; border-radius: 5px; font-size: 10px; font-weight: 650; }.review-hero > strong { display: block; margin: 13px 0 9px; font-size: 43px; font-weight: 750; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }.review-hero p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }.review-facts { margin: 0; }.review-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 13px 0; font-size: 11px; line-height: 1.5; }.review-facts dt { color: var(--muted); }.review-facts dd { margin: 0; max-width: 180px; color: var(--secondary); text-align: right; overflow-wrap: anywhere; }.review-caveat { margin: 19px 0 21px; padding: 12px; color: var(--secondary); border: 1px solid rgba(var(--accent-b-rgb), .14); border-radius: 6px; background: rgba(var(--accent-b-rgb), .035); font-size: 10px; line-height: 1.8; }
.review-notes { padding-top: 18px; border-top: 1px solid var(--line); }.review-notes .eyebrow { font-size: 8px; }.review-notes > label { display: block; margin: 8px 0 12px; color: var(--text); font-size: 15px; font-weight: 600; }.review-notes textarea { display: block; width: 100%; min-height: 115px; max-height: 260px; resize: vertical; padding: 11px 12px; color: var(--text); border: 1px solid var(--line-strong); border-radius: 7px; background: #0e141d; font-size: 12px; line-height: 1.7; }.review-notes textarea::placeholder { color: var(--muted); }.match-review .drawer-footer > svg { color: var(--accent-a); width: 17px; height: 17px; }.match-review .drawer-footer > span { max-width: none; text-align: left; }
@media (min-width: 1320px) { .journal-filter-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }.breakdown-panel { padding: 22px; } }
@media (max-width: 1050px) { .analysis-tag { display: none; }.breakdown-panel { padding: 15px; }.breakdown-labels, .breakdown-row { grid-template-columns: minmax(0, 1fr) 61px 67px; gap: 8px; }.breakdown-identity small { font-size: 7px; }.insights-toolbar { flex-wrap: wrap; }.insights-scope { flex-basis: 100%; }.coverage-strip { flex-wrap: wrap; gap: 10px 14px; }.coverage-strip > span { flex-basis: 100%; margin-left: 0; } }
@media (max-width: 720px) { .journal-search-row { flex-wrap: wrap; }.journal-search-row .search-field { flex-basis: 100%; }.export-actions { width: 100%; justify-content: flex-end; }.export-actions > span { margin-right: auto; }.journal-controls { padding: 13px; }.journal-filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }.analysis-grid { grid-template-columns: minmax(0, 1fr); }.breakdown-panel { padding: 18px; }.breakdown-labels, .breakdown-row { grid-template-columns: minmax(0, 1fr) 75px 80px; gap: 12px; }.breakdown-identity small { font-size: 8px; }.inline-field { flex: 1; flex-direction: column; align-items: flex-start; }.inline-field select { width: 100%; }.role-control { width: auto; flex: 1; } }
@media (max-width: 480px) { .breakdown-panel { padding: 13px; }.breakdown-labels, .breakdown-row { grid-template-columns: minmax(0, 1fr) 50px 59px; gap: 7px; }.breakdown-identity small, .breakdown-ratio small { font-size: 7px; }.coverage-strip { padding: 12px; }.analysis-tag { display: none; } }

/* Small windows retain statistics; decorative copy gives way. */
@media (min-width: 1320px) {
  .main-content { padding-left: 34px; padding-right: 34px; }
  .match-hero { grid-template-columns: minmax(300px, 1fr) 244px 150px; gap: 42px; min-height: 105px; }
  .metric-card { padding: 15px 20px; min-height: 96px; }.metric-label { font-size: 10px; }.metric-value { font-size: 27px; }.rank-metric { font-size: 23px; }.metric-caption { font-size: 11px; }
  .team-header { padding: 18px 20px 15px; }.player-list { padding: 0 11px 10px; gap: 6px; }
  .player-card { grid-template-columns: 42px minmax(0, 1fr) 90px 128px 12px; gap: 12px; min-height: 70px; padding: 12px; }.agent-avatar { width: 42px; height: 44px; }.agent-initials { font-size: 17px; }.player-name { font-size: 14px; }.agent-line, .agent-role, .player-kd { font-size: 10px; }.kda-value { font-size: 12px; }.rank-info { gap: 10px; }.rank-name { font-size: 11px; }.rank-emblem { width: 29px; height: 34px; }
  .list-labels { grid-template-columns: minmax(0, 1fr) 92px 152px; padding-right: 12px; }.rank-distribution { padding-left: 21px; padding-right: 21px; }.rank-distribution > div:first-child { font-size: 10px; }
}
@media (max-width: 1180px) {
  .main-content { padding: 21px 20px 18px; }.match-hero { gap: 20px; grid-template-columns: minmax(210px, 1fr) 205px 127px; }.hero-copy h1 { font-size: 29px; }.hero-copy p { font-size: 11px; }.hero-action .secondary-button { padding-left: 10px; padding-right: 10px; font-size: 10px; }
  .toolbar-note { flex-basis: 100%; margin-top: -4px; margin-left: 0; font-size: 9px; }.match-toolbar { gap: 10px 16px; padding: 13px 0; }
  .player-card { grid-template-columns: 34px minmax(0, 1fr) 70px 34px; gap: 9px; }.agent-avatar { width: 34px; height: 38px; }.rank-copy, .card-reveal { display: none; }.rank-info { padding-left: 6px; }.rank-emblem { width: 26px; }
  .list-labels { grid-template-columns: minmax(0, 1fr) 74px 34px; gap: 9px; font-size: 7px; padding-left: 9px; padding-right: 4px; }.list-labels span:last-child { padding-left: 0; font-size: 7px; }.player-name { font-size: 13px; }.agent-role { display: none; }
  .history-card { grid-template-columns: 40px minmax(115px, 1fr) 73px 90px 79px; gap: 12px; padding: 15px; }.history-quality { grid-column: 2 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 7px; margin-top: -4px; border-top: 1px solid var(--line); text-align: left; }
  .large-metric { padding: 20px 19px; }.large-metric > strong.small-number { font-size: 25px; }.form-timeline { gap: 3px; }.form-cell > span:last-child { font-size: 7px; }
}
@media (max-width: 940px) {
  .workspace { grid-template-columns: 72px minmax(0, 1fr); }.nav-rail { padding: 21px 7px 12px; }.nav-item { min-height: 57px; gap: 7px; }.nav-item span { font-size: 8px; }.nav-item i { left: -8px; top: 19px; }.rail-section { font-size: 8px; }
  .main-content { padding: 19px 16px 18px; }.match-hero { grid-template-columns: minmax(220px, 1fr) 186px; gap: 15px; margin-bottom: 17px; }.hero-action { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 2px; }.hero-action .demo-hint { margin-left: auto; order: 1; }.hero-action .secondary-button { order: 2; }.hero-copy h1 { font-size: 30px; }
  .scoreboard { min-height: 76px; grid-template-columns: 1fr 77px 1fr; }.scoreboard strong { font-size: 29px; }.metric-strip { gap: 7px; }.metric-card { min-height: 81px; padding: 12px; }.metric-value { font-size: 22px; }.rank-metric { font-size: 18px; }.metric-label { font-size: 8px; letter-spacing: .7px; }.metric-caption { font-size: 9px; }
  .teams-grid { gap: 10px; }.team-header { padding: 14px 12px 12px; gap: 8px; }.team-header h2 { font-size: 15px; gap: 6px; }.team-average strong { font-size: 10px; }.team-average span { font-size: 7px; letter-spacing: .5px; }.team-eyebrow { font-size: 7px; }
  .player-list { padding-left: 6px; padding-right: 6px; gap: 4px; }.player-card { grid-template-columns: 30px minmax(0, 1fr) 63px 27px; gap: 7px; padding: 9px 8px; min-height: 62px; }.agent-avatar { width: 30px; height: 35px; }.agent-initials { font-size: 12px; }.rank-info { padding-left: 2px; }.rank-emblem { width: 24px; height: 29px; }.player-name { font-size: 12px; }.local-pill { font-size: 6px; padding: 2px 3px; }.agent-line { font-size: 8px; }.kda-value { font-size: 10px; }.player-kd { font-size: 8px; }
  .list-labels { grid-template-columns: minmax(0, 1fr) 67px 27px; margin: 0 10px; }.rank-distribution { padding: 11px 12px 12px; }.rank-distribution > div:first-child { font-size: 8px; }.rank-distribution small { font-size: 8px; }
  .page-heading { gap: 16px; }.page-heading h1 { font-size: 29px; }.page-heading p { font-size: 11px; }.page-tag { font-size: 8px; }.history-summary > div { padding: 15px; }.history-summary span { font-size: 8px; }
  .history-card { grid-template-columns: 34px minmax(110px, 1fr) 64px 80px 75px; gap: 10px; padding: 13px; }.result-mark { width: 31px; height: 37px; font-size: 16px; }.history-map { font-size: 14px; }.history-kda { font-size: 11px; }.history-rank { font-size: 10px; }
  .session-metrics { gap: 10px; }.large-metric { padding: 17px 15px; }.large-metric > strong { font-size: 36px; }.large-metric > strong.small-number { font-size: 21px; line-height: 1.7; }.large-metric > span { font-size: 8px; }.large-metric p { font-size: 9px; }.session-grid { gap: 12px; }.insight-panel { padding: 18px 17px; }.insight-panel .eyebrow { font-size: 8px; }.insight-panel h2 { font-size: 17px; }
  .form-timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin-top: 16px; }.form-cell { min-height: 46px; gap: 3px; }.form-cell > span:first-child { font-size: 13px; }.form-cell > span:last-child { font-size: 8px; }.safety-panel h2 { font-size: 20px; }.safety-panel > svg { right: 16px; width: 23px; height: 23px; }
  .app-footer { padding: 0 15px; font-size: 8px; gap: 10px; }.footer-shortcut { display: none; }
}
@media (max-width: 720px) {
  .app-shell { width: calc(100% - 8px); height: calc(100% - 8px); margin: 4px; border-radius: 12px; grid-template-rows: 62px minmax(0, 1fr) 33px; }.titlebar { padding: 0 13px; }.brand strong { font-size: 14px; letter-spacing: 1.6px; }.brand-caption { font-size: 7px; letter-spacing: 1.3px; }.brand-mark { width: 31px; height: 34px; font-size: 20px; }.connection-badge { border: 0; padding: 5px; font-size: 10px; background: transparent; }.titlebar-divider { display: none; }
  .workspace { grid-template-columns: 54px minmax(0, 1fr); }.nav-rail { padding: 17px 5px 12px; }.nav-item { min-height: 45px; }.nav-item span, .rail-section, .rail-monogram, .rail-version { display: none; }.nav-item i { left: -6px; top: 12px; }.main-content { padding: 18px 14px; }
  .match-hero { grid-template-columns: minmax(0, 1fr) 151px; gap: 12px; }.hero-copy h1 { font-size: 25px; letter-spacing: -1px; }.hero-copy .eyebrow { flex-wrap: wrap; gap: 5px; font-size: 8px; letter-spacing: .5px; }.hero-copy p { font-size: 10px; }.scoreboard { grid-template-columns: 1fr 65px 1fr; padding: 9px 5px; }.scoreboard strong { font-size: 26px; }.score-caption { font-size: 7px; }.score-middle > span:not(.score-versus) { font-size: 7px; }.hero-action .demo-hint { display: none; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }.metric-value { font-size: 24px; }.rank-metric { font-size: 20px; }.match-toolbar { gap: 9px; }.search-field { width: 100%; }.sort-control { width: 100%; justify-content: space-between; }.sort-control select { width: 180px; }.toolbar-note { font-size: 8px; }
  .teams-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }.team-header { padding: 15px; }.team-eyebrow { font-size: 8px; }.team-header h2 { font-size: 17px; }.team-average strong { font-size: 12px; }.team-average span { font-size: 8px; }.player-card { grid-template-columns: 36px minmax(0, 1fr) 70px 96px; gap: 9px; min-height: 64px; padding: 10px; }.player-name { font-size: 13px; }.agent-avatar { width: 36px; height: 39px; }.rank-copy { display: flex; }.rank-info { gap: 7px; padding-left: 3px; }.rank-name { font-size: 9px; }.rank-tier { font-size: 8px; }.list-labels { grid-template-columns: minmax(0, 1fr) 72px 94px; gap: 9px; font-size: 8px; }.list-labels span:last-child { font-size: 8px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 18px; }.page-heading h1 { font-size: 27px; }.page-heading p { font-size: 11px; }.page-tag { font-size: 8px; }.history-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }.history-summary > div { padding: 13px 16px; }.history-summary > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }.history-summary > div:nth-child(4) { border-top: 1px solid var(--line); }.section-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }.source-label { font-size: 7px; }
  .history-card { grid-template-columns: 34px minmax(0, 1fr) 70px; padding: 14px; gap: 12px; }.history-kda { grid-column: 2; }.history-rank { grid-column: 3; }.history-quality { grid-column: 2 / -1; }.journal-empty { padding: 24px 17px; }.journal-empty h2 { font-size: 18px; }
  .session-metrics { grid-template-columns: minmax(0, 1fr); gap: 8px; }.large-metric { display: grid; align-items: center; grid-template-columns: 1fr auto; gap: 8px; padding: 15px 17px; }.large-metric > strong { grid-row: span 2; margin: 0; font-size: 31px; }.large-metric > strong.small-number { font-size: 24px; }.large-metric p { grid-column: 1; grid-row: 2; }.session-grid { grid-template-columns: minmax(0, 1fr); }.form-timeline { grid-template-columns: repeat(10, minmax(0, 1fr)); }.form-cell { min-height: 58px; }
  .drawer { right: 8px; top: 8px; bottom: 8px; max-width: calc(100% - 16px); }.app-footer > span:first-child { font-size: 7px; gap: 5px; }.app-footer > span:nth-child(2) { display: none; }
}
@media (max-width: 480px) {
  .connection-badge span:last-child { display: none; }.titlebar-right { gap: 1px; }.brand { gap: 8px; }.icon-button { width: 28px; }.main-content { padding: 16px 10px; }.match-hero { grid-template-columns: minmax(0, 1fr); }.scoreboard { width: 100%; grid-template-columns: 1fr 90px 1fr; }.scoreboard strong { font-size: 30px; }
  .player-card { grid-template-columns: 31px minmax(0, 1fr) 62px 27px; gap: 7px; padding: 9px 8px; }.rank-copy { display: none; }.rank-info { padding-left: 1px; }.agent-avatar { width: 31px; height: 36px; }.player-name { font-size: 12px; }.list-labels { grid-template-columns: minmax(0, 1fr) 64px 27px; }.local-pill { display: none; }.form-timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); }.form-cell { min-height: 50px; }.drawer-scroll { padding: 18px; }.drawer-header { padding: 18px; }.drawer-footer { padding: 13px 18px; }
}
.compact-mode .main-content { padding-top: 16px; }.compact-mode .match-hero { min-height: 78px; margin-bottom: 14px; }.compact-mode .hero-copy h1 { font-size: 28px; }.compact-mode .hero-copy p { display: none; }.compact-mode .metric-card { min-height: 73px; padding-top: 11px; padding-bottom: 10px; }.compact-mode .metric-value { font-size: 22px; margin-top: 5px; }.compact-mode .rank-metric { font-size: 19px; }.compact-mode .match-toolbar { padding-top: 11px; padding-bottom: 11px; min-height: 56px; }.compact-mode .team-header { padding-top: 12px; padding-bottom: 10px; }.compact-mode .player-card { min-height: 51px; padding-top: 7px; padding-bottom: 7px; }.compact-mode .agent-avatar { height: 34px; }.compact-mode .player-list { gap: 4px; }.compact-mode .rank-distribution { padding-top: 9px; padding-bottom: 10px; }.compact-mode .page-heading { min-height: 86px; margin-bottom: 16px; }.compact-mode .history-card { padding-top: 12px; padding-bottom: 12px; }

/* Keep the live roster prominent on shorter desktop displays. */
@media (min-width: 721px) and (max-height: 860px) {
  .app-shell { grid-template-rows: 62px minmax(0, 1fr) 32px; }
  .main-content { padding-top: 16px; padding-bottom: 12px; }
  .match-hero { min-height: 78px; margin-bottom: 14px; }
  .hero-copy h1 { font-size: 29px; }.hero-copy p { display: none; }
  .metric-card { min-height: 70px; padding-top: 10px; padding-bottom: 9px; }
  .metric-value { font-size: 22px; margin-top: 5px; }.rank-metric { font-size: 20px; }
  .match-toolbar { min-height: 52px; padding-top: 10px; padding-bottom: 10px; }
  .toolbar-note { flex-basis: auto; margin: 0 0 0 auto; }
  .team-header { padding-top: 12px; padding-bottom: 10px; }
  .player-card { min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
  .agent-avatar { height: 34px; }.player-list { gap: 4px; }
  .rank-distribution { padding-top: 9px; padding-bottom: 10px; }
  .live-view > .view-footnote { display: none; }
}
@media (min-width: 941px) and (max-height: 760px) {
  .match-hero { min-height: 65px; margin-bottom: 12px; }
  .metric-card { min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
  .match-toolbar { min-height: 48px; padding-top: 8px; padding-bottom: 8px; }
  .player-card { min-height: 51px; padding-top: 6px; padding-bottom: 6px; }
  .agent-avatar { height: 32px; }
}

/* Both app controls and the OS preference include root pseudo-elements. */
.reduced-motion::before, .performance-mode::before { animation: none !important; opacity: 1 !important; background-position: 50% 50% !important; }
.reduced-motion *, .reduced-motion *::before, .reduced-motion *::after, .performance-mode *, .performance-mode *::before, .performance-mode *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.performance-mode { box-shadow: 0 16px 35px rgba(0, 0, 0, .35); }.performance-mode::before { filter: none !important; }.performance-mode::after, .performance-mode .ambient, .performance-mode .metric-decoration { display: none !important; }.performance-mode .panel-backdrop { backdrop-filter: none; }
@media (prefers-reduced-motion: reduce) {
  .app-shell::before, .app-shell::after, .app-shell *, .app-shell *::before, .app-shell *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .app-shell::before { opacity: 1 !important; background-position: 50% 50% !important; }
}
@media (prefers-contrast: more) {
  :root { --muted: #a5b2c9; --secondary: #d0d9e8; --line: rgba(190, 207, 233, .24); --line-strong: rgba(190, 207, 233, .38); }
  .rank-name, .player-name { color: #fff; }
}
/* Personal sample comparison; layout respects the existing atmosphere tokens. */
.comparison-panel{margin:18px 0}.comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.comparison-grid article{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid rgba(146,167,190,.14);border-radius:12px;background:rgba(146,167,190,.035)}.comparison-grid article>span{font-size:12px;letter-spacing:.08em;color:#9eacc0}.comparison-grid strong{font-size:32px;color:var(--accent,#35f2ce)}.comparison-grid small{font-size:13px;color:#9eacc0;line-height:1.6}.comparison-panel>p{line-height:1.7}@media(max-width:700px){.comparison-grid{grid-template-columns:1fr}.comparison-panel header{flex-wrap:wrap;gap:12px}}
