/* Explicit reader appearance. Surfaces are detected from the edition's rendered styles. */
html[data-universal-theme=dark]{--reader-bg:#101219;--reader-panel:#1a1d27;--reader-soft:#202532;--reader-fg:#f0f2f7;--reader-muted:#bdc5d5;--reader-line:#4c566a;--reader-scheme:dark}
html[data-universal-theme=light]{--reader-bg:#ffffff;--reader-panel:#fff;--reader-soft:#edf1f7;--reader-fg:#142031;--reader-muted:#526074;--reader-line:#becadb;--reader-scheme:light}
html[data-universal-theme] {background:var(--reader-bg);color-scheme:var(--reader-scheme)}
html[data-universal-theme] body{--paper:var(--reader-bg)!important;--ink:var(--reader-fg)!important;--muted:var(--reader-muted)!important;--line:var(--reader-line)!important;--edition-bg:var(--reader-bg)!important;--edition-fg:var(--reader-fg)!important;--fe-paper:var(--reader-bg)!important;--fe-panel:var(--reader-panel)!important;--fe-ink:var(--reader-fg)!important;--fe-muted:var(--reader-muted)!important;--fe-line:var(--reader-line)!important;background:var(--reader-bg)!important;color:var(--reader-fg)!important}
html[data-universal-theme] body [data-reader-surface][data-reader-surface]{background:var(--reader-panel)!important;color:var(--reader-fg)!important;box-shadow:none}
html[data-universal-theme] body [data-reader-surface=soft][data-reader-surface]{background:var(--reader-soft)!important}
html[data-universal-theme] body [data-reader-text][data-reader-text]{color:var(--reader-fg)!important;-webkit-text-fill-color:currentColor}
html[data-universal-theme] body [data-reader-text=muted][data-reader-text]{color:var(--reader-muted)!important}
html[data-universal-theme] body [data-reader-text=accent][data-reader-text]{color:var(--reader-text-accent,var(--reader-fg))!important}
html[data-universal-theme] body [data-reader-border][data-reader-border]{border-color:var(--reader-line)!important}
html[data-universal-theme] body [data-reader-input][data-reader-input]{background:var(--reader-panel)!important;color:var(--reader-fg)!important;border-color:var(--reader-line)!important;caret-color:var(--reader-fg)!important;color-scheme:var(--reader-scheme)}
html[data-universal-theme] body [data-reader-input]::placeholder{color:var(--reader-muted)!important;opacity:1}
html[data-universal-theme] body [data-reader-action][data-reader-action]{background:var(--reader-action-bg)!important;color:var(--reader-action-fg)!important;border-color:var(--reader-action-bg)!important}
html[data-universal-theme] body [data-reader-action] :is(svg,span){color:inherit!important}
html[data-universal-theme] body :focus-visible{outline:2px solid var(--reader-fg)!important;outline-offset:4px}
@media(prefers-reduced-motion:reduce){html[data-universal-theme] body [data-reader-surface]{transition:none!important}}
/* Keep text on photographic overlays legible in both page appearances. */
html[data-universal-theme] body :is(.nf-cover,.nw-hero,.ce-cover,.ti-cover,.dv-hero,.sp-cover,.gx-hero,.ff-hero,.np-cover,.bp-cover,.gs-cover,.hs-hero,.bv-hero,.tv-cover,.pd-slide,.le-lead-arcade,.bp-overlay,.hs-desk-lead,.bv-release-banner,.hs-era-band,.hs-era-grid>a,.ff-program,.ff-program-tabs a,.tv-regions a,[data-reader-preserve]:not(.phone-publication-header):not(.globex-desktop-news-strip):not(.publication-desktop-news-strip)){--fe-ink:#fff;--ink:#fff;--edition-fg:#fff;--muted:#e1e5eb;color:#fff!important}
html[data-universal-theme] body [data-reader-action][data-reader-action] :is(span,small,b,strong,svg){color:var(--reader-action-fg)!important}

/* Preserved responsive controls are UI surfaces, not photographic overlays. */
html[data-universal-theme] body :is(.phone-publication-header,.globex-desktop-news-strip,.publication-desktop-news-strip){--ink:var(--reader-fg);--edition-fg:var(--reader-fg);--muted:var(--reader-muted);color:var(--reader-fg)!important}
html[data-universal-theme=light] body .phone-publication-header{background:#fff!important}
html[data-universal-theme] body :is(.phone-publication-header,.universal-toolbar,.phone-publication-appearance) :is(.universal-icon,.publication-language-trigger,.universal-search){color:var(--reader-fg)!important;border-color:var(--reader-line)!important}
html[data-universal-theme] body :is(.phone-publication-header,.globex-desktop-news-strip,.publication-desktop-news-strip) .phone-publication-ticker>a{color:var(--reader-fg)!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;visibility:visible!important}
html[data-universal-theme] body .phone-publication-header .phone-publication-nav a:not([aria-current]){color:var(--reader-fg)!important;-webkit-text-fill-color:currentColor!important}
html[data-universal-theme=light] body .phone-publication-header .phone-publication-topics a{color:#142031!important;-webkit-text-fill-color:currentColor!important}
html[data-universal-theme=dark] body .phone-publication-header .phone-publication-topics a{color:#f0f2f7!important;-webkit-text-fill-color:currentColor!important;background:#42203c!important}
html[data-universal-theme] body .phone-publication-header .phone-publication-ticker>strong{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* DramaVerse's cloned phone brand needs its own theme colors. */
@media(max-width:767px){
 html[data-universal-theme] body .phone-publication-header .dv-brand{max-width:100%!important;white-space:nowrap}
 html[data-universal-theme] body .phone-publication-header .dv-brand .dv-logomark{width:30px!important;height:30px!important;min-width:30px!important;border-radius:9px!important;background:#a51a94!important;background-image:none!important;color:#fff!important;box-shadow:none!important}
 html[data-universal-theme] body .phone-publication-header .dv-brand .dv-logomark svg{color:#fff!important;stroke:#fff!important;fill:none!important}
 html[data-universal-theme=light] body .phone-publication-header .dv-brand .n-brandname,html[data-universal-theme=light] body .phone-publication-header .dv-brand .n-brandname>span{background:none!important;color:#b51279!important;-webkit-text-fill-color:#b51279!important}
 html[data-universal-theme=dark] body .phone-publication-header .dv-brand .n-brandname,html[data-universal-theme=dark] body .phone-publication-header .dv-brand .n-brandname>span{background:none!important;color:#f68fcd!important;-webkit-text-fill-color:#f68fcd!important}
}

/* Reviews use the page palette; thumbnails fill their entire media cell. */
html[data-universal-theme] body[data-template=template2] .dv-desk-reviews{--dv-surface:var(--reader-panel);--dv-text:var(--reader-fg);--dv-soft:var(--reader-muted);--dv-stroke:var(--reader-line);background:var(--reader-panel)!important;color:var(--reader-fg)!important}
body[data-template=template2] #content :is(.dv-desk-reviews,[data-collection-layout=reviews]) .dv-card>.dv-media{position:relative!important;overflow:hidden;align-self:stretch;background:var(--reader-soft,#edf1f7)!important;min-height:150px}
body[data-template=template2] #content :is(.dv-desk-reviews,[data-collection-layout=reviews]) .dv-card>.dv-media>.dv-photo{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important;padding:0!important;margin:0!important}
body[data-template=template2] #content :is(.dv-desk-reviews,[data-collection-layout=reviews]) .dv-photo img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}
body[data-template=template2] #content :is(.dv-desk-reviews,[data-collection-layout=reviews]) .dv-thumbnail-top{position:absolute!important;top:6px!important;right:6px!important;background:transparent!important}
body[data-template=template2] #content :is(.dv-desk-reviews,[data-collection-layout=reviews]) .dv-thumbnail-top button{background:#171923e8!important;color:#fff!important;border-color:#ffffff70!important}
@media(max-width:767px){body[data-template=template2] #content :is(.dv-desk-reviews,[data-collection-layout=reviews]) .dv-thumbnail-top button{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:6px!important}}

html[data-universal-theme] body[data-template=template2] .dv-desk-reviews .dv-desk-intro h2{background:none!important;color:var(--reader-fg)!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}

/* Article artwork stays landscape in every edition appearance and viewport. */
body[data-template=template2] #content .dv-article-hero{align-items:start!important;gap:clamp(20px,3vw,40px)!important}
body[data-template=template2] #content .dv-article-hero .dv-story-cover{align-self:start!important;height:auto!important;min-height:0!important;margin:0!important}
body[data-template=template2] #content .dv-story-page .dv-story-cover img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/9!important;object-fit:cover!important;object-position:center!important}
body[data-template=template2] #content .dv-article-hero .dv-story-heading{align-self:center;min-width:0;padding-block:0!important}
@media(max-width:850px){body[data-template=template2] #content .dv-article-hero{grid-template-columns:minmax(0,1fr)!important}body[data-template=template2] #content .dv-article-hero .dv-story-heading h1{font-size:clamp(28px,7vw,40px)!important;line-height:1.12!important}}



body[data-template=template2] #content .dv-article-subscribe{box-sizing:border-box;display:flex;flex-direction:column;gap:16px;margin-block:28px;padding:24px;border:1px solid var(--reader-line,#becadb);border-radius:20px;background:var(--reader-panel,#fff);color:var(--reader-fg,#142031)}
body[data-template=template2] #content .dv-article-subscribe h2{margin:0!important;font:700 clamp(24px,3vw,32px)/1.2 Manrope,Arial,sans-serif;letter-spacing:-.04em;color:inherit;-webkit-text-fill-color:currentColor}
body[data-template=template2] #content .dv-article-subscribe p{margin:0!important;font:400 16px/1.65 Manrope,Arial,sans-serif}
body[data-template=template2] #content .dv-article-subscribe .dv-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;box-sizing:border-box;background:#df128b!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:0;border-radius:999px;text-decoration:none;font:750 14px/1.4 Manrope,Arial,sans-serif;padding:14px 20px}
@media(max-width:767px){body[data-template=template2] #content .dv-article-subscribe{padding:20px;gap:14px}}

/* Article category badge remains a link to its topic collection. */
body[data-template=template2] #content .dv-article-eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-bottom:12px}
html[data-universal-theme] body[data-template=template2] #content .dv-article-eyebrow .dv-tag{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:7px 14px;box-sizing:border-box;border:1px solid #d62a8c55;border-radius:999px;background:#fce7f3!important;color:#9d1466!important;-webkit-text-fill-color:#9d1466!important;font:750 11px/1.4 Manrope,Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;text-decoration:none}
html[data-universal-theme=dark] body[data-template=template2] #content .dv-article-eyebrow .dv-tag{background:#42203c!important;border-color:#cc6fa666!important;color:#ffb6df!important;-webkit-text-fill-color:#ffb6df!important}
body[data-template=template2] #content .dv-article-eyebrow .dv-tag:hover{filter:brightness(.94)}
body[data-template=template2] #content .dv-article-eyebrow>span{font:600 10px/1.5 Manrope,Arial,sans-serif;letter-spacing:.1em;color:var(--reader-muted,#526074)}
/* The appearance changes; the publication's own identity stays visible. */
html[data-universal-theme] body [data-reader-surface=brand][data-reader-surface]{background:var(--reader-brand)!important;color:var(--reader-brand-ink)!important;border-color:var(--reader-brand)!important}
html[data-universal-theme] body [data-reader-surface=brand] [data-reader-text][data-reader-text]:not([data-reader-action]):not([data-reader-action] *){color:var(--reader-context-fg,var(--reader-brand-ink))!important;-webkit-text-fill-color:currentColor!important}
html[data-universal-theme] body[data-template] .universal-toolbar .universal-subscribe{background:var(--reader-button-bg)!important;color:var(--reader-button-ink)!important;-webkit-text-fill-color:var(--reader-button-ink)!important}
html[data-universal-theme] body[data-template] .phone-publication-header{background:var(--reader-panel)!important}
html[data-universal-theme] body[data-template] .phone-publication-header .phone-publication-nav a[aria-current]{color:var(--reader-accent)!important;-webkit-text-fill-color:currentColor!important;border-bottom-color:var(--reader-brand)!important}
html[data-universal-theme] body[data-template] .phone-publication-header .phone-publication-topics strong{color:var(--reader-accent)!important}
html[data-universal-theme] body[data-template] .phone-publication-header .phone-publication-topics a{background:var(--reader-soft)!important;color:var(--reader-fg)!important;-webkit-text-fill-color:currentColor!important}
html[data-universal-theme] body[data-template] :is(.p-kicker,.nw-section-title .p-kicker,.dv-tag,.sp-category){color:var(--reader-accent)}
html[data-universal-theme] body[data-template=template4] .sp-page-curtain.sp-page-curtain{background:linear-gradient(125deg,#f21b3f,#cc1031 65%,#8f0b22)!important;color:#fff!important}
html[data-universal-theme] body[data-template=template4] .sp-page-curtain.sp-page-curtain span{color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-universal-theme] body[data-template]{--brand:var(--reader-brand)!important;--edition-accent:var(--reader-brand)!important;--fe-accent:var(--reader-brand)!important}
html[data-universal-theme] body[data-template] :is(.p-button,.bn-button,.dv-button,.sp-button,.gx-button,.ff-button,.np-button,.gs-button,.bv-button,.hs-button,.cs-button,.tv-button,.pd-button,.bp-button,.ti-button,.nw-button,.account-primary){background:var(--reader-button-bg)!important;color:var(--reader-button-ink)!important;-webkit-text-fill-color:var(--reader-button-ink)!important;border-color:var(--reader-button-bg)!important}
html[data-universal-theme] body[data-template] :is(.p-button,.bn-button,.dv-button,.sp-button,.gx-button,.ff-button,.np-button,.gs-button,.bv-button,.hs-button,.cs-button,.tv-button,.pd-button,.bp-button,.ti-button,.nw-button,.account-primary) :is(span,svg){color:inherit!important;-webkit-text-fill-color:currentColor!important}

/* Neutral reader controls follow the selected mode, never retain a previous colored fill. */
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) :is(.universal-toolbar,.phone-publication-header,.phone-publication-appearance,.phone-masthead-tools) :is(.universal-icon,.universal-filter-button,.publication-language-trigger,.universal-search){background:var(--reader-panel)!important;background-image:none!important;color:var(--reader-fg)!important;-webkit-text-fill-color:currentColor!important;border-color:var(--reader-line)!important}
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) .universal-search input[type=search]{background:transparent!important;background-image:none!important;color:var(--reader-fg)!important;-webkit-text-fill-color:currentColor!important;border:0!important;box-shadow:none!important}
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) .universal-search input[type=search]::placeholder{color:var(--reader-muted)!important;-webkit-text-fill-color:var(--reader-muted)!important;opacity:1}
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) .universal-search>button{background:transparent!important;color:var(--reader-fg)!important;-webkit-text-fill-color:currentColor!important;border-color:var(--reader-line)!important}
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) :is(.publication-language-menu,.publication-language-menu [role=option]){background:var(--reader-panel)!important;color:var(--reader-fg)!important;border-color:var(--reader-line)!important}
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) .publication-language-menu [aria-selected=true]{background:var(--reader-soft)!important;color:var(--reader-accent)!important}
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) .demo-controls{background:var(--reader-panel)!important;color:var(--reader-fg)!important;border-color:var(--reader-line)!important}
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) .demo-controls>span{color:var(--reader-muted)!important}
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) .demo-controls button{background:transparent!important;color:var(--reader-fg)!important;border-color:var(--reader-line)!important}
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) .demo-controls button[aria-pressed=true]{background:var(--reader-button-bg)!important;color:var(--reader-button-ink)!important;border-color:var(--reader-button-bg)!important}

/* Editorial labels use an accessible edition accent on every panel shade. */
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) [data-reader-text=accent][data-reader-text]{color:var(--reader-text-accent,var(--reader-accent))!important;-webkit-text-fill-color:currentColor!important}
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) [data-reader-surface=brand] [data-reader-text][data-reader-text]:not([data-reader-action]):not([data-reader-action] *){color:var(--reader-context-fg,var(--reader-brand-ink))!important;-webkit-text-fill-color:currentColor!important}
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) [data-reader-surface=brand] a[aria-current]{color:var(--reader-context-fg,var(--reader-brand-ink))!important;-webkit-text-fill-color:currentColor!important}
html[data-universal-theme] body:is([data-template],[class*="gx-page-"]) .gx-live{background:var(--reader-brand)!important;color:var(--reader-context-fg,var(--reader-brand-ink))!important;-webkit-text-fill-color:currentColor!important}

/* A card inside a colored section owns its foreground independently. */
html[data-universal-theme] body [data-reader-surface]{--reader-context-fg:var(--reader-fg)}
html[data-universal-theme] body [data-reader-surface=brand]{--reader-context-fg:var(--reader-brand-ink)}
html[data-universal-theme] body #content [data-reader-text=accent][data-reader-text]{color:var(--reader-text-accent,var(--reader-accent))!important;-webkit-text-fill-color:currentColor!important}
html[data-universal-theme] body #content [data-reader-surface=brand] [data-reader-text][data-reader-text]:not([data-reader-action]):not([data-reader-action] *){color:var(--reader-context-fg,var(--reader-brand-ink))!important;-webkit-text-fill-color:currentColor!important}

/* TravelVista Base: Soft Pastel Duo ? Yellow & Mint. */
html[data-appearance-mode=base] body[data-template=template20]{--tv-pastel-yellow:#fffbef;--tv-pastel-mint:#bce8cf;--tv-pastel-soft:#d7f0df;--tv-pastel-ink:#142031}
html[data-appearance-mode=base] body[data-template=template20] :is(.tv-nav a[aria-current],.tv-nav a:first-child,.phone-publication-nav a[aria-current],.phone-publication-topics a,.tv-category,.tv-tag,.tv-label){background:var(--tv-pastel-mint)!important;color:var(--tv-pastel-ink)!important;-webkit-text-fill-color:currentColor!important;border-color:#8bbba1!important}
html[data-appearance-mode=base] body[data-template=template20] :is(.tv-category,.tv-tag,.tv-label){border-radius:999px;padding:4px 10px}
html[data-appearance-mode=base] body[data-template=template20] :is(.tv-nav a,.phone-publication-nav a,.tv-button,.universal-subscribe,.demo-controls button[aria-pressed=true]):hover{background:var(--tv-pastel-soft)!important;color:var(--tv-pastel-ink)!important;-webkit-text-fill-color:currentColor!important}
html[data-appearance-mode=base] body[data-template=template20] :focus-visible{outline-color:#34664e!important}

/* Soft Pastel Duo: a continuous yellow-to-mint gradient in Base mode. */
html[data-appearance-mode=base]:has(body[data-template=template20]){background:#fffbef!important}
html[data-appearance-mode=base] body[data-template=template20]{background:linear-gradient(135deg,#fffbef 0%,#eaf4e8 48%,#bce8cf 100%)!important;background-attachment:fixed!important}
html[data-appearance-mode=base] body[data-template=template20] .publication-layout-parent,
html[data-appearance-mode=base] body[data-template=template20] .publication-layout-parent>:is(header,main,footer,.p-preview-bar,.universal-toolbar),
html[data-appearance-mode=base] body[data-template=template20] :is(.tv-header,.tv-nav,.tv-main,.phone-publication-header){background:transparent!important;background-image:none!important}
html[data-appearance-mode=base] body[data-template=template20] :is(.ap-slot,.tv-card,.tv-sidebar,.tv-newsletter){background:linear-gradient(125deg,#fffbefeb,#bce8cfeb)!important}
html[data-appearance-mode=base] body[data-template=template20] :is(.universal-subscribe,.tv-button,.demo-controls button[aria-pressed=true]){background:linear-gradient(110deg,#fffbef,#bce8cf)!important;color:#142031!important;-webkit-text-fill-color:#142031!important;border-color:#8bbba1!important}

/* TravelVista sticky headers must cover scrolling content in all three appearances. */
html[data-universal-theme] body[data-template=template20] .publication-layout-parent>header.tv-header,
html[data-universal-theme] body[data-template=template20] .publication-layout-parent>header.phone-publication-header{background:var(--reader-panel)!important;background-image:none!important;color:var(--reader-fg)!important;isolation:isolate;border-bottom:1px solid var(--reader-line)!important;box-shadow:0 3px 14px #0000000d}
html[data-appearance-mode=base] body[data-template=template20] .publication-layout-parent>header.tv-header,
html[data-appearance-mode=base] body[data-template=template20] .publication-layout-parent>header.phone-publication-header{background:linear-gradient(135deg,#fffbef 0%,#eaf4e8 48%,#bce8cf 100%)!important}
html[data-universal-theme] body[data-template=template20] .tv-header .tv-nav{background:transparent!important;background-image:none!important}
html[data-universal-theme] body[data-template=template20] .tv-header :is(.tv-brand,.n-brandname,.tv-masthead>p){color:var(--reader-fg)!important;-webkit-text-fill-color:currentColor!important}
html[data-universal-theme] body[data-template=template20] .tv-header .tv-nav>a{background:var(--reader-soft)!important;color:var(--reader-fg)!important;-webkit-text-fill-color:currentColor!important;border-color:var(--reader-line)!important}
html[data-universal-theme] body[data-template=template20] .tv-header .tv-nav>a:is([aria-current],.tv-nav-main){background:var(--reader-button-bg)!important;color:var(--reader-button-ink)!important;-webkit-text-fill-color:currentColor!important;border-color:var(--reader-button-bg)!important}
