.crew-voice { border:1px solid #b7d2bc2e; border-radius:10px; padding:16px; margin-top:20px; background:#081b1e55; }
.voice-control-row { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.voice-channel { color:#c9d9ce; font-size:12px; margin-right:auto; }
.voice-control-row button { display:inline-flex; gap:7px; align-items:center; justify-content:center; min-width:44px; min-height:44px; border:1px solid #b7d2bc44; border-radius:8px; color:#e8e4d7; background:#203a39; cursor:pointer; }
.voice-control-row button[aria-pressed=true] { color:#d5eddf; border-color:#a5d9bf77; }
.voice-control-row button svg { width:20px; height:20px; flex:none; }
.voice-control-row button:focus-visible { outline:2px solid #e4c08f; outline-offset:3px; }
.voice-control-row button:disabled { opacity:.5; cursor:default; }
.voice-volume { display:flex; align-items:center; gap:10px; color:#b9cdc2; font-size:11px; }
.voice-volume input { width:100px; padding:0; accent-color:#e4c08f; }
[data-voice-status] { color:#9db9ac; font-size:11px; line-height:1.5; margin:10px 0 0; }
[data-voice-status].voice-error { color:#f1d0a5; }
#voice-hud { position:fixed; z-index:31; top:max(82px,calc(env(safe-area-inset-top) + 72px)); right:max(24px,env(safe-area-inset-right)); border:1px solid #bdd4c32b; border-radius:10px; padding:8px; background:#10282be8; box-shadow:0 3px 18px #0002; }
#voice-hud[hidden],.crew-voice[hidden],[data-voice-status][hidden] { display:none; }
#voice-hud .voice-control-row { gap:5px; }
#voice-hud .voice-channel { display:none; }
#voice-hud [data-voice-status] { max-width:205px; }
@media(max-width:600px) { .voice-control-row { gap:8px; } .crew-voice .voice-channel { width:100%; } .voice-volume { flex-basis:100%; margin-top:3px; } .voice-volume input { flex:1; } #voice-hud { right:max(12px,env(safe-area-inset-right)); padding:5px; } }
body:has(#modal:not(.hidden)) #voice-hud { display:none; }
