/* ── timeslider.css ── */

#time-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--timebar-h);
    z-index: 800;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 100px;
    transition: transform 0.25s ease;
}
#time-bar.hidden { transform: translateY(100%); }

#time-bar-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 680px;
}

.tl-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-1);
    min-width: 34px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

#time-slider { flex: 1; height: 4px; }

#time-bar-hint {
    font-size: 10.5px;
    color: var(--text-3);
}
#time-bar-hint strong { color: var(--accent); }

/* noUiSlider overrides */
.noUi-target {
    background: var(--surface-2);
    border-radius: 4px;
    border: none;
    box-shadow: none;
}
.noUi-connect { background: var(--accent); }
.noUi-handle {
    width: 15px !important; height: 15px !important;
    border-radius: 50% !important;
    background: var(--surface) !important;
    border: 2px solid var(--accent) !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.14) !important;
    cursor: grab;
    top: -6px !important; right: -8px !important;
}
.noUi-handle:active { cursor: grabbing; }
.noUi-handle::before, .noUi-handle::after { display: none; }
.noUi-tooltip {
    font-family: var(--font-body);
    font-size: 11px; font-weight: 600;
    color: var(--accent);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 2px 6px;
    bottom: 20px;
}
