/* Categories stay directly selectable; only explanatory copy is deferred. */
html body .quiet-hud .palace-subnav{max-height:none;overflow:visible}
html body .quiet-hud .palace-desk-head{display:flex;flex-direction:column;align-items:center;gap:4px}
html body .quiet-hud .palace-utility{display:flex!important;flex-wrap:wrap;justify-content:center;max-width:100%;gap:6px}
html body .quiet-hud .palace-utility>button{flex:1 1 auto;width:auto;min-width:0}
html body .quiet-hud :is(.palace-utility,.palace-subnav) button{min-height:38px;line-height:1.35}
html body .quiet-hud .palace-utility .conquest-target-trigger{position:static!important;inset:auto!important;transform:none!important;max-width:100%;margin:0;flex:none;gap:6px}
html body .quiet-hud .conquest-target-trigger i{display:none}
html body .palace-command.quiet-command>small{display:none!important}
html body .palace-command.quiet-command>.command-paths{display:flex!important;position:static!important;grid-column:1!important;grid-row:4!important;flex-wrap:wrap!important;align-items:center;justify-content:center;align-content:center!important;align-self:center!important;gap:3px;min-height:0!important;height:auto!important;max-width:100%;margin:0}
html body .palace-command.quiet-command>.command-paths:empty{display:none!important}
html body .palace-command.quiet-command>.palace-command-growth{font-size:14px!important;line-height:1.45!important;white-space:normal!important;word-break:keep-all;text-overflow:clip;max-height:none;overflow:visible;grid-row:5!important;align-self:start;display:block!important}
html body .palace-command.quiet-command>.palace-command-rate{line-height:1.45!important;white-space:normal!important;word-break:keep-all}
@media(max-width:1000px) and (orientation:portrait){
 html body .quiet-hud .palace-utility{gap:4px}
 html body .quiet-hud :is(.palace-utility,.palace-subnav) button{min-height:36px;font-size:12px;padding:4px 5px}
 html body .quiet-hud .palace-utility .conquest-target-trigger{padding:4px 7px;font-size:12px}
 html body .quiet-hud .conquest-target-trigger span{font-size:11px}
 html body .palace-command.quiet-command>.palace-command-growth{font-size:12px!important}
 html body .room-experience .palace-card-deck:has(.quiet-command:not([data-management]) .command-paths:not(:empty)){--command-path-row:20px}
 html body .room-experience .palace-card-deck:has(.quiet-command:not([data-management]) .command-paths>span:nth-child(3)){--command-path-row:40px}
 html body .palace-command.quiet-command>.command-paths{width:100%;gap:2px}
 html body .palace-command.quiet-command>.command-paths>span{font-size:10px!important;line-height:1.4!important;padding:1px 3px!important}
 html body .mobile-hud-layout.mobile-hud-layout.city-experience:not(.has-enlarged-type) .palace-card-deck .palace-command.quiet-command:not([data-management]){grid-template-rows:minmax(0,1fr) 36px 20px var(--command-path-row) var(--command-growth-row)!important}
 html body .mobile-hud-layout.mobile-hud-layout.has-enlarged-type .palace-card-deck .palace-command[data-management]{grid-template-rows:minmax(110px,1fr) minmax(44px,max-content) minmax(28px,max-content)!important;gap:6px!important}
 html body .mobile-hud-layout.mobile-hud-layout.has-enlarged-type .palace-command[data-management]>strong{height:auto!important;max-height:none!important;line-height:1.35!important;white-space:normal!important;align-self:center!important}
}
@media(max-width:700px) and (max-height:650px) and (orientation:portrait){
 /* A short viewport must not squeeze the flags into the footer. Keep one
    outer scrolling surface, with the same cards and directly visible tabs. */
 html body .quiet-hud.mobile-hud-layout.mobile-hud-layout:not(.has-enlarged-type):not(.is-lobby):not(.is-room-result):has(.palace-command){grid-template-rows:44px 212px 32px max-content 42px 54px!important;align-content:start!important;overflow-y:auto!important;overflow-x:hidden!important}
 html body .quiet-hud.mobile-hud-layout.mobile-hud-layout:not(.has-enlarged-type):not(.is-lobby):not(.is-room-result):has(.palace-command)::after{display:none!important}
 html body .quiet-hud.mobile-hud-layout.mobile-hud-layout.has-invasion:not(.has-enlarged-type):not(.is-lobby):not(.is-room-result):has(.palace-command){grid-template-rows:44px 236px 32px max-content 42px 54px!important}
 html body .quiet-hud.mobile-hud-layout.mobile-hud-layout:not(.has-enlarged-type):not(.is-lobby):not(.is-room-result):has(.palace-command) .palace-desk{height:auto!important;min-height:0!important;overflow:visible!important;grid-template-rows:auto auto 320px 42px!important}
 html body .quiet-hud.mobile-hud-layout.mobile-hud-layout:not(.has-enlarged-type):not(.is-lobby):not(.is-room-result):has(.palace-command) .palace-card-deck{height:320px!important;min-height:320px!important;max-height:none!important}
 html body .quiet-hud.mobile-hud-layout.mobile-hud-layout:not(.has-enlarged-type):not(.is-lobby):not(.is-room-result):has(.palace-command) .palace-command{height:320px!important;max-height:none!important}
 html body .quiet-hud.mobile-hud-layout.mobile-hud-layout:not(.has-enlarged-type):not(.is-lobby):not(.is-room-result):has(.palace-command) .palace-footer{position:relative!important;inset:auto!important;grid-row:6!important}
 html body .mobile-hud-layout.mobile-hud-layout.city-experience:not(.has-enlarged-type) .palace-card-deck .palace-command.quiet-command:not([data-management]){grid-template-rows:minmax(0,1fr) 30px 18px var(--command-path-row) 30px!important}
}
