:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #0a0d10;
  color: #cfd6de;
  font-size: 12px;
}
* { box-sizing: border-box; }
html, body, #app { width: 100%; height: 100%; margin: 0; overflow: hidden; }
button { color: inherit; font: inherit; }
.auth-gate { position: fixed; z-index: 5000; inset: 0; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 25%, #15252d 0, #090c0f 58%); }
.auth-card { display: grid; width: min(420px, 100%); gap: 18px; padding: 32px; border: 1px solid #344550; background: rgba(12,17,21,.97); box-shadow: 0 24px 80px rgba(0,0,0,.65); }
.auth-card h1 { margin: 0; color: #f0f4f7; font-size: 25px; letter-spacing: -.02em; }
.auth-card p { margin: 0; color: #93a1ab; font-size: 13px; line-height: 1.55; }
.auth-kicker { color: #68bce5; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.auth-card label { display: grid; gap: 7px; color: #82909a; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.auth-card input { height: 38px; padding: 0 11px; border: 1px solid #3a4852; outline: 0; color: #eaf0f4; background: #090d10; font: 13px "IBM Plex Mono", monospace; }
.auth-card input:focus { border-color: #5ca3c7; box-shadow: 0 0 0 2px rgba(92,163,199,.14); }
.auth-card button { height: 40px; border: 1px solid #55783e; color: #ddecce; background: #1c2d16; font-weight: 850; letter-spacing: .08em; cursor: pointer; }
.auth-card small { color: #5f6d76; text-align: center; }
.clip-job-tray { position: fixed; z-index: 1200; right: 12px; bottom: 34px; display: grid; width: min(330px, calc(100vw - 24px)); max-height: calc(100vh - 80px); gap: 7px; overflow: auto; }
.clip-job-tray[hidden] { display: none; }
.clip-job { padding: 10px; border: 1px solid #34414b; background: rgba(12,17,21,.97); box-shadow: 0 8px 26px rgba(0,0,0,.5); }
.clip-job header { display: flex; justify-content: space-between; gap: 12px; color: #8c9aa4; font-size: 9px; letter-spacing: .07em; }
.clip-job header strong { color: #e2b661; }
.clip-job.ready { border-color: #35634f; }
.clip-job.ready header strong { color: #75d0a5; }
.clip-job.failed { border-color: #68383d; }
.clip-job.failed header strong, .clip-job.failed p { color: #df6971; }
.clip-job p { margin: 8px 0 0; font-size: 10px; line-height: 1.4; }
.clip-job video { width: 100%; margin-top: 9px; background: #000; }
.clip-job a, .clip-job button { display: inline-block; margin-top: 8px; padding: 5px 8px; border: 1px solid #3e5d4c; color: #86cfaa; background: #101b14; font-size: 9px; text-decoration: none; letter-spacing: .07em; cursor: pointer; }
.analysis-progress { position: fixed; z-index: 1000; top: 42px; left: 50%; width: min(560px, calc(100vw - 32px)); padding: 10px 12px; transform: translateX(-50%); border: 1px solid #35634f; background: rgba(10,17,14,.97); box-shadow: 0 12px 38px rgba(0,0,0,.6); }
.analysis-progress[hidden] { display: none; }
.analysis-progress-copy { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; margin-bottom: 7px; font-size: 10px; }
#analysis-progress-stage { color: #75d0a5; font-weight: 800; letter-spacing: .1em; }
#analysis-progress-message { overflow: hidden; color: #b9c8c1; text-overflow: ellipsis; white-space: nowrap; }
#analysis-progress-count { color: #71827a; }
.analysis-progress-track { height: 4px; overflow: hidden; background: #17231e; }
#analysis-progress-fill { width: 0; height: 100%; background: #57bd8c; transition: width .18s ease; }
.analysis-progress.indeterminate #analysis-progress-fill { width: 34%; animation: analysis-progress-slide 1.1s ease-in-out infinite; }
@keyframes analysis-progress-slide { from { transform: translateX(-110%); } to { transform: translateX(300%); } }
.workstation {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(560px, 1fr);
  grid-template-rows: 36px 1fr 24px;
  width: 100%; height: 100%; background: #0a0d10;
}
.workstation:focus { outline: none; }
.command-bar { grid-column: 1 / 3; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-bottom: 1px solid #29313a; background: #11161b; letter-spacing: .04em; }
.command-bar strong { color: #f0f4f8; }
.import-menu { position: relative; }
.import-button { padding: 4px 8px; border: 1px solid #5f4a24; color: #e5b45b; background: #1c1811; font-size: 10px; letter-spacing: .06em; }
.import-dropdown { position: absolute; z-index: 50; top: calc(100% + 5px); left: 0; display: grid; width: 190px; padding: 4px; border: 1px solid #414c56; background: #10151a; box-shadow: 0 12px 30px rgba(0,0,0,.55); }
.import-dropdown button { padding: 7px 9px; border: 0; color: #c8d0d6; background: transparent; text-align: left; font-size: 10px; letter-spacing: .04em; }
.import-dropdown button:hover { color: #fff; background: #202a33; }
.reanalyze-button { padding: 4px 8px; border: 1px solid #385942; color: #78c897; background: #101b14; font-size: 10px; letter-spacing: .06em; }
.reanalyze-button:disabled { color: #59635d; border-color: #29332d; background: #111612; }
.status-ok { margin-left: auto; color: #53b58b; }
.left-pane, .center-pane { min-width: 0; min-height: 0; overflow: hidden; }
.left-pane { border-right: 1px solid #29313a; display: flex; flex-direction: column; background: #0e1216; }
.center-pane { display: grid; grid-template-rows: minmax(340px, 1fr) 190px 42px; }
.panel { border-bottom: 1px solid #29313a; background: #0c1014; min-width: 0; min-height: 0; }
.section-header { height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; background: #141a20; border-bottom: 1px solid #29313a; color: #98a4af; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.count { min-width: 24px; text-align: right; color: #65717d; }
.table-block { min-height: 100px; border-bottom: 1px solid #29313a; overflow: hidden; }
.table-block.players { min-height: 156px; flex: 1; }
.table-block.engagements { flex: 1; }
.rows { height: calc(100% - 26px); overflow: auto; }
.row { display: grid; grid-template-columns: 1fr 90px 44px; width: 100%; min-height: 26px; align-items: center; gap: 6px; padding: 0 8px; border: 0; border-bottom: 1px solid #182028; background: transparent; text-align: left; cursor: default; }
.row:hover { background: #151c22; }
.row.selected { background: #193143; box-shadow: inset 2px 0 #4aa7d8; }
.player-row { grid-template-columns: minmax(0, 1fr) 30px 58px; cursor: pointer; }
.player-row:disabled { cursor: wait; opacity: .58; }
.player-browser-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-browser-team { color: #82909c; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 10px; text-align: right; }
.player-browser-status { color: #6c8799; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 8px; text-align: right; }
.player-row.selected .player-browser-status { color: #73c7eb; }
.number { font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-variant-numeric: tabular-nums; text-align: right; }
.map-panel { position: relative; display: grid; grid-template-rows: 30px 1fr; }
.map-toolbar { position: relative; display: flex; align-items: center; gap: 16px; padding: 0 8px; background: #10161b; border-bottom: 1px solid #29313a; }
.map-toolbar button { padding: 3px 7px; border: 1px solid #34414c; background: #151c22; font-size: 10px; }
.map-current-score { position: absolute; left: 50%; display: flex; align-items: center; gap: 7px; transform: translateX(-50%); pointer-events: none; font-size: 12px; font-weight: 850; letter-spacing: .03em; }
.map-score-t { color: #e1b75e; text-shadow: 0 0 5px rgba(225,183,94,.25); }
.map-score-ct { color: #68bce5; text-shadow: 0 0 5px rgba(104,188,229,.25); }
.map-score-separator { color: #596673; font-size: 10px; }
.map-controls { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.map-controls button { min-width: 25px; height: 20px; padding: 0 5px; cursor: pointer; }
.map-controls button:hover { color: #f0d878; border-color: #746331; }
.heatmap-status { color: #d39945; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.heatmap-status.error { color: #df6971; }
.heatmap-toggle { color: #c08d45; border-color: #5d4729 !important; background: #1d1710 !important; }
.heatmap-toggle.active { color: #ffd681; border-color: #a27634 !important; box-shadow: inset 0 -2px #d69d45; }
.prediction-toggle { color: #83909b; border-color: #35414c !important; background: #11171c !important; }
.prediction-toggle.active { color: #e4bb70; border-color: #8b6734 !important; background: #211a11 !important; box-shadow: inset 0 -2px #d69d45; }
.utility-smoke { color: #aab2b9; }
.utility-flash { color: #f4ecad; }
.utility-he_grenade { color: #8fc769; }
.utility-molotov, .utility-incendiary { color: #e48045; }
.utility-decoy { color: #bd83d4; }
.map-surface { position: relative; container-type: size; display: grid; place-items: center; overflow: hidden; cursor: grab; user-select: none; background-color: #07090a; background-image: linear-gradient(#182028 1px, transparent 1px), linear-gradient(90deg, #182028 1px, transparent 1px); background-size: 32px 32px; }
.map-surface.panning { cursor: grabbing; }
#tactical-map { width: 100%; height: 100%; }
.map-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #65717d; pointer-events: none; }
.map-grid { position: relative; width: min(100cqw, 100cqh); height: min(100cqw, 100cqh); overflow: visible; background: radial-gradient(circle at center, #1a1d21 0, #111315 72%); }
.map-grid.radar { background-color: #080909; background-repeat: no-repeat; background-position: center; background-size: 100% 100%; box-shadow: 0 0 0 1px #283039, 0 12px 48px rgba(0,0,0,.42); }
.map-vector-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.heatmap-cell { pointer-events: none; mix-blend-mode: screen; filter: blur(5px); }
.heatmap-cell.team-t { fill: #ef9138; }
.heatmap-cell.team-ct { fill: #4ea4d5; }
.heatmap-cell.team-other { fill: #d2dae1; }
.planted-bomb-marker { pointer-events: none; filter: drop-shadow(0 0 3px rgba(9,7,3,.95)) drop-shadow(0 0 10px rgba(255,176,51,.8)); animation: bomb-vector-pulse .72s ease-in-out infinite alternate; }
.bomb-ring { fill: #e99b2e; stroke: #ffdc73; stroke-width: 3; }
.bomb-label, .utility-marker-label { text-anchor: middle; dominant-baseline: central; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 900; pointer-events: none; }
.bomb-label { fill: #211303; }
.bomb-timer { fill: #ffe2a0; stroke: rgba(14,9,3,.96); stroke-width: 4; paint-order: stroke; text-anchor: middle; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 13px; font-weight: 900; pointer-events: none; }
.player-marker { cursor: pointer; overflow: visible; }
.player-hit-target { fill: transparent; }
.player-dot { fill: #a9b4bd; stroke: #0b0d0f; stroke-width: 3; filter: drop-shadow(0 0 1px rgba(255,255,255,.35)); }
.player-marker.team-2 .player-dot { fill: #d6a44a; }
.player-marker.team-3 .player-dot { fill: #5ca3c7; }
.player-marker.selected .player-dot { stroke: #f4efe5; stroke-width: 4; filter: drop-shadow(0 0 7px rgba(244,239,229,.65)); }
.player-marker.dead { opacity: .38; }
.player-flash-indicator { pointer-events: none; color: #fff4a8; }
.player-flash-eye { fill: rgba(18,20,19,.82); stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 2px rgba(255,243,157,.82)); }
.player-flash-halo { fill: rgba(255,249,205,.68); stroke: #fff8c6; stroke-width: 1.25; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px rgba(255,246,177,.72)); }
.player-marker.full-blind .player-dot { fill: #fff9d7 !important; stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 5px rgba(255,248,190,.9)); }
.player-marker.full-blind .player-flash-eye { fill: rgba(255,252,221,.95); color: #fff; stroke-width: 2.25; filter: drop-shadow(0 0 4px #fff2a2); }
.player-flash-label { fill: #fff9cb; stroke: rgba(16,14,8,.98); stroke-width: 3; paint-order: stroke; text-anchor: middle; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 9px; font-weight: 900; letter-spacing: .05em; }
.view-direction { stroke: rgba(244,239,229,.78); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.shot-trace { stroke-width: 3; stroke-linecap: round; pointer-events: none; filter: drop-shadow(0 0 2px rgba(0,0,0,.9)); }
.shot-trace-clear { stroke: #f4db72; }
.shot-trace-wallbang { stroke: #ef704f; stroke-dasharray: 8 3; }
.shot-trace-smoke { stroke: #70c5e8; stroke-dasharray: 5 3; }
.shot-trace-wall-smoke { stroke: #d783e6; stroke-dasharray: 8 3 2 3; }
.shot-trace-confirmed { stroke: #ffef85; stroke-width: 2.5; }
.shot-fire-pulse { pointer-events: none; transform-box: fill-box; transform-origin: center; animation: shot-fire-pulse .3s ease-out both; }
.shot-fire-ring { fill: rgba(255, 219, 102, .16); stroke: #ffe27a; stroke-width: 2.5; }
.shot-fire-spark { fill: none; stroke: #fff0a1; stroke-width: 2.5; stroke-linecap: round; }
.shot-impact { fill: #fff2b2; stroke: #17120a; stroke-width: 1.5; pointer-events: none; }
.shot-hit-marker { color: #ffef85; pointer-events: none; filter: drop-shadow(0 0 3px rgba(0,0,0,.95)); }
.shot-hit-marker.killed { color: #ff6f69; }
.shot-hit-ring { fill: rgba(15,12,6,.28); stroke: currentColor; stroke-width: 2.5; }
.shot-hit-cross { stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.shot-hit-label { fill: currentColor; stroke: rgba(8,8,8,.95); stroke-width: 3; paint-order: stroke; text-anchor: middle; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 10px; font-weight: 900; }
.shot-legend { display: flex; gap: 5px; font-size: 8px; font-weight: 800; }
.shot-legend span::before { display: inline-block; width: 12px; height: 2px; margin-right: 3px; vertical-align: middle; content: ""; background: currentColor; }
.shot-legend .shot-clear { color: #f4db72; }
.shot-legend .shot-wall { color: #ef704f; }
.shot-legend .shot-smoke { color: #70c5e8; }
.shot-legend .shot-confirmed { color: #ffef85; }
.shot-legend .shot-fired { color: #d5a94a; }
.utility-path { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; opacity: .86; }
.utility-path.utility-smoke { stroke: #aab2b9; }
.utility-path.utility-flash { stroke: #f4ecad; }
.utility-path.utility-he_grenade { stroke: #8fc769; }
.utility-path.utility-molotov, .utility-path.utility-incendiary { stroke: #e48045; }
.utility-path.utility-decoy { stroke: #bd83d4; }
.utility-marker { pointer-events: none; color: #c4cbd0; filter: drop-shadow(0 0 2px rgba(5,7,8,.95)); }
.utility-marker-body { fill: rgba(10,13,15,.9); stroke: currentColor; stroke-width: 2; }
.utility-marker-label { fill: currentColor; font-size: 9px; }
.utility-marker.utility-smoke { color: #c4cbd0; }
.utility-marker.utility-flash { color: #fff7bd; }
.utility-marker.utility-he_grenade { color: #a9df7e; }
.utility-marker.utility-molotov, .utility-marker.utility-incendiary { color: #f2a36b; }
.utility-marker.utility-decoy { color: #d49ee8; }
.utility-marker.active.utility-molotov .utility-marker-body, .utility-marker.active.utility-incendiary .utility-marker-body { fill: rgba(190,72,29,.5); }
.utility-marker.active.utility-flash { animation: utility-pulse .5s ease-out infinite alternate; }
.smoke-footprint { pointer-events: none; vector-effect: non-scaling-stroke; }
.smoke-presentation { pointer-events: none; transform-box: view-box; }
.smoke-footprint-smoothed { fill: rgba(145,155,161,.78); stroke: rgba(235,241,244,.9); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(35,40,44,.9)); }
.smoke-he-boundary { pointer-events: none; fill: none; stroke: rgba(235,241,244,.9); stroke-width: 4; vector-effect: non-scaling-stroke; }
.smoke-owner-selected .smoke-footprint-smoothed { fill: rgba(177,190,197,.88); stroke: #f1d978; stroke-width: 3; filter: drop-shadow(0 0 7px rgba(224,196,88,.56)); }
.smoke-owner-selected .smoke-he-boundary { stroke: #f1d978; stroke-width: 6; }
.inferno-owner .inferno-footprint { fill: rgba(241,96,29,.62); stroke: rgba(255,194,80,.96); stroke-width: 2.5; filter: drop-shadow(0 0 5px rgba(255,91,24,.72)); }
.inferno-owner.smoke-owner-selected .inferno-footprint { fill: rgba(255,119,34,.76); stroke: #f1d978; stroke-width: 3.5; filter: drop-shadow(0 0 7px rgba(255,147,48,.82)); }
.smoke-footprint-raw { display: none; fill: rgba(135,146,152,.48); stroke: #f2c14e; stroke-width: 1.5; stroke-linejoin: miter; }
.smoke-debug-voxel { display: none; fill: rgba(82,189,216,.2); stroke: rgba(113,220,244,.9); stroke-width: 1; vector-effect: non-scaling-stroke; }
.smoke-debug-detonation { display: none; fill: none; stroke: #ff5f57; stroke-width: 2; vector-effect: non-scaling-stroke; }
.smoke-debug-level { display: none; fill: #f2c14e; stroke: rgba(8,10,12,.95); stroke-width: 3; paint-order: stroke; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
body.smoke-debug-raw .smoke-footprint-smoothed { display: none; }
body.smoke-debug-raw .smoke-footprint-raw { display: block; }
body.smoke-debug-voxels .smoke-footprint-smoothed { opacity: .18; }
body.smoke-debug-voxels .smoke-footprint-raw,
body.smoke-debug-voxels .smoke-debug-voxel,
body.smoke-debug-voxels .smoke-debug-detonation { display: block; }
body.smoke-debug-raw .smoke-debug-level,
body.smoke-debug-voxels .smoke-debug-level { display: block; }
.player-label { display: none; fill: #eef1f2; stroke: rgba(8,10,12,.96); stroke-width: 5; paint-order: stroke; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 12px; font-weight: 650; pointer-events: none; }
.player-marker:hover .player-label, .player-marker:focus .player-label, .player-marker.selected .player-label { display: block; }
.map-readout { position: absolute; right: 8px; bottom: 8px; z-index: 5; padding: 4px 6px; color: #98a1a8; background: rgba(8,10,12,.86); border: 1px solid rgba(255,255,255,.08); font-size: 10px; }
.timeline { display: grid; grid-template-rows: 26px 1fr 30px; padding-bottom: 4px; }
.timeline-track { position: relative; min-height: 0; margin: 4px 12px; overflow: hidden; border-top: 1px solid #51606e; border-bottom: 1px solid #252e37; background: #0d1318; }
.timeline-cursor { position: absolute; top: 0; bottom: 0; width: 1px; pointer-events: none; background: #e7c45b; box-shadow: 0 0 0 1px #1e1b10; z-index: 3; }
.timeline-highlight-round { position: absolute; inset: 0; z-index: 1; pointer-events: none; border: 1px solid rgba(220,184,73,.38); background: linear-gradient(90deg, rgba(199,158,46,.06), rgba(199,158,46,.015)); box-shadow: inset 3px 0 rgba(229,195,85,.55); }
.timeline-highlight-badge { position: absolute; z-index: 3; top: 4px; right: 5px; padding: 2px 5px; pointer-events: none; color: #ead16d; border: 1px solid rgba(193,157,58,.48); background: rgba(23,20,10,.9); font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 7px; font-weight: 800; letter-spacing: .06em; }
.timeline-lanes { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); pointer-events: none; }
.timeline-lane { display: flex; align-items: center; padding-left: 3px; border-bottom: 1px solid rgba(81,96,110,.28); color: rgba(125,140,153,.34); font-size: 7px; font-weight: 700; letter-spacing: .08em; line-height: 1; }
.timeline-lane:last-child { border-bottom: 0; }
.timeline-lane:nth-child(even) { background: rgba(255,255,255,.012); }
.marker-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.event-marker { position: absolute; top: 2px; display: grid; place-items: center; width: 3px; height: calc(33.333% - 4px); min-height: 4px; padding: 0; transform: translateX(-1px); border: 0; pointer-events: none; color: #07100b; background: #7693a8; font-size: 7px; font-weight: 900; line-height: 1; }
.event-marker.event-kill, .event-marker.event-death { width: 10px; transform: translateX(-5px); }
.event-marker.event-kill { color: #07100b; background: #64c98b; }
.event-marker.event-death { color: #170709; background: #df6971; }
.utility-duration-bar { position: absolute; z-index: 1; min-height: 2px; overflow: hidden; border-radius: 2px; pointer-events: none; opacity: .88; }
.utility-duration-bar::after { position: absolute; top: 0; right: 0; bottom: 0; left: var(--fade-start); content: ""; background-image: repeating-linear-gradient(135deg, transparent 0 3px, rgba(13,19,24,.9) 3px 5px), linear-gradient(to right, transparent, rgba(13,19,24,.76)); }
.utility-duration-bar.utility-smoke { border-top: 1px solid rgba(236,241,244,.9); background: rgba(161,171,178,.76); }
.utility-duration-bar.utility-molotov,
.utility-duration-bar.utility-incendiary { border-top: 1px solid rgba(255,184,121,.94); background: rgba(211,101,50,.78); }
.utility-duration-bar.selected-player-utility { z-index: 2; border: 1px solid #f1d978; opacity: 1; box-shadow: 0 0 4px rgba(241,217,120,.72); }
.utility-timeline-marker { position: absolute; z-index: 4; width: 4px; height: calc(33.333% - 4px); min-height: 4px; transform: translateX(-2px); pointer-events: none; opacity: .96; }
.utility-timeline-marker.utility-flash { top: 2px; background: #fff2a1; box-shadow: 0 0 3px rgba(255,242,161,.75); }
.utility-timeline-marker.utility-he_grenade,
.utility-timeline-marker.utility-decoy { top: calc(33.333% + 2px); }
.utility-timeline-marker.utility-he_grenade { background: #9ddd72; box-shadow: 0 0 3px rgba(157,221,114,.6); }
.utility-timeline-marker.utility-decoy { background: #bd83d4; }
.utility-timeline-marker.selected-player-utility { width: 7px; transform: translateX(-3.5px); border: 1px solid #fff2a1; box-shadow: 0 0 5px rgba(241,217,120,.95); }
.combat-timeline-span { position: absolute; top: calc(66.667% + 5px); z-index: 1; height: calc(33.333% - 10px); min-height: 3px; border-radius: 2px; pointer-events: none; background: rgba(180,75,81,.42); box-shadow: inset 0 1px rgba(235,124,129,.38); }
.combat-timeline-span.selected-player-combat { z-index: 2; border-top: 1px solid #f1d978; border-bottom: 1px solid rgba(241,217,120,.72); background: rgba(208,102,85,.78); box-shadow: 0 0 4px rgba(241,217,120,.55); }
.objective-timeline-marker { position: absolute; top: calc(66.667% + 2px); z-index: 2; display: grid; place-items: center; width: 13px; height: calc(33.333% - 4px); min-height: 8px; transform: translateX(-6px); pointer-events: none; font-size: 7px; font-weight: 900; line-height: 1; }
.objective-timeline-marker.objective-bomb_plant { color: #1a1104; background: #e8a84c; }
.objective-timeline-marker.objective-bomb_defuse { color: #041318; background: #62c3dd; }
.objective-timeline-marker.objective-bomb_explode { color: #180804; background: #eb684b; }
.kill-timeline-marker { position: absolute; top: calc(66.667% + 1px); z-index: 3; display: flex; align-items: center; justify-content: center; gap: 2px; min-width: 20px; height: calc(33.333% - 2px); padding: 0 3px; transform: translateX(-50%); border: 1px solid #f09a9e; border-radius: 3px; pointer-events: none; color: #fff0f0; background: #8e343b; box-shadow: 0 0 0 1px rgba(8,10,12,.8); font-weight: 900; line-height: 1; }
.kill-timeline-marker.kill-group { min-width: 35px; color: #fff7e0; border-color: #f1be6b; background: #92393c; }
.kill-timeline-marker.selected-player-kill { z-index: 4; color: #171204; border-color: #fff0a6; background: #e3c65f; box-shadow: 0 0 5px rgba(241,217,120,.88); }
.kill-timeline-marker.selected-player-kill .kill-timeline-count { color: #4c3b07; }
.kill-timeline-icon { display: block; flex: 0 0 auto; width: 17px; height: 17px; overflow: visible; }
.kill-timeline-count { display: block; min-width: 13px; color: #ffd98c; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 8px; font-variant-numeric: tabular-nums; letter-spacing: -.05em; line-height: 1; text-align: right; }
.timeline-region-preview { position: absolute; top: 0; bottom: 0; z-index: 3; border: 1px solid rgba(240,196,91,.9); background: rgba(232,176,56,.16); box-shadow: inset 2px 0 #f0c45b, inset -2px 0 #f0c45b; pointer-events: none; }
.timeline-interaction { position: absolute; inset: 0; z-index: 4; }
.timeline-interaction.scrub { cursor: ew-resize; }
.timeline-interaction.select-region { cursor: crosshair; }
.timeline-footer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0 12px; }
.timeline-transport { display: flex; align-items: center; gap: 4px; }
.transport-button { display: grid; place-items: center; width: 27px; height: 23px; padding: 0; border: 1px solid #34414c; color: #b9c4cd; background: #151c22; cursor: pointer; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 10px; }
.transport-button:hover:not(:disabled) { color: #f0d878; border-color: #746331; background: #211e13; }
.transport-button:disabled { color: #58636d; border-color: #252e36; background: #10151a; cursor: default; }
.transport-button.active { box-shadow: inset 0 -2px #bca348; }
.transport-button.timeline-tool-button { width: auto; min-width: 50px; padding: 0 6px; }
.transport-button.timeline-fit { width: auto; min-width: 31px; padding: 0 5px; }
.transport-hint { margin-left: 4px; color: #596672; font-size: 8px; letter-spacing: .08em; }
.timeline-readout { overflow: hidden; color: #82909d; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.playback-rate { color: #c0a94c; font-size: 10px; }
.timeline-highlight-launch { min-width: 112px; height: 23px; padding: 0 8px; border: 1px solid #8b7232; color: #f0d978; background: #211c0e; cursor: pointer; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 8px; font-weight: 800; letter-spacing: .03em; }
.timeline-highlight-launch:hover:not(:disabled) { color: #fff2a8; border-color: #caa64a; background: #302711; }
.timeline-highlight-launch:disabled { color: #776e4a; border-color: #49412b; cursor: wait; }
.highlight-status { overflow: hidden; margin-left: auto; color: #8e9aa4; text-overflow: ellipsis; white-space: nowrap; }
.highlight-status.running { color: #d7bb55; }
.highlight-status.error { color: #df6971; }
.analysis-stack { height: 100%; display: grid; grid-template-rows: 142px minmax(180px, 1fr) minmax(150px, 210px) 86px; }
.player-summary { overflow: hidden; }
.player-summary-header > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c5d0d9; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: calc(100% - 26px); }
.summary-stat { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 5px; padding: 7px 9px; border-right: 1px solid #202832; border-bottom: 1px solid #202832; background: #0c1014; }
.summary-stat:nth-child(4n) { border-right: 0; }
.summary-stat:nth-child(n+5) { border-bottom: 0; }
.summary-label { overflow: hidden; color: #667481; font-size: 8px; font-weight: 700; letter-spacing: .06em; text-overflow: ellipsis; white-space: nowrap; }
.summary-stat strong { color: #e1e7ec; font-size: 13px; text-align: left; }
.analysis { overflow: auto; }
.inspector { padding: 10px; }
.inspector h3 { margin: 0 0 4px; font-size: 14px; }
.evidence-tick { color: #8f9ba7; margin-bottom: 8px; }
.flags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.flags span { padding: 2px 5px; color: #e5b45b; border: 1px solid #594728; background: #1c1811; }
table { width: 100%; border-collapse: collapse; }
td { padding: 4px 5px; border-bottom: 1px solid #202832; }
.observation-list { display: flex; flex-direction: column; }
.observation-list button { display: flex; justify-content: space-between; padding: 5px 8px; border: 0; border-top: 1px solid #202832; background: transparent; text-align: left; }
.observation-list button:hover { background: #151c22; }
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; height: calc(100% - 26px); background: #29313a; }
.metric-chart { display: grid; grid-template-rows: 24px 1fr 18px; min-width: 0; background: #0c1014; }
.metric-chart-title { padding: 7px 8px 0; color: #65717d; font-size: 9px; letter-spacing: .06em; }
.metric-bars { display: flex; align-items: end; gap: 2px; min-height: 0; padding: 8px; border-top: 1px solid #182028; }
.metric-bar { flex: 1; min-width: 2px; max-width: 12px; background: #4a93b8; border-top: 1px solid #82c4e5; }
.metric-bar:nth-child(4n) { background: #c69743; border-top-color: #e6bd73; }
.metric-scale { display: flex; justify-content: space-between; padding: 2px 8px 0; border-top: 1px solid #182028; color: #65717d; font-size: 9px; }
.empty { display: grid; place-items: center; color: #65717d; min-height: 80px; }
.round-strip { display: flex; align-items: center; gap: 4px; overflow-x: auto; padding: 6px 8px; border-top: 1px solid #29313a; border-bottom: 0; background: #10151a; }
.round-strip-label { position: sticky; left: 0; z-index: 2; flex: 0 0 auto; align-self: stretch; display: flex; align-items: center; padding: 0 8px 0 2px; border-right: 1px solid #29313a; color: #7d8994; background: #10151a; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.round-number { flex: 0 0 auto; min-width: 29px; height: 28px; padding: 0 7px; border: 1px solid #303b45; color: #85919c; background: #141a20; cursor: pointer; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-variant-numeric: tabular-nums; }
.round-number:hover { color: #e3e8ec; border-color: #53616d; }
.round-number.selected { color: #0b1115; border-color: #d6bd61; background: #d6bd61; font-weight: 800; }
.player-overview { flex: 0 0 278px; overflow: hidden; border-bottom: 0; }
.player-overview-empty { display: grid; height: calc(100% - 26px); place-items: center; color: #65717d; }
.player-overview-team { overflow: hidden; color: #71808c; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.player-overview-identity { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 42px; padding: 0 8px; border-bottom: 1px solid #202832; }
.player-overview-identity strong { overflow: hidden; color: #e0e6eb; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.player-overview-identity span { flex: 0 0 auto; color: #80909c; font-size: 9px; }
.player-overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 92px; }
.player-overview-stat { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 4px; padding: 5px 7px; border-right: 1px solid #202832; border-bottom: 1px solid #202832; }
.player-overview-stat:nth-child(4n) { border-right: 0; }
.player-overview-stat:nth-child(n+5) { border-bottom: 0; }
.player-overview-stat span { overflow: hidden; color: #65727e; font-size: 7px; font-weight: 700; letter-spacing: .05em; text-overflow: ellipsis; white-space: nowrap; }
.player-overview-stat strong { color: #dce3e8; font-size: 11px; text-align: left; }
.player-highlight-strip { display: grid; grid-template-rows: 22px minmax(0, 1fr); height: 116px; border-top: 1px solid #29313a; background: #0b0f13; }
.player-highlight-label { display: flex; align-items: center; justify-content: space-between; padding: 0 8px; color: #8f9ba6; font-size: 8px; font-weight: 750; letter-spacing: .07em; }
.player-highlight-rounds { display: flex; align-content: flex-start; gap: 4px; overflow: auto; flex-wrap: wrap; padding: 5px 7px 7px; }
.player-highlight-round { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-width: 72px; height: 27px; padding: 0 6px; border: 1px solid #4a3f28; color: #cbb970; background: #17150f; cursor: pointer; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.player-highlight-round:hover:not(:disabled), .player-highlight-round.selected { color: #fff0a6; border-color: #a88b3d; background: #28210f; }
.player-highlight-round:disabled { opacity: .58; cursor: wait; }
.player-highlight-round strong { color: #e2c85f; font-size: 9px; }
.player-highlight-empty { padding: 6px 2px; color: #596673; font-size: 9px; }
.footer { grid-column: 1 / 3; display: flex; gap: 20px; align-items: center; padding: 0 8px; border-top: 1px solid #29313a; background: #11161b; color: #6f7b87; font-size: 10px; letter-spacing: .04em; }
.dialog-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(3, 5, 7, .76); backdrop-filter: blur(2px); }
.share-code-dialog { width: min(520px, 100%); border: 1px solid #3b4651; background: #10151a; box-shadow: 0 24px 80px rgba(0, 0, 0, .6); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; height: 34px; padding-left: 12px; border-bottom: 1px solid #29313a; color: #e3e9ee; background: #161c22; letter-spacing: .08em; }
.dialog-close { width: 34px; height: 33px; border: 0; border-left: 1px solid #29313a; color: #84919c; background: transparent; font-size: 20px; }
.share-code-dialog p { margin: 0; padding: 12px; border-bottom: 1px solid #202832; color: #8c98a4; line-height: 1.5; }
.share-code-dialog label { display: grid; gap: 6px; padding: 10px 12px 0; color: #8996a2; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.share-code-dialog input { width: 100%; height: 32px; padding: 0 9px; border: 1px solid #35414c; outline: 0; color: #e1e7ec; background: #090d11; font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; font-size: 12px; }
.share-code-dialog input:focus { border-color: #4b91b4; box-shadow: inset 2px 0 #4aa7d8; }
.dialog-note, .dialog-progress, .dialog-error { min-height: 34px; margin: 10px 12px 0; padding: 8px; border: 1px solid #29313a; color: #798692; background: #0c1115; font-size: 10px; line-height: 1.5; }
.dialog-progress { display: flex; align-items: center; gap: 8px; color: #65b895; border-color: #285343; }
.dialog-error { color: #df7d83; border-color: #67343a; background: #1a1013; }
.activity-dot { width: 7px; height: 7px; border-radius: 50%; background: #53b58b; box-shadow: 0 0 0 3px rgba(83, 181, 139, .12); animation: activity-pulse 1.2s ease-in-out infinite; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 12px; }
.dialog-actions button { min-width: 100px; height: 30px; border: 1px solid #35414c; background: #151b20; font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.dialog-actions .fetch-button { color: #9ed2ea; border-color: #356b86; background: #112330; }
.provider-credit { padding: 10px 12px 0; color: #d75a9d; font-size: 9px; font-weight: 700; letter-spacing: .09em; }
.dialog-actions button:disabled, .dialog-close:disabled { cursor: wait; opacity: .55; }
@keyframes activity-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes utility-pulse { from { opacity: .62; } to { opacity: 1; } }
@keyframes bomb-vector-pulse { from { opacity: .72; } to { opacity: 1; } }
@keyframes shot-fire-pulse { from { opacity: 1; } to { opacity: 0; } }
