/* ── Audio snippet player ───────────────────────────────────────────────── */
.audio-snippet {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.9rem calc(0.4rem + 5px);
    border-radius: 0.4rem;
    background: #c4622d;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin: 0.2rem 0;
}

.snippet-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    border-radius: 0.25rem;
    padding: 0.2rem 0.65rem;
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    min-width: 5.5rem;
    text-align: center;
}

.snippet-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.18); }
.snippet-btn:disabled { opacity: 0.55; cursor: default; }

.audio-snippet small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
}

.snippet-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: height 0.15s;
}

.snippet-progress:hover { height: 8px; }

.snippet-progress-tooltip {
    position: absolute;
    bottom: calc(100% + 4px);
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
}

.snippet-progress-bar {
    height: 100%;
    width: 0%;
    background: rgba(255, 255, 255, 0.65);
}
