:root{color-scheme:light;--paper:#eae7e0;--ink:#191a17;--muted:#66665e;--line:#bcbab1;--red:#ba3a25;--stage:#171915;--cream:#ede8db;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.38}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--red);outline-offset:5px}button{border:0}a{color:inherit}button{transition:background .15s,color .15s}main,.masthead,footer{max-width:1500px;margin:auto;padding-left:48px;padding-right:48px}.masthead{height:83px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ink)}.wordmark{font-size:25px;letter-spacing:-1.4px;font-weight:700;text-decoration:none}.wordmark.small{font-size:20px}.micro{font:11px/1.5 'Courier New',monospace;letter-spacing:.08em}.plain,.text-button{background:none;color:inherit;padding:10px 0;font-size:12px}.plain:hover,.text-button:hover{color:var(--red)}.plain span{margin-left:12px}.title-row{display:flex;justify-content:space-between;align-items:flex-end;padding:36px 0 29px}.eyebrow{display:block;margin-bottom:10px}h1{font-size:clamp(90px,12.2vw,164px);line-height:.79;letter-spacing:-.088em;font-weight:500;margin:0 0 0 -7px}.period{color:var(--red)}.title-right p{font-size:22px;line-height:1.15;letter-spacing:-.6px;margin:0 0 22px}.status-dot{display:inline-block;width:6px;height:6px;background:var(--red);border-radius:50%;margin-right:7px}.stage{position:relative;height:490px;background:var(--stage);color:var(--cream);overflow:hidden}.stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.stage canvas.dragging{cursor:grabbing;touch-action:none}.stage-top{position:absolute;top:22px;left:25px;right:25px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.compare{display:flex;border:1px solid #62645a;padding:3px;pointer-events:auto}.compare button{font-size:12px;background:transparent;color:#bbbdb1;padding:9px 16px}.compare button[aria-pressed=true]{background:var(--cream);color:var(--stage)}.stage-side{position:absolute;left:25px;top:27%;writing-mode:vertical-rl;color:#aaa99e;pointer-events:none}.stage-bottom{position:absolute;bottom:89px;left:25px;right:25px;display:flex;justify-content:space-between;gap:16px;color:#bdbfb2;pointer-events:none}.stage-bottom #live-state{color:#e5a18e}.playback{position:absolute;bottom:0;width:100%;padding:14px 25px;display:flex;align-items:center;gap:18px;border-top:1px solid #45473e;background:var(--stage)}.play-button{display:flex;align-items:center;gap:13px;color:var(--cream);background:transparent;font-size:14px;min-width:135px;min-height:38px;padding:0}.play-button span:first-child{display:grid;place-items:center;width:32px;height:32px;border:1px solid #74766b;border-radius:50%;font-size:11px}.stage-button{color:#bfc1b6;background:transparent;font-size:12px;min-height:38px;padding:4px 8px}.stage-button[aria-pressed=true]{color:var(--cream);text-decoration:underline;text-underline-offset:5px}.tempo{margin-left:auto;color:#bfc1b6}.control-deck{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--ink)}.parameter{display:block;padding:23px 26px 21px;border-right:1px solid var(--line)}.parameter:first-child{padding-left:0}.parameter:last-child{border-right:0;padding-right:0}.parameter-top{display:flex;justify-content:space-between;font-size:22px;letter-spacing:-.7px;align-items:baseline;margin-bottom:17px}.control-index{font:11px 'Courier New',monospace;color:var(--muted);letter-spacing:0;margin-right:10px}.parameter output{font:13px 'Courier New',monospace;color:var(--red)}input[type=range]{--fill:0%;display:block;width:100%;height:28px;margin:0;appearance:none;background:transparent;cursor:ew-resize}input[type=range]::-webkit-slider-runnable-track{height:2px;background:linear-gradient(to right,var(--red) var(--fill),var(--line) var(--fill))}input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--red);width:10px;height:20px;margin-top:-9px;border-radius:0;border:0}input[type=range]::-moz-range-track{height:2px;background:var(--line)}input[type=range]::-moz-range-progress{background:var(--red);height:2px}input[type=range]::-moz-range-thumb{background:var(--red);width:10px;height:20px;border-radius:0;border:0}.parameter-note{display:block;font-size:12px;color:var(--muted);margin-top:9px}.action-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:21px 0 28px}.action-row p{font-size:13px;margin:0 0 2px}.text-button{font-size:11px;text-decoration:underline;text-underline-offset:4px;color:var(--muted);padding:5px 0}.actions{display:flex;gap:10px}.primary,.secondary{font-size:13px;min-height:48px;padding:15px 22px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:28px}.primary{background:var(--ink);color:var(--paper)}.primary:hover:not(:disabled){background:var(--red)}.secondary{border:1px solid var(--ink);background:none;color:var(--ink)}.secondary:hover{background:#d9d5cb}.lineage{border-top:1px solid var(--ink);padding-top:30px;margin-bottom:38px}.lineage-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:23px}h2{font-size:35px;font-weight:400;letter-spacing:-1.4px;line-height:1.04;margin:0}.lineage-heading .micro{color:var(--muted)}.ancestry{display:flex;flex-direction:column;border-top:1px solid var(--line)}.ancestor{display:grid;grid-template-columns:70px 1fr 180px 30px;align-items:center;gap:10px;border-bottom:1px solid var(--line);min-height:65px;text-align:left;background:transparent;color:var(--ink);padding:8px 15px 8px 0;width:100%}.ancestor:hover{background:#dfdcd3}.ancestor[aria-current=true]{background:#dfdcd3}.node-mark{display:flex;align-items:center;gap:8px;font:11px 'Courier New',monospace;color:var(--muted)}.node-circle{width:9px;height:9px;border:1px solid var(--ink);border-radius:50%;flex:none}.ancestor[aria-current=true] .node-circle{background:var(--red);border-color:var(--red)}.ancestor-name{display:block;font-size:14px}.ancestor-sub{display:block;font-size:11px;color:var(--muted);margin-top:5px}.ancestor-params{font:11px 'Courier New',monospace;color:var(--muted);text-align:right}.ancestor-arrow{text-align:right}.lineage-foot{display:flex;justify-content:space-between;gap:20px;align-items:center;color:var(--muted);font-size:12px}.lineage-foot p{margin:17px 0}footer{display:flex;justify-content:space-between;gap:20px;align-items:center;min-height:80px;border-top:1px solid var(--ink);padding-top:12px;padding-bottom:12px}footer .micro{color:var(--muted)}dialog{color:var(--ink);background:var(--paper);border:0;width:min(540px,calc(100% - 32px));padding:27px;max-height:85vh;box-shadow:0 15px 80px #0006}dialog::backdrop{background:#131710b3;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px}.close{width:36px;height:36px;background:none;font-size:27px;color:var(--ink)}dialog h2{font-size:41px;margin-bottom:23px}dialog p{font-size:14px;line-height:1.6}dialog textarea{resize:vertical;display:block;width:100%;background:#dedbd2;border:1px solid var(--line);color:var(--ink);font:12px/1.5 monospace;padding:12px;margin:8px 0 12px;overflow-wrap:anywhere}.full{width:100%}dialog .share-note{font-size:12px;color:var(--muted)}.about-facts{display:grid;grid-template-columns:90px 1fr;gap:12px;border-block:1px solid var(--line);padding:18px 0;font-size:12px;margin-top:22px}.about-facts span:nth-child(odd){color:var(--muted)}.notice{pointer-events:none;position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--paper);padding:14px 20px;max-width:calc(100% - 30px);font-size:13px;z-index:10;box-shadow:0 4px 25px #0003}.notice:empty{display:none}.skip{position:absolute;top:-80px;left:12px;z-index:20;background:var(--paper);padding:15px}.skip:focus{top:10px}@media(min-width:1400px){.stage{height:540px}}@media(max-width:800px){main,.masthead,footer{padding-left:24px;padding-right:24px}.mastnote{display:none}.title-row{padding-top:30px}.stage{height:450px}.title-right p{font-size:19px}.parameter{padding-left:18px;padding-right:18px}.actions{gap:8px}.primary,.secondary{gap:15px;padding:13px 17px}.ancestor{grid-template-columns:55px 1fr 150px 20px}.lineage-foot .micro{display:none}}@media(max-width:560px){main,.masthead,footer{padding-left:18px;padding-right:18px}.masthead{height:68px}.wordmark{font-size:22px}.title-row{padding:27px 0 24px;gap:10px;align-items:flex-start}.title-row .eyebrow{font-size:9px;letter-spacing:.05em;margin-bottom:14px}h1{font-size:84px;letter-spacing:-8px;margin-left:-4px}.title-right{padding-top:23px}.title-right p{font-size:13px;line-height:1.2;letter-spacing:0;margin-bottom:0}.title-right .micro{display:none}.stage{height:430px;margin:0 -18px}.stage-top{top:16px;left:18px;right:18px}.compare button{padding:8px 11px;font-size:11px}.stage-side{display:none}.stage-bottom{left:18px;right:18px;bottom:80px}.stage-bottom .micro{font-size:9px;letter-spacing:.02em}.stage-bottom #live-state{display:none}.playback{padding:12px 18px;gap:8px}.play-button{font-size:12px;min-width:123px}.stage-button{font-size:11px;padding:4px 6px}.tempo{display:none}.control-deck{grid-template-columns:1fr}.parameter,.parameter:first-child,.parameter:last-child{padding:15px 0 12px;border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:100px 1fr;column-gap:20px;align-items:center}.parameter:last-child{border-bottom:0}.parameter-top{font-size:19px;margin-bottom:0;display:contents}.parameter-top>span{grid-column:1;grid-row:1}.parameter output{grid-column:1;grid-row:2;margin:6px 0 0 25px;font-size:11px}.parameter input{grid-column:2;grid-row:1}.control-index{font-size:10px;margin-right:7px}.parameter-note{grid-column:2;grid-row:2;font-size:11px;margin-top:6px}.action-row{align-items:stretch;flex-direction:column;gap:14px;padding-top:19px}.actions{display:grid;grid-template-columns:1fr 1.5fr}.actions .primary,.actions .secondary{font-size:12px;padding:13px 14px;gap:7px}.lineage{padding-top:25px}.lineage-heading{align-items:flex-start;flex-direction:column;gap:12px}.lineage-heading h2{font-size:30px}.lineage-heading .eyebrow{font-size:10px}.ancestor{grid-template-columns:45px 1fr 18px;gap:5px}.ancestor-params{display:none}.ancestor-name{font-size:13px}.ancestor-sub{font-size:10px}.ancestor-arrow{grid-column:3}footer{flex-wrap:wrap;gap:8px}footer>.micro{display:none}dialog{padding:20px}dialog h2{font-size:35px}dialog textarea{font-size:16px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:380px){.title-row{display:block}.title-right{padding-top:18px}.title-right p{font-size:13px}.title-right p br{display:none}}
@media(pointer:coarse){input[type=range]{height:44px}.stage-button{min-height:44px}.compare button{min-height:38px}}

.material-bar{border-top:1px solid var(--ink);border-bottom:1px solid var(--line);padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:28px}.image-source{display:flex;align-items:center;gap:18px;min-width:0}.image-source canvas{width:86px;height:86px;background:#d6d2c8;flex:none}.source-content{display:flex;flex-direction:column;gap:5px}.source-content strong{font-size:18px;font-weight:400;letter-spacing:-.5px}.source-content>span:not(.micro){font-size:11px;color:var(--muted);max-width:400px}.source-content>.micro{font-size:10px}.source-actions{display:flex;align-items:center;gap:15px;margin-top:4px}.upload-button,.import-label{position:relative;cursor:pointer;font-size:12px;text-decoration:underline;text-underline-offset:4px}.upload-button:focus-within,.import-label:focus-within{outline:2px solid var(--red);outline-offset:5px}.upload-button input,.import-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.examples{flex:none}.examples>.micro{font-size:10px;color:var(--muted);display:block;margin-bottom:10px}.examples>div{display:flex;gap:14px}.art-button{display:flex;align-items:center;gap:7px;padding:6px 0;background:transparent;font-size:11px;color:var(--ink)}.art-button:hover{color:var(--red)}.art-swatch{width:26px;height:26px;display:inline-block}.signal{background:repeating-linear-gradient(90deg,#c93e23 0 5px,#272921 5px 10px)}.dusk{background:linear-gradient(#3d5f82,#bc7586,#eda350)}.grid{background:repeating-conic-gradient(#e2dbcc 0% 25%,#303329 0% 50%) 0/12px 12px}.edition-bar{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:19px 0}.choice-group{padding:0;border:0;margin:0;min-width:0}.choice-group legend{font:10px 'Courier New',monospace;letter-spacing:.08em;color:var(--muted);margin-bottom:9px}.choices{display:flex;gap:3px;flex-wrap:wrap}.choices button{font-size:12px;padding:9px 11px;background:transparent;color:var(--ink);min-height:35px}.choices button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.choices button:not([aria-pressed=true]):hover{background:#d8d4ca}.choices small{font:10px 'Courier New',monospace;opacity:.6;margin-left:4px}.footer-actions{display:flex;align-items:center;gap:22px}#download-relay{margin-top:10px;justify-content:center}.upload-button.busy{opacity:.4;pointer-events:none}@media(max-width:950px){.material-bar{align-items:flex-start}.examples>div{gap:10px}.art-button{flex-direction:column;align-items:flex-start}.edition-bar{align-items:flex-start;gap:15px}.choices button{padding:9px 8px}.choices small{display:none}}@media(max-width:650px){.material-bar{flex-direction:column;gap:17px;padding:18px 0}.image-source{gap:12px}.image-source canvas{width:68px;height:68px}.source-content strong{font-size:17px}.source-content>.micro{font-size:9px}.source-content>span:not(.micro){font-size:11px}.examples{display:flex;align-items:center;gap:14px}.examples>.micro{margin:0;font-size:9px;max-width:70px}.examples>div{gap:12px}.art-button{flex-direction:row;font-size:10px}.art-swatch{width:21px;height:21px}.edition-bar{flex-direction:column;gap:12px;padding:16px 0}.choice-group{display:flex;align-items:center;gap:10px;width:100%}.choice-group legend{float:left;width:43px;margin:0;flex:none}.choices{flex:1;justify-content:space-between}.choices button{font-size:11px;padding:9px 8px;min-height:38px}.footer-actions{gap:15px}.footer-actions .plain{font-size:10px}}@media(pointer:coarse){.choices button,.art-button{min-height:44px}.upload-button{padding:10px 0;display:inline-block}.source-actions{margin:0}}

.title-row{padding-top:26px;padding-bottom:25px}.title-row h1{font-size:clamp(84px,9vw,116px)}.title-right p{font-size:19px}.edition-bar{padding-bottom:8px}.edition-note{display:flex;justify-content:space-between;gap:16px;font-size:11px;color:var(--muted);padding-bottom:15px}@media(max-width:560px){.title-row h1{font-size:78px}.title-right p{font-size:12px}.edition-note{font-size:10px;gap:12px}.edition-note span:last-child{max-width:115px;text-align:right}}
.music-deck{padding:20px 0;border-bottom:1px solid var(--line)}.music-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:15px}.music-toolbar strong{font:12px monospace}.music-toolbar label{display:grid;gap:5px;font:11px monospace}.music-deck select,.music-deck input[type=number]{padding:10px;max-width:220px;background:var(--paper);color:var(--ink);border:1px solid var(--line);min-height:44px}.music-deck p{font-size:12px;line-height:1.5;color:var(--muted)}.layers{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:18px 0}.layer{border-top:1px solid var(--line);padding-top:8px;display:flex;flex-wrap:wrap;gap:6px}.layer label{width:100%;font:10px monospace}.layer button{min-height:44px;color:var(--ink);background:transparent;padding:8px}.layer button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.layer .select-layer{width:100%;text-align:left;font:12px monospace}.music-deck summary{cursor:pointer;padding:18px 0;font-size:13px}.music-deck #waveform{width:100%;height:80px;display:block;margin:12px 0}@media(max-width:650px){.layers{display:flex;overflow:auto;scroll-snap-type:x mandatory}.layer{flex:0 0 145px;scroll-snap-align:start}.music-toolbar{gap:10px}.music-toolbar .secondary{font-size:11px}.music-toolbar strong{width:100%}.stage{height:440px}.compare button{min-height:44px}}

[hidden]{display:none!important}

.world-director{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 0;border-top:1px solid var(--ink);border-bottom:1px solid var(--line)}.director-set{display:flex;align-items:center;gap:5px;min-width:0}.director-set>.micro{color:var(--muted);margin-right:7px;font-size:9px}.director-set button{min-height:38px;padding:8px 11px;background:transparent;color:var(--ink);font-size:11px;white-space:nowrap}.director-set button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.director-set button:not([aria-pressed=true]):hover{background:#d8d4ca}.peloton-controls{display:grid;grid-template-columns:minmax(150px,.7fr) 3fr auto;align-items:stretch;border-bottom:1px solid var(--ink);gap:18px;padding:14px 0}.focused-rider{display:flex;flex-direction:column;gap:3px;justify-content:center;border-left:2px solid var(--red);padding-left:12px}.focused-rider .micro{font-size:9px;color:var(--muted)}.focused-rider strong{font-size:18px;font-weight:500;letter-spacing:.03em}.focused-rider>span:not(.micro){font-size:12px}.world-actions{display:grid;grid-template-columns:repeat(5,minmax(84px,1fr));gap:5px}.world-actions button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-height:56px;padding:7px 10px;background:transparent;color:var(--ink);border-left:1px solid var(--line);font-size:12px;text-align:left}.world-actions button:hover,.world-actions button[aria-pressed=true]{background:#ded9cf}.world-actions button>span{font:9px monospace;color:var(--red)}.world-actions button small{font-size:9px;color:var(--muted)}.low-load{align-self:center;min-height:44px;border:1px solid var(--line);padding:8px 10px;background:transparent;color:var(--ink);font:10px monospace;white-space:nowrap}.low-load[aria-pressed=true]{border-color:var(--red);color:var(--red)}
@media(max-width:850px){.world-director{align-items:flex-start;flex-direction:column;gap:6px}.director-set{width:100%;overflow-x:auto;scrollbar-width:none}.director-set::-webkit-scrollbar{display:none}.director-set .micro{flex:none;min-width:51px}.peloton-controls{grid-template-columns:1fr auto;gap:10px}.focused-rider{grid-column:1}.world-actions{grid-column:1/-1;grid-row:2;overflow-x:auto;grid-template-columns:repeat(5,minmax(105px,1fr));scroll-snap-type:x mandatory;scrollbar-width:thin}.world-actions button{scroll-snap-align:start}.low-load{grid-column:2;grid-row:1}}
@media(max-width:560px){.world-director{margin:0 -18px;padding:10px 18px;gap:3px}.director-set{gap:2px}.director-set>.micro{min-width:48px;margin-right:2px;font-size:8px}.director-set button{font-size:10px;padding:7px 9px;min-height:40px}.peloton-controls{grid-template-columns:1fr auto;padding:10px 0}.focused-rider strong{font-size:16px}.focused-rider .micro:last-child{font-size:8px}.world-actions{grid-template-columns:repeat(5,100px);margin-right:-18px;padding-right:18px}.world-actions button{min-height:60px;font-size:11px;padding:6px 8px}.low-load{font-size:9px;padding:7px 8px}}
/* Peloton 2.5: intentional instrument controls, with room for the same four riders. */
#sculpture{touch-action:none}
.world-actions{grid-template-columns:repeat(5,minmax(78px,1fr));align-items:stretch}
.world-actions button{min-height:62px;cursor:pointer}
.world-actions button[aria-pressed=true]{background:#ded9cf;box-shadow:inset 0 -2px var(--red)}
.world-actions .more-moves{display:flex;align-items:center;position:relative;border-left:1px solid var(--line);font-size:11px}
.more-moves summary{cursor:pointer;padding:12px 10px;min-height:44px;display:flex;align-items:center;white-space:nowrap}
.more-moves>div{position:absolute;z-index:3;top:100%;left:0;min-width:180px;padding:5px;background:var(--paper);border:1px solid var(--line);box-shadow:0 8px 24px #0002}
.more-moves button{width:100%;min-height:42px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;color:var(--ink);padding:8px}
.more-moves button:last-child{border-bottom:0}
.more-moves small{display:block;color:var(--muted);font-size:9px}
.focused-rider #scene-state{line-height:1.45;max-width:34ch}
.draft-actions{display:flex;gap:16px;align-items:center}
.change-description{font:10px/1.5 monospace;color:var(--muted);margin:5px 0 8px;max-width:52ch}
.layer .solo-layer[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.layer .select-layer[aria-pressed=true]{color:var(--red)}
@media(max-width:850px){.world-actions{grid-template-columns:repeat(5,minmax(118px,1fr));overflow-x:auto}.world-actions .more-moves{min-width:118px}.more-moves>div{position:fixed;top:auto;left:18px;right:18px;bottom:calc(20px + env(safe-area-inset-bottom));}}
@media(max-width:560px){.world-actions{grid-template-columns:repeat(5,125px);gap:3px}.world-actions button{min-height:68px}.world-actions button small{font-size:8px}.more-moves{min-width:92px!important}.more-moves summary{font-size:10px;padding:8px}.action-row{align-items:flex-start}.action-row .actions{flex-wrap:wrap}.change-description{max-width:38ch}}

/* PERFORMANCE MODE — the ride is the instrument; advanced tools stay close but quiet. */
#instrument{display:flex;flex-direction:column}
.stage{height:clamp(500px,68vh,760px);min-height:0}
.world-director{order:0}
.world-director{flex-wrap:wrap;justify-content:flex-start}.world-director #act-director{border-left:1px solid var(--line);padding-left:12px}#show-mode[aria-pressed=true]{background:var(--red);color:#fff}#act-director [data-act][aria-pressed=true]{background:var(--ink);color:var(--paper)}
@media(max-width:850px){.world-director #act-director{border-left:0;padding-left:0}}
.stage{order:1}
#peloton-controls{order:2}
.control-deck{order:3;margin-top:0}
.action-row{order:4}
#sound-lab{order:5}
#seed-controls{order:6}
.rider-context{display:flex;justify-content:space-between;align-items:center;gap:18px;min-width:0}
.focused-rider{min-width:0;border-left:2px solid var(--red);padding:5px 0 5px 13px}
.focused-rider .phrase-summary{font-size:11px;color:var(--ink);line-height:1.4}
.audition-controls{display:flex;gap:8px;flex:none}
.audition-controls button,.mode-switch button{min-height:44px;padding:10px 14px;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:12px}
.audition-controls button:first-child{background:var(--ink);color:var(--paper)}
.audition-controls button[aria-pressed=true]{background:var(--red);color:white;border-color:var(--red)}
.audition-controls button:hover,.mode-switch button:hover{border-color:var(--red)}
.mutation-panel{min-width:0}
.mutation-heading{display:flex;align-items:center;gap:15px;margin-bottom:10px}
.mutation-heading>div:first-child{display:grid;gap:4px;flex:1}
.mutation-heading .micro{font-size:9px;color:var(--muted)}
#mutation-explanation{font-size:11px;line-height:1.4}
.mode-switch{display:flex;gap:0;flex:none}
.mode-switch button{min-width:76px}
.mode-switch button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.mutation-families{display:flex;gap:6px;margin-bottom:9px}
.mutation-families button{display:flex;align-items:center;gap:9px;padding:9px 13px;min-height:42px;background:transparent;border:1px solid var(--line);color:var(--ink);font-size:12px}
.mutation-families button small{color:var(--muted);font-size:9px}
.mutation-families button[aria-pressed=true]{background:var(--red);border-color:var(--red);color:#fff}
.mutation-families button[aria-pressed=true] small{color:#fff}
.world-actions{grid-template-columns:repeat(4,minmax(100px,1fr))}
.world-actions .low-load{min-height:48px}
.control-deck{border-top:1px solid var(--line)}
.parameter{padding-top:13px;padding-bottom:13px}
.range-stepper{display:grid;grid-template-columns:40px minmax(80px,1fr) 40px;align-items:center;gap:8px}
.range-stepper button{width:40px;height:40px;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:20px;line-height:1}
.range-stepper button:hover{background:var(--ink);color:var(--paper)}
.range-stepper input{width:100%;min-width:0}
.action-row{border-bottom:1px solid var(--line)}
#sound-lab,#seed-controls{border-bottom:1px solid var(--line)}
#sound-lab>summary,#seed-controls>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:56px;cursor:pointer;list-style:none;font:12px monospace;letter-spacing:.07em}
#sound-lab>summary::-webkit-details-marker,#seed-controls>summary::-webkit-details-marker{display:none}
#sound-lab>summary::after,#seed-controls>summary::after{content:'+';font:20px monospace;color:var(--red)}
#sound-lab[open]>summary::after,#seed-controls[open]>summary::after{content:'−'}
#sound-lab>summary span,#seed-controls>summary span{margin-left:auto;color:var(--muted);font:10px 'Courier New',monospace;letter-spacing:0}
#sound-lab[open]>.music-deck{padding-top:0}
.seed-controls .material-bar{border-top:1px solid var(--line)}
.commit-summary{padding:15px;border-left:2px solid var(--red);background:#dfdbd2;font-size:14px;line-height:1.55}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.dialog-actions .secondary,.dialog-actions .primary{font-size:12px;min-height:46px;padding:12px 14px;gap:9px}
@media(max-width:850px){.stage{height:60svh;min-height:430px;max-height:640px}.peloton-controls{display:flex;flex-direction:column;align-items:stretch}.world-actions{grid-template-columns:repeat(4,minmax(112px,1fr))}}
@media(max-width:560px){.stage{height:56svh;min-height:390px;max-height:590px;margin:0 -18px}.rider-context{align-items:flex-start;flex-direction:column;gap:10px}.focused-rider{width:100%;padding-left:10px}.audition-controls{display:grid;grid-template-columns:1fr 1fr;width:100%}.audition-controls button{font-size:11px;padding:8px}.mutation-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}.mutation-heading>div:first-child{flex-basis:100%}.mode-switch{margin-left:auto}.mutation-families{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.mutation-families button{align-items:flex-start;flex-direction:column;justify-content:center;gap:2px;padding:7px;min-height:48px;font-size:11px}.mutation-families button small{font-size:8px}.world-actions{grid-template-columns:repeat(3,116px);margin-right:-18px;padding-right:18px}.world-actions .more-moves{min-width:102px!important}.world-actions .low-load{grid-column:1/-1;justify-self:start}.control-deck{padding-top:2px}.action-row{padding:14px 0 19px}.sound-lab>summary span,.seed-controls>summary span{max-width:58%;text-align:right;font-size:9px}.dialog-actions{flex-direction:column-reverse}.dialog-actions button{width:100%}}
.record-status{color:#f1c5a1;min-width:100px;font-size:9px}
#record{white-space:nowrap}
#record-download{color:#efcbaa;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;font-size:10px}
@media(max-width:560px){.playback{gap:6px}.record-status{display:none}#record{font-size:10px;padding:4px 3px}#record-download{font-size:9px}}

/* Free Play is the default instrument. Legacy lineage remains reachable with ?legacy=1. */
.jam-bar{order:0;display:flex;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid var(--ink);padding:11px 0 13px;min-width:0}.jam-identity{display:flex;align-items:baseline;gap:12px;min-width:0}.jam-identity strong{font-size:17px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jam-identity .micro{color:var(--muted)}.jam-actions{display:flex;flex-wrap:wrap;gap:5px}.jam-actions button{background:transparent;color:var(--ink);border:1px solid var(--line);padding:9px 12px;min-height:42px;font:11px 'Courier New',monospace}.jam-actions button.primary,.jam-actions button.lab-launch{background:var(--ink);color:var(--paper);border-color:var(--ink)}.jam-actions button:hover{border-color:var(--red)}.jam-actions button.lab-launch{background:var(--red);border-color:var(--red);color:white}
.free-play #stage-undo,.free-play #stage-reset{min-width:0}.free-play .stage-finish{grid-template-columns:repeat(2,minmax(0,1fr))}.free-play #peloton-controls{order:3}.free-play #fine-tune{order:4}.free-play #seed-controls{order:6}
.free-play #sound-lab{position:fixed;z-index:60;top:0;right:0;bottom:0;width:min(500px,100vw);margin:0;background:var(--paper);border-left:1px solid var(--ink);box-shadow:-18px 0 45px #0005;overflow-y:auto;overscroll-behavior:contain;padding:18px 22px 42px;order:initial}.free-play #sound-lab:not([open]){display:none}.free-play #sound-lab>summary{display:none}.free-play #sound-lab[open]>.music-deck{padding:0;border:0}.lab-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid var(--ink);padding:5px 0 17px;margin-bottom:12px}.lab-head h2{font-size:34px;margin-top:4px}.lab-head button{font-size:28px;background:transparent;color:var(--ink);min-width:44px;min-height:44px}.legacy-relay .lab-head{display:none}
.free-play .music-toolbar{gap:8px}.free-play .music-toolbar strong{width:100%}.free-play #upgrade,.free-play .music-toolbar>a{display:none}.free-play .music-toolbar #wav,.free-play .music-toolbar #midi{min-height:42px;padding:10px 13px}.free-play .layers{display:grid;grid-template-columns:1fr;gap:0;margin:12px 0 20px;border-bottom:1px solid var(--line)}.free-play .layer{display:grid;grid-template-columns:minmax(75px,1fr) minmax(50px,.8fr) minmax(50px,.8fr) 47px 47px;align-items:center;gap:4px;padding:5px 0;min-width:0}.free-play .layer .select-layer{width:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:7px 3px}.free-play .layer label{width:auto;font-size:8px;min-width:0}.free-play .layer label input{height:25px}.free-play .layer button{padding:5px 2px;font-size:9px;min-height:35px}.lab-selected{display:flex;align-items:baseline;gap:12px;border-bottom:1px solid var(--ink);padding:0 0 10px}.lab-selected h3{font-size:23px;letter-spacing:-.04em;margin:0}.lab-selected .micro:last-child{margin-left:auto;color:var(--red);font-size:9px;text-align:right}.patch-browser{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:10px 0 20px}.patch-choice{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:104px;text-align:left;padding:9px 10px;background:transparent;color:var(--ink);border:1px solid var(--line)}.patch-choice:hover{border-color:var(--red)}.patch-choice[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}.patch-choice strong{font-size:14px;letter-spacing:-.03em}.patch-choice span,.patch-choice small{font:10px/1.35 'Courier New',monospace}.patch-choice small{color:var(--red)}.patch-choice[aria-pressed=true] small{color:#ff9e84}
.lab-section,.lab-advanced{padding:15px 0 18px;border-top:1px solid var(--line)}.lab-section h3,.lab-advanced>summary{font:12px 'Courier New',monospace;letter-spacing:.07em;margin:0 0 14px}.lab-section-head{display:flex;justify-content:space-between;align-items:center}.lab-section-head button,.lab-section>button{padding:9px 12px;border:1px solid var(--line);background:transparent;color:var(--ink);font:10px 'Courier New',monospace;min-height:40px}.lab-section>button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.lab-sliders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 15px;margin-bottom:12px}.lab-slider{display:block;min-width:0}.lab-slider>span{display:flex;justify-content:space-between;gap:8px;font:10px 'Courier New',monospace}.lab-slider input{height:32px}.lab-slider output{color:var(--red)}.lab-advanced>summary{cursor:pointer;min-height:40px}.lab-export{display:flex;align-items:end;justify-content:space-between;gap:12px}.lab-export label{font:10px 'Courier New',monospace}.lab-export input{display:block;width:100px;margin-top:5px}.jams-list{display:grid;gap:0;border-top:1px solid var(--line);max-height:55vh;overflow-y:auto}.jam-row{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}.jam-row>div{display:grid;gap:4px;margin-right:auto;min-width:0}.jam-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jam-row span{font:9px 'Courier New',monospace;color:var(--muted)}.jam-row button{background:var(--ink);color:var(--paper);padding:9px;font:10px 'Courier New',monospace;min-height:40px}.jam-row button:last-child{background:transparent;color:var(--ink);border:1px solid var(--line)}
@media(max-width:900px){.jam-bar{flex-direction:column;align-items:stretch}.jam-identity{justify-content:space-between}.jam-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.jam-actions button{padding:7px 3px;font-size:9px}.free-play #sound-lab{width:min(480px,100vw)}}
@media(max-width:560px){.jam-bar{padding:8px 0;gap:7px}.jam-identity .micro{font-size:8px}.jam-identity strong{font-size:14px}.jam-actions{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.jam-actions button{font-size:8px;min-height:40px;overflow-wrap:anywhere}.free-play #sound-lab{top:auto;bottom:0;width:100%;height:min(72dvh,690px);border-left:0;border-top:2px solid var(--ink);box-shadow:0 -12px 42px #0008;padding:12px 15px calc(24px + env(safe-area-inset-bottom))}.lab-head{padding-bottom:8px}.lab-head h2{font-size:26px}.free-play .layer{grid-template-columns:minmax(62px,1fr) minmax(45px,.85fr) minmax(45px,.85fr) 40px 40px}.free-play .layer button{font-size:8px}.patch-choice{min-height:98px}.patch-choice strong{font-size:13px}.free-play .stage-instrument{bottom:112px}.free-play .stage{min-height:640px}}
.patch-card{border:1px solid var(--line);display:flex;flex-direction:column;min-width:0}.patch-card:has(.patch-choice[aria-pressed=true]){border-color:var(--ink)}.patch-card .patch-choice{border:0;width:100%;flex:1}.patch-audition{min-height:35px;border-top:1px solid var(--line);background:transparent;color:var(--ink);text-align:left;padding:7px 10px;font:9px 'Courier New',monospace}.patch-audition:hover{background:var(--red);color:white}.patch-card:has(.patch-choice[aria-pressed=true]) .patch-audition{background:var(--ink);color:var(--paper);border-color:#666}.lab-section-head button{padding:8px 10px;min-height:36px;border:1px solid var(--line);background:transparent;color:var(--ink);font:10px 'Courier New',monospace}.lab-section-head button:disabled{opacity:.4}.lab-export{flex-wrap:wrap}.lab-export input[type=range]{min-width:110px;max-width:170px}


/* Performance layout: one stage, one contextual control surface. */
:root{--paper:#efece4;--ink:#0f0f0f;--red:#cf3a2d;--cream:#efece4}
.masthead{height:55px}.title-row{padding:14px 0 19px;align-items:center}.title-row .eyebrow{display:none}.title-row h1{font-size:76px;letter-spacing:-7px}.title-right p{font-size:15px;line-height:1.5;margin:0}.title-right .micro{display:none}
#instrument{display:flex;flex-direction:column;min-width:0}.identity-bar{order:-3;display:flex;align-items:center;gap:20px;padding:12px 0;border-top:1px solid var(--ink)}.identity-bar .play-button{background:var(--red);color:white;min-height:47px;padding:9px 16px;min-width:155px}.identity-bar fieldset{flex:1}.identity-bar legend{display:none}.identity-bar .choices{gap:4px}.identity-bar .choices button{font-size:13px;text-transform:uppercase;letter-spacing:.05em;min-height:44px;padding:10px 15px}.identity-bar .lab-launch{min-height:47px;padding:12px 22px;background:var(--ink);color:var(--paper);font:12px monospace}.identity-bar .lab-launch[aria-expanded=true]{background:var(--red);color:white}
.jam-bar{order:5!important}.jam-identity>.micro:first-child{display:none}.world-director{order:-1;justify-content:space-between;padding:6px 0;border-top:1px solid var(--line);border-bottom:0}.world-director #act-director{border:0;padding:0;width:100%;gap:8px}.director-set button{min-height:40px;font-size:11px}#show-mode{margin-left:auto}#act-status{display:none}
.stage{order:0;height:auto;min-height:0;max-height:none;margin:0;background:#141512;overflow:hidden;position:relative;color:var(--paper)}.stage #sculpture{display:block;width:100%;height:clamp(270px,43vw,560px);touch-action:none}.stage-top{top:14px;left:18px;right:18px;pointer-events:none}.stage-top #version-label{background:#10110fe6;color:var(--paper);padding:6px 9px;font-size:9px}.stage-top .compare{pointer-events:auto}
.stage-instrument{display:grid;position:static;grid-template-columns:minmax(210px,.85fr) minmax(0,2fr);gap:0;pointer-events:auto;background:#171715;border-top:1px solid #efece439;color:var(--paper)}.stage-instrument>*{min-width:0}.stage-instrument button{background:transparent;color:var(--paper);border:1px solid #efece43b;min-height:42px;padding:8px 10px;font:11px 'Courier New',monospace;cursor:pointer}.stage-instrument button:hover{border-color:var(--paper);background:#30312b}.stage-instrument button[aria-pressed=true]{background:var(--red);color:white;border-color:var(--red)}.stage-riders{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid #efece439}.stage-riders button{border:0;border-right:1px solid #efece430;text-align:left;padding:10px 14px;min-height:44px}.stage-riders button:last-child{border-right:0}.stage-now{padding:14px 16px;display:flex;flex-direction:column;gap:5px;border-right:1px solid #efece430;word-break:normal}.stage-now strong{font-size:22px;font-weight:500}.stage-now .micro{font-size:8px;color:#c6c2b9}.stage-now #stage-role-title,.stage-now #stage-role-hint{display:none}.stage-phrase{font:9px/1.5 monospace;color:#c6c2b9;overflow-wrap:anywhere}.stage-hear{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.stage-hear button{font-size:9px;padding:7px;min-height:35px}
.stage-instrument #fine-tune{order:0}.stage-moves{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px;gap:10px;border:0!important}.move-control{min-width:0}.move-control>button{width:100%;text-align:left;font:18px Arial,sans-serif;padding:9px 10px}.move-control .parameter{display:flex;flex-direction:column;border:0;padding:8px 0 0;gap:4px;color:var(--paper)}.move-control .parameter-top{display:flex;width:100%;justify-content:flex-end;margin:0;font-size:10px}.move-control .parameter-top>span{display:none}.move-control .parameter output{margin:0;font:10px monospace;color:#f09d8f}.move-control .range-stepper{display:grid;grid-template-columns:27px minmax(0,1fr) 27px;gap:5px;width:100%}.move-control .range-stepper button{width:27px;height:32px;min-height:32px;padding:0;font-size:16px}.move-control input{accent-color:var(--red);height:28px;margin:0;width:100%;min-width:0}.move-control .parameter-note{margin:3px 0 0;color:#c6c2b9;font:10px/1.4 monospace}.stage-group{display:flex;gap:5px;align-items:center;padding:9px 16px;grid-column:2;grid-row:3;border-top:1px solid #efece425}.stage-group button{font-size:10px;min-height:36px}.stage-finish{display:flex!important;gap:5px;padding:9px 16px;grid-column:1;grid-row:3;border-top:1px solid #efece425}.stage-finish button{min-height:36px;font-size:10px}.stage-finish button:disabled{opacity:.4}.playback{position:static;display:flex;flex-wrap:wrap;padding:8px 16px;gap:12px;background:#0f0f0f;min-height:48px;border-top:1px solid #efece430}.playback .stage-button{color:var(--paper);font-size:10px;min-height:32px}.playback .tempo{margin-left:auto;font-size:9px}.record-status{font-size:8px}.stage-button:disabled{opacity:.5}
#peloton-controls{order:3;border-bottom:1px solid var(--line)}.performance-options>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;font:11px monospace;cursor:pointer}.performance-options>summary span{font-size:9px;color:var(--muted)}.performance-options-body{padding:0 0 15px}.performance-options-body p{font:11px/1.5 monospace}.performance-options-actions{display:flex;flex-wrap:wrap;gap:8px}.performance-options-actions button{background:transparent;color:var(--ink);border:1px solid var(--line);min-height:40px;padding:8px 12px}#seed-controls{order:6}
.free-play #sound-lab{top:0;width:min(420px,42vw);padding:16px 20px 30px;z-index:60}.free-play.lab-open main,.free-play.lab-open .masthead,.free-play.lab-open footer{margin-right:450px}.free-play.lab-open .stage #sculpture{height:clamp(280px,38vw,520px)}.free-play .lab-head{position:sticky;top:-16px;z-index:2;background:var(--paper);padding-top:18px}.free-play .lab-head h2{font-size:28px}.lab-roles{display:flex;flex-wrap:wrap;gap:4px;margin:12px 0}.lab-roles button{font:10px monospace;padding:9px;background:transparent;color:var(--ink);border:1px solid var(--line);min-height:40px}.lab-roles button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.lab-selected{flex-wrap:wrap;gap:6px}.lab-selected>.micro:first-child{display:none}.lab-selected h3{font-size:22px}.lab-section{padding:12px 0}.lab-section h3{font-size:10px;margin-bottom:10px}.patch-browser{gap:5px;padding-bottom:12px}.patch-choice{min-height:83px}.patch-choice strong{font-size:13px}.patch-choice span{font-size:9px}.patch-choice small{display:none}.free-play #engine-note,.free-play .music-toolbar>strong{display:none}.lab-mixer summary{font:11px monospace}.free-play .layer{grid-template-columns:minmax(55px,1fr) 1fr 1fr 36px 36px}.lab-advanced summary{margin-bottom:0}.music-deck .music-toolbar button{font-size:10px;padding:8px}.lab-sliders input{height:34px}
@media(max-width:1050px){.free-play.lab-open main,.free-play.lab-open .masthead,.free-play.lab-open footer{margin-right:0}.free-play #sound-lab{width:390px}.identity-bar{gap:8px}.identity-bar .choices button{padding:9px}.identity-bar .lab-launch{padding:10px 14px}.stage-now{padding:12px}.stage-moves{gap:7px;padding:10px}.stage-hear button{font-size:8px}.stage-group{padding:8px 10px}.stage-group button{padding:7px;font-size:9px}}
@media(max-width:650px){.masthead{height:48px}.title-row{display:flex;padding:8px 0 12px}.title-row h1{font-size:60px;letter-spacing:-6px}.title-right{display:block;padding:0}.title-right p{font-size:10px}.identity-bar{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 0}.identity-bar .play-button{min-width:0;font-size:12px;min-height:44px;justify-content:center}.identity-bar .lab-launch{grid-column:2;grid-row:1;min-height:44px}.identity-bar fieldset{grid-column:1/-1;display:block;width:100%}.identity-bar .choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.identity-bar .choices button{font-size:10px;padding:7px 4px;min-height:38px}.world-director{margin:0;padding:3px 0;gap:0}.director-set>.micro{display:none}.world-director #act-director{gap:2px;overflow:visible;flex-wrap:wrap}.director-set button{font-size:9px;padding:7px;min-height:40px}#show-mode{font-size:8px;padding:5px}.stage{margin:0;min-height:0;max-height:none;height:auto}.stage #sculpture{height:260px}.stage-top{left:8px;top:8px}.stage-top #version-label{font-size:7px}.stage-instrument{display:grid;grid-template-columns:minmax(0,1fr)}.stage-riders{grid-template-columns:repeat(5,minmax(0,1fr))}.stage-riders button{font-size:8px;padding:7px 3px;min-height:42px;text-align:center}.stage-now{padding:10px;display:grid;grid-template-columns:1fr auto;gap:5px;border:0}.stage-now strong{grid-column:1;font-size:17px}.stage-now #stage-edit-state{font-size:7px}.stage-now .stage-phrase{grid-column:1/-1;grid-row:3;font-size:8px}.stage-hear{grid-column:2;grid-row:1/3;display:grid;grid-template-columns:1fr 1fr;gap:3px;margin:0}.stage-hear #stage-sounds{grid-column:1/-1}.stage-hear button{min-height:30px;font-size:8px;padding:5px}.stage-moves{padding:0 10px 10px;grid-column:1;gap:8px}.move-control>button{font-size:15px;min-height:40px}.move-control .range-stepper{grid-template-columns:22px minmax(0,1fr) 22px;gap:3px}.move-control .range-stepper button{width:22px;min-height:38px}.move-control .parameter-note{font-size:8px}.move-control .parameter input{height:38px}.stage-group{grid-column:1;grid-row:auto;padding:8px 10px}.stage-group button{flex:1;min-height:40px;font-size:9px}.stage-finish{grid-column:1;grid-row:auto;padding:0 10px 9px;border:0;justify-content:flex-end}.stage-finish button{min-height:36px}.playback{display:flex;min-height:0;padding:8px 10px;gap:7px}.playback .tempo{display:block;font-size:8px}.playback .stage-button{font-size:9px;min-height:35px}.performance-options>summary{font-size:9px}.performance-options>summary span{font-size:8px;max-width:50%;text-align:right}.jam-actions{display:flex;flex-wrap:wrap;gap:4px}.jam-actions button{flex:1;min-height:40px;font-size:9px;padding:7px}.jam-bar{gap:8px}.jam-identity strong{font-size:14px}.jam-identity .micro{font-size:8px}.free-play #sound-lab{top:auto;bottom:0;width:100%;height:57dvh;max-height:600px;padding:10px 14px calc(20px + env(safe-area-inset-bottom));border-top:2px solid var(--ink)}.free-play .lab-head{top:-10px;padding-top:10px}.lab-head h2{font-size:22px}.lab-roles{gap:3px}.lab-roles button{flex:1;padding:7px 3px;font-size:9px}.free-play.lab-open .stage #sculpture{height:260px}body{padding-bottom:env(safe-area-inset-bottom)}
}
/* RELAY / a dark chrome playhouse, with the complete instrument kept at hand. */
:root{--paper:#0b0e18;--ink:#f2f0e9;--muted:#a7acc0;--line:#363b51;--red:#ff65b9}
body{background:radial-gradient(ellipse at 85% 0,#302044 0,transparent 43%),#0b0e18;color:var(--ink)}
.masthead{border-bottom-color:#575069}.title-row h1{letter-spacing:-.085em;color:#f3f0ff;text-shadow:2px 2px 0 #a553ab}.period{color:#e4ff00}.title-right .status-dot{background:#e4ff00;box-shadow:0 0 12px #e4ff0033}
.stage{background:#080b14;border:1px solid #695882;box-shadow:0 0 0 5px #151625,0 18px 80px #0005;isolation:isolate}.stage-top,.playback{color:#f2f0e9}.stage-button{background:#171b2bdd;color:#f2f0e9;border:1px solid #4d4863;border-radius:2px}.stage-button:hover{background:#30263d;border-color:#ff65b9}.stage-button:focus-visible{outline:2px solid #e4ff00;outline-offset:3px}#curiosity{border-color:#7b6650;color:#f4dca5}
.identity-bar,.jam-bar,.world-director{background:#121523;border-color:#363b51}.identity-bar,.jam-bar{padding-inline:14px}.world-director{padding-inline:14px}.choices button:not([aria-pressed=true]):hover,.director-set button:not([aria-pressed=true]):hover{background:#292139;color:#fff}.choices button[aria-pressed=true],.director-set button[aria-pressed=true]{background:#e4ff00;color:#11151a}.play-button,.primary{background:#e4ff00;color:#11151a}.stage-instrument{background:#111524eb;border-color:#45415d;color:#f2f0e9}.stage-now,.stage-moves,.stage-group,.stage-finish{border-color:#45415d}.stage-instrument button{color:#f2f0e9}.stage-instrument button:hover{background:#352842}.stage-riders button[aria-pressed=true]{background:#ff65b9;color:#111}.sound-lab{background:#101421;border-color:#45415d}.sound-lab summary{color:#f2f0e9}.patch-browser button{background:#151b2b;color:#f2f0e9;border-color:#45415d}.music-deck input,.music-deck select{background:#171b2b;color:#f2f0e9}.sound-lab button:hover{border-color:#ff65b9}.performance-options{border-color:#45415d}dialog{background:#141829;color:#f2f0e9;border:1px solid #6a5e7e}dialog::backdrop{background:#05070bbd}.jam-row{border-color:#45415d}
@media(max-width:650px){.stage{box-shadow:0 0 0 3px #151625}.identity-bar,.jam-bar,.world-director{padding-inline:9px}.stage-button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.status-dot{box-shadow:none}}

.stage-top .micro{color:#d5d2e9}.stage-top{background:#111524bd}.tempo{color:#d5d2e9}:root{color-scheme:dark}

.stage-top #version-label{color:#d5d2e9!important}.stage-top .compare button{color:#d5d2e9;background:#111524}.stage-top .compare button[aria-pressed=true]{background:#e4ff00;color:#111524}

.playback .stage-button:not(:disabled){background:#171b2b;color:#f2f0e9}.playback .stage-button[aria-pressed=true]{background:#e4ff00;color:#11151a}.playback #curiosity{color:#f4dca5}

.curiosity-a11y{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.stage-top #version-label{font-size:10px;line-height:1.4;letter-spacing:.04em}
