/* Seasonal homepage additions; independent of the site's Tailwind build. */
.jansch-winter-controls[hidden], .jansch-snow[hidden] { display: none; }
.jansch-winter-controls { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 1000; display: flex; flex-wrap: wrap; gap: 8px; max-width: calc(100vw - 80px); }
.jansch-winter-controls button { border: 1px solid #d8d8d8; border-radius: 999px; padding: 10px 15px; background: #fff; color: #242424; box-shadow: 0 3px 16px #102e3d26; font: inherit; font-size: 14px; cursor: pointer; min-height: 44px; }
.jansch-winter-controls button:hover { background: #f4f4f4; }
.jansch-winter-controls button:focus-visible, .jansch-christmas button:focus-visible { outline: 3px solid #c89532; outline-offset: 4px; }
.jansch-snow { position: fixed; inset: 0; z-index: 900; overflow: hidden; pointer-events: none; }
.jansch-snow span { position: absolute; top: -12px; left: var(--left); width: var(--size); height: var(--size); border-radius: 50%; background: #fff; box-shadow: 0 0 3px #345b5e80; opacity: var(--opacity); animation: jansch-snowfall var(--duration) var(--delay) linear infinite; }
.jansch-snow--paused span { animation-play-state: paused; }
@keyframes jansch-snowfall { to { transform: translate3d(var(--drift), calc(100vh + 24px), 0); } }
.jansch-christmas { position: fixed; inset: 0; margin: auto; padding: 0; width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid #ffffff70; border-radius: 20px; background: #fff; color: #242424; box-shadow: 0 24px 100px #071e4266; }
.jansch-christmas::backdrop { background: #151515b3; backdrop-filter: blur(5px); }
.jansch-christmas__image { display: block; width: 100%; height: auto; }
.jansch-christmas__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid #ffffff55; border-radius: 50%; color: #fff; background: #102e3ddd; font-size: 28px; line-height: 1; cursor: pointer; }
.jansch-christmas__body { padding: 28px 36px 32px; text-align: center; }
.jansch-christmas__eyebrow { margin: 0 0 10px; color: #6b6b6b; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.jansch-christmas h2 { margin: 0 0 16px; color: #242424; font-family: inherit; letter-spacing: -.025em; font-size: clamp(30px, 6vw, 40px); font-weight: 700; line-height: 1.15; }
.jansch-christmas__body p:not(.jansch-christmas__eyebrow) { margin: 0 0 16px; font-size: 16px; line-height: 1.65; color: #595959; }
.jansch-christmas__body strong { color: #242424; }
.jansch-christmas__continue { margin-top: 6px; min-height: 44px; padding: 12px 24px; border: 0; border-radius: 8px; background: #46586d; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.jansch-christmas__continue:hover { background: #303e50; }
@media (max-width: 480px) { .jansch-christmas__body { padding: 24px 22px; } .jansch-winter-controls { gap: 6px; } .jansch-winter-controls button { padding: 9px 12px; } }
@media (prefers-reduced-motion: reduce) { .jansch-snow span { animation-play-state: paused; } }

/* Isolate the seasonal card from the existing Elvyre theme defaults. */
.jansch-christmas, .jansch-christmas *, .jansch-winter-controls, .jansch-winter-controls * { box-sizing: border-box; }
.jansch-christmas { font-family: Arial, Helvetica, sans-serif; }
.jansch-christmas:not([open]) { display: none; }
.jansch-christmas__body strong { font-weight: 700; }
.jansch-christmas__close { padding: 0; }
.jansch-christmas__eyebrow { line-height: 1.5; }
.jansch-winter-controls { bottom: max(24px, env(safe-area-inset-bottom)); left: max(88px, env(safe-area-inset-left)); max-width: calc(100vw - 104px); }
@media (max-width: 480px) { .jansch-winter-controls { left: max(12px, env(safe-area-inset-left)); bottom: max(88px, env(safe-area-inset-bottom)); max-width: calc(100vw - 24px); } }

.jansch-christmas__continue { font-size: 16px; }
.jansch-christmas { line-height: 1.5; }
