/* voz.css — La Grabadora Fantasma (notas de voz con susurro espectral) */

/* Barra de salida (igual que el resto de efectos) */
.exit-bar { position:fixed; top:10px; right:10px; display:flex; gap:8px; z-index:60; }
.exit-btn { font-size:12px; font-weight:600; padding:6px 11px; border-radius:9px; border:1px solid var(--line); background:rgba(255,255,255,.92); color:var(--muted); cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,.08); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
.exit-btn:active { transform:translateY(1px); }
.exit-btn.danger { color:var(--danger); border-color:#f3c9d2; }
#logout-btn { display:none; }

/* ===================== JUEGO (grabadora) ===================== */
.vz-screen { min-height:100svh; min-height:100vh; display:flex; align-items:center; justify-content:center; background:#101216; color:#e8eaf0; }
.vz-screen .exit-btn { background:rgba(28,31,40,.85); color:#9aa2b5; border-color:#333a4a; }
.vz-inner { position:relative; width:100%; max-width:480px; min-height:100svh; min-height:100vh; padding:20px 18px 30px; display:flex; flex-direction:column; align-items:center; gap:10px; }

.vz-header { display:flex; align-items:center; gap:9px; font-size:16.5px; font-weight:700; padding:8px 0 2px; color:#f2f4f8; }
.vz-conn { margin:0; min-height:17px; font-size:12px; font-style:italic; color:#7b8296; }
.vz-conn.is-ready { color:#5fbf8a; }
.vz-conn.is-error { color:#d66; }

/* Visualizador de barras */
.vz-wave { display:flex; align-items:center; justify-content:center; gap:3px; width:100%; height:64px; margin-top:6px; }
.vz-wave span { width:4px; border-radius:3px; background:#e05548; transition:height .12s linear; }

.vz-timer { margin:0; font-size:30px; font-weight:300; font-variant-numeric:tabular-nums; letter-spacing:2px; color:#f2f4f8; }

/* Lista de notas */
.vz-list { flex:1; width:100%; margin:8px 0 0; padding:0; list-style:none; overflow-y:auto; }
.vz-item { display:flex; align-items:center; gap:12px; padding:11px 12px; border-bottom:1px solid #23262e; }
.vz-play { flex:0 0 40px; height:40px; border-radius:50%; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; background:#23262e; color:#e8eaf0; }
.vz-play:active { transform:translateY(1px); }
.vz-item.playing .vz-play { background:#e05548; }
.vz-meta { display:flex; flex-direction:column; gap:2px; text-align:left; }
.vz-name { font-size:14.5px; font-weight:600; }
.vz-dur { font-size:12px; color:#7b8296; font-variant-numeric:tabular-nums; }

/* Botón de grabar */
.vz-recwrap { display:flex; flex-direction:column; align-items:center; gap:8px; padding-bottom:34px; }
.vz-rec { width:72px; height:72px; border-radius:50%; border:3px solid #3a3f4c; background:#181b21; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:border-color .3s; }
.vz-rec span { width:30px; height:30px; border-radius:50%; background:#e05548; transition:border-radius .25s, width .25s, height .25s; }
.vz-rec.on { border-color:#e05548; }
.vz-rec.on span { border-radius:7px; width:24px; height:24px; animation:vzPulse 1.4s ease-in-out infinite; }
@keyframes vzPulse { 0%,100% { opacity:1; } 50% { opacity:.55; } }
.vz-rec:disabled { opacity:.4; cursor:default; }
.vz-hint { margin:0; font-size:12.5px; color:#7b8296; }

/* ===================== CONTROL ===================== */
.field textarea { width:100%; padding:22px 16px 10px; font-size:15px; border:1.5px solid var(--line); border-radius:12px; background:#fff; color:inherit; outline:none; resize:vertical; font-family:inherit; }
.field textarea:focus { border-color:var(--brand1); box-shadow:0 0 0 3px rgba(108,92,231,.15); }
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label { top:6px; font-size:11px; color:var(--brand1); transform:none; }

.vz-save { width:100%; padding:12px; border-radius:13px; border:none; cursor:pointer; color:#fff; font-weight:800; letter-spacing:.5px; background:linear-gradient(135deg,#6c5ce7,#4834b8); }
.vz-save:active { transform:translateY(1px); }
.vz-note { margin:0; font-size:12px; color:var(--muted); text-align:left; width:100%; }

.vz-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; width:100%; }
.vz-act { display:flex; flex-direction:column; align-items:center; gap:3px; padding:14px 4px; border-radius:13px; border:none; cursor:pointer; color:#fff; font-weight:800; }
.vz-act:active { transform:translateY(1px); }
.vz-act .big { font-size:14px; }
.vz-act .sub { font-size:10.5px; font-weight:600; opacity:.85; }
.vz-act.now   { background:linear-gradient(135deg,#8a6cf0,#5a3fd0); }
.vz-act.clear { background:#3a4150; }
.vz-act.sel   { outline:3px solid rgba(108,92,231,.5); outline-offset:2px; }
