/* Seasonal themes (admin → Website → Seasonal themes; src/routes/site-themes.js adds this file and
   <html data-theme="…"> to public pages while a theme is showing). Decorations only: the pages'
   own words, layout and colours don't change. Made by scripts/build-theme-css.mjs: change that, not this. */

/* the decoration hanging under the menu */
html[data-theme-garland] .site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 56px;
  background-repeat: repeat-x; background-position: 0 0; background-size: auto 56px;
  pointer-events: none; z-index: 1;
  filter: drop-shadow(0 2px 2px rgba(20, 16, 70, 0.25));
}
@media (max-width: 700px) { html[data-theme-garland] .site-header::after { height: 46px; background-size: auto 46px; } }

/* picture frames (theme.js marks the larger pictures in the page with .th-frame) */
html[data-theme-frames] img.th-frame {
  box-sizing: border-box; border: 9px solid transparent; border-radius: 0 !important;
  border-image-slice: 9; border-image-repeat: round;
}

/* the visitor's own on/off button for the falling effect */
.th-toggle {
  position: fixed; left: 16px; bottom: 16px; z-index: 120;
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(33, 39, 113, 0.18);
  background: #fff; box-shadow: 0 4px 14px rgba(20, 16, 70, 0.18);
  font-size: 21px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0;
}
.th-toggle:hover { transform: scale(1.06); }
.th-toggle:focus-visible { outline: 3px solid #bf3765; outline-offset: 2px; }
.th-toggle[aria-pressed="false"] { opacity: 0.6; filter: grayscale(0.6); }
.th-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 95; }
@media print { .th-canvas, .th-toggle { display: none !important; } html[data-theme-garland] .site-header::after { display: none; } html[data-theme-frames] img.th-frame { border: 0; } }

