.sandbox-page footer{display:none}.sandbox-page header{position:relative}.sandbox-page header nav{gap:18px;font-size:12px}.sandbox-page .header-link{display:none}.sandbox-heading{padding:20px 28px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.sandbox-heading h1{font-size:24px;margin:0;font-weight:500}.sandbox-heading .eyebrow{font-size:8px;margin:0 0 5px}.sandbox-top-actions{display:flex;gap:8px}.sandbox-top-actions button,.sandbox-top-actions .button{font-size:11px;padding:8px 12px;margin:0}.sandbox-layout{display:grid;grid-template-columns:240px minmax(300px,1fr) 280px;height:calc(100vh - 181px);min-height:650px}.sandbox-library,.sandbox-inspector{overflow:auto;background:#111e25;padding:18px;border-right:1px solid var(--line);font-size:12px}.sandbox-inspector{border-right:0;border-left:1px solid var(--line)}.sandbox-library label,.sandbox-inspector label{font-size:10px}.sandbox-library input,.sandbox-library select,.sandbox-inspector input,.sandbox-inspector select{font-size:11px;padding:9px}.sandbox-mode{display:flex;gap:6px;margin:20px 0}.sandbox-mode button{padding:8px 10px;font-size:11px;flex:1}.sandbox-mode .active{background:var(--accent);color:#153027}#sb-host-info strong,#sb-host-info span,#sb-host-info small{display:block;overflow-wrap:anywhere}#sb-host-info span{font-size:12px;color:var(--accent);margin:8px 0}#sb-host-info small{font-size:9px;color:var(--muted)}#sb-library-list button{display:block;width:100%;padding:12px;text-align:left;border-radius:7px;margin:8px 0;font-size:12px}#sb-library-list button span,#sb-library-list button small{display:block}#sb-library-list button small{font-size:9px;color:var(--muted);line-height:1.7;margin-top:4px}.sandbox-stage{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#101b24}.sandbox-stage-toolbar{display:flex;gap:5px;padding:11px;flex-wrap:wrap;background:#13212a;border-bottom:1px solid var(--line)}.sandbox-stage-toolbar button{font-size:10px;padding:6px 9px}.sandbox-stage-toolbar label{display:flex;flex-direction:row;align-items:center;font-size:10px;margin:0 0 0 auto;gap:7px}.sandbox-stage-toolbar select{width:75px;padding:5px;font-size:10px}#sb-viewport{position:relative;flex:1;min-height:450px;touch-action:none;overflow:hidden}#sb-viewport canvas{display:block;width:100%;height:100%;touch-action:none}.sandbox-scene-caption{position:absolute;left:15px;top:14px;color:#a6c4c5;font-size:10px;pointer-events:none;letter-spacing:1px}#sb-loading{position:absolute;bottom:20px;left:20px;color:var(--gold);font-size:11px;pointer-events:none}#sb-scene-stats{position:absolute;right:15px;top:12px;padding:10px 14px;background:#0e171dcc;border:1px solid #42574d;border-radius:6px;color:#afc2c3;font-size:10px;pointer-events:none}#sb-scene-stats b{color:var(--accent);font-size:17px;font-weight:500}.sb-warning{color:#e5bb7b}.sandbox-help{padding:10px 14px;background:#13212a;display:flex;flex-direction:column;gap:5px;font-size:9px;color:var(--muted);border-top:1px solid var(--line)}#sb-status{color:var(--accent)}.sandbox-panel{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.sandbox-panel h2{font-size:16px;margin:0 0 14px}.sandbox-panel h3{font-size:14px;font-weight:500;overflow-wrap:anywhere}.sandbox-panel p{font-size:10px;color:var(--muted)}.sandbox-panel a{font-size:10px;color:var(--accent)}.sandbox-panel button{padding:8px 10px;font-size:10px}.sandbox-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sandbox-fields label{margin-bottom:12px}.sandbox-inline-actions{display:flex;gap:6px;margin:12px 0}.sandbox-panel input[type=range]{accent-color:var(--accent);padding:0}#sb-objects{max-height:290px;overflow:auto}#sb-objects button{display:block;width:100%;text-align:left;font-size:10px;padding:8px;margin:6px 0}#sb-objects button.active{border-color:var(--accent)}#sb-objects small{float:right;color:var(--muted)}.sandbox-panel summary{font-size:11px;color:var(--accent);cursor:pointer}@media(max-width:1100px){.sandbox-layout{grid-template-columns:190px minmax(280px,1fr) 230px}.sandbox-heading{padding:15px 20px}.sandbox-library,.sandbox-inspector{padding:13px}.sandbox-page header nav{gap:10px;font-size:10px}}@media(max-width:800px){.sandbox-layout{grid-template-columns:170px minmax(260px,1fr);height:auto;min-height:0}.sandbox-inspector{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid var(--line);overflow:visible}.sandbox-library{max-height:650px}.sandbox-stage{height:650px}.sandbox-heading{align-items:start;flex-direction:column;gap:14px}.sandbox-page header nav{flex-wrap:wrap}.sandbox-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:520px){.sandbox-layout{grid-template-columns:1fr}.sandbox-library{max-height:310px;border-bottom:1px solid var(--line)}.sandbox-library #sb-library-list{display:grid;grid-template-columns:1fr 1fr;gap:6px}.sandbox-library #sb-library-list>p{grid-column:1/-1}.sandbox-stage{height:620px}.sandbox-inspector{grid-template-columns:1fr}.sandbox-heading h1{font-size:22px}.sandbox-top-actions{flex-wrap:wrap}.sandbox-page header nav{font-size:9px;gap:8px}}
#sb-library-list{max-height:360px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}#sb-library-list button{padding:8px;margin:5px 0}.sandbox-library{display:flex;flex-direction:column;gap:6px}.sandbox-library>label{margin:0}.sandbox-mode{margin:5px 0}.sandbox-library #sb-host-info small{max-height:45px;overflow:auto}.sandbox-library #sb-host-info span{margin:4px 0}#sb-host-search{margin:0}
.sandbox-host-matches{max-height:150px;overflow:auto;background:#102431;border:1px solid #6b969c66}.sandbox-host-matches[hidden]{display:none!important}.sandbox-host-matches button{display:block;width:100%;text-align:left;padding:7px;font-size:11px;border:0;border-bottom:1px solid #829ca033;border-radius:0}.creators-hero-credit{bottom:65px}
#sb-policy{font-size:10px;line-height:1.6;margin:4px 0}#sb-stop-batch{border-color:#cf9e69;color:#e2c290}.sandbox-library [hidden]{display:none!important}.sandbox-stage-toolbar #sb-axes[aria-pressed=true]{border-color:#96c8c0;color:#d0eee5}.sandbox-panel h3 small{color:#8facb8;font-size:10px}.sandbox-library input[type=number]{min-height:30px;padding:5px}.sandbox-library #sb-detail{min-height:30px;padding:5px}.sandbox-library{gap:5px;min-height:0}.sandbox-library #sb-library-list{flex:1;min-height:100px;max-height:none}.sandbox-library #sb-library-list button{padding:7px;margin:4px 0}.sandbox-library #sb-policy{flex-shrink:0}

.sb-host-transform{border-top:1px solid #8298ba33;margin-top:10px;padding-top:10px}.sb-host-transform .sandbox-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.sb-host-transform input{min-width:0;padding:6px}.sb-host-transform button{font-size:11px;padding:6px}.sb-auto-focus{display:flex!important;align-items:center;gap:8px;font-size:12px}.sb-auto-focus input{width:auto!important}#sb-object-color{width:100%;height:32px;padding:2px}.sandbox-host-matches button{font-size:12px}

/* Both sandbox modes have equal visual weight and a persistent return path. */
#app .sandbox-heading h1.sandbox-mode-title{position:absolute!important;display:block!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sandbox-heading>div:first-child{flex:1;min-width:0}.sandbox-mode-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sandbox-heading .sandbox-workspace-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;max-width:760px;flex-wrap:nowrap}
.sandbox-mode-card{display:flex;align-items:center;gap:14px;min-height:82px;padding:14px 18px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:var(--text);background:linear-gradient(125deg,var(--panel),#839fbb0a);box-shadow:0 4px 14px #00000012;transition:border-color .18s,background .18s}
.sandbox-mode-card svg{width:32px;height:32px;flex:none;color:var(--accent)}.sandbox-mode-card>span:first-of-type{min-width:0;flex:1}.sandbox-mode-card strong{display:block;font-size:21px;line-height:1.4;font-weight:750}.sandbox-mode-card small{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:var(--muted)}.sandbox-mode-card:hover{border-color:var(--accent);background:#839fbb20}.sandbox-mode-card.active{border-color:var(--accent);background:linear-gradient(125deg,#90abc630,var(--panel));box-shadow:inset 0 -3px 0 var(--accent),0 4px 14px #00000012}.sandbox-mode-indicator{font-size:17px;color:var(--accent)}.sandbox-mode-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.sandbox-mode-heading{padding-top:14px;padding-bottom:14px}.sandbox-mode-heading .sandbox-workspace-tabs{max-width:850px}.sandbox-page .sandbox-cargo-frame{height:max(580px,calc(100dvh - 220px))}
html[data-theme=light] .sandbox-mode-card{color:#263f5b;background:#f1f6fb;border-color:#9eafc5}html[data-theme=light] .sandbox-mode-card small{color:#4b617a}html[data-theme=light] .sandbox-mode-card.active{background:#dce9f5;border-color:#577fa8}
@media(max-width:1000px){.sandbox-heading{flex-wrap:wrap}.sandbox-heading>div:first-child{flex-basis:100%}.sandbox-heading .sandbox-workspace-tabs{max-width:none}.sandbox-top-actions{margin-left:auto}}
@media(max-width:600px){.sandbox-heading .sandbox-workspace-tabs{gap:8px}.sandbox-mode-card{min-height:76px;padding:12px 10px;gap:8px}.sandbox-mode-card svg{width:24px;height:24px}.sandbox-mode-card strong{font-size:17px}.sandbox-mode-card small{font-size:11px}.sandbox-mode-indicator{display:none}.sandbox-page .sandbox-cargo-frame{height:calc(100dvh - 190px);min-height:560px}}

#sb-objects .sb-scene-object{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:stretch}#sb-objects .sb-scene-object button{margin:0;min-width:0}#sb-objects .sb-scene-object [data-delete-object]{padding:7px;font-size:12px}
