:root{color-scheme:light;--bg:#f8f7fd;--panel:#fff;--text:#202b46;--muted:#727f99;--line:#dedcee;--accent:#7141c8;--soft:#f0eaf8;--stage:#edf0f6;--input:#fff;--shadow:0 10px 32px #29324908}html[data-theme=dark]{color-scheme:dark;--bg:#16191f;--panel:#20242c;--text:#e5eaf4;--muted:#a2aec3;--line:#383f4c;--accent:#ba96ff;--soft:#302b40;--stage:#151d28;--input:#262c36;--shadow:0 10px 32px #0002}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 system-ui,"Malgun Gothic",sans-serif}a{color:var(--accent)}button,input,select{font:inherit;color:inherit}button,select,input{border:1px solid var(--line);border-radius:7px;background:var(--input);padding:7px 11px}button,a,input,select{outline-offset:3px}button{cursor:pointer}button:hover:not(:disabled){border-color:var(--accent);background:var(--soft)}button:disabled{cursor:default;opacity:.5}button[aria-pressed=true]{background:var(--soft);border-color:var(--accent)}[hidden]{display:none!important}.site-header{display:flex;align-items:center;gap:34px;flex-wrap:wrap;padding:18px 32px;border-bottom:1px solid var(--line);background:var(--panel)}.brand{font-size:24px;font-weight:800;text-decoration:none;letter-spacing:-1px;color:var(--text);white-space:nowrap}.brand span{font-size:10px;color:#d993da;margin-left:9px;vertical-align:middle}nav{display:flex;gap:25px;align-items:center;flex-wrap:wrap}nav a{text-decoration:none;color:var(--muted);padding:4px 0}nav a[aria-current]{color:var(--accent);border-bottom:2px solid var(--accent)}.theme{display:flex;gap:6px;margin-left:auto}.theme button{font-size:12px;padding:5px 10px}main{max-width:1560px;padding:28px 32px 14px;margin:auto}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 26px}.eyebrow{color:var(--accent);font-size:11px;font-weight:700;letter-spacing:.16em;margin:0 0 5px}h1{font-size:27px;margin:0 0 5px;letter-spacing:-.8px}.intro p:last-child{color:var(--muted);margin:0}.count{padding:7px 12px;border:1px solid var(--line);border-radius:18px;white-space:nowrap;background:var(--panel);font-size:12px}.workspace{display:grid;grid-template-columns:310px minmax(0,1fr);gap:20px;align-items:start}.catalog,.preview{border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:var(--shadow)}.catalog{padding:18px;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto}.catalog>label{display:block;margin:0 0 5px;font-size:12px;font-weight:700}.catalog>input,.catalog>select{width:100%;margin-bottom:13px;min-width:0}.muted{color:var(--muted);font-size:12px}.model-list{display:grid;gap:7px}.model-button{text-align:left;padding:10px 11px;display:flex;flex-direction:column;gap:3px;width:100%;min-width:0}.model-button strong{font-weight:600;overflow-wrap:anywhere}.model-button small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.model-button[aria-pressed=true]{box-shadow:inset 3px 0 var(--accent)}#show-more{width:100%;margin-top:12px}.preview{overflow:hidden;min-width:0}.preview-header{padding:16px 20px;display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.preview-header h2{font-size:19px;line-height:1.5;margin:2px 0 0;overflow-wrap:anywhere}.preview-tools{display:flex;gap:6px;flex-wrap:wrap;flex-shrink:0}.preview-tools select{max-width:110px}.viewport{height:470px;position:relative;background:var(--stage);overflow:hidden;touch-action:none}.viewport canvas{display:block;width:100%;height:100%}.preview-status{position:absolute;left:14px;bottom:12px;max-width:calc(100% - 28px);font-size:12px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:7px;padding:5px 10px;margin:0;pointer-events:none}#empty-preview{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--muted)}#empty-preview>span{font-size:60px;color:var(--accent);line-height:1.2}#empty-preview strong{font-size:17px;margin-top:12px;color:var(--text)}#empty-preview p{font-size:12px}.details{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px}.details section{min-width:0}.details h3{font-size:13px;margin:0 0 10px}.details dl{display:grid;grid-template-columns:auto 1fr;gap:4px 13px;font-size:12px;margin:0 0 10px}.details dt{color:var(--muted)}.details dd{margin:0;overflow-wrap:anywhere}.joint{margin:10px 0}.joint label{display:flex;justify-content:space-between;gap:8px;font-size:12px;overflow-wrap:anywhere}.joint output{font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}.joint input{padding:0;width:100%;accent-color:var(--accent)}.error{padding:12px;border:1px solid #cf7f82;border-radius:7px;color:#b9434c;background:var(--panel);font-size:12px;overflow-wrap:anywhere}#model-error{margin:15px}footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:11px;margin:20px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1500px){.viewport{height:540px}}@media(max-width:1050px){.site-header{gap:16px;padding:16px 20px}nav{gap:14px}.workspace{grid-template-columns:260px minmax(0,1fr)}.preview-header{flex-direction:column;align-items:flex-start}.details{grid-template-columns:1fr}.viewport{height:430px}main{padding:22px 20px}}@media(max-width:720px){.site-header{padding:12px 16px;gap:10px}.brand{font-size:21px}nav{order:3;width:100%;gap:15px;font-size:11px}.theme{gap:4px}.theme button{padding:4px 7px}.intro{align-items:flex-start;gap:12px;margin-bottom:18px}.intro h1{font-size:22px}.intro p:last-child{font-size:12px}.count{font-size:10px;padding:5px 8px}.workspace{display:flex;flex-direction:column;gap:14px}.catalog{position:static;width:100%;max-height:320px;padding:13px}.catalog>input,.catalog>select{margin-bottom:8px}.catalog>label{font-size:11px}.model-list{grid-template-columns:1fr 1fr;gap:6px}.model-button{padding:8px;font-size:12px}.model-button small{font-size:9px}.preview{width:100%}.preview-header{padding:13px}.preview-header h2{font-size:17px}.preview-tools{width:100%}.preview-tools button,.preview-tools select{flex:1;padding:6px;font-size:12px}.viewport{height:350px}.details{padding:15px}main{padding:18px 14px}footer{gap:6px}}
@media(max-width:720px){.intro{display:block}.intro h1{word-break:keep-all}.intro .count{display:inline-block;margin-top:12px}}

.ds2-panel{margin-top:20px;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel);min-width:0}.ds2-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ds2-toolbar h2{font-size:16px;margin:0 0 3px}.ds2-toolbar strong{font-size:12px;color:var(--accent)}.ds2-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ds2-actions a{padding:7px 11px;border:1px solid var(--line);border-radius:7px;text-decoration:none}.ds2-panel>p{overflow-wrap:anywhere}.ds2-panel pre{max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2;background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:14px;font:12px/1.7 ui-monospace,monospace}.ds2-actions button:focus-visible,.ds2-actions a:focus-visible{outline:2px solid var(--accent)}@media(max-width:720px){.ds2-panel{padding:14px}.ds2-toolbar{align-items:flex-start}.ds2-actions{width:100%}.ds2-actions button,.ds2-actions a{font-size:12px;padding:6px 9px}}

/* Presentation is loaded only by releases that contain its verified sidecars. */
.viewport.dsl-hologram-host{background:#06101b}.viewport.dsl-hologram-host>.preview-status{display:none}.viewport.dsl-hologram-host #empty-preview{z-index:8;background:#06101b}.viewport:has(.dsl-hud){height:620px}.viewport .dsl-hud{--dsl-hud-top:12px}.viewport .dsl-hud__work{max-width:100%}.preview-tools #original{min-width:83px}
@media(min-width:1500px){.viewport:has(.dsl-hud){height:700px}}@media(max-width:1050px){.viewport:has(.dsl-hud){height:570px}}@media(max-width:720px){.viewport:has(.dsl-hud){height:490px}.preview-tools{gap:5px}.preview-tools #original{min-width:75px}.viewport .dsl-hud__summary{max-width:calc(100% - 148px)}}
.joint-note{margin:4px 0 10px;padding:8px 10px;border-radius:8px;background:var(--soft);color:var(--text);font-size:12px;line-height:1.5}.all-categories{width:100%;margin-top:8px}
.scene-preparing{position:absolute;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;background:rgba(14,15,14,.38);pointer-events:none}.scene-preparing__panel{box-sizing:border-box;width:min(340px,calc(100% - 32px));padding:16px 18px 12px;border-radius:12px;background:rgba(28,29,27,.92);color:#ecebe6;box-shadow:0 10px 30px rgba(0,0,0,.35);font-size:13px;line-height:1.45;text-align:left}.scene-preparing[hidden]{display:none}.scene-preparing__title{display:block;font-size:17px;font-weight:600;margin:0 0 4px}.scene-preparing__hint{margin:0 0 14px;color:#bdbbb3;font-size:12.5px}.scene-preparing__bar{height:4px;border-radius:2px;background:rgba(255,255,255,.16);overflow:hidden}.scene-preparing__bar>span{display:block;height:100%;width:0;border-radius:2px;background:#d8d2c4;transition:width .2s ease}.scene-preparing__foot{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:8px;font-size:12px;color:#cfccc4}.scene-preparing__step{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-preparing__count{flex:none;font-variant-numeric:tabular-nums}.scene-preparing__note{margin:8px 0 0;color:#e7c27a;font-size:12px}@media (prefers-reduced-motion:reduce){.scene-preparing__bar>span{transition:none}}

.asset-panel{border-top:1px solid var(--line);padding:14px 20px}.asset-panel summary{cursor:pointer;font-size:13px;font-weight:600}.asset-downloads{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.asset-downloads a{display:inline-block;border:1px solid var(--line);border-radius:7px;padding:6px 10px;text-decoration:none}.asset-panel p{overflow-wrap:anywhere}
/* An embed keeps its canvas inside the parent's dimensions; the full library stays unchanged. */
html[data-embed=true],html[data-embed=true] body{width:100%;height:100%;margin:0;overflow:hidden}html[data-embed=true] .site-header,html[data-embed=true] .intro,html[data-embed=true] .catalog,html[data-embed=true] .details,html[data-embed=true] .ds2-panel,html[data-embed=true] footer,html[data-embed=true] .asset-panel{display:none!important}html[data-embed=true] main{padding:0;margin:0;max-width:none;height:100%;width:100%}html[data-embed=true] .workspace{display:block;height:100%;width:100%}html[data-embed=true] .preview{height:100%;width:100%;border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column}html[data-embed=true] .preview-header{flex:0 0 auto;padding:8px 10px;flex-wrap:wrap;gap:6px 10px}html[data-embed=true] .preview-header>div:first-child{min-width:0;flex:1}html[data-embed=true] #model-category{display:none}html[data-embed=true] .preview-header h2{font-size:14px;line-height:1.5;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0}html[data-embed=true] .preview-tools{gap:5px}html[data-embed=true] .preview-tools button,html[data-embed=true] .preview-tools select{font-size:12px;padding:4px 7px}html[data-embed=true] .viewport{flex:1 1 0;height:auto!important;min-height:0;width:100%}html[data-embed=true] .preview-status{display:none}html[data-embed=true] #model-error{flex:0 0 auto;max-height:40%;overflow:auto;margin:8px;font-size:12px}html[data-embed=true] .viewport .dsl-hud{--dsl-hud-top:8px}
@media(max-width:480px){html[data-embed=true] .preview-header{align-items:stretch;flex-direction:column}html[data-embed=true] .preview-tools{width:100%}html[data-embed=true] .preview-tools>*{min-width:0;flex:1}html[data-embed=true] .preview-tools #original{min-width:68px}}

/* Keep information toggles together and camera actions separate, outside the canvas. */
.preview-header>div:first-child{min-width:0}.preview-tools{align-items:center;gap:10px;flex-wrap:nowrap}.preview-toggle-group,.preview-camera-group{display:flex;align-items:center;gap:4px}.preview-camera-group{border-left:1px solid var(--line);padding-left:9px}.preview-tools button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:34px;min-height:34px;height:34px;padding:5px 9px;font-size:12px;line-height:1;white-space:nowrap}.preview-tools svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.preview-tools .eq-aas-icon{width:24px;height:24px;object-fit:contain;flex:none;border-radius:3px;background:transparent;padding:1px}.preview-tools #original{min-width:0}.preview-tools #aas-toggle{font:600 12px/1 system-ui,"Malgun Gothic",sans-serif!important;color:var(--text)!important;background:var(--input)!important;border:1px solid var(--line)!important;border-radius:7px!important;padding:4px 9px!important;box-shadow:none;text-shadow:none}.preview-tools #aas-toggle[aria-pressed=true]{border-color:#a9bfff!important;background:#edf2ff!important;color:#163581!important}.preview-tools #original[aria-pressed=true]{border-color:#a9bfff;background:#edf2ff;color:#163581}.preview-tools #aas-toggle:hover:not(:disabled),.preview-tools #original:hover:not(:disabled){border-color:#0035d5!important}.preview-tools #aas-toggle:focus-visible,.preview-tools button:focus-visible{outline:2px solid #0035d5;outline-offset:3px}.preview-camera-group button{width:34px;padding:5px}.preview-tools #aas-toggle:disabled{opacity:.5}
html[data-theme=dark] .preview-tools #aas-toggle[aria-pressed=true],html[data-theme=dark] .preview-tools #original[aria-pressed=true]{background:#253555!important;border-color:#839ed9!important;color:#e2eaff!important}
@media(max-width:1050px){.preview-tools{width:100%;justify-content:flex-end}}@media(max-width:720px){.preview-tools{width:100%;gap:8px}.preview-tools button{flex:none;min-height:36px;height:36px}.preview-tools .preview-toggle-group{flex:0 0 auto}.preview-tools .preview-camera-group{flex:0 0 auto;margin-left:auto}.preview-camera-group button{width:36px}.preview-tools #original{min-width:0}}
html[data-embed=true] .preview-tools{width:auto;flex:0 0 auto}html[data-embed=true] .preview-tools button{height:32px;min-height:32px}html[data-embed=true] .preview-tools #original{min-width:0}
@media(max-width:480px){html[data-embed=true] .preview-tools{width:100%;justify-content:space-between}html[data-embed=true] .preview-tools>.preview-toggle-group,html[data-embed=true] .preview-tools>.preview-camera-group{flex:0 0 auto}html[data-embed=true] .preview-tools .preview-camera-group{margin-left:auto}}
html[data-theme=dark] .preview-tools #aas-toggle:focus-visible,html[data-theme=dark] .preview-tools button:focus-visible{outline-color:#a9bfff}
