/* Standalone focused scrubber; all selectors are scoped to the module root. */
.replay-timeline {
  --rpt-ink: #f0f1ed;
  --rpt-muted: #979ba3;
  --rpt-track: #1d2025;
  --rpt-green: #91b65b;
  --rpt-orange: #dfa45e;
  --rpt-red: #d66e61;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 4px 0;
  color: var(--rpt-ink);
  font: inherit;
}
.replay-timeline[hidden] { display: none; }
.replay-timeline .rpt-axis {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3px;
  height: 22px;
  margin: 0 1px 5px;
  color: var(--rpt-muted);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.replay-timeline .rpt-axis span { transform: translateX(-50%); }
.replay-timeline .rpt-axis span:first-child { transform: none; }
.replay-timeline .rpt-axis span:last-child { transform: translateX(-100%); }
.replay-timeline .rpt-track {
  position: relative;
  height: 47px;
  box-sizing: border-box;
  overflow: visible;
  border: 1px solid #41454c;
  border-radius: 6px;
  background: repeating-linear-gradient(135deg,#21242a 0 5px,#1d2025 5px 6px);
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
}
.replay-timeline .rpt-track:focus-visible {
  outline: 2px solid #f4f4ea;
  outline-offset: 3px;
}
.replay-timeline .rpt-replay,
.replay-timeline .rpt-slow {
  position: absolute;
  top: 5px;
  bottom: 5px;
  box-sizing: border-box;
  border-radius: 0;
  pointer-events: none;
}
.replay-timeline .rpt-slow[hidden] { display:none; }
.replay-timeline .rpt-replay[hidden] { display:none; }
.replay-timeline .rpt-replay > span,
.replay-timeline .rpt-slow > span {
  display:block; overflow:hidden; white-space:nowrap; text-align:center;
  font-size:10px; font-weight:750; line-height:35px; color:#192017;
}
.replay-timeline .rpt-replay > span { position:absolute; z-index:4; }
.replay-timeline .rpt-slow > span { color:#2f200f; }
.replay-timeline .rpt-replay {
  background: var(--rpt-green);
}
.replay-timeline .rpt-slow {
  z-index: 2;
  background: var(--rpt-orange);
}
.replay-timeline .rpt-segments {
  position: absolute;
  z-index: 3;
  inset: 5px 0;
  overflow: hidden;
  border-radius: 4px;
  pointer-events: none;
}
.replay-timeline .rpt-segment {
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 750;
  color: #192017;
  position: absolute;
  top: 0;
  bottom: 0;
  min-width: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
}
.replay-timeline .rpt-quarter { background: #dfa45e; }
.replay-timeline .rpt-segment > span { display: none; }
@container (min-width: 48px) {
  .replay-timeline .rpt-segment > span { display: block; }
}
.replay-timeline .rpt-eighth { background: #d66e61; }
.replay-timeline .rpt-full { background: #91b65b; }
.replay-timeline .rpt-needle {
  position: absolute;
  z-index: 5;
  top: -5px;
  bottom: -5px;
  width: 1px;
  background: #f5f1df;
  box-shadow: 0 0 0 1px #17191d66;
  pointer-events: none;
  will-change: transform;
}
.replay-timeline .rpt-needle i {
  position: absolute;
  top: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #f5f1df;
}
.replay-timeline .rpt-readout {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 8px 2px 0;
  color: #aeb2b8;
  font-size: 10px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.replay-timeline .rpt-position { color: #e6e8e2; }
.replay-timeline .rpt-state { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 380px) {
  .replay-timeline .rpt-axis { font-size: 8px; }
  .replay-timeline .rpt-readout { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .replay-timeline .rpt-needle { will-change: auto; }
}
