:root{--bg:#101923;--panel:#182430;--panel-hi:#202e3b;--muted:#8c9aa7;--border:#2a3a47;--ink:#edf4f5;--accent:#f29a54;--accent-dark:#b45e29;--o:#f07b54;--d:#4a9bda;--teal:#5de1c9;--radius:15px;color-scheme:dark}
*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;background:linear-gradient(122deg,#111b25 0%,#0d1720 55%,#101923 100%);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,system-ui,sans-serif;font-size:13px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.38;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{text-decoration:none;color:inherit}
.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 31px;border-bottom:1px solid #2b3844;background:#121e29;position:relative;z-index:5}.brand{display:flex;align-items:center;gap:10px;min-width:220px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;background:#392c26;border-radius:12px;border:1px solid #775039}.brand strong{display:block;letter-spacing:1.9px;font-size:16px;line-height:1.3;font-weight:900}.brand small{display:block;letter-spacing:2.35px;color:#8595a2;font-size:9px;font-weight:800;margin-top:1px}.header-center{display:flex;align-items:center;gap:10px;min-width:0;color:#b6c5cb}.status-dot{width:6px;height:6px;border-radius:100%;background:#63d6af;box-shadow:0 0 0 4px #204638}.header-center #topProjectTitle{font-weight:700;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:270px}.version{font-size:10px;letter-spacing:1px;color:#efab74;background:#382c28;border:1px solid #564033;padding:5px 7px;border-radius:5px;white-space:nowrap}.header-actions{display:flex;gap:8px}.top-action{height:37px;border:1px solid #3b4b57;background:#1b2a36;border-radius:8px;color:#e5eef0;padding:0 13px;font-weight:700;white-space:nowrap}.top-action:hover{background:#2a3d49}.top-action.primary{background:var(--accent);color:#241c16;border-color:var(--accent);box-shadow:0 4px 18px #ef9a4b22}.top-action.primary:hover{background:#ffad6e}
.layout{display:grid;grid-template-columns:252px minmax(440px,1fr) 282px;align-items:start;min-height:calc(100vh - 76px);max-width:1920px;margin:auto}.panel{background:#17232e;min-height:calc(100vh - 76px)}.tools-panel{border-right:1px solid #2a3844}.library-panel{border-left:1px solid #2a3844}.panel-section{padding:25px 19px;border-bottom:1px solid #2a3946}.overline{font-size:9px;color:#ec9759;letter-spacing:2.1px;font-weight:900;margin-bottom:8px}.panel h2{font-size:16px;letter-spacing:.15px;margin:0 0 19px;font-weight:850}.field-label{display:block;color:#b4c2c9;font-size:11px;font-weight:800;letter-spacing:.1px;margin:18px 0 8px}.segmented{display:flex;background:#101d28;padding:4px;border:1px solid #30414d;border-radius:9px;gap:3px}.segmented button{border:0;background:transparent;color:#8497a4;flex:1;padding:10px 3px;font-size:11px;font-weight:700;border-radius:6px}.segmented button.active{background:#344653;color:white;box-shadow:0 2px 8px #0003}.field-tip{color:#7f92a0;line-height:1.65;font-size:10px;margin:9px 0 0}.field-control{width:100%;background:#101c27;border:1px solid #334552;color:#f0f5f6;border-radius:8px;min-height:38px;padding:9px 11px;outline:none}.field-control:focus{border-color:#f5a365}.field-control::placeholder{color:#647887}.field-control option{background:#13212d}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:7px}.section-heading h2{margin-bottom:15px}.hint-mini{color:#8092a0;font-size:9px;white-space:nowrap}.team-heading{font-size:10px;color:#b0c5d0;letter-spacing:1.3px;font-weight:900;display:flex;align-items:center;gap:7px;margin:16px 0 10px}.team-dot{width:9px;height:9px;display:inline-block;border-radius:100%}.team-dot.offense,.legend-pip.offense{background:var(--o)}.team-dot.defense,.legend-pip.defense{background:var(--d)}.team-sub{font-size:10px;color:#657e8e;font-weight:600;letter-spacing:0;margin-left:auto}.token-palette{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.palette-player{width:100%;aspect-ratio:1;border-radius:100%;border:1.8px solid #5e7580;background:transparent;color:#abbcc6;font-weight:900;font-size:14px;position:relative;transition:transform .12s,border-color .12s}.palette-player:hover{transform:translateY(-2px);border-color:#cedde2}.palette-player.present.offense{color:white;border-color:#f79a7d;background:#b95f43}.palette-player.present.defense{color:white;border-color:#7fbcf0;background:#366f9d}.palette-player.active{outline:2px solid #f5e6b9;outline-offset:3px}.palette-player:not(.present){border-style:dashed}.equipment-palette{display:flex;gap:7px}.equipment-palette button{display:flex;align-items:center;gap:6px;justify-content:center;flex:1;background:#22333f;color:#dfecf0;border:1px solid #3c5260;border-radius:8px;padding:10px 4px;font-size:11px;font-weight:750}.equipment-palette button:hover{border-color:#eeb481}.cone-icon{color:#f5b351}.ball-icon{color:#ed9a55;font-size:18px}.plus-mark{color:#90a7b6}.preset-buttons{display:flex;flex-direction:column;gap:7px}.outline-btn{padding:11px;border:1px solid #38505c;color:#d3e1e5;text-align:left;background:#21323e;border-radius:8px;font-size:11px;font-weight:700}.outline-btn span{margin-right:8px}.outline-btn:hover{background:#293f4d}.danger-outline{color:#cbadad}.danger-outline:hover{color:#fff;border-color:#b56868}.panel-bottom{padding:28px 19px 35px;margin-top:10px}.panel-bottom strong{font-size:10px;letter-spacing:1.6px;color:#eeab79}.panel-bottom p{color:#7f939f;font-size:11px;line-height:1.85}
.workspace{min-width:0;padding:28px 26px 40px}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.workspace-head h1{margin:0;font-size:clamp(21px,2vw,29px);letter-spacing:-.5px;line-height:1.4;font-weight:900}.workspace-head h1 span{color:#efaa75}.workspace-head p{color:#8fa0ad;margin:5px 0 0;font-size:11px;line-height:1.7}.help-button{display:flex;align-items:center;gap:7px;background:transparent;color:#a9bac4;border:1px solid #3a4b56;border-radius:100px;padding:9px 12px;font-size:12px;font-weight:800;white-space:nowrap}.help-button:hover{background:#243543}.board-shell{background:#1a2934;border:1px solid #334753;border-radius:16px;overflow:hidden;box-shadow:0 22px 65px #04090d33}.board-top-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 20px 14px}.board-title{display:flex;align-items:center;gap:8px}.court-indicator{font-size:18px;color:#eead77}.board-title strong{font-size:13px;letter-spacing:1.2px}.board-title>span:last-child{color:#7b94a3;font-size:10px;white-space:nowrap}.board-actions{display:flex;align-items:center;gap:4px}.board-actions button{background:transparent;border:1px solid transparent;color:#aebfc9;padding:8px;border-radius:7px;font-size:12px;font-weight:700;white-space:nowrap}.board-actions button:hover{background:#2c414e}.board-actions button.pressed{color:#ecc091}.toolstrip{display:flex;align-items:stretch;gap:4px;padding:8px 15px;background:#14212c;border-top:1px solid #2b3c48;border-bottom:1px solid #2b3c48;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#3c505f transparent}.tool-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:67px;flex:1;min-height:58px;padding:6px 6px;color:#92a5b2;border:1px solid transparent;background:transparent;border-radius:9px;font-size:10px;font-weight:750;white-space:nowrap}.tool-button:hover{background:#283845;color:#fff}.tool-button.selected{border-color:#7d5f49;background:linear-gradient(#48392f,#392f2c);color:#ffce99}.tool-glyph{font-size:23px;line-height:1.1;font-weight:400}.cut-glyph{color:#65dbc9}.dribble-glyph{color:#f29d56}.pass-glyph{color:#efefea}.shoot-glyph{color:#e5d978}.screen-glyph{color:#ce9cee}.defense-glyph{color:#65b4eb}.tool-separator{width:1px;flex:none;background:#2f4351;margin:6px 4px}.shape-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:13px 20px}.shape-label{color:#9cb0bc;font-size:10px;font-weight:800;white-space:nowrap}.shape-control{background:#101d28;border:1px solid #364957;padding:3px;border-radius:8px;display:flex;gap:2px}.shape-control button{border:0;background:transparent;color:#91a5b2;font-size:10px;font-weight:700;padding:8px 9px;border-radius:5px;white-space:nowrap}.shape-control button span{font-size:13px;margin-right:4px}.shape-control button.active{background:#354b59;color:#fff}.clear-lines{margin-left:auto;border:0;background:transparent;color:#aab9c2;font-size:10px;text-decoration:underline;text-underline-offset:3px;padding:6px}.clear-lines:hover{color:#fff}.court-area{padding:3px 18px 14px}.court-frame{width:100%;display:grid;place-items:center;background:#49392c;border-radius:5px;padding:7px;box-shadow:inset 0 2px 15px #0006,0 0 0 1px #53606a;overflow:hidden}.court-frame svg{display:block;width:100%;height:auto;max-height:65vh;user-select:none;-webkit-user-select:none;touch-action:none;cursor:crosshair}.court-frame svg.mode-select{cursor:default}.court-frame svg .token{cursor:grab}.court-frame svg.dragging .token{cursor:grabbing}.court-frame svg .drawn-path{cursor:pointer}.court-status{display:flex;justify-content:space-between;gap:12px;color:#9aabb7;font-size:10px;padding:13px 2px 0;line-height:1.5}.court-status>span:first-child{display:flex;align-items:center;gap:6px}.light-circle{width:7px;height:7px;border-radius:100%;background:#57d5a9;flex:none;box-shadow:0 0 9px #57d5a966}.court-status>span:last-child{font-size:9px;letter-spacing:.6px;white-space:nowrap;color:#708895}.legend{padding:14px 20px 17px;display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;border-top:1px solid #30434e;color:#a3b7c1;font-size:10px}.legend>div{display:flex;align-items:center;gap:6px}.legend-pip{width:10px;height:10px;border-radius:100%;display:inline-block}.legend-line{display:inline-block;width:22px;border-top:3px solid #52d8bf}.legend-line.wavy{border-color:#efa054;border-top-style:dotted}.legend-line.dashed{border-color:#e7f1ef;border-top-style:dashed}.legend-line.screen-line{border-color:#c69ceb}.workspace-note{margin:18px 2px 0;color:#82949f;font-size:11px;line-height:1.85}.note-label{color:#e6a16f;font-size:9px;font-weight:900;letter-spacing:1px;padding:4px 6px;border:1px solid #654b3d;border-radius:4px;white-space:nowrap;margin-right:8px}
.property-section{padding-bottom:18px}.empty-inspector{border:1px dashed #354957;border-radius:10px;padding:22px 9px;color:#778e9d;text-align:center}.empty-inspector span{font-size:26px}.empty-inspector p{line-height:1.9;font-size:11px}.inspector-item-head{display:flex;gap:10px;align-items:center;margin-bottom:15px}.inspector-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:100%;font-weight:900;font-size:15px;color:#fff;background:#365263}.inspector-icon.offense{background:#c7694d}.inspector-icon.defense{background:#3875ab}.inspector-icon.cone{background:#765330;color:#ffcb80;border-radius:8px}.inspector-icon.path{background:#2e5660;color:#70dfcd;border-radius:8px}.inspector-item-head strong{display:block;font-size:13px}.inspector-item-head small{color:#8197a6;display:block;margin-top:3px}.property-row{display:flex;gap:5px;justify-content:space-between;align-items:center;margin:11px 0;color:#a7b9c4;font-size:11px}.property-row strong{color:#e2eff0;font-size:11px;font-weight:750}.property-stack .field-label{margin:10px 0 5px}.property-stack select{min-height:34px;padding:6px 9px;font-size:11px}.danger-button{width:100%;margin-top:13px;padding:10px;border:1px solid #714a49;color:#e3a5a2;background:#3a292b;border-radius:7px;font-size:11px;font-weight:800}.danger-button:hover{background:#643539}.property-hint{font-size:10px;color:#79919f;line-height:1.6;margin-top:12px}.save-project-btn{width:100%;background:#f09a58;border:1px solid #f6aa6b;color:#271b16;font-size:12px;font-weight:900;border-radius:9px;min-height:41px;padding:10px 12px;box-shadow:0 6px 20px #d7844622}.save-project-btn:hover{background:#ffb274}.save-project-btn span{margin-right:7px;font-size:17px}.notes-input{min-height:88px;resize:vertical;font-size:11px;line-height:1.6}.save-subline{color:#788e9b;font-size:10px;line-height:1.6;margin:10px 0 0;text-align:center}.count-pill{background:#314553;color:#c1d1da;border-radius:99px;font-size:10px;padding:3px 7px;font-weight:700;vertical-align:middle}.import-btn{font-size:10px;font-weight:800;border:1px solid #3d5663;background:#213341;color:#b8d4df;border-radius:7px;padding:8px;white-space:nowrap}.filters{display:flex;gap:5px;margin:4px 0 14px}.filters button{flex:1;border:1px solid #334955;border-radius:7px;padding:7px 2px;font-size:10px;font-weight:700;background:#182833;color:#87a0ac}.filters button.active{border-color:#856249;color:#f4c092;background:#3a302b}.library-list{display:flex;flex-direction:column;gap:8px;max-height:420px;overflow:auto}.library-card{border:1px solid #334957;background:#1d303d;border-radius:10px;padding:12px;position:relative}.library-card:hover{border-color:#577384}.library-card.active{border-color:#ce9467}.library-card-top{display:flex;justify-content:space-between;gap:7px;align-items:flex-start}.library-card-title{color:#e5f0f3;font-size:11px;font-weight:850;line-height:1.5;word-break:break-word}.library-category{color:#e8ad7b;background:#3e302a;border-radius:4px;padding:3px 5px;font-size:9px;white-space:nowrap}.library-meta{margin-top:6px;font-size:9px;color:#7994a2}.library-controls{margin-top:10px;display:flex;gap:6px}.library-controls button{flex:1;background:#2b4352;color:#cfdee5;font-size:10px;padding:7px 4px;font-weight:700;border-radius:6px;border:1px solid #466171}.library-controls button:hover{background:#365264}.library-controls button.library-delete{flex:0 0 32px;color:#d99b9b;border-color:#604e52;background:#362e35}.library-empty{text-align:center;color:#8197a4;border:1px dashed #355061;border-radius:11px;padding:24px 12px}.library-empty .shelf{font-size:26px;color:#d5a17e}.library-empty strong{display:block;color:#b5c8d2;margin:9px 0 6px}.library-empty p{font-size:10px;line-height:1.8;margin:0}
.toast{position:fixed;bottom:23px;left:50%;transform:translate(-50%,20px);background:#314c43;color:#ebfff2;border:1px solid #5b8f79;border-radius:10px;z-index:100;padding:12px 18px;box-shadow:0 13px 40px #0008;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s;font-size:12px;font-weight:750;max-width:calc(100vw - 30px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{background:#593535;color:#ffe6dc;border-color:#995e56}.modal-overlay{z-index:80;position:fixed;inset:0;display:grid;place-items:center;background:#040b12cd;padding:18px}.modal-overlay.hidden{display:none}.modal-card{background:#192a36;border:1px solid #4b606c;border-radius:16px;width:100%;max-width:490px;max-height:88vh;overflow-y:auto;box-shadow:0 25px 80px #0009}.modal-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #314652;padding:19px 22px}.modal-head h2{font-size:18px;margin:0}.modal-head button{font-size:25px;background:transparent;color:#b9cbd0;border:0}.modal-body{padding:15px 23px}.help-step{display:flex;gap:12px;margin:17px 0}.help-step>b{color:#e6a66e;letter-spacing:1px}.help-step strong{font-size:12px}.help-step p{margin:5px 0;color:#9aacb7;font-size:11px;line-height:1.75}.modal-footer{padding:0 22px 23px}.active-context{color:#70e4ce!important}
@media(max-width:1400px){.layout{grid-template-columns:224px minmax(375px,1fr) 254px}.workspace{padding:24px 18px}.panel-section{padding:22px 15px}.toolstrip{padding-left:8px;padding-right:8px;gap:2px}.tool-button{min-width:62px;font-size:9px}}
@media(max-width:995px){.layout{grid-template-columns:minmax(0,1fr) 275px;grid-template-areas:"stage right" "tools right"}.workspace{grid-area:stage}.tools-panel{grid-area:tools;border-right:0;border-top:1px solid #354956;min-height:unset;display:grid;grid-template-columns:1fr 1fr}.tools-panel .panel-section{border-right:1px solid #2c3c48}.tools-panel .preset-section{grid-column:1}.tools-panel .panel-bottom{grid-column:2;grid-row:2;margin:0}.library-panel{grid-area:right}.workspace-head h1{font-size:25px}.panel{min-height:unset}.library-panel{min-height:calc(100vh - 76px)}}
@media(max-width:760px){.topbar{padding:0 15px;height:66px}.brand{min-width:0}.brand-mark{width:36px;height:36px}.brand-mark svg{width:31px;height:31px}.brand strong{font-size:14px}.brand small{font-size:7px;letter-spacing:1.5px}.header-center{display:none}.header-actions{gap:5px}.top-action{padding:0 9px;height:34px}.top-action span{display:none}.top-action.primary span{display:inline}.layout{grid-template-columns:1fr;grid-template-areas:"stage" "tools" "right"}.workspace{padding:23px 12px}.workspace-head{margin-bottom:19px}.workspace-head h1{font-size:23px}.workspace-head p{font-size:10px}.board-top-row{padding:12px 13px}.board-title strong{font-size:11px}.board-title>span:last-child{font-size:9px}.board-actions button{padding:7px;font-size:13px}.board-actions button span{display:none}.board-actions{gap:1px}.toolstrip{padding:7px 8px;gap:3px}.tool-button{min-width:65px;min-height:55px;flex:0 0 65px;font-size:9px}.tool-button:first-child{flex-basis:78px}.shape-row{padding:10px 11px;gap:6px}.shape-control button{padding:7px 5px;font-size:9px}.shape-control button span{font-size:11px;margin-right:2px}.shape-label{font-size:9px}.clear-lines{margin-left:0}.court-area{padding:3px 10px 10px}.court-frame{padding:4px}.court-status{font-size:9px}.court-status>span:last-child{font-size:8px}.legend{gap:10px 12px;padding:12px;font-size:9px}.workspace-note{font-size:10px}.tools-panel{grid-template-columns:1fr 1fr}.tools-panel .panel-section{padding:18px 14px}.tools-panel .panel-section:first-child{border-right:1px solid #2c3c48}.tools-panel .preset-section{grid-column:1}.tools-panel .panel-bottom{grid-column:2;grid-row:2}.library-panel{border-left:0;border-top:1px solid #364a56}.library-panel .panel-section{padding:20px 18px}.panel-bottom{padding:25px 14px}.library-list{max-height:none}.library-section{padding-bottom:32px!important}.workspace-head .help-button{font-size:11px;padding:7px 9px}}
@media(max-width:470px){.top-action.primary span{display:none}.workspace-head h1{font-size:20px}.workspace-head p{max-width:265px}.help-button span{display:none}.tools-panel{grid-template-columns:1fr}.tools-panel .panel-section,.tools-panel .panel-section:first-child{border-right:0}.tools-panel .preset-section,.tools-panel .panel-bottom{grid-column:1;grid-row:auto}.tools-panel .panel-bottom{display:none}.token-palette{max-width:300px}.equipment-palette{max-width:300px}.board-title{gap:4px}.board-title>span:last-child{display:none}.shape-label{width:100%}.clear-lines{margin-left:auto}.court-status{flex-wrap:wrap}.toolstrip{scrollbar-width:none}.toolstrip::-webkit-scrollbar{display:none}}
.path-order-item{display:flex;align-items:center;gap:6px;background:#1a2d3a;border:1px solid #354b56;border-radius:7px;padding:6px;margin:5px 0;min-height:34px;cursor:pointer}.path-order-item:hover{background:#263c4a}.path-order-item.current{border-color:#e3b083}.path-no{color:#a5b8c5;font-size:10px;min-width:17px;text-align:center}.path-line{width:16px;height:3px;border-radius:5px;flex:none}.path-order-name{min-width:0;flex:1;font-size:10px;font-weight:750;color:#dae8ec;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.path-order-name small{display:block;font-size:9px;color:#7994a2;font-weight:500;padding-top:2px}.path-order-item button{border:1px solid #48616d;background:#28404c;color:#d8e9ed;border-radius:5px;padding:4px 5px;font-size:11px;flex:none;min-width:23px}

/* COURTSIDE v0.2 playback & high-contrast tactical ink */
.court-frame{background:#b99063;box-shadow:inset 0 2px 15px #0004,0 0 0 1px #566573}
.court-frame svg .curve-handles circle{cursor:move;touch-action:none;filter:drop-shadow(0 1px 3px #171e28aa)}
.court-frame svg .curve-handles circle:hover{fill:#fff1a4;stroke:#0d293f;stroke-width:4}
.court-frame svg .drawn-path{cursor:pointer}
.legend-line.solid{border-color:#087b70}.legend-line.wavy{border-color:#6f26c9}.legend-line.dashed{border-color:#184cc4}.legend-line.screen-line{border-color:#aa1f66}
.dribble-glyph{color:#c58eff}.cut-glyph{color:#6ce1bd}.pass-glyph{color:#96bcff}.shoot-glyph{color:#ffbb75}.screen-glyph{color:#f4a1ca}.defense-glyph{color:#84d0ee}
.playback-panel{margin:0 14px 15px;border-radius:12px;border:1px solid #3d5b67;background:linear-gradient(115deg,#213748,#152936);padding:16px 18px;display:grid;gap:12px}
.playback-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.playback-kicker{font-size:9px;font-weight:900;letter-spacing:1.6px;color:#d7a67e}
.playback-head h2{margin:4px 0 0;font-size:15px;color:#e9f2f4}
.playback-head h2 span{color:#8bb7cc;font-size:11px;margin-left:5px;font-weight:700}
.mode-chip{background:#304956;border:1px solid #59717c;color:#bfe5e4;font-size:10px;padding:6px 10px;border-radius:99px;white-space:nowrap}
.step-description{border-radius:8px;background:#0e202c;padding:12px 13px;color:#e3f0f1;line-height:1.6;font-size:12px;min-height:42px}
.player-buttons{display:grid;grid-template-columns:51px 1fr 1.1fr 1fr;gap:7px}
.player-buttons button{background:#2b4758;color:#e4f0f3;border:1px solid #4a6777;border-radius:9px;padding:12px 5px;font-size:12px;font-weight:800}
.player-buttons button.player-primary{background:#ed9958;color:#271b18;border-color:#f6aa73}
.player-buttons button:not(:disabled):hover{filter:brightness(1.14)}
#playbackScrubber{width:100%;accent-color:#f1a263;cursor:pointer;height:24px;margin:0}
.playback-settings{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;color:#b5cbd5;font-size:11px}
.playback-settings label{display:flex;align-items:center;gap:7px}
.playback-settings select{background:#142a37;color:#edf6f5;border:1px solid #4e6d7b;padding:7px 8px;border-radius:6px}
.pause-toggle input{accent-color:#f09b5c;width:15px;height:15px}
#showInitialBtn{margin-left:auto;background:transparent;border:1px solid #4d6c79;color:#cedee6;border-radius:7px;padding:8px;font-size:10px;font-weight:700}
.playback-tip{font-size:10px;color:#9cb4c2;margin:0;line-height:1.5}
.curve-editor{margin:13px 0;padding:11px;background:#223744;border:1px solid #3c5a69;border-radius:9px}
.curve-editor .field-label{margin:0 0 8px}.curve-editor p{font-size:10px;color:#bbcfda;line-height:1.65;margin:0 0 10px}
.curve-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.curve-buttons button{background:#2d4957;color:#e8f4f6;border:1px solid #4f6a77;padding:9px 5px;border-radius:6px;font-size:10px;font-weight:700}
.curve-buttons button:first-child{grid-column:1/-1;background:#3c455d}
@media(max-width:760px){.playback-panel{margin:0 9px 11px;padding:12px}.player-buttons{gap:5px}.player-buttons button{padding:11px 4px;font-size:11px}}
@media(max-width:470px){.playback-settings #showInitialBtn{margin-left:0}.playback-panel{padding:11px}.player-buttons{grid-template-columns:40px 1fr 1.1fr 1fr}}

.sample-btn{background:#25473e;border-color:#49806a;color:#d5f7e9}
.sample-btn:hover{background:#315f53}
