/* Homepage guide controls only. Keep the surrounding FreightShows navy. */
.tv-shell #guide :is(
  #daily-mode, #directory-mode, .guide-mode .archive-tab, #saved, #calendar-toggle,
  #chosen-date, #topic, #guide-tools-toggle, #today-full-guide,
  #day-strip .date-tab, #today-in-freight-items button
) {
  --guide-fill: #e9e5f8;
  --guide-hover: #f4efff;
  --guide-ink: #30234b;
  background: var(--guide-fill);
  border-color: transparent;
  color: var(--guide-ink);
}

.tv-shell #guide :is(
  #daily-mode, #today-full-guide, #day-strip .date-tab:first-child,
  #today-in-freight-items button:nth-child(3n+1)
) {
  --guide-fill: #d9efe6;
  --guide-hover: #edfaf3;
  --guide-ink: #173c30;
}

.tv-shell #guide :is(
  .guide-mode .archive-tab, #saved, #topic, #day-strip .date-tab:nth-child(2),
  #today-in-freight-items button:nth-child(3n+3)
) {
  --guide-fill: #fae7d5;
  --guide-hover: #fff3e6;
  --guide-ink: #4c301e;
}

/* Reserve the brightest fill and inset border for the current selection. */
.tv-shell #guide :is(.guide-mode button.active, .view-controls button[aria-pressed="true"], #day-strip .date-tab[aria-pressed="true"]) {
  background: var(--guide-hover);
  color: var(--guide-ink);
  box-shadow: inset 0 0 0 2px var(--guide-ink);
}

.tv-shell #guide :is(#day-strip .date-tab, #today-in-freight-items button) :is(small, span, strong),
.tv-shell #guide #saved-count {
  color: inherit;
}
.tv-shell #guide #saved-count { background: rgb(76 48 30 / 12%); }

.tv-shell #guide #today-full-guide {
  padding: .35rem .65rem;
  border-radius: 7px;
  font-weight: 700;
}

.tv-shell #guide :is(
  #daily-mode, #directory-mode, .guide-mode .archive-tab, #saved, #calendar-toggle,
  #chosen-date, #topic, #guide-tools-toggle, #today-full-guide,
  #day-strip .date-tab, #today-in-freight-items button
):is(:hover, :focus-visible) {
  background: var(--guide-hover);
  border-color: transparent;
  color: var(--guide-ink);
}
.tv-shell #guide :is(
  #daily-mode, #directory-mode, .guide-mode .archive-tab, #saved, #calendar-toggle,
  #chosen-date, #topic, #guide-tools-toggle, #today-full-guide,
  #day-strip .date-tab, #today-in-freight-items button
):focus-visible {
  outline: 2px solid #fff3de;
  outline-offset: 2px;
}
.tv-shell #guide #chosen-date { color-scheme: light; }
