.game-audio-trigger{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;min-height:34px;margin:0;border:1px solid #527b91;background:#142f43;color:#b9dff4;border-radius:7px;padding:7px;cursor:pointer}.game-audio-trigger>svg{display:block;width:18px!important;height:18px!important;flex:0 0 18px;border:0;background:none}.game-audio-trigger:hover{background:#24475e;color:#fff}
.game-audio-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:linear-gradient(145deg,#152f43,#091a29);color:#e8f3fc;border:1px solid #6995aa;border-radius:16px;padding:24px;box-shadow:0 20px 80px #000a}.game-audio-dialog::backdrop{background:#020c16bb}.game-audio-dialog h2{padding-right:32px;margin-top:0}.game-audio-dialog p{line-height:1.5;color:#bfd1df}.game-audio-dialog button,.game-audio-dialog select{min-height:44px;background:#24475e;color:#ecf7ff;border:1px solid #7396ac;border-radius:7px;padding:9px;max-width:100%}.game-audio-dialog .audio-close{position:absolute;right:12px;top:12px;width:44px;font-size:24px}.game-audio-dialog label{display:grid;grid-template-columns:1fr auto;gap:12px;margin:22px 0}.game-audio-dialog input[type=range]{grid-column:1;grid-row:2;width:100%;min-height:36px;accent-color:#8bd9ef}.game-audio-dialog output{grid-row:2;grid-column:2;align-self:center}.game-audio-dialog details{border-top:1px solid #557387;padding-top:18px}.game-audio-dialog summary{cursor:pointer;min-height:44px}.game-audio-dialog select{width:100%;margin-bottom:10px}.game-audio-dialog :focus-visible,.game-audio-trigger:focus-visible{outline:3px solid #ffc96d;outline-offset:3px}@media(max-width:500px){.game-audio-dialog{padding:18px}}
/* One resource/tool row; the audio control never creates its own header band. */
@media(min-width:901px){
 html body.game-shell .game-hud:not([hidden]){display:flex;align-items:center;flex-wrap:nowrap;gap:6px;min-height:46px;padding:4px 10px}
 html body.game-shell .game-hud>[data-game-resources]{flex:1 1 0;min-width:0;flex-wrap:nowrap;overflow-x:auto;gap:4px;scrollbar-width:thin}
 html body.game-shell .game-hud .game-resource{flex:0 0 auto;padding:3px 6px;font-size:12px;gap:4px}
 html body.game-shell .game-hud .game-resource-rate{display:none}
 html body.game-shell .game-hud>:is(time,[data-game-inventory],.game-audio-trigger,.game-account-tools,.rts-topbar__profile){flex-shrink:0}
 html body.game-shell .game-hud>.rts-topbar__profile{flex-wrap:nowrap;margin-inline-start:0;gap:4px}
 html body.game-shell .game-hud .game-audio-trigger{width:34px;height:34px;min-height:34px;padding:7px}
 html body.game-shell[data-page=command] .game-hud .game-status{display:none}
}
@media(max-width:900px){
 html body.game-shell .game-hud:not([hidden]){grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:4px;padding:3px 0}
 html body.game-shell .game-hud>[data-game-resources]{grid-column:1;grid-row:1;min-width:0}
 html body.game-shell .game-hud>[data-game-inventory]{grid-column:2;grid-row:1;font-size:11px;padding:6px;min-height:44px}
 html body.game-shell .game-hud>.game-audio-trigger{grid-column:3;grid-row:1;width:44px;height:44px;min-height:44px;padding:12px;margin:0}
 html body.game-shell .game-hud.inventory-open>[data-game-resources]{grid-column:1/-1;grid-row:2;flex-wrap:wrap;overflow:visible}
 html body.game-shell .game-hud>.game-account-tools{grid-column:2/-1;grid-row:3}
 html body.game-shell .game-hud>time{grid-column:1;grid-row:3}
}
