:root{color-scheme:dark;--bg:#0a111e;--pane:#101b2b;--panel:#122134;--border:#22344b;--muted:#879aaf;--muted2:#60768d;--text:#edf4f8;--gold:#e8be7c;--accent:#57d4c0;--radius:16px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,"Segoe UI",ui-sans-serif,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:inherit;text-decoration:none}svg{stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-shell{min-height:100vh;display:flex;flex-direction:column;max-width:2200px;margin:auto}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 27px;background:#0b1423;border-bottom:1px solid #1f2e42;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px}.brand-icon{height:40px;width:40px;display:grid;place-items:center;border:1px solid rgba(95,222,204,.55);border-radius:11px;color:#7ee1d4;background:linear-gradient(145deg,#1b3c42,#13212d)}.brand-icon svg{width:23px;height:23px}.brand-word{display:flex;flex-direction:column;gap:3px}.brand-word b{font-size:17px;letter-spacing:1px;line-height:1}.brand-word b span{color:#7ce1d3}.brand-word small{font-size:9px;font-weight:800;letter-spacing:2.5px;color:#748fa4}.brand-word small i{font-style:normal;color:#4a6176}.top-nav{display:flex;align-items:center;gap:22px}.header-tag{font-size:11px;letter-spacing:.2px;color:#a7bac9;display:flex;gap:9px;align-items:center}.green-dot,.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#5cddaf;box-shadow:0 0 0 3px rgba(92,221,175,.10),0 0 10px rgba(92,221,175,.4);flex-shrink:0}.subtle-btn{border:1px solid #35465d;color:#d4e2ea;background:#17263a;border-radius:7px;height:31px;padding:0 12px;font-weight:800;font-size:11px}.site-link{font-size:12px;color:#a7c4d2;white-space:nowrap}.site-link span{color:#59d1c1;margin-left:4px}
.workspace{flex:1;min-height:720px;display:grid;grid-template-columns:minmax(260px,302px) minmax(0,1fr) minmax(270px,307px)}.library-pane{background:#0f1b2b;border-right:1px solid #213248;display:flex;flex-direction:column;min-height:0;max-height:calc(100vh - 116px)}.pane-head{padding:29px 23px 17px}.eyebrow{font-size:10px;letter-spacing:2.35px;font-weight:800;color:#75c5c4}.pane-head h1{font-size:24px;letter-spacing:-.7px;font-weight:730;margin:14px 0 7px}.pane-head p{font-size:12px;color:#8395ac;line-height:1.7;margin:0}.search-field{margin:0 20px 23px;height:43px;display:flex;align-items:center;gap:11px;background:#152338;border:1px solid #2a3c51;border-radius:10px;padding:0 11px;color:#7390a5}.search-field:focus-within{border-color:#5abdaa}.search-field svg{height:17px;width:17px;flex:none}.search-field input{background:none;border:0;outline:0;min-width:0;width:100%;color:#dce9ee;font-size:12px}.search-field input::placeholder{color:#698399}.search-field kbd{background:#25354a;color:#8198ad;padding:2px 6px;border-radius:4px;font-size:11px}.section-label{padding:0 22px 10px;display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1.8px;font-weight:850;color:#677f96}.section-label small{font-size:10px;letter-spacing:.5px;color:#546c83;font-weight:700}.category-list{padding:0 11px 4px;display:flex;flex-direction:column;gap:2px}.category-item{display:flex;align-items:center;text-align:left;gap:12px;width:100%;padding:10px 12px;background:none;border:1px solid transparent;border-radius:9px;color:#95a9bb;font-size:12px;transition:all .15s}.category-item:hover{background:#192b3f;color:#e9f3f5}.category-item.active{background:linear-gradient(100deg,#1c3a46,#19313e);border-color:#2e5f69;color:#a9f5dd}.category-item>span:nth-child(2){flex:1}.category-item small{background:#192a3d;color:#8ea4b3;border-radius:6px;min-width:26px;padding:3px 5px;text-align:center}.category-item.active small{background:#204d55;color:#c0f8e6}.cat-swatch{height:12px;width:12px;border-radius:4px;background:var(--cat);box-shadow:0 0 12px color-mix(in srgb,var(--cat) 40%,transparent);margin:0 3px}.cat-icon{width:18px;color:#9cebdc;font-size:19px;line-height:12px;text-align:center}.assets-head{margin-top:14px;padding-top:16px;border-top:1px solid #233349}.object-list{min-height:190px;overflow-y:auto;flex:1;padding:0 11px 16px;scrollbar-width:thin;scrollbar-color:#354b5c transparent}.object-card{width:100%;display:flex;align-items:center;text-align:left;gap:11px;padding:8px;background:transparent;border:1px solid transparent;border-radius:11px;color:#dae9f1;margin-bottom:4px;transition:background .16s,border .16s}.object-card:hover{background:#1c2c42}.object-card.active{background:#1d3346;border-color:#366574}.object-thumb{height:49px;width:51px;flex:none;display:grid;place-items:center;border-radius:9px;border:1px solid color-mix(in srgb,var(--asset-accent) 24%,#223546);background:radial-gradient(ellipse at 25% 15%,color-mix(in srgb,var(--asset-accent) 33%,#1e2b44),#18293a 78%)}.object-thumb span{font-size:24px;filter:drop-shadow(0 4px 5px #0004)}.object-card-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}.object-card-copy strong{font-size:12px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.object-card-copy small{color:#7892a7;font-size:10px;white-space:nowrap}.object-arrow{font-size:15px;color:#6b8997;margin-right:3px}.object-card.active .object-arrow{color:#79dfcf}.empty-state{padding:28px 12px;font-size:13px;color:#94a6b6;text-align:center}.library-footer{padding:14px 21px 19px;font-size:10px;color:#657f90;border-top:1px solid #203044;display:flex;gap:11px;align-items:center;line-height:1.5}.library-footer .green-dot{width:6px;height:6px}
.view-pane{padding:30px 28px 26px;min-width:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at 35% 20%,#12263b,#0b1624 61%,#0b1421);}.view-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.breadcrumb{font-size:10px;letter-spacing:1.8px;color:#667e92;font-weight:760;margin:2px 0 10px}.breadcrumb span{padding:0 10px;color:#354a5e}.breadcrumb strong{font-weight:800;color:#83c9bd}.view-top h2{font-size:clamp(25px,2.4vw,34px);letter-spacing:-1px;margin:0 0 7px;line-height:1.05}.view-top p{margin:0;color:#8aa0b2;font-size:12px;line-height:1.7}.nav-actions{display:flex;gap:9px}.circle-btn{border:1px solid #38506a;color:#d1e0e9;background:linear-gradient(130deg,#203349,#15263a);border-radius:11px;height:38px;width:40px;display:grid;place-items:center;font-size:25px;line-height:1}.circle-btn:hover{background:#294358;border-color:#62b9b1}
.stage{position:relative;isolation:isolate;overflow:hidden;min-height:380px;flex:1;max-height:800px;border-radius:16px;border:1px solid #294157;background:radial-gradient(ellipse at 48% 36%,#254152,#112338 58%,#0b1929 100%);box-shadow:inset 0 0 60px #09162585,0 18px 80px #0003}.stage-vignette{pointer-events:none;position:absolute;z-index:1;inset:0;background:radial-gradient(ellipse at center,transparent 20%,#07131b2d 85%)}#viewer{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab;display:block}#viewer:active{cursor:grabbing}.stage-top,.stage-bottom{position:absolute;z-index:5;left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;gap:8px;pointer-events:none}.stage-top{top:20px}.stage-bottom{bottom:18px}.stage-top>* , .stage-bottom>*{pointer-events:auto}.live-pill{display:flex;align-items:center;gap:9px;background:#0c1c2bcf;border:1px solid #315168;border-radius:8px;padding:8px 11px;font-size:10px;letter-spacing:.8px;color:#a4e5df;font-weight:800;backdrop-filter:blur(8px)}.stage-number{font-size:12px;color:#91a8b7;letter-spacing:1px;font-weight:760}.hint{display:flex;align-items:center;gap:8px;color:#9baebe;font-size:11px;background:#0c1c2bad;border:1px solid #253d4e;padding:9px 11px;border-radius:9px;backdrop-filter:blur(8px)}.hint svg{width:17px;height:17px;color:#65cfc4}.zoom-buttons{display:flex;background:#0f2334d9;border:1px solid #375266;border-radius:10px;overflow:hidden;backdrop-filter:blur(8px)}.zoom-buttons button{border:0;background:transparent;color:#bcd6df;width:35px;height:35px;display:grid;place-items:center;font-size:21px}.zoom-buttons button+button{border-left:1px solid #355066}.zoom-buttons button:hover{background:#285062}.zoom-buttons svg{height:17px;width:17px}.load-overlay{z-index:4;position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#112032b6;color:#c5e5e8;letter-spacing:.5px;font-size:12px;transition:opacity .25s,visibility .25s}.load-overlay.hidden{opacity:0;visibility:hidden;pointer-events:none}.spinner{height:27px;width:27px;border:2px solid #47727e;border-top-color:#8debd8;border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.below-stage{display:flex;align-items:end;gap:20px;justify-content:space-between;padding:25px 0 5px}.tour-copy h3{font-size:20px;letter-spacing:-.5px;margin:7px 0}.tour-copy p{font-size:12px;color:#8a9eae;max-width:450px;line-height:1.6;margin:0}.random-btn{display:flex;gap:10px;align-items:center;justify-content:center;min-width:181px;padding:13px 17px;border:1px solid #60aa9e;border-radius:10px;color:#c5f6df;background:linear-gradient(110deg,#1b4e4e,#193a4b);font-size:12px;font-weight:760;white-space:nowrap;transition:transform .18s}.random-btn:hover{transform:translateY(-2px);background:#246561}.random-btn svg{width:17px;height:17px}
.inspector-pane{padding:28px 23px 22px;background:#0e1a2b;border-left:1px solid #23384b;overflow-y:auto;min-width:0;max-height:calc(100vh - 116px);scrollbar-width:thin;scrollbar-color:#354b5c transparent}.inspector-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.status-label{font-size:9px;letter-spacing:1px;color:#92bfae;display:flex;gap:6px;align-items:center;font-weight:850}.status-dot{height:5px;width:5px}.detail-icon{height:76px;width:82px;display:grid;place-items:center;border-radius:17px;background:radial-gradient(ellipse at 22% 20%,#375d6f,#18273b 70%);border:1px solid #315167;font-size:44px;box-shadow:0 10px 35px #0003;margin-bottom:20px}.detail-category{font-size:10px;letter-spacing:2.1px;color:#74c8bf;font-weight:800}.inspector-pane h3{font-size:23px;letter-spacing:-.55px;line-height:1.15;margin:9px 0}.inspector-pane>p{font-size:12px;line-height:1.75;color:#879db0;margin:0;min-height:43px}.divider-line{height:1px;background:#24354a;margin:24px 0 19px}.inspector-pane .section-label{padding:0 0 15px}.spec-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid #2a3a4f;border-radius:12px;overflow:hidden;background:#152438}.spec-grid>div{display:flex;flex-direction:column;gap:8px;padding:14px 12px;min-width:0}.spec-grid>div:nth-child(odd){border-right:1px solid #283b50}.spec-grid>div:nth-child(-n+2){border-bottom:1px solid #283b50}.spec-grid small{font-size:10px;color:#8297aa}.spec-grid strong{font-size:15px;color:#e3eef2;font-weight:750;font-variant-numeric:tabular-nums}.toggle-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:1px 0 19px}.toggle-row b,.explode b{font-size:12px;color:#d9e6ed;font-weight:650}.toggle-row small{display:block;font-size:10px;color:#718a9d;margin-top:5px}.toggle{display:block;flex:none;position:relative;width:34px;height:19px}.toggle input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.toggle span{position:absolute;inset:0;background:#334459;border-radius:30px;border:1px solid #42546a;transition:background .2s;pointer-events:none}.toggle span:before{content:"";position:absolute;background:#acbed0;width:13px;height:13px;top:2px;left:3px;border-radius:50%;transition:transform .2s}.toggle input:checked+span{background:#247b75;border-color:#54ab9f}.toggle input:checked+span:before{transform:translateX(14px);background:#bcfff1}.explode{margin-top:10px}.explode-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.explode-head span{font-size:11px;color:#7fcfbe}.explode input{width:100%;accent-color:#5edcc5;cursor:pointer;height:4px}.engine-choice{display:flex;gap:8px;margin-bottom:15px}.engine-btn{flex:1;text-align:left;border-radius:9px;padding:10px 10px;border:1px solid #34495d;background:#17283a;color:#b2c7d2;font-size:12px;font-weight:700}.engine-btn small{font-size:9px;display:block;margin-top:5px;color:#748fa2}.engine-btn.selected{border-color:#53b6a7;background:#1d4549;color:#c7f5e8}.engine-btn.selected small{color:#7fcec2}.dl-group{display:flex;flex-direction:column;gap:9px}.primary-btn,.secondary-btn,.code-btn{min-height:43px;border-radius:9px;display:flex;gap:11px;align-items:center;justify-content:center;font-size:12px;font-weight:750;transition:transform .2s}.primary-btn:hover,.secondary-btn:hover,.code-btn:hover{transform:translateY(-1px)}.primary-btn{background:linear-gradient(110deg,#f1cc92,#dba96c);color:#1a2b32;padding:0 13px}.primary-btn svg{height:17px;width:17px}.primary-btn span:last-child{margin-left:auto}.secondary-btn{border:1px solid #3b6170;color:#bce7e1;background:#183342}.secondary-btn svg{width:18px;height:18px}.code-btn{min-height:35px;border:0;background:none;color:#8ca7bb;font-size:11px}.code-btn>span:first-child{font-size:17px;font-weight:600;color:#6abcb6}.help-line{display:flex;justify-content:space-between;align-items:center;margin-top:19px;gap:8px;color:#627f93;font-size:10px}.help-line span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:155px}
.page-footer{height:38px;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 28px;background:#0a1321;border-top:1px solid #223149;color:#506d81;letter-spacing:1.2px;font-size:9px;font-weight:750}.toast{position:fixed;bottom:23px;left:50%;transform:translate(-50%,15px);z-index:15;padding:12px 18px;background:#163d44;border:1px solid #63b3a9;border-radius:9px;color:#d9fff5;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;box-shadow:0 8px 30px #0007;font-size:12px}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1250px){.workspace{grid-template-columns:245px minmax(0,1fr) 264px}.view-pane{padding:25px 20px}.inspector-pane{padding:25px 16px}.pane-head{padding:25px 17px 17px}.stage-bottom{left:14px;right:14px}.hint{font-size:10px}.tour-copy h3{font-size:18px}.below-stage{flex-wrap:wrap}.page-footer{font-size:8px}}
@media(max-width:950px){.workspace{display:grid;grid-template-columns:minmax(0,1fr) 290px;grid-template-areas:'main inspector' 'library library'}.library-pane{grid-area:library;max-height:none;border-top:1px solid var(--border);border-right:0}.library-pane .pane-head{padding:25px 22px 15px}.library-pane .category-list{display:grid;grid-template-columns:repeat(4,1fr);padding:0 15px 14px}.library-pane .object-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 15px 20px;max-height:none}.library-pane .assets-head{margin:0}.view-pane{grid-area:main}.inspector-pane{grid-area:inspector;max-height:none}.stage{min-height:500px}.library-footer{display:none}.object-card{margin:0}.site-link{display:none}}
@media(max-width:700px){.topbar{height:67px;padding:0 15px}.brand-word b{font-size:14px}.brand-word small{font-size:8px;letter-spacing:1.6px}.brand-icon{height:36px;width:36px}.header-tag{display:none}.top-nav{gap:10px}.workspace{display:flex;flex-direction:column}.view-pane{padding:21px 15px 24px;order:0}.inspector-pane{order:1;border-left:0;border-top:1px solid var(--border);padding:24px 20px}.library-pane{order:2}.view-top{align-items:flex-end}.view-top h2{font-size:26px}.view-top p{max-width:280px}.breadcrumb{font-size:8px;letter-spacing:1.05px}.breadcrumb span{padding:0 4px}.nav-actions{gap:5px}.circle-btn{width:33px;height:33px}.stage{min-height:430px;max-height:490px;flex:none}.stage-top{left:13px;right:14px}.stage-bottom{left:10px;right:10px;bottom:10px}.hint{font-size:0;padding:10px}.hint svg{height:17px;width:17px}.zoom-buttons button{width:33px}.below-stage{padding:21px 2px 0;align-items:start;gap:19px}.tour-copy h3{font-size:19px}.random-btn{min-width:0;flex:1}.inspector-top{margin-bottom:15px}.detail-icon{float:left;margin:0 16px 10px 0;height:65px;width:65px;font-size:37px}.inspector-pane>p{min-height:0}.inspector-pane .divider-line{clear:both;margin:22px 0 18px}.library-pane .category-list{grid-template-columns:repeat(2,1fr)}.library-pane .object-list{grid-template-columns:repeat(2,minmax(0,1fr));}.object-thumb{height:44px;width:44px}.object-card-copy strong{font-size:11px}.object-card-copy small{font-size:9px}.page-footer{height:auto;padding:14px 15px;flex-direction:column;gap:7px;text-align:center}.toast{bottom:10px;max-width:88vw;text-align:center}}
@media(max-width:380px){.library-pane .object-list{grid-template-columns:1fr}.view-top h2{font-size:23px}.stage{min-height:385px}.below-stage{flex-direction:column}.random-btn{align-self:stretch}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}

.object-thumb img{height:100%;width:100%;object-fit:contain;display:block;filter:drop-shadow(0 3px 4px #0004)}.detail-icon{overflow:hidden}.detail-icon img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 5px 7px #0005)}

/* Offline preview fallback shown only when the browser has no WebGL2 context. */
.stage-preview{position:absolute;z-index:0;top:50%;left:50%;transform:translate(-50%,-50%);width:min(66%,500px);max-height:78%;object-fit:contain;filter:drop-shadow(0 25px 28px #0008);pointer-events:none}
.stage-preview[hidden]{display:none}
@media(max-width:950px){.library-pane .object-list{align-content:start;grid-auto-rows:min-content}}
