.voice-recorder{--vr-accent:#00a261;--vr-accent-deep:#006e43;--vr-tone:var(--vr-accent);--vr-tone-deep:var(--vr-accent-deep);--vr-surface:#ffffff;--vr-surface-raised:#f8faf9;--vr-text:#1f2937;--vr-muted:#6b7280;--vr-line:color-mix(in srgb,var(--vr-tone) 22%,#e5e7eb);width:100%}.voice-recorder--warn{--vr-tone:#f59e0b;--vr-tone-deep:#b45309}.voice-recorder--countdown{--vr-tone:#f97316;--vr-tone-deep:#c2410c}.voice-recorder--danger{--vr-tone:#e11d48;--vr-tone-deep:#9f1239}.voice-recorder--clipping{--vr-tone:#dc2626;--vr-tone-deep:#991b1b}.voice-recorder__card{position:relative;overflow:hidden;border-radius:1.25rem;border:1px solid var(--vr-line);background:radial-gradient(120% 150% at 100% 0,color-mix(in srgb,var(--vr-tone) 9%,transparent),transparent 62%),var(--vr-surface);box-shadow:0 1px 2px rgba(16,24,40,.04),0 12px 28px -16px color-mix(in srgb,var(--vr-tone) 55%,transparent);transition:border-color .35s ease,box-shadow .35s ease}.voice-recorder--countdown .voice-recorder__card,.voice-recorder--danger .voice-recorder__card{animation:vr-urgent 1s ease-in-out infinite}.voice-recorder--clipping .voice-recorder__card{animation:vr-shake .4s ease-in-out infinite}.voice-recorder__start{display:flex;align-items:center;gap:.9rem;width:100%;padding:.9rem 1rem;border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background .2s ease}.voice-recorder__start:hover:not(:disabled){background:color-mix(in srgb,var(--vr-tone) 4%,transparent)}.voice-recorder__start:disabled{cursor:progress}.voice-recorder__start:focus-visible{outline:2px solid var(--vr-accent);outline-offset:-3px}.voice-recorder__orb{position:relative;flex:none;display:grid;align-items:center;justify-items:center;place-items:center;width:3.5rem;height:3.5rem;border-radius:50%;color:#fff;background:linear-gradient(140deg,var(--vr-accent) 0,var(--vr-accent-deep) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 8px 18px -6px color-mix(in srgb,var(--vr-accent-deep) 70%,transparent);transition:transform .2s cubic-bezier(.2,.8,.2,1)}.voice-recorder__orb:after,.voice-recorder__orb:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:1px solid color-mix(in srgb,var(--vr-accent) 60%,transparent);pointer-events:none;animation:vr-halo 2.6s cubic-bezier(.2,.6,.3,1) infinite}.voice-recorder__orb:after{animation-delay:1.3s}.voice-recorder__orb--busy:after,.voice-recorder__orb--busy:before{animation:none;opacity:0}.voice-recorder__start:hover:not(:disabled) .voice-recorder__orb{transform:scale(1.05)}.voice-recorder__start:active:not(:disabled) .voice-recorder__orb{transform:scale(.94)}.voice-recorder__spinner{width:1.35rem;height:1.35rem;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:vr-spin .8s linear infinite}.voice-recorder__text{flex:1;display:flex;flex-direction:column;gap:.15rem;min-width:0}.voice-recorder__title{font-size:.95rem;font-weight:600;color:var(--vr-text)}.voice-recorder__subtitle,.voice-recorder__title{line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.voice-recorder__subtitle{font-size:.8rem;color:var(--vr-muted)}.voice-recorder__btn{position:relative;flex:none;display:grid;align-items:center;justify-items:center;place-items:center;width:2.75rem;height:2.75rem;border:0;border-radius:50%;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:transform .18s cubic-bezier(.2,.8,.2,1),background .25s ease,color .25s ease,box-shadow .25s ease}.voice-recorder__btn:active{transform:scale(.92)}.voice-recorder__btn:focus-visible{outline:2px solid var(--vr-tone);outline-offset:3px}.voice-recorder__live{display:flex;align-items:center;gap:.65rem;padding:.85rem .9rem .4rem;animation:vr-rise .28s cubic-bezier(.2,.8,.2,1) both}.voice-recorder__live-end{flex:none;display:flex;align-items:center;gap:.4rem}.voice-recorder__btn--send{color:#fff;background:linear-gradient(140deg,var(--vr-tone) 0,var(--vr-tone-deep) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 8px 16px -6px var(--vr-tone-deep)}.voice-recorder__btn--send:hover{transform:scale(1.05)}.voice-recorder__btn--stop{width:2.05rem;height:2.05rem;color:var(--vr-text);background:color-mix(in srgb,var(--vr-text) 7%,transparent)}.voice-recorder__btn--stop:hover{background:color-mix(in srgb,var(--vr-text) 13%,transparent)}.voice-recorder__stop-icon{width:.72rem;height:.72rem;border-radius:.2rem;background:currentColor}.voice-recorder__btn--ghost,.voice-recorder__btn--pause,.voice-recorder__btn--play{color:var(--vr-text);background:color-mix(in srgb,var(--vr-text) 7%,transparent)}.voice-recorder__btn--ghost:hover,.voice-recorder__btn--pause:hover,.voice-recorder__btn--play:hover{background:color-mix(in srgb,var(--vr-text) 13%,transparent)}.voice-recorder__btn--play{color:#fff;background:linear-gradient(140deg,var(--vr-accent) 0,var(--vr-accent-deep) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 6px 14px -6px var(--vr-accent-deep)}.voice-recorder__btn--play:hover{transform:scale(1.05)}.voice-recorder__wave{flex:1;min-width:0;height:2.75rem;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}.voice-recorder__wave--review{height:2.75rem;display:flex;align-items:center}.voice-recorder__wave-canvas--scrub{border-radius:.35rem}.voice-recorder__wave-canvas{display:block;width:100%;height:100%;--vc-wave-color:var(--vr-accent);--vc-wave-played-color:var(--vr-accent-deep)}.voice-recorder__time{flex:none;display:inline-flex;align-items:center;gap:.45rem;min-height:2rem;padding:.2rem .65rem .2rem .5rem;border-radius:999px;font-size:.95rem;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--vr-text);background:color-mix(in srgb,var(--vr-surface) 82%,var(--vr-tone) 18%);border:1px solid color-mix(in srgb,var(--vr-tone) 22%,transparent);box-shadow:inset 0 1px 0 rgba(255,255,255,.55)}.voice-recorder__clock{direction:ltr;unicode-bidi:isolate;min-width:2.4em;text-align:center;transition:color .35s ease}.voice-recorder__clock--static{flex:none;font-size:.85rem;color:var(--vr-muted)}.voice-recorder--clipping .voice-recorder__clock,.voice-recorder--countdown .voice-recorder__clock,.voice-recorder--danger .voice-recorder__clock,.voice-recorder--warn .voice-recorder__clock{color:var(--vr-tone)}.voice-recorder__dot{width:.55rem;height:.55rem;border-radius:50%;background:var(--vr-tone);transition:background .35s ease;animation:vr-blink 1.2s ease-in-out infinite}.voice-recorder__review{display:flex;align-items:center;gap:.7rem;padding:.9rem;animation:vr-rise .28s cubic-bezier(.2,.8,.2,1) both}.voice-recorder__review-end{flex:none;display:flex;align-items:center;gap:.35rem}.voice-recorder__time--review{min-height:1.85rem;padding:.12rem .55rem;font-size:.88rem;gap:.25rem}.voice-recorder__clock--dim{min-width:auto;font-size:.78rem;font-weight:600;color:var(--vr-muted);opacity:.95}.voice-recorder__btn--play-compact{width:2.05rem;height:2.05rem}.voice-recorder__btn--discard{width:2rem;height:2rem;color:#e11d48;background:transparent;box-shadow:none}.voice-recorder__btn--discard:hover{color:#be123c;background:transparent;filter:none;transform:scale(1.08)}.voice-recorder__hint{margin:0;padding:0 1rem .75rem;font-size:.78rem;line-height:1.5;text-align:center;color:var(--vr-muted);transition:color .35s ease}.voice-recorder__hint--outside{padding:.6rem .5rem 0;text-align:center}.voice-recorder__processing{display:flex;align-items:center;gap:.9rem;width:100%;padding:.9rem 1rem;animation:vr-rise .28s cubic-bezier(.2,.8,.2,1) both}.voice-recorder__processing:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,transparent,var(--vr-accent),transparent) no-repeat;background-size:50% 100%;animation:vr-sweep 1.4s ease-in-out infinite}.voice-recorder__error{margin:.55rem .25rem 0;font-size:.8125rem;line-height:1.6;color:#e11d48}@keyframes vr-halo{0%{transform:scale(1);opacity:.7}to{transform:scale(1.45);opacity:0}}@keyframes vr-spin{to{transform:rotate(1turn)}}@keyframes vr-rise{0%{opacity:0;transform:translateY(4px) scale(.985)}to{opacity:1;transform:none}}@keyframes vr-blink{50%{opacity:.25}}@keyframes vr-urgent{50%{box-shadow:0 0 0 4px color-mix(in srgb,var(--vr-tone) 16%,transparent),0 12px 28px -16px color-mix(in srgb,var(--vr-tone) 55%,transparent)}}@keyframes vr-shake{0%,to{transform:translateX(0)}25%{transform:translateX(-2px)}75%{transform:translateX(2px)}}@keyframes vr-sweep{0%{background-position:-100% 0}to{background-position:200% 0}}@media (max-width:420px){.voice-recorder__live,.voice-recorder__review{gap:.45rem;padding-left:.65rem;padding-right:.65rem}}@media (prefers-reduced-motion:reduce){.voice-recorder__card,.voice-recorder__dot,.voice-recorder__live,.voice-recorder__orb:after,.voice-recorder__orb:before,.voice-recorder__processing,.voice-recorder__review{animation:none!important}.voice-recorder__btn,.voice-recorder__orb{transition:none!important}}.voice-chat{--vc-accent:#22d3ee;--vc-accent-deep:#0891b2;--vc-tone:var(--vc-accent);--vc-tone-deep:var(--vc-accent-deep);--vc-surface:#101418;--vc-surface-raised:#171c22;--vc-text:#f8fafc;--vc-muted:#94a3b8;--vc-line:rgba(255,255,255,0.09);display:flex;align-items:center;width:100%;min-width:0}.voice-chat--warn{--vc-tone:#fbbf24;--vc-tone-deep:#d97706}.voice-chat--countdown{--vc-tone:#fb923c;--vc-tone-deep:#ea580c}.voice-chat--danger{--vc-tone:#fb7185;--vc-tone-deep:#e11d48}.voice-chat--clipping{--vc-tone:#f87171;--vc-tone-deep:#dc2626}.voice-chat__idle{display:flex;align-items:center;gap:.65rem;width:100%;padding:.35rem 0}.voice-chat__mic{position:relative;flex:none;display:grid;align-items:center;justify-items:center;place-items:center;width:2.75rem;height:2.75rem;border:0;border-radius:50%;color:#fff;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:linear-gradient(145deg,var(--vc-accent) 0,var(--vc-accent-deep) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 8px 20px -8px color-mix(in srgb,var(--vc-accent-deep) 90%,transparent);transition:transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease}.voice-chat__mic:hover:not(:disabled){transform:scale(1.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 10px 26px -6px color-mix(in srgb,var(--vc-accent-deep) 95%,transparent)}.voice-chat__mic:active:not(:disabled){transform:scale(.94)}.voice-chat__mic:disabled{cursor:not-allowed;opacity:.5}.voice-chat__mic:focus-visible{outline:2px solid var(--vc-accent);outline-offset:3px}.voice-chat__mic-glyph{width:1.2rem;height:1.2rem;position:relative;z-index:1}.voice-chat__mic-ripple{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:1.5px solid color-mix(in srgb,var(--vc-accent) 55%,transparent);pointer-events:none;animation:vc-halo 2.4s cubic-bezier(.2,.6,.3,1) infinite}.voice-chat__mic-ripple:nth-child(2){animation-delay:1.2s}.voice-chat__idle-text{flex:1;min-width:0;font-size:.8125rem;font-weight:500;color:var(--vc-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.voice-chat__live{display:flex;align-items:center;gap:.6rem;width:100%;min-width:0;padding:.5rem .7rem;border-radius:1.5rem;background:var(--vc-surface);box-shadow:inset 0 0 0 1px var(--vc-line),0 10px 30px -18px rgba(0,0,0,.55);animation:vc-rise .26s cubic-bezier(.2,.8,.2,1) both}.voice-chat__stop{flex:none;display:grid;align-items:center;justify-items:center;place-items:center;width:2.05rem;height:2.05rem;border:0;border-radius:50%;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;color:#fff;background:linear-gradient(145deg,var(--vc-tone) 0,var(--vc-tone-deep) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 6px 14px -6px color-mix(in srgb,var(--vc-tone-deep) 90%,transparent);transition:transform .18s cubic-bezier(.2,.8,.2,1)}.voice-chat__stop:hover{transform:scale(1.05)}.voice-chat__stop:active{transform:scale(.92)}.voice-chat__stop:focus-visible{outline:2px solid var(--vc-tone);outline-offset:3px}.voice-chat__stop-icon{width:.68rem;height:.68rem;border-radius:.18rem;background:currentColor}.voice-chat__timer{flex:none;display:inline-flex;align-items:center;gap:.45rem;min-height:2rem;padding:.18rem .62rem .18rem .48rem;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}.voice-chat__pulse{width:.5rem;height:.5rem;border-radius:50%;background:var(--vc-tone);animation:vc-blink 1.1s ease-in-out infinite;transition:background .3s ease}.voice-chat__clock{direction:ltr;unicode-bidi:isolate;min-width:2.75em;font-size:.95rem;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-align:center;color:var(--vc-text);transition:color .3s ease}.voice-chat--clipping .voice-chat__clock,.voice-chat--countdown .voice-chat__clock,.voice-chat--danger .voice-chat__clock,.voice-chat--warn .voice-chat__clock{color:var(--vc-tone)}.voice-chat__clock--static{flex:none;min-height:2rem;padding:.18rem .62rem;border-radius:999px;font-size:.9rem;font-weight:700;color:var(--vc-text);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}.voice-chat__wave{flex:1;min-width:0;height:2.25rem;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}.voice-chat__wave--review{height:2rem}.voice-chat__wave-canvas{display:block;width:100%;height:100%;--vc-wave-color:var(--vc-accent);--vc-wave-played-color:var(--vc-accent-deep)}.voice-chat__status{flex:none;font-size:.6875rem;font-weight:500;color:var(--vc-muted);white-space:nowrap}.voice-chat--clipping .voice-chat__status,.voice-chat--countdown .voice-chat__status,.voice-chat--danger .voice-chat__status,.voice-chat--warn .voice-chat__status{color:var(--vc-tone)}.voice-chat__icon-btn{flex:none;display:grid;align-items:center;justify-items:center;place-items:center;width:2.25rem;height:2.25rem;border:0;border-radius:50%;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;color:var(--vc-muted);background:rgba(255,255,255,.07);transition:transform .18s cubic-bezier(.2,.8,.2,1),background .2s ease,color .2s ease}.voice-chat__icon-btn svg{width:1.05rem;height:1.05rem}.voice-chat__icon-btn:hover{background:rgba(255,255,255,.13);color:var(--vc-text)}.voice-chat__icon-btn:active{transform:scale(.92)}.voice-chat__icon-btn:focus-visible{outline:2px solid var(--vc-accent);outline-offset:2px}.voice-chat__icon-btn--play{width:2.35rem;height:2.35rem;color:#fff;background:linear-gradient(145deg,var(--vc-accent) 0,var(--vc-accent-deep) 100%)}.voice-chat__icon-btn--play svg{width:1.15rem;height:1.15rem}.voice-chat__icon-btn--play:hover{color:#fff;background:linear-gradient(145deg,var(--vc-accent) 0,var(--vc-accent-deep) 100%);filter:brightness(1.08)}.voice-chat__discard{flex:none;display:grid;align-items:center;justify-items:center;place-items:center;width:1.65rem;height:1.65rem;padding:0;border:0;border-radius:.35rem;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;color:#f87171;background:transparent;transition:transform .18s cubic-bezier(.2,.8,.2,1),color .2s ease}.voice-chat__discard svg{width:1.05rem;height:1.05rem}.voice-chat__discard:hover{color:#ef4444}.voice-chat__discard:active{transform:scale(.92)}.voice-chat__discard:focus-visible{outline:2px solid #f87171;outline-offset:2px}.voice-chat__review{display:flex;align-items:center;gap:.55rem;width:100%;min-width:0;padding:.5rem .7rem;border-radius:1.5rem;background:var(--vc-surface);box-shadow:inset 0 0 0 1px var(--vc-line),0 10px 30px -18px rgba(0,0,0,.55);animation:vc-rise .26s cubic-bezier(.2,.8,.2,1) both}.voice-chat__review-actions{flex:none;display:flex;align-items:center;gap:.3rem}.voice-chat__send{flex:none;display:grid;align-items:center;justify-items:center;place-items:center;width:2.4rem;height:2.4rem;border:0;border-radius:50%;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;color:#06131a;background:linear-gradient(145deg,var(--vc-accent) 0,var(--vc-accent-deep) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 8px 18px -6px color-mix(in srgb,var(--vc-accent-deep) 85%,transparent);transition:transform .18s cubic-bezier(.2,.8,.2,1),filter .2s ease}.voice-chat__send-icon{display:block}.voice-chat__send:hover:not(:disabled){transform:scale(1.06);filter:brightness(1.08)}.voice-chat__send:active:not(:disabled){transform:scale(.93)}.voice-chat__send:disabled{opacity:.5;cursor:progress}.voice-chat__send:focus-visible{outline:2px solid var(--vc-accent);outline-offset:3px}.voice-chat__spinner{flex:none;width:1.15rem;height:1.15rem;border-radius:50%;border:2px solid rgba(255,255,255,.18);border-top:2px solid var(--vc-accent);animation:vc-spin .75s linear infinite}@keyframes vc-halo{0%{transform:scale(1);opacity:.65}to{transform:scale(1.85);opacity:0}}@keyframes vc-spin{to{transform:rotate(1turn)}}@keyframes vc-blink{50%{opacity:.25}}@keyframes vc-rise{0%{opacity:0;transform:translateY(5px) scale(.985)}to{opacity:1;transform:none}}@media (max-width:480px){.voice-chat__live,.voice-chat__review{gap:.4rem;padding:.45rem .55rem}.voice-chat__status{display:none}.voice-chat__wave{height:2rem}.voice-chat__review-actions{gap:.2rem}.voice-chat__icon-btn{width:2.05rem;height:2.05rem}.voice-chat__send{width:2.2rem;height:2.2rem}}@media (max-width:360px){.voice-chat__timer{display:none}}@media (prefers-reduced-motion:reduce){.voice-chat__live,.voice-chat__mic-ripple,.voice-chat__pulse,.voice-chat__review,.voice-chat__spinner{animation:none!important}.voice-chat__discard,.voice-chat__icon-btn,.voice-chat__mic,.voice-chat__send,.voice-chat__stop{transition:none!important}}.voice-chat-error{margin:.4rem .25rem 0;font-size:.8125rem;line-height:1.6;color:#fda4af}