.typo_audio {
    padding-top: 25%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}
.typo_audio:before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 100%; padding: 0 0 25%;
    background: url(../img/audio-frequenz.svg);
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
}

/* ── Button ── */
.typo_audio__btn {
    flex-shrink: 0;
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #222;
    cursor: pointer;
    transition: background 0.2s;
}

.typo_audio__btn:hover {
    background: #444;
}

/* Play icon (triangle) */
.typo_audio__btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent #fff;
}

/* Pause icon (two bars via box-shadow) */
.typo_audio__btn.is-playing::before {
    border: none;
    width: 3px;
    height: 14px;
    background: #fff;
    left: 50%;
    box-shadow: 5px 0 0 #fff, -5px 0 0 #fff;
}

/* ── Timeline ── */
.typo_audio__timeline {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.typo_audio__time {
    flex-shrink: 0;
    font-size: 12px;
    color: #666;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ── Progress range ── */
.typo_audio__progress {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 0.25em;
    background: transparent;
    outline: none;
    cursor: pointer;
    min-width: 0;
}

.typo_audio__progress::-webkit-slider-runnable-track {
    height: 0.25em;
    background: #222;
    border-radius: 1px;
}

.typo_audio__progress::-moz-range-track {
    height: 0.25em;
    background: #222;
    border-radius: 1px;
}

.typo_audio__progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 0.75em;
    height: 0.75em;
    border-radius: 50%;
    background: #222;
    margin-top: calc((0.25em - 0.75em) / 2);
}

.typo_audio__progress::-moz-range-thumb {
    width: 0.75em;
    height: 0.75em;
    border: none;
    border-radius: 50%;
    background: #222;
}
