@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
/* Shared GPUHI light presentation. Preview scenes retain their own palettes. */
:root{color-scheme:light;--bg:#f3f6fb;--panel:#fff;--panel2:#f8fafc;--soft:#eef4ff;--stroke:#d6deea;--line:#d6deea;--text:#0b1220;--muted:#475569;--cyan:#2563eb;--cyan-soft:#eef4ff;--blue:#2563eb;--gold:#925d0c;--green:#059669;--ui-shadow:0 12px 32px #0f172a0d;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif}
body{background:#f3f6fb;color:#0b1220}.sidebar,.topbar{background:#fff;border-color:#d6deea}.sidebar{box-shadow:2px 0 15px #0f172a03}.brand-symbol,.brand-mark{color:#2563eb;filter:none}.brand-accent,.brand small{color:#2563eb}.sidebar-label,.side-bottom-note,.sidebar-title,.nav-group{color:#64748b}.nav-item,.side-item{color:#475569}.nav-item:hover,.side-item:hover{background:#f1f5f9;color:#0b1220}.nav-item.active,.side-item.active{background:#eef4ff;color:#1d4ed8;box-shadow:inset 3px 0 #2563eb}.nav-hot{color:#1d4ed8;background:#dbeafe}.small-count,.side-item span:last-child{color:#475569}.local-status,.sidebar-bottom{background:#f8fafc;border-color:#d6deea}.local-status small,.sidebar-bottom small{color:#475569}.breadcrumb{color:#64748b}.breadcrumb span{color:#0b1220}.tiny-pill,.heading-flag,.proc-flag{background:#eef4ff;border-color:#bfdbfe;color:#1d4ed8!important}.icon-btn{background:#fff;color:#334155;border-color:#d6deea}.icon-btn:hover{background:#eef4ff;border-color:#2563eb}.user-circle{background:#dbeafe;color:#1d4ed8}
.hero{background:linear-gradient(115deg,#eef4ff,#f8fafc);border-color:#d6deea;box-shadow:var(--ui-shadow)}.hero-aura{display:none}.hero h1{color:#0b1220}.hero em,h1 em{background:none;color:#1d4ed8;-webkit-text-fill-color:#1d4ed8}.hero p,.hero-foot{color:#475569}.eyebrow,.eyebrow.light,.text-link{color:#2563eb}.hero-v,.section-note{color:#64748b}.hero-portrait img{mix-blend-mode:normal}.hero-portrait{opacity:1}.hero-side-caption{color:#475569}.hero-side-caption span{color:#2563eb}
.primary-btn,.upload-btn{background:#1769ff;border-color:#1769ff;color:#fff;box-shadow:0 4px 12px #1769ff15}.primary-btn:hover{filter:brightness(.96)}.ghost-btn,.outline-btn,.square-button{background:#fff;border-color:#d6deea;color:#334155}.ghost-btn:hover,.outline-btn:hover{background:#eef4ff;border-color:#2563eb;color:#1d4ed8}
.step-card,.category-card,.asset-card,.control-panel,.editor-main,.quality-grid article,.session-panel,.perf-panel,.resource-panel,.genre-builder,.proc-builder,.gpuhi-playtest,.social-live-panel,.social-live-aside,.social-game-rules-panel,.social-bridge-panel,.genre-home-bar,.feature-bottom{background:#fff;border-color:#d6deea;color:#0b1220;box-shadow:var(--ui-shadow)}.step-card:hover{background:#eef4ff;border-color:#93c5fd}.step-ico,.genre-current-mark{background:#dbeafe;color:#1d4ed8;border-color:#bfdbfe}.step-id,.step-arrow,.step-card small,.category-copy small,.asset-meta,.asset-type,.mini-meta,.panel-title small{color:#475569}.step-card strong,.category-copy strong,.asset-card h3{color:#0b1220}.category-copy{background:#fff}
.feature-bottom h2,.feature-bottom h2 span{color:#0b1220}.feature-bottom p,.feature-number span{color:#475569}.feature-number{color:#2563eb}.feature-glow{display:none}.page-heading p,.form-label,.editor-footnote,.import-note,.info-strip,.api-info,.inline-status,.muted-message{color:#475569}.divider{background:#d6deea}.info-strip,.api-info{background:#eef4ff;border-color:#d6deea}.form-two input,.form-two select,.control-panel input,.control-panel textarea,.control-panel select,.search-wrap,.search-wrap input,.genre-search,.genre-search input,.genre-controls select{background:#fff;color:#0b1220;border-color:#cbd5e1}input:not([type=range]):not([type=color]):not([type=checkbox]):not([type=file]),select,textarea{background:#fff;color:#0b1220;border-color:#cbd5e1}input::placeholder,textarea::placeholder{color:#64748b}input[type=range],input[type=checkbox]{accent-color:#2563eb}
.placed-item,.resource-stat,.perf-metric,.genre-current,.genre-card,.genre-card-inner,.genre-room-note,.room-steps>div,.social-feed,.social-game-metric,.social-live-event-lab{background:#f8fafc;color:#0b1220;border-color:#d6deea}.placed-item button{background:#fff;color:#475569;border-color:#cbd5e1}.genre-card:hover,.genre-card.is-selected,.genre-card[aria-pressed=true]{background:#eef4ff;border-color:#2563eb}.genre-card strong,.genre-current h3,.resource-stat strong,.perf-metric strong,.social-game-metric strong{color:#0b1220}.genre-card small,.genre-card-footer,.genre-current p,.genre-current-meta,.genre-disclaimer,.genre-room-note,.genre-builder-top p,.proc-head p,.proc-controls label,.proc-controls small,.gpuhi-playtest-head p,.gpuhi-playtest label,.resource-stat small,.perf-metric small,.perf-summary,.perf-scope,.perf-tiny-note{color:#475569}.genre-card-group,.genre-builder-count,.genre-applied{color:#1d4ed8}.genre-disclaimer,.resource-alert{background:#fffbeb;color:#854d0e;border-color:#fde68a}
.proc-controls,.sketch-panel,.floor-builder,.collision-proxy,.social-game-rule-actions,.social-bridge-test{background:#f8fafc;border-color:#d6deea;color:#334155}.proc-controls button,.gpuhi-playtest button,.social-action-btn,.social-game-rule-actions button,.social-bridge-panel button{background:#fff;color:#334155;border-color:#cbd5e1}.social-overline,.social-live-head h2,.social-game-rules-header h3,.social-feed-heading,.social-live-event-head,.social-bridge-top{color:#0b1220}.social-live-head p,.social-live-panel>p,.social-chat-hint,.social-game-rules-header p,.social-feed-item{color:#475569}.social-bridge-pill{background:#f1f5f9;color:#475569;border-color:#cbd5e1}.social-live-aside>h3,.social-live-aside>p{color:#334155}.footer{background:#fff;color:#64748b;border-color:#d6deea}.floating-chip,.heading-flag{background:#eef4ff;color:#1d4ed8;border-color:#bfdbfe}
/* Preview overlays stay legible on dark rendering surfaces. */
.visual-frame,.world-frame,.render-canvas,.asset-art,.category-art,.genre-art,.social-stage{color:#edf4f7}.visual-top,.visual-bottom,.asset-top-tag,.art-tag{color:#dcebf5}
.gpuhi-services-shell{background:#fff;border-bottom:1px solid #d6deea;color:#334155}.gpuhi-services-shell nav{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:12px 24px;max-width:1600px;margin:auto}.gpuhi-services-shell a{font-size:12px;font-weight:650;border:1px solid #d6deea;border-radius:7px;padding:8px 12px;white-space:nowrap}.gpuhi-services-shell .gpuhi-home{font-size:15px;font-weight:800;border:0;margin-right:auto;color:#0b1220}.gpuhi-services-shell a[aria-current]{background:#2563eb;color:#fff;border-color:#2563eb}.gpuhi-services-shell a:hover{border-color:#2563eb}
@media(max-width:700px){.gpuhi-services-shell nav{flex-wrap:nowrap;overflow-x:auto;padding:10px 14px}.gpuhi-services-shell .gpuhi-home{font-size:12px;margin-right:8px}.gpuhi-services-shell a{font-size:11px;padding:7px 9px}.hero-portrait{opacity:.38}.hero-content{z-index:3}.hero p{color:#334155}}
.content-wrap{background:#f3f6fb}.nav-ico,.nav-item.active .nav-ico{color:#2563eb}.genre-builder-count,.genre-icon{background:#eef4ff;border-color:#bfdbfe;color:#1d4ed8}.genre-builder-top h2,.gpuhi-playtest h2,.view h2,.view h3,.view h4{color:#0b1220}.view label,.proc-settings label,.playtest-controls label{color:#334155}.social-stage h2,.social-stage h3,.social-stage h4{color:#f8fafc}.genre-card-footer{border-color:#d6deea}.hero-content{max-width:53%}.hero p{max-width:100%}.hero-portrait{width:39%;right:0}.hero-side-caption{background:#ffffffdf;padding:5px 9px;border-radius:5px;letter-spacing:1px}.hero .glow-line{background:#2563eb;box-shadow:none}
@media(max-width:900px){.hero-content{max-width:65%}.hero-portrait{width:40%}}
@media(max-width:540px){.hero-content{max-width:100%}.hero-portrait{width:70%}}
/* Embedded library and character controls share the same UI tokens. */
.main,.studio{background:#f3f6fb}.page-top h1,.asset-title,.stat-mini strong{color:#0b1220}.page-top h1 span{color:#1d4ed8}.subtitle,.mode,.asset-meta,.bottom-note{color:#475569}.toolbar,.search-field,.drawer,.drawer-top,.drawer-foot{background:#fff;border-color:#d6deea;color:#0b1220}.filters select,.search-field input{background:#fff;color:#0b1220;border-color:#cbd5e1}.asset-body{background:#fff}.asset-bottom,.collection-group,.prop,.properties{border-color:#d6deea}.asset-badge,.detail-tags span{background:#eef4ff;color:#1d4ed8;border-color:#bfdbfe}.drawer h2,.prop span:last-child{color:#0b1220}.detail-description,.prop span:first-child{color:#475569}.secondary-action{background:#fff;color:#334155;border-color:#cbd5e1}.primary-action{background:#1769ff;color:#fff;border-color:#1769ff}.stat-mini,.warning{background:#eef4ff;color:#1e40af;border-color:#bfdbfe}
.studio .panel,.studio .right-panel,.modal-card{background:#fff;color:#0b1220;border-color:#d6deea}.studio .section-title,.studio .section h3,.studio .section h4{color:#0b1220}.studio .hint,.studio .info,.studio .foot,.studio .subtle,.studio .motion-brief{color:#475569}.studio .notice,.rig-audit-panel{background:#eef4ff;color:#1e40af;border-color:#bfdbfe}.studio .nav button{color:#475569}.studio .nav button:hover,.studio .nav button.active{background:#eef4ff;color:#1d4ed8}.studio .nav button.active span{color:#1d4ed8}.studio .nav button.active:after{background:#2563eb;box-shadow:none}.studio .crest{color:#2563eb;filter:none}.gold-button{background:#1769ff;color:#fff;border-color:#1769ff}.outline-button,.choice-grid button,.minor-actions button{background:#fff;color:#334155;border-color:#d6deea}.choice-grid button.selected,.choice-grid button.active{background:#eef4ff;color:#1d4ed8;border-color:#2563eb}.viewer .hint,.viewer .viewer-guide,.viewer .viewer-top,.viewer .viewer-bottom{color:#e2e8f0}
.studio .brand strong,.studio .panel h1,.studio .panel h2,.studio .panel h3,.studio .panel h4{color:#0b1220;font-family:Inter,'Segoe UI',Arial,sans-serif}.studio .nav button span{color:#475569}.studio .panel .section-title small{color:#475569}
.placed-list .placed-item:nth-child(even),.placed-list .placed-item:nth-child(odd){background:#f8fafc;color:#334155;border-color:#d6deea}.collider-panel,.gpuhi-floor,.sketch-tools{background:#f8fafc;color:#334155;border-color:#d6deea}.collider-panel p,.collider-panel label,.collider-panel small,.gpuhi-floor p,.gpuhi-floor label,.sketch-tools label{color:#475569}.collider-panel h3,.gpuhi-floor h3{color:#0b1220}
#glbColliderStatus{color:#854d0e}.collider-panel .collider-tag{color:#2563eb}

.map-combo{background:#f8faff;color:#15304c;border-color:#d7e2ef}.map-combo h2{color:#15304c}.map-combo p,.map-combo label{color:#526782}.map-combo input,.map-combo select,.map-combo textarea{background:white;color:#15304c;border-color:#cbd8e8}.map-combo-status{background:#edf8f4;color:#176b50}.map-combo-preview{background:#eef4fa}.map-combo-preview small{color:#526782}
