.voice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.voice-overlay.hidden {
    display: none;
}

.voice-box {
    background: #fff;
    padding: 24px 32px;
    border-radius: 16px;
    text-align: center;
}

.wave {
    display: flex;
    gap: 6px;
    height: 40px;
    align-items: flex-end;
    margin-bottom: 12px;
}

.voice-box p {
    margin-bottom: 0;
}

.wave span {
    width: 6px;
    height: 10px;
    background: #1e88e5;
    border-radius: 4px;
    animation: wave 1.2s infinite ease-in-out;
}

.wave span:nth-child(1) {
    animation-delay: 0s
}

.wave span:nth-child(2) {
    animation-delay: .1s
}

.wave span:nth-child(3) {
    animation-delay: .2s
}

.wave span:nth-child(4) {
    animation-delay: .3s
}

.wave span:nth-child(5) {
    animation-delay: .4s
}
.wave span:nth-child(6) {
    animation-delay: .5s
}
.wave span:nth-child(7) {
    animation-delay: .6s
}
.wave span:nth-child(8) {
    animation-delay: .7s
}
.wave span:nth-child(9) {
    animation-delay: .8s
}

@keyframes wave {

    0%,
    100% {
        height: 10px
    }

    50% {
        height: 40px
    }
}