/* GX Tracking | Mobile history light-theme control contrast v1.
 * Original 0.10.37 forces the restart pseudo-icon white with !important.
 * In the light theme 0.10.38 renders the button white, so the icon vanishes.
 * Modify only colors/disabled visibility of the existing history circles.
 * Never change button state, actions, geometry, map, dock or the dark theme.
 */
@media (max-width: 850px) {
  html[data-theme="light"] body.tracking-dashboard.gx64-mobile[data-gx64-view="history"] #sidebar.gx64-sheet #historyPanel #historyPlayback .history-playback-buttons > #historyRestartButton::before {
    color: #28425e !important;
    -webkit-text-fill-color: #28425e !important;
  }

  /* Previously the common :disabled rule dimmed an already invisible glyph.
   * Keep the control disabled, but make its pictogram readable in light mode.
   */
  html[data-theme="light"] body.tracking-dashboard.gx64-mobile[data-gx64-view="history"] #sidebar.gx64-sheet #historyPanel #historyPlayback .history-playback-buttons > #historyRestartButton:disabled {
    opacity: .84 !important;
  }

  /* The speed label is text, not a white-on-blue pictogram. Pin its foreground
   * to the already approved light palette, including Safari text painting.
   */
  html[data-theme="light"] body.tracking-dashboard.gx64-mobile[data-gx64-view="history"] #sidebar.gx64-sheet #historyPanel #historyPlayback .history-playback-buttons > #gxHistorySpeedCycleV01037 {
    color: #28425e !important;
    -webkit-text-fill-color: #28425e !important;
  }
}
