/* Compact, flat editor chrome, based on the supplied Unity references. */
:root{--warlike-menubar-height:60px;--warlike-footer-height:26px}
body:not(.hub-open) .studio-menubar{height:60px!important;min-height:60px!important;grid-template-columns:145px minmax(0,1fr) auto;grid-template-rows:27px 33px;padding:0 9px!important;gap:0 8px!important;border-radius:0}
body:not(.hub-open) .studio-identity{gap:7px}.studio-identity .studio-mark{width:21px;height:21px;border-radius:2px;font-size:13px}.studio-identity strong{font-size:11px;letter-spacing:.08em}.studio-identity small{display:none}
body:not(.hub-open) .studio-menubar>.studio-menus{gap:0!important}.studio-menus>details>summary{min-height:24px!important;padding:3px 8px!important;font-size:11px!important}
body:not(.hub-open) .studio-primary-actions{gap:5px!important;align-items:center}.studio-primary-actions .studio-action-divider{height:18px}
body:not(.hub-open) .studio-primary-actions>button,body:not(.hub-open) .studio-primary-actions summary{min-height:25px!important;padding:3px 9px!important;border-radius:2px!important;font-size:11px!important;line-height:1.3!important}
body:not(.hub-open) .studio-primary-actions>#play{min-width:72px}.studio-menubar>.studio-project-name{font-size:10px!important;max-width:280px!important;gap:5px}.studio-project-name #hubSave{padding:3px 8px!important;min-height:25px!important}.studio-project-name strong{max-width:125px}
body:not(.hub-open) .workspace{height:calc(100dvh / var(--editor-ui-scale,1) - 60px - var(--warlike-footer-height));min-height:0}
body:not(.hub-open).warlike-toolbar-expanded .workspace{height:calc(100dvh / var(--editor-ui-scale,1) - 102px - var(--warlike-footer-height))}
body:not(.hub-open) .panel-title,body:not(.hub-open) .bottom-tabs{min-height:25px!important;height:25px;padding:3px 8px!important;letter-spacing:0!important;font-size:11px!important;border-radius:0!important}
body:not(.hub-open) .panel-title .dock-title-actions small{display:none}.dock-title-actions button{min-height:18px!important;width:20px!important;padding:1px!important;border:0!important;background:transparent!important}
body:not(.hub-open) .center-stack{grid-template-rows:29px 26px minmax(100px,1fr) 5px minmax(0,var(--project-height,280px))}
body:not(.hub-open) .scene-tools{min-height:29px;padding:2px 6px;gap:5px}.scene-tools button{min-height:22px!important;padding:2px 7px!important;font-size:10px!important;border-radius:2px!important}.scene-tabs{height:26px;min-height:26px}.scene-tabs button{padding:3px 12px!important;min-height:24px!important;font-size:11px}
body:not(.hub-open) .warlike-status-footer{height:26px!important;min-height:26px!important;max-height:26px!important;font-size:10px!important;box-shadow:none!important}.warlike-status-footer .warlike-studio-signature small{display:none!important}.warlike-status-footer .warlike-studio-signature strong{font-size:10px!important}
/* Scene hierarchy: scene root, actual groups, object rows and editor visibility. */
#hierarchyPanel .warlike-create-bar{display:flex;gap:3px;padding:3px 6px}.warlike-create-bar button{min-height:23px!important;padding:2px 7px!important;font-size:11px!important;border-radius:2px!important}
#hierarchyPanel #hierarchySearch{margin:2px 6px 5px;width:calc(100% - 12px);min-height:23px!important;padding:2px 7px!important;border-radius:3px!important;font-size:11px}
#hierarchyPanel #objects{padding:0;overflow:auto;min-height:0;flex:1;display:block}#hierarchyPanel>small{font-size:9px;padding:4px 8px;flex:none;color:var(--wl-text-muted)!important}
.unity-scene-root{height:23px;display:flex;align-items:center;gap:5px;padding:2px 7px;background:var(--wl-theme-header);border-top:1px solid var(--wl-theme-border);border-bottom:1px solid var(--wl-theme-border);font-size:11px;color:var(--wl-text-header)!important;position:sticky;top:0;z-index:2}.unity-scene-root strong{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#objects .unity-hierarchy-group{border:0;margin:0;padding:0;background:transparent}#objects .unity-hierarchy-group-title{height:23px;min-height:23px;padding:2px 6px 2px 12px;display:flex;align-items:center;gap:5px;font-size:11px;cursor:pointer;list-style:none;background:color-mix(in srgb,var(--wl-theme-header) 45%,transparent);color:var(--wl-text-panel)!important}#objects .unity-hierarchy-group-title::before{content:'▸';width:9px;font-size:10px}#objects .unity-hierarchy-group[open]>.unity-hierarchy-group-title::before{content:'▾'}#objects .unity-hierarchy-group-title small{margin-left:auto;font-size:10px;color:var(--wl-text-muted)!important}.unity-hierarchy-row{display:flex;align-items:center;height:23px;min-height:23px;padding:0 4px;gap:2px;color:var(--wl-text-panel)!important}.unity-hierarchy-group .unity-hierarchy-row{padding-left:17px}.unity-hierarchy-row.selected{background:color-mix(in srgb,var(--editor-accent) 18%,var(--wl-theme-panel))!important;color:var(--wl-text-selected)!important}html[data-warlike-theme=graphite] .unity-hierarchy-row.selected{background:#365d7d!important;color:#fff!important}
#hierarchyPanel #objects .hierarchy-eye,#hierarchyPanel #objects .hierarchy-object-label{height:23px!important;min-height:23px!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;margin:0;padding:1px 3px!important;font-size:11px!important;box-shadow:none!important}#hierarchyPanel #objects .hierarchy-eye{flex:none;width:17px;opacity:.7}#hierarchyPanel #objects .hierarchy-object-label{flex:1;min-width:0;display:flex;align-items:center;gap:5px;text-align:left}.hierarchy-object-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-object-icon{font-size:15px;flex:none}.hierarchy-component-mark{font-size:9px;flex:none;padding-right:3px;color:inherit}.unity-hierarchy-row.editor-hidden .hierarchy-object-name{text-decoration:line-through;opacity:.65}.unity-hierarchy-empty{padding:18px;font-size:11px;color:var(--wl-text-muted)!important}
/* The Inspector scrolls full components; its children never shrink and clip fields. */
body:not(.hub-open) #properties{padding:0!important;display:flex;flex-direction:column;gap:0!important;overflow:auto;min-height:0;scrollbar-gutter:stable}
#properties>*{flex-shrink:0!important;box-sizing:border-box}
body:not(.hub-open) #properties .inspector-object{display:flex;flex-direction:column;gap:5px;padding:9px 9px 8px!important;border:0!important;border-bottom:1px solid var(--wl-theme-border)!important;border-radius:0!important;position:relative;background:var(--wl-theme-panel)!important}
.unity-object-identity{display:flex;align-items:center;gap:6px;min-width:0}.unity-object-icon{font-size:24px;color:#8cb8d4;line-height:1;width:24px;flex:none}.unity-object-identity>input[type=checkbox]{width:14px!important;height:14px!important;min-height:0!important;flex:none}.unity-object-identity>.inspector-object-name{font-size:12px!important;font-weight:500!important;min-height:23px!important;height:23px;padding:2px 5px!important;flex:1;min-width:0}
.unity-object-labels{display:flex;gap:9px;padding-left:30px;min-width:0}.unity-object-labels label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px;flex:1;min-width:0;font-size:10px!important}.unity-object-labels input{width:100%;min-width:0;height:21px!important;min-height:21px!important;padding:1px 4px!important;font-size:10px!important;font-weight:400!important}
#properties .unity-object-meta{font-size:10px!important;opacity:1!important;color:var(--wl-text-muted)!important;padding-left:30px}.inspector-object-actions{position:absolute;right:8px;bottom:6px;display:flex;gap:3px}.inspector-object-actions button{font-size:9px!important;min-height:19px!important;padding:1px 5px!important;border-radius:2px!important}
body:not(.hub-open) .inspector #properties>.inspector-component{border:0!important;border-bottom:1px solid var(--wl-theme-border)!important;border-radius:0!important;margin:0!important;overflow:visible!important;position:relative;background:var(--wl-theme-panel)!important}
body:not(.hub-open) .inspector #properties>.inspector-component>summary{min-height:26px!important;padding:3px 7px!important;gap:5px!important;font-size:11px!important;line-height:1.4;letter-spacing:0!important;background:var(--wl-theme-header)!important;color:var(--wl-text-header)!important}
#properties>.inspector-component>summary::before{color:inherit!important;font-size:10px}.unity-component-icon{font-size:13px;flex:none;opacity:.9}
body:not(.hub-open) #properties .component-content{padding:7px 9px 9px!important;display:grid;gap:5px!important;min-height:0}
body:not(.hub-open) #properties .property-row{grid-template-columns:minmax(80px,39%) minmax(0,1fr);gap:7px;min-height:23px!important;margin:0!important}body:not(.hub-open) #properties label{font-size:11px!important;line-height:1.4;opacity:1!important;color:var(--wl-text-panel)!important}
body:not(.hub-open) #properties input:not([type=checkbox]):not([type=color]):not([type=range]),body:not(.hub-open) #properties select{min-height:23px!important;height:23px;padding:2px 5px!important;border-radius:2px!important;font-size:11px!important;line-height:1.2}
body:not(.hub-open) #properties input[type=checkbox]{width:14px!important;height:14px!important;min-height:0!important}
body:not(.hub-open) #properties .inspector-vector-row{display:grid!important;grid-template-columns:77px minmax(0,1fr)!important;gap:6px;align-items:center;min-height:23px}#properties .inspector-vector-row>strong{font-size:11px;font-weight:400;opacity:1!important;color:var(--wl-text-panel)!important}
body:not(.hub-open) #properties .inspector-vector-fields{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;min-width:0}.inspector-vector-fields .inspector-axis{display:grid!important;grid-template-columns:9px minmax(0,1fr);gap:2px;min-width:0}.inspector-vector-fields .inspector-axis>span{font-size:10px;color:var(--wl-text-muted)!important}.inspector-vector-fields .inspector-axis>input{min-width:0!important;width:100%;text-align:right;font-variant-numeric:tabular-nums}
#properties .component-content p,#properties .component-content small{font-size:10px!important;line-height:1.5;color:var(--wl-text-muted)!important;margin:3px 0}
#properties .component-menu-toggle{margin-left:auto;flex:none;padding:0 6px!important;height:20px;min-height:20px!important;border:0!important;background:transparent!important;color:inherit!important;font-size:16px!important}.component-menu-open{z-index:5}
#properties .unity-component-menu{position:absolute;right:5px;top:25px;z-index:10;display:flex;flex-direction:column;gap:2px;padding:5px;width:175px;border:1px solid var(--wl-theme-border);background:var(--wl-theme-panel);box-shadow:0 5px 14px #0007}.unity-component-menu[hidden]{display:none!important}#properties .unity-component-menu button{font-size:11px!important;min-height:24px!important;padding:4px 7px!important;text-align:left;border-radius:2px!important}
#properties .inspector-add-component{margin:12px 18px!important;border-radius:2px!important;border:1px solid var(--wl-theme-border)!important}#properties .inspector-add-component>summary{padding:6px!important;font-size:11px!important;font-weight:500!important}.inspector-add-component .component-browser-body{padding:8px!important}.inspector-add-component .component-browser-body input[type=search]{width:100%}
#properties>.inspector-advanced-tools{margin:4px 8px 8px;font-size:10px}#properties>.delete-object{margin:5px 18px 14px;min-height:24px!important;padding:4px!important;font-size:10px!important;border-radius:2px!important}.asset-credits{padding:6px;font-size:10px}
/* Asset files: one compact browser with real folders and a list mode. */
body:not(.hub-open) #projectContent{display:flex;flex-direction:column;overflow:hidden!important}#projectContent>[hidden]{display:none!important}
body:not(.hub-open) #warlikeVisualPacks{display:flex;flex-direction:column;flex:1;min-height:0;max-height:none;padding:7px!important;overflow:hidden;resize:none;border:0}
#warlikeVisualPacks .free-asset-toolbar{position:static;gap:5px;padding-bottom:6px;flex:none}.free-asset-toolbar strong{font-size:11px}.free-asset-toolbar select{min-height:25px;max-width:240px;font-size:10px}.free-asset-toolbar input{min-height:25px;min-width:120px;font-size:11px}.free-asset-toolbar button{min-height:25px!important;padding:3px 7px!important;border-radius:2px!important;font-size:10px}
.free-asset-filters{flex:none;gap:6px;margin-bottom:5px}.free-asset-filters select{min-height:23px;min-width:110px;flex:0 1 auto;font-size:10px}.free-asset-filters label{font-size:10px}.free-asset-filters input[type=checkbox]{width:13px!important;height:13px!important}
.unity-project-browser{display:flex;gap:8px;min-height:0;flex:1}.visual-pack-folders{width:165px;flex:none;overflow:auto;border-right:1px solid var(--wl-theme-border);padding-right:6px;font-size:11px}.visual-pack-folders button{display:flex;align-items:center;gap:4px;width:100%;min-height:23px!important;margin:0;padding:3px 6px!important;border:0!important;border-radius:0!important;text-align:left;font-size:10px!important;background:transparent!important;color:var(--wl-text-panel)!important}.visual-pack-folders button.active{background:color-mix(in srgb,var(--editor-accent) 18%,var(--wl-theme-panel))!important;color:var(--wl-text-selected)!important}.visual-pack-folders button span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.visual-pack-folders button small{margin-left:auto;font-size:9px;color:var(--wl-text-muted)!important}.visual-pack-folders details>summary{padding:4px;font-size:10px;cursor:pointer;white-space:nowrap}.visual-pack-folders details button{padding-left:16px!important}
.visual-pack-results{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0}.visual-pack-results #visualPackInfo{font-size:10px;line-height:1.4;flex:none;margin:0 0 4px}.visual-pack-results .free-asset-actions{flex:none;margin-bottom:4px}.visual-pack-results .free-asset-grid{flex:1;min-height:0;overflow:auto;align-content:start;grid-auto-rows:max-content;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:7px;padding:2px}
.free-asset-card{min-height:134px;flex:none;border-radius:2px;min-width:0;background:var(--wl-theme-panel)}.free-asset-preview{min-height:122px!important;height:auto!important;max-height:none!important;padding:5px!important;gap:3px!important;font-size:10px}.free-asset-preview img{height:76px}.free-asset-name{font-size:10px;line-height:1.3;font-weight:400}.free-asset-meta{font-size:9px!important}.free-asset-card .free-asset-file{font-size:9px;opacity:.8;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.free-asset-grid.free-asset-list{display:flex;flex-direction:column;gap:0}.free-asset-list .free-asset-card{min-height:50px;border:0;border-bottom:1px solid var(--wl-theme-border);flex:none}.free-asset-list .free-asset-preview{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;text-align:left;min-height:48px!important;height:52px!important;max-height:58px!important;gap:10px!important}.free-asset-list .free-asset-preview img{height:42px;width:44px;grid-row:1/3}.free-asset-list .free-asset-name{grid-column:2;grid-row:1}.free-asset-list .free-asset-meta{grid-column:3;grid-row:1/3}.free-asset-list .free-asset-file{grid-column:2;grid-row:2}.free-asset-pager{padding:3px 0;gap:8px;font-size:10px;flex:none}.free-asset-pager button{min-height:22px!important;padding:2px 7px!important;font-size:10px}.free-sprite-import{margin:4px 0 0;padding:4px 6px;font-size:10px}.free-sprite-import>input{margin-top:4px}
.unity-project-advanced{flex:none;font-size:10px;border-top:1px solid var(--wl-theme-border)}.unity-project-advanced>summary{padding:5px 8px;cursor:pointer}.unity-project-advanced[open]{flex:1;overflow:auto;min-height:0}
#warlikeVisualPacks.warlike-asset-library-maximized{height:calc(100dvh / var(--editor-ui-scale,1) - 24px);width:calc(100vw / var(--editor-ui-scale,1) - 24px);padding:12px!important;min-height:200px;max-height:none;border-radius:4px}
/* The Hub follows the reference's project list and restrained navigation. */
body.hub-open #hubOverlay{padding:0!important;background:var(--warlike-palette-surface,#181818)!important;color:var(--wl-text-surface,#eee)!important}
#hubOverlay [hidden]{display:none!important}#hubOverlay .hub-window[data-simple-hub]{width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;border:0!important;border-radius:0!important;padding:0!important;display:grid!important;grid-template-columns:210px minmax(0,1fr);grid-template-rows:72px minmax(0,1fr);gap:0!important;overflow:hidden;box-shadow:none!important;background:var(--warlike-palette-surface,#181818)!important;color:var(--wl-text-surface,#eee)!important}
.simple-hub-heading{grid-column:1/-1;display:flex;align-items:center;gap:25px;padding:0 24px;border-bottom:1px solid var(--warlike-palette-border,#333);background:var(--warlike-palette-menu,#171717);color:var(--wl-text-menu,#eee)}.simple-hub-brand{width:160px;flex:none;display:flex;align-items:center;gap:9px;font-size:19px}.simple-hub-mark{display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--hub-accent,#4c88b7);border-radius:4px;font-size:16px}.simple-hub-heading h1{margin:0;font-size:24px;font-weight:600;flex:1}.simple-hub-toolbar{display:flex;align-items:center;gap:10px}.simple-hub-toolbar input{width:220px;min-height:34px;border-radius:5px;padding:7px 10px;font-size:12px}.simple-hub-toolbar select{min-height:34px;font-size:12px;border-radius:4px}.simple-hub-toolbar #hubClose{width:28px;min-height:28px;padding:0;font-size:20px;border:0;background:transparent;color:inherit}
#hubOverlay .hub-primary-button,#hubOverlay #hubCreate{border:1px solid var(--hub-accent,#4c88b7)!important;background:var(--hub-accent,#4c88b7)!important;color:var(--hub-accent-fg,#102230)!important;border-radius:4px;font-size:12px;font-weight:600;min-height:34px;padding:7px 12px;cursor:pointer}
.simple-hub-nav{display:flex;flex-direction:column;gap:4px;padding:20px 10px;min-height:0;background:var(--warlike-palette-panel,#202020);border-right:1px solid var(--warlike-palette-border,#333);color:var(--wl-text-panel,#eee)}#hubOverlay .simple-hub-nav-item{display:block;text-align:left;padding:11px 14px;min-height:40px;border:0;border-radius:5px;background:transparent;color:inherit;font-size:13px}.simple-hub-nav-item.active{background:var(--warlike-palette-header,#333)!important;color:var(--wl-text-header,#eee)!important}.simple-hub-docs{padding:12px 14px;font-size:12px;color:inherit;text-decoration:none}.simple-hub-developer{margin-top:auto;padding:12px 14px;white-space:pre-line;font-size:10px;line-height:1.8;color:var(--wl-text-muted,#aaa)}
.simple-hub-main{min-width:0;min-height:0;overflow:auto;background:var(--warlike-palette-surface,#181818);color:var(--wl-text-surface,#eee)}.simple-hub-main>section:not(.simple-hub-projects),.simple-hub-main>.hub-create,.simple-hub-main>.hub-appearance{max-width:1040px;margin:0 auto;padding:30px 36px}.simple-hub-main #hubMessage{padding:0 25px;font-size:12px;line-height:1.6}
.hub-project-table-heading,#hubOverlay .hub-project-card{display:grid;grid-template-columns:35px minmax(160px,1fr) 150px 125px 35px;gap:12px;align-items:center;padding:12px 24px;border:0!important;border-bottom:1px solid var(--warlike-palette-border,#333)!important;border-radius:0!important;background:var(--warlike-palette-surface,#181818)!important;color:var(--wl-text-surface,#eee)!important;box-shadow:none!important;min-height:78px}.hub-project-table-heading{min-height:44px;padding-top:8px;padding-bottom:8px;background:var(--warlike-palette-header,#252525);color:var(--wl-text-header,#eee);font-size:12px}.hub-project-card>div:first-of-type{display:flex;flex-direction:column;gap:6px;min-width:0}.hub-project-card .hub-project-open{display:block;text-align:left;border:0;background:transparent!important;color:inherit!important;font-size:14px;font-weight:600;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hub-project-card small{font-size:10px;color:var(--wl-text-muted,#aaa)}.hub-project-card .hub-current-pill{align-self:flex-start;font-size:9px;padding:1px 5px}.hub-project-modified,.hub-project-version{font-size:11px;color:inherit}.hub-project-favorite{padding:2px!important;font-size:22px!important;background:transparent!important;border:0!important;color:inherit!important}.hub-project-favorite[aria-pressed=true]{color:var(--hub-accent)!important}.hub-project-options{position:relative}.hub-project-options>summary{font-size:22px;list-style:none;cursor:pointer;text-align:center}.hub-project-commands{position:absolute;right:0;top:28px;width:210px;padding:7px;z-index:2;border:1px solid var(--warlike-palette-border);background:var(--warlike-palette-panel);color:var(--wl-text-panel);box-shadow:0 7px 20px #0008;display:flex;flex-direction:column;gap:5px}.hub-project-commands button,.hub-project-commands select{padding:6px 8px;font-size:11px;text-align:left;background:var(--warlike-palette-button);color:var(--wl-text-button);border:1px solid var(--warlike-palette-border);border-radius:3px}.simple-hub-list-actions{padding:18px 25px;display:flex;align-items:center;justify-content:space-between;font-size:11px}.simple-hub-list-actions button{font-size:11px;padding:6px 9px;background:transparent;color:inherit;border:1px solid var(--warlike-palette-border);border-radius:3px}
#hubOverlay .hub-projects{display:block!important;max-height:none!important;overflow:visible!important}.hub-empty-projects{padding:70px 30px!important;text-align:center;font-size:14px;line-height:1.7;color:var(--wl-text-muted,#aaa)!important;border:0!important;background:transparent!important}
#hubOverlay .hub-create{display:flex;flex-direction:column;gap:16px;width:min(620px,100%);border:0;border-radius:0;background:transparent!important;color:inherit!important}#hubOverlay .hub-create>h3{display:none}#hubOverlay .hub-create>label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:inherit}#hubOverlay .hub-create input,#hubOverlay .hub-create select{width:100%;min-height:36px;font-size:12px;padding:7px 10px;border:1px solid var(--warlike-palette-border);border-radius:4px;background:var(--warlike-palette-panel);color:var(--wl-text-panel)}.hub-create>small{font-size:11px;line-height:1.6;color:var(--wl-text-muted)}.hub-create-advanced{font-size:11px;margin-top:8px}.hub-create-advanced>summary{cursor:pointer;padding:6px 0}.hub-create-advanced label{display:flex;flex-direction:column;gap:6px;margin:10px 0}
#hubOverlay .hub-appearance{border:0;border-radius:0;background:transparent!important;color:inherit!important}.hub-appearance>h3:first-of-type{display:none}.hub-appearance h2,.simple-hub-about h2{font-size:23px;margin:0 0 22px}.hub-design-themes{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;margin-bottom:28px}.hub-design-theme{padding:9px;background:var(--warlike-palette-panel);border:1px solid var(--warlike-palette-border);border-radius:5px;color:var(--wl-text-panel);display:flex;flex-direction:column;gap:9px;text-align:left;cursor:pointer;font-size:11px}.hub-design-theme[aria-pressed=true]{outline:2px solid var(--hub-accent);outline-offset:1px}.hub-theme-miniature{height:58px;width:100%;background:linear-gradient(90deg,var(--theme-accent) 0 3px,var(--theme-surface) 3px 27%,var(--theme-accent) 27% 28%,var(--theme-surface) 28% 80%,var(--theme-accent) 80% 81%,var(--theme-surface) 81%);border-top:8px solid var(--theme-accent);opacity:.9}.hub-design-choice{display:flex;align-items:center;gap:18px;margin-top:20px;font-size:12px}.hub-design-choice select{min-height:33px;padding:5px 9px;background:var(--warlike-palette-panel);color:var(--wl-text-panel);border:1px solid var(--warlike-palette-border);border-radius:4px}.hub-editor-palette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:28px}.hub-editor-palette h3{grid-column:1/-1;font-size:14px}.hub-editor-palette label{display:flex;align-items:center;justify-content:space-between;font-size:12px}.hub-editor-palette input[type=color]{width:58px;height:31px;border:1px solid var(--warlike-palette-border);background:transparent;border-radius:3px}
.simple-hub-about p{font-size:13px;line-height:1.8}.hub-developer-credit{font-size:16px!important}.hub-about-links{display:flex;flex-wrap:wrap;gap:20px;margin:22px 0 30px}.simple-hub-about a{color:inherit;text-underline-offset:3px}.simple-hub-about h3{font-size:16px;margin-top:30px}.hub-source-systems{display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px;font-size:12px;line-height:1.7}.hub-source-systems dt{font-weight:600}.hub-source-systems dd{margin:0}.simple-hub-about input[type=search]{width:100%;min-height:34px;padding:6px 10px;margin:10px 0;background:var(--warlike-palette-panel);color:var(--wl-text-panel);border:1px solid var(--warlike-palette-border);border-radius:3px}.hub-source-pack{display:grid;grid-template-columns:95px minmax(0,1fr) 150px;gap:15px;padding:10px 0;border-bottom:1px solid var(--warlike-palette-border);font-size:12px;line-height:1.5}.hub-source-pack small{font-size:10px}.hub-legacy-sources{margin-top:25px;padding:12px 0;font-size:12px}.hub-legacy-sources>summary{cursor:pointer}.hub-legacy-sources :is(p,small){line-height:1.7}
/* Designs remain independent of manually chosen colors. */
html[data-warlike-design=scifi] :is(.studio-menubar,.simple-hub-heading){background-image:repeating-linear-gradient(0deg,transparent 0 3px,#75d9ee06 3px 4px)!important;border-bottom:1px solid var(--editor-accent)!important}html[data-warlike-design=scifi] :is(.panel-title,.unity-hierarchy-group-title,.simple-hub-brand){letter-spacing:.06em!important}html[data-warlike-design=scifi] .studio-mark{border-radius:0;box-shadow:0 0 12px color-mix(in srgb,var(--editor-accent) 30%,transparent)}
html[data-warlike-design=fantasy] :is(.simple-hub-heading h1,.simple-hub-brand,.studio-identity strong,.panel-title){font-family:Georgia,serif!important;letter-spacing:.03em!important}html[data-warlike-design=fantasy] :is(.studio-menubar,.simple-hub-heading){background-image:linear-gradient(115deg,#d7b8780c,transparent 40%,#d7b87808)!important;border-bottom:1px solid var(--editor-accent)!important}
html[data-warlike-design=nature] :is(.studio-mark,.hub-design-theme,.simple-hub-nav-item){border-radius:7px}
@media(max-width:1050px){.studio-menubar>.studio-project-name strong{display:none}.studio-primary-actions .studio-build-button{display:none}.studio-identity{max-width:135px}.simple-hub-toolbar input{width:150px}.simple-hub-brand{width:140px}.simple-hub-heading{gap:15px;padding:0 14px}.hub-project-table-heading,#hubOverlay .hub-project-card{grid-template-columns:26px minmax(130px,1fr) 110px 100px 25px;padding-left:15px;padding-right:15px;gap:8px}}
@media(max-width:760px){#hubOverlay .hub-window[data-simple-hub]{grid-template-columns:145px minmax(0,1fr);grid-template-rows:62px minmax(0,1fr)}.simple-hub-brand{width:110px;font-size:15px}.simple-hub-heading h1{font-size:19px}.simple-hub-toolbar input,.simple-hub-toolbar select{display:none}.simple-hub-toolbar #hubNewProject{font-size:10px;padding:5px 7px}.simple-hub-nav{padding:12px 6px}.simple-hub-nav-item{font-size:11px!important;padding:9px!important}.simple-hub-main>section:not(.simple-hub-projects),.simple-hub-main>.hub-create,.simple-hub-main>.hub-appearance{padding:20px 18px}.hub-project-table-heading,#hubOverlay .hub-project-card{grid-template-columns:22px minmax(100px,1fr) 80px 25px}.hub-project-table-heading>span:nth-child(4),.hub-project-version{display:none}.hub-source-pack{grid-template-columns:75px minmax(0,1fr)}.hub-source-pack small{grid-column:2}.hub-source-systems{grid-template-columns:1fr;gap:5px}.hub-editor-palette{grid-template-columns:1fr}.visual-pack-folders{width:125px}.studio-menubar>.studio-project-name{display:none!important}.studio-primary-actions>#openBlueprint{font-size:10px!important}.studio-primary-actions .studio-test-scene{font-size:10px!important}.studio-menubar>.studio-primary-actions{grid-column:1/-1}.studio-identity{display:none}.studio-menubar{grid-template-columns:1fr auto!important}.studio-menubar>.studio-menus{grid-column:1!important}}
/* Desktop mouse behavior: editor chrome is selectable as objects, editable fields as text. */
body.warlike-desktop{overscroll-behavior:none}body.warlike-desktop :is(.workspace,.studio-menubar,.warlike-status-footer,#hubOverlay){user-select:none;-webkit-user-select:none}body.warlike-desktop :is(input,textarea,[contenteditable=true],.bp-readonly-steps,.console-lines,.hub-source-systems,.asset-credits){user-select:text;-webkit-user-select:text}body.warlike-desktop canvas:focus{outline:0}body.warlike-desktop img{-webkit-user-drag:none}
.desktop-context-menu{position:fixed;z-index:1000000000;display:flex;flex-direction:column;width:238px;padding:5px;border:1px solid var(--wl-theme-border);border-radius:3px;background:var(--wl-theme-panel);color:var(--wl-text-panel);box-shadow:0 8px 28px #0008;font:12px system-ui;user-select:none}.desktop-context-menu[hidden]{display:none!important}.desktop-context-menu button{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;margin:0!important;padding:6px 9px!important;min-height:28px!important;border:0!important;border-radius:2px!important;background:transparent!important;color:var(--wl-text-panel)!important;font:12px system-ui!important;cursor:default}.desktop-context-menu button:is(:hover,:focus-visible){background:color-mix(in srgb,var(--editor-accent) 22%,var(--wl-theme-panel))!important;color:var(--wl-text-selected)!important;outline:0}.desktop-context-menu button:disabled{opacity:.45!important}.desktop-context-menu kbd{font:10px system-ui;opacity:.75}.desktop-context-menu hr{width:100%;border:0;border-top:1px solid var(--wl-theme-border);margin:4px 0}.scene-selection-rectangle{position:absolute;border:1px solid var(--editor-accent);background:color-mix(in srgb,var(--editor-accent) 15%,transparent);pointer-events:none;z-index:10}
/* Hero Forge stays inside the game viewport and follows the editor palette in its Inspector. */
.hero-forge-hud{position:absolute;left:14px;right:14px;bottom:45px;max-width:710px;z-index:18;padding:10px 12px;border:1px solid #70def074;border-radius:5px;background:linear-gradient(110deg,#0d1b2af5,#122638f0);box-shadow:0 8px 28px #0005;color:#e4f8ff;font:11px system-ui;pointer-events:none}.hero-forge-hud[hidden]{display:none!important}.hero-hud-top,.hero-hud-bottom{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hero-hud-top strong{font-size:11px;letter-spacing:.12em;color:#7ee9ff}.hero-hud-status{font-size:10px;color:#d7f4ff;flex:1}.hero-forge-hud select,.hero-forge-hud button{pointer-events:auto!important;font:10px system-ui!important;color:#e6f9ff!important;border:1px solid #456b80!important;border-radius:3px!important;background:#18364b!important;min-height:25px!important;padding:5px 7px!important;margin:0!important}.hero-forge-hud select{max-width:130px}.hero-energy{position:relative;height:15px;overflow:hidden;margin:8px 0;background:#09141f;border:1px solid #36556a;border-radius:3px}.hero-energy i{display:block;height:100%;background:linear-gradient(90deg,#1b8aa5,#64e9ff);transition:width .1s linear}.hero-energy span{position:absolute;inset:0;text-align:center;font-size:9px;color:white;text-shadow:0 1px 3px #000;font-weight:700}.hero-power-slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.hero-power-slots .hero-power{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:46px!important;line-height:1.4;font-weight:600!important;text-align:left;white-space:normal}.hero-power small{font-size:9px;color:#bae6f5!important}.hero-power.active{border-color:#79edff!important;box-shadow:inset 0 0 12px #57eaff35}.hero-power:disabled{opacity:.52!important}.hero-hud-bottom{margin-top:7px}.hero-progression{flex:1;font-size:10px;color:#d2efdf}.hero-squad-orders{display:flex;gap:4px}.hero-hud-message{font-size:10px;color:#aec9da;line-height:1.5;margin-top:6px;min-height:15px}.hero-slot-field{display:grid!important;grid-template-columns:70px minmax(0,1fr)!important;gap:5px;align-items:center}.hero-slot-field select{width:100%}@media(max-width:1000px){.hero-power-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-forge-hud{max-width:520px;padding:8px;bottom:35px}.hero-hud-message{font-size:9px}.hero-power-slots .hero-power{min-height:36px!important;gap:1px}}.warlike-game-build .hero-forge-hud{bottom:18px;left:18px;right:18px}
.hero-forge-hud{pointer-events:auto;max-height:calc(100% - 65px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.hero-forge-hud.compact{bottom:8px;max-height:calc(100% - 16px)}.hero-forge-hud.compact:not(.expanded)>:not(.hero-hud-top),.hero-forge-hud.minimized>:not(.hero-hud-top){display:none!important}.hero-hud-toggle{flex:none;min-width:26px}.hero-hud-top{position:relative}.hero-forge-hud.compact .hero-hud-top{gap:5px}.hero-forge-hud.compact .hero-hud-status{max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

#viewport>.game-objective-hud{top:42px;left:12px;min-width:0;width:min(280px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:35%;overflow:auto;overscroll-behavior:contain;pointer-events:auto;z-index:17;color:#edf3fa;font-family:system-ui;padding:10px 12px;box-sizing:border-box;scrollbar-width:thin}#viewport>.game-objective-hud .game-objective-row{overflow-wrap:anywhere;font-size:11px}.warlike-game-build #viewport>.game-objective-hud{top:18px}
