/* TracesOnTape Audio Player — v1.1 */

/* ── Container ───────────────────────────────────────────── */
.tot-playlist {
    background: #fff;
    color: #ccc;
    font-family: system-ui, sans-serif;
    font-size: 13px;
    max-width: 680px;
    margin: 2em 0;
}

/* ── Waveform ─────────────────────────────────────────────── */
.tot-waveform-wrap {
    padding: 16px 16px 0;
}

.tot-waveform {
    /* wavesurfer rendert hier ein <canvas> */
    width: 100%;
    cursor: pointer;
}

/* ── Steuerleiste ─────────────────────────────────────────── */
.tot-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px 14px;
    border-bottom: 1px solid #2a2a2a;
}

.tot-controls button {
    background: none;
    border: none;
    color: #888;
    font-size: 11px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    transition: color 0.15s;
}

.tot-controls button:hover {
    color: #fff;
}

.tot-play-pause {
    font-size: 15px !important;
    color: #c8860a !important;
}

.tot-play-pause:hover {
    color: #e0a030 !important;
}

.tot-time {
    margin-left: auto;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #555;
    letter-spacing: 0.04em;
}

/* ── Trackliste ───────────────────────────────────────────── */
.tot-track-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tot-track {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #1e1e1e;
    transition: background 0.1s;
}

.tot-track:last-child {
    border-bottom: none;
}

.tot-track:hover {
    background: #1a1a1a;
}

.tot-track.active {
    background: #161616;
    color: #fff;
}

.tot-track-num {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #444;
    min-width: 18px;
}

.tot-track.active .tot-track-num {
    color: #c8860a;
}

.tot-track-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tot-track-indicator {
    font-size: 8px;
    color: #c8860a;
    opacity: 0;
    transition: opacity 0.15s;
}

.tot-track.active .tot-track-indicator {
    opacity: 1;
}
