.live-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.live-entry h2{font-size:22px;margin:7px 0 10px}.live-entry p:not(.eyebrow){color:var(--muted);font-size:12px;line-height:1.7}.live-entry>.button{flex:none}
.live-workspace{padding:22px 24px;background:#1b2624;border:1px solid #526b62;border-radius:8px;margin-bottom:22px}.live-heading{display:flex;align-items:center;justify-content:space-between;gap:22px}.live-heading h2{font-size:25px;margin:5px 0 8px}.live-heading #live-state{font-size:11px;color:var(--mint)}.live-exit{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;max-width:400px}.live-transport{display:grid;grid-template-columns:auto minmax(100px,1fr) 120px 140px;align-items:end;gap:20px;margin-top:22px}.live-scrub input{width:100%;height:37px;accent-color:var(--coral)}.live-loop-row{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:15px}.live-loop-row .control{width:110px}.live-key-help{color:var(--dim);font-size:10px;line-height:1.8;margin-top:7px}#live-status{margin-top:12px}#live-status.error{color:var(--coral)}
.is-editing .play-topbar,.is-editing .play-aside,.is-editing .play-right,.is-editing .game-hud,.is-editing .resonance-bar,.is-editing .lane-buttons,.is-editing .play-footnote,.is-editing .judgment-display{display:none}.is-editing .play-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.25fr);gap:24px;align-items:start}.is-editing .game-stage{width:100%;max-width:none;position:sticky;top:18px}.is-editing .field-wrap canvas{height:min(73dvh,820px);min-height:400px;cursor:crosshair;touch-action:none}.live-editor-dock{min-width:0}.live-editor-dock .creator-panel{padding:20px;margin:0}.live-editor-dock .creator-panel>summary{font-size:19px;pointer-events:none}.live-editor-dock .creator-panel>summary>span:last-child{display:none}.live-editor-dock .editor-body{padding-top:8px}.live-editor-dock .editor-body>p:first-child{display:none}.live-editor-dock .editor-toolbar{margin-top:12px}.live-editor-dock .editor-window{margin:14px 0 10px}.live-editor-dock #editor-canvas{height:230px}.live-editor-dock .timeline-inspector{padding-top:14px}.live-editor-dock .timeline-help{font-size:9px}.live-editor-dock .timeline-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.live-editor-dock .timeline-fields>.button{grid-column:1/-1}.live-editor-dock .editor-manual{grid-template-columns:1fr 1fr}.live-editor-dock #editor-preview,.live-editor-dock #editor-seek-preview{display:none}.live-editor-dock .timeline-toolbar{grid-template-columns:1fr 1fr}.live-editor-dock .timeline-operations{flex-wrap:wrap}
@media(max-width:1050px){.is-editing .play-layout{grid-template-columns:minmax(250px,.8fr) minmax(0,1fr);gap:14px}.live-editor-dock .creator-panel{padding:14px}.live-editor-dock .editor-toolbar{grid-template-columns:1fr 1fr}.live-editor-dock .editor-toolbar>label:last-child{grid-column:1/-1}.live-heading{align-items:flex-start}.live-exit{max-width:250px}.live-workspace{padding:18px}.live-transport{gap:12px;grid-template-columns:auto minmax(90px,1fr) 90px 120px}}
@media(max-width:760px){.live-entry{align-items:flex-start;flex-direction:column;gap:15px}.live-heading{display:block}.live-heading h2{font-size:21px}.live-exit{justify-content:flex-start;max-width:none;margin-top:16px}.live-transport{grid-template-columns:1fr 1fr}.live-scrub{grid-column:1/-1;grid-row:1}.live-transport>.button{grid-column:1/-1}.live-loop-row{gap:12px}.live-loop-row .control{width:95px}.is-editing .play-layout{display:flex;flex-direction:column;gap:16px}.is-editing .game-stage{position:relative;top:0;max-width:none}.is-editing .field-wrap canvas{height:50dvh;min-height:260px;max-height:500px}.live-editor-dock{width:100%}.live-editor-dock #editor-canvas{height:230px}.live-editor-dock .timeline-fields{grid-template-columns:1fr 1fr}.live-key-help{font-size:9px}.live-entry h2{font-size:19px}.live-exit .button{font-size:10px}.live-workspace{padding:16px}.live-workspace input,.live-workspace select{min-width:0;max-width:100%}}

/* Readable controls in the editing workspace, including narrow screens. */
.live-entry p:not(.eyebrow),.live-workspace .control,.live-workspace .field-hint,.live-workspace label,.live-workspace input,.live-workspace select,.live-workspace .button,.live-editor-dock .control,.live-editor-dock input,.live-editor-dock select,.live-editor-dock .button,.live-editor-dock .text-button{font-size:14px}.live-heading #live-state,.live-key-help,.live-editor-dock .timeline-help,.live-editor-dock .field-hint{font-size:12px}.live-workspace .button,.live-editor-dock .button{white-space:normal;min-width:0}

@media(max-width:760px){.is-editing .game-stage{position:sticky;top:0;z-index:5;background:#141b19;padding-top:6px}.is-editing .field-wrap canvas{height:32dvh;min-height:210px;max-height:320px}.is-editing .game-stage .flow-banner{font-size:12px}}
