/* N70: preserve N69 decoration and dark palette. Three-mode launcher. */
body .mastactions #festiveToggle{font:600 11px/1.25 Arial,sans-serif;white-space:nowrap;min-height:34px;color:#fff;background:#35465c;border-color:#68778e;padding:6px 8px}
body .mastactions #festiveToggle:is([data-mode="festive"],[data-mode="snow"]){background:#304c3e;border-color:#80a787}
body .mastactions #festiveToggle:hover{box-shadow:0 0 0 2px #80a78766}
#festiveMenu[hidden]{display:none!important}
#festiveMenu{position:fixed;z-index:2147483000;width:min(280px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;box-sizing:border-box;padding:5px;display:grid;gap:4px;background:#263347;border:1px solid #68778e;border-radius:7px;box-shadow:0 5px 18px #0005}
#festiveMenu button{background:transparent;border:1px solid transparent;border-radius:4px;color:#fff;text-align:left;cursor:pointer;padding:9px;font:600 12px/1.35 Arial,sans-serif;white-space:normal}
#festiveMenu button[aria-pressed=true]{background:#385744;border-color:#80a787}
#festiveMenu button[aria-pressed=true]::after{content:' ✓';float:right}
#festiveMenu button:is(:hover,:focus-visible){outline:2px solid #80a787;outline-offset:-2px}
#festiveSnow{position:fixed;inset:0 0 auto;height:min(180px,26vh);overflow:hidden;z-index:2;pointer-events:none;contain:strict}
#festiveSnow i{position:absolute;left:var(--x);top:-8px;width:var(--size);height:var(--size);border-radius:50%;background:#fff;opacity:.65;box-shadow:0 0 2px #7895b0;animation:zago70-snow var(--duration) var(--delay) linear infinite;pointer-events:none}
@keyframes zago70-snow{from{transform:translate(0,0)}to{transform:translate(12px,190px)}}
#festiveSnow.paused i{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){#festiveSnow i{animation:none;top:calc(10px + var(--x)*.6)}}
@media(max-width:480px){body .mastactions #festiveToggle{font-size:10px;padding:5px 4px}}
/* Light theme only; no blanket inversion of images, logos or provider frames. */
body.light{color-scheme:light;--n70-ink:#20364b;--n70-muted:#435a70;--n70-tile:#f1f5fa;--n70-line:#bdcddd;--n70-accent:#24558a}
body.light .masthead{background:#fff;color:var(--n70-ink)}
body.light .mastbrand .brand{color:#20364b} /* same wordmark/flag/underline, light contrast */
body.light .mastbrand .sub,body.light .mastdate .small{color:var(--n70-muted)}
body.light .mastdate :is(#mastClock,.zago36-left-clock){color:var(--n70-ink)!important}
body.light .festive-greeting{background:#f8f5e9;color:#74511b}
body.light .mastactions #zago68RadioToggle{background:var(--n70-tile)!important;color:#755019!important;border-color:var(--n70-line)!important}
body.light #zago68RadioLive{color:#277540}
body.light .mastactions #festiveToggle{color:var(--n70-ink);background:var(--n70-tile);border-color:var(--n70-line)}
body.light .mastactions #festiveToggle:is([data-mode="festive"],[data-mode="snow"]){background:#e5f1e6;color:#255137;border-color:#7da88a}
body.light #festiveMenu,body.light #festiveTip{background:#fff;color:var(--n70-ink);border-color:var(--n70-line)}
body.light #festiveMenu button{color:var(--n70-ink)}
body.light #festiveMenu button[aria-pressed=true]{background:#e5f1e6;color:#255137}
body.light #festiveSnow i{background:#d9e9f7;box-shadow:0 0 1px #69839c}
body.light :is(#weather,#covers,#tv-schedule){background:#fff!important;color:var(--n70-ink)!important;border-color:var(--n70-line)}
body.light :is(#weather h2,#covers .head h2,#tv-schedule>h3){color:var(--n70-accent)!important}
body.light #covers .frontpages-mini,body.light #covers .frontpages-mini iframe{background:#fff}
body.light #covers .frontpages-categories :is(a,button),body.light #frontpagesRefresh,body.light #tv-schedule :is(.tv-actions a,#tvScheduleRefresh,#loadTvSchedule){background:var(--n70-tile)!important;color:var(--n70-ink)!important;border-color:var(--n70-line)!important}
body.light #covers .frontpages-categories #frontpagesExpand{background:#e1ebf5!important;border-color:#98b1ca!important}
body.light #covers :is(.frontpages-categories a,.frontpages-categories button,#frontpagesRefresh):is(:hover,:focus-visible),body.light #tv-schedule :is(.tv-actions a,#tvScheduleRefresh,#loadTvSchedule):is(:hover,:focus-visible){background:#dce8f4!important;outline-color:#567c9f}
body.light #covers .source-discreet,body.light #tv-schedule .tv-source,body.light #frontpagesStatus,body.light #tvScheduleStatus,body.light #tv-schedule .tv-now{color:var(--n70-muted)!important;border-color:var(--n70-line)}
body.light #covers .source-discreet a,body.light #tv-schedule .tv-source a{color:#24558a!important}
body.light #funpanel.zago38-offbeat{--text:#20364b;--muted:#435a70;--tile:#f1f5fa;--line:#bdcddd;--accent:#24558a;background:#fff!important;color:var(--text)!important;border-color:var(--line)!important}
body.light #funpanel.zago38-offbeat>h3{color:var(--accent)!important}
body.light #funpanel.zago38-offbeat #fun .zago26-fun-section{background:var(--tile)!important;border-color:var(--line)!important}
body.light #funpanel.zago38-offbeat #fun .zago26-fun-section>summary{color:var(--text)!important}
body.light #funpanel.zago38-offbeat #fun .zago26-fun-section>summary::before{color:#92500e!important}
body.light #funpanel.zago38-offbeat #fun .zago26-fun-section>summary:is(:hover,:focus-visible),body.light #funpanel.zago38-offbeat #fun .zago26-fun-section[open]>summary{background:#dce8f4!important;color:var(--text)!important}
body.light #funpanel.zago38-offbeat #fun .zago26-fun-body{background:#fff!important;border-color:var(--line)!important}
body.light #funpanel.zago38-offbeat #fun .zago26-fun-heading{color:var(--accent)!important}
body.light #funpanel.zago38-offbeat #fun .zago26-fun-body a.zago26-link{color:var(--text)!important;border-color:var(--line)!important}
body.light #funpanel.zago38-offbeat #fun .zago26-fun-body a.zago26-link:is(:hover,:focus-visible){color:#92500e!important}
body.light #weather :is(.current,.temp,.metrics,.metric,.weathericon,.weather-source,.liveStatus,.msg,.weather-source-links a,.weather-detail-link,.zago39-select-group>label){color:var(--n70-ink)!important}
body.light #weather .current :is(.small,.muted){color:var(--n70-muted)!important}
body.light #weather :is(#city,#zago39WorldButton,.wtools button),body.light #weather #forecast .weather-day-link,body.light #weather #forecast .day{background:var(--n70-tile)!important;color:var(--n70-ink)!important;border-color:var(--n70-line)!important}
body.light #weather #days button{color:var(--n70-ink)!important}
body.light #weather #days button:is(.active,[aria-selected=true],:hover,:focus-visible),body.light #weather #forecast .weather-day-link:is(:hover,:focus-visible),body.light #weather :is(.wtools button,#city,#zago39WorldButton):is(:hover,:focus-visible),body.light #weather.zago39-global-active #zago39WorldButton{background:#dce8f4!important;color:var(--n70-ink)!important}
body.light #weather #forecast :is(.high,.low,.wind-day){color:var(--n70-ink)!important}
body.light #weather :is(.extremes,.metrics,.metric){border-color:var(--n70-line)!important}
body.light #weather .current>.extremes .high{color:#963a25!important}
body.light #weather .current>.extremes .low{color:#285a84!important}
body.light #weather .weather-source-links a:hover{color:#92500e!important}
body.light .footer :is(a,#visitorInfo){color:var(--n70-muted)!important}
body.light #zago68RadioShell>#zagoRadio{background:#fff;color:var(--n70-ink);border-color:var(--n70-line)!important}
body.light #zago68RadioShell>#zagoRadio :is(button,#radioOrigin,select){background:var(--n70-tile)!important;color:var(--n70-ink)!important;border-color:var(--n70-line)!important}
/* Dynamic controls created by the existing scripts. */
body.light #quick :is(a,button),body.light #zago28-fun{background:var(--n70-tile)!important;color:var(--n70-ink)!important;border-color:var(--n70-line)!important}
body.light #quick :is(a,button):is(:hover,:focus-visible),body.light #zago28-fun:is(:hover,:focus-visible){background:#dce8f4!important;color:var(--n70-ink)!important}
body.light #zago46ToolsPanel :is(#zago44CalendarOpen,.zago45-tool-open){background:#e6edf4!important;color:var(--n70-ink)!important;border-color:var(--n70-line)!important}
body.light #zago46ToolsPanel :is(#zago44CalendarOpen,.zago45-tool-open) svg{stroke:var(--n70-ink)!important}
body.light #zago46ToolsPanel :is(#zago44CalendarOpen,.zago45-tool-open):is(:hover,:focus-visible){background:#dce8f4!important;outline-color:#567c9f!important}
body.light #news #categories button.active{background:#e8d5b5!important;color:#58360e!important}
/* Match the older high-specificity quickbar ID selectors and selected tabs. */
body.light .quickbar #quick>button[id],body.light .quickbar #quick>button:not(#zago28-fun),body.light .quickbar #quick>a:not(.quick-divider){background:var(--n70-tile)!important;color:var(--n70-ink)!important;border-color:var(--n70-line)!important}
body.light .quickbar #quick>button[id]:is(:hover,:focus-visible,[aria-expanded=true]),body.light .quickbar #quick>a:not(.quick-divider):is(:hover,:focus-visible){background:#dce8f4!important;color:var(--n70-ink)!important}
body.light .newsfilters .tabs button.active{background:#e8d5b5!important;color:#58360e!important}
body.light .quickbar #quick #zago28-fun{background:var(--n70-tile)!important;color:var(--n70-ink)!important;border-color:var(--n70-line)!important}
body.light .quickbar #quick #zago28-fun:is(:hover,:focus-visible,[aria-expanded=true]){background:#dce8f4!important}
body.light #news #categories button.active{background:#e8d5b5!important;color:#58360e!important}
body.light #categories>button.active{background:#e8d5b5!important;color:#58360e!important}
