/* Light version of the schedule. The existing dark palette is untouched. */
html[data-mr-theme="light"]{
  color-scheme:light;
  --bg-primary:#fff;
  --bg-secondary:#f6f8fa;
  --bg-hover:#f0f4f8;
  --accent:#0d6efd;
  --text-primary:#303740;
  --text-secondary:#536471;
  --border:#d8e0e7;
}
html[data-mr-theme="light"],
html[data-mr-theme="light"] body,
html[data-mr-theme="light"] :is(.container,.main-content,.event-list,#tvSection){background:#fff!important;color:#303740!important}
html[data-mr-theme="light"] *{scrollbar-color:#b7c2cc #f3f6f9}
html[data-mr-theme="light"] ::-webkit-scrollbar-track,
html[data-mr-theme="light"] ::-webkit-scrollbar-corner{background:#f3f6f9!important}
html[data-mr-theme="light"] ::-webkit-scrollbar-thumb{background:#b7c2cc!important;border-color:#f3f6f9!important}
html[data-mr-theme="light"] .filters{background:#fff!important;border-color:#e5eaf0!important}
html[data-mr-theme="light"] .filter-btn{color:#536471!important}
html[data-mr-theme="light"] .filter-btn:hover{background:#f3f6f9!important;color:#303740!important}
html[data-mr-theme="light"] .filter-btn.active{background:#fff!important;color:#303740!important;border-color:transparent!important}
html[data-mr-theme="light"] .filter-btn.active::after{background:#0d6efd!important}
html[data-mr-theme="light"] :is(.sport-quick-arrow,.sport-quick-tab){background:#fff!important;border-color:#d8e0e7!important;color:#536471!important}
html[data-mr-theme="light"] :is(.sport-quick-arrow,.sport-quick-tab):hover:not(:disabled){background:#f3f6f9!important;color:#303740!important}
html[data-mr-theme="light"] .sport-quick-tab.active{background:#303740!important;border-color:#303740!important;color:#fff!important}
html[data-mr-theme="light"] :is(.mr-x-tools .search-input-row,.mr-x-tools #mrSettingsOpen.mr-settings-header-btn,.search-trigger,.search-dropdown,.custom-select-trigger,.custom-select-dropdown){background:#fff!important;border-color:#d8e0e7!important;color:#303740!important}
html[data-mr-theme="light"] :is(.search-input,.mr-x-tools .search-input){color:#303740!important}
html[data-mr-theme="light"] :is(.search-input,.mr-x-tools .search-input)::placeholder{color:#8a97a3!important}
html[data-mr-theme="light"] :is(.search-result-item,.custom-select-option):hover{background:#f3f6f9!important;color:#303740!important}
html[data-mr-theme="light"] :is(.search-result-title,.custom-select-option.selected){color:#303740!important}
html[data-mr-theme="light"] #hotSlider.hot-slider-wrap{background:#fff!important;border-color:#e5eaf0!important}
html[data-mr-theme="light"] #hotSliderTrack>.hot-slide{background:#fff!important;border-color:#d8e0e7!important;color:#303740!important}
html[data-mr-theme="light"] :is(.hot-slider-title,.hot-slide-title,.hot-slide h3){color:#303740!important}
html[data-mr-theme="light"] :is(.hot-slide-meta,.hot-slide-channel,.hot-slider-count){color:#536471!important}
html[data-mr-theme="light"] :is(.event-item,.event-group,.event-group-header,.event-row,.day-section,.day-header){background:#fff!important;border-color:#e5eaf0!important;color:#303740!important}
html[data-mr-theme="light"] :is(.event-item,.event-group-header,.event-row):hover{background:#f6f8fa!important}
html[data-mr-theme="light"] :is(.event-title,.event-time,.event-group-time,.event-group-title,.event-name,.day-title){color:#303740!important}
html[data-mr-theme="light"] :is(.event-subtitle,.event-meta,.event-group-meta,.event-group-time-range,.channel-name,.day-date){color:#536471!important}
html[data-mr-theme="light"] :is(.event-group-toggle,.action-btn,.like-btn,.watchlist-btn){background:#f0f4f8!important;border-color:#d8e0e7!important;color:#536471!important}
html[data-mr-theme="light"] :is(.event-desc-panel-inner,.event-description){background:#f6f8fa!important;border-color:#d8e0e7!important;color:#536471!important;box-shadow:none!important}
html[data-mr-theme="light"] .event-desc-panel-header .desc-title{color:#303740!important}
html[data-mr-theme="light"] .event-desc-panel-header .desc-meta-item,
html[data-mr-theme="light"] .event-desc-panel-header .desc-meta-item .desc-meta-label{color:#536471!important}
html[data-mr-theme="light"] :is(.timeline,.date-timeline,.load-more-wrap,.empty-state,.loading){background:#fff!important;color:#536471!important;border-color:#e5eaf0!important}
html[data-mr-theme="light"] :is(.date-label,.timeline-date,.section-title){color:#303740!important}
html[data-mr-theme="light"] :is(.mr-settings-overlay,.mr-tutorial-layer){color:#303740!important}
html[data-mr-theme="light"] :is(.mr-settings-dialog,.mr-tut-bubble){background:#fff!important;border-color:#d8e0e7!important;color:#303740!important;box-shadow:0 20px 60px rgba(15,23,42,.18)!important}
html[data-mr-theme="light"] :is(.mr-settings-mini,.mr-tab-sort-item,.mr-settings-tutorial,.mr-tab-sort-actions button,.mr-tab-sort-icon){background:#f6f8fa!important;border-color:#d8e0e7!important;color:#536471!important}
html[data-mr-theme="light"] :is(.mr-settings-title,.mr-tab-sort-label,.mr-tut-bubble h3){color:#303740!important}
html[data-mr-theme="light"] .mr-feed-personalizer{background:#fff!important;color:#303740!important}
html[data-mr-theme="light"] :is(.mr-feed-choice,.mr-feed-hot-sports-block,.mr-feed-hot-sport,.mr-feed-search,.mr-feed-club,.mr-feed-custom input,.mr-feed-note,.mr-feed-settings-summary,.mr-feed-secondary){background:#f6f8fa!important;border-color:#d8e0e7!important;color:#303740!important}
html[data-mr-theme="light"] :is(.mr-feed-choice:hover,.mr-feed-hot-sport:hover,.mr-feed-club:hover){background:#eef2f6!important}
html[data-mr-theme="light"] :is(.mr-feed-search input,.mr-feed-custom input){color:#303740!important}
html[data-mr-theme="light"] .mr-feed-footer{background:rgba(255,255,255,.92)!important;border-color:#d8e0e7!important}
html[data-mr-theme="light"] #tvSection :is(.tvg-channel,.tvg-program,.tvg-row,.tvg-group,.tvg-groups){background:#fff!important;border-color:#e5eaf0!important;color:#303740!important}
html[data-mr-theme="light"] #tvSection :is(.tvg-channel:hover,.tvg-program:hover,.tvg-row:hover){background:#f6f8fa!important}
html[data-mr-theme="light"] #tvSection :is(.tvg-title,.tvg-channel-name,.tvg-program-title){color:#303740!important}
html[data-mr-theme="light"] #tvSection :is(.tvg-time,.tvg-meta,.tvg-description){color:#536471!important}
html[data-mr-theme="light"] :is(.mr-feed-mini,.mr-feed-settings-edit,.mr-watch-pill,.load-more-btn,.btn-primary){border-color:#0d6efd!important}
html[data-mr-theme="light"] .mr-watch-pill{background:#0d6efd!important;color:#fff!important}
@media(max-width:760px){html[data-mr-theme="light"] .filters{box-shadow:0 1px 0 #e5eaf0!important}}

/* Muted dark-theme labels must retain contrast on the white schedule. */
html[data-mr-theme="light"] .mr-list-x :is(.event-subtitle,.event-league,.ev-station,.ev-station a,.event-group-meta,.event-group-time-range),
html[data-mr-theme="light"] .mr-list-x .event-item:hover .ev-station{
  color:#536471!important;
}
html[data-mr-theme="light"] .mr-settings-dialog .mr-feed-settings-edit{
  background:#eaf2fc!important;
  border-color:#9fbddd!important;
  color:#174f89!important;
}
html[data-mr-theme="light"] .mr-settings-dialog .mr-feed-settings-edit:hover{
  background:#dceafa!important;
  color:#123f70!important;
}
