@font-face{font-family:Manrope;src:url(/manrope-cyrillic-500-normal.woff2)format("woff2");font-weight:400 600;unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116;font-display:swap}@font-face{font-family:Manrope;src:url(/manrope-latin-500-normal.woff2)format("woff2");font-weight:400 600;font-display:swap}@font-face{font-family:Manrope;src:url(/manrope-cyrillic-800-normal.woff2)format("woff2");font-weight:650 900;unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116;font-display:swap}@font-face{font-family:Manrope;src:url(/manrope-latin-800-normal.woff2)format("woff2");font-weight:650 900;font-display:swap}:root{--bg:#101216;--panel:#191d24;--line:#2a303b;--text:#f3f5f7;--muted:#a1a8b5;--blue:#648dff;--green:#8edbb3;--amber:#e9bf78;--space-xs:8px;--space-sm:12px;--space-md:16px;--space-lg:24px;--radius:16px;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:500 15px/1.55 Manrope,system-ui,sans-serif}button,input,select{font:inherit}a,button,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit;background:none;border:0;padding:0}button:disabled{cursor:wait;opacity:.5}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px}a{color:var(--blue)}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.25;letter-spacing:-1px;font-weight:800;margin:20px 0 16px}h1 span{color:var(--blue)}h2{font-size:20px;line-height:1.35;font-weight:800}h3{font-size:15px;line-height:1.4;font-weight:750}p{color:var(--muted);margin:8px 0 15px;font-size:14px}strong{font-weight:800}.app{max-width:880px;margin:auto;min-height:100dvh}.header{height:96px;justify-content:space-between;padding:24px 22px 12px;gap:12px}.brand,.header{display:flex;align-items:center}.brand{gap:10px;font-size:22px;min-width:0;text-align:left}.brand strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pill{color:var(--blue);border:1px solid #648dff30;background:#648dff12;border-radius:20px;font-size:10px;letter-spacing:.6px;padding:6px 10px;flex-shrink:0}main{padding:0 22px 110px}.hero-copy h1{font-size:38px;line-height:1.2;margin:22px 0 0}.hero-art{display:block;width:100%;height:185px;object-fit:contain;margin:12px auto -3px}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:17px;margin:12px 0;width:100%;text-align:left}.analysis-card{padding:18px}.eyebrow{font-size:10px;letter-spacing:1.4px;font-weight:800;margin:0 0 8px}.analysis-card h2{font-size:22px}.analysis-card p:not(.eyebrow){font-size:13px;margin:7px 0 15px}.button{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:48px;border-radius:13px;background:var(--blue);font-weight:750;font-size:16px;color:var(--bg);padding:12px 16px;transition:background .15s,transform .15s;margin:10px 0}.button:active{transform:scale(.985)}.button.secondary{background:#648dff17;color:#9ab5ff;border:1px solid #648dff25}.icon{display:block;object-fit:contain;flex-shrink:0}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 12px}.section-title h1{margin:0}.section-title h2{font-size:18px}.section-title>button{color:var(--blue);font-size:13px}.match-card{display:flex;align-items:center;gap:12px}.match-card>div:nth-child(2){flex:1 1;min-width:0}.match-card h3{overflow-wrap:anywhere;white-space:normal}.match-card p{margin:4px 0 0;font-size:12px}.icon-tile{padding:12px;background:#648dff12;border-radius:12px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:880px;width:100%;border-top:1px solid var(--line);background:#101216f5;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);display:flex;justify-content:space-around;padding:10px 8px max(14px,env(safe-area-inset-bottom));z-index:10}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:50px;flex:1 1;color:var(--muted);font-size:11px}.bottom-nav .icon{opacity:.6}.bottom-nav button.active{color:var(--blue)}.bottom-nav .active .icon{opacity:1;filter:sepia(1) saturate(6) hue-rotate(183deg)}.lead{font-size:15px;line-height:1.7}.dropzone{display:flex;min-height:220px;flex-direction:column;align-items:center;justify-content:center;gap:14px;border-style:dashed;margin:35px 0 22px}.dropzone strong{overflow-wrap:anywhere;max-width:100%}.dropzone p{font-size:12px;margin:0}.note{font-size:12px;line-height:1.6;color:var(--muted)}progress{width:100%;accent-color:var(--blue)}.empty{padding:30px;text-align:center;margin-top:35px}.empty>.icon{margin:0 auto 20px}.empty h2{margin-bottom:24px}.error{position:fixed;top:12px;left:50%;transform:translateX(-50%);background:#432d29;border:1px solid var(--amber);padding:14px 40px 14px 14px;border-radius:12px;z-index:40;width:calc(100% - 32px);max-width:650px;font-size:14px}.error button{position:absolute;right:14px;top:8px;font-size:24px}.processing{text-align:center;padding:28px 15px}.processing h2{overflow-wrap:anywhere}.spinner{width:80px;height:80px;border:6px solid var(--line);border-top-color:var(--blue);border-radius:50%;margin:0 auto 24px;animation:spin 1s linear infinite}.spinner.done{border-color:var(--green);animation:none}.steps>div{display:flex;gap:14px;align-items:center;margin:12px 0}.step{width:25px;height:25px;border:1px solid var(--line);border-radius:50%;text-align:center;color:var(--muted);font-size:12px;line-height:24px}.step.done{background:var(--blue);color:var(--bg);border:0}.video-wrap{position:relative;line-height:0;border-radius:14px;overflow:hidden;background:#080a0e;margin:15px 0}.video-wrap video{display:block;width:100%;height:auto}.scoreline{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;text-align:center;font-size:12px;color:var(--muted)}.scoreline strong{font-size:25px;color:var(--text)}.match-name,.scoreline span{overflow-wrap:anywhere}.match-name{font-size:26px}.segments{display:flex;padding:3px;gap:3px;border:1px solid var(--line);border-radius:12px;background:var(--panel);margin:12px 0 18px}.segments button{flex:1 1;padding:7px;border-radius:9px;color:var(--muted)}.segments button.active{background:var(--blue);color:var(--bg)}.rally{padding:12px}.rally-seek{display:flex;gap:10px;align-items:center;width:100%;font-size:13px}.rally-seek small{margin-left:auto;color:var(--muted);font-size:10px}.rally-fields{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:13px}.rally-fields label:not(.inline){flex:1 1;font-size:10px}.rally-fields label input{width:100%;min-width:65px}.rally-fields select{width:100%}.rally-fields>button{color:var(--muted);margin-left:auto;font-size:12px}label{display:block;color:var(--muted);font-size:13px;margin:8px 0}input,select{display:block;background:#11151c;border:1px solid #353c49;color:var(--text);padding:10px 12px;border-radius:9px;min-width:0;width:100%;margin:6px 0}input[type=checkbox]{width:17px;height:17px;accent-color:var(--blue);padding:0;margin:0}.inline{display:flex;align-items:center;gap:7px;font-size:12px}.metrics{display:flex;gap:8px}.metrics .card{flex:1 1;text-align:center;padding:16px 5px}.metrics strong{font-size:28px}.metrics p{font-size:11px;margin:5px 0 0}.exercise{display:flex;gap:14px;align-items:center;padding:8px}.exercise img{width:38%;aspect-ratio:1.65;object-fit:cover;border-radius:11px}.exercise p{font-size:12px;margin:7px 0 0}.modal-backdrop{position:fixed;inset:0;background:#000a;z-index:30;display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}.modal{max-width:430px;padding:28px;position:relative}.modal h2{padding-right:16px}.close{position:absolute;right:16px;top:8px;font-size:28px;color:var(--muted)}.text-button{margin:20px auto 0;color:var(--blue)}.download,.text-button{display:block;font-size:13px}.download{text-align:center;padding:15px}.calibration-layer{position:absolute;inset:0;touch-action:none;cursor:crosshair}.corner{position:absolute;width:24px;height:24px;border-radius:50%;background:var(--blue);color:var(--bg);font-style:normal;font-size:13px;text-align:center;line-height:24px;transform:translate(-50%,-50%);pointer-events:none}.corner.green{background:var(--green);color:var(--bg)}.sample-box{position:absolute;border:2px solid var(--blue);background:#648dff20;pointer-events:none}.roster{padding:8px 0;border-bottom:1px solid var(--line)}.roster>span{font-size:12px;color:var(--green)}.roster>button{float:right;color:var(--muted);font-size:12px}.rule-grid{display:flex;gap:10px}.rule-grid label{flex:1 1;min-width:0}.annotation{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:7px;border-bottom:1px solid var(--line)}details summary{cursor:pointer;font-weight:750}.court-panel{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:25px 24px 10px;overflow:hidden}.court{width:135px;aspect-ratio:1/2;position:relative;margin:0 auto 20px;border:1.5px solid #d8dfeb;background:#233040}.net{left:-8%;top:50%;width:116%;border-top:2px solid white}.net,.player{position:absolute}.player{width:17px;height:17px;border-radius:50%;transform:translate(-50%,-50%);background:var(--blue);box-shadow:0 0 0 3px #648dff20;color:var(--bg);font-size:10px;display:grid;place-items:center}.player.team1{background:#b8c0ce;box-shadow:0 0 0 3px #b8c0ce20;color:#101216}.ball{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--amber)}.perspective .court{transform:perspective(600px) rotateX(45deg) rotate(-12deg);margin-top:-10px;margin-bottom:0}.perspective .player{box-shadow:0 5px 6px #0008}.perspective .net{transform:translateY(-12px);height:14px;background:repeating-linear-gradient(90deg,transparent 0 6px,#ffffff55 6px 7px);border-bottom:1px solid #ffffff66}@keyframes spin{to{transform:rotate(1turn)}}@media(min-width:700px){main{padding:0 40px 120px}.header{padding-left:40px;padding-right:40px}.hero-copy h1{font-size:52px}.hero-art{height:240px}.analysis-card{padding:25px}.rally-fields select{width:auto;flex:2 1}.card{margin:16px 0}.bottom-nav{padding-left:80px;padding-right:80px}}@media(prefers-reduced-motion:reduce){*{animation-duration:.001ms!important;transition:none!important}}[hidden]{display:none!important}.court-webgl{width:100%;min-height:340px;touch-action:none}.source-import{margin-top:26px}.source-import>h2{margin-bottom:8px}.source-import>form{margin:20px 0}.source-video{display:flex;align-items:flex-start;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.source-video>img{width:112px;aspect-ratio:16/9;object-fit:cover;border-radius:9px;flex-shrink:0}.source-video>div{flex:1 1;min-width:0}.source-video h3{overflow-wrap:anywhere;line-height:1.5}.source-video p{font-size:12px;margin:7px 0}.source-import-button{color:var(--blue);font-weight:750;padding:8px 0;min-height:44px;text-align:left}.source-import-button:hover{color:var(--text)}.source-error{color:var(--amber);padding:12px 0}.source-import input{caret-color:var(--blue)}.source-import ::selection{background:var(--blue);color:var(--bg)}@media(max-width:420px){.source-video{gap:12px}.source-video>img{width:88px}.source-video h3{font-size:13px}}.sheet-participants{margin:18px 0 24px;padding-bottom:18px;border-bottom:1px solid var(--line)}.sheet-participants>summary{color:var(--blue);padding:8px 0;line-height:1.5}.sheet-participants>p{margin-top:12px}.sheet-filters{display:grid;grid-template-columns:1.4fr 1fr .7fr;gap:10px}.sheet-filters>label{min-width:0}.sheet-match{padding:16px 0;border-bottom:1px solid var(--line)}.sheet-match>p{font-size:12px;margin:0 0 10px}.sheet-teams{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sheet-teams span{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.sheet-teams strong{font-size:14px;overflow-wrap:anywhere}.sheet-selection{margin-top:18px}.sheet-selection>a{font-size:13px}.sheet-participants input{caret-color:var(--blue)}@media(max-width:420px){.sheet-filters{grid-template-columns:1fr 1fr}.sheet-filters>label:last-child{grid-column:1/-1}.sheet-filters input[type=date]{min-height:44px}}.source-table-settings{margin:14px 0}.source-table-settings>summary,.video-match-metadata>summary{font-size:13px;min-height:44px;padding:10px 0;color:var(--blue)}.video-match-metadata{margin:8px 0}.video-metadata-row{padding:12px 0;border-bottom:1px solid var(--line)}.video-metadata-row>strong{font-size:13px;overflow-wrap:anywhere}.video-metadata-row>a{font-size:12px}.video-metadata-row>p{font-size:11px}.video-match-metadata>summary{overflow-wrap:anywhere}.source-video .source-added{display:flex;align-items:center;gap:.4rem;color:var(--muted);font-size:.8rem;font-weight:600}.source-video .source-added.completed{color:#86d5b4}.source-video .source-added.failed{color:#ffb8b8}.court-projection{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.detected-player-box{position:absolute;display:block;border:1px solid var(--green);font-style:normal;pointer-events:none}.detected-player-box span{position:absolute;left:0;top:0;background:#101216b3;color:var(--green);font-size:10px;line-height:1.4;padding:1px 3px;white-space:nowrap}.detected-player-box.referee{border-color:var(--amber)}.detected-player-box.referee span{color:var(--amber)}.library-crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font-size:12px;margin:8px 0 16px;color:var(--muted)}.library-crumbs button{color:var(--blue);min-height:44px;text-align:left}.library-crumbs [aria-current]{color:var(--text)}.library-recordings{margin-top:24px}.library-recordings summary{min-height:44px}.library-recordings h3{overflow-wrap:anywhere}.roster-panel{margin:24px 0}.roster-panel .source-import-button{display:block;min-height:44px}.library-teams{color:var(--text);font-weight:700;overflow-wrap:anywhere}