:root{color:#edf0ed;color-scheme:dark;background:#101713;font-family:system-ui,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0}header{border-bottom:1px solid #3b4b40;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 5%;display:flex}nav,.actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}main{max-width:1440px;margin:auto;padding:2rem 5%}a{color:#c8f4a4}button,.button{color:#14200f;font:inherit;cursor:pointer;background:#c8f4a4;border:0;border-radius:.5rem;min-height:44px;padding:.75rem 1rem;font-weight:650;text-decoration:none;display:inline-block}button:disabled{opacity:.5;cursor:wait}.secondary{color:#edf0ed;background:#26362b}label{margin:.9rem 0;display:block}input:not([type=checkbox]),select{width:100%;color:inherit;font:inherit;background:#17231b;border:1px solid #66796b;border-radius:.4rem;margin-top:.3rem;padding:.7rem;display:block}input[type=checkbox]{vertical-align:middle;width:22px;height:22px;margin-right:.6rem}input[type=range]{min-height:40px;padding:0}h1{font-size:clamp(1.6rem,5vw,2.5rem);line-height:1.2}small,.muted{color:#bac8bd}.notice,.card{overflow-wrap:anywhere;border:1px solid #415646;border-radius:.7rem;margin:1rem 0;padding:1rem}.notice{background:#1e3024}.error{color:#ffb6ac}video{background:#000;border-radius:.5rem;width:100%;max-height:65vh;display:block}.grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:1.5rem;display:grid}.grid>*{min-width:0}.interval{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.75rem;display:grid}progress{width:100%;height:24px}form{max-width:640px}#matches{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem;display:grid}.timeline{flex-wrap:wrap;gap:.4rem;margin:1rem 0;display:flex}.timeline button{font-size:.85rem}output{white-space:pre-wrap;margin:.8rem 0;display:block}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #ffe58b}@media (width<=720px){.grid{grid-template-columns:minmax(0,1fr)}header{align-items:flex-start}nav{justify-content:flex-end}main{padding-top:1rem}}.stage{position:relative}.court-overlay{touch-action:none;position:absolute}.court-overlay line{stroke:#ffe58b;stroke-width:2px;opacity:.9}.court-overlay .draft{fill:none;stroke:#ffe58b;stroke-width:2px;stroke-dasharray:6 4}.handle circle{fill:#ffe58b;stroke:#101713;stroke-width:2px}.handle .hit{fill:#0000;stroke:none;cursor:grab}.handle .hit:focus-visible{fill:#ffe58b40;outline:none}.handle text{fill:#ffe58b;paint-order:stroke;stroke:#101713;stroke-width:3px;font-size:14px;font-weight:700}.warning{background:#2b2516;border-color:#8a6d2a}.metrics{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;margin:1rem 0}.metrics th,.metrics td{text-align:left;vertical-align:top;border-bottom:1px solid #2f4035;padding:.55rem .6rem}.metrics thead th{color:#bac8bd;font-weight:600}.metrics td{white-space:nowrap}.swatch{vertical-align:-1px;border:1px solid #66796b;border-radius:3px;width:.85rem;height:.85rem;margin-right:.45rem;display:inline-block}.heatmap{margin:1rem 0}.heatmap svg{border-radius:.6rem;width:100%;height:auto;display:block}.heatmap .surface{fill:#17231b}.heatmap .cell{fill:#c8f4a4}.heatmap .cell:hover{stroke:#edf0ed;stroke-width:2px}.heatmap .court-line{stroke:#8fa394;stroke-width:2px;pointer-events:none}.heatmap text{fill:#edf0ed;font-size:22px;font-weight:600}.heatmap figcaption{color:#bac8bd;margin-top:.5rem;font-size:.9rem}.ramp{vertical-align:middle;background:linear-gradient(90deg,#c8f4a414,#c8f4a4e6);border:1px solid #415646;border-radius:3px;width:5rem;height:.7rem;display:inline-block}.tiles{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:.75rem;margin:1rem 0;display:grid}.tile{border:1px solid #415646;border-radius:.6rem;padding:.8rem 1rem}.tile span{color:#bac8bd;font-size:.85rem;display:block}.tile strong{font-variant-numeric:tabular-nums;font-size:1.5rem}details{margin:1rem 0}summary{cursor:pointer;align-items:center;min-height:44px;display:flex}@media (width<=720px){.metrics td{white-space:normal}}.ball-overlay{touch-action:none;cursor:crosshair;position:absolute}.ball-overlay .mark circle{fill:none;stroke:#ffe58b;stroke-width:2px}.ball-overlay .mark text{fill:#ffe58b;paint-order:stroke;stroke:#101713;stroke-width:3px;font-size:14px;font-weight:700}.ball-overlay .trail{fill:#ffe58b}.lens{pointer-events:none;border:2px solid #ffe58b;border-radius:50%;width:180px;height:180px;position:absolute}.frame-status{font-variant-numeric:tabular-nums}kbd{font:inherit;border:1px solid #66796b;border-radius:.3rem;padding:.05rem .35rem;font-size:.85em}button[aria-pressed=true]{color:#14200f;background:#ffe58b}.calibrate-tip{background:#1e3024;border:1px solid #415646;border-radius:.6rem;align-items:center;gap:.75rem;margin-bottom:.5rem;padding:.5rem .75rem;display:flex}.calibrate-tip p{margin:0}.corner-guide{flex:none;width:64px;height:58px}.corner-guide polygon{fill:#1e3024;stroke:#edf0ed;stroke-width:1.5px}.corner-guide .net{stroke:#bac8bd;stroke-dasharray:3 2}.corner-guide circle{fill:#26362b;stroke:#bac8bd}.corner-guide text{text-anchor:middle;fill:#edf0ed;font-size:7px;font-weight:700}.corner-guide .done circle{fill:#415646}.corner-guide .next circle{fill:#ffe58b;stroke:#ffe58b}.corner-guide .next text{fill:#14200f}.review{grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);align-items:start;gap:1.25rem;display:grid}.review>*{min-width:0}.screen{z-index:3;background:#101713;padding:.5rem 0 .1rem;position:sticky;top:0}.screen video{max-height:58vh}.legend-note{margin:0 0 .8rem;font-size:.82rem}.player .actions{margin:.6rem 0}.player h2,.clips h2{margin:0;font-size:1.1rem}.track{cursor:pointer;touch-action:manipulation;background:#17231b;border:1px solid #2f4035;border-radius:.4rem;height:34px;margin:.6rem 0 0;position:relative}.segment{border:1px solid #0000;border-radius:2px;min-width:5px;min-height:0;padding:0;position:absolute;top:4px;bottom:4px}.segment[aria-current=true]{z-index:1;top:0;bottom:0;box-shadow:0 0 0 2px #edf0ed}.playhead{pointer-events:none;z-index:2;background:#ffe58b;width:2px;margin-left:-1px;position:absolute;top:-4px;bottom:-4px}.scrub{font-variant-numeric:tabular-nums;margin:.4rem 0}.scrub input{margin-top:0}.motion{--kind:#e8a33d}.rally{--kind:#6fa8ff}.manual{--kind:#c9a6ff}.confirmed{--kind:#7ad67a}.segment.motion,.segment.rally{background:repeating-linear-gradient(135deg,var(--kind) 0 4px,color-mix(in srgb,var(--kind) 45%,#101713) 4px 7px)}.segment.manual{border:2px solid var(--kind);background:#101713}.segment.confirmed{background:var(--kind)}.chip{color:#101713;background:var(--kind);border-radius:.3rem;flex:none;place-items:center;width:1.4rem;height:1.4rem;margin-right:.4rem;font-size:.85rem;font-weight:700;display:inline-grid}.chip.manual{color:var(--kind);border:2px solid var(--kind);background:0 0}.legend{flex-wrap:wrap;gap:.3rem 1rem;margin:.4rem 0 .3rem;padding:0;font-size:.82rem;list-style:none;display:flex}.legend li{align-items:center;display:flex}.active-clip{background:#142019;border:1px solid #415646;border-left:4px solid #edf0ed;border-radius:.6rem;padding:.75rem 1rem}.active-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.25rem 1rem;display:flex}.active-head h2{align-items:center;display:flex}.active-head .muted{font-variant-numeric:tabular-nums}.active-clip .interval label{margin:.5rem 0}.unsaved{color:#ffe58b;font-size:.9rem}.held{color:#ffe58b;margin:.3rem 0 0;font-size:.85rem}.clips{background:#121c16;border:1px solid #2f4035;border-radius:.7rem;flex-direction:column;max-height:calc(100vh - 1.5rem);display:flex;position:sticky;top:.75rem}.clips-head{border-bottom:1px solid #2f4035;padding:.75rem .9rem}.clips-head p{margin:.2rem 0 .5rem;font-size:.88rem}.clips-head .actions{gap:.4rem;margin-top:.5rem}.clips-head button{min-height:36px;padding:.35rem .65rem;font-size:.85rem}.tabs{flex-wrap:wrap;gap:.3rem;display:flex}.clip-list{overscroll-behavior:contain;flex:1;min-height:8rem;margin:0;padding:0;list-style:none;position:relative;overflow-y:auto}.clip-row{border-bottom:1px solid #1f2c24;border-left:4px solid var(--kind);align-items:center;gap:.25rem;padding:0 .5rem 0 .75rem;display:flex}.clip-row input[type=checkbox]{flex:none;margin:0 .2rem 0 0}.clip-row[aria-current=true]{background:#21352a}.clip-row[aria-current=true] .number{color:#101713;background:#edf0ed}.row-main{min-width:0;color:inherit;text-align:left;background:0 0;border-radius:.3rem;flex:1;align-items:center;gap:.5rem;min-height:48px;padding:.45rem .25rem;font-weight:400;display:flex}.row-main .chip{margin:0}.number{text-align:center;font-variant-numeric:tabular-nums;background:#26362b;border-radius:.3rem;flex:none;min-width:1.9rem;padding:.05rem .2rem;font-size:.85rem;font-weight:700}.when{font-variant-numeric:tabular-nums;flex-direction:column;min-width:0;line-height:1.25;display:flex}.when small{color:#bac8bd}.kind{color:#bac8bd;text-align:right;margin-left:auto;font-size:.8rem}.empty{padding:1rem}.below{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:0 1.25rem;margin-top:1rem;display:grid}.export p{margin:.3rem 0}@media (width<=900px){.review{grid-template-columns:minmax(0,1fr)}.screen,.clips{position:static}.clips{max-height:60vh}.kind{display:none}}.match-details summary{flex-wrap:wrap;align-items:baseline;gap:.25rem 1rem;display:flex}.match-details summary h2{margin:0;font-size:1.1rem}.details-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:0 1rem;display:grid}[hidden]{display:none!important}
