.sentence-timeline{--preview-x:50%;--seek-blue:#578cb5}
.sentence-timeline .progress-track{height:36px;outline-offset:1px;cursor:crosshair}
.sentence-timeline .progress-track::before{top:16px;height:3px;background:#e1e8f1;transition:height 180ms,background 180ms}
.sentence-timeline #progressBar{top:16px;height:3px;background:#7da7c7;transition:width 260ms cubic-bezier(.2,.7,.2,1)}
.timeline-thumb{top:12px;width:11px;height:11px;margin-left:-5.5px;border-color:#709dbf;transition:left 260ms cubic-bezier(.2,.7,.2,1),box-shadow 180ms,transform 180ms;z-index:2}
.timeline-marker{top:6px;height:23px;width:2px;border-radius:2px;background:#5684a8;transition:opacity 140ms;z-index:3}
.timeline-ruler{position:absolute;inset:0;pointer-events:none;z-index:1}
.timeline-ruler i{position:absolute;top:16px;width:1px;height:4px;border-radius:1px;background:#91a6b9;opacity:.35;transform:translateY(-.5px);transform-origin:50% 50%;transition:transform 130ms cubic-bezier(.2,.75,.2,1),opacity 130ms,background 130ms}
.timeline-ruler i.is-past{background:#638dab}
.timeline-open .timeline-ruler i{opacity:var(--tick-alpha,.4);transform:translateY(-.5px) scaleY(var(--tick-lift,1))}
.timeline-open .timeline-thumb{transform:scale(1.12);box-shadow:0 0 0 5px #82adcd16}
.timeline-scrubbing .timeline-thumb{box-shadow:0 0 0 7px #82adcd18}
.timeline-readout{position:absolute;top:-13px;left:clamp(17px,var(--preview-x),calc(100% - 17px));min-width:26px;padding:1px 4px;border-radius:4px;transform:translate(-50%,4px);opacity:0;pointer-events:none;color:#6384a1;background:#f6f8fc;font-size:10px;font-variant-numeric:tabular-nums;text-align:center;transition:opacity 140ms,transform 180ms}
.timeline-open .timeline-readout{opacity:1;transform:translate(-50%,0)}
.timeline-panel{top:43px;padding:10px 12px 12px;border-color:#dfe7ef;border-radius:15px;background:#fffffffa;box-shadow:0 16px 45px #2e50601c,0 3px 8px #2e506008;opacity:0;transform:translateY(-7px) scale(.985);transform-origin:var(--preview-x) 0;transition:opacity 140ms ease,transform 190ms cubic-bezier(.2,.8,.2,1);animation:none;will-change:opacity,transform;pointer-events:none}
.timeline-panel[hidden]{display:none}
.timeline-panel::before{content:'';position:absolute;left:clamp(18px,var(--preview-x),calc(100% - 18px));top:-5px;width:9px;height:9px;transform:translateX(-50%) rotate(45deg);background:#fff;border-top:1px solid #dfe7ef;border-left:1px solid #dfe7ef}
.timeline-open .timeline-panel{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
.timeline-closing .timeline-panel{opacity:0;transform:translateY(-4px) scale(.993);transition-duration:120ms;pointer-events:none}
.timeline-panel-head{min-height:28px;margin-bottom:8px;gap:8px}
.timeline-location{flex:1;color:#7190a8;font-size:11px}
.timeline-current{border:1px solid #e4ebf2;background:#f5f9fc;color:#6f8da5;padding:3px 9px;border-radius:20px;min-height:26px;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}
.timeline-current::before{content:'';display:inline-block;width:4px;height:4px;margin:0 5px 2px 0;border-radius:50%;background:#76a0bf}
.timeline-current:hover{background:#eaf3fa;border-color:#cbdfea;color:#3f7298}
.timeline-close{font-size:20px;color:#96a9b9}
.timeline-strip{padding:4px 0 11px;scrollbar-color:#cbd9e4 transparent;scrollbar-width:thin;mask-image:linear-gradient(to right,transparent,#000 15px,#000 calc(100% - 15px),transparent)}
.timeline-strip::-webkit-scrollbar{height:3px}
.timeline-strip::-webkit-scrollbar-track{background:transparent}
.timeline-strip::-webkit-scrollbar-thumb{background:#cbd9e4}
.timeline-items{height:126px}
.timeline-card{top:3px;height:116px;border-color:#edf1f5;background:#f8fafc;color:#728395;border-radius:11px;gap:9px;opacity:.76;transform:translateY(2px) scale(.975);transition:transform 180ms cubic-bezier(.2,.75,.2,1),background 150ms,border-color 150ms,box-shadow 180ms,opacity 150ms}
.timeline-card.is-preview{background:#f2f8fc;border-color:#a7c6dc;box-shadow:0 4px 12px #3867890d;opacity:1;transform:translateY(0) scale(1)}
.timeline-card.is-current{background:#f4f8fc;border-color:#c1d5e5}
.timeline-card.is-current.is-preview{background:#edf6fc;border-color:#89b2d0}
.timeline-card:hover{opacity:1}
.timeline-card-text{font-size:14px;line-height:1.7;color:inherit}
.timeline-card.is-preview .timeline-card-text{color:#365b76}
.timeline-card-meta{color:#9aaabb}
.timeline-card-meta b{color:#6e94af;font-weight:600}
.timeline-selected .timeline-thumb{animation:timeline-selected 300ms ease-out}
@keyframes timeline-selected{0%{box-shadow:0 0 0 0 #6f9fc244}100%{box-shadow:0 0 0 10px #6f9fc200}}
@media(max-width:600px){.sentence-timeline .progress-track{height:42px}.sentence-timeline .progress-track::before,.sentence-timeline #progressBar{top:19px}.timeline-thumb{top:15px}.timeline-marker{top:9px}.timeline-ruler i{top:19px}.timeline-panel{top:48px;padding:8px 8px 10px}.timeline-panel-head{margin-bottom:5px}.timeline-close{min-width:36px;min-height:36px}.timeline-current{min-height:32px}.timeline-location{font-size:10px}.timeline-card{padding:10px}.timeline-card-text{font-size:13px}.timeline-readout{top:-10px}}
@media(prefers-reduced-motion:reduce){.sentence-timeline *,.sentence-timeline *::before{animation:none!important;transition:none!important}.timeline-panel{transform:none!important}}
