.voice-area { position: relative; z-index: 6; flex: 0 0 auto; padding: 8px 12px 0; }
.voice-area[hidden], .voice-join[hidden], .voice-strip[hidden], .voice-settings[hidden] { display: none !important; }
.voice-join, .voice-strip { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(137, 164, 154, .25); border-radius: 16px; color: #e7f8ee; background: linear-gradient(110deg, #192c27, #171e22 72%); box-shadow: 0 5px 18px rgba(0,0,0,.15); }
.voice-join { padding: 0 14px; text-align: left; font-size: 14px; font-weight: 700; cursor: pointer; }
.voice-join-icon { color: #60d992; font-size: 20px; line-height: 1; }
.voice-join small { margin-left: auto; min-width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #d2eedc; background: rgba(107, 216, 145, .14); }
.voice-strip { padding: 5px 6px 5px 10px; }
.voice-faces { min-width: 0; display: flex; align-items: center; flex: 0 1 auto; }
.voice-face { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; margin-right: -5px; border-radius: 50%; border: 2px solid #1c2527; color: #f7efff; background: #61506d; font-size: 12px; font-weight: 800; overflow: hidden; }
.voice-face img { width: 100%; height: 100%; object-fit: cover; }
.voice-face.speaking { border-color: #6ef6a4; box-shadow: 0 0 0 2px rgba(110,246,164,.6), 0 0 13px rgba(110,246,164,.65); animation: voice-breathe .8s ease-in-out infinite alternate; }
@keyframes voice-breathe { to { box-shadow: 0 0 0 4px rgba(110,246,164,.35), 0 0 18px rgba(110,246,164,.8); } }
.voice-state-label { flex: 1; min-width: 0; padding-left: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; font-weight: 650; color: #bbd4c9; }
.voice-mic, .voice-options { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: rgba(255,255,255,.08); color: #aabcb4; cursor: pointer; }
.voice-mic svg { width: 22px; height: 22px; }
.voice-mic.on { color: #09321f; background: #6eec9d; box-shadow: 0 3px 13px rgba(80, 240, 141, .3); }
.voice-mic.on .voice-mic-slash { display: none; }
.voice-mic:disabled { opacity: .42; cursor: default; }
.voice-options { font-size: 25px; line-height: 1; }
.voice-settings { position: absolute; top: calc(100% + 6px); right: 12px; width: min(320px, calc(100vw - 28px)); padding: 14px; border: 1px solid rgba(135,160,147,.3); border-radius: 18px; color: #f3f7f4; background: #1c2524; box-shadow: 0 18px 42px rgba(0,0,0,.45); }
.voice-settings-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.voice-settings-head b { font-size: 16px; }
.voice-settings-head button { width: 30px; height: 30px; border-radius: 50%; color: #cbd4d0; background: rgba(255,255,255,.08); font-size: 22px; }
.voice-settings label, .voice-policy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 43px; font-size: 13px; }
.voice-settings label input { accent-color: #64db94; width: 19px; height: 19px; }
.voice-policy-row { align-items: flex-start; flex-direction: column; padding: 10px 0; }
.voice-policy-row div { display: flex; gap: 6px; width: 100%; }
.voice-policy-row button { flex: 1; padding: 8px; border-radius: 10px; color: #c4d3cb; background: #2a3733; }
.voice-policy-row button.selected { color: #113624; background: #76e2a0; font-weight: 700; }
.voice-leave { width: 100%; margin-top: 9px; padding: 11px; border-radius: 11px; color: #ffd7d7; background: rgba(255,100,100,.13); font-weight: 700; }
.seat.voice-speaking .ava { box-shadow: 0 0 0 3px #77edaa, 0 0 19px 6px rgba(87,238,154,.72), 0 5px 12px rgba(0,0,0,.45); animation: voice-seat-breathe .8s ease-in-out infinite alternate; }
@keyframes voice-seat-breathe { to { box-shadow: 0 0 0 5px rgba(107,245,165,.7), 0 0 24px 8px rgba(87,238,154,.5), 0 5px 12px rgba(0,0,0,.45); } }
@media (prefers-reduced-motion: reduce) { .voice-face.speaking, .seat.voice-speaking .ava { animation: none; } }
@media (max-width: 460px) { .voice-area { padding: 6px 10px 0; } .voice-state-label { font-size: 11px; } }
