/* Timeline scrubber mode of the realtime satellite player (js/sat-timeline.js). Uses the player's --rt-* colours (navy / amber). */
.rt-view { margin-top: 6px; row-gap: 8px; }
.rt-player.rt-tl-on .rt-loopbox, .rt-player.rt-tl-on #rtTimeline { display: none; }

.rt-sc { margin: 14px 0 6px; }
.rt-sc[hidden] { display: none; }
.rt-sc-bar {
  display: flex; align-items: stretch; gap: 4px; padding: 6px; background: var(--rt-deeper); border: 1px solid var(--rt-line);
  border-radius: 14px; box-shadow: 0 10px 28px -18px rgba(0,0,0,.9);
}
.rt-sc-btn {
  -webkit-tap-highlight-color: transparent;
  flex: 0 0 48px; min-height: 56px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent;
  color: var(--rt-text); border-radius: 10px; cursor: pointer; transition: background .15s, color .15s;
}
.rt-sc-btn:hover { background: rgba(255,255,255,.08); }
.rt-sc-btn:focus-visible, .rt-sc-track:focus-visible { outline: 2px solid var(--rt-amber); outline-offset: 2px; }
.rt-sc-btn svg { width: 24px; height: 24px; }
.rt-sc-btn:disabled { opacity: .4; cursor: default; }
.rt-sc-latest[aria-pressed="true"] { color: var(--rt-cyan); }
.rt-sc-track { -webkit-tap-highlight-color: transparent; position: relative; flex: 1; min-width: 0; height: 64px; cursor: grab; touch-action: none; border-radius: 8px; user-select: none; -webkit-user-select: none; }
.rt-sc-track canvas { display: block; width: 100%; height: 100%; }
.rt-sc-track.rt-grab { cursor: grabbing; }
.rt-sc-ld { color: #5b6b80; font-weight: 500; }
.rt-sc.rt-disabled .rt-sc-track { cursor: default; opacity: .5; }
.rt-sc-tip {
  position: absolute; bottom: calc(100% + 12px); left: 0; transform: translateX(-50%); padding: 7px 12px; border-radius: 9px; white-space: nowrap;
  background: #f4f7fb; color: #0b1a2b; font: 500 15px/1.1 Barlow, Arial, sans-serif; box-shadow: 0 10px 26px -8px rgba(0,0,0,.8);
  pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 5;
}
.rt-sc-tip b { font-weight: 700; }
.rt-sc-tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.rt-sc-tip.rt-show { opacity: 1; }
.rt-sc-hint { margin-top: 6px; font-size: 12px; color: var(--rt-dim); line-height: 1.3; }
.rt-sc-hint kbd { font: inherit; padding: 0 5px; border: 1px solid var(--rt-line); border-radius: 4px; background: rgba(255,255,255,.05); }

@media (max-width: 560px) {
  .rt-sc-bar { padding: 4px; gap: 2px; border-radius: 12px; }
  .rt-sc-btn { flex-basis: 44px; }
  .rt-sc-track { height: 60px; }
  .rt-sc-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rt-sc-tip { transition: none; } }
