/* Touche hivernale sobre (décembre → 6 janvier) : bonnet sur le logo, flocons dans le hero de l'accueil. Désactivable. */
.pbw-hat { position: absolute; top: -9px; inset-inline-start: -5px; width: 20px; height: 15px; pointer-events: none; transform: rotate(-14deg); filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
html[dir="rtl"] .pbw-hat { transform: rotate(14deg) scaleX(-1); }
.pbw-logo { position: relative; }
.pbw-snow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; --pbw-c: #fff; }
html[data-pb-theme="light"] .pbw-snow, html:not(.dark):not([data-pb-theme]) .pbw-snow { --pbw-c: #6b95cf; }
.pbw-snow i { position: absolute; top: -12px; display: block; width: var(--s); height: var(--s); border-radius: 50%; background: var(--pbw-c); opacity: 0; will-change: transform, opacity;
  animation: pbw-fall var(--d) linear var(--w) infinite; }
@keyframes pbw-fall { 0% { transform: translate3d(0,0,0); opacity: 0; } 10% { opacity: .32; } 85% { opacity: .22; } 100% { transform: translate3d(var(--x), 430px, 0); opacity: 0; } }
.pbw-btn { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(148,163,184,.35); background: rgba(15,23,42,.55); color: inherit; font-size: 14px; line-height: 1; cursor: pointer; opacity: .6; display: inline-flex; align-items: center; justify-content: center; }
html[data-pb-theme="light"] .pbw-btn, html:not(.dark):not([data-pb-theme]) .pbw-btn { background: rgba(255,255,255,.7); }
.pbw-btn:hover, .pbw-btn:focus-visible { opacity: 1; outline: 2px solid #3b82f6; outline-offset: 2px; }
html.pbw-off .pbw-hat, html.pbw-off .pbw-snow { display: none !important; }
@media (prefers-reduced-motion: reduce) { .pbw-snow { display: none !important; } }
.pbw-btn.pbw-fixed { position: fixed; top: auto; bottom: 12px; inset-inline-end: auto; inset-inline-start: 12px; z-index: 900; color: #94a3b8; }
.pbw-btn.pbw-inline { position: static; flex: none; width: 24px !important; min-width: 0 !important; height: 24px !important; min-height: 0 !important; padding: 0 !important; font-size: 11px; margin-inline-start: -4px; opacity: .55; }
@media (max-width: 640px) { .pbw-btn.pbw-inline { width: 20px !important; height: 20px !important; font-size: 10px; margin-inline-start: -6px; } }
