:root{color-scheme:light;font-family:Inter,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);--bg: #f8fafc;--bg-2: #eef2ff;--text: #0f172a;--muted: #64748b;--card: #ffffff;--card-soft: #f8fafc;--card-soft-2: #f1f5f9;--border: #e2e8f0;--primary: #0f172a;--primary-text: #ffffff;--secondary: #e2e8f0;--secondary-text: #0f172a;--shadow: rgba(15, 23, 42, .08);--badge: #22c55e;--tiebreak: #ef4444}[data-theme=dark]{color-scheme:dark;--bg: #0b0f17;--bg-2: #0f172a;--text: #e2e8f0;--muted: #94a3b8;--card: #111827;--card-soft: #0f172a;--card-soft-2: #111827;--border: #1f2937;--primary: #e2e8f0;--primary-text: #0f172a;--secondary: #1f2937;--secondary-text: #e2e8f0;--shadow: rgba(0, 0, 0, .4);--badge: #22c55e;--tiebreak: #f59e0b}*{box-sizing:border-box}html,body{touch-action:manipulation;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;background:linear-gradient(180deg,var(--bg) 0%,var(--bg-2) 100%);touch-action:manipulation;color:var(--text)}.app{max-width:1100px;margin:0 auto;padding:32px 20px 60px;display:grid;gap:24px;width:100%}.app.match-flow{max-width:1320px}.header{display:flex;flex-direction:column;gap:16px;align-items:flex-start;justify-content:space-between}.header h1{margin:0;font-size:32px}.header p{margin:4px 0 0;color:var(--muted)}.header.compact{margin-bottom:8px}.header-title{display:flex;align-items:center;gap:12px}.header-actions{display:flex;flex-wrap:wrap;gap:12px}.profile-page .header-actions .secondary,.stats-page .header-actions .secondary,.options-page .header-actions .secondary{font-size:20px;padding:16px 28px;min-height:52px;height:52px;line-height:1;display:inline-flex;align-items:center}.brand{display:flex;gap:16px;align-items:center}.brand-logo{width:56px;height:56px;object-fit:contain;border-radius:12px;background:var(--card-soft);padding:6px}.banner{display:flex;align-items:center;justify-content:space-between;background:var(--card);border-radius:18px;padding:18px 20px;box-shadow:0 10px 30px var(--shadow);gap:16px}.banner-logo{width:240px;max-width:60%;height:auto;object-fit:contain}.logo-light{display:none}[data-theme=light] .logo-light{display:block}[data-theme=light] .logo-dark{display:none}.banner-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.match-flow .banner-actions{gap:16px}.banner-actions .primary,.banner-actions .secondary{font-size:20px;padding:16px 28px;min-height:52px;line-height:1;height:52px;display:inline-flex;align-items:center}.icon-only-button{flex:0 0 52px;width:52px;max-width:52px;height:52px;max-height:52px;min-width:52px;min-height:52px;padding:0;justify-content:center;border-radius:50%;color:var(--secondary-text)}.primary.icon-only-button{color:var(--primary-text)}.icon-gear{width:28px;height:28px;display:block;flex-shrink:0;color:var(--secondary-text)}.with-icon{display:inline-flex;align-items:center;gap:8px}.icon-only-button.with-icon{display:flex;align-items:center;justify-content:center;gap:0;padding:0}.icon-save{width:28px;height:28px;display:block;margin:0 auto;flex-shrink:0}.icon-home{width:30px;height:30px;display:block;margin:0 auto;flex-shrink:0}.icon-cross{width:28px;height:28px;display:block;margin:0 auto;flex-shrink:0;color:currentColor}.icon-puntacos{width:32px;height:32px;display:block;margin:0 auto;flex-shrink:0;color:currentColor}.puntacos-nav-button{min-width:92px;width:92px;max-width:92px;min-height:52px;height:52px;max-height:52px;flex:0 0 92px;border-radius:999px;padding:0;display:inline-flex;align-items:center;justify-content:center}.settings-nav-button{min-width:92px;width:92px;max-width:92px;min-height:52px;height:52px;max-height:52px;flex:0 0 92px;border-radius:999px;padding:0}.banner-actions .avatar-button .avatar-badge{width:44px;height:44px}.card{background:var(--card);border-radius:16px;padding:20px;box-shadow:0 10px 30px var(--shadow)}.card-header{display:flex;flex-direction:column;gap:4px;margin-bottom:16px}.flow-section .card-header{margin-bottom:8px}.card-header-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.match-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.context-meta{margin-bottom:8px}.context-inline{flex-wrap:nowrap}.match-level-select{min-width:120px}.match-location-input{width:180px;min-width:160px}.match-type-select{min-width:140px}.card-header p{margin:0;color:var(--muted)}.primary,.secondary,.point-btn{border:none;border-radius:999px;padding:10px 16px;font-weight:600;cursor:pointer;transition:transform .1s ease,box-shadow .1s ease;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;font-size:16px;position:relative;overflow:hidden}button{text-align:center}.primary{background:var(--primary);color:var(--primary-text)}.secondary{background:var(--secondary);color:var(--secondary-text)}.header-actions .secondary[aria-label]{font-size:32px;line-height:1;padding:8px 16px}.match-date-input{width:150px;min-width:150px;flex:0 0 150px;padding:4px 8px;font-size:13px}.new-match .header-actions .primary{font-size:20px;padding:16px 28px;border-radius:999px;min-height:52px;line-height:1;height:52px;display:inline-flex;align-items:center}.primary:disabled,.point-btn:disabled{opacity:.5;cursor:not-allowed}.primary:hover:not(:disabled),.secondary:hover:not(:disabled),.point-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 16px #0f172a26}.primary:active:not(:disabled),.secondary:active:not(:disabled),.point-btn:active:not(:disabled){transform:translateY(1px) scale(.98);box-shadow:0 2px 8px #0f172a33}.primary:after,.secondary:after,.point-btn:after,.flow-btn:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,rgba(255,255,255,.35),transparent 60%);opacity:0;transform:scale(.2);transition:opacity .3s ease,transform .4s ease;pointer-events:none}.primary:active:after,.secondary:active:after,.point-btn:active:after,.flow-btn:active:after{opacity:1;transform:scale(1)}.score-card{display:grid;gap:16px}.score-header{display:flex;align-items:center;justify-content:space-between}.badge{background:var(--badge);color:#fff;padding:6px 12px;border-radius:999px;font-weight:600;font-size:13px}.badge-negative{background:#dc2626}.avatar-badge{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid #ffffff;box-shadow:0 2px 6px #0f172a2e}.banner-avatar{margin-left:12px}.avatar-button{padding:4px}.profile-google-photo{display:flex;align-items:center;gap:10px;overflow-wrap:anywhere}.profile-google-photo-url{font-size:13px;color:var(--muted)}.score-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.score-team{background:var(--card-soft-2);border-radius:12px;padding:16px;border:2px solid transparent}.team-title{display:flex;align-items:center;gap:8px}.team-dot{width:12px;height:12px;border-radius:50%}.score-team h3{margin:0}.score-row{display:flex;justify-content:space-between;align-items:center;font-weight:600;margin-top:8px}.score-value{font-size:24px}.sets-overview{display:flex;flex-wrap:wrap;gap:8px}.set-chip{background:var(--secondary);padding:6px 10px;border-radius:999px;font-size:13px}.tiebreak{margin:0;color:var(--tiebreak);font-weight:600}.players-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.player{background:var(--card-soft);border-radius:12px;padding:16px;display:grid;gap:12px}.player-head{display:grid;gap:8px}.team-color{width:100%;height:6px;border-radius:999px}.player-name{font-weight:600}.player-buttons{display:grid;gap:8px}.point-btn{background:var(--secondary)}.point-btn.winner{background:#38bdf8;color:#0f172a}.point-btn.forced{background:#22c55e;color:#fff}.point-btn.unforced{background:#f97316;color:#fff}.player-stats{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}.input,.select{width:100%;border-radius:10px;border:1px solid var(--border);padding:8px 10px;font-size:14px;background:transparent;color:var(--text)}.new-match .select{font-size:16px}.input::placeholder{color:var(--muted);opacity:1}.select option{color:var(--text);background:var(--card)}select.input option{color:#0f172a;background:#fff}.config-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.config-row:last-child{border-bottom:none}.config-row.switch{align-items:center}.toggle{position:relative;width:46px;height:26px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.toggle input{position:absolute;opacity:0;width:0;height:0}.toggle-track{position:absolute;inset:0;background:var(--secondary);border-radius:999px;border:1px solid var(--border);transition:background .2s ease,border-color .2s ease}.toggle-thumb{position:absolute;width:20px;height:20px;border-radius:999px;background:var(--card);border:1px solid var(--border);left:3px;transition:transform .2s ease,background .2s ease,border-color .2s ease;box-shadow:0 2px 6px #00000026}.toggle input:checked+.toggle-track{background:var(--primary);border-color:var(--primary)}.toggle input:checked~.toggle-thumb{transform:translate(20px);background:var(--primary-text);border-color:var(--primary)}.config-row .hint{margin:4px 0 0;color:var(--muted);font-size:13px}.config-row.hint{color:var(--muted);font-size:14px}.config-grid{display:grid;gap:12px}.stats-profile-grid{position:relative;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;row-gap:10px}.stats-profile-grid:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:1px;background:var(--border);transform:translate(-.5px);pointer-events:none}.stats-page .stats-profile-grid .config-row .label{color:var(--muted);font-size:13px;font-weight:500;letter-spacing:.01em}.stats-page .stats-profile-grid .config-row>span{color:var(--text);font-size:17px;font-weight:700}.config-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.config-col{display:grid}.team-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.team-card{border:3px solid var(--border);border-radius:12px;padding:16px;display:grid;gap:12px}.team-line{display:grid;gap:12px}.team-line-inline{grid-template-columns:120px 1fr;align-items:center}.team-players{display:grid;gap:8px}.flow-code-row{display:flex;align-items:center;gap:10px;width:100%}.flow-code-input{width:220px;flex:0 0 220px}.flow-share-block,.video-card{display:grid;gap:12px}.video-launch-row{display:flex;gap:10px;flex-wrap:wrap}.vmf-video-inline-slot{width:100%}.vmf-video-inline-card{padding:12px}.vmf-video-inline-card .video-player,.vmf-video-inline-card .video-player-embed-wrap{width:100%;max-height:none}.vmf-video-picker-inline{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px}.vmf-video-controls-strip{display:inline-flex;align-items:center;gap:10px;padding:6px 8px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:#080e1c8f}.vmf-video-controls-title{font-size:12px;font-weight:700;color:#dbeafe}.vmf-video-controls-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(96px,auto);gap:8px}.vmf-video-controls-grid .secondary{width:100%;min-width:0;height:34px;padding:0 12px;white-space:nowrap}.vmf-debug-miw{max-width:min(52vw,420px);padding:6px 10px;border-radius:10px;border:1px solid rgba(255,255,255,.18);background:#080e1cbf;color:#bfdbfe;font-size:11px;line-height:1.25;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vmf-video-upload-progress{min-width:min(420px,62vw);display:grid;gap:6px}.vmf-video-upload-progress p{margin:0;font-size:12px;color:#dbeafe}.vmf-video-upload-progress progress{width:100%;height:10px}.vmf-video-upload-error{color:#fecaca;font-size:12px}.vmf-title-sync-badge{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border-radius:999px}.vmf-title-sync-icon{width:22px;height:22px}@media (min-width: 901px){.vmf-shell .app.match-flow{max-width:none;width:100%;padding-left:16px;padding-right:16px}.vmf-video-inline-card{padding:14px}}.vmf-shell .header.compact .header-title h1{font-size:0}.vmf-shell .header.compact .vmf-video-picker-inline-slot{flex:1 1 auto;min-width:0}.vmf-shell .header.compact .vmf-video-picker-inline{justify-content:flex-end;width:100%}.vmf-shell .header.compact .header-title h1:after{content:"Video Match Flow";font-size:32px;white-space:nowrap}.vmf-shell .header.compact{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.vmf-shell .header.compact .header-title{flex:0 0 auto;min-width:0}.vmf-shell .header.compact .header-actions{flex:0 0 auto;flex-wrap:nowrap;gap:8px}@media (max-width: 900px){.vmf-shell .header.compact{flex-direction:column;align-items:flex-start;gap:16px}.vmf-shell .header.compact .header-actions{flex-wrap:wrap;gap:12px}.vmf-shell .header.compact .vmf-video-picker-inline-slot{width:100%;flex:1 1 auto}.vmf-shell .flow-section .card-header-row{flex-wrap:wrap;gap:10px}.vmf-shell .flow-section .card-header-row h2{flex:1 1 100%}.vmf-shell .vmf-video-picker-inline-slot{flex:1 1 auto;min-width:0}.vmf-shell .vmf-video-picker-inline{justify-content:flex-start;width:100%;flex-wrap:wrap}.vmf-video-controls-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto}.vmf-video-controls-grid .secondary{height:32px;padding:0 6px;font-size:12px}.vmf-video-upload-progress{min-width:0}.vmf-video-controls-strip{width:100%;display:grid;grid-template-columns:1fr;gap:8px}.vmf-video-debug-row{width:100%}.vmf-debug-miw{max-width:100%;white-space:normal}.vmf-shell .flow-section .card-header-row .match-date-input{width:132px;min-width:132px;flex:0 0 132px;margin-left:auto}.vmf-shell .header.compact .header-title h1:after{font-size:26px}}.video-player,.video-player-embed-wrap{width:100%;border-radius:14px;background:#000;overflow:hidden}.video-player{display:block;max-height:min(75vh,720px)}.video-player::-webkit-media-controls-fullscreen-button{display:none!important}.video-player::-webkit-media-controls-overflow-button,.video-player::-webkit-media-controls-picture-in-picture-button,.video-player::-webkit-media-controls-remote-playback-button{display:none!important}.video-player::-moz-media-controls-fullscreen-button{display:none!important}.video-player-embed-wrap{position:relative;aspect-ratio:16 / 9}.video-player-embed{position:absolute;inset:0;width:100%;height:100%;border:0}.video-player-youtube-gesture-guard{position:absolute;inset:0;z-index:4}.video-player-wrap{position:relative}.video-player-wrap.is-pseudo-fullscreen{position:fixed;inset:0;z-index:2100;display:flex;align-items:center;justify-content:center;background:#000}.video-player-wrap:fullscreen .video-player,.video-player-wrap:-webkit-full-screen .video-player,.video-player-wrap.is-pseudo-fullscreen .video-player{width:100vw;height:100vh;max-width:100vw;max-height:100vh;object-fit:contain}.video-player-wrap.is-pseudo-fullscreen .video-player-embed-wrap{width:min(100vw,calc(100vh * 16 / 9));height:min(56.25vw,100vh);margin:0 auto}.video-custom-controls{position:absolute;left:10px;right:10px;bottom:10px;z-index:12;pointer-events:auto;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:#080e1cb8;backdrop-filter:blur(4px)}.video-control-btn{border:1px solid rgba(255,255,255,.22);background:#ffffff1a;color:#fff;border-radius:8px;min-width:34px;height:30px;cursor:pointer;font-weight:700}.video-control-btn svg{width:18px;height:18px;display:block;margin:0 auto}.video-seek{flex:1 1 auto;min-width:120px}.video-seek-wrap{position:relative;flex:1 1 auto;min-width:120px;height:44px;display:flex;align-items:center}.video-seek-wrap .video-seek{width:100%}.video-seek-events{position:absolute;inset:0;pointer-events:none;z-index:6}.video-seek-event{position:absolute;top:50%;transform:translate(-50%);width:28px;height:36px;border:0;border-radius:8px;background:transparent;box-shadow:none;pointer-events:auto;cursor:pointer;padding:0;margin-top:-18px;touch-action:manipulation;z-index:1}.video-seek-event:before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:3px;height:18px;border-radius:3px;background:var(--event-color, rgba(255, 255, 255, .9));box-shadow:0 0 0 1px #080e1c61}.video-seek-event.is-game:before{width:6px;box-shadow:0 0 0 1px #080e1c70,0 0 6px color-mix(in srgb,var(--event-color, #ffffff) 32%,transparent)}.video-seek-event:hover,.video-seek-event:focus-visible{outline:none}.video-seek-event:hover:before,.video-seek-event:focus-visible:before{width:5px;background:#fff;outline:none}.video-seek-event-tooltip{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translate(-50%);z-index:6;display:none;white-space:nowrap;padding:6px 10px;border-radius:9px;border:1px solid rgba(255,255,255,.2);background:#080e1ce6;color:#fff;font-size:12px;line-height:1.3;font-weight:700}.video-seek-event:hover .video-seek-event-tooltip,.video-seek-event:focus-visible .video-seek-event-tooltip{display:inline-block}.video-seek-miw{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translate(-50%);z-index:3;white-space:nowrap;padding:4px 8px;border-radius:8px;border:1px solid rgba(255,255,255,.2);background:#080e1ce0;color:#fff;font-size:11px;font-weight:700;line-height:1.2;pointer-events:none}.video-seek-clip-layer{position:absolute;inset:0;pointer-events:none;z-index:8}.video-seek-clip-range{position:absolute;top:50%;height:16px;transform:translateY(-50%);border-radius:999px;background:#f59e0b57;box-shadow:0 0 0 1px #f59e0bb3,inset 0 0 0 1px #ffffff42;pointer-events:none}.video-seek-clip-duration{position:absolute;left:50%;bottom:calc(100% + 6px);transform:translate(-50%);white-space:nowrap;padding:2px 7px;border-radius:7px;border:1px solid rgba(255,255,255,.2);background:#080e1ce0;color:#fff;font-size:11px;line-height:1.2;font-weight:700;pointer-events:none}.video-seek-clip-handle{position:absolute;top:50%;width:10px;height:24px;margin-left:-5px;transform:translateY(-50%);border:0;border-radius:6px;background:#f59e0bf2;box-shadow:0 0 0 1px #080e1c99;cursor:ew-resize;pointer-events:auto;touch-action:none;padding:0;z-index:9}.video-seek-clip-handle.start{border-top-left-radius:7px;border-bottom-left-radius:7px}.video-seek-clip-handle.end{border-top-right-radius:7px;border-bottom-right-radius:7px}.video-seek,.video-volume{-webkit-appearance:none;appearance:none;background:transparent;accent-color:#60a5fa}.video-seek::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:linear-gradient(to right,#ffffff 0%,#ffffff var(--seek-progress, 0%),rgba(255,255,255,.28) var(--seek-progress, 0%),rgba(255,255,255,.28) 100%)}.video-volume::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:#ffffff47}.video-seek::-webkit-slider-thumb,.video-volume::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:14px;height:14px;margin-top:-5px;border-radius:999px;border:2px solid #60a5fa;background:#fff}.video-seek::-moz-range-track{height:4px;border-radius:999px;background:#ffffff47}.video-volume::-moz-range-track{height:4px;border-radius:999px;background:#ffffff47}.video-seek::-moz-range-progress{height:4px;border-radius:999px;background:#fff}.video-volume::-moz-range-progress{height:4px;border-radius:999px;background:#60a5fa}.video-seek::-moz-range-thumb,.video-volume::-moz-range-thumb{width:14px;height:14px;border-radius:999px;border:2px solid #60a5fa;background:#fff}.video-time{color:#fff;font-size:12px;white-space:nowrap}.video-volume{width:88px}.video-rate{border:1px solid rgba(255,255,255,.28);background:#080e1cad;color:#fff;border-radius:8px;height:30px;min-width:68px;padding:0 8px;font-size:12px;cursor:pointer;position:relative;z-index:2;pointer-events:auto}.video-rate.video-rate-mobile-vmf{width:56px;min-width:56px;max-width:56px;height:32px;padding:0 6px;font-size:10px}.video-rate:focus-visible{outline:2px solid rgba(96,165,250,.85);outline-offset:1px}.video-overlay-button{position:absolute;left:12px;top:12px;transform:none;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:#0a122273;color:#fff;font-size:22px;font-weight:700;cursor:pointer;z-index:5;backdrop-filter:blur(4px)}.video-overlay-button:hover{background:#0a12229e}.video-overlay-fullscreen{left:50%;transform:translate(-50%);top:2px;width:64px;height:52px;border-radius:12px;border:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}.video-overlay-fullscreen svg{width:48px;height:30px;display:block}.video-playback-feedback{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);z-index:18;pointer-events:none}.video-playback-feedback-icon{width:88px;height:88px;display:block;filter:drop-shadow(0 8px 18px rgba(10,14,26,.38));animation:video-playback-feedback-in .17s ease-out}.video-seek-nudge-feedback{position:absolute;top:44%;transform:translateY(-50%);z-index:18;pointer-events:none;display:inline-flex;align-items:center;gap:6px;color:#ece8def2;font-weight:700;font-size:30px;line-height:1;text-shadow:0 4px 14px rgba(7,20,43,.45);animation:video-seek-nudge-fade .8s ease-out forwards}.video-seek-nudge-feedback.is-left{left:10%}.video-seek-nudge-feedback.is-right{right:10%}.video-player-wrap:fullscreen .video-seek-nudge-feedback,.video-player-wrap:-webkit-full-screen .video-seek-nudge-feedback,.video-player-wrap.is-pseudo-fullscreen .video-seek-nudge-feedback{top:50%;font-size:34px}.video-player-wrap:fullscreen .video-seek-nudge-feedback.is-left,.video-player-wrap:-webkit-full-screen .video-seek-nudge-feedback.is-left,.video-player-wrap.is-pseudo-fullscreen .video-seek-nudge-feedback.is-left{left:8%}.video-player-wrap:fullscreen .video-seek-nudge-feedback.is-right,.video-player-wrap:-webkit-full-screen .video-seek-nudge-feedback.is-right,.video-player-wrap.is-pseudo-fullscreen .video-seek-nudge-feedback.is-right{right:8%}.video-seek-nudge-value{letter-spacing:.02em}.video-seek-nudge-chevron{font-size:42px;font-weight:500;margin-top:-1px}.video-playback-hotspot{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);width:min(56vw,560px);height:min(42vh,340px);max-width:80%;max-height:56%;border-radius:16px;background:transparent;outline:none;box-shadow:none;appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;border:0;z-index:7;cursor:pointer}.video-playback-hotspot:focus,.video-playback-hotspot:focus-visible{outline:none;box-shadow:none}.video-player-wrap:fullscreen .video-playback-hotspot,.video-player-wrap:-webkit-full-screen .video-playback-hotspot,.video-player-wrap.is-pseudo-fullscreen .video-playback-hotspot{width:min(76vw,1120px);height:min(64vh,760px);max-width:94%;max-height:80%;background:transparent}@keyframes video-playback-feedback-in{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}@keyframes video-seek-nudge-fade{0%{opacity:.96}75%{opacity:.96}to{opacity:0}}.fsmf-overlay{position:absolute;inset:0;z-index:8;pointer-events:none}.fsmf-debug-panel{position:absolute;left:14px;top:156px;width:min(30vw,280px);overflow:visible;pointer-events:none;transition:transform .22s ease;transform:translate(0)}.fsmf-debug-panel.is-collapsed{transform:translate(calc(-100% + 72px))}.fsmf-debug-panel-content{padding:8px 10px;border-radius:10px;border:1px solid rgba(255,255,255,.2);background:#040a1647;backdrop-filter:blur(2px);color:#e2e8f0;font-size:12px;line-height:1.25}.fsmf-debug-panel.is-collapsed .fsmf-debug-panel-content{opacity:0;pointer-events:none}.fsmf-debug-panel-mini{position:absolute;top:0;right:0;width:54px;height:100%;border:1px solid rgba(255,255,255,.2);border-right:0;border-radius:10px 0 0 10px;background:#16223a94;backdrop-filter:blur(3px);display:grid;grid-template-rows:auto repeat(4,1fr);align-items:center;justify-items:center;padding:10px 4px;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;transition:opacity .18s ease}.fsmf-debug-panel-mini-title{color:#dbeafe;font-size:11px;letter-spacing:.04em;text-transform:uppercase}.fsmf-debug-panel.is-open .fsmf-debug-panel-mini{opacity:0}.fsmf-debug-panel-toggle{position:absolute;top:0;bottom:0;right:0;transform:translate(100%);width:18px;min-width:18px;height:auto;border:1px solid rgba(255,255,255,.24);border-left:0;border-radius:0 10px 10px 0;background:#080e1cc7;color:#fff;font-size:15px;line-height:1;cursor:pointer;pointer-events:auto}.fsmf-debug-panel-title{font-weight:700;margin-bottom:6px;letter-spacing:.02em}.fsmf-debug-panel-head,.fsmf-debug-panel-row{display:grid;grid-template-columns:minmax(0,1fr) 24px 24px 34px 34px 44px;gap:6px;align-items:center}.fsmf-debug-panel-head span:last-child,.fsmf-debug-panel-row span:last-child{margin-left:8px}.fsmf-debug-panel-head{color:#bfdbfe;font-weight:700;margin-bottom:4px}.fsmf-debug-panel-row{color:#f8fafc;font-variant-numeric:tabular-nums}.fsmf-debug-player-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.puntaco-saving-overlay{position:absolute;inset:0;z-index:12;background:#060a12b8;backdrop-filter:blur(4px);display:grid;place-items:center;pointer-events:auto}.video-loading-overlay{position:absolute;inset:0;z-index:11;display:grid;place-items:center;pointer-events:none;background:#03081285}.video-loading-card{display:inline-flex;align-items:center;gap:10px;border-radius:999px;padding:10px 16px;background:#080e1ce0;border:1px solid rgba(255,255,255,.24);color:#f8fafc}.video-loading-spinner{width:16px;height:16px;border-radius:999px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:video-loading-spin .8s linear infinite}.video-loading-text{margin:0;font-size:13px;font-weight:700}@keyframes video-loading-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fsmf-puntaco-play-btn{border:1px solid rgba(255,255,255,.28);border-radius:999px;background:#060a12d1;color:#fff;font-weight:800;font-size:15px;min-height:34px;min-width:148px;padding:0 14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:10px;pointer-events:auto}.puntaco-play-overlay-icon{font-size:18px;line-height:1}.fsmf-puntaco-play-btn:hover:not(:disabled){background:#0a1220e6}.fsmf-puntaco-play-btn:disabled{opacity:.5;cursor:not-allowed}.puntaco-saving-card{width:min(420px,88vw);border:1px solid rgba(255,255,255,.2);border-radius:18px;background:#09101ceb;padding:26px 22px 22px;text-align:center;color:#fff}.puntaco-saving-card.is-done{border-color:#10b9818c;box-shadow:0 0 0 1px #10b98147}.puntaco-saving-spinner{width:164px;height:164px;margin:0 auto 16px;position:relative}.puntaco-saving-dot{--dot-angle: calc(var(--dot-index) * 30deg);position:absolute;top:50%;left:50%;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:999px;background:#fff;transform:rotate(var(--dot-angle)) translateY(-66px);animation:puntaco-saving-dot-pulse 1.1s linear infinite;animation-delay:calc(var(--dot-index) * .09s);opacity:.18}.puntaco-saving-title{margin:0 0 14px;font-size:19px;font-weight:800}.puntaco-saving-done-mark{margin:0 0 8px;font-size:42px;line-height:1;font-weight:800;color:#34d399}.puntaco-saving-line{margin:0 0 4px;font-size:14px;line-height:1.4;color:#ffffffe6}.puntaco-saving-line+.puntaco-saving-line{margin-top:6px}@keyframes puntaco-saving-dot-pulse{0%{opacity:1;transform:rotate(var(--dot-angle)) translateY(-66px) scale(1)}to{opacity:.18;transform:rotate(var(--dot-angle)) translateY(-66px) scale(.65)}}.video-player-wrap:fullscreen,.video-player-wrap:-webkit-full-screen,.video-player-wrap.is-pseudo-fullscreen{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.fsmf-score-controls{position:absolute;bottom:108px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:10px;pointer-events:none}.fsmf-score-controls>*{pointer-events:auto}.fsmf-score-main{display:grid;grid-template-columns:auto auto auto;align-items:center;gap:10px}.fsmf-puntaco-actions{width:100%;max-width:250px;display:flex;align-items:center;justify-content:center;gap:6px}.fsmf-puntaco-source-note{margin:14px 0 0;max-width:340px;color:#ffffffdb;font-size:12px;line-height:1.35;text-align:center}.fsmf-puntaco-btn,.fsmf-puntaco-share-btn{min-height:36px;border-radius:12px;border:1px solid rgba(255,255,255,.22);color:#fff;font-size:14px;font-weight:700;cursor:pointer}.fsmf-puntaco-btn{flex:0 1 160px;background:linear-gradient(135deg,#ea580cd6,#fbbf24e6)}.fsmf-puntaco-actions .fsmf-puntaco-btn:only-child{flex:1 1 100%;width:100%}.fsmf-puntaco-btn.active{background:linear-gradient(135deg,#10b981e0,#14b8a6eb)}.fsmf-puntaco-share-btn{flex:0 0 auto;min-width:86px;padding:0 10px;background:#080e1cb3}.fsmf-puntaco-icon-btn{min-width:44px;width:44px;padding:0;font-size:20px;line-height:1;display:inline-flex;align-items:center;justify-content:center}.fsmf-puntaco-icon{width:18px;height:18px;display:block}.fsmf-puntaco-btn:disabled,.fsmf-puntaco-share-btn:disabled{opacity:.5;cursor:not-allowed}.fsmf-scoreboard{display:grid;gap:6px;min-width:250px;padding:10px 14px;border-radius:14px;background:#080e1c8f;border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(3px)}.fsmf-history-btn{border:1px solid rgba(255,255,255,.2);background:transparent;color:#fff;width:40px;min-width:40px;height:40px;border-radius:12px;padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.fsmf-history-btn:hover:not(:disabled){background:#ffffff0f}.fsmf-history-btn:disabled{opacity:.4;cursor:not-allowed}.fsmf-history-icon{width:24px;height:24px;display:block}.history-nav-btn{width:44px;min-width:44px;height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center}.history-undo-btn{min-width:44px;width:44px;height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:20px;line-height:1;font-weight:700}.history-nav-icon{width:24px;height:24px;display:block}.fsmf-score-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.fsmf-score-team{color:#fff;font-size:16px;font-weight:700;line-height:1.2;border-radius:8px;padding:2px 8px;user-select:none;-webkit-user-select:none}.fsmf-score-team.fsmf-team-winner{background:#22c55e4d;box-shadow:0 0 0 1px #22c55e73,0 0 14px #22c55e59}.fsmf-score-team.fsmf-team-flash{animation:fsmf-team-flash .36s ease-out}@keyframes fsmf-team-flash{0%{background:#38bdf857;box-shadow:0 0 0 1px #38bdf86b,0 0 16px #38bdf89e}to{background:#38bdf800;box-shadow:0 0 #38bdf800,0 0 #38bdf800}}.fsmf-score-values{display:inline-grid;grid-template-columns:2.2ch 2.2ch 3.2ch;gap:14px;justify-items:center;color:#fff;font-size:22px;font-weight:800;line-height:1;text-align:center;font-variant-numeric:tabular-nums}.fsmf-score-cell{display:inline-flex;align-items:center;justify-content:center;min-width:0}.fsmf-score-point-emphasis{background:#94a3b829;border:1px solid rgba(191,219,254,.34);border-radius:8px;justify-self:stretch;display:inline-flex;justify-content:center;align-items:center;min-height:1.3em;padding:.04em .18em}.fsmf-score-point.is-adv{font-size:.74em;letter-spacing:.02em}.fsmf-swap-btn{position:absolute;top:10px;left:50%;transform:translate(-50%);display:inline-flex;align-items:center;justify-content:center;pointer-events:auto;border:1px solid rgba(255,255,255,.22);background:#080e1c7a;color:#fff;border-radius:12px;width:44px;height:34px;padding:0;cursor:pointer}.fsmf-swap-btn svg{width:24px;height:24px;display:block;transform:rotate(90deg)}.fsmf-events-panel-wrap{position:absolute;right:0;top:50%;transform:translate(calc(100% - 28px)) translateY(-50%);display:flex;align-items:stretch;pointer-events:auto;transition:transform .18s ease;z-index:16}.fsmf-events-panel-wrap.is-open{transform:translate(0) translateY(-50%)}.fsmf-events-panel-toggle{box-sizing:border-box;width:28px;min-width:28px;border:1px solid rgba(255,255,255,.24);border-right:0;border-radius:10px 0 0 10px;background:#080e1cb8;color:#fff;font-size:20px;line-height:1;cursor:pointer}.fsmf-events-panel{width:236px;height:440px;padding:8px;border-radius:0 12px 12px 0;border:1px solid rgba(255,255,255,.16);background:#080e1cbd;backdrop-filter:blur(4px);display:grid;grid-template-rows:auto minmax(0,1fr);gap:6px}.fsmf-events-panel-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.fsmf-events-filter-btn{border:1px solid rgba(255,255,255,.2);border-radius:8px;background:#0f172a8f;color:#cbd5e1;min-height:26px;font-size:12px;font-weight:700;cursor:pointer}.fsmf-events-filter-btn.active{background:#22c55e52;color:#fff;border-color:#22c55e8c}.fsmf-events-panel-note{color:#cbd5e1;font-size:11px;line-height:1.25;padding:2px 1px}.fsmf-events-list{max-height:none;min-height:0;overflow-y:auto;display:grid;gap:8px;align-content:start;padding-right:2px}.fsmf-events-item{border:1px solid rgba(148,163,184,.36);border-top:2px solid var(--event-color, rgba(255, 255, 255, .7));border-left:3px solid var(--event-color, rgba(255, 255, 255, .7));border-radius:10px;background:linear-gradient(180deg,#1e293bc7,#0f172ad6);box-shadow:0 6px 14px #02061757,inset 0 1px #ffffff0a;padding:6px 8px;display:grid;grid-template-rows:auto auto auto;gap:3px;height:78px}.fsmf-events-item-btn{width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer;transition:transform .12s ease,border-color .14s ease,background .14s ease}.fsmf-events-item-btn:hover{transform:translateY(-1px);border-top-color:var(--event-color, rgba(255, 255, 255, .7));border-left-color:var(--event-color, rgba(255, 255, 255, .7));background:linear-gradient(180deg,#334155d6,#1e293be6)}.fsmf-events-item-btn.is-active-view{border-top-color:color-mix(in srgb,var(--event-color, #ffffff) 78%,#ffffff);border-left-color:color-mix(in srgb,var(--event-color, #ffffff) 78%,#ffffff);background:linear-gradient(180deg,color-mix(in srgb,var(--event-color, #ffffff) 44%,rgba(96,165,250,.62)),color-mix(in srgb,var(--event-color, #ffffff) 20%,rgba(51,65,85,.92)));box-shadow:0 0 0 1px color-mix(in srgb,var(--event-color, #ffffff) 52%,rgba(255,255,255,.35)),0 0 0 2px color-mix(in srgb,var(--event-color, #ffffff) 24%,transparent),0 10px 22px #0f172a7a;transform:translateY(-1px)}.fsmf-events-item-btn:focus-visible{outline:2px solid rgba(125,211,252,.92);outline-offset:1px}.fsmf-events-item-btn.is-disabled{cursor:default}.fsmf-events-item-btn.is-disabled:hover{transform:none}.fsmf-events-item-head{color:#f8fafc;font-size:13px;font-weight:700}.fsmf-events-item-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.fsmf-events-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.fsmf-events-item-meta,.fsmf-events-item-time{color:#cbd5e1;font-size:12px;line-height:1.25}.fsmf-events-item-meta-right{margin-left:auto;text-align:right;white-space:nowrap}.fsmf-events-point-games,.fsmf-events-item-duration{font-weight:400}.fsmf-events-duration-label,.fsmf-events-duration-value{font-weight:700;color:#f8fafc}.fsmf-events-duration-range{font-weight:400}.fsmf-events-item-duration-top{margin-left:auto;text-align:right;white-space:nowrap}.fsmf-corner{position:absolute;width:min(34vw,320px);pointer-events:auto}.fsmf-corner.top-left{top:14px;left:14px}.fsmf-corner.top-right{top:14px;right:14px}.fsmf-corner.bottom-left{bottom:104px;left:14px}.fsmf-corner.bottom-right{bottom:104px;right:14px}.fsmf-player-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) 20px;grid-template-areas:"name winner rail" "forced unforced rail";gap:6px;padding:8px;border-radius:12px;background:#080e1c6b;border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(2px);position:relative}.fsmf-player-name{grid-area:name;color:#fff;font-weight:700;font-size:16px;line-height:1.2;text-shadow:0 2px 6px rgba(0,0,0,.45);display:flex;align-items:center;gap:6px;padding:0 2px;justify-content:space-between}.fsmf-player-name-main{display:inline-flex;align-items:center;gap:6px;min-width:0}.fsmf-player-panel-wrap{position:relative;width:100%}.fsmf-side-badge{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;border:1px solid rgba(255,255,255,.24);background:#080e1c85;font-size:12px;line-height:1;font-weight:700;color:#fff;flex:0 0 auto}.fsmf-player-label{margin-left:auto;text-align:right;min-width:0}.fsmf-player-panel-toggle{border:1px solid rgba(255,255,255,.24);background:#080e1c75;color:#fff;width:100%;height:100%;min-width:0;border-radius:7px;padding:0;line-height:1;cursor:pointer;font-size:16px;z-index:1}.fsmf-player-toggle-rail{grid-area:rail;display:flex;align-items:stretch;justify-content:center;width:20px;border-left:1px solid rgba(255,255,255,.14);padding-left:4px}.fsmf-player-panel-wrap.inner-left .fsmf-player-card{grid-template-columns:20px repeat(2,minmax(0,1fr));grid-template-areas:"rail name winner" "rail forced unforced"}.fsmf-player-panel-wrap.inner-left .fsmf-player-toggle-rail{border-left:0;border-right:1px solid rgba(255,255,255,.14);padding-left:0;padding-right:4px}.fsmf-player-card.is-collapsed{grid-template-columns:1fr 20px;grid-template-areas:"name rail"}.fsmf-player-card.is-collapsed-clickable{cursor:pointer}.fsmf-player-card.is-collapsed-clickable:focus-visible{outline:2px solid rgba(191,219,254,.9);outline-offset:1px}.fsmf-player-panel-wrap.inner-left .fsmf-player-card.is-collapsed{grid-template-columns:20px 1fr;grid-template-areas:"rail name"}.fsmf-player-panel-wrap.is-collapsed{width:fit-content}.fsmf-player-panel-wrap.inner-left.is-collapsed{margin-left:auto}.fsmf-point-btn{border:0;color:#fff;font-weight:700;font-size:14px;line-height:1.15;border-radius:10px;min-height:48px;padding:7px 10px;cursor:pointer;box-shadow:0 8px 20px #00000040;transform:translateY(0) scale(1);transition:transform .12s ease,box-shadow .16s ease,filter .16s ease;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.fsmf-point-btn:active:not(:disabled),.fsmf-point-btn.fsmf-point-btn-pressed{transform:translateY(1px) scale(.985);box-shadow:0 5px 14px #0000004d;filter:saturate(1.08) brightness(1.06)}.fsmf-point-btn.winner{grid-area:winner}.fsmf-point-btn.forced{grid-area:forced}.fsmf-point-btn.unforced{grid-area:unforced}.fsmf-forced-attackers-row{grid-column:1 / -2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.fsmf-forced-attacker-btn{min-width:0}.fsmf-point-btn:disabled{opacity:.45;cursor:not-allowed}.video-player-wrap:fullscreen .video-overlay-button,.video-player-wrap:-webkit-full-screen .video-overlay-button{left:max(12px,env(safe-area-inset-left));top:max(12px,env(safe-area-inset-top));z-index:30}.video-player-wrap:fullscreen .video-overlay-fullscreen,.video-player-wrap:-webkit-full-screen .video-overlay-fullscreen{left:50%;transform:translate(-50%);top:max(2px,env(safe-area-inset-top))}@media (min-width: 901px) and (pointer: fine){.video-player-wrap:fullscreen .video-overlay-fullscreen,.video-player-wrap:-webkit-full-screen .video-overlay-fullscreen{display:none!important}}@media (max-width: 700px){.video-custom-controls{gap:8px;padding:7px 8px}.video-time{display:none}.video-seek-event-tooltip{font-size:11px;padding:4px 7px}.video-seek-event{width:30px;height:38px;margin-top:-19px}.video-volume{width:64px}.video-rate{width:56px;min-width:56px;max-width:56px;height:32px;padding:0 6px;font-size:11px}.fsmf-corner{width:min(34vw,152px)}.fsmf-debug-panel{top:136px;left:8px;width:min(38vw,180px)}.fsmf-debug-panel-mini{width:44px;font-size:12px;padding:8px 3px}.fsmf-debug-panel-mini-title{font-size:10px}.fsmf-debug-panel-content{padding:6px 7px;font-size:10px}.fsmf-debug-panel-head,.fsmf-debug-panel-row{grid-template-columns:minmax(0,1fr) 16px 16px 26px 26px 34px;gap:4px}.fsmf-debug-panel-head span:last-child,.fsmf-debug-panel-row span:last-child{margin-left:6px}.fsmf-score-controls{bottom:56px;left:50%;transform:translate(-50%);gap:6px}.fsmf-score-main{gap:6px}.fsmf-puntaco-actions{max-width:168px;gap:4px}.fsmf-puntaco-source-note{max-width:240px;font-size:10px}.fsmf-puntaco-btn,.fsmf-puntaco-share-btn{min-height:32px;border-radius:10px;font-size:12px}.fsmf-puntaco-share-btn{min-width:72px;padding:0 8px}.fsmf-puntaco-icon-btn{min-width:34px;width:34px;font-size:18px}.fsmf-puntaco-icon{width:16px;height:16px}.fsmf-scoreboard{min-width:168px;padding:6px 8px;gap:4px}.fsmf-history-btn{min-width:34px;width:34px;height:34px;padding:0;border-radius:10px}.fsmf-history-icon{width:20px;height:20px}.fsmf-events-panel-wrap{transform:translate(calc(100% - 26px)) translateY(-50%)}.fsmf-events-panel-toggle{width:26px;min-width:26px;font-size:18px}.fsmf-events-panel{width:170px;height:286px;padding:6px;border-radius:0 10px 10px 0}.fsmf-events-list{max-height:none}.fsmf-events-item{border-left-width:2px;border-top-width:2px;padding:5px 6px;gap:2px;height:62px;box-shadow:0 4px 10px #02061747,inset 0 1px #ffffff0a}.fsmf-events-item-head{font-size:11px}.fsmf-events-item-meta,.fsmf-events-item-time{font-size:10px}.fsmf-score-team{font-size:11px;padding:1px 6px}.fsmf-score-values{font-size:14px;gap:7px;grid-template-columns:1.8ch 1.8ch 3.2ch}.fsmf-corner.bottom-left,.fsmf-corner.bottom-right{bottom:56px}.fsmf-player-card{gap:3px;padding:5px;border-radius:8px;background:#080e1c7a}.fsmf-side-badge{width:17px;height:17px;font-size:10px}.fsmf-point-btn{min-height:30px;font-size:10px;line-height:1.1;padding:6px;border-radius:7px}.fsmf-player-name{font-size:10px;gap:4px}.fsmf-swap-btn{top:6px;width:38px;height:32px;border-radius:10px}.fsmf-swap-btn svg{width:20px;height:20px}}@media (max-width: 900px) and (pointer: coarse){.video-rate{width:58px;min-width:58px;max-width:58px;height:32px;padding:0 6px;font-size:10px}.fsmf-corner.top-left,.fsmf-corner.top-right{top:max(10px,env(safe-area-inset-top))}.fsmf-corner.top-left,.fsmf-corner.bottom-left{left:max(10px,env(safe-area-inset-left))}.fsmf-corner.top-right,.fsmf-corner.bottom-right{right:max(10px,env(safe-area-inset-right))}.fsmf-corner.bottom-left,.fsmf-corner.bottom-right{bottom:max(100px,env(safe-area-inset-bottom))}.fsmf-score-controls{bottom:max(86px,env(safe-area-inset-bottom))}.fsmf-events-item-btn{transition:border-color .14s ease,background .14s ease}.fsmf-events-item-btn:hover{transform:none}}@media (max-width: 900px) and (pointer: coarse) and (orientation: landscape){.video-player-wrap:fullscreen,.video-player-wrap:-webkit-full-screen{display:flex;align-items:center;justify-content:center;background:#000}.video-player-wrap:fullscreen .video-player,.video-player-wrap:-webkit-full-screen .video-player{width:auto;height:auto;max-width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right));max-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));object-fit:contain}.video-player-wrap:fullscreen .video-player-embed-wrap,.video-player-wrap:-webkit-full-screen .video-player-embed-wrap{width:min(calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right)),calc((100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * 16 / 9));height:min(calc((100vw - env(safe-area-inset-left) - env(safe-area-inset-right))*.5625),calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom)));margin:0 auto}.video-player-wrap:fullscreen .video-custom-controls,.video-player-wrap:-webkit-full-screen .video-custom-controls{left:env(safe-area-inset-left);right:env(safe-area-inset-right);bottom:env(safe-area-inset-bottom);gap:6px;padding:4px 6px;border-radius:0}.video-player-wrap:fullscreen .video-control-btn,.video-player-wrap:-webkit-full-screen .video-control-btn{min-width:30px;height:26px;border-radius:7px;font-size:13px}.video-player-wrap:fullscreen .video-seek-wrap,.video-player-wrap:-webkit-full-screen .video-seek-wrap{height:30px;min-width:0}.video-player-wrap:fullscreen .video-volume,.video-player-wrap:-webkit-full-screen .video-volume{width:52px}.video-player-wrap:fullscreen .video-rate,.video-player-wrap:-webkit-full-screen .video-rate{width:56px;min-width:56px;max-width:56px;height:28px;padding:0 6px;font-size:11px}.video-player-wrap:fullscreen .video-time,.video-player-wrap:-webkit-full-screen .video-time{display:none}.fsmf-corner.top-left,.fsmf-corner.bottom-left{left:max(0px,env(safe-area-inset-left))}.fsmf-corner.top-right,.fsmf-corner.bottom-right{right:max(0px,env(safe-area-inset-right))}.fsmf-corner.top-left,.fsmf-corner.top-right{top:max(0px,env(safe-area-inset-top))}.fsmf-corner.bottom-left,.fsmf-corner.bottom-right{bottom:max(46px,env(safe-area-inset-bottom))}.fsmf-debug-panel{top:max(124px,env(safe-area-inset-top));left:max(2px,env(safe-area-inset-left));width:min(36vw,140px)}.fsmf-debug-panel-mini{width:40px;font-size:10px;padding:7px 2px}.fsmf-debug-panel-mini-title{font-size:9px}.fsmf-debug-panel-content{padding:5px 6px;border-radius:8px;font-size:9px}.fsmf-debug-panel-head,.fsmf-debug-panel-row{grid-template-columns:minmax(0,1fr) 14px 14px 22px 22px 30px;gap:3px}.fsmf-debug-panel-head span:last-child,.fsmf-debug-panel-row span:last-child{margin-left:5px}.fsmf-corner{width:min(32vw,140px)}.fsmf-player-card{gap:2px;padding:4px;border-radius:7px}.fsmf-player-name{font-size:9px;gap:3px;padding:0 1px}.fsmf-side-badge{width:15px;height:15px;font-size:9px}.fsmf-point-btn{min-height:28px;font-size:9px;padding:5px 4px;border-radius:6px}.fsmf-score-controls{bottom:max(46px,env(safe-area-inset-bottom));gap:5px}.fsmf-score-main{gap:5px}.fsmf-puntaco-actions{max-width:154px;gap:3px}.fsmf-puntaco-source-note{max-width:212px;font-size:9px}.fsmf-puntaco-btn,.fsmf-puntaco-share-btn{min-height:28px;border-radius:8px;font-size:11px}.fsmf-puntaco-share-btn{min-width:62px;padding:0 8px}.fsmf-puntaco-icon-btn{min-width:30px;width:30px;font-size:16px}.fsmf-puntaco-icon{width:14px;height:14px}.fsmf-scoreboard{min-width:154px;padding:5px 7px;gap:3px;border-radius:10px}.fsmf-score-team{font-size:10px;padding:1px 5px}.fsmf-score-values{font-size:12px;gap:6px;grid-template-columns:1.8ch 1.8ch 3.2ch}.fsmf-history-btn{min-width:30px;width:30px;height:30px;padding:0;border-radius:8px}.fsmf-history-icon{width:18px;height:18px}.fsmf-events-panel-wrap{top:calc((max(0px,env(safe-area-inset-top)) + 100% - max(46px,env(safe-area-inset-bottom)))/2);transform:translate(calc(100% - 24px)) translateY(-50%)}.fsmf-events-panel-toggle{width:24px;min-width:24px;font-size:16px}.fsmf-events-panel{width:156px;height:236px;padding:5px}.fsmf-events-list{max-height:none}.fsmf-events-item-head{font-size:9px}.fsmf-events-item-meta,.fsmf-events-item-time{font-size:8px}.fsmf-events-item{height:56px;padding:4px 5px}.fsmf-corner.top-left{top:0;left:0}.fsmf-corner.bottom-left{left:0}.fsmf-corner.bottom-right{right:0}.fsmf-swap-btn{top:max(2px,env(safe-area-inset-top));width:34px;height:28px;border-radius:9px}.fsmf-swap-btn svg{width:18px;height:18px}}.player-row-input{display:grid;grid-template-columns:40px minmax(140px,240px) 64px;gap:8px;align-items:center;width:100%}.player-row-input .input,.player-row-input .select{min-width:0}.player-row-input.with-name{grid-template-columns:40px minmax(140px,220px) minmax(180px,1fr) 64px}.player-row-input .select{width:100%;max-width:none}.profile-partner-row{display:inline-grid;grid-template-columns:minmax(140px,1fr) minmax(180px,1fr) 64px;gap:8px;align-items:center;max-width:100%}.profile-partner-config{justify-content:flex-start;gap:16px}.profile-row-inline{display:grid;grid-template-columns:140px minmax(0,1fr) 140px auto;gap:12px;align-items:center;max-width:100%}.profile-inline-right{justify-self:end}.profile-inline-right.label{text-align:right}.profile-row-inline .select.profile-inline-right{width:max-content;min-width:140px;justify-self:end;margin-left:auto}.profile-plan-inline{grid-template-columns:140px minmax(0,1fr) auto}.profile-plan-value{font-weight:700;background:var(--card-soft)}.profile-plan-modal{width:min(1040px,96vw)}.profile-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profile-plan-card{border:1px solid var(--border);border-radius:14px;background:var(--card-soft);padding:14px;display:flex;flex-direction:column;gap:10px}.profile-plan-card h4{margin:0}.profile-plan-card.active{border-color:var(--primary);box-shadow:0 0 0 1px color-mix(in oklab,var(--primary) 20%,transparent)}.profile-plan-features{margin:0;padding-left:18px;display:grid;gap:6px}.profile-plan-footer{margin-top:auto}.profile-plan-footer .primary{width:100%}.profile-plan-current{display:inline-block;font-weight:700;font-size:13px;padding:8px 10px;border-radius:999px;background:var(--primary);color:var(--primary-text)}.puntacos-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;margin-bottom:14px}.puntacos-list{display:grid;gap:16px;max-height:62vh;overflow:auto;padding:2px 6px 2px 2px}.puntacos-item{display:grid;grid-template-columns:auto 180px minmax(190px,1fr) minmax(220px,1fr) auto;gap:16px;background:var(--card-soft);border:1px solid var(--border);border-radius:12px;padding:14px;align-items:center}.puntacos-thumb-wrap{width:100%;aspect-ratio:16 / 9}.puntacos-thumb{width:100%;height:100%;object-fit:cover;border-radius:10px}.puntacos-thumb-video{background:#000}.puntacos-thumb-fallback{display:grid;place-items:center;text-align:center;color:var(--muted);border:1px dashed var(--border);background:var(--card);padding:8px}.puntacos-content h3,.puntacos-content p{margin:0 0 6px}.puntacos-col-video,.puntacos-col-info1,.puntacos-col-info2{min-width:0}.puntacos-title-input{width:100%;min-height:36px;border-radius:10px;border:1px solid rgba(255,255,255,.24);background:#080e1c75;color:var(--text);padding:7px 10px;font-size:15px;font-weight:700;margin:0 0 10px}.puntacos-col-share,.puntacos-col-play{display:flex;align-items:stretch;justify-content:center}.puntacos-col-remove{display:flex;align-items:center;justify-content:center}.puntacos-col-play-left{justify-content:flex-start}.puntacos-share-btn{margin-top:8px;min-width:150px;min-height:38px}.puntacos-play-icon-btn{min-width:124px;min-height:82px;border-radius:18px;padding:0;background:#1f2f48;border-color:#ffffff14;display:inline-flex;align-items:center;justify-content:center}.puntacos-play-icon{width:58px;height:58px;display:block;filter:drop-shadow(0 6px 14px rgba(6,10,18,.35))}.puntacos-remove-btn{width:44px;min-width:44px;height:44px;min-height:44px;border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center}.puntacos-remove-btn .icon-cross{width:34px;height:34px}.puntacos-play-modal{width:min(760px,92vw)}.puntacos-play-modal-body{margin-top:4px}.puntacos-play-modal-video{width:100%;max-height:min(66vh,520px);border-radius:12px;background:#000}.side-badge{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-weight:700;letter-spacing:.04em;color:var(--text);background:var(--card-soft-2);border:1px solid var(--border)}.color-badge{position:relative;overflow:hidden;cursor:pointer;background:transparent;border:3px solid var(--border)}.color-badge .color-input{position:absolute;inset:0;opacity:0;cursor:pointer}.color-badge span{position:relative;z-index:1}.player-row-input .color-input{width:64px;height:44px;border-radius:10px;padding:0;border:1px solid var(--border)}.color-input{width:100%;height:40px;border:none;background:transparent;padding:0}.profile-partner-row .color-input,.profile-color-config .color-input{width:64px;height:44px;border-radius:10px;border:1px solid var(--border);background:var(--card)}.select-compact{min-width:100px}.friends-list{display:grid;gap:10px;margin-top:12px}.friend-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--card-soft)}.friend-row-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.friend-main{display:flex;align-items:center;gap:12px}.avatar{width:44px;height:44px;border-radius:999px;object-fit:cover;border:1px solid var(--border);background:var(--card)}.avatar-fallback{display:grid;place-items:center;font-weight:600;color:var(--text);background:var(--card-soft-2)}.community-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) 200px;gap:12px;margin-bottom:12px}.profile-color-config{justify-content:flex-start;gap:16px}.profile-color-config .color-input{width:64px;height:44px}.actions{display:flex;justify-content:flex-end}.stats-match-list{display:grid;gap:12px}.stats-flow-secondary-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.stats-flow-filters{flex:1 1 320px}.stats-flow-filters label{display:flex;align-items:center;gap:8px}.stats-flow-filters .label{margin:0;white-space:nowrap}.stats-flow-filters .input{min-width:min(320px,100%)}.stats-flow-axis-mode{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.stats-flow-axis-mode .label{margin:0;white-space:nowrap}.stats-flow-axis-mode-actions{display:flex;gap:8px;flex-wrap:wrap}.stats-flow-axis-mode-actions button{min-width:110px}.stats-match-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border-radius:12px;background:var(--card-soft)}.stats-match-header{background:transparent;padding:0 4px 6px;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.stats-match-header .stats-match-main{font-weight:600}.stats-remove-header{font-weight:600;color:var(--muted)}.stats-remove-btn{width:40px;min-width:40px;height:40px;min-height:40px;border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center}.stats-remove-btn .icon-cross{width:34px;height:34px}.stats-match-main{display:grid;grid-template-columns:110px 136px 136px minmax(200px,1fr) 110px minmax(180px,1.15fr);gap:16px;align-items:center;font-size:17px}.stats-match-date,.stats-match-location,.stats-match-flow{font-weight:600}.stats-match-players{color:var(--muted)}.stats-match-score.stats-result-win{background:#22c55e33;color:#22c55e}.stats-match-score.stats-result-loss{background:#ef444433;color:#ef4444}.stats-match-score.stats-result-pending{background:#94a3b833;color:var(--muted)}.stats-match-score{display:inline-flex;align-items:center;justify-content:center;min-width:120px;padding:4px 8px;border-radius:999px;font-weight:400;font-size:18px;letter-spacing:.02em;justify-self:start;cursor:pointer}.stats-match-score:focus{outline:2px solid var(--primary);outline-offset:2px}.stats-sync-indicator{display:inline-block;font-size:20px;margin-left:12px;animation:stats-spin 2s linear infinite;cursor:help}@keyframes stats-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.stats-match-load-more{display:flex;justify-content:center;padding:8px 0}.stats-match-load-more button{min-width:200px}.stats-flow-badge{padding:6px 12px;border-radius:999px;background:var(--card-soft-2);border:1px solid var(--border);font-weight:600;color:var(--text)}.stats-flow-badge-wrap{position:relative;display:inline-flex}.stats-flow-badge-trigger{cursor:pointer}.stats-flow-badge-help{position:absolute;top:calc(100% + 8px);right:0;z-index:5;width:min(320px,72vw);padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--card);color:var(--text);font-size:12px;line-height:1.35;box-shadow:0 10px 30px #0003;white-space:pre-line}.stats-palmares-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;margin-bottom:12px}.stats-palmares-controls button{min-height:40px;padding:8px 14px}.stats-palmares-chart-wrap{position:relative;background:var(--card-soft);border:1px solid var(--border);border-radius:14px;padding:10px}.stats-palmares-chart{width:100%;display:block}.stats-palmares-line{fill:none;stroke:#10b981;stroke-width:2.8}.stats-palmares-point{fill:#10b981;stroke:var(--card);stroke-width:2;pointer-events:none}.stats-palmares-point-hit{fill:transparent;cursor:pointer}.stats-palmares-latest-label{fill:#10b981;font-weight:700;paint-order:stroke fill;stroke:#030a1af2;stroke-width:4px;stroke-linejoin:round}.stats-palmares-tooltip{position:absolute;z-index:4;transform:translate(-50%,-120%);display:grid;gap:2px;padding:6px 8px;border-radius:8px;border:1px solid var(--border);background:var(--card);color:var(--text);font-size:12px;line-height:1.2;pointer-events:none;box-shadow:0 8px 22px #00000038}.stats-palmares-tooltip strong{font-size:12px;font-weight:700}.stats-flow-controls{display:grid;gap:10px;margin-bottom:14px}.stats-flow-presets{display:flex;flex-wrap:wrap;gap:8px}.stats-flow-presets button{min-width:72px;min-height:40px;padding:8px 14px;font-size:14px}.stats-flow-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stats-flow-dates label{display:flex;align-items:center;gap:8px}.stats-flow-dates .label{margin:0;white-space:nowrap}.stats-flow-dates .input{min-width:0;flex:1}.stats-flow-chart-wrap{background:var(--card-soft);border:1px solid var(--border);border-radius:14px;padding:10px}.stats-flow-chart{width:100%;display:block}.stats-flow-legend{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:10px}.stats-flow-legend-item{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);transition:opacity .14s ease}.stats-flow-legend-checkbox{cursor:pointer;user-select:none}.stats-flow-legend-item-dim{opacity:.38}.stats-flow-legend-checkbox input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:#38bdf8;cursor:pointer}.stats-flow-legend-checkbox-average input[type=checkbox]{accent-color:#f59e0b}.stats-flow-legend-checkbox-global input[type=checkbox]{accent-color:#e49adf}.stats-flow-legend-help-wrap{position:relative;display:inline-flex}.stats-flow-legend-trigger{border:0;background:transparent;cursor:pointer;padding:0;text-align:left}.stats-flow-legend-help{position:absolute;top:calc(100% + 8px);left:0;z-index:5;width:min(280px,70vw);padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--card);color:var(--text);font-size:12px;line-height:1.35;box-shadow:0 10px 30px #0003}.stats-flow-legend-help-text{margin:0}.stats-flow-legend-help-controls{display:grid;gap:6px;margin-top:8px}.stats-flow-legend-help-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}.stats-flow-legend-help-row .secondary{min-height:36px;padding:8px 10px}@media (min-width: 900px){.stats-flow-legend-item{font-size:14px}}.stats-flow-line{fill:none;stroke:#38bdf8;stroke-width:2.2;transition:opacity .14s ease}.stats-flow-line-average{fill:none;stroke:#f59e0b;stroke-width:1.9;stroke-dasharray:4 5;transition:opacity .14s ease}.stats-flow-line-global{fill:none;stroke:#e49adf;stroke-width:1.9;transition:opacity .14s ease}.stats-flow-line-hit{fill:none;stroke:transparent;stroke-width:14;pointer-events:stroke}.stats-flow-reference-line{stroke-width:1;stroke-dasharray:2 7;transition:opacity .14s ease}.stats-flow-zero-line{stroke:#cbd5e1;stroke-width:1.2;stroke-dasharray:4 4;opacity:.55}.stats-flow-reference-line-main{stroke:#38bdf8;opacity:.45}.stats-flow-reference-line-average{stroke:#f59e0b;opacity:.45}.stats-flow-reference-line-global{stroke:#e49adf;opacity:.45}.stats-flow-reference-label{font-weight:700;transition:opacity .14s ease}.stats-flow-reference-label-main{fill:#38bdf8}.stats-flow-reference-label-average{fill:#f59e0b}.stats-flow-reference-label-global{fill:#e49adf}.stats-flow-point{fill:#38bdf8;stroke:var(--card);stroke-width:2;cursor:pointer}.stats-flow-point-active{stroke:#fff;stroke-width:2.5}.stats-flow-point-global{fill:#e49adf;stroke:var(--card);stroke-width:2;cursor:pointer}.stats-flow-point-global-active{stroke:#fff;stroke-width:2.5}.share-players{display:grid;gap:12px}.share-teams{display:grid;gap:16px}.share-teams-inline{display:inline-flex;align-items:center;gap:10px;font-weight:700;margin-bottom:12px;justify-content:center;text-align:center;width:100%}.share-actions{display:flex;justify-content:center;margin-top:16px}.postit-card{text-align:center}.share-match-header{align-items:center;text-align:center}.share-team-title{font-weight:700;margin-bottom:8px}.share-player-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:var(--card-soft);border-radius:12px}.share-player-name{display:inline-flex;align-items:center;gap:10px;font-weight:600}.score-inline{display:inline-flex;align-items:center;gap:12px;margin-bottom:12px;margin-top:8px}.stats-col-score{justify-self:start}.profile-text-label{white-space:nowrap;color:var(--text);font-weight:600}.modal-overlay{position:fixed;inset:0;background:#0f172a73;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:50}.modal-card{width:min(720px,94vw);max-height:80vh;background:var(--card);border-radius:16px;border:1px solid var(--border);box-shadow:0 20px 40px #0f172a59;display:flex;flex-direction:column;gap:12px;padding:16px 18px}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-header-left{display:flex;align-items:center;gap:12px;flex:1}.modal-filter{max-width:240px}.modal-list{display:grid;gap:12px;overflow:auto;padding-right:6px}.modal-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;background:var(--card-soft)}.modal-row-title{font-weight:700}.modal-row-sub{color:var(--muted);font-size:14px}.modal-empty{color:var(--muted);font-size:14px;padding:8px 0}.modal-form{display:grid;gap:12px}.modal-select-row{display:flex;align-items:center;gap:12px}.modal-select-row .select{flex:1}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:12px}.modal-action-left{margin-right:auto}.modal-confirm{max-width:520px;border:1px solid rgba(148,163,184,.35);background:linear-gradient(180deg,#fffffffa,#f8fafcf5),var(--card);box-shadow:0 22px 50px #0f172a2e,0 0 0 1px #94a3b833}[data-theme=dark] .modal-overlay{background:#020817c7}[data-theme=dark] .modal-confirm{border:1px solid rgba(125,211,252,.35);background:linear-gradient(180deg,#0f172af5,#0f172aeb),var(--card);box-shadow:0 26px 60px #0208179e,0 0 0 1px #38bdf824}.modal-warning{color:var(--text);margin:0}.leave-confirm-modal .leave-confirm-primary{font-size:16px;padding:10px 18px}.label-nowrap{white-space:nowrap}.match-flow-rows{display:grid;gap:16px;padding:16px}.match-flow-actions{display:flex;justify-content:flex-start;gap:10px}.match-flow-actions-top{margin-bottom:6px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.match-flow-history-nav{grid-column:2;display:flex;gap:10px}.match-flow-undo-top-right{grid-column:3;justify-self:end}.match-flow-actions .secondary{padding:6px 16px;min-width:64px;font-size:22px}.match-flow-delete-zone{display:flex;justify-content:center}.match-flow-delete-button{min-width:220px;border-color:#ef4444;color:#ef4444}.match-flow-delete-button:hover{background:#ef444414}[data-theme=dark] .match-flow-delete-button:hover{background:#ef44442e}.team-row{display:grid;grid-template-columns:.5fr 1.25fr 2.25fr;gap:16px;align-items:center;padding:12px;border-radius:16px;background:var(--card-soft)}.team-row.team-winner{background:#22c55e2e;box-shadow:inset 0 0 0 1px #22c55e6b,0 10px 26px #22c55e2e}[data-theme=dark] .team-row.team-winner{background:#22c55e38;box-shadow:inset 0 0 0 1px #4ade807a,0 12px 28px #22c55e33}.team-cell{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700}.team-name{display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;user-select:none;-webkit-user-select:none}.score-cell{display:grid;gap:6px}.score-head{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}.score-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));font-size:28px;font-weight:700;text-align:center}.score-point-emphasis{background:#0f172a1f;border:1px solid rgba(148,163,184,.32);border-radius:8px;display:inline-flex;justify-content:center;align-items:center;width:100%;min-height:1.45em}.team-name.team-flash{animation:team-name-flash .36s ease-out}@keyframes team-name-flash{0%{background:#38bdf857;box-shadow:0 0 0 1px #38bdf86b,0 0 16px #38bdf89e}to{background:#38bdf800;box-shadow:0 0 #38bdf800,0 0 #38bdf800}}.players-cell{display:grid;gap:10px}.player-row{display:grid;grid-template-columns:.45fr 1.55fr;align-items:center;gap:12px}.player-label{font-weight:600;text-align:right}.side-chip{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-left:12px;border-radius:6px;background:var(--card-soft-2);border:1px solid var(--border);font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--text)}.player-buttons-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.forced-attackers-row{grid-column:2 / 4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:-4px}.forced-attacker-btn{min-width:0}.player-buttons-row .flow-btn{padding:14px 16px;font-size:16px}.match-flow-layout{display:grid;grid-template-columns:1.1fr 1.6fr;grid-template-areas:"score players" "side side";gap:16px;padding:16px}.flow-area-score{grid-area:score}.flow-area-players{grid-area:players}.flow-area-side{grid-area:side}.match-flow-layout,.flow-area-score,.flow-area-players,.flow-area-side,.flow-score,.flow-score-head,.flow-score-row,.flow-team,.flow-metric,.flow-sets,.flow-players,.flow-player,.flow-player-head,.flow-buttons{display:none}.flow-score{display:grid;gap:12px}.flow-score-head{display:grid;grid-template-columns:1.4fr 1fr 1fr;font-size:12px;letter-spacing:.14em;color:var(--muted);text-transform:uppercase}.flow-score-row{display:grid;grid-template-columns:1.4fr 1fr 1fr;align-items:center;gap:10px}.flow-team{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:700}.flow-metric{font-size:36px;font-weight:700;text-align:center}.flow-sets{display:flex;flex-wrap:wrap;gap:8px}.flow-players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.flow-player{background:var(--card-soft);border-radius:14px;padding:12px;display:grid;gap:10px}.flow-player-head{display:flex;gap:10px;align-items:center}.player-team{font-size:12px;color:var(--muted)}.flow-buttons{display:grid;gap:8px}.flow-btn{border:none;border-radius:16px;padding:12px;font-weight:700;color:#fff;text-transform:none;letter-spacing:.04em;touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-size:16px;-webkit-user-select:none;user-select:none;position:relative;overflow:hidden;transition:transform .1s ease,box-shadow .1s ease}.flow-btn:active{transform:translateY(1px) scale(.98);box-shadow:0 2px 8px #0f172a33}.flow-btn:disabled{opacity:.68;filter:saturate(.82) brightness(.95);cursor:not-allowed;box-shadow:none}.flow-btn.is-blocked{opacity:.68;filter:saturate(.82) brightness(.95);cursor:not-allowed}.flow-side,.flow-section,.flow-export{display:grid;gap:12px}.flow-chart{background:transparent;border-radius:0;padding:0;display:flex;flex-direction:column;width:100%;min-width:0;gap:10px}.flow-chart-top{display:flex;align-items:flex-start;justify-content:space-between;width:100%;min-width:0;gap:16px}.flow-chart-head{display:flex;flex-direction:column;gap:4px}.flow-chart-head h3{margin:0}.flow-chart-head span{color:var(--muted);font-size:12px}.chart-legend{display:grid;gap:6px;font-size:12px;color:var(--muted);justify-items:end;align-content:start}.legend-item{display:inline-flex;align-items:center;gap:6px;transition:opacity .14s ease}.legend-item-toggle{width:100%;justify-content:flex-end;cursor:pointer;user-select:none}.legend-item-name{text-align:right}.legend-item-toggle input[type=checkbox]{width:14px;height:14px;margin:0;cursor:pointer}.legend-item-dim{opacity:.38}.legend-dot{width:10px;height:10px;border-radius:50%}@media (min-width: 701px){.match-flow .flow-chart-top{position:relative;display:block;padding-top:10px;padding-bottom:0;margin-bottom:80px;min-height:56px}.match-flow .flow-chart-head{max-width:calc(100% - 260px)}.match-flow .flow-chart-head h3{font-size:22px;line-height:1.05}.match-flow .flow-chart-head span{font-size:12px}.match-flow .chart-legend{position:absolute;top:0;right:0;font-size:14px;gap:8px}.match-flow .legend-dot{width:12px;height:12px}}.chart-wrap{width:100%;min-width:0;overflow:hidden}.chart-svg{display:block;width:100%;height:320px}.chart-axis{stroke:var(--border);stroke-width:2}.chart-grid{stroke:var(--border);stroke-width:1;stroke-dasharray:2 6;opacity:.45}.chart-set-marker{stroke:var(--muted);stroke-width:1.5;stroke-dasharray:4 5;opacity:.9}.chart-set-label{font-size:11px;fill:var(--muted);font-weight:600}.chart-line{fill:none;stroke-width:2.2;transition:opacity .14s ease}.chart-line-hit{fill:none;stroke:transparent;stroke-width:16;pointer-events:stroke}.chart-label{font-size:13px;fill:var(--muted)}.chart-last-label{font-size:12px;font-weight:600;transition:opacity .14s ease}.chart-marker{stroke:var(--primary);stroke-width:2;stroke-dasharray:4 4}.chart-tooltip-bg{fill:var(--card);stroke:var(--border);stroke-width:1;opacity:.96}.chart-tooltip-text{font-size:11px;fill:var(--text)}.chart-tooltip-text-date{font-style:italic}.chart-tooltip-text-global{font-weight:700}.save-notice{margin-left:auto}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%);background:var(--card);color:var(--text);border:1px solid var(--border);padding:10px 18px;border-radius:999px;font-weight:600;box-shadow:0 12px 30px #0000002e;z-index:2000;animation:toast-fade-in .2s ease-out}.vmf-action-blocked-miw{border-color:#3b82f659;background:linear-gradient(135deg,#0f172aeb,#1e293be6);color:#e2e8f0}@keyframes toast-fade-in{0%{opacity:0;transform:translate(-50%) translateY(6px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.flow-rules{background:var(--card-soft-2);border-radius:12px;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;margin-top:4px}.rule-row{display:flex;justify-content:flex-start;gap:18px;font-weight:500}.rule-row span:first-child{min-width:150px;color:var(--muted)}.rule-value{margin-left:1px;color:var(--text)}@media (min-width: 860px){.header{flex-direction:row;align-items:center}}@media (max-width: 700px){html,body{overflow-x:hidden}.header,.card,.config-grid,.config-row,.profile-row-inline,.profile-partner-row,.flow-code-row,.friends-list{max-width:100%}.flow-code-row{flex-wrap:wrap}.flow-code-row .input,.flow-code-row button{width:100%}.config-columns{grid-template-columns:1fr}.chart-label{font-size:16px}.banner{flex-direction:column;align-items:center;padding:14px 16px;gap:12px}.banner-logo{width:min(70vw,220px);max-width:100%}.banner-actions{width:100%;justify-content:center;gap:8px;flex-direction:column;align-items:stretch}.banner-actions .primary,.banner-actions .secondary{padding:16px 28px;font-size:20px;min-height:52px;height:52px;line-height:1;width:100%;justify-content:center}.banner-actions .icon-only-button{flex:0 0 52px;width:52px;max-width:52px;height:52px;max-height:52px;min-width:52px;min-height:52px;align-self:center}.app{padding:20px 14px 40px;gap:16px;max-width:100%;overflow-x:hidden}.header-actions{gap:8px;width:100%;justify-content:flex-start}.header{align-items:flex-start;gap:12px}.options-page .header,.stats-page .header,.profile-page .header{flex-direction:row;align-items:center;width:100%;flex-wrap:wrap}.options-page .header-actions,.stats-page .header-actions,.profile-page .header-actions{margin-left:auto;width:auto;justify-content:flex-end;flex-shrink:0}.profile-page .header>div{flex:1;min-width:0}.profile-page,.stats-page,.options-page{width:100%;overflow-x:hidden}.profile-page .card,.stats-page .card,.options-page .card{width:100%}.config-row{flex-direction:column;align-items:flex-start}.config-row>button,.config-row .select,.config-row .input,.config-row .flow-code-row{width:100%;max-width:360px}.profile-partner-row,.profile-row-inline,.profile-plan-inline,.profile-row-inline .select.profile-inline-right{max-width:360px}.profile-plan-grid{grid-template-columns:1fr}.stats-page .config-grid .config-row{flex-direction:row;align-items:center;justify-content:space-between}.stats-page .config-grid .config-row .label{margin-right:12px}.stats-page .config-grid .config-row>span{margin-left:auto;text-align:right}.stats-page .stats-profile-grid .config-row>span{font-size:15px;font-weight:600}.stats-match-header{display:none}.stats-match-row{position:relative;flex-direction:column;align-items:flex-start;padding-right:56px}.stats-match-main{grid-template-columns:1fr 1fr;gap:10px;width:100%;font-size:15px}.stats-match-score{font-size:16px;min-width:72px}.stats-flow-dates{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stats-flow-secondary-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"partner-label axis-label" "partner-input axis-input";column-gap:10px;row-gap:6px;align-items:center}.stats-flow-filters,.stats-flow-axis-mode,.stats-flow-filters label{display:contents}.stats-flow-filters .label{grid-area:partner-label;margin:0;align-self:end}.stats-flow-filters .input{grid-area:partner-input;width:100%;min-width:0}.stats-flow-axis-mode .label{grid-area:axis-label;margin:0;white-space:nowrap}.stats-flow-axis-mode-actions{grid-area:axis-input;justify-self:end;display:flex;flex-wrap:nowrap;gap:6px}.stats-flow-axis-mode-actions button{min-width:78px;padding-left:10px;padding-right:10px}.stats-remove-header{align-self:stretch}.stats-match-row>.stats-remove-btn{position:absolute;top:8px;right:8px;align-self:auto}.stats-match-main .stats-match-location{padding-right:44px}.players-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.player{padding:12px;gap:10px}.player-head{gap:6px}.player-name{font-size:14px}.team-color{height:4px}.player-buttons{grid-template-columns:1fr;gap:6px}.point-btn{padding:8px 10px;font-size:12px;border-radius:10px}.match-flow-layout{grid-template-columns:1fr;grid-template-areas:"score" "players" "side"}.flow-score-row{grid-template-columns:1fr 1fr}.flow-team{font-size:16px}.flow-metric{font-size:28px}.flow-players{grid-template-columns:repeat(2,minmax(0,1fr))}.match-flow .flow-chart{background:transparent;padding:0;border-radius:0;gap:8px 10px}.match-flow .flow-chart-top{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:22px}.match-flow .flow-chart-head{flex:1;min-width:0}.match-flow .chart-legend{justify-items:end;text-align:right;font-size:11px;gap:4px;flex-shrink:0}.match-flow .chart-set-label{font-size:14px}.match-flow .flow-side{padding:12px 12px 10px}.match-flow .chart-wrap{overflow:visible}.match-flow .chart-svg{height:auto;aspect-ratio:600 / 220;max-height:240px}.team-row,.player-row{grid-template-columns:1fr}.player-row-input{grid-template-columns:40px minmax(0,1fr);align-items:center}.player-row-input.with-name{grid-template-columns:40px .8fr 1.2fr;align-items:center}.profile-partner-row{display:grid;width:100%;grid-template-columns:1fr;max-width:100%}.profile-row-inline{grid-template-columns:1fr;width:100%;max-width:100%}.profile-row-inline .select.profile-inline-right{width:100%;max-width:200px;justify-self:stretch}.community-toolbar{grid-template-columns:1fr}.score-values{font-size:24px}.modal-card.modal-confirm{width:min(96vw,520px)}.modal-card.modal-confirm .modal-header h3{font-size:20px}.modal-card.modal-confirm .modal-actions{gap:10px}}@media (max-width: 700px) and (orientation: portrait){.new-match .card-header-row{flex-wrap:wrap;align-items:flex-start;gap:8px}.new-match .card-header-row .match-date-input{flex:1 1 100%;width:100%;max-width:180px;min-width:0;margin-left:0}.match-flow .banner{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"logo settings home";align-items:center;row-gap:8px;column-gap:8px}.match-flow .banner .banner-logo{grid-area:logo;justify-self:start;align-self:center}.match-flow .banner-actions{display:contents}.match-flow .banner-actions>button:nth-child(1){grid-area:settings;justify-self:end;align-self:center;width:52px;max-width:52px;min-width:52px;height:52px;max-height:52px;min-height:52px;border-radius:50%;padding:0}.match-flow .banner-actions>button:nth-child(2){grid-area:home;justify-self:end;align-self:center;width:52px;max-width:52px;min-width:52px;height:52px;max-height:52px;min-height:52px;border-radius:50%;padding:0}.new-match .banner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"logo settings" "puntacos stats" "profile profile";align-items:center;row-gap:8px;column-gap:8px}.new-match .banner .banner-logo{grid-area:logo;justify-self:start;align-self:center}.new-match .banner-actions{display:contents}.new-match .banner-actions>.icon-only-button{grid-area:settings;justify-self:end;align-self:center;width:52px;max-width:52px;min-width:52px;height:52px;max-height:52px;min-height:52px;border-radius:50%;padding:0}.new-match .banner-actions>.settings-nav-button{width:92px;max-width:92px;min-width:92px;border-radius:999px}.new-match .banner-actions>button:nth-child(2){grid-area:puntacos;width:100%}.new-match .banner-actions>button:nth-child(3){grid-area:stats;width:100%}.new-match .banner-actions>button:nth-child(4){grid-area:profile;width:100%}.new-match .header-actions{width:100%;flex-wrap:nowrap;gap:8px}.new-match .header-actions .primary,.new-match .header-actions .secondary{flex:1 1 0;min-width:0;display:inline-flex;align-items:center;justify-content:center;padding:12px 10px;font-size:16px;min-height:48px;height:auto;line-height:1.15;white-space:normal;text-align:center}.new-match .context-inline{flex-wrap:wrap;gap:8px}.new-match .context-inline .match-location-input{flex:1 1 100%;width:100%;min-width:0}.new-match .context-inline .match-type-select,.new-match .context-inline .match-level-select{flex:1 1 calc(50% - 4px);width:100%;min-width:0}.profile-page .header{flex-direction:row;align-items:center}.profile-page .header-actions{margin-left:auto;width:auto;justify-content:flex-end}.profile-page .profile-row-inline,.profile-page .profile-partner-row,.profile-page .flow-code-row,.profile-page .profile-plan-inline{width:100%;max-width:100%}.profile-page .profile-row-inline{grid-template-columns:minmax(120px,140px) 1fr;column-gap:12px}.profile-page .profile-inline-right{justify-self:start}.profile-page .profile-inline-right.label{text-align:left}.profile-page .profile-row-inline .select.profile-inline-right{width:max-content;min-width:140px;justify-self:end}.profile-page .profile-plan-inline{grid-template-columns:minmax(120px,140px) 1fr auto}.profile-page .profile-partner-row{grid-template-columns:minmax(120px,1fr) minmax(140px,1fr) 64px;column-gap:8px}.profile-page .profile-partner-row .input,.profile-page .profile-partner-row .select{min-width:0}}@media (max-width: 900px){.profile-partner-row,.profile-row-inline,.profile-plan-inline{grid-template-columns:1fr}.profile-inline-right{justify-self:start}.profile-inline-right.label{text-align:left}.profile-row-inline .select.profile-inline-right{width:100%;justify-self:stretch}.profile-plan-grid,.puntacos-toolbar,.puntacos-item{grid-template-columns:1fr}.puntacos-col-play,.puntacos-col-remove{justify-content:flex-start}.puntacos-share-btn{min-width:120px}.puntacos-play-icon-btn{min-width:98px;min-height:60px;border-radius:16px}.puntacos-play-icon{width:42px;height:42px}}@media (orientation: landscape) and (max-height: 500px){.app.match-flow{max-width:100%;padding:12px 12px 20px}.match-flow-layout{grid-template-columns:1.2fr 1.8fr;grid-template-areas:"score players" "side side";gap:12px}.flow-metric{font-size:28px}.flow-btn{padding:10px;font-size:12px}}@media (orientation: landscape){.app.match-flow.match-flow-auto{transform:none;width:min(100%,1100px);margin:0 auto}}@media (orientation: landscape) and (max-height: 700px){.new-match .players-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 700px){.flow-rules{grid-template-columns:1fr;gap:6px;padding:10px}}.ai-review-card{margin-bottom:24px}.ai-events-list{display:grid;gap:10px}.ai-event-row{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:var(--card-soft-2);border-radius:12px;border:1px solid var(--border)}.ai-event-info{display:flex;align-items:center;gap:12px;font-weight:500}.ai-event-actions{display:flex;gap:8px}
