/* Christmas Respawn: photographed decorations, confined to the navigation. */
html body .rsp-christmas-header {
  --christmas-height: 78px;
  --christmas-admin-offset: 0px;
  height: var(--christmas-height) !important;
  min-height: var(--christmas-height) !important;
  background: #100c0b !important;
  border-bottom: 1px solid #b79b6238 !important;
  isolation: isolate;
}
.rsp-christmas-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(90deg, #100c0baf, #100c0b60),
    url('../images/christmas/christmas-hero-sharp.webp') center 20% / cover no-repeat;
  z-index: -1;
}
canvas.rsp-christmas-snow[data-christmas-snow] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: none !important;
  z-index: 100005;
  pointer-events: none;
}
html body .rsp-christmas-header .rsp-clean-nav {
  height: 78px !important; min-height: 78px !important;
  position: relative;
}
html body .rsp-christmas-header .rsp-clean-brand { position: relative; width: max-content !important; }
html body .rsp-christmas-header .rsp-clean-brand .rsp-christmas-hat {
  position: absolute;
  width: 44px !important; height: auto !important; max-width: none !important;
  left: -12px; top: -9px;
  transform: rotate(-16deg);
  pointer-events: none;
}
html body .rsp-christmas-header .rsp-clean-link { color: #fff !important; text-shadow: 0 1px 3px #000, 0 0 10px #000 !important; }
html body .rsp-christmas-header .rsp-clean-link:hover { color: #e6c78f !important; }
html body .rsp-christmas-header .rsp-clean-action {
  border-color: #d6c69c40 !important;
  background: #18100dd9 !important;
  box-shadow: none !important;
}
html body .rsp-christmas-header .rsp-clean-action:hover {
  background: #302117ed !important;
  border-color: #d6c69c70 !important;
  box-shadow: none !important;
}
html body .rsp-christmas-header .rsp-clean-menu-panel {
  background: #18110f !important;
  box-shadow: none !important;
}
html body.admin-bar .rsp-christmas-header { --christmas-admin-offset: 32px; }
html body.home .rsp-christmas-header {
  position: sticky !important;
  background: #100c0b30 !important;
  border-bottom-color: #ebca9226 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.home .rsp-christmas-header .rsp-christmas-scene { background: none; }
html body.home .rsp-christmas-header.is-christmas-scrolled { background: #100c0bf5 !important; }
@media (max-width: 760px) {
  html body.home .rsp-christmas-header { background: #100c0b !important; }
}
@media (max-width: 1180px) {
  html body .rsp-christmas-header .rsp-clean-links {background:#21131ffb !important;border-color:#c6a06466 !important;border-radius:18px !important;overscroll-behavior:contain;padding-bottom:max(16px,env(safe-area-inset-bottom)) !important;}
  html body .rsp-christmas-header .rsp-clean-links::before {color:#ffe6bb !important;}
  html body .rsp-christmas-header .rsp-clean-links .rsp-clean-link {background:#352033 !important;border-color:#c6a06440 !important;border-radius:12px !important;font-size:16px !important;}
  html body .rsp-christmas-header .rsp-clean-links .rsp-clean-dropdown {position:static !important;width:100% !important;}
  html body .rsp-christmas-header .rsp-clean-links .rsp-clean-dropdown > .rsp-clean-link {display:flex !important;width:100% !important;justify-content:space-between !important;padding:14px !important;}
  /* Touch must open a submenu on activation, never on pre-click hover/focus. */
  html body .rsp-christmas-header .rsp-clean-links .rsp-clean-dropdown > .rsp-clean-shop-panel {display:none !important;visibility:hidden !important;opacity:0 !important;pointer-events:none !important;position:static !important;transform:none !important;inset:auto !important;width:100% !important;}
  html body .rsp-christmas-header .rsp-clean-links .rsp-clean-dropdown.is-dropdown-open > .rsp-clean-shop-panel {display:grid !important;visibility:visible !important;opacity:1 !important;pointer-events:auto !important;margin:10px 0 0 !important;}
  html body .rsp-christmas-header .rsp-clean-links .rsp-clean-shop-panel a {min-height:56px !important;color:#fff1df !important;}
  html body .rsp-christmas-header .rsp-clean-links .rsp-clean-shop-panel a span {color:#d8c3ae !important;}
  html body .rsp-christmas-header .rsp-clean-toggle {background:#2a1a28 !important;border-color:#c6a06470 !important;}
  html body .rsp-christmas-header { --christmas-height: 78px; }
  html body .rsp-christmas-header .rsp-clean-nav { height: 78px !important; min-height: 78px !important; }
  html body .rsp-christmas-header .rsp-clean-brand .rsp-christmas-hat { width: 40px !important; left: -9px; top: -9px; }
  html body .rsp-christmas-header .rsp-clean-brand img:not(.rsp-christmas-hat) { width: clamp(130px, calc(100vw - 182px), 208px) !important; height: auto !important; }
  html body .rsp-christmas-header .rsp-clean-links {
    top: calc(var(--christmas-height) + var(--christmas-admin-offset) + 12px) !important;
    max-height: calc(100dvh - var(--christmas-height) - var(--christmas-admin-offset) - 26px) !important;
  }
  html body .rsp-christmas-header::after { inset: calc(var(--christmas-height) + var(--christmas-admin-offset)) 0 0 !important; }
}
@media (max-width: 782px) {
  html body.admin-bar .rsp-christmas-header { --christmas-admin-offset: 46px; top: 46px !important; }
}
@media (min-width: 781px) and (max-width: 1180px) {
  html body .rsp-christmas-header .rsp-clean-nav { grid-template-columns: auto 1fr auto auto !important; gap: 18px !important; }
  html body .rsp-christmas-header .rsp-clean-brand { grid-column: 1 !important; grid-row: 1 !important; }
  html body .rsp-christmas-header .rsp-clean-actions { grid-column: 3 !important; grid-row: 1 !important; margin: 0 !important; padding: 0 !important; }
  html body .rsp-christmas-header .rsp-clean-toggle { grid-column: 4 !important; grid-row: 1 !important; }
  html body .rsp-christmas-header .rsp-clean-links { position: fixed !important; overflow-y: auto; }
  html body .rsp-christmas-header .rsp-clean-links .rsp-clean-dropdown { margin: 0 !important; padding: 0 !important; }
  html body .rsp-christmas-header .rsp-clean-links .rsp-clean-link { min-height: 48px !important; }
  html body .rsp-christmas-header .rsp-clean-links .rsp-clean-shop-panel { position: static !important; width: 100% !important; transform: none !important; }
}

/* Horizontal overflow hiding must not turn the homepage body into a
   separate scroll container: sticky follows the document viewport. */
html body.home:not(.rsp-mobile-nav-locked) {overflow-x:clip !important;overflow-y:visible !important;}
