/* Typing Racer: the one Sound button (owner, 2026-11-17)
   Every racer page (the lobby and the race, My Garage, the standings, the Race Pass) has the same round speaker
   button in the same place: the top right, first in the row of buttons there (just left of the coins where the page
   shows them). It opens the one Sound panel, js/racer/audio.js's #racerVol: Music and Effects, each with its
   on/off switch and its volume. The race's dash has no speaker of its own any more; the lobby's band stays on
   screen in a race, so this button is there then too.
   <button type="button" class="racerSnd racerVolBtn racerSndBtn" aria-haspopup="dialog" aria-expanded="false" aria-label="Sound">
   audio.js paints it: .isOff (music and effects both off: a dim speaker), .on (its panel is open). */
button.racerSnd{display:inline-flex; align-items:center; justify-content:center; flex:none; width:38px; height:38px; min-width:38px; box-sizing:border-box; margin:0; padding:0;
	border-radius:50%; background:rgba(12,13,18,.82); border:1px solid #3fd0ff88; color:#7fe0ff; font-size:17px; line-height:1; cursor:pointer;
	box-shadow:none; text-shadow:none; transition:background .12s, color .12s, border-color .12s;}
button.racerSnd i{width:1.15em; text-align:center; font-size:1em;}
button.racerSnd.isOff{color:#9fb2c1; border-color:#ffffff33;}
button.racerSnd:hover, button.racerSnd.on{background:#079fd4; border-color:#3fd0ff; color:#022c3d;}
button.racerSnd:focus{outline:none;}
button.racerSnd:focus-visible{outline:3px solid #fff; outline-offset:2px;}
html.trgCalm button.racerSnd{transition:none;}

/* the lobby: beside the coins, as tall as they are */
body#typingRacer #rightOfTitle{display:flex; align-items:center; gap:10px;}
body#typingRacer #rightOfTitle button.racerSnd{width:42px; height:42px; min-width:42px; font-size:18px;}
@media only screen and (max-height:819px){
	body#typingRacer #rightOfTitle button.racerSnd{width:40px; height:40px; min-width:40px;}
	body#typingRacer.trPageNarrow #rightOfTitle{gap:6px;}
	body#typingRacer.trPageNarrow #rightOfTitle button.racerSnd{width:34px; height:34px; min-width:34px; font-size:15px;}
}
/* narrow windows: a little smaller, like the buttons beside it */
@media only screen and (max-width:760px){
	button.racerSnd{width:34px; height:34px; min-width:34px; font-size:15px;}
}
