/* Follow the theme until the user chooses a color; a saved choice wins in both themes. */
html[data-theme="day"] #floatingTimer .timer-display {
  color: var(--timer-color);
  text-shadow: none;
}
html[data-theme="day"] #floatingTimer.completed:not([data-custom-color="true"]) .timer-display {
  color: #ac4448;
}
html #floatingTimer[data-custom-color="true"] .timer-display {
  color: var(--timer-color);
  text-shadow: none;
}
/* Keep deliberately chosen pale/dark digits readable without changing the chosen fill. */
html[data-theme="day"] #floatingTimer[data-custom-color="true"][data-light-color="true"] .timer-display {
  -webkit-text-stroke: .4px rgba(23, 59, 75, .75);
}
html[data-theme="night"] #floatingTimer[data-custom-color="true"][data-light-color="false"] .timer-display {
  -webkit-text-stroke: .4px rgba(222, 239, 245, .75);
}
/* Color swatches must keep their actual color, including hover and selected states. */
html #timerMenu button[data-color] {
  background: var(--swatch);
}
html #timerMenu button[data-color].active {
  outline: 2px solid var(--ink, #edf5f6);
  outline-offset: 2px;
}

