/* YARVIS_AVATAR_VOICE_V1
   En modo Avatar el microfono deja de ser un control visual.
   La cara actua como respaldo; el modo manos libres escucha el wake word. */

body[data-yarvis-mode="avatar"] #micButton {
    display: none !important;
}

body[data-yarvis-mode="avatar"] .voice-state {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

body[data-yarvis-mode="avatar"] .yarvis-command-panel {
    padding-left: 16px;
}

body[data-yarvis-mode="avatar"] .yarvis-avatar-presence {
    cursor: pointer;
}

body[data-yarvis-mode="avatar"] .yarvis-avatar-presence::after {
    content: attr(data-voice-status);
    position: absolute;
    left: 50%;
    bottom: -42px;
    transform: translateX(-50%);
    width: max-content;
    max-width: 86vw;
    padding: 5px 9px;
    border: 1px solid rgba(93, 229, 238, .14);
    border-radius: 999px;
    color: rgba(153, 218, 224, .58);
    background: rgba(2, 15, 23, .42);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .09em;
    pointer-events: none;
    opacity: .72;
    transition: opacity .2s ease, color .2s ease, border-color .2s ease;
}

body[data-yarvis-mode="avatar"] .yarvis-avatar-presence:hover::after {
    color: rgba(205, 252, 255, .82);
    border-color: rgba(93, 229, 238, .28);
}

body[data-yarvis-mode="avatar"] .yarvis-command-panel textarea {
    min-height: 48px;
    opacity: .78;
}

@media (max-width: 700px) {
    body[data-yarvis-mode="avatar"] .yarvis-command-panel {
        padding: 9px 10px;
    }

    body[data-yarvis-mode="avatar"] .yarvis-avatar-presence::after {
        bottom: -34px;
        font-size: 7px;
    }
}
