#media[hidden],.video-panel[hidden]{display:none!important}
.video-panel .button{padding:7px 11px;font-size:var(--practice-font-size,16px)}
.media-workspace{display:flex;flex-direction:column;gap:18px;align-items:stretch}
.video-panel{order:0;flex:none;align-self:center;width:min(66vw,100%);max-width:none;min-width:0;max-height:none;overflow:hidden;border:2px solid #515969;border-radius:9px;background:#202630;color:#f1f4fa}
.timeline-card{order:1}.video-stage{position:relative;width:100%;height:66vh;overflow:hidden;background:#101319;touch-action:none;cursor:pointer}.video-stage.zoomed{cursor:grab}.video-stage.zoomed:active{cursor:grabbing}
.video-panel #picture{position:absolute;inset:0;width:100%;height:100%;max-height:none;min-height:0;object-fit:contain;transform-origin:center;pointer-events:none}
.video-toolbar,.video-tools,.video-loop-keys{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 14px;font-size:var(--practice-font-size,16px)}.video-toolbar{background:#303744}.video-toolbar strong{margin-right:auto;letter-spacing:1px}.video-toolbar label,.video-tools label{display:flex;align-items:center;gap:7px}.video-toolbar input,.video-tools input[type=number]{width:88px;padding:7px;border-radius:4px;border:1px solid #7a8799;background:#f7f8fa;color:#17202b;font:inherit}.video-tools input[type=range]{width:110px}.video-tools button,.video-loop-keys button{background:#d8e8fa;border:1px solid #8eabc9;border-radius:4px;color:#142a43;padding:7px 10px;font:inherit}.video-tools span{font-size:var(--practice-font-size,16px);color:#ccd7e6}.video-loop-keys{padding-top:0}.video-loop-keys kbd{background:#1d3d64;color:white;border:0;padding:2px 6px;font-size:var(--practice-font-size,16px)}.video-panel:fullscreen{width:100vw;height:100dvh;display:flex;flex-direction:column;border:0;border-radius:0}.video-panel:fullscreen .video-stage{height:auto;flex:1;min-height:0}.video-panel:fullscreen .video-toolbar,.video-panel:fullscreen .video-tools,.video-panel:fullscreen .video-loop-keys{flex-shrink:0}
.speed #playback-bpm{width:82px;padding:6px;border:1px solid #a7b3c4;border-radius:4px;background:#fff;font-size:var(--practice-font-size,16px);color:#17202b}.speed #speed-value{background:none;padding:0;font-size:var(--practice-font-size,16px);min-width:0}.speed{gap:8px}.speed input[type=range]{width:110px}.part-index{font-size:17px;font-weight:700;background:#c3e3fa;color:#19394f;border-radius:3px;padding:3px 5px}
@media(max-width:1100px){.video-panel{width:100%}.video-stage{height:66vh}}@media(max-width:700px){.video-toolbar,.video-tools{padding:9px;font-size:var(--practice-font-size,16px)}.video-stage{height:60vh}.video-loop-keys{gap:6px}.video-loop-keys button{font-size:var(--practice-font-size,16px)}.speed{flex-wrap:wrap}}

.build-version{display:inline-block;vertical-align:middle;margin-left:12px;border:2px solid #1c65a8;border-radius:5px;padding:5px 9px;background:#d6eafe;color:#123b63;font-size:var(--practice-font-size,16px);letter-spacing:0;white-space:nowrap;font-weight:800}

.speed{flex-wrap:wrap;border:2px solid #6e99be;padding:10px 12px;border-radius:6px;background:#e4f0fc;color:#183a59}.speed>label{font-size:var(--practice-font-size,16px);font-weight:800;color:#183a59}.speed button{padding:7px 10px;border:1px solid #7a9bbb;background:#fff;color:#163b5c;border-radius:4px;font-size:var(--practice-font-size,16px);font-weight:700}.speed #playback-bpm{width:92px;font-size:20px;font-weight:800}.speed small{font-size:var(--practice-font-size,16px);color:#365872;white-space:nowrap}
