.voice-replies-open{overflow:hidden!important}
.voice-replies-overlay{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:12px;background:rgba(3,7,14,.78);backdrop-filter:blur(12px)}
.voice-replies-panel{box-sizing:border-box;width:min(900px,100%);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;padding:clamp(16px,3vw,30px);border:1px solid rgba(170,190,220,.2);border-radius:24px;background:linear-gradient(145deg,#18202c,#0b1019);color:#f2f5fb;box-shadow:0 30px 90px rgba(0,0,0,.55);font:13px/1.5 "Manrope",Inter,system-ui,sans-serif}
.voice-replies__head{position:sticky;top:-1px;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:-1px -1px 18px;padding:1px 1px 14px;background:#18202c;border-bottom:1px solid rgba(180,200,230,.15)}
.voice-replies__head h2{margin:0;font-size:clamp(20px,3vw,28px);line-height:1.15;letter-spacing:-.035em}
.voice-replies__head p{max-width:690px;margin:7px 0 0;color:#abb8c9;font-size:12px}
.voice-replies__speech{min-width:0;margin:0 0 16px;padding:13px 14px;border:1px solid rgba(180,200,230,.18);border-radius:15px;background:rgba(5,8,13,.38)}
.voice-replies__speech legend{padding:0 6px;color:#e6edf7;font-size:13px;font-weight:700}
.voice-replies__speech-fields{display:grid;grid-template-columns:minmax(180px,1.6fr) repeat(2,minmax(100px,1fr));gap:12px}
.voice-replies__speech-fields label{display:grid;gap:6px;min-width:0;color:#c6d6ef;font-size:11px;font-weight:700}
.voice-replies__speech-fields select{width:100%;min-height:36px;padding:6px 9px;border:1px solid rgba(180,200,230,.22);border-radius:9px;background:#101925;color:#fff;font:inherit}
.voice-replies__speech-fields input[type="range"]{width:100%;margin:7px 0;accent-color:#bac9dd}
.voice-replies__speech-fields output{color:#aebed3;font-size:10px;font-weight:500}
.voice-replies__speech-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}
.voice-replies__speech-actions button{min-height:34px;padding:6px 10px;border:1px solid rgba(180,200,230,.22);border-radius:10px;background:rgba(255,255,255,.06);color:#ecf3ff;font-family:inherit;font-size:11px;font-weight:600;line-height:1.2;cursor:pointer}
.voice-replies__speech-actions button:hover{background:rgba(255,255,255,.12)}
.voice-replies__close{flex:0 0 38px;width:38px;height:38px;border:1px solid rgba(180,200,230,.22);border-radius:50%;background:rgba(255,255,255,.05);color:#fff;font:24px/1 sans-serif;cursor:pointer}
.voice-replies__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.voice-replies__search{box-sizing:border-box;width:100%;min-height:40px;margin:0 0 14px;padding:9px 12px;border:1px solid rgba(180,200,230,.25);border-radius:10px;background:#101925;color:#f2f5fb;font:inherit}
.voice-replies__group{grid-column:1/-1;margin:12px 0 0;color:#d6e6fc;font-size:15px}
.voice-replies__card{min-width:0;padding:16px;border:1px solid rgba(180,200,230,.15);border-radius:16px;background:rgba(255,255,255,.035)}
.voice-replies__card[hidden],.voice-replies__group[hidden]{display:none}
.voice-replies__card h3{margin:0;color:#fff;font-size:15px}
.voice-replies__card p{margin:7px 0;color:#abb8c9;font-size:11px;line-height:1.55}
.voice-replies__phrase{display:grid;gap:4px;min-height:58px}.voice-replies__phrase span{font-weight:700;color:#c6d6ef}.voice-replies__phrase strong{font-weight:600;color:#fff;overflow-wrap:anywhere}
.voice-replies__translation,.voice-replies__language{display:grid;gap:5px;margin-top:10px;color:#c6d6ef;font-size:11px;font-weight:700}
.voice-replies__translation input,.voice-replies__language input{box-sizing:border-box;width:100%;min-height:35px;padding:7px 9px;border:1px solid rgba(180,200,230,.22);border-radius:9px;background:#101925;color:#fff;font:inherit;font-weight:500}
.voice-replies__language input{max-width:120px}
.voice-replies__status{display:block;margin:8px 0;color:#9ed0b5;font-size:11px}
.voice-replies__actions{display:flex;flex-wrap:wrap;gap:7px}
.voice-replies__actions button{min-height:35px;padding:6px 10px;border:1px solid rgba(180,200,230,.22);border-radius:10px;background:rgba(255,255,255,.06);color:#ecf3ff;font-family:inherit;font-size:11px;font-weight:600;line-height:1.2;cursor:pointer}
.voice-replies__actions button:hover:not(:disabled),.voice-replies__close:hover{background:rgba(255,255,255,.13)}
.voice-replies__actions button:disabled{opacity:.45;cursor:not-allowed}
.voice-replies__message{position:sticky;bottom:-1px;min-height:22px;margin:16px -1px -1px;padding:10px 1px 1px;background:#0b1019;color:#e2c795;font-size:12px}
.voice-replies-panel :is(button,input):focus-visible{outline:2px solid #9bd4ff;outline-offset:2px}
#profileForm .profile-voice-replies{width:100%;min-height:42px;text-align:center}
@media(max-width:650px){.voice-replies__list{grid-template-columns:1fr}.voice-replies-panel{padding:15px;border-radius:18px}.voice-replies__card{padding:13px}.voice-replies__head{gap:8px}.voice-replies__speech-fields{grid-template-columns:1fr 1fr}.voice-replies__speech-fields label:first-child{grid-column:1/-1}}
