/* Shared Frontier controls. Layout, item art, slots and circular map controls stay local. */
:root{--control-face:linear-gradient(#37414c,#17212d 52%,#111923);--control-edge:#aa8c59;--control-copy:#decca6;--control-shadow:inset 0 0 0 1px #080d13,inset 0 2px #ead6a826,0 3px 5px #0006;--control-selected:linear-gradient(#76603b,#44341f)}
html[data-ui-theme="forged"] :is(.game-button,.hud-menu .screen-switch a,.model-filter,.gender-options button,.race-option,.skill-learn-button,.skill-pagination button,.specialization-preview-actions button,.specialization-stage-picker button,.world-list-filters button,.world-editor-panel button,.battle-wall-tools button,.summon-controls button,.battle-effect-status button,.picker-more,.battle-scene-editor .battle-text-button){
 background:var(--control-face);border:1px solid var(--control-edge);border-image:none;border-radius:5px;
 box-shadow:var(--control-shadow);color:var(--control-copy);text-shadow:0 1px 1px #0008;min-height:44px;
}
html[data-ui-theme="forged"] .hud-menu .screen-switch{gap:8px;padding:2px 3px 4px}
html[data-ui-theme="forged"] .hud-menu .screen-switch a{
 display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:11px 14px;
 font:14px/1.4 var(--font-body);letter-spacing:.3px;white-space:normal;text-align:center;
}
html[data-ui-theme="forged"] :is(.more-menu-list>button,.quick-item-options>button,.scene-catalog>button,.battle-controls .battle-skill-option){
 background:var(--control-face);border:1px solid #96784d80;border-image:none;border-radius:5px;
 box-shadow:inset 0 1px #ead6a81a,0 2px 4px #0005;color:var(--control-copy);text-align:left;
}
html[data-ui-theme="forged"] :is(.more-menu-list>button,.quick-item-options>button,.scene-catalog>button) strong{font:500 15px/1.35 var(--font-body);color:#ead7b3}
html[data-ui-theme="forged"] .more-menu-list>button>span:first-of-type{font:500 16px/1.35 var(--font-body)}
html[data-ui-theme="forged"] :is(.more-menu-list,.quick-item-options,.scene-catalog) small{color:var(--frontier-muted);font:11px/1.5 Arial,sans-serif}
html[data-ui-theme="forged"] :is(.hud-menu .screen-switch a.active,.hud-menu .screen-switch a[aria-current="page"],.game-button.primary,.model-filter[aria-pressed="true"],.gender-options button[aria-pressed="true"],.race-option[aria-pressed="true"],.specialization-stage-picker button.active,.world-list-filters button[aria-pressed="true"],.world-editor-panel button[aria-pressed="true"],.battle-wall-tools button.active,.battle-controls .battle-skill-option.active,.skill-learn-button:not(.learned):not(:disabled)){
 background:var(--control-selected);border-color:#d3b375;color:#f5dfae;box-shadow:inset 0 0 0 1px #33271c,inset 0 2px #f4d59926,0 3px 5px #0006;
}
html[data-ui-theme="forged"] .game-button.danger{background:linear-gradient(#543c3b,#291c20);border-color:#a87659;color:#e6bbb0}
html[data-ui-theme="forged"] .skill-learn-button.learned{background:#202731;border-color:#96784d55;color:#c8b98f;box-shadow:inset 0 1px #e0c69012}
html[data-ui-theme="forged"] :is(.scene-filters input,.scene-filters select,.skill-search-battle,.world-editor-panel input,.world-editor-panel select){background:#171e28;border:1px solid #96784d80;border-radius:5px;color:#e1d3b8;box-shadow:inset 0 2px 4px #0005;min-height:40px;font:13px Arial,sans-serif}
html[data-ui-theme="forged"] :is(.game-button,.model-filter,.gender-options button,.race-option,.skill-learn-button,.skill-pagination button,.specialization-preview-actions button,.world-editor-panel button,.picker-more,.battle-controls .battle-skill-option):disabled:not(.learned){background:#20242b;border-color:#56534d;color:#8f9089;box-shadow:inset 0 1px #ffffff08;opacity:1;text-shadow:none}
@media(hover:hover){html[data-ui-theme="forged"] :is(.hud-menu .screen-switch a,.more-menu-list>button,.quick-item-options>button,.scene-catalog>button,.model-filter,.game-button,.world-editor-panel button,.battle-controls .battle-skill-option):hover:not(:disabled){border-color:#e0c690;filter:brightness(1.08)}}
