:root{color-scheme:dark;--bg: #070d14;--surface: #0f1722;--surface-elevated: #152030;--border: rgba(148, 163, 184, .16);--border-strong: rgba(148, 163, 184, .3);--text: #f1f5f9;--text-muted: #94a3b8;--text-dim: #64748b;--emerald: #10b981;--emerald-bright: #34d399;--amber: #f59e0b;--rose: #f43f5e;--sky: #38bdf8;--radius: 14px}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;background:radial-gradient(1000px 540px at 20% -10%,rgba(16,185,129,.12),transparent 60%),var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;min-height:100vh}.mono{font-family:JetBrains Mono,ui-monospace,SFMono-Regular,monospace}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.app-shell{max-width:1220px;margin:0 auto;padding:18px 20px 36px}.topbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--border)}.brand-group{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#10b981,#059669);color:#03130c;font-weight:800;font-size:.95rem;letter-spacing:-.02em;box-shadow:0 6px 20px #10b98140}.brand-title{margin:0;font-size:1.15rem;font-weight:800;letter-spacing:-.02em;line-height:1.15}.brand-sub{margin:2px 0 0;font-size:.78rem;color:var(--text-muted)}.topbar-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.filter-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--surface);color:var(--text);border:1px solid var(--border-strong);border-radius:10px;padding:8px 34px 8px 12px;font-size:.84rem;font-weight:500;font-family:inherit;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-position:right 11px center;background-size:13px 13px;background-repeat:no-repeat}.filter-select:hover{border-color:#34d39980}.score-cluster{display:flex;gap:8px}.hud-pill{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:7px 12px}.hud-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-weight:600}.hud-val{font-size:.9rem;font-weight:700;color:var(--text)}.progress-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0 16px}.progress-dots{display:grid;grid-template-columns:repeat(10,1fr);gap:6px;flex:1}.progress-dot{height:6px;border-radius:999px;background:#94a3b829;transition:background .25s ease,transform .25s ease}.progress-dot.is-current{background:#34d399a6;box-shadow:0 0 10px #34d39973}.progress-dot.is-hit{background:#22c55e}.progress-dot.is-miss{background:#f43f5e}.progress-text{font-size:.8rem;color:var(--text-muted);white-space:nowrap}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:15px 16px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.panel-kicker{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);font-weight:700}.hotkey-note{font-size:.74rem;color:var(--text-dim)}.play-grid{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(320px,1fr);gap:16px;align-items:start}.side-column{display:flex;flex-direction:column;gap:14px}.pitch-panel{display:flex;flex-direction:column}.pitch-shell{width:100%;border-radius:10px;overflow:hidden;border:1px solid rgba(52,211,153,.2);background:#0b1d14}.pitch-svg{display:block;width:100%;height:auto;max-height:64vh}.shooter-pulse{transform-box:fill-box;transform-origin:center;animation:pulseRing 1.9s ease-out infinite}@keyframes pulseRing{0%{opacity:.9;transform:scale(.82)}to{opacity:0;transform:scale(1.65)}}.shot-trajectory{animation:fadeInUp .25s ease-out}@keyframes fadeInUp{0%{opacity:0}to{opacity:1}}.toggle-pill{background:transparent;color:var(--text-muted);border:1px solid var(--border-strong);border-radius:999px;padding:4px 11px;font-size:.74rem;font-weight:600;font-family:inherit;cursor:pointer;transition:all .15s ease}.toggle-pill.is-on{background:#10b98124;border-color:#34d39973;color:var(--emerald-bright)}.pitch-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:12px;font-size:.78rem;color:var(--text-muted)}.legend-item{display:inline-flex;align-items:center;gap:6px}.swatch{width:10px;height:10px;border-radius:999px;display:inline-block}.swatch-shooter{background:#10b981;box-shadow:0 0 0 2px #fff}.swatch-teammate{background:#38bdf8}.swatch-defender{background:#ef4444}.swatch-keeper{background:#f59e0b}.shot-type-badge{font-size:.72rem;font-weight:700;padding:3px 9px;border-radius:999px;background:#94a3b824;color:var(--text)}.shot-type-badge.is-set-piece{background:#f59e0b2e;color:#fbbf24;border:1px solid rgba(245,158,11,.35)}.context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat-tile{background:var(--surface-elevated);border:1px solid var(--border);border-radius:10px;padding:9px 11px;display:flex;flex-direction:column;gap:3px}.stat-label{font-size:.69rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-weight:600}.stat-value{font-size:.92rem;font-weight:700;color:var(--text)}.context-meta-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.pattern-chip{font-size:.74rem;font-weight:600;padding:4px 9px;border-radius:8px;background:#38bdf81f;color:#7dd3fc;border:1px solid rgba(56,189,248,.25)}.flag-chip{font-size:.74rem;font-weight:600;padding:4px 9px;border-radius:8px;background:#f59e0b24;color:#fcd34d;border:1px solid rgba(245,158,11,.28)}.flag-chip.muted{background:#94a3b81a;color:var(--text-muted);border-color:var(--border)}.outcome-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.outcome-btn{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 13px;border-radius:11px;border:1px solid var(--border-strong);background:var(--surface-elevated);color:var(--text);cursor:pointer;font-family:inherit;text-align:left;transition:transform .12s ease,border-color .15s ease,background .15s ease,opacity .15s ease}.outcome-btn:not(:disabled):hover{transform:translateY(-1px);background:#1b2a3e}.outcome-btn.accent-goal:not(:disabled):hover{border-color:#22c55e}.outcome-btn.accent-saved:not(:disabled):hover{border-color:#f59e0b}.outcome-btn.accent-blocked:not(:disabled):hover{border-color:#f43f5e}.outcome-btn.accent-offtarget:not(:disabled):hover{border-color:#94a3b8}.outcome-btn:disabled{cursor:default}.outcome-btn.is-correct{background:#22c55e2e;border-color:#22c55e;box-shadow:0 0 0 1px #22c55e66}.outcome-btn.is-wrong{background:#f43f5e2e;border-color:#f43f5e}.outcome-btn.is-dimmed{opacity:.42}.outcome-btn-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px}.outcome-label{font-size:.95rem;font-weight:700}.outcome-sub{font-size:.72rem;color:var(--text-muted)}.keycap{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:5px;background:#0f172ad9;border:1px solid rgba(148,163,184,.3);color:var(--text-muted);font-family:JetBrains Mono,monospace;font-size:.7rem;font-weight:700}.keycap-light{background:#03130c33;border-color:#03130c4d;color:#03130c}.reveal-panel{display:flex;flex-direction:column;gap:13px;animation:fadeInUp .2s ease-out}.reveal-panel.is-hit{border-color:#22c55e73;background:linear-gradient(180deg,rgba(34,197,94,.08),var(--surface) 45%)}.reveal-panel.is-miss{border-color:#f43f5e73;background:linear-gradient(180deg,rgba(244,63,94,.08),var(--surface) 45%)}.reveal-verdict-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.reveal-verdict-text{display:flex;align-items:center;gap:8px}.verdict-pill{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;padding:3px 8px;border-radius:999px}.verdict-pill.hit{background:#22c55e33;color:#4ade80}.verdict-pill.miss{background:#f43f5e33;color:#fb7185}.verdict-outcome{font-size:.94rem}.height-chip{font-size:.72rem;color:var(--text-muted);background:var(--surface-elevated);border:1px solid var(--border);border-radius:999px;padding:3px 9px}.reveal-match-block{background:var(--surface-elevated);border:1px solid var(--border);border-radius:10px;padding:11px 12px;display:flex;flex-direction:column;gap:4px}.reveal-shooter{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}.shooter-name{font-size:1rem;font-weight:800;color:#fff}.shooter-team{font-size:.8rem;font-weight:600;color:var(--emerald-bright)}.reveal-fixture{font-size:.82rem;color:var(--text);display:flex;flex-wrap:wrap;align-items:center;gap:6px}.dot-sep{color:var(--text-dim)}.reveal-comp{font-size:.76rem;color:var(--text-muted)}.xg-block{display:flex;flex-direction:column;gap:6px}.xg-header{display:flex;align-items:center;justify-content:space-between}.xg-value{font-size:.86rem;font-weight:700}.xg-pct{color:var(--text-muted);font-weight:500}.xg-track{height:7px;background:#94a3b829;border-radius:999px;overflow:hidden}.xg-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#10b981,#34d399)}.primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:11px 16px;border-radius:10px;border:none;background:linear-gradient(135deg,#10b981,#059669);color:#03130c;font-family:inherit;font-size:.92rem;font-weight:800;cursor:pointer;transition:filter .15s ease,transform .12s ease}.primary-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}.status-card{max-width:420px;margin:72px auto;padding:28px;text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);display:flex;flex-direction:column;align-items:center;gap:14px}.spinner{width:30px;height:30px;border-radius:999px;border:3px solid rgba(52,211,153,.2);border-top-color:#34d399;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-text{color:#fb7185;margin:0}.summary-layout{display:flex;flex-direction:column;gap:16px;margin-top:16px}.summary-hero{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:22px;background:linear-gradient(135deg,rgba(16,185,129,.12),var(--surface) 52%)}.summary-score-title{margin:8px 0 12px;font-size:2.3rem;line-height:1;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.summary-score-denom{font-size:1.35rem;color:var(--text-muted);font-weight:600}.summary-accuracy{font-size:.95rem;font-weight:700;color:var(--emerald-bright);margin-left:6px}.summary-kpis{display:flex;gap:10px}.kpi-pill{background:var(--surface-elevated);border:1px solid var(--border);border-radius:10px;padding:8px 12px;display:flex;flex-direction:column;gap:2px}.kpi-label{font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}.kpi-value{font-size:.98rem;font-weight:700}.summary-hero-right{display:flex;flex-direction:column;gap:12px;min-width:280px}.bucket-breakdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.bucket-mini{background:var(--surface-elevated);border:1px solid var(--border);border-radius:10px;padding:8px 6px;text-align:center;display:flex;flex-direction:column;gap:3px}.bucket-mini-name{font-size:.68rem;color:var(--text-muted);font-weight:600}.bucket-mini-score{font-size:.9rem;font-weight:700}.summary-review-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:16px;align-items:start}.review-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.review-row{width:100%;display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:10px;border:1px solid var(--border);background:var(--surface-elevated);color:var(--text);font-family:inherit;cursor:pointer;text-align:left;transition:border-color .15s ease,background .15s ease}.review-row:hover{background:#1b2a3e}.review-row.is-selected{border-color:#34d3998c;background:#10b9811a}.review-status-dot{width:9px;height:9px;border-radius:999px;flex-shrink:0}.review-status-dot.hit{background:#22c55e}.review-status-dot.miss{background:#f43f5e}.review-num{font-size:.76rem;color:var(--text-dim);width:24px;flex-shrink:0}.review-main{display:flex;flex-direction:column;min-width:0;flex:1}.review-player{font-size:.86rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.review-fixture{font-size:.74rem;color:var(--text-muted)}.review-tags{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex-shrink:0}.review-actual{font-size:.78rem;font-weight:700}.review-guessed{font-size:.68rem;color:#fb7185}.inspector-meta{margin-top:12px;display:flex;flex-direction:column;gap:8px}.inspector-numbers{display:flex;flex-wrap:wrap;gap:8px;font-size:.76rem;color:var(--text-muted)}.inspector-numbers span{background:var(--surface-elevated);border:1px solid var(--border);border-radius:8px;padding:4px 8px}@media(max-width:920px){.play-grid,.summary-review-grid{grid-template-columns:1fr}.pitch-svg{max-height:52vh}}
