@font-face{font-family:DM;src:url('/fonts/font-0.ttf')}@font-face{font-family:DM;src:url('/fonts/font-2.ttf');font-weight:600}*{box-sizing:border-box}body{margin:0;background:#e5e7df;color:#252822;font:14px DM,Arial,sans-serif;height:100dvh;display:flex;flex-direction:column;overflow:hidden}header{height:60px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #25282212}.brand{font-size:28px;font-weight:600;letter-spacing:-2px;text-decoration:none;color:inherit}.brand span{font-size:14px;font-weight:400;letter-spacing:0;margin-left:12px}.badge{font-size:10px;letter-spacing:1.5px;border:1px solid #25282235;padding:6px 9px;border-radius:4px}main{position:relative;flex:1;min-height:0}#viewer{position:absolute;inset:0;outline:none}#viewer:focus-visible{outline:2px solid #687b4e;outline-offset:-2px}canvas{display:block;width:100%;height:100%}#loading{position:absolute;inset:40% 0;text-align:center;color:#687b4e}.view-tools{position:absolute;top:18px;left:28px;color:#71766b;font-size:11px;pointer-events:none}.player{flex-shrink:0;background:#f3f4ee;border-top:1px solid #25282212;padding:0 28px}.transport{max-width:1060px;margin:auto;display:flex;align-items:center;gap:12px;min-height:70px}input[type=range]{display:block;width:calc(100% + 56px);margin:-8px -28px 0;position:relative;accent-color:#687b4e;height:16px;cursor:pointer}button,select{font:inherit;color:inherit;border:1px solid #2528221c;border-radius:5px;padding:8px 10px;background:transparent;cursor:pointer}button:hover,select:hover{background:#e5e7df}button:focus-visible,select:focus-visible{outline:2px solid #687b4e;outline-offset:2px}button.primary{background:#61744d;color:white;min-width:75px;border-color:transparent}button:disabled{opacity:.5;cursor:wait}.stage-info{flex:1;padding-left:16px;border-left:1px solid #2528221c}.stage-info label{display:block;font-size:9px;letter-spacing:1.5px;color:#747b6b;margin-bottom:3px}.stage-info select{border:0;padding:0 22px 0 0;font-size:14px;max-width:100%;font-weight:600}.loop{display:flex;align-items:center;gap:4px;font-size:12px;color:#747b6b;white-space:nowrap}.loop input{accent-color:#687b4e}output{font-size:11px;font-variant-numeric:tabular-nums;color:#747b6b;white-space:nowrap;margin-right:12px}footer{flex-shrink:0;text-align:center;background:#f3f4ee;padding:0 12px 9px;font-size:9px;color:#858b7e}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){header{height:54px;padding:0 18px}.brand{font-size:26px}.view-tools{left:18px;top:14px;font-size:10px}.player{padding:0 16px}.transport{display:grid;grid-template-columns:70px 34px 1fr auto;gap:10px;padding:12px 0}.stage-info{grid-column:1/4;grid-row:1;padding:0;border:0}.stage-info select{font-size:13px}output{grid-column:4;grid-row:1;margin:0;font-size:10px}#motion-play{grid-column:1;grid-row:2;min-width:0}#motion-restart{grid-column:2;grid-row:2;padding:8px}#motion-speed{grid-column:4;grid-row:2;padding:7px}.loop{grid-column:3;grid-row:2;justify-self:end}input[type=range]{width:calc(100% + 32px);margin-left:-16px;margin-right:-16px}footer{font-size:8px;padding-bottom:8px}}
/* A connected stage track keeps the sequence visible without a menu. */
.transport{max-width:1240px;gap:10px;min-height:80px}.step-track{flex:1;display:flex;align-items:stretch;justify-content:space-between;min-width:0;margin:0 20px}.step-track button{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;border:0;padding:8px 2px;background:transparent;color:#888e80;font-size:10px;border-radius:0}.step-track button:before{content:'';position:absolute;left:-50%;right:50%;top:19px;height:1px;background:#25282220}.step-track button:first-child:before{display:none}.step-track button span{position:relative;z-index:1;display:grid;place-items:center;width:23px;height:23px;border:1px solid #c7cdbf;border-radius:50%;background:#f3f4ee;font-size:9px;font-variant-numeric:tabular-nums}.step-track button:hover{color:#40552f}.step-track button:hover span{border-color:#687b4e}.step-track button.active{color:#40552f;font-weight:600}.step-track button.active span{background:#61744d;color:#fff;border-color:#61744d;box-shadow:0 0 0 3px #61744d15}output{margin-right:4px}@media(max-width:850px){.transport{flex-wrap:wrap;justify-content:center;padding:8px 0 10px;gap:9px;min-height:0}.step-track{flex-basis:100%;order:-1;margin:0 0 3px}.step-track button{font-size:9px;padding-top:2px;padding-bottom:4px}.step-track button:before{top:13px}.step-track button span{width:23px;height:23px}.loop{margin-left:auto}output{margin-left:auto;margin-right:6px}}@media(max-width:600px){.transport{display:flex}.step-track{flex-basis:100%;order:-1}.step-track button{font-size:9px}.loop{order:4;margin-left:0}#motion-speed{order:3}output{order:2}.step-track button span{width:21px;height:21px}.step-track button:before{top:12px}.player{padding:0 12px}input[type=range]{width:calc(100% + 24px);margin-left:-12px;margin-right:-12px}}
.transport{max-width:1000px}.step-track{margin-right:0}@media(max-width:850px){.transport{flex-wrap:nowrap;padding:8px 0;gap:12px}.step-track{flex-basis:auto;order:0;margin:0;flex:1}.step-track button{font-size:9px}.step-track button:before{top:13px}}@media(max-width:600px){.transport{gap:9px}.transport>.primary{min-width:51px;padding:9px 6px;font-size:11px}.step-track{flex-basis:auto;order:0}.step-track button{font-size:8px;gap:5px}.step-track button span{width:19px;height:19px;font-size:8px}.step-track button:before{top:11px}}
.transport>.primary,.transport>.reset{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;min-width:36px;padding:8px}.primary svg{width:18px;height:18px;fill:currentColor}.transport>.reset{font-size:20px;line-height:1;color:#68725f;border:0}.transport>.reset:hover{background:#e3e7dc}@media(max-width:600px){.transport{gap:5px}.transport>.primary,.transport>.reset{width:30px;height:32px;min-width:30px;padding:5px}.step-track button{font-size:7px}.step-track button span{width:18px;height:18px}.step-track button:before{top:11px}}
.mode-switch{display:flex;gap:3px;padding:3px;background:#d5dacd66;border-radius:7px}.mode-switch button{border:0;font-size:12px;padding:7px 14px;color:#6c7563}.mode-switch button[aria-pressed=true]{background:#f5f6f0;color:#26331f;box-shadow:0 1px 4px #0000000c}body[data-mode=room] .player{display:none}body[data-mode=room] header{background:#e5e7df}body[data-mode=room] footer{background:#e5e7df;padding-top:7px}.view-tools{padding:6px 9px;background:#f3f4eea6;border-radius:4px;backdrop-filter:blur(5px)}@media(max-width:600px){.mode-switch button{font-size:10px;padding:7px 9px}.brand span{font-size:11px;margin-left:7px}.mode-switch{gap:1px}.view-tools{font-size:9px}}
.header-actions{display:flex;gap:18px;align-items:center}.reference-link{font-size:11px;color:#6c7563;text-decoration:none}.reference-link:hover{text-decoration:underline}.reference-link:focus-visible{outline:2px solid #687b4e;outline-offset:4px}@media(max-width:600px){header{padding:0 12px}.header-actions{gap:9px}.reference-link{font-size:9px}.brand span{font-size:10px;margin-left:5px}.mode-switch button{padding:6px 7px}}
html{height:100%;overflow:hidden}body{position:fixed;inset:0}
.step-track button{white-space:nowrap}@media(max-width:600px){.step-track button{font-size:0!important}.step-track button span{font-size:8px}.step-track button.active{font-size:8px!important;overflow:visible}}
