/* Round TH (David, 20-Nov-2026): what every seasonal theme shares. It styles ONLY the theme's own new elements (the banner
   strip, the snow, the confetti); the site's own elements are never moved, hidden or resized. Each theme's file then sets
   colours only. */
.theme-banner { position: absolute; top: 100%; left: 0; right: 0; z-index: 0; display: flex; align-items: center;
  min-height: 36px; padding: 0 44px 0 16px; background: #1f4e79; color: #fff; font-size: .92rem; line-height: 1.3;
  box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.theme-banner[hidden] { display: none; }
.theme-banner-text { margin: 0; width: 100%; text-align: center; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.theme-banner-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.theme-banner-close { position: absolute; top: 0; right: 0; width: 36px; height: 36px; border: 0; background: transparent;
  color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }
@media (max-width: 768px) {
  .theme-banner { min-height: 44px; padding-right: 48px; font-size: .85rem; }
  .theme-banner-text { white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }  /* 21-Nov: his five languages need three lines at 360 px */
  .theme-banner-close { width: 44px; height: 44px; }       /* his answer 8: at least 44 x 44 px on a phone */
  .theme-banner-wide-only { display: none; }                /* a page whose heading it would touch on a phone */
}
.theme-snow, .theme-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 2; }
/*SNOW*/
.theme-snow { --tg-flake: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cstyle%3E.r,.q%7Banimation:r 11s linear infinite%7D.q%7Banimation-duration:16s;animation-direction:reverse%7D%40keyframes r%7Bto%7Btransform:rotate(60deg)%7D%7D%3C/style%3E%3Cdefs%3E%3Cpath id='a' d='M0 0V-10M-3.2-7.6 0-5.2 3.2-7.6'/%3E%3Cg id='f'%3E%3Cuse href='%23a'/%3E%3Cuse href='%23a' transform='rotate(60)'/%3E%3Cuse href='%23a' transform='rotate(120)'/%3E%3Cuse href='%23a' transform='rotate(180)'/%3E%3Cuse href='%23a' transform='rotate(240)'/%3E%3Cuse href='%23a' transform='rotate(300)'/%3E%3C/g%3E%3Cg id='s' fill='none' stroke-linecap='round'%3E%3Cuse href='%23f' stroke='%230003' stroke-width='3.6'/%3E%3Cuse href='%23f' stroke='%23fff' stroke-width='1.7'/%3E%3C/g%3E%3C/defs%3E%3Cg transform='translate(28 34) scale(0.55)'%3E%3Cuse class='r' href='%23s'/%3E%3C/g%3E%3Cg transform='translate(112 96) scale(0.75)'%3E%3Cuse class='q' href='%23s'/%3E%3C/g%3E%3Cg transform='translate(204 40) scale(0.5)'%3E%3Cuse class='q' href='%23s'/%3E%3C/g%3E%3Cg transform='translate(176 168) scale(0.65)'%3E%3Cuse class='r' href='%23s'/%3E%3C/g%3E%3Cg transform='translate(62 150) scale(0.5)'%3E%3Cuse class='q' href='%23s'/%3E%3C/g%3E%3Cg transform='translate(236 228) scale(0.6)'%3E%3Cuse class='r' href='%23s'/%3E%3C/g%3E%3Cg transform='translate(120 232) scale(0.5)'%3E%3Cuse class='r' href='%23s'/%3E%3C/g%3E%3C/svg%3E"); background-image: var(--tg-flake), var(--tg-flake);
  background-size: 260px 260px, 380px 380px; animation: theme-snow 34s linear infinite, theme-snow-sway 7s ease-in-out infinite alternate; }
@keyframes theme-snow { from { background-position: 0 0, 0 0; } to { background-position: 260px 520px, -380px 760px; } }
@keyframes theme-snow-sway { from { transform: translateX(-10px); } to { transform: translateX(10px); } }
/*/SNOW*/
.theme-confetti { background-image: radial-gradient(4px 4px at 10% 10%, #d4af37 50%, transparent 51%),
  radial-gradient(4px 4px at 30% 0, #e74c3c 50%, transparent 51%), radial-gradient(4px 4px at 55% 15%, #fff 50%, transparent 51%),
  radial-gradient(4px 4px at 75% 5%, #3498db 50%, transparent 51%), radial-gradient(4px 4px at 90% 12%, #d4af37 50%, transparent 51%);
  animation: theme-confetti 2.6s ease-in 1 forwards; }
.theme-confetti[hidden] { display: none; }
@keyframes theme-confetti { from { transform: translateY(-10vh); opacity: 1; } to { transform: translateY(90vh); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .theme-snow, .theme-confetti { display: none; animation: none; } }
@media print { .theme-banner, .theme-snow, .theme-confetti { display: none; } }
