/* NEW YEAR MODE — loaded only while the mode is active (Admin → New Year mode) */
.ny-bar{position:relative;z-index:998;display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 44px;background:linear-gradient(90deg,#0b3d2e,#14532d 50%,#0b3d2e);color:#fff;font-size:14px;line-height:1.35;text-align:center;box-sizing:border-box;overflow:hidden;transition:max-height .3s ease,padding .3s ease,opacity .3s ease}
.ny-bar__link,.ny-bar__link:visited{color:#fff;font-weight:600;text-decoration:none}
.ny-bar__link:hover,.ny-bar__link:focus{color:#fde68a;text-decoration:underline}
.ny-bar__close{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:32px;height:32px;padding:0;border:0;background:none;color:#fff;font-size:22px;line-height:1;cursor:pointer;opacity:.75}
.ny-bar__close:hover,.ny-bar__close:focus{opacity:1}
@media (max-width:575px){.ny-bar{font-size:12.5px;padding:7px 38px 7px 12px}.ny-bar__close{right:2px}}
/* Sanatorium page (mobile): floating back/share buttons move down with the bar */
@media (max-width:991px){.ny-on .mobile-floating-header{top:calc(70px + var(--ny-offset,0px));transition:background .3s ease,box-shadow .3s ease}}
/* Garland: thin wire + glowing bulbs under the header, CSS only, never takes clicks */
.ny-on .tg-header__area::before,.ny-on .tg-header__area::after{content:"";position:absolute;left:0;right:0;top:100%;height:18px;pointer-events:none;background-repeat:repeat-x;background-size:60px 18px}
.ny-on .tg-header__area::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='18'%3E%3Cpath d='M0 2Q30 14 60 2' fill='none' stroke='%23334a3a' stroke-width='1.2'/%3E%3Cellipse cx='10' cy='9.6' rx='2.6' ry='3.6' fill='%23ef4444'/%3E%3Cellipse cx='30' cy='12.3' rx='2.6' ry='3.6' fill='%23facc15'/%3E%3Cellipse cx='50' cy='9.6' rx='2.6' ry='3.6' fill='%2322c55e'/%3E%3C/svg%3E")}
.ny-on .tg-header__area::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='18'%3E%3Ccircle cx='10' cy='9.6' r='6.5' fill='%23ff6b6b' fill-opacity='.45'/%3E%3Ccircle cx='30' cy='12.3' r='6.5' fill='%23fde047' fill-opacity='.5'/%3E%3Ccircle cx='50' cy='9.6' r='6.5' fill='%234ade80' fill-opacity='.45'/%3E%3C/svg%3E");animation:ny-glow 1.6s ease-in-out infinite alternate;will-change:opacity}
@keyframes ny-glow{from{opacity:.15}to{opacity:1}}
/* Mobile: the garland hangs inside the empty bottom strip of the header */
@media (max-width:1199px){.ny-on .tg-header__area::before,.ny-on .tg-header__area::after{top:calc(100% - 10px)}}
/* Snow: under modals, menus, chat and messenger buttons, cookie banner (all ≥ 999) */
.ny-snow{position:fixed;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:998}
.ny-snow-btn{position:fixed;left:16px;bottom:16px;z-index:998;width:40px;height:40px;padding:0;border:1px solid rgba(20,83,45,.25);border-radius:50%;background:rgba(255,255,255,.92);color:#0e7490;font-size:20px;line-height:38px;text-align:center;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.15);transition:bottom .2s ease}
.ny-snow-btn.is-off{color:#94a3b8}
.ny-snow-btn.is-off::after{content:"";position:absolute;left:8px;right:8px;top:50%;height:2px;background:#94a3b8;transform:rotate(-45deg)}
@media (prefers-reduced-motion:reduce){.ny-on .tg-header__area::before{animation:none;opacity:.8}.ny-snow,.ny-snow-btn{display:none!important}}
/* Promo badge */
.ny-badge{position:absolute;left:12px;bottom:12px;z-index:2;padding:4px 10px;border-radius:20px;background:#b91c1c;color:#fff;font-size:12px;font-weight:700;line-height:1.3;box-shadow:0 2px 8px rgba(0,0,0,.2)}
