
/* Light hero is cinematic: restore champagne gold regardless of broad light ink rules. */
html[data-theme="light"] .hero .eyebrow{color:#e8c77f!important}
html[data-theme="light"] .hero .hero-date,html[data-theme="light"] .hero .hero-date :is(.date-lockup,.date-number,.date-month,.date-month span,.air-schedule,.air-day,.air-time,.date-pending){color:#f8cf70!important}
/* Home capsule link only. */
html[data-theme="light"] #programs .calendar-home-link,html[data-theme="light"] #programs .calendar-home-link *{color:#30243e!important}
/* Category palette is shared by month cells, agenda and day popup. */
.event[data-kind="ภาพยนตร์"],.daylist .event[data-kind="ภาพยนตร์"]{--cat-bg:#dcd8fa;--cat-ink:#322b70;--cat-edge:#7163d4}
.event[data-kind="ซีรีส์"],.daylist .event[data-kind="ซีรีส์"]{--cat-bg:#d9eafa;--cat-ink:#244a73;--cat-edge:#4b8cc8}
.event[data-kind="บันเทิง"],.daylist .event[data-kind="บันเทิง"]{--cat-bg:#f7d9eb;--cat-ink:#76365b;--cat-edge:#c45d9d}
.event[data-kind="สารคดี / ความรู้"],.daylist .event[data-kind="สารคดี / ความรู้"]{--cat-bg:#d8f0e4;--cat-ink:#245d46;--cat-edge:#4caa7d}
.event[data-kind="เด็กและครอบครัว"],.daylist .event[data-kind="เด็กและครอบครัว"]{--cat-bg:#fbefc8;--cat-ink:#76581d;--cat-edge:#d6a83f}
.event[data-kind="กีฬา"],.daylist .event[data-kind="กีฬา"]{--cat-bg:#e4f0cf;--cat-ink:#45652a;--cat-edge:#86ac4d}
.event[data-kind="ข่าว"],.daylist .event[data-kind="ข่าว"]{--cat-bg:#fbe0d2;--cat-ink:#83492f;--cat-edge:#d17d56}
.event[data-kind="อื่น ๆ"],.daylist .event[data-kind="อื่น ๆ"]{--cat-bg:#e7e6ee;--cat-ink:#45435a;--cat-edge:#9892ad}
/* Specificity beats earlier monochrome event overrides, without changing other cards. */
html[data-theme="light"] :is(#schedule,#dayLayer) .event[data-kind],html[data-theme="dark"] :is(#schedule,#dayLayer) .event[data-kind]{background:var(--cat-bg)!important;border-left:3px solid var(--cat-edge)!important;color:var(--cat-ink)!important}
html[data-theme="light"] :is(#schedule,#dayLayer) .event[data-kind] :is(strong,small,.event-kind,.calendar-category-chip),html[data-theme="dark"] :is(#schedule,#dayLayer) .event[data-kind] :is(strong,small,.event-kind,.calendar-category-chip){color:var(--cat-ink)!important}
/* Day popup uses the same category chips as the month grid. */
#dayLayer .event .calendar-category-chip{display:inline-flex;align-items:center;margin:0 0 4px;padding:1px 6px;border:1px solid currentColor;border-radius:999px;font:700 9px/1.5 'Plus Jakarta Sans',sans-serif;letter-spacing:.055em;background:#ffffff38}
