* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: #fff;
    color: #000;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-area {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message {
    display: flex;
    max-width: 100%;
    align-items: flex-start;
}

.message.user {
    justify-content: flex-end;
    margin-top: -10px;
    margin-bottom: -10px;
}

.message-content {
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 70%;
    line-height: 1.5;
    word-wrap: break-word;
}

.message.user .message-content {
    background: #f4f4f4;
}

.message.model .message-content {
    background: transparent;
}

.message.system {
    justify-content: center;
}

.message.system .message-content {
    background: transparent;
    color: #666;
    font-size: 14px;
    text-align: center;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: 8px;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    margin: 0;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    padding: 0;
}

.user-avatar svg {
    width: 60%;
    height: 60%;
}

.user-avatar:hover {
    background: #e5e5e5;
}

.admin-item {
    background-color: rgba(74, 144, 226, 0.05);
}

.admin-item:hover {
    background-color: rgba(74, 144, 226, 0.1) !important;
}

.admin-item svg {
    color: #4a90e2;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.input-container {
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    background: #fff;
    flex-shrink: 0;
}

.input-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f4f4;
    border-radius: 24px;
    padding: 8px 12px;
    max-width: 100%;
}

.text-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    padding: 8px;
}

.text-input::placeholder {
    color: #8e8e8e;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #666;
    transition: background 0.2s;
    flex-shrink: 0;
}

.icon-btn:hover {
    background: #e5e5e5;
}

.icon-btn:active {
    background: #d4d4d4;
}

.voice-mode-btn.active {
    background: #000;
    color: #fff;
}

.voice-mode-btn.active:hover {
    background: #333;
}

#sendButton {
    background: #111;
    color: #fff;
}

#sendButton:hover {
    background: #000;
}

.spinner-gear {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.icon-btn:disabled,
button:disabled {
    cursor: default;
    opacity: 0.6;
    pointer-events: none;
}

audio {
    margin-top: 8px;
    width: 100%;
    max-width: 300px;
}

/* Scrollbar */
.chat-area::-webkit-scrollbar {
    width: 6px;
}

.chat-area::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 3px;
}

.chat-area::-webkit-scrollbar-track {
    background: transparent;
}

/* ========================================
   ONDAS LISTENING (barra de input)
   ======================================== */
.listening-waves {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 24px;
    height: 24px;
}

.listening-waves span {
    display: block;
    width: 3px;
    height: 6px;
    background: #0078d4;
    animation: wave 1.2s infinite ease-in-out;
    border-radius: 2px;
}

.listening-waves span:nth-child(1) { animation-delay: -0.3s; }
.listening-waves span:nth-child(2) { animation-delay: -0.15s; }
.listening-waves span:nth-child(3) { animation-delay: 0s; }
.listening-waves span:nth-child(4) { animation-delay: 0.15s; }

@keyframes wave {
    0%, 100% { height: 6px;  opacity: 0.6; }
    50%       { height: 14px; opacity: 1;   }
}

/* ========================================
   NOTIFICACIÓN DE CAMBIO DE CONTEXTO
   ======================================== */
.context-change-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.context-change-notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   OVERLAY DE MODO VOZ
   ======================================== */
.voice-overlay {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;

    /*
     * ── GROSOR DINÁMICO DE ONDAS ──────────────────────────────
     * JS actualiza --wave-border-width en tiempo real según el
     * volumen del micrófono. Rango: 2px (silencio) → 10px (máximo).
     * También --wave-color cambia de azul a verde según el volumen.
     * ────────────────────────────────────────────────────────── */
    --wave-border-width: 2px;
    --wave-color: rgba(34, 197, 94, 0.55);
}

.voice-overlay.active {
    display: flex;
}

.voice-center {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-avatar {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    z-index: 2;
    transition: all 0.3s ease;
}

.voice-avatar.context-general {
    background-image: url("../img/contextos/general.png");
}

.voice-avatar.context-gth {
    background-image: url("../img/contextos/gth.png");
}

/* ════════════════════════════════════════
   ONDAS DE VOZ — grosor dinámico via CSS var
   ════════════════════════════════════════

   --wave-border-width  → actualizado por JS en cada frame del AudioAnalyser
   --wave-color         → actualizado por JS según nivel de volumen

   El grosor se interpola suavemente gracias a
   transition: border-width + border-color en .voice-wave.
   ════════════════════════════════════════ */
.voice-wave {
    position: absolute;
    border-radius: 50%;

    /* Grosor y color controlados por las custom properties del overlay */
    border-width: var(--wave-border-width);
    border-style: solid;
    border-color: var(--wave-color);

    opacity: 0;
    z-index: 1;
    animation: none;

    /* Transición suave para que el cambio de grosor no sea brusco */
    transition:
        border-width 0.1s ease-out,
        border-color 0.15s ease-out;
}

.voice-wave.wave1,
.voice-wave.wave2,
.voice-wave.wave3 {
    width: 150px;
    height: 150px;
}

/* ════════════════════════════════════════
   ESTADO: ESCUCHANDO
   ════════════════════════════════════════ */
.voice-overlay.listening .voice-wave.wave1 {
    animation: voice-pulse 2.4s infinite ease-out;
    animation-delay: 0s;
}

.voice-overlay.listening .voice-wave.wave2 {
    animation: voice-pulse 2.4s infinite ease-out;
    animation-delay: 0.8s;
}

.voice-overlay.listening .voice-wave.wave3 {
    animation: voice-pulse 2.4s infinite ease-out;
    animation-delay: 1.6s;
}

@keyframes voice-pulse {
    0%   { transform: scale(0.8); opacity: 0;   }
    10%  { opacity: 0.9; }
    60%  { transform: scale(1.6); opacity: 0.4; }
    100% { transform: scale(2.0); opacity: 0;   }
}

/* ════════════════════════════════════════
   COLORES BASE SEGÚN NIVEL DE VOLUMEN
   (las clases las aplica JS; el grosor
    se maneja con la custom property)
   ════════════════════════════════════════ */

/* Silencio / casi nada */
.voice-overlay.volume-low {
    --wave-color: rgba(239, 68, 68, 0.4);   /* rojo tenue */
}

/* Habla normal */
.voice-overlay.volume-ok {
    --wave-color: rgba(34, 197, 94, 0.55);  /* verde */
}

/* Habla fuerte */
.voice-overlay.volume-high {
    --wave-color: rgba(34, 197, 94, 0.75);  /* verde más intenso */
}

/* ════════════════════════════════════════
   ESTADO: PROCESANDO / BUSCANDO
   ════════════════════════════════════════ */
.voice-overlay.processing .voice-wave,
.voice-overlay.searching .voice-wave {
    opacity: 0 !important;
    animation: none !important;
}

.voice-overlay.processing .voice-avatar,
.voice-overlay.searching .voice-avatar {
    animation: thinking 2s ease-in-out infinite;
}

@keyframes thinking {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    }
    25% {
        transform: scale(1.04) rotate(2deg);
        filter: brightness(1.15);
        box-shadow: 0 16px 40px rgba(59, 130, 246, 0.25);
    }
    50% {
        transform: scale(1) rotate(0deg);
        filter: brightness(0.95);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
    75% {
        transform: scale(1.04) rotate(-2deg);
        filter: brightness(1.1);
        box-shadow: 0 14px 35px rgba(59, 130, 246, 0.2);
    }
}

/* ════════════════════════════════════════
   ESTADO: IA HABLANDO
   ════════════════════════════════════════ */
.voice-overlay.ai-speaking .voice-wave {
    opacity: 0 !important;
    animation: none !important;
}

.voice-overlay.ai-speaking .voice-avatar {
    animation: speaking-pulse 0.6s ease-in-out infinite;
}

@keyframes speaking-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 18px 45px rgba(34, 197, 94, 0.4);
        filter: brightness(1.15);
    }
}

/* Indicador de volumen oculto */
.voice-volume-indicator {
    display: none;
}

.voice-footer {
    margin-top: clamp(40px, 20vh, 200px);
}

.voice-stop-btn {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: #000;
    transition: background 0.2s;
}

.voice-stop-btn:hover  { background: #e5e7eb; }
.voice-stop-btn:active { background: #d1d5db; }

/* ========================================
   MODALES
   ======================================== */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 200;
}

.modal {
    background: white;
    border-radius: 8px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
}

.close-x {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.modal form label {
    display: block;
    margin-top: 12px;
    font-weight: 600;
}

.modal form input {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.btn-primary-pill {
    background-color: #6f42c1;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.btn-outline-pill {
    background: transparent;
    border: 1px solid #d0cce7;
    color: #333;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary-pill:hover { opacity: 0.95; }
.btn-outline-pill:hover { background: rgba(0,0,0,0.03); }

/* Login modal */
.login-modal .subtitle {
    margin-bottom: 18px;
    color: #666;
    font-size: 14px;
}

.google-btn {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    border-radius: 28px;
    border: 1px solid #e6e6e6;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    color: #111;
    box-shadow: none;
}

.google-logo { width: 18px; height: 18px; }

.login-modal .or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #bbb;
}

.login-modal .or-divider::before,
.login-modal .or-divider::after {
    content: "";
    height: 1px;
    background: #eee;
    flex: 1;
}

.login-modal .inputs input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 24px;
    border: 1px solid #e6e6e6;
    margin-bottom: 12px;
}

.login-modal .continue-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 28px;
    background: #111;
    color: #fff;
    font-weight: 600;
    border: none;
}

/* Auth top-right */
.auth-top {
    position: fixed;
    top: 14px;
    right: 15px;
    z-index: 3000;
    display: flex;
    align-items: center;
}

.auth-top .btn-login {
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

.modal .close-x {
    position: absolute;
    right: 18px;
    top: 14px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    color: #333;
    font-size: 18px;
}

.small-muted { color: #777; font-size: 14px; margin-bottom: 6px; }

/* ========================================
   MENÚ USUARIO DROPDOWN
   ======================================== */
.user-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    min-width: 200px;
    z-index: 100;
    padding: 8px 0;
    list-style: none;
    display: none;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.menu-item:hover {
    background-color: #f5f5f5;
    color: #007bff;
}

.menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: #888;
}

.menu-item:hover .menu-icon { color: #007bff; }

.menu-divider {
    height: 1px;
    background-color: #eee;
    margin: 8px 0;
}

.logout-item { color: #dc3545; }
.logout-item .menu-icon { color: #dc3545; }

.logout-item:hover {
    background-color: #ffebeb;
    color: #dc3545;
}

#userAvatar { cursor: pointer; }

/* Sesiones */
#sessionsList {
    position: relative;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    width: 250px;
    font-size: 14px;
}

.session-item:hover { background-color: #f0f0f0; }

.submenu {
    position: absolute;
    top: 0;
    right: 100%;
    width: 250px;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 8px 0;
    z-index: 1100;
}

.submenu .session-item {
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
}

.submenu .session-item:hover { background-color: #e6f7ff; }

/* ========================================
   MENÚ NUEVA SESIÓN / GESTIÓN DE CHAT
   ======================================== */
.new-session-menu {
    position: absolute;
    bottom: 80px;
    left: 20px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    width: 320px;
    z-index: 1000;
    animation: slideUpFade 0.25s ease-out;
    overflow: hidden;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.new-session-menu .menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.new-session-menu .menu-header span {
    font-weight: 600;
    font-size: 15px;
    color: #111;
}

.new-session-menu .close-menu-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: #888;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    line-height: 1;
}

.new-session-menu .close-menu-btn:hover {
    background: #e5e5e5;
    color: #333;
}

.new-session-menu .menu-content {
    padding: 20px 18px;
}

.new-session-menu .menu-description {
    margin: 0 0 20px 0;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.new-session-menu .menu-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.new-session-menu .btn-primary-pill,
.new-session-menu .btn-outline-pill {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-weight: 600;
    flex-shrink: 0;
}

.new-session-menu .btn-primary-pill {
    background: #111;
    color: #fff;
}

.new-session-menu .btn-primary-pill:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.new-session-menu .btn-primary-pill:active {
    transform: translateY(0);
    box-shadow: none;
}

.new-session-menu .btn-outline-pill {
    background: white;
    color: #666;
    border: 1px solid #ddd;
}

.new-session-menu .btn-outline-pill:hover  { background: #f8f8f8; border-color: #bbb; }
.new-session-menu .btn-outline-pill:active { background: #f0f0f0; }

.menu-footer {
    padding: 6px 18px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
    font-size: 12px;
    color: #777;
    text-align: right;
}

/* Overlay transparente para cerrar el menú */
.menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: transparent;
    z-index: 999;
    display: none;
}

/* Secciones dentro del menú */
.new-session-menu .menu-section { margin-bottom: 16px; }

.new-session-menu .section-title {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Selector de Contexto */
.context-selector {
    display: flex;
    gap: 8px;
    background: #f4f4f4;
    padding: 4px;
    border-radius: 10px;
}

.context-option {
    flex: 1;
    cursor: pointer;
    position: relative;
    text-align: center;
}

.context-option input { display: none; }

.context-option span {
    display: block;
    padding: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    border-radius: 8px;
    transition: all 0.2s;
}

.context-option input:checked + span {
    background: #fff;
    color: #111;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Lista de sesiones dentro del menú */
.sessions-list-scroll {
    max-height: 180px;
    overflow-y: auto;
    margin-top: 8px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
}

.session-item-mini {
    padding: 10px 12px;
    border-bottom: 1px solid #f9f9f9;
    cursor: pointer;
    transition: background 0.2s;
}

.session-item-mini:last-child { border-bottom: none; }
.session-item-mini:hover { background: #f8f8f8; }

.session-item-mini .session-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.session-item-mini .session-name {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.session-item-mini .session-date {
    font-size: 11px;
    color: #999;
}

.sessions-list-scroll::-webkit-scrollbar { width: 4px; }
.sessions-list-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.w-full {
    width: 100% !important;
    justify-content: center;
}

/* ========================================
   RESPONSIVE — UN SOLO BLOQUE 576px
   ======================================== */
@media (max-width: 576px) {

    .auth-top {
        top: max(25px, env(safe-area-inset-top));
        right: 12px;
    }

    .user-avatar { width: 34px; height: 34px; }

    .chat-area    { padding: 12px; gap: 12px; }
    .message-content { max-width: 85%; font-size: 15px; }
    .message-avatar  { width: 28px; height: 28px; }

    .input-container { padding: 12px; }
    .input-box       { padding: 6px 10px; gap: 6px; }
    .text-input      { font-size: 16px; padding: 6px; }
    .icon-btn        { width: 32px; height: 32px; }

    .voice-center { width: 195px; height: 195px; }
    .voice-avatar { width: 125px; height: 125px; }

    .voice-wave.wave1,
    .voice-wave.wave2,
    .voice-wave.wave3 { width: 145px; height: 145px; }

    .voice-overlay.ai-speaking .voice-avatar {
        animation-duration: 0.9s;
    }

    .voice-stop-btn { width: 60px; height: 60px; font-size: 25px; }

    .new-session-menu {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 32px);
        max-width: 340px;
        bottom: 70px;
        animation: slideUpFadeMobile 0.25s ease-out;
    }

    @keyframes slideUpFadeMobile {
        from { opacity: 0; transform: translate(-50%, 12px); }
        to   { opacity: 1; transform: translate(-50%, 0); }
    }

    .new-session-menu .menu-header  { padding: 14px 16px; }
    .new-session-menu .menu-content { padding: 18px 16px; }

    .new-session-menu .menu-actions {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .new-session-menu .btn-primary-pill,
    .new-session-menu .btn-outline-pill {
        width: 100%;
        padding: 12px 20px;
        justify-content: center;
    }

    .modal-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .modal-actions .btn-primary-pill,
    .modal-actions .btn-outline-pill { width: 100%; }
}

/* ========================================
   RESPONSIVE — 360px
   ======================================== */
@media (max-width: 360px) {

    .message-content {
        max-width: 90%;
        font-size: 14px;
        padding: 10px 14px;
    }

    .input-box { padding: 5px 8px; }
    .icon-btn  { width: 30px; height: 30px; }

    .voice-center { width: 180px; height: 180px; }
    .voice-avatar { width: 110px; height: 110px; }

    .voice-wave.wave1,
    .voice-wave.wave2,
    .voice-wave.wave3 { width: 130px; height: 130px; }

    .new-session-menu {
        width: calc(100% - 24px);
        bottom: 65px;
    }

    .new-session-menu .menu-header span { font-size: 14px; }
    .new-session-menu .menu-description { font-size: 13px; }
}

/* ========================================
   RESPONSIVE — landscape baja
   ======================================== */
@media (max-height: 600px) {
    .new-session-menu {
        bottom: 65px;
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }
}