/* Keep the authored frames; reduce the information competing inside them. */
html body .quiet-hud.quiet-hud .palace-person-context{font-size:13px!important;line-height:1.4!important}
html body .quiet-hud.quiet-hud .affairs-hud-values{grid-template-columns:repeat(2,max-content)!important;gap:22px!important}
html body .quiet-hud.quiet-hud .affairs-hud-values>span{display:flex!important;gap:6px!important;align-items:baseline!important;font-size:13px!important}
html body .quiet-hud.quiet-hud .affairs-hud-values b{font-size:17px!important}
html body .quiet-hud .affairs-hud.has-new-notices .affairs-hud-values>span:last-child{color:#f1d28b}
html body .faction-detail-primary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body .faction-economy-details{margin-top:16px;padding:0 4px 8px}
html body .faction-economy-details>summary,html body .room-guide-panel .guide-more>summary{min-height:44px;display:flex;align-items:center;padding:10px 12px;box-sizing:border-box;cursor:pointer;color:#e5cb91;font-weight:600}
html body .faction-economy-details>summary:before,html body .room-guide-panel .guide-more>summary:before{content:'›';margin-right:8px}
html body .faction-economy-details[open]>summary:before,html body .room-guide-panel .guide-more[open]>summary:before{content:'⌄'}
html body .faction-economy-details .faction-detail-grid{margin-top:8px}
html body .room-guide-panel .guide-more{margin:8px 0;padding:0;min-width:0}
html body .room-guide-panel .guide-more .guide-recommendation{width:100%;box-sizing:border-box;margin:8px 0}
@media(max-width:700px){
 html body .quiet-hud.quiet-hud.mobile-hud-layout .palace-person>span>strong{min-height:24px!important}
 html body .quiet-hud.quiet-hud.mobile-hud-layout .palace-person-context{font-size:11px!important;line-height:1.4!important}
 html body .quiet-hud.quiet-hud.mobile-hud-layout .affairs-hud-values{gap:12px!important}
 html body .quiet-hud.quiet-hud.mobile-hud-layout .affairs-hud-values>span{font-size:10px!important;gap:4px!important}
 html body .quiet-hud.quiet-hud.mobile-hud-layout .affairs-hud-values b{font-size:14px!important}
 html body .quiet-hud.quiet-hud.mobile-hud-layout .affairs-hud-title strong{font-size:12px!important}
 /* An invasion uses the story control only. It occupies the spare HUD row. */
 html body .quiet-hud.quiet-hud.mobile-hud-layout:not(.has-enlarged-type) .palace-story.has-invasion{display:flex!important;position:absolute!important;inset:202px 0 auto!important;width:100%!important;height:24px!important;min-height:24px!important;max-height:24px!important;padding:3px 8px!important;gap:7px!important;justify-content:center!important;align-items:center!important;box-sizing:border-box;z-index:10}
 html body .quiet-hud.quiet-hud.mobile-hud-layout .palace-story.has-invasion>span{display:inline!important;font-size:10px!important;line-height:14px!important;white-space:nowrap!important}
 html body .quiet-hud.quiet-hud.mobile-hud-layout .palace-story.has-invasion>strong{font-size:11px!important;line-height:16px!important;white-space:nowrap!important}
 html body .quiet-hud.quiet-hud.mobile-hud-layout .palace-story.has-invasion>small{display:inline!important;font-size:9px!important;line-height:14px!important;white-space:nowrap!important}
 html body .quiet-hud.quiet-hud.mobile-hud-layout.has-invasion:not(.has-enlarged-type){grid-template-rows:44px 236px 32px minmax(0,1fr) 42px 54px!important}
 html body .quiet-hud.quiet-hud.mobile-hud-layout.has-invasion.is-room-result:not(.has-enlarged-type){grid-template-rows:44px 236px 0 minmax(0,1fr) 0 54px!important}
 html body .quiet-hud.quiet-hud.mobile-hud-layout.has-invasion.is-lobby:not(.has-enlarged-type) .room-lobby{inset-block-start:282px!important}
 html body .quiet-hud.quiet-hud.mobile-hud-layout.has-enlarged-type .palace-story.has-invasion{display:flex!important;position:relative!important;inset:auto!important;grid-column:1/-1!important;grid-row:4!important;height:auto!important;min-height:44px!important;padding:8px!important;gap:8px!important;flex-wrap:wrap!important;justify-content:center!important}
 html body .faction-detail-primary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
