.playground-home{--ink:#102d23;--green:#164c35;--muted:#7a838b;--line:#e3e7e7;background:#fff;color:var(--ink);font-family:"PingFang SC","Noto Sans SC","Microsoft YaHei",sans-serif;margin:0}
html:has(body.playground-home){scrollbar-gutter:stable}
.playground-home *{box-sizing:border-box}
.playground-home [hidden]{display:none!important}
.playground-home button,.playground-home input,.playground-home select{font:inherit}
.playground-home button{cursor:pointer;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);transition:background .15s,color .15s}
.playground-home button:hover:not(:disabled){background:#f0f6f0}
.playground-home button:disabled{opacity:.45;cursor:default}
.playground-home button:focus-visible,.playground-home a:focus-visible,.playground-home select:focus-visible,.playground-home canvas:focus-visible{outline:3px solid #639b70;outline-offset:4px}
.playground-home input[type=range]{accent-color:var(--green);height:22px;cursor:pointer}
.playground-home a{color:inherit;text-decoration:none}
.playground-home img{object-fit:contain}
.home-header{position:sticky;top:0;z-index:20;background:#fff;max-width:1560px;margin:auto;height:100px;padding:0 60px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.home-brand{display:flex;align-items:center;gap:16px;font-size:18px;font-weight:650;letter-spacing:.2px;white-space:nowrap}.brand-logo{width:210px;height:auto;max-height:40px;display:block}
.experience-tabs{display:flex;gap:54px;align-items:center}
.experience-tabs button{font-size:20px;padding:14px 0 12px;border:0;border-radius:0;border-bottom:2px solid transparent;color:#656c78;background:none;font-weight:600}
.experience-tabs button[aria-selected=true]{border-color:var(--green);color:var(--green)}
.header-buy{font-size:15px;color:var(--muted)!important;padding:16px}
.home-main{max-width:1560px;padding:0 60px;margin:auto}
.experience-scene{display:grid;grid-template-columns:minmax(0,1fr) 296px;gap:38px;align-items:start}
.home-model-area{position:relative;min-width:0}
.scene-heading{position:absolute;top:32px;left:0;z-index:2;pointer-events:none;max-width:345px}
.scene-heading h1{font-size:40px;line-height:1.42;font-weight:700;letter-spacing:-1.3px;margin:0 0 14px}
.scene-heading p{font-size:16px;line-height:1.7;color:var(--muted);margin:0}
.is-manipulating .scene-heading{visibility:hidden}
.home-viewport{position:relative;height:clamp(500px,calc(100svh - 240px),635px);width:100%;overflow:hidden;background:#fff}
#home-model{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline:none}
#home-model.dragging{cursor:grabbing}
#home-loading,#home-error{position:absolute;inset:48% 5% auto;text-align:center;color:var(--muted);background:#fff;padding:20px}
#home-error{color:#9c3e2b}
.home-view-controls{position:absolute;right:3px;bottom:123px;display:flex;gap:8px;align-items:center;color:var(--muted);font-size:13px}
.home-view-controls select{border:1px solid var(--line);border-radius:8px;padding:7px 9px;color:var(--muted);background:#fff}
.icon-button{height:38px;width:38px;display:inline-flex;align-items:center;justify-content:center;border:0!important;background:transparent!important}
.icon-button img{width:23px;height:23px;opacity:.75}
.home-transport{margin:8px 15px 0 70px;min-height:80px;border:1px solid var(--line);border-radius:28px;display:flex;gap:18px;align-items:center;padding:10px 17px;box-shadow:0 10px 26px #14352507}
.home-transport .round-play{display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--green);border:0;border-radius:50%;width:56px;height:56px}
.round-play img{width:27px;height:27px;filter:invert(1)}
.playground-home .round-play:hover:not(:disabled){background:#216345}
.home-direction{border-left:1px solid #d7ddda;padding-left:20px;display:flex;gap:2px;flex-shrink:0}
.home-direction button{border:0;border-radius:30px;min-width:105px;padding:11px 17px;color:#70787e;font-size:15px}
.home-direction button[aria-pressed=true]{background:var(--green);color:#fff}
.home-speed{display:flex;align-items:center;gap:14px;border-left:1px solid #d7ddda;padding-left:20px;flex:1;white-space:nowrap;color:#747c84;font-size:14px}
.home-speed input{min-width:60px;width:100%}
#home-rpm{font-size:12px;white-space:nowrap;min-width:53px;color:var(--muted);font-variant-numeric:tabular-nums}
.home-motion-note{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.home-parts-panel{padding-top:36px;min-width:0}
#observe-panel{display:flex;flex-direction:column;height:min(calc(var(--home-scene-height,500px) + 88px),calc(100svh - 130px));min-height:260px;overflow:hidden}
#observe-panel .home-panel-heading,#observe-panel .parts-footnote{flex-shrink:0}
#home-parts{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;scrollbar-gutter:stable;padding-right:6px;scrollbar-width:thin}
#home-parts:focus-visible{outline:2px solid #639b70;outline-offset:-2px}
#observe-panel .parts-footnote{margin:12px 0 8px}
.home-panel-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 0 17px}
.home-panel-heading h2{font-size:26px;line-height:1.4;font-weight:600;margin:0}
.text-link{display:inline-flex;align-items:center;gap:6px;border:0!important;border-radius:0!important;background:none!important;padding:6px 0;color:var(--green)!important;font-size:13px}
.text-link img{width:20px;height:20px}
.home-part-group{border-bottom:1px solid var(--line)}
.home-part-group summary{display:flex;align-items:center;gap:9px;list-style:none;min-height:82px;cursor:pointer;padding:8px 0;color:#283137}
.home-part-group summary::-webkit-details-marker{display:none}
.home-part-group summary>.caret{width:18px;height:18px;opacity:.6;transition:transform .15s}
.home-part-group[open] summary>.caret{transform:rotate(90deg)}
.part-thumbnail{width:48px;height:48px;object-fit:contain;flex-shrink:0}
.home-part-group:first-child summary{min-height:58px;font-weight:600}
.home-part-group:first-child summary>.part-thumbnail{display:none}
.part-name{flex:1;line-height:1.5;font-size:16px}
.visibility-button{width:36px;height:40px;padding:6px;border:0!important;background:none!important;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.visibility-button img{width:23px;height:23px}
.visibility-button[aria-pressed=false]{opacity:.38}
.home-part-row{display:flex;align-items:center;gap:12px;margin-left:26px;padding:8px 0;min-height:78px;border-top:1px solid #eff1ee}
.home-part-row .part-name{font-size:14px;color:#5f676c}
.home-part-row{gap:8px}.part-colour{flex-shrink:0;width:28px;height:28px;padding:2px;border:1px solid #cdd8ce;border-radius:50%;background:transparent;cursor:pointer}.part-colour::-webkit-color-swatch-wrapper{padding:2px}.part-colour::-webkit-color-swatch{border:0;border-radius:50%}.colour-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0}.colour-actions>button{font-size:12px;padding:8px}#home-colour-status{margin:5px 0;line-height:1.5;font-size:11px}.builtin-track-field{display:grid;gap:12px;font-size:13px;margin:22px 0}.builtin-track-field select{width:100%;min-width:0;padding:11px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:#f5f9f3}
.parts-footnote{font-size:12px;color:var(--muted);margin-top:20px}
.home-purchase{border-top:1px solid #ccd5cd;display:grid;grid-template-columns:minmax(0,1fr) 210px 310px;align-items:center;gap:42px;margin-top:16px;padding:27px 14px 18px;min-height:225px}
.home-purchase h2{font-size:44px;font-weight:600;letter-spacing:-1.3px;line-height:1.4;margin:0 0 12px}
.home-purchase p{font-size:20px;color:var(--muted);letter-spacing:1px;margin:0;line-height:1.6}
.purchase-product{width:180px;height:180px;object-fit:contain}
.home-primary{display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:15px 24px;background:var(--green)!important;color:#fff!important;border:1px solid var(--green)!important;border-radius:13px!important;font-size:17px;font-weight:600}
.home-primary img{width:24px;height:24px;filter:invert(1)}
.purchase-action>.home-primary{width:100%;height:65px;font-size:21px}
.purchase-action #purchase-message{font-size:12px;letter-spacing:0;margin-top:12px}
.home-footer{max-width:1560px;margin:auto;padding:0 74px 15px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#919a9c;background:white}
.home-footer a{display:inline-flex;align-items:center;gap:10px;font-size:13px}
.home-footer img{width:18px;height:18px;opacity:.45}
/* Assembly intentionally opens more white space above the exploded scene. */
[data-experience=assemble] .scene-heading{top:13px}
[data-experience=assemble] .scene-heading h1,[data-experience=music] .scene-heading h1{font-size:33px}
[data-experience=assemble] .home-viewport{height:clamp(500px,calc(100svh - 230px),635px)}
[data-experience=assemble] .home-view-controls{bottom:140px}
.assembly-status-bar{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:19px 0;flex-wrap:wrap;min-height:86px}
.assembly-status-bar>div{display:flex;gap:14px;align-items:center;flex:1;min-width:240px}
.assembly-status-bar strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:15px}
.assembly-status-bar span{color:var(--muted);font-size:13px;line-height:1.6}
.assembly-status-bar progress{width:65px;height:5px;accent-color:var(--green)}
.assembly-status-bar .home-primary{padding:10px 16px;font-size:14px}
#inventory-remaining{font-size:12px;color:var(--muted)}
.inventory-intro{color:var(--muted);font-size:12px;line-height:1.8;margin:15px 0}
#assembly-inventory{max-height:min(570px,calc(100svh - 265px));overflow:auto;scrollbar-width:thin;padding-right:4px}
.inventory-category{margin:0 0 16px}
.inventory-category h3{font-size:12px;font-weight:500;color:var(--muted);margin:0 0 8px}
.inventory-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.inventory-part{border-radius:8px!important;text-align:center;padding:3px 4px 6px;min-height:87px;touch-action:none;position:relative}
.inventory-part img{display:block;width:100%;height:56px;pointer-events:none}
.inventory-part span{font-size:10px;line-height:1.3;display:block}
.inventory-part[aria-pressed=true]{border-color:#4f8862;background:#f0f7ed}
.inventory-part[data-installed=true]{opacity:.25!important;cursor:default}
.inventory-part .installed-label{font-size:10px;position:absolute;inset:22px 0 auto;color:var(--green);background:#ffffffed;padding:4px}
#assembly-targets{position:absolute;inset:0;pointer-events:none}
.assembly-slot{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;border:1px solid #629773!important;background:#f3f9f0eb!important;border-radius:18px!important;padding:6px 10px;min-height:30px;min-width:30px;white-space:nowrap;font-size:11px!important;color:#2b573b!important}
.assembly-slot.is-near{background:#164c35!important;color:#fff!important;box-shadow:0 0 0 5px #639b7029}
.assembly-slot:disabled{display:none}
.assembly-layer-caption{position:absolute;transform:translate(-50%,-50%);font-size:12px;color:#7c8780;pointer-events:none;background:#ffffffd9;padding:3px 8px}
.music-panel>p{font-size:20px;line-height:1.8;margin:28px 0;color:#455c50}
.music-panel>button{width:100%;margin:8px 0;min-height:47px}
.music-panel .music-panel-note{font-size:13px;line-height:1.9;color:var(--muted)}
.music-colours{border-top:1px solid var(--line);padding-top:18px}
.music-colours h3{font-size:14px;font-weight:500;margin:0 0 12px}
.music-colours label{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin:12px 0}
.music-colours input[type=color]{width:45px;height:29px;border:1px solid var(--line);padding:2px;background:white;border-radius:6px}
.music-observe-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:center;margin-top:16px;min-height:54px}
.music-observe-controls button{padding:10px 13px;min-height:42px}
.music-observe-controls button img{width:18px;height:18px}
.music-observe-controls output{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;margin-left:8px}
#home-stage-edit{display:none}
#music-editor{width:min(1400px,calc(100vw - 44px));max-width:none;max-height:calc(100svh - 40px);padding:0;border:1px solid #ffffffa6;border-radius:24px;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;color:var(--ink);box-shadow:inset 0 1px 0 #fff8,0 24px 100px #102d2338;overflow:hidden;isolation:isolate}
#music-editor::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:#edf6eeb0;backdrop-filter:blur(10px) saturate(135%);-webkit-backdrop-filter:blur(10px) saturate(135%)}
#music-editor>.music-editor-heading,#music-editor>.music-editor-body{position:relative;z-index:1}
#music-editor[open]{display:flex;flex-direction:column}
#music-editor::backdrop{background:#14392610;backdrop-filter:none;-webkit-backdrop-filter:none}
body:has(#music-editor[open]){overflow:hidden}
.music-editor-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 26px;border-bottom:1px solid var(--line);flex-shrink:0}
.music-editor-heading h2{font-size:23px;margin:0 0 5px;line-height:1.4}
.music-editor-heading p{font-size:12px;line-height:1.7;margin:0;color:var(--muted)}
.music-editor-heading button{padding:12px 18px;background:var(--green);color:white;flex-shrink:0}
.playground-home .music-editor-heading button:hover:not(:disabled){background:#216345}
.music-editor-body{padding:22px 26px 26px;overflow-y:auto;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable}
.home-music{margin:0;padding:0}
.playground-home .studio{margin:0;border:0;border-radius:0;padding:0;background:transparent;grid-column:auto}
.playground-home .editor-header h2{font-size:24px;color:var(--ink)}
.playground-home .editor-header{padding-top:0}
.playground-home .editor-header span{font-size:13px}
.playground-home .curve-workspace{grid-template-columns:170px minmax(200px,1fr) 185px}
.playground-home .curve-editor{border-radius:14px;background:#f6faf651;border-color:#ffffff90}.playground-home .timeline-scroll{background:#f6faf651}.playground-home #score-waveform,.playground-home #segment-curve-preview{opacity:.86}.playground-home .editor-toolbar,.playground-home .curve-heading{background:transparent}.playground-home .music-editor-heading{background:#ffffff28}.playground-home .studio select,.playground-home .studio button{background:#ffffff68}.playground-home .studio button.primary{background:var(--green)}
.playground-home .studio .primary{background:var(--green);color:#fff}
.playground-home .studio button>img{width:17px;height:17px;margin-right:6px;vertical-align:middle}
.playground-home .studio button.primary>img{filter:invert(1)}
.playground-home .studio #studio-rewind>img{margin-right:0}
.home-export-settings{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;margin-top:16px;font-size:12px;color:var(--muted)}
.home-export-settings label{display:flex;align-items:center;gap:10px}
.home-export-settings select{border:1px solid var(--line);padding:8px;border-radius:6px;background:white;color:var(--ink)}
.home-export-settings p{flex:1;min-width:230px;line-height:1.8;margin:0}
.home-export-settings progress{width:160px;accent-color:var(--green)}
.home-music #exported-video{max-height:450px;width:100%}
@media(min-width:1500px){.home-parts-panel{padding-top:56px}.scene-heading{top:54px}.home-transport{margin-left:90px}.scene-heading h1{font-size:45px}}
@media(max-width:1200px){.home-header{padding:0 30px}.home-main{padding:0 30px}.experience-scene{grid-template-columns:minmax(0,1fr) 255px;gap:24px}.home-viewport{height:610px}.scene-heading h1{font-size:31px}.scene-heading p{font-size:13px}.home-transport{margin-left:0;gap:9px;padding:10px 12px}.home-direction{padding-left:9px}.home-direction button{min-width:78px;padding:10px 12px;font-size:13px}.home-speed{padding-left:12px;gap:7px;font-size:12px}.home-transport .round-play{width:47px;height:47px}.home-purchase{grid-template-columns:minmax(0,1fr) 150px 250px;gap:20px}.home-purchase h2{font-size:32px}.home-purchase p{font-size:17px}.purchase-product{width:150px;height:150px}.home-view-controls{bottom:126px}.home-footer{padding-inline:44px}#view-hint{display:none}.part-name{font-size:14px}}
@media(max-width:900px){.home-header{height:86px;padding:0 22px}.experience-tabs{gap:24px}.experience-tabs button{font-size:17px}.home-brand{font-size:27px}.home-main{padding:0 22px}.experience-scene{grid-template-columns:minmax(0,1fr) 220px;gap:16px}.home-viewport{height:540px}.scene-heading h1{font-size:27px}.scene-heading p{max-width:190px;line-height:1.8;font-size:12px}.home-transport{flex-wrap:wrap;border-radius:20px;gap:10px;padding:12px}.home-speed{flex-basis:65%;border:0;padding:0}.home-view-controls{bottom:173px}.home-direction{flex:1}.home-direction button{flex:1;min-width:0}.home-parts-panel{padding-top:32px}.home-panel-heading h2{font-size:22px}.home-part-group summary{min-height:75px}.part-thumbnail{width:40px;height:40px}.home-part-row{margin-left:16px;gap:8px}.home-purchase{grid-template-columns:1fr 120px 200px;gap:15px}.home-purchase h2{font-size:26px}.home-purchase p{font-size:13px}.purchase-product{width:120px;height:120px}.purchase-action>.home-primary{height:54px;font-size:16px}.inventory-items{grid-template-columns:repeat(2,minmax(0,1fr))}.playground-home .curve-workspace{grid-template-columns:120px minmax(180px,1fr)}.playground-home .curve-knobs{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:20px}.playground-home .curve-knobs>label{flex:1}}
@media(max-width:680px){.home-header{height:auto;min-height:107px;padding:14px 18px;flex-wrap:wrap;gap:7px}.home-brand{font-size:28px}.header-buy{padding:6px 0;font-size:13px}.experience-tabs{order:3;width:100%;justify-content:space-between;gap:0}.experience-tabs button{font-size:16px;padding:10px 3px}.home-main{padding:0 18px}.experience-scene{display:flex;flex-direction:column;gap:0}.home-model-area{width:100%}.scene-heading{position:relative;top:0;padding:21px 0 2px;max-width:none}.scene-heading h1{font-size:28px;line-height:1.3;letter-spacing:-.8px;margin-bottom:10px}.scene-heading h1 br{display:none}.scene-heading p{font-size:12px;max-width:none}.home-viewport,[data-experience=assemble] .home-viewport{height:min(110vw,480px)}.home-view-controls{bottom:178px;right:0}.home-transport{margin:24px 0 0;padding:12px;gap:11px;min-height:120px}.home-speed{flex-basis:75%;font-size:13px}.home-direction button{font-size:14px;padding:10px 13px}.home-parts-panel{width:100%;padding-top:8px}.home-panel-heading{padding-bottom:12px}.home-panel-heading h2{font-size:23px}.home-part-group summary{min-height:65px}.home-part-group:first-child summary{min-height:52px}.part-thumbnail{width:43px;height:43px}.home-part-row{min-height:62px}.home-purchase{display:grid;grid-template-columns:1fr 100px;gap:10px;padding:23px 0 16px;margin-top:24px}.home-purchase h2{font-size:25px;letter-spacing:-1px}.home-purchase p{font-size:12px;letter-spacing:0}.purchase-product{width:100px;height:100px}.purchase-action{grid-column:1/-1;margin-top:4px}.home-footer{padding:20px 18px;gap:12px;font-size:10px}.home-footer a{font-size:12px}.inventory-items{grid-template-columns:repeat(4,minmax(0,1fr))}#assembly-inventory{max-height:none;padding:0}.inventory-part span{font-size:10px}.assembly-status-bar{padding-top:15px}.assembly-status-bar>div{flex-basis:100%}.assembly-status-bar progress{flex:1}.assembly-status-bar span{font-size:12px}.assembly-layer-caption{font-size:10px}.assembly-slot{font-size:10px!important;padding:5px}.music-panel>p{font-size:17px;margin:15px 0}.music-panel .music-panel-note{font-size:12px}.music-colours{display:flex;flex-wrap:wrap;gap:18px;align-items:center;padding-top:12px}.music-colours h3{flex-basis:100%;margin:0}.music-colours label{gap:10px;margin:0}.music-colours>.text-link{margin-left:auto}.playground-home .editor-header{display:block}.playground-home .studio-music{margin-top:14px}.playground-home .editor-toolbar{gap:8px}.playground-home .editor-toolbar button{font-size:11px;padding:8px}.playground-home .timeline-meta{gap:10px;flex-wrap:wrap}.playground-home .curve-workspace{display:flex;flex-direction:column}.playground-home .live-monitor{width:125px;align-self:center}.playground-home .curve-workspace>canvas{width:100%;min-width:0}.playground-home .curve-knobs{width:100%}.playground-home .curve-heading{gap:8px}.playground-home .curve-heading select{font-size:12px}.playground-home .trim-tools{gap:7px;font-size:11px;flex-wrap:wrap}.playground-home .trim-tools input{width:60px}.playground-home .timeline-footer{flex-wrap:wrap}.playground-home .editor-bottom{align-items:stretch;flex-direction:column}.home-export-settings{gap:12px}.home-export-settings label{flex:1}.home-export-settings p{flex-basis:100%}[data-experience=assemble] .home-view-controls{bottom:157px}}
@media(prefers-reduced-motion:reduce){.playground-home *{transition:none!important}}
@media(min-width:1500px){.home-viewport{height:clamp(500px,calc(100svh - 240px),760px)}}
@media(min-width:901px) and (max-width:1200px){.home-viewport{height:clamp(430px,calc(100svh - 235px),635px)}}
@media(min-width:681px) and (max-width:900px){.scene-heading{position:relative;top:0;padding:18px 0 4px;max-width:none}.scene-heading h1{font-size:26px;line-height:1.3}.scene-heading h1 br{display:none}.scene-heading p{max-width:none;font-size:12px}.home-viewport{height:clamp(350px,calc(100svh - 330px),510px)}[data-experience=assemble] .scene-heading{top:0}}
@media(max-width:680px){[data-experience=assemble] .scene-heading{top:0}[data-experience=assemble] .scene-heading h1,[data-experience=music] .scene-heading h1{font-size:28px}}
@media(min-width:681px) and (max-width:900px){.home-part-group summary{gap:6px}.home-part-group summary .part-thumbnail{width:34px;height:34px}.home-part-group summary .part-name{font-size:13px}.home-part-group summary .visibility-button{width:30px}}
@media(max-width:900px){.home-brand{font-size:18px}.experience-tabs{gap:20px}}
@media(max-width:680px){.home-brand{font-size:20px}#observe-panel{height:min(520px,70svh);min-height:260px}#music-editor{width:calc(100vw - 20px);max-height:calc(100svh - 20px);border-radius:14px}.music-editor-heading{padding:13px 14px;gap:10px;align-items:start}.music-editor-heading h2{font-size:19px}.music-editor-heading button{font-size:12px;padding:10px;max-width:124px;white-space:normal;line-height:1.6}.music-editor-body{padding:16px 14px}.music-editor-heading p{font-size:11px}}
@media(max-width:680px){#home-stage-edit{display:block}.music-observe-controls button{font-size:13px;padding:9px 12px}.music-observe-controls output{font-size:11px;margin-left:0}.playground-home #studio-badge{white-space:normal}[data-experience=music] .home-view-controls{bottom:126px}}
@media(max-width:680px){.home-export-settings label{flex-basis:100%;white-space:nowrap;justify-content:space-between}.home-export-settings select{max-width:calc(100% - 60px);min-width:0}}
/* These controls belong to the canvas, not the page or its transport footer. */
.playground-home .home-viewport .home-view-controls{right:12px;bottom:12px;z-index:3;gap:5px}
.home-viewport .home-view-controls select,.home-viewport .home-view-controls button{min-height:44px}
.music-stage-footer{display:flex;align-items:center;gap:22px;padding:12px 0 8px;min-width:0}
.motion-curve{flex:0 0 224px;width:224px;margin:0;padding:10px 12px 6px;border:1px solid #e7ece5;border-radius:12px;background:#fcfdfa}
.motion-curve figcaption{display:flex;justify-content:space-between;align-items:center;color:#7a8380;font-size:10px;font-variant-numeric:tabular-nums}
.motion-curve output{color:var(--green)}
#motion-curve-canvas{display:block;width:100%;height:78px}
.music-stage-footer .music-observe-controls{flex:1;margin:0;min-width:0}
@media(max-width:900px){.brand-logo{width:175px}.music-stage-footer{gap:12px}.motion-curve{flex-basis:196px;width:196px}}
@media(max-width:680px){.brand-logo{width:165px}.home-brand{font-size:17px;gap:12px}.motion-curve{flex-basis:180px;width:180px;padding:9px 10px 5px}.music-stage-footer{gap:10px;align-items:center}.music-stage-footer .music-observe-controls{justify-content:center;gap:7px}.music-stage-footer .music-observe-controls output{flex-basis:100%;text-align:center}.music-stage-footer .music-observe-controls button{padding:8px;font-size:12px}}
/* Keep the original viewport + footer height; extend the curve horizontally only. */
[data-experience=music] .experience-scene{row-gap:0}
.music-stage-footer{grid-column:1/-1;width:100%;height:110px;padding:12px 0 8px}
.music-stage-footer .motion-curve{flex:1;width:100%;height:90px;padding:0;overflow:hidden}
.music-stage-footer #motion-curve-canvas{height:88px;width:100%;touch-action:none;cursor:ew-resize}
#motion-curve-canvas[data-running=true]{cursor:default}
.music-panel{display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;padding-right:2px}
.music-panel .builtin-track-field{margin:16px 0 8px;gap:8px}
.music-panel .music-observe-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:8px;min-height:0}
.music-panel .music-observe-controls output{grid-column:1/-1;text-align:left;margin:0}
.music-repeat-mode{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.music-repeat-mode .repeat-choice{width:38px;min-height:42px;padding:8px;border:0;border-radius:0}
.repeat-choice[aria-pressed=true]{background:#e6f1e3;color:var(--green)}
.repeat-choice svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;display:block}
.music-panel .home-export-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:auto;padding-top:18px}
.music-panel .home-export-settings label{display:grid;gap:7px;min-width:0;flex-basis:auto;justify-content:stretch}
.music-panel .home-export-settings select{width:100%;max-width:none;font-size:12px}
.music-panel .home-export-settings button,.music-panel .home-export-settings p,.music-panel .home-export-settings progress,.music-panel #video-preview{grid-column:1/-1;min-width:0;width:100%}
.music-panel .home-export-settings button{min-height:44px;display:flex;justify-content:center;align-items:center;gap:8px}
.music-panel .home-export-settings button img{width:18px;height:18px}
.music-panel .home-export-settings p{font-size:11px;line-height:1.7}
.music-panel #exported-video{width:100%;max-height:155px;margin:10px 0;background:#fff}
.music-panel #video-download{display:block;text-align:center;padding:10px;font-size:12px}
@media(max-width:680px){.music-panel{height:auto!important;overflow:visible;order:2}.music-panel .home-export-settings{margin-top:18px}.music-stage-footer{flex:none;height:110px;order:1}.music-panel .music-observe-controls{grid-template-columns:minmax(0,1fr) auto}.music-panel .music-observe-controls output{flex-basis:auto;text-align:left}}
.playground-home .home-transport{margin-left:0;margin-right:0;gap:10px;padding:10px 12px;flex-wrap:wrap}
.home-transport .home-direction{padding-left:10px}
.home-transport .home-direction button{min-width:76px;padding:10px 12px;font-size:13px}
.home-transport .home-speed{flex:1 1 145px;min-width:145px;padding-left:10px;gap:6px;font-size:12px}
.home-transport .home-speed input{min-width:44px}
.observe-music-controls{display:flex;align-items:center;gap:4px;flex-shrink:0}
#observe-music-toggle{position:relative;min-width:44px;min-height:44px}
#observe-music-toggle[aria-pressed=false]::after{content:"";position:absolute;width:22px;height:1.5px;background:#7a8380;transform:rotate(-45deg);pointer-events:none}
#observe-music-toggle[aria-pressed=true]{background:#eff7e7!important;border-radius:10px}
#observe-music-track{width:54px;min-width:54px;max-width:54px;height:44px;padding:5px 6px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:12px}
#observe-music-audio{display:none}
.playground-home #studio .editor-header:has(h2){justify-content:flex-start}
@media(max-width:680px){.playground-home .home-transport{display:grid;grid-template-columns:44px 36px minmax(0,1fr) 52px;gap:8px 10px;padding:10px;border-radius:20px}.home-transport .round-play{width:44px;height:44px}.home-transport>.observe-music-controls{grid-column:3/5;justify-self:end}.home-transport>.home-direction{grid-row:2;grid-column:1/-1;padding:0;border:0}.home-transport>.home-speed{grid-row:3;grid-column:1/4;min-width:0;padding:0;border:0}.home-transport>#home-rpm{grid-row:3;grid-column:4}.home-transport>.icon-button{width:36px;height:44px}.home-transport .home-speed input{min-width:35px}}
