:root{--bg:#f4f6f9;--surface:#fff;--text:#1b2430;--text-muted:#5b6676;--border:#d9dee6;--accent:#0b2545;--sans:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;font:16px/1.45 var(--sans);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#10151c;--surface:#18202a;--text:#e8edf3;--text-muted:#9aa6b5;--border:#2a3542;--accent:#8ab4f8}}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{overscroll-behavior:none}.app{height:100%;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);flex-direction:column;display:flex}.app-header{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:10px 16px;display:flex}.app-header h1{margin:0;font-size:18px;font-weight:650}.rink-area{flex:1;justify-content:center;min-height:0;padding:12px 16px;display:flex}.rink{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:100%}.puck{cursor:grab;outline:none}.puck:active{cursor:grabbing}.puck:focus-visible .puck-hit{stroke:var(--accent);stroke-width:.5px;stroke-dasharray:1.5 1}.mode-toggle{background:var(--bg);border:1px solid var(--border);border-radius:999px;padding:3px;display:inline-flex}.mode-toggle button{min-height:36px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0 14px;font-size:14px;font-weight:600}.mode-toggle button.active{background:var(--accent);color:var(--surface)}.mode-toggle button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.status-row{align-items:center;gap:12px;padding:8px 16px 0;display:flex}.status{flex-direction:column;flex:1;min-width:0;margin:0;font-size:14px;font-weight:600;display:flex}.status span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.status-system{color:var(--text-muted);font-size:13px;font-weight:500}.app-body{flex-direction:column;flex:1;min-height:0;display:flex}.below-rink{flex:none;min-width:0}.presets{scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:8px;padding:0 16px 8px;display:flex;overflow-x:auto}.presets::-webkit-scrollbar{display:none}.presets button{border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--text);font:inherit;white-space:nowrap;cursor:pointer;border-radius:999px;flex:none;padding:0 14px;font-size:13px;font-weight:600}.presets button.active{border-color:var(--accent);background:var(--accent);color:var(--surface)}.presets button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.hint{text-align:center;color:var(--text-muted);margin:0;padding:0 16px 12px;font-size:13px}.zone{cursor:pointer;outline:none;transition:fill-opacity .15s,stroke-opacity .15s}.zone:focus-visible{stroke-opacity:1;stroke-width:.8px;stroke:var(--text)!important}.tip-sheet{background:var(--surface);border-top:1px solid var(--border);border-radius:16px 16px 0 0;flex:none;max-height:46%;padding:14px 16px 18px;overflow-y:auto;box-shadow:0 -6px 18px #00000014}.tip-header{align-items:flex-start;gap:10px;display:flex}.tip-dot{border-radius:50%;flex:none;width:14px;height:14px;margin-top:4px}.tip-heading{flex:1;min-width:0}.tip-heading h2{margin:0;font-size:17px;line-height:1.3}.tip-situation{color:var(--text-muted);margin:2px 0 0;font-size:13px}.tip-close{width:44px;height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;flex:none;margin:-10px -10px 0 0;font-size:28px;line-height:1}.tip-close:focus-visible{outline:2px solid var(--accent);border-radius:8px}.tip-focus{margin:10px 0 0;font-weight:600}.tip-now{background:var(--bg);border-radius:8px;margin:10px 0 0;padding:8px 10px;font-size:14px}.tip-list{margin:10px 0 0;padding-left:20px;font-size:15px}.tip-list li+li{margin-top:6px}.tip-level{color:var(--text-muted);margin:12px 0 0;font-size:12px}@media (width<=759px){.app.has-sheet .status-row{display:none}}@media (width>=760px){.app-body{flex-direction:row}.hint{display:none}.below-rink{width:220px;padding:12px 16px 12px 0}.presets{flex-direction:column;padding:0;overflow:visible}.presets button{text-align:left}.tip-sheet{border:1px solid var(--border);border-radius:16px;width:360px;max-height:none;margin:12px 16px 12px 0}}.settings-button{border:1px solid var(--border);background:var(--surface);width:44px;height:44px;color:var(--text);font:inherit;cursor:pointer;border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.settings-button svg{width:22px;height:22px}.settings-button:focus-visible,.btn-primary:focus-visible,.btn-secondary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.settings{border:1px solid var(--border);background:var(--surface);width:min(440px,100% - 32px);max-height:calc(100% - 32px);color:var(--text);border-radius:16px;padding:0}.settings::backdrop{background:#00000073}.settings-body{padding:16px}.settings-header{justify-content:space-between;align-items:flex-start;display:flex}.settings-header h2{margin:0;font-size:19px}.settings-group{border:0;margin:14px 0 0;padding:0}.settings-group legend{letter-spacing:.02em;text-transform:uppercase;color:var(--text-muted);margin-bottom:6px;padding:0;font-size:13px;font-weight:700}.settings-option{border:1px solid var(--border);cursor:pointer;border-radius:10px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.settings-option+.settings-option{margin-top:6px}.settings-option:has(input:checked){border-color:var(--accent);background:var(--bg)}.settings-option input{accent-color:var(--accent);flex:none;width:18px;height:18px;margin:3px 0 0}.settings-label{font-weight:600;display:block}.settings-hint{color:var(--text-muted);font-size:13px;display:block}.settings-footer{justify-content:space-between;gap:12px;margin-top:18px;display:flex}.btn-primary,.btn-secondary{min-height:44px;font:inherit;cursor:pointer;border-radius:10px;padding:0 18px;font-weight:600}.btn-primary{background:var(--accent);color:var(--surface);border:0}.btn-secondary{border:1px solid var(--border);color:var(--text);background:0 0}
