:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-family:system-ui,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}body{color:#f3f4f6;background:#10141a;margin:0}#root{min-height:100svh}.app{flex-direction:column;align-items:center;gap:12px;padding:16px;display:flex}.app-header{align-items:center;gap:16px;display:flex}.app-header h1{margin:0;font-size:20px}.app-header button{color:#f3f4f6;cursor:pointer;background:#1f2937;border:1px solid #4b5563;border-radius:6px;padding:6px 12px;font-size:14px}.app-header button:hover{background:#374151}.toolbar{background:#1f2937;border-radius:8px;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;padding:8px 12px;display:flex}.toolbar-group{align-items:center;gap:6px;display:flex}.board-row{flex-direction:row;align-items:flex-start;gap:8px;display:flex}.toolbar-group-spaced{margin-bottom:10px}.side-toolbar{background:#1f2937;border-radius:8px;flex-direction:column;flex-shrink:0;gap:10px;width:64px;padding:8px 6px;display:flex}.side-toolbar .toolbar-group{flex-direction:column;gap:6px}.side-toolbar .toolbar-group.color-group{flex-flow:wrap;justify-content:center}.side-toolbar button{color:#f3f4f6;cursor:pointer;background:#111827;border:1px solid #4b5563;border-radius:999px;width:100%;padding:6px 4px;font-size:11px}.side-toolbar button:hover:not(:disabled){background:#374151}.side-toolbar button:disabled{opacity:.4;cursor:default}.side-toolbar .color-swatch{border-radius:50%;width:20px;height:20px;padding:0}.toolbar button{color:#f3f4f6;cursor:pointer;background:#111827;border:1px solid #4b5563;border-radius:6px;padding:6px 10px;font-size:13px}.toolbar button:hover:not(:disabled){background:#374151}.toolbar button:disabled{opacity:.4;cursor:default}.toolbar button.active,.side-toolbar button.active{background:#2563eb;border-color:#60a5fa;box-shadow:0 0 0 2px #60a5fae6}.color-swatch{cursor:pointer;border:2px solid #4b5563;border-radius:50%;width:24px;height:24px;padding:0}.color-swatch.active{border-color:#fff;box-shadow:0 0 0 2px #2563eb}.replay-status{color:#9ca3af;font-size:13px}.save-load-panel{width:100%;max-width:480px}.save-load-panel>button{color:#f3f4f6;cursor:pointer;background:#1f2937;border:1px solid #4b5563;border-radius:8px;width:100%;padding:8px 12px;font-size:14px}.save-load-body{background:#1f2937;border-radius:8px;flex-direction:column;gap:10px;margin-top:8px;padding:10px;display:flex}.save-row{gap:8px;display:flex}.save-row input{color:#f3f4f6;background:#111827;border:1px solid #4b5563;border-radius:6px;flex:1;padding:6px 10px}.save-row button{color:#f3f4f6;cursor:pointer;white-space:nowrap;background:#111827;border:1px solid #4b5563;border-radius:6px;padding:6px 10px;font-size:13px}.save-row button:disabled{opacity:.4;cursor:default}.play-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.play-empty{color:#9ca3af;text-align:center;padding:8px 0;font-size:13px}.play-item{background:#111827;border-radius:6px;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 8px;display:flex}.play-name{flex:1;min-width:80px;font-size:14px;font-weight:600}.play-date{color:#9ca3af;font-size:12px}.play-item button{color:#f3f4f6;cursor:pointer;background:#1f2937;border:1px solid #4b5563;border-radius:6px;padding:4px 8px;font-size:12px}.play-item button:disabled{opacity:.4;cursor:default}.scoreboard{background:#1f2937;border-radius:8px;flex-direction:column;gap:10px;width:100%;max-width:480px;padding:10px;display:flex}.match-winner{text-align:center;background:#2563eb;border-radius:6px;padding:6px;font-size:15px;font-weight:700}.score-table{flex-direction:column;gap:4px;display:flex}.score-row{align-items:center;gap:8px;display:flex}.score-row-header{color:#9ca3af;font-size:11px}.score-col{text-align:center;flex:1}.team-name{text-align:left;flex:2;font-size:14px;font-weight:600}.score-col-set{font-size:15px}.score-col-point{min-width:56px;font-size:18px;font-weight:700}.stepper{align-items:center;gap:4px;display:inline-flex}.stepper button{color:#f3f4f6;cursor:pointer;background:#111827;border:1px solid #4b5563;border-radius:4px;width:22px;height:22px;padding:0;font-size:14px;line-height:1}.stepper button:hover:not(:disabled){background:#374151}.stepper button:disabled{opacity:.4;cursor:default}.stepper-value{text-align:center;min-width:44px}.score-options{flex-wrap:wrap;justify-content:center}.golden-toggle{align-items:center;gap:6px;font-size:13px;display:flex}.modal-overlay{z-index:10;background:#0009;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal{background:#1f2937;border-radius:10px;flex-direction:column;gap:12px;width:100%;max-width:360px;max-height:90vh;padding:16px;display:flex;overflow-y:auto}.modal h2{text-align:center;margin:0;font-size:16px}.modal-section h3{color:#9ca3af;margin:0 0 6px;font-size:13px}.reason-grid{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.reason-grid button{color:#f3f4f6;cursor:pointer;background:#111827;border:1px solid #4b5563;border-radius:6px;padding:8px 6px;font-size:13px}.reason-grid button:hover{background:#374151}.modal-skip{color:#9ca3af;cursor:pointer;background:0 0;border:1px solid #4b5563;border-radius:6px;padding:8px;font-size:13px}.modal-skip:hover{background:#111827}
