:root {
    --nyt-bg: #0c1522;
    --nyt-surface: #142234;
    --nyt-accent: #65bfe9;
    --nyt-accent-dark: #226b99;
    --nyt-dropdown-bg: #142234;
    --nyt-glass-border: rgba(165, 212, 242, .16);
    --nyt-glass-border-strong: rgba(165, 212, 242, .28);
    scrollbar-color: #38536d transparent;
}
html#XF {
    background: #0c1522 !important;
}
html#XF .dimension-header, html#XF .p-header {
    background: linear-gradient(180deg, rgba(12, 21, 34, .22) 0%, rgba(12, 21, 34, .35) 35%, rgba(12, 21, 34, .72) 75%, #0c1522 100%),
        linear-gradient(90deg, rgba(12, 21, 34, .72) 0%, rgba(12, 21, 34, .12) 55%, rgba(12, 21, 34, .60) 85%, rgba(12, 21, 34, .90) 100%),
        url("/styles/nyt/times/winter-train.webp") center 38% / cover no-repeat !important;
}
html#XF .block-header {
    background: linear-gradient(110deg, #213c53, #192b3e) !important;
    border-bottom-color: #38536d;
    color: #e3f4ff;
}
html#XF .block--category .block-header {
    background: linear-gradient(90deg, rgba(8, 19, 30, .84), rgba(8, 19, 30, .25)),
        url("/styles/nyt/times/winter-sections.webp") center 72% / cover no-repeat !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}
html#XF .block--category .block-header .block-desc { color: #cbdce8; }
html#XF .block--category10 .block-header,
html#XF .block--category23 .block-header { background-position: center, center 58% !important; }
@media (max-width: 900px) {
    html#XF .dimension-header { background-position: center, center, 65% 38% !important; }
    html#XF .p-header { background: transparent !important; }
    html#XF .block--category .block-header { background-position: center, 70% 66% !important; }
}
html#XF .block-container, html#XF .block-container:has(.ny-wrapper) .message,
html#XF .ny-toc-sidebar { background: var(--nyt-glass-bg), #142234; }
html#XF .block-container:has(.ny-wrapper) { background: none; }
html#XF .p-nav .p-nav-inner, html#XF .p-header .focus-wrap-user,
html#XF .p-footer { background: #102033 !important; }
html#XF .button--primary, html#XF a.button--primary,
html#XF .button--cta, html#XF a.button--cta {
    background: linear-gradient(110deg, #9bdcf5, #66b9e1) !important;
    color: #102337 !important;
}
html#XF .button--primary:hover, html#XF a.button--primary:hover,
html#XF .button--cta:hover, html#XF a.button--cta:hover {
    box-shadow: 0 3px 12px rgba(100, 190, 233, .22);
}
html#XF ::selection { background: #356a91; color: #fff; }
html#XF .node-icon i { color: #86ccea; }
html#XF .p-footer a:hover { color: #9bdcf5; }
html#XF .p-header .p-navgroup--guest .p-navgroup-link--register {
    background: linear-gradient(110deg, #9bdcf5, #66b9e1) !important;
    color: #102337;
}
#nyt-winter-snow {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 110;
    contain: strict;
}
html:not(.focus-snow) #nyt-winter-snow { display: none; }
@media (prefers-reduced-motion: reduce) { #nyt-winter-snow { display: none; } }
