/* El micrófono solo aparece en pantallas móviles. */
#mtbv-microphone,
#mtbv-status {
    display: none;
}


@media screen and (max-width: 767px) {
    #mtbv-microphone.mtbv-active {
        display: flex;
    }

    #mtbv-microphone {
        display: none;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: 18px;
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        width: 60px;
        height: 60px;
        padding: 0;
        border: 3px solid #fdb819;
        border-radius: 50%;
        background: #164f82;
        color: #fff;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .30);
        z-index: 999990;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    #mtbv-microphone svg {
        display: block;
        width: 29px;
        height: 29px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    #mtbv-microphone:focus-visible {
        outline: 3px solid #fdb819;
        outline-offset: 3px;
    }

    #mtbv-microphone.mtbv-listening {
        background: #b42318;
        animation: mtbv-pulse 1.2s infinite;
    }

    #mtbv-status.mtbv-visible {
        display: block;
        position: fixed;
        left: 18px;
        right: auto;
        top: calc(50% - 76px);
        bottom: auto;
        width: min(300px, calc(100vw - 36px));
        box-sizing: border-box;
        padding: 12px 14px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 10px;
        background: #164f82;
        color: #fff;
        font-family: inherit;
        font-size: 14px;
        line-height: 1.45;
        box-shadow: 0 3px 12px rgba(0, 0, 0, .22);
        z-index: 999991;
    }

    @keyframes mtbv-pulse {
        0%, 100% { box-shadow: 0 0 0 0 rgba(180, 35, 24, .35); }
        50% { box-shadow: 0 0 0 9px rgba(180, 35, 24, 0); }
    }

    @media (prefers-reduced-motion: reduce) {
        #mtbv-microphone.mtbv-listening { animation: none; }
    }
}
