.wave-audio-player {
    position: relative;
    width: 100%;
    min-height: 3.75rem;
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: .65rem .8rem;
    border: 2px solid #e6e0f5;
    border-bottom-width: 4px;
    border-radius: 18px;
    background: #f4f1fb;
    color: #2a2540;
}

.wave-audio-player[data-state="playing"] {
    border-color: #cdbff0;
    background: #efe8ff;
}

.wave-audio-button {
    width: 2.65rem;
    height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #7c3aed;
    box-shadow: 0 4px 0 #5b21b6;
    color: #fff;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.wave-audio-button:disabled {
    cursor: wait;
    opacity: .65;
}

.wave-audio-button:not(:disabled):active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #5b21b6;
}

.wave-audio-icon {
    width: 0;
    height: 0;
    display: block;
    margin-left: .18rem;
    border-top: .46rem solid transparent;
    border-bottom: .46rem solid transparent;
    border-left: .72rem solid currentColor;
}

.wave-audio-button.is-playing .wave-audio-icon {
    width: .82rem;
    height: .95rem;
    margin-left: 0;
    border: 0;
    background: linear-gradient(
        to right,
        currentColor 0,
        currentColor .3rem,
        transparent .3rem,
        transparent .52rem,
        currentColor .52rem,
        currentColor .82rem
    );
}

.wave-audio-wave {
    min-width: 0;
    height: 2.35rem;
}

.wave-audio-time {
    min-width: 2.65rem;
    color: #756f8f;
    font-size: .78rem;
    font-weight: 900;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.wave-audio-status {
    position: absolute;
    left: 4.35rem;
    right: 4.25rem;
    bottom: .22rem;
    min-width: 0;
    overflow: hidden;
    color: #756f8f;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wave-audio-status:empty {
    display: none;
}

.wave-audio-player.is-native-fallback {
    display: block;
    min-height: auto;
    padding: .65rem;
}

.wave-audio-player.is-native-fallback audio {
    display: block;
    width: 100%;
}
