.home-tools,.header-actions { display: flex; align-items: center; }
:is(.home-tools,.header-actions) [data-action="audio"] { min-width: 44px; min-height: 44px; }
[data-action="audio"] .icon { width: 19px; height: 19px; }
.audio-controls { display: grid; gap: 12px; margin: 12px 0 17px; }
.audio-controls fieldset { min-width: 0; margin: 0; padding: 2px 12px 8px; border: 1px solid #b99163; border-radius: 10px; background: #fff5df; }
.audio-controls legend { padding-inline: 6px; font-weight: 800; }
.audio-toggle,.audio-volume { display: flex; align-items: center; gap: 9px; min-height: 44px; }
.audio-controls input { accent-color: #865321; }
.audio-toggle input { width: 20px; height: 20px; margin: 0; }
.audio-volume input { flex: 1; min-width: 0; height: 34px; margin: 0; }
.audio-volume output { min-width: 4ch; text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; }
@media (max-width: 650px) {
  .header-actions .audio-button-text { display: none; }
  .header-actions [data-action="audio"] { padding-inline: 0; }
}
@media (max-width: 380px) {
  .game-header .mode-name { text-overflow: ellipsis; overflow: hidden; }
  .game-header .game-name { min-width: 0; }
  .game-header .game-logo,.header-actions { flex-shrink: 0; }
}
