/* Christmas is a separate preference, layered over the chosen day or night palette. */
.hltb-christmas-selection { margin: 36px 0 52px; padding: clamp(20px, 3vw, 38px); border: 1px solid var(--line, #d7e1e9); border-radius: 28px; background: var(--surface, #fff); color: var(--ink, #173346); }
.hltb-christmas-selection-intro { max-width: 850px; margin-bottom: 26px; }
.hltb-christmas-selection-intro .hltb-eyebrow { color: #9c3a38; font-size: 15px; }
.hltb-christmas-selection h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.15; margin: 10px 0 16px; }
.hltb-christmas-selection-intro > p:last-child { font-size: 19px; line-height: 1.65; margin: 0; }
.hltb-christmas-selection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hltb-christmas-pick { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line, #d7e1e9); border-radius: 20px; background: var(--surface, #fff); }
.hltb-christmas-pick-image { display: block; background: #f3efe1; }
.hltb-christmas-pick:nth-child(3n + 2) .hltb-christmas-pick-image { background: #e4eee6; }
.hltb-christmas-pick:nth-child(3n) .hltb-christmas-pick-image { background: #f5e5e1; }
.hltb-christmas-pick-image img { display: block; width: 100%; height: 220px; object-fit: contain; padding: 18px; box-sizing: border-box; mix-blend-mode: multiply; }
.hltb-christmas-pick-copy { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.hltb-christmas-pick-label { margin: 0 0 10px; color: #985039; font-size: 15px; font-weight: 750; }
.hltb-christmas-pick h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.25; }
.hltb-christmas-pick h3 a { color: inherit; text-decoration: none; }
.hltb-christmas-pick-copy > p:not(.hltb-christmas-pick-label):not(.hltb-christmas-pick-meta) { font-size: 18px; line-height: 1.65; margin: 0 0 18px; }
.hltb-christmas-pick-meta { font-size: 16px; margin: auto 0 16px; padding-top: 8px; }
.hltb-christmas-pick-link { color: inherit; font-size: 17px; font-weight: 750; text-underline-offset: 4px; }
.hltb-christmas-selection-note { font-size: 15px; line-height: 1.6; margin: 22px 0 0; }
html[data-hltb-theme="night"] .hltb-christmas-selection-intro .hltb-eyebrow, html[data-hltb-theme="night"] .hltb-christmas-pick-label { color: #f3b99b; }
@media (max-width: 1000px) { .hltb-christmas-selection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hltb-christmas-selection-grid { grid-template-columns: minmax(0, 1fr); } .hltb-christmas-selection { padding: 18px; border-radius: 22px; } .hltb-christmas-pick-copy { padding: 18px; } }
.hltb-christmas-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line, #d7e1e9);
    border-radius: 12px;
    background: var(--surface, #fff);
    color: var(--ink, #173346);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.hltb-christmas-toggle[aria-pressed="true"] { background: #174c40; border-color: #174c40; color: #fff6db; }
.hltb-christmas-toggle:focus-visible { outline: 3px solid #bb8034; outline-offset: 3px; }
.hltb-header .hltb-language .hltb-christmas-toggle { margin-left: 8px; flex: 0 0 auto; }
.hltb-christmas-greeting { display: none; }
.hltb-christmas-garland,
.hltb-christmas-ornaments,
.hltb-christmas-snow,
.hltb-christmas-motion { display: none; }
html[data-hltb-festive="on"] .hltb-christmas-garland {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 66px;
    overflow: hidden;
    background: linear-gradient(#153e2e 0, #224a35 21px, transparent 22px);
    pointer-events: none;
}
.hltb-christmas-garland svg { display: block; width: 100%; height: 76px; }
.hltb-christmas-bulb {
    color: var(--bulb);
    filter: drop-shadow(0 0 5px var(--bulb));
    animation: hltb-christmas-glow 4s ease-in-out var(--delay) infinite;
}
html[data-hltb-festive="on"] .hltb-christmas-ornaments {
    display: block;
    position: absolute;
    top: 0;
    right: 24px;
    width: 152px;
    height: 158px;
    pointer-events: none;
    z-index: 0;
}
.hltb-bauble { transform-box: fill-box; transform-origin: top center; animation: hltb-christmas-sway 7s ease-in-out infinite alternate; }
.hltb-bauble-gold { animation-delay: -3s; animation-duration: 9s; }
html[data-hltb-festive="on"] .hltb-christmas-snow {
    display: block;
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 20;
}
.hltb-christmas-snow span {
    position: absolute;
    top: -15px;
    left: var(--left);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 2px #4a6c7950;
    opacity: .5;
    animation: hltb-christmas-snowfall var(--duration) linear var(--delay) infinite;
}
html[data-hltb-festive="on"] .hltb-christmas-motion {
    display: inline-flex;
    position: fixed;
    bottom: 16px;
    left: 16px;
    min-height: 44px;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #c5ae77;
    border-radius: 100px;
    background: #fff8e9;
    color: #254636;
    font: inherit;
    font-size: 14px;
    box-shadow: 0 3px 12px #0002;
    z-index: 30;
    cursor: pointer;
}
.hltb-christmas-motion:focus-visible { outline: 3px solid #bb8034; outline-offset: 3px; }
html[data-hltb-festive-motion="off"] :is(.hltb-christmas-bulb, .hltb-bauble) { animation-play-state: paused; }
html[data-hltb-festive-motion="off"] .hltb-christmas-snow { display: none; }
@keyframes hltb-christmas-glow {
    0%, 18%, 100% { opacity: .3; filter: drop-shadow(0 0 0 transparent); }
    38%, 68% { opacity: 1; filter: drop-shadow(0 0 7px var(--bulb)) drop-shadow(0 0 12px var(--bulb)); }
    88% { opacity: .3; filter: drop-shadow(0 0 0 transparent); }
}
@keyframes hltb-christmas-sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes hltb-christmas-snowfall { from { transform: translate3d(0, -20px, 0); } to { transform: translate3d(36px, calc(100vh + 30px), 0); } }
html[data-hltb-festive="on"] body.hltb-app {
    --paper: #faf7ef;
    --ink: #183d35;
    --muted: #526b62;
    --line: #dbe4da;
    --surface-alt: #edf3ec;
    --accent: #276854;
    background: radial-gradient(ellipse at 0 0, #f3dfb455, transparent 45%), var(--paper);
}
html[data-hltb-festive="on"] .hltb-header {
    position: relative;
    padding-top: 66px;
    border-top: 4px solid #aa3b42;
    border-bottom-color: #d8c49a;
}
html[data-hltb-festive="on"] .hltb-mark { background: #f4d589; box-shadow: 3px 4px 0 #aa3b4225; }
html[data-hltb-festive="on"] .hltb-header nav a:hover { color: #a53640; }
html[data-hltb-festive="on"] .hltb-hero {
    background:
        radial-gradient(circle at 95% 18%, #fff7df 0 2px, transparent 3px),
        radial-gradient(circle at 83% 7%, #fff7dfb3 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 88% 43%, #fff7df80 0 2px, transparent 3px),
        radial-gradient(circle at 72% 20%, #fff7dfb3 0 1px, transparent 2px),
        radial-gradient(ellipse at 100% 0, #356c52, transparent 62%), #123d33;
    border: 1px solid #38634e;
    box-shadow: 0 12px 32px #123d3312;
}
html[data-hltb-festive="on"] .hltb-hero::before {
    border-color: #d4ab5a24;
    border-width: 45px;
}
html[data-hltb-festive="on"] .hltb-hero h1 { color: #fffaf0; }
html[data-hltb-festive="on"] .hltb-hero h1 em,
html[data-hltb-festive="on"] .hltb-hero .hltb-eyebrow { color: #f7d98b; }
html[data-hltb-festive="on"] .hltb-hero .hltb-lead { color: #e4efe5 !important; }
html[data-hltb-festive="on"] .hltb-hero-note { color: #d1e4d5 !important; }
html[data-hltb-festive="on"] .hltb-christmas-greeting {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px !important;
    padding: 7px 12px;
    border: 1px solid #d4ab5a70;
    border-radius: 100px;
    background: #ffffff08;
    color: #ffebbb !important;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    max-width: calc(100% - 120px);
}
html[data-hltb-festive="on"] .hltb-hero-art {
    background: radial-gradient(circle at 80% 20%, #47765a, transparent 65%), #204d3c;
    border-color: #8fa77c;
}
html[data-hltb-festive="on"] .hltb-small-brick { background: #bc4d53; }
html[data-hltb-festive="on"] .hltb-card { border-color: #dde5d9; border-top: 3px solid #b7474d; }
html[data-hltb-festive="on"] .hltb-card:nth-child(3n+2) { border-top-color: #2c7159; }
html[data-hltb-festive="on"] .hltb-card:nth-child(3n) { border-top-color: #c89943; }
html[data-hltb-festive="on"] .hltb-profile-heading { background: linear-gradient(115deg, #e8f0e6, #fff1d7); border-color: #d4dfce; }
html[data-hltb-festive="on"] .hltb-collection-card { border-top-color: #39775a; }
html[data-hltb-festive="on"] .hltb-collection-card:nth-child(3n+2) { border-top-color: #c89943; }
html[data-hltb-festive="on"] .hltb-collection-card:nth-child(3n) { border-top-color: #b7474d; }
html[data-hltb-festive="on"] .hltb-footer { border-top: 2px solid #c8994366; }
html[data-hltb-festive="on"] .hltb-set-nav { flex-wrap: wrap; }
html[data-hltb-festive="on"] .hltb-set-nav a { min-width: 0; overflow-wrap: anywhere; }
html[data-hltb-festive="on"][data-hltb-theme="night"] body.hltb-app {
    --paper: #101d1a;
    --ink: #edf4eb;
    --muted: #bacdbf;
    --line: #3b5549;
    --surface: #1a2d25;
    --surface-alt: #233d30;
    --accent: #acdab7;
    background: radial-gradient(ellipse at 0 0, #25473580, transparent 55%), var(--paper);
}
html[data-hltb-festive="on"][data-hltb-theme="night"] .hltb-header { border-bottom-color: #71613c; }
html[data-hltb-festive="on"][data-hltb-theme="night"] .hltb-header :is(.hltb-brand, nav a, .hltb-language a, .hltb-mobile-menu summary) { color: #edf4eb !important; }
html[data-hltb-festive="on"][data-hltb-theme="night"] .hltb-header .hltb-mobile-menu summary { background: #233d30; border-color: #55725a; }
html[data-hltb-festive="on"][data-hltb-theme="night"] .hltb-profile-heading { background: linear-gradient(115deg, #234332, #3b3024); border-color: #55725a; }
html[data-hltb-festive="on"][data-hltb-theme="night"] .hltb-header nav a:hover { color: #ffd4d0; }
html[data-hltb-festive="on"][data-hltb-theme="night"] .hltb-card { border-right-color: var(--line); border-bottom-color: var(--line); border-left-color: var(--line); }
@media (max-width: 650px) {
    html[data-hltb-festive="on"] .hltb-header { padding-top: 54px; }
    html[data-hltb-festive="on"] .hltb-christmas-garland { height: 54px; }
    html[data-hltb-festive="on"] .hltb-christmas-ornaments { width: 90px; height: 100px; right: 5px; }
    .hltb-christmas-ornaments svg { width: 90px; height: 100px; }
    .hltb-christmas-toggle { min-width: 44px; padding: 8px 10px; font-size: 14px; }
    .hltb-christmas-toggle span { display: none; }
    .hltb-header .hltb-header-inner { position: relative; }
    .hltb-header .hltb-language .hltb-christmas-toggle { position: absolute; top: 12px; right: 0; margin: 0; }
    .hltb-header .hltb-brand { max-width: calc(100% - 52px); font-size: clamp(18px, 5.2vw, 23px); }
    html[data-hltb-festive="on"] .hltb-christmas-greeting { font-size: 14px; margin-bottom: 14px !important; max-width: calc(100% - 65px); }
    .hltb-header .hltb-language { flex-wrap: wrap; row-gap: 8px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .hltb-christmas-bulb, .hltb-bauble { animation: none !important; }
    html[data-hltb-festive="on"] :is(.hltb-christmas-snow, .hltb-christmas-motion) { display: none; }
}
