:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e9edf5;background:#111827;font-synthesis:none;text-rendering:optimizeLegibility;--bm-bg: #111827;--bm-surface: #1B2535;--bm-surface-raised: #253247;--bm-border: #354258;--bm-text: #E9EDF5;--bm-muted: #A8B3C7;--bm-purple: #7772F2;--bm-purple-hover: #918CFF;--bm-orange: #F56635;--bm-orange-hover: #FF8055;--bm-success: #31B878;--bm-danger: #F05252;--bm-light-bg: #F4F3EF;--bm-light-surface: #FFFFFF;--bm-light-text: #182235;--bm-light-muted: #667085}*{box-sizing:border-box}body{margin:0;background:var(--bm-bg);color:var(--bm-text)}.app-shell{max-width:1600px;margin:0 auto;padding:28px 30px 42px}.topbar,.top-actions,.matchbar,.section-heading,.controls-title,.legend,.legend span,.modal-actions{display:flex;align-items:center}.topbar{justify-content:space-between;gap:24px;margin-bottom:22px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;color:var(--bm-purple)}.topbar h1{font-size:32px;line-height:1.1;margin:6px 0;color:var(--bm-text)}.subhead{margin:7px 0 0;color:var(--bm-muted);font-size:14px}.top-actions{gap:9px;flex-wrap:wrap}.button{border:1px solid var(--bm-border);border-radius:9px;padding:10px 14px;font-size:13px;font-weight:700;cursor:pointer;background:var(--bm-surface-raised);color:var(--bm-text);white-space:nowrap;transition:background .15s,border-color .15s,transform .15s}.button:hover:not(:disabled){border-color:var(--bm-orange);transform:translateY(-1px)}.button.primary{background:var(--bm-orange);border-color:var(--bm-orange);color:#171d2b}.button.primary:hover:not(:disabled){background:var(--bm-orange-hover);border-color:var(--bm-orange-hover)}.button.secondary{background:transparent;border-color:var(--bm-border);color:var(--bm-text)}.button.secondary:hover:not(:disabled){background:var(--bm-surface-raised)}.button:disabled{opacity:.4;cursor:not-allowed}.button.primary{background:#173f35;border-color:#173f35;color:#fff}.button.secondary:hover{background:#f1f5f9}.matchbar,.controls,.court-card,.stats-section{background:var(--bm-surface);border:1px solid var(--bm-border);border-radius:13px}.matchbar{gap:16px;padding:14px 17px;margin-bottom:16px;flex-wrap:wrap}.matchbar label,.control-grid label,.edit-modal label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#475467}.matchbar label:first-child{flex:1;min-width:190px}.matchbar input,.control-grid select,.edit-modal input{border:1px solid #d0d5dd;border-radius:8px;padding:9px 10px;background:#fff;color:#101828;font:inherit;min-width:0}.saved-state{display:flex;align-items:center;gap:7px;margin-left:auto;color:#667085;font-size:12px}.save-dot{width:7px;height:7px;border-radius:50%;background:#16a34a}.controls{padding:17px 18px;margin-bottom:20px}.controls-title{justify-content:space-between;gap:10px;margin-bottom:14px}.controls h2,.section-heading h2,.stats-section h2{font-size:17px;margin:0;color:#182b25}.helper,.section-heading p{font-size:12px;color:#667085;margin:4px 0 0}.control-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.control-grid select{width:100%;margin-top:1px}.legend{gap:17px;flex-wrap:wrap;border-top:1px solid #eaecf0;margin-top:15px;padding-top:13px;font-size:11px;color:#475467}.legend span{gap:6px}.legend-line{display:inline-block;width:23px;height:0;border-top:3px solid #344054}.legend-line.green{border-color:#16864b}.legend-line.red{border-color:#d53a3a}.legend-line.dashed{border-top-style:dashed}.symbol{font-size:18px;line-height:12px}.symbol.x{color:#16864b}.symbol.o{color:#d53a3a}.symbol.dot{color:#16864b;font-size:12px}.message{background:#eef7f0;border:1px solid #cce7d2;color:#225b35;border-radius:8px;padding:10px 13px;font-size:12px;margin:-6px 0 16px}.courts-section{margin:24px 0 30px}.section-heading{justify-content:space-between;gap:14px;margin-bottom:13px}.court-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.court-card{position:relative;padding:16px 16px 17px;min-width:0;transition:border-color .15s}.court-card.selected{border-color:#477b68;box-shadow:0 0 0 2px #477b6817}.court-select{display:block;width:100%;border:0;background:#f3f6f5;color:#335c4e;border-radius:7px;padding:7px 8px;font-size:11px;font-weight:800;cursor:pointer;margin-bottom:8px}.player-heading{display:flex;align-items:center;gap:7px;padding:0 2px 8px}.team-dot{width:8px;height:8px;border-radius:50%;background:#16864b;flex:none}.team-dot[data-team=Opponent]{background:#d53a3a}.player-name{font-size:12px;font-weight:800;border:0;background:transparent;color:#1d2939;min-width:0;width:100%;padding:0}.jersey{font-size:10px;color:#667085;white-space:nowrap}.court{display:block;width:100%;height:auto;cursor:crosshair;touch-action:manipulation}.court-foot{text-align:center;color:#98a2b3;font-size:9px;padding-top:5px}.edit-player{display:block;width:100%;margin-top:8px;background:transparent;border:0;color:#475467;font-size:11px;text-decoration:underline;cursor:pointer;padding:5px}.opponent-section .court-card.selected{border-color:#d53a3a;box-shadow:0 0 0 2px #d53a3a12}.opponent-section .court-select{background:#fbf2f2;color:#963737}.stats-section{padding:18px;margin-top:35px}.stats-table-wrap{overflow-x:auto;border:1px solid #eaecf0;border-radius:9px}.stats-table-wrap table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.stats-table-wrap th{background:#f8fafc;text-align:left;color:#667085;font-size:10px;text-transform:uppercase;letter-spacing:.04em;padding:11px 12px}.stats-table-wrap td{padding:11px 12px;border-top:1px solid #eaecf0}.team-pill{font-size:10px;font-weight:700;padding:4px 7px;border-radius:20px}.team-pill.ours{background:#eaf5ee;color:#22633a}.team-pill.opponents{background:#fff0f0;color:#9c3333}footer{font-size:11px;color:#98a2b3;text-align:center;margin-top:20px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#10182880;display:flex;align-items:center;justify-content:center;padding:18px;z-index:5}.edit-modal{width:min(420px,100%);background:#fff;border-radius:14px;padding:23px;box-shadow:0 18px 60px #0002}.edit-modal h2{margin:0 0 7px;font-size:20px}.edit-modal p{font-size:12px;line-height:1.5;color:#667085;margin:0 0 18px}.edit-modal label{margin:13px 0}.modal-actions{justify-content:flex-end;gap:8px;margin-top:20px}@media(max-width:1100px){.court-grid,.control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.app-shell{padding:17px 12px 30px}.topbar{align-items:flex-start;flex-direction:column}.topbar h1{font-size:28px}.top-actions{width:100%}.button{padding:9px 10px}.matchbar{align-items:stretch}.saved-state{margin-left:0}.controls-title{align-items:flex-start;flex-direction:column}.control-grid{grid-template-columns:1fr 1fr;gap:10px}.court-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.court-card{padding:7px}.section-heading{align-items:flex-start}.section-heading .button{max-width:48%;white-space:normal}.legend{gap:10px}.stats-section{padding:12px}}.court-surface{fill:#303b50;stroke:#8995b0;stroke-width:1.6}.court-line{stroke:#697791;stroke-width:1.5}.net-line{stroke:#b4aef5;stroke-width:3}.button-controls{display:grid;grid-template-columns:1.25fr 1fr 1.6fr 1.4fr;gap:12px;align-items:end}.button-control-group{min-width:0}.button-control-label{display:block;margin-bottom:6px;color:#475467;font-size:12px;font-weight:700}.option-buttons{display:flex;flex-wrap:wrap;gap:6px}.option-button{flex:1;min-width:0;padding:9px 8px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#344054;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.option-button.active.system-in,.option-button.active.outcome-kill{background:#eaf5ee;border-color:#16864b;color:#166534}.option-button.active.system-out,.option-button.active.outcome-error{background:#fff0f0;border-color:#d53a3a;color:#9c3333}.option-button.active.attack-hard{background:#eef2f6;border-color:#475467;color:#344054}.option-button.active.attack-offspeed{background:#fff4d6;border-color:#b7791f;color:#855b13}.option-button.active.outcome-continuation{background:#eef2f6;border-color:#64748b;color:#344054}.charting-player-control{display:flex;flex-direction:column;gap:6px;min-width:0;color:#475467;font-size:12px;font-weight:700}.charting-player-control select{width:100%;min-width:0;padding:9px 10px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#101828;font:inherit}@media(max-width:1100px){.button-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.button-controls{grid-template-columns:1fr}}.brand-name{display:flex;flex-direction:column;align-items:flex-start;gap:6px;line-height:1.2;padding:4px 0;margin-bottom:8px}.brand-name span{font-size:22px;font-weight:800;letter-spacing:1.2px;color:#102a43;white-space:nowrap}.brand-name small{font-size:10px;font-weight:700;letter-spacing:1.8px;line-height:1.4;color:#667085;white-space:nowrap}.dashboard{max-width:1200px;margin:0 auto;padding:28px 32px 48px}.dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:36px 0 24px}.dashboard-header h1{margin:0;color:#102a43;font-size:28px;font-weight:800}.dashboard-header p{margin:8px 0 0;color:#667085;font-size:14px}.dashboard-matches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.dashboard-match-card{min-width:0;padding:16px;border:1px solid #e4e7ec;border-radius:14px;background:#fff;box-shadow:0 3px 10px #102a430a}.dashboard-court-preview{width:100%;aspect-ratio:3 / 4;min-height:0;overflow:hidden;border-radius:10px;background:#f5f7fa;display:flex;align-items:center;justify-content:center}.dashboard-match-card h2{overflow-wrap:anywhere;margin:0 0 6px;color:#102a43;font-size:17px}.dashboard-match-card p{margin:0 0 16px;color:#667085;font-size:13px}.dashboard-match-card button,.dashboard-header button{padding:10px 14px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#344054;font-size:13px;font-weight:700;cursor:pointer}.dashboard-match-card button{width:100%}.dashboard-match-card button:hover,.dashboard-header button:hover{background:#f2f4f7}.dashboard-empty{padding:32px 16px;border:1px dashed #d0d5dd;border-radius:12px;color:#667085;text-align:center}.dashboard-new-match{margin-top:24px;padding:13px 20px;border:0;border-radius:9px;background:#102a43;color:#fff;font-size:14px;font-weight:700;cursor:pointer}.dashboard-new-match:hover{background:#1d4567}@media(max-width:800px){.dashboard-matches{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.dashboard{padding:22px 16px 36px}.dashboard-matches{grid-template-columns:1fr}.dashboard-header{align-items:flex-start}.dashboard-header h1{font-size:24px}}.back-to-dashboard{margin-top:20px;padding:9px 0;border:0;background:transparent;color:#475467;font-size:13px;font-weight:700;cursor:pointer}.back-to-dashboard:hover{color:#167d75}.analysis-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:12px}.analysis-option{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;min-height:220px;padding:24px;border:1px solid #e4e7ec;border-radius:14px;background:#fff;color:#102a43;text-align:left;box-shadow:0 3px 10px #102a430a}button.analysis-option{cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}button.analysis-option:hover{border-color:#167d75;box-shadow:0 6px 18px #102a4317;transform:translateY(-2px)}.analysis-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:#eaf3ed;color:#167d75;font-size:25px;font-weight:700}.analysis-option strong{font-size:18px}.analysis-option>span:not(.analysis-icon){color:#667085;font-size:13px;line-height:1.6}.analysis-coming-soon{background:#f9fafb;color:#667085}.analysis-coming-soon .analysis-icon{background:#eaecf0;color:#667085}.analysis-coming-soon small{margin-top:auto;padding:5px 9px;border-radius:20px;background:#eaecf0;color:#475467;font-size:11px;font-weight:700}@media(max-width:800px){.analysis-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.analysis-options{grid-template-columns:1fr}.analysis-option{min-height:170px;padding:20px}}.dashboard-match-actions .delete-match-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;color:#dc2626;background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;cursor:pointer;flex-shrink:0}.dashboard-match-actions .delete-match-button:hover{color:#b91c1c;background-color:#fee2e2;border-color:#f87171}.dashboard-match-card{display:flex;flex-direction:column;gap:12px;padding:18px;border:1px solid #e4e7ec;border-radius:14px;background:#fff;box-shadow:0 2px 6px #1018280a;transition:box-shadow .2s ease,transform .2s ease}.dashboard-match-card:hover{box-shadow:0 8px 20px #10182814;transform:translateY(-2px)}.dashboard-match-card h2{margin:2px 0 0;color:#102a43;font-size:18px;line-height:1.35}.dashboard-match-card>p{margin:-6px 0 4px;color:#667085;font-size:13px}.dashboard-court-preview{min-height:150px;border-radius:10px;overflow:hidden;background:#f5f7fa}.dashboard-match-actions{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:12px;border-top:1px solid #eaecf0}.dashboard-match-actions .open-match-button{flex:1;min-height:40px;padding:10px 14px;border-radius:8px;font-weight:600}.dashboard-match-actions .delete-match-button{flex:0 0 36px;width:36px;height:36px;margin-left:auto;border-radius:8px}.dashboard-court-preview{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;padding:10px;width:100%;aspect-ratio:3 / 4;min-height:0;box-sizing:border-box;overflow:hidden;border-radius:10px;background:#f5f7fa}.mini-court{display:block;width:auto;height:100%;max-width:100%;min-height:0;flex:1}.mini-court-label{color:#475467;font-size:11px;font-weight:600;text-align:center}.profile-card{display:flex;align-items:center;gap:24px;width:100%;box-sizing:border-box;margin:0 0 32px;padding:26px 30px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 4px 16px #1018280a}.profile-avatar{width:88px;height:88px;flex:0 0 88px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:#edf2f7;color:#243b53;font-size:25px;font-weight:700;letter-spacing:1px}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-info{flex:1;min-width:0}.profile-info h2{margin:0 0 6px;color:#172b4d;font-size:22px;font-weight:700}.profile-info p{margin:0 0 5px;color:#526477;font-size:14px}.profile-info>span{color:#778496;font-size:13px}.profile-edit-button,.profile-actions button{padding:10px 16px;border:1px solid #d5dce5;border-radius:8px;background:#fff;color:#243b53;font-size:13px;font-weight:600;cursor:pointer;transition:background .2s ease,border-color .2s ease}.profile-edit-button{display:block;margin-top:14px}.profile-edit-button:hover,.profile-actions button:hover{background:#f3f6fa;border-color:#9aaabd}.profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%}.profile-fields label{display:flex;flex-direction:column;gap:7px;color:#344054;font-size:13px;font-weight:600}.profile-fields input{width:100%;min-width:0;box-sizing:border-box;padding:11px 12px;border:1px solid #d5dce5;border-radius:8px;background:#fff;color:#172b4d;font:inherit;font-weight:400}.profile-fields input:focus{outline:2px solid rgba(36,59,83,.15);border-color:#526477}.profile-actions{display:flex;align-items:center;gap:10px;grid-column:1 / -1}.profile-actions button:first-child{background:#243b53;border-color:#243b53;color:#fff}.profile-actions button:first-child:hover{background:#172b4d}.profile-actions button:disabled{opacity:.6;cursor:not-allowed}@media(max-width:600px){.profile-card{align-items:flex-start;gap:16px;padding:20px}.profile-avatar{width:64px;height:64px;flex-basis:64px;font-size:20px}.profile-info h2{font-size:19px}.profile-fields{grid-template-columns:1fr}.profile-actions{flex-wrap:wrap}}:root{--bm-purple: #514bdf;--bm-purple-hover: #423bc5;--bm-orange: #f56635;--bm-bg: #101725;--bm-surface: #192438;--bm-surface-raised: #202d43;--bm-border: #303d52;--bm-text: #f3f5fb;--bm-muted: #aab4c8}body{background:var(--bm-bg);color:var(--bm-text)}.app-shell,.brand-name span{color:var(--bm-text)}.brand-name small{color:var(--bm-muted)}.dashboard-header h1,.dashboard-match-card h2{color:var(--bm-text)}.dashboard-header p,.dashboard-match-card p{color:var(--bm-muted)}.profile-card,.dashboard-match-card,.analysis-option,.edit-modal,.stats-section{background:var(--bm-surface);color:var(--bm-text);border-color:var(--bm-border);box-shadow:0 8px 24px #00000029}.dashboard-new-match,.button.primary{background:var(--bm-purple);border-color:var(--bm-purple);color:#fff}.dashboard-new-match:hover,.button.primary:hover{background:var(--bm-purple-hover)}.dashboard-match-card button,.dashboard-header button,.button.secondary{background:var(--bm-surface-raised);border-color:var(--bm-border);color:var(--bm-text)}.dashboard-match-card button:hover,.dashboard-header button:hover,.button.secondary:hover{background:var(--bm-border)}.dashboard-court-preview{background:var(--bm-surface-raised);border:1px solid var(--bm-border)}.analysis-option strong{color:var(--bm-text)}.analysis-option>span:not(.analysis-icon){color:var(--bm-muted)}.analysis-icon{background:#514bdf2e;color:#aaa6ff}button.analysis-option:hover{border-color:var(--bm-purple);box-shadow:0 8px 24px #514bdf2e}.eyebrow,.back-to-dashboard:hover{color:var(--bm-orange)}input,select,textarea{background:var(--bm-bg);color:var(--bm-text);border-color:var(--bm-border)}input::placeholder{color:#8491a8}input:focus,select:focus,textarea:focus{outline:2px solid var(--bm-purple);outline-offset:1px}.stats-table-wrap{border-color:var(--bm-border)}.stats-table-wrap th{background:var(--bm-surface-raised);color:var(--bm-muted)}.stats-table-wrap td{border-color:var(--bm-border);color:var(--bm-text)}@media(max-width:650px){.dashboard{padding-top:22px}}.controls h2,.section-heading h2,.stats-section h2{color:var(--bm-text)}.helper,.section-heading p,.court-foot,.jersey,.edit-player,.saved-state,.legend{color:var(--bm-muted)}.controls h2,.controls label{color:#e0e4ee}.controls .helper,.controls .legend{color:#b3bdd0}.controls select{background:#2b3549;color:#e5e8f0;border-color:#46516a}.matchbar,.court-card,.stats-section{background:#222b3d;border-color:#354158}.button{background:#2b3549;color:#e0e4ee;border-color:#46516a}.button.secondary:hover{background:#354158}.matchbar label{color:#c4ccdc}.matchbar input,.control-grid select,.edit-modal input{background:#2b3549;color:#e5e8f0;border-color:#46516a}.profile-info h2{color:#e5e8f0}.profile-info p{color:#c4ccdc}.profile-info>span{color:#aab4c8}.profile-edit-button{color:#fff;background:#6258c9;border:1px solid #9289f0;font-weight:600}.app-sidebar{position:fixed;top:0;left:0;bottom:0;width:245px;padding:28px 16px 20px;box-sizing:border-box;display:flex;flex-direction:column;gap:8px;background:#111827;border-right:1px solid #30394a;z-index:100;overflow-y:auto}.sidebar-brand{display:flex;flex-direction:column;gap:5px;padding:0 10px 28px;margin-bottom:8px;border-bottom:1px solid #30394a}.sidebar-brand span{color:#fff;font-size:20px;font-weight:800;letter-spacing:1px}.sidebar-brand small{color:#aab4c8;font-size:10px;letter-spacing:1px}.sidebar-section-label{color:#8995aa;font-size:10px;font-weight:700;letter-spacing:1.2px;padding:16px 10px 6px}.sidebar-link{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid transparent;border-radius:8px;background:transparent;color:#c4ccdc;font-size:14px;text-align:left;cursor:pointer;transition:background .2s ease,color .2s ease}.sidebar-link span{width:18px;display:inline-flex;justify-content:center;font-size:17px}.sidebar-link:hover{background:#20283a;color:#fff}.sidebar-link.active{background:#292650;border-color:#454078;color:#d5d0ff;font-weight:600}.sidebar-bottom{margin-top:auto;padding-top:16px;border-top:1px solid #30394a}.sidebar-link.sidebar-danger{color:#fca5a5}.sidebar-link.sidebar-danger:hover{background:#3b2029;color:#fecaca}.app-shell.dashboard{padding-left:275px;box-sizing:border-box}@media(max-width:760px){.app-sidebar{position:relative;width:100%;height:auto;bottom:auto;border-right:none;border-bottom:1px solid #30394a}.sidebar-bottom{margin-top:12px}.app-shell.dashboard{padding-left:16px}}.dashboard{color:var(--bm-text)}.dashboard-header h1,.dashboard-matches h2{color:var(--bm-text);letter-spacing:-.03em}.dashboard-header p{color:var(--bm-muted)}.dashboard-matches{scroll-margin-top:24px}.match-card,.dashboard-card,.profile-card{border:1px solid var(--bm-border);border-radius:14px;box-shadow:0 8px 24px #00000029}.match-card,.dashboard-card{background:var(--bm-surface);color:var(--bm-text)}.profile-card{background:linear-gradient(135deg,var(--bm-surface-raised),var(--bm-surface));color:var(--bm-text)}.match-card h3,.dashboard-card h3,.profile-card h2,.profile-card h3{color:var(--bm-text)}.match-card p,.dashboard-card p,.profile-card p{color:var(--bm-muted)}.dashboard button:not(.sidebar-link):not(.sidebar-danger){transition:background .15s ease,border-color .15s ease,transform .15s ease}.dashboard button:not(.sidebar-link):not(.sidebar-danger):hover{border-color:var(--bm-orange)}.dashboard .button.primary,.dashboard button.primary{background:var(--bm-orange);border-color:var(--bm-orange);color:#171d2b}.dashboard .button.primary:hover,.dashboard button.primary:hover{background:var(--bm-orange-hover);border-color:var(--bm-orange-hover)}.dashboard-match-card{position:relative;overflow:hidden;border:1px solid var(--bm-border);border-radius:14px;background:var(--bm-surface);color:var(--bm-text);box-shadow:0 8px 24px #00000029;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.dashboard-match-card:before{content:"";position:absolute;top:0;bottom:0;left:0;width:3px;background:var(--bm-orange)}.dashboard-match-card:hover{transform:translateY(-3px);border-color:var(--bm-orange);box-shadow:0 12px 28px #0000003d}.dashboard-match-card h2{color:var(--bm-text)}.dashboard-match-card p{color:var(--bm-muted)}.dashboard-match-card .open-match-button{background:var(--bm-orange);border:1px solid var(--bm-orange);color:#171d2b}.dashboard-match-card .open-match-button:hover{background:var(--bm-orange-hover);border-color:var(--bm-orange-hover)}.dashboard-match-card .dashboard-match-actions{border-top-color:var(--bm-border)}.auth-page{--auth-bg: #20252d;--auth-panel: #292f3a;--auth-border: #414957;--auth-blue: #2457d6;--auth-blue-hover: #3268ed;--auth-cream: #f5f1e8;--auth-muted: #aeb8ca;min-height:100vh;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:40px 24px;background:var(--auth-bg);color:var(--auth-cream)}.auth-page *,.auth-page *:before,.auth-page *:after{box-sizing:border-box}.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);width:100%;max-width:1080px;min-height:620px;overflow:hidden;border:1px solid var(--auth-border);border-radius:20px;background:var(--auth-panel);box-shadow:0 24px 70px #00000040}.auth-brand-panel{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:48px;padding:48px;overflow:hidden;background:linear-gradient(135deg,rgba(36,87,214,.12),transparent 55%),#20252d}.auth-brand-panel:after{content:"";position:absolute;right:-100px;bottom:70px;width:300px;height:300px;border:1px solid rgba(80,119,225,.18);border-radius:50%;box-shadow:0 0 0 35px #5077e10a,0 0 0 70px #5077e108;pointer-events:none}.auth-brand,.auth-brand-name{display:flex;flex-direction:column}.auth-brand{flex-direction:row;align-items:center;gap:14px}.auth-brand-mark{display:grid;place-items:center;flex-shrink:0;width:52px;height:52px;border-radius:10px;background:var(--auth-blue);color:#fff;font-size:34px;font-weight:900;font-style:italic;line-height:1}.auth-brand-name{gap:5px}.auth-brand-name strong{color:var(--auth-cream);font-size:22px;font-weight:800;letter-spacing:2px}.auth-brand-name span{color:var(--auth-muted);font-size:10px;font-weight:600;letter-spacing:1.8px}.auth-brand-message{position:relative;z-index:1;max-width:430px;margin:auto 0}.auth-eyebrow{color:#7297ff;font-size:11px;font-weight:750;letter-spacing:2px}.auth-brand-message h1{margin:20px 0;color:var(--auth-cream);font-size:clamp(38px,4.4vw,56px);font-weight:800;letter-spacing:-2px;line-height:1.08}.auth-brand-message p{max-width:370px;color:var(--auth-muted);font-size:15px;line-height:1.8}.auth-brand-footer{position:relative;z-index:1;color:#7f899a;font-size:10px;font-weight:650;letter-spacing:1.5px}.auth-form-panel{display:flex;align-items:center;justify-content:center;padding:48px;background:var(--auth-panel)}.auth-form{display:flex;flex-direction:column;gap:20px;width:100%;max-width:380px;padding:0;border:none;border-radius:0;background:transparent;box-shadow:none}.auth-form-heading{margin-bottom:4px}.auth-form-heading h2{margin:12px 0 8px;color:var(--auth-cream);font-size:27px;font-weight:750;letter-spacing:-.7px;line-height:1.25}.auth-form-heading p{margin:0;color:var(--auth-muted);font-size:14px;line-height:1.6}.auth-field{display:flex;flex-direction:column;gap:8px;color:var(--auth-cream);font-size:13px;font-weight:600}.auth-field input,.auth-field select{width:100%;min-height:46px;padding:12px 14px;border:1px solid #4b5565;border-radius:8px;outline:none;background:#222731;color:var(--auth-cream);font:inherit;font-weight:400;transition:border-color .18s ease,box-shadow .18s ease}.auth-field input::placeholder{color:#7f899a}.auth-field input:focus,.auth-field select:focus{border-color:#5b83f0;box-shadow:0 0 0 3px #2457d633}.auth-submit{width:100%;min-height:48px;margin-top:4px;border:1px solid var(--auth-blue);border-radius:8px;background:var(--auth-blue);color:#fff;font-size:14px;font-weight:700;cursor:pointer;transition:background .18s ease,transform .18s ease}.auth-submit:hover:not(:disabled){transform:translateY(-1px);background:var(--auth-blue-hover)}.auth-submit:disabled{cursor:wait;opacity:.7}.auth-message{margin:0;padding:12px;border:1px solid var(--auth-border);border-radius:8px;color:var(--auth-cream);font-size:13px;line-height:1.6;overflow-wrap:anywhere}.auth-switch{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;padding-top:18px;border-top:1px solid var(--auth-border);color:var(--auth-muted);font-size:13px;text-align:center}.auth-switch button{padding:4px;border:none;background:transparent;color:#82a2ff;font:inherit;font-weight:700;cursor:pointer}.auth-switch button:hover{color:#fff;text-decoration:underline}@media(max-width:800px){.auth-page{align-items:flex-start;padding:20px 14px}.auth-layout{grid-template-columns:1fr;max-width:520px;min-height:auto}.auth-brand-panel{gap:32px;padding:28px}.auth-brand-message{margin:12px 0}.auth-brand-message h1{font-size:40px}.auth-brand-footer{display:none}.auth-form-panel{padding:32px 28px}}@media(max-width:420px){.auth-brand-panel{padding:24px 20px}.auth-brand-name strong{font-size:19px}.auth-brand-name span{font-size:8px;letter-spacing:1.2px}.auth-form-panel{padding:28px 20px}.auth-form-heading h2{font-size:24px}}.auth-brand-mark{border-radius:8px;background:linear-gradient(145deg,#3268ed,#2457d6);box-shadow:0 6px 18px #2457d64d}.auth-brand-message h1{max-width:400px;letter-spacing:-1.8px}.auth-brand-message p{max-width:340px;line-height:1.7}.auth-layout{border-color:#354158}.auth-form{gap:18px}.option-buttons{display:flex;width:100%;gap:12px}.option-buttons .option-button{flex:1}.court-card,.court-card h3,.court-card h4,.court-card .player-name{color:#f3f5fb}.court-card .player-number{font-size:2rem;font-weight:800;line-height:1;color:#f3f5fb}.court-card .player-name{font-size:.9rem;font-weight:500;color:#aab4c8}.player-heading{display:flex;align-items:center;gap:10px}.player-heading .jersey{font-size:1.6rem;font-weight:800;line-height:1;color:#f3f5fb;flex-shrink:0}.player-heading .player-name{color:#aab4c8;font-size:.9rem;font-weight:500;min-width:0}.section-heading h2{color:#f3f5fb;font-weight:700}.analysis-option strong{color:#fff!important;opacity:1!important;font-weight:800}.analysis-option>span:not(.analysis-icon){color:#cbd5e1}.shot-chart-page-title{color:#f5f1e8;font-size:2rem;font-weight:800;letter-spacing:-.045em;line-height:1.1;margin:4px 0 8px}.back-to-dashboard{margin-top:0;margin-bottom:0}.button-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%}.button-control-group{width:100%;min-width:0}.option-buttons{display:flex;width:100%;gap:8px}.option-buttons .option-button{flex:1;min-width:0;min-height:48px;padding:12px 10px;font-size:.95rem;font-weight:700;border:2px solid #48536a;border-radius:9px;background:#222a39;color:#e0e6f1;cursor:pointer;transition:background .15s ease,border-color .15s ease}.option-buttons .option-button.active{background:#2864f0;color:#fff;border-color:#8bb0ff;box-shadow:0 0 0 2px #2864f038}.option-buttons .option-button:hover{border-color:#8bb0ff}@media(max-width:700px){.button-controls{grid-template-columns:1fr;gap:12px}.option-buttons .option-button{min-height:48px}}.option-buttons .option-button{height:48px;min-height:48px;max-height:48px;padding:0 8px;line-height:1.1;box-sizing:border-box}.option-buttons .option-button{font-size:.82rem;font-weight:600;padding:0 6px;white-space:nowrap}.option-buttons .option-button.system-in{background:#183c32;border-color:#397b60;color:#b9f3d5}.option-buttons .option-button.system-out{background:#48252b;border-color:#98505b;color:#ffd0d5}.option-buttons .option-button.attack-hard{background:#203a68;border-color:#4b79c8;color:#d1e2ff}.option-buttons .option-button.attack-offspeed{background:#48345f;border-color:#8565b1;color:#ead9ff}.option-buttons .option-button.outcome-kill{background:#174b3b;border-color:#328a67;color:#c3f7df}.option-buttons .option-button.outcome-error{background:#542a30;border-color:#b65b68;color:#ffd5da}.option-buttons .option-button.outcome-continuation{background:#4a4023;border-color:#a58b43;color:#f8e8a9}.option-buttons .option-button.active{color:#fff;border:2px solid #ffffff;filter:brightness(1.3);box-shadow:0 0 0 2px #ffffff26}.attack-details-heading{display:flex;align-items:center;justify-content:space-between;width:100%;gap:16px;margin-bottom:16px}.attack-details-heading h2{margin:0}.undo-attack-button{margin-left:auto;flex-shrink:0}.controls{position:sticky;top:0;z-index:20;width:100%;background:#222b3d;padding:16px 20px;border:1px solid #354158;border-radius:12px;box-shadow:none}.button-group{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.player-remove-select{display:flex;align-items:center;justify-content:center;gap:10px;width:fit-content;margin:12px auto;padding:10px 16px;border:2px solid #8b5cf6;border-radius:12px;background:#8b5cf61f;color:inherit;font-weight:600;cursor:pointer;transition:background .2s ease,border-color .2s ease}.player-remove-select:hover{background:#8b5cf638}.player-remove-select input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;margin:0;border:2px solid #8b5cf6;border-radius:6px;background:transparent;cursor:pointer;flex-shrink:0}.player-remove-select input[type=checkbox]:checked{background:#8b5cf6;border-color:#8b5cf6;box-shadow:inset 0 0 0 4px #17152b}.player-remove-select:has(input:checked){background:#8b5cf64d;border-color:#a78bfa}.button-purple{background:#6258c9;border:1px solid #9289f0;color:#fff}.button-purple:hover:not(:disabled){background:#5146b8;border-color:#a59df5}.hitting-percentage-heading,.hitting-percentage-cell{background:#ff914d24;color:#ff914d;font-weight:700}.hitting-percentage-heading{border-bottom:2px solid #ff914d}.hitting-percentage-cell{font-size:1.05rem}.team-stats .stats-table-wrap{overflow-x:auto}.team-stats table{width:100%;table-layout:fixed;border-collapse:collapse}.team-stats th:nth-child(1),.team-stats td:nth-child(1){width:30%}.team-stats th:nth-child(2),.team-stats td:nth-child(2){width:8%}.team-stats th:nth-child(3),.team-stats td:nth-child(3),.team-stats th:nth-child(4),.team-stats td:nth-child(4),.team-stats th:nth-child(5),.team-stats td:nth-child(5){width:12%}.team-stats th:nth-child(6),.team-stats td:nth-child(6){width:14%}
