@font-face{font-family:DM;src:url('../fonts/dm-sans-1.ttf');font-display:swap}
:root{color-scheme:dark;--ink:#eff0eb;--muted:#9aabb5;--line:#a4bdcc24;--accent:#d7bd83;--panel:#101923e8;--control:#1c2934;--radius:5px}
*{box-sizing:border-box}body{margin:0;background:#0c1017;color:var(--ink);font-family:DM,Arial,sans-serif}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,select{font:inherit;color:inherit}button,summary{cursor:pointer}button{border:0}a{color:inherit;text-decoration:none}button:disabled{opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,#scene:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
#preview{position:relative;width:100%;height:100svh;height:100dvh;min-height:500px;overflow:hidden}#scene{position:absolute;inset:0;touch-action:none;outline:none}#scene canvas{display:block;width:100%;height:100%}#preview:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#060c1666 0%,transparent 38%,transparent 68%,#050a1422 100%);z-index:1}
.topbar{position:absolute;top:0;left:0;width:100%;padding:27px 36px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:3;background:linear-gradient(#060c1580,transparent)}.topbar a{pointer-events:auto}.brand{font-size:14px;letter-spacing:.18em;font-weight:800}.brand span{display:block;font-size:7px;letter-spacing:.28em;font-weight:500;margin-top:7px;color:#acbbc4}.edition{font-size:8px;letter-spacing:.2em;display:flex;align-items:center;gap:10px;color:#b4c0c9}.edition b{font-size:9px;letter-spacing:.14em;margin-left:14px;font-weight:500}.dot{height:4px;width:4px;border-radius:50%;background:var(--accent);box-shadow:0 0 9px #e6bd7044}.guide{font-size:10px;border-bottom:1px solid #a0afbc55;padding:6px 0;color:#e0e6e6}
.intro{position:absolute;top:24%;left:5%;pointer-events:none;z-index:2;max-width:225px;text-shadow:0 2px 22px #0008}.eyebrow{font-size:7px;font-weight:500;letter-spacing:.19em;color:#a9b5bd;margin:0 0 21px;white-space:nowrap}.eyebrow span{color:var(--accent);margin-right:7px}h1{font-family:Georgia,serif;font-size:clamp(46px,5.25vw,78px);font-weight:400;line-height:.98;letter-spacing:-.055em;margin:0}h1 i{font-weight:400;color:#d9d7ce}.concept-copy{margin-top:30px}#concept-name{font-size:12px;letter-spacing:.02em;margin:0 0 11px;color:#e9e9e1}#concept-description{font-size:11px;line-height:1.8;color:#a4b3bf;margin:0;max-width:185px}.collection-note{display:flex;align-items:center;gap:9px;font-size:6px;letter-spacing:.16em;color:#9baab6;margin-top:38px}.note-line{width:17px;height:1px;background:var(--accent)}
.settings{position:absolute;right:30px;top:99px;width:286px;max-height:calc(100dvh - 188px);border:1px solid #92a4b82e;background:var(--panel);box-shadow:0 14px 70px #0003;backdrop-filter:blur(22px);border-radius:var(--radius);padding:0 17px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#597082 transparent;z-index:4}.settings-title{position:sticky;top:0;z-index:2;background:#121c26f5;display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.16em;border-bottom:1px solid var(--line);padding:14px 0 12px}.settings-title>span{display:flex;align-items:center;gap:9px}.settings-title i{width:5px;height:5px;border:1px solid var(--accent);display:inline-block;transform:rotate(45deg)}.settings-title button{background:transparent;font-size:20px;line-height:1;width:28px;height:27px;color:#b6c6cf;margin-right:-4px}.settings.collapsed .settings-title{border:0}.settings.collapsed{width:202px;overflow:visible}
#settings-body{padding-top:14px;padding-bottom:15px}.concept-picker{margin-bottom:14px}.concept-picker label,.settings legend{display:block;font-size:7px;letter-spacing:.16em;color:#a2b2bd;margin:0 0 8px;padding:0}.settings select{min-width:0;max-width:100%;border:1px solid #9cb6c525;border-radius:3px;background:var(--control);padding:9px 24px 9px 10px;font-size:11px;line-height:1.2;color:#f0efea;cursor:pointer}.concept-picker select{width:100%;padding:11px 28px 11px 10px;border-color:#d7bd834a;background:#293135;font-size:12px}.wardrobe-selects{display:grid;gap:7px}.select-row{display:grid;grid-template-columns:65px minmax(0,1fr);align-items:center;gap:7px;font-size:10px;color:#b1bfc8}.select-row select{width:100%}.material-note{display:flex;gap:8px;align-items:center;font-size:8px;color:#94a7b5;line-height:1.5;margin:12px 0 15px;padding-bottom:14px;border-bottom:1px solid var(--line)}.fabric-sample{width:15px;height:15px;border-radius:3px;border:1px solid #c3c8c233;background:repeating-linear-gradient(0deg,#3a434b 0 1px,#56616b 1px 2px);flex:none}
.settings fieldset{border:0;padding:0;margin:0 0 14px}.segmented{display:flex;gap:3px;padding:3px;background:#060d1470;border:1px solid #8faabc16;border-radius:4px}.segmented button{flex:1;background:transparent;font-size:10px;padding:9px 3px;white-space:nowrap;border-radius:2px;min-height:35px;color:#a6b7c4;transition:background .15s,color .15s}.segmented button:hover{background:#25333f;color:#fff}.segmented button[aria-pressed=true]{background:#d9c28f;color:#17212b;box-shadow:0 1px 5px #0003}
.run-row{display:flex;align-items:center;min-height:27px;font-size:11px;cursor:pointer;position:relative;margin-top:-1px}.run-row>span:first-child{margin-right:auto}.run-row small{font-size:8px;color:#91a3b2;margin-left:8px}.run-row input{position:absolute;right:0;opacity:0;width:37px;height:28px;margin:0;cursor:pointer}.switch{width:30px;height:18px;background:#3a4a59;border-radius:20px;display:block;padding:3px;pointer-events:none}.switch:after{content:'';display:block;width:12px;height:12px;border-radius:50%;background:#e8edf0;transition:transform .2s}.run-row input:checked+.switch{background:#ac9565}.run-row input:checked+.switch:after{transform:translateX(12px)}.run-row input:focus-visible+.switch{outline:2px solid var(--accent);outline-offset:4px}
.advanced{border-top:1px solid var(--line);margin-top:13px}.advanced summary{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#c1ced6;list-style:none;min-height:42px;user-select:none}.advanced summary::-webkit-details-marker{display:none}.advanced summary span{font-size:17px;line-height:1;font-weight:400;color:#9fb0bd;transition:transform .2s}.advanced[open] summary span{transform:rotate(45deg)}.advanced-body{padding:3px 0 14px}.zoom-row{display:flex;gap:5px;align-items:center;font-size:10px;color:#b1bfc8;margin:-3px 0 14px}.zoom-row span{margin-right:auto}.zoom-row button{height:32px;width:35px;background:#263541;border:1px solid #9cb6c525;border-radius:3px;font-size:16px}.clip-selects{display:grid;grid-template-columns:65px minmax(0,1fr);gap:8px 7px;align-items:center;font-size:10px;color:#b1bfc8;margin-bottom:10px}.clip-selects select{width:100%}.panel-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:13px}.reset{background:transparent;padding:0;font-size:15px;color:#b5c5d0;min-height:26px}.reset span{font-size:9px;margin-left:5px}#save{font-size:9px;color:#d8c79f;min-height:26px;display:flex;align-items:center}
.bottom{position:absolute;bottom:0;width:100%;padding:23px 36px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(transparent,#050b15b3);pointer-events:none;z-index:2}.instructions{display:flex;align-items:center;gap:14px}.instructions strong{font-size:10px;font-weight:500;display:block;color:#d8e1e5}.instructions small{font-size:8px;display:block;color:#93a5b3;margin-top:5px}.key-cluster{display:flex;align-items:center;flex-direction:column;gap:3px}.key-cluster span{display:flex;gap:3px}kbd{border:1px solid #92a6b85c;color:#c4d1d9;font:7px DM,Arial;display:grid;place-items:center;width:18px;height:17px;border-radius:2px}.divider{width:1px;height:25px;background:var(--line);margin:0 9px}.orbit-icon{font-size:26px;color:#91a7b8}.motion-status{display:flex;align-items:center;font-size:10px;gap:8px;color:#d0dce2}#state-dot{width:5px;height:5px;border-radius:50%;background:#d2bd8e;box-shadow:0 0 7px #d2bd8e55}.speed{margin-left:12px;border-left:1px solid #a8bdce36;padding-left:16px;font-size:8px;color:#96aabb}.speed b{font-variant-numeric:tabular-nums;font-size:11px;font-weight:500;color:#d8e1e7}
#loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:12px;letter-spacing:.02em;white-space:nowrap;background:#121c2af0;border:1px solid #96b5d333;padding:20px 25px;border-radius:4px;z-index:6}.loading-dot{display:inline-block;width:5px;height:5px;background:var(--accent);border-radius:50%;margin-right:10px}#loading[hidden],#error[hidden],[hidden]{display:none!important}#error{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#172330;padding:28px;width:min(380px,calc(100% - 32px));font-size:14px;box-shadow:0 6px 35px #0006;border:1px solid var(--line);z-index:7}#error p{line-height:1.7;color:#b5c4d0}#error button{padding:12px 18px;background:#d9c28f;color:#17212b;border-radius:3px}.touch-controls,.mobile-hint{display:none}.no-script{position:absolute;top:50%;left:25%;background:#15212f;padding:20px;z-index:7}
body[data-light=studio] .intro,body[data-light=sunset] .intro{text-shadow:0 2px 20px #07111d90}body[data-light=studio] #preview:before,body[data-light=sunset] #preview:before{background:linear-gradient(90deg,#06101f8c,transparent 42%,transparent 68%,#06101f22)}
@media(min-width:1500px){.settings{right:45px;width:305px;top:115px}.intro{left:6%;top:25%}.topbar{padding:31px 45px}.bottom{padding:28px 45px}}
@media(max-width:1100px){.topbar{padding:23px 26px}.intro{left:4%;max-width:180px}.eyebrow{font-size:6px;letter-spacing:.13em}h1{font-size:57px}.settings{right:22px;width:266px;top:94px;padding:0 14px;max-height:calc(100dvh - 176px)}.bottom{padding:22px 26px}.edition{font-size:7px}.edition b{margin-left:6px}.concept-copy{margin-top:24px}#concept-description{font-size:10px;max-width:160px}.collection-note{font-size:5px;letter-spacing:.13em}}
@media(pointer:coarse){.touch-controls{display:flex;position:absolute;bottom:95px;left:25px;right:25px;justify-content:space-between;align-items:end;pointer-events:none;z-index:3}#joystick{pointer-events:auto;touch-action:none;width:108px;height:108px;border:1px solid #a5bdce75;border-radius:50%;background:#0f21345c;position:relative;backdrop-filter:blur(4px)}#stick{position:absolute;width:44px;height:44px;left:31px;top:31px;background:#9ab3c45c;border:1px solid #c9dae3a1;border-radius:50%}#touch-run{pointer-events:auto;border-radius:50%;width:58px;height:58px;background:#172838d9;border:1px solid #a5bdce75;font-size:9px;letter-spacing:.1em;color:#e2ebef;backdrop-filter:blur(4px)}#touch-run[aria-pressed=true]{background:#cfb77f;color:#142333;border-color:#eadab0}.instructions{display:none}.mobile-hint{display:block;position:absolute;bottom:28px;left:25px;font-size:8px;color:#a7baca;z-index:3;pointer-events:none}.bottom{justify-content:end;bottom:29px}.run-row small{display:none}.settings select{min-height:38px}.segmented button{min-height:38px}}
@media(max-width:700px){#preview:has(.settings:not(.collapsed)) .intro{visibility:hidden}#preview{min-height:420px}.topbar{padding:21px 20px}.brand{font-size:11px}.brand span{font-size:6px}.edition{display:none}.guide{font-size:9px}.intro{top:106px;left:23px;max-width:155px}.eyebrow{font-size:6px;letter-spacing:.1em;margin-bottom:13px}.eyebrow span{margin-right:4px}h1{font-size:44px}.concept-copy{margin-top:16px}#concept-name{font-size:10px;margin-bottom:0}#concept-description,.collection-note{display:none}.settings{top:95px;right:15px;width:min(286px,calc(100vw - 30px));padding:0 14px;max-height:calc(100dvh - 310px);border-color:#a4bdcc45;background:#101923f5}.settings-title{padding:10px 0;font-size:8px}.settings-title button{height:27px}.settings.collapsed{width:153px;padding:0 10px}.settings.collapsed .settings-title>span{gap:6px;letter-spacing:.1em}.settings.collapsed .settings-title i{width:4px;height:4px}#settings-body{padding-top:12px}.concept-picker{margin-bottom:11px}.settings fieldset{margin-bottom:12px}.material-note{margin:10px 0 12px;padding-bottom:12px}.advanced{margin-top:10px}.bottom{padding:18px 21px}.motion-status{font-size:9px}.speed{margin-left:3px;padding-left:8px}.mobile-hint{left:22px;font-size:8px}.touch-controls{bottom:88px;left:22px;right:22px}.instructions{gap:8px}.instructions small{font-size:7px}.instructions .divider,.orbit-icon,.instructions>span:last-child{display:none}.instructions strong{font-size:9px}}
@media(max-width:380px){.intro{left:18px}.eyebrow{font-size:5px}h1{font-size:39px}.settings{right:12px;top:94px}.settings.collapsed{width:141px}.settings-title{font-size:7px}.brand{font-size:10px}.guide{font-size:8px}.topbar{padding:21px 18px}}
@media(max-height:650px) and (min-width:701px){#preview{min-height:0}.topbar{padding:17px 24px}.intro{top:26%;left:4%}.intro h1{font-size:46px}.eyebrow{margin-bottom:13px}.concept-copy{margin-top:17px}#concept-description,.collection-note{display:none}.settings{top:77px;right:22px;max-height:calc(100dvh - 136px);width:258px}.settings.collapsed{width:175px}.settings-title{padding:9px 0}.bottom{bottom:0;padding:15px 24px}.touch-controls{bottom:65px;left:24px;right:300px}.mobile-hint{bottom:15px}.bottom .motion-status{font-size:9px}}
@media(max-height:500px){#preview{min-height:0}.topbar{padding:14px 20px}.brand{font-size:10px}.brand span{margin-top:5px;font-size:6px}.guide{font-size:8px}.intro{top:90px;left:24px}.eyebrow{font-size:5px;margin-bottom:10px}h1{font-size:38px}.concept-copy{display:none}.settings{top:69px;max-height:calc(100dvh - 121px);width:258px}.settings.collapsed{width:154px}.touch-controls{bottom:57px;left:24px;right:300px}#joystick{width:86px;height:86px}#stick{left:20px;top:20px}#touch-run{width:49px;height:49px}.bottom{padding:12px 22px}.mobile-hint{bottom:13px;font-size:7px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
