/* ---------- Новогоднее оформление (сезонное, включается из winter.js) ----------
   Всё оформление висит на классе html.winter, поэтому вне сезона ничего не меняется.
   Чтобы отключить досрочно: убрать подключение winter.css / winter.js из HTML. */

/* Снег */
.winter-snow {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 9990; pointer-events: none;
  transition: opacity .6s ease;
}
.winter-snow.is-off { opacity: 0; }

/* Гирлянда под шапкой: провод идёт по краю шапки, лампочки свисают вниз */
html.winter .site-header { overflow: visible; }
.winter-garland {
  position: absolute; left: 0; right: 0; top: 100%; height: 30px; margin-top: -2px;
  pointer-events: none; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='30' viewBox='0 0 160 30'%3E%3Cstyle%3E.b,.h%7Banimation:t 2.6s ease-in-out infinite%7D.b1%7Banimation-delay:-.9s%7D.b2%7Banimation-delay:-1.7s%7D.b3%7Banimation-delay:-.4s%7D.h%7Banimation-name:th%7D%40keyframes t%7B50%25%7Bopacity:.45%7D%7D%40keyframes th%7B50%25%7Bopacity:.05%7D%7D%3C/style%3E%3Cpath d='M0 2 Q40 16 80 2 Q120 16 160 2' fill='none' stroke='%238f7a4a' stroke-opacity='.75' stroke-width='1.1'/%3E%3Cg transform='translate(20 7.2) rotate(-10)'%3E%3Ccircle class='h b0' cx='0' cy='12' r='7' fill='%23f3d58c' opacity='.28'/%3E%3Cline x1='0' y1='0' x2='0' y2='3' stroke='%236d5a35' stroke-width='1'/%3E%3Crect x='-2.2' y='3' width='4.4' height='4' rx='.8' fill='%238a7442'/%3E%3Cpath class='b b0' d='M-3 7 C-4.2 10 -3.4 14 0 17 C3.4 14 4.2 10 3 7 Z' fill='%23f3d58c'/%3E%3Cpath d='M-1.6 8.5 C-2.2 10.5 -1.8 12.5 -.6 14' stroke='%23fff' stroke-opacity='.6' stroke-width='.9' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(60 7.2) rotate(8)'%3E%3Ccircle class='h b1' cx='0' cy='12' r='7' fill='%23ffffff' opacity='.28'/%3E%3Cline x1='0' y1='0' x2='0' y2='3' stroke='%236d5a35' stroke-width='1'/%3E%3Crect x='-2.2' y='3' width='4.4' height='4' rx='.8' fill='%238a7442'/%3E%3Cpath class='b b1' d='M-3 7 C-4.2 10 -3.4 14 0 17 C3.4 14 4.2 10 3 7 Z' fill='%23ffffff'/%3E%3Cpath d='M-1.6 8.5 C-2.2 10.5 -1.8 12.5 -.6 14' stroke='%23fff' stroke-opacity='.6' stroke-width='.9' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(100 7.2) rotate(-6)'%3E%3Ccircle class='h b2' cx='0' cy='12' r='7' fill='%23e7836f' opacity='.28'/%3E%3Cline x1='0' y1='0' x2='0' y2='3' stroke='%236d5a35' stroke-width='1'/%3E%3Crect x='-2.2' y='3' width='4.4' height='4' rx='.8' fill='%238a7442'/%3E%3Cpath class='b b2' d='M-3 7 C-4.2 10 -3.4 14 0 17 C3.4 14 4.2 10 3 7 Z' fill='%23e7836f'/%3E%3Cpath d='M-1.6 8.5 C-2.2 10.5 -1.8 12.5 -.6 14' stroke='%23fff' stroke-opacity='.6' stroke-width='.9' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(140 7.2) rotate(11)'%3E%3Ccircle class='h b3' cx='0' cy='12' r='7' fill='%23c9a45c' opacity='.28'/%3E%3Cline x1='0' y1='0' x2='0' y2='3' stroke='%236d5a35' stroke-width='1'/%3E%3Crect x='-2.2' y='3' width='4.4' height='4' rx='.8' fill='%238a7442'/%3E%3Cpath class='b b3' d='M-3 7 C-4.2 10 -3.4 14 0 17 C3.4 14 4.2 10 3 7 Z' fill='%23c9a45c'/%3E%3Cpath d='M-1.6 8.5 C-2.2 10.5 -1.8 12.5 -.6 14' stroke='%23fff' stroke-opacity='.6' stroke-width='.9' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") repeat-x 0 0 / 160px 30px;
  filter: drop-shadow(0 0 3px rgba(243,213,140,.35));
}

/* Шапочка на логотипе DT - чуть съехала набок и слегка покачивается */
html.winter .site-header .brand { position: relative; }
.winter-hat {
  position: absolute; left: -1px; top: -18px; width: 40px; height: 30px;
  pointer-events: none; z-index: 2;
  transform-origin: 45% 90%;
  transform: rotate(-14deg);
  animation: winter-hat-sway 4.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.45));
}
.winter-hat svg { display: block; width: 100%; height: 100%; }
@keyframes winter-hat-sway {
  0%, 100% { transform: rotate(-14deg); }
  50% { transform: rotate(-11deg) translateY(-.5px); }
}

/* Сосульки, свисающие со слов */
.winter-ice { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: visible; }
.winter-ice i {
  position: absolute; display: block;
  background: linear-gradient(180deg, rgba(246,250,253,.95) 0%, rgba(205,224,240,.75) 45%, rgba(169,198,222,.15) 100%);
  clip-path: polygon(0 0, 100% 0, 62% 70%, 50% 100%, 38% 70%);
  border-radius: 1px 1px 0 0;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
}
/* у кнопок свой фон - сосульки должны быть видны и под ними */
.btn > .winter-ice { inset: 0; }

/* Снежная сцена внизу первого экрана - олень, снеговик и ёлки реагируют на нажатие */
/* первый экран - ровно по высоте окна, сцена стоит у его нижнего края */
html.winter main .hero { position: relative; min-height: calc(100svh - var(--winter-hh, 82px)); padding-bottom: calc(1vh + 92px); }
.winter-scene { position: absolute; left: 0; right: 0; bottom: 0; height: 130px; pointer-events: none; overflow-x: clip; overflow-y: visible; }
.winter-scene .ws-drift { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46px; z-index: 2; pointer-events: none; }
.winter-scene svg { display: block; width: 100%; height: 100%; }
.ws-item {
  position: absolute; bottom: 18px; display: block; z-index: 1; padding: 0; margin: 0; border: 0; background: none;
  pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ws-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }
.ws-in { display: block; width: 100%; height: 100%; transform-origin: 50% 100%; }
.ws-item:hover .ws-in { filter: drop-shadow(0 0 8px rgba(243,213,140,.45)); }
.ws-tree.t1 { left: 66px; width: 46px; height: 74px; }
.ws-tree.t2 { left: 104px; width: 34px; height: 54px; }
.ws-tree.t3 { right: 3%; width: 50px; height: 80px; }
.ws-snowman { right: calc(3% + 70px); width: 54px; height: 81px; bottom: 14px; z-index: 3; }
.ws-deer { right: calc(3% + 150px); width: 84px; height: 73px; z-index: 2; }
.ws-snowman .ws-in { animation: winter-bob 5s ease-in-out infinite; }
@keyframes winter-bob { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }

/* Олень: смотрит влево (на ёлки), при беге - галоп */
.ws-deer .ws-in { transform: scaleX(-1); transition: transform .25s ease; }
.ws-deer .ws-in.face-right { transform: scaleX(1); }
.ws-deer .dl { transform-box: fill-box; transform-origin: 50% 0; }
.ws-deer.running .dl.front { animation: wd-front .42s ease-in-out infinite; }
.ws-deer.running .dl.hind { animation: wd-hind .42s ease-in-out infinite; }
.ws-deer.running .dl.far { animation-delay: -.08s; }
.ws-deer.running svg { animation: wd-run-bounce .42s ease-in-out infinite; }
@keyframes wd-run-bounce { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-7px) rotate(-3deg); } 70% { transform: translateY(-2px) rotate(2deg); } }

/* Снеговик: прыжок с маханием веток / кружение со шляпой / моргание */
.ws-snowman .sm-arm, .ws-snowman .sm-hat, .ws-snowman .sm-eyes { transform-box: fill-box; }
.ws-snowman .sm-arm.l { transform-origin: 100% 100%; }
.ws-snowman .sm-arm.r { transform-origin: 0 100%; }
.ws-snowman .sm-hat { transform-origin: 50% 100%; }
.ws-snowman .sm-eyes { transform-origin: 50% 50%; }
.ws-snowman.hop .ws-in, .ws-snowman.spin .ws-in { animation: none; }
.ws-snowman.hop svg { transform-origin: 50% 100%; animation: sm-hop 1.3s cubic-bezier(.3,.7,.4,1) both; }
@keyframes sm-hop {
  0% { transform: none; }
  12% { transform: scale(1.12, .84); }
  32% { transform: translateY(-46px) scale(.94, 1.08) rotate(-6deg); }
  48% { transform: translateY(-52px) rotate(6deg); }
  62% { transform: translateY(0) scale(1.14, .82); }
  74% { transform: translateY(-10px) scale(.97, 1.04); }
  86% { transform: scale(1.04, .96); }
  100% { transform: none; }
}
.ws-snowman.hop .sm-arm.l { animation: sm-wave-l .3s ease-in-out 4 alternate; }
.ws-snowman.hop .sm-arm.r { animation: sm-wave-r .3s ease-in-out 4 alternate; }
@keyframes sm-wave-l { from { transform: rotate(0); } to { transform: rotate(48deg); } }
@keyframes sm-wave-r { from { transform: rotate(0); } to { transform: rotate(-48deg); } }
.ws-snowman.hop .sm-hat { animation: sm-hat-hop 1.3s ease both; }
@keyframes sm-hat-hop { 0%, 30% { transform: none; } 50% { transform: translateY(-14px) rotate(-18deg); } 68% { transform: translateY(-4px) rotate(8deg); } 80%, 100% { transform: none; } }
.ws-snowman.spin svg { transform-origin: 50% 100%; animation: sm-spin 1.5s ease-in-out both; }
@keyframes sm-spin {
  0% { transform: none; } 10% { transform: scale(1.06, .92); }
  25% { transform: translateY(-14px) scaleX(-1); } 45% { transform: translateY(-20px) scaleX(1); }
  65% { transform: translateY(-14px) scaleX(-1); } 82% { transform: scale(1.08, .9); } 100% { transform: none; }
}
.ws-snowman.spin .sm-hat { animation: sm-hat-toss 1.5s cubic-bezier(.3,.6,.4,1) both; }
@keyframes sm-hat-toss { 0%, 12% { transform: none; } 45% { transform: translateY(-42px) rotate(200deg); } 75% { transform: translateY(-4px) rotate(360deg); } 85%, 100% { transform: rotate(360deg); } }
.ws-snowman.spin .sm-arm.l { animation: sm-wave-l .25s ease-in-out 6 alternate; }
.ws-snowman.spin .sm-arm.r { animation: sm-wave-r .25s ease-in-out 6 alternate; }
.ws-snowman.blink .sm-eyes { animation: sm-blink .3s ease-in-out; }
@keyframes sm-blink { 50% { transform: scaleY(.1); } }

/* Ёлка: тряска, сброшенный снег и его медленное возвращение */
.ws-tree.shake .ws-in { animation: tree-shake .9s ease-out; }
@keyframes tree-shake {
  0% { transform: rotate(0); } 12% { transform: rotate(-7deg); } 26% { transform: rotate(6deg); } 40% { transform: rotate(-5deg); }
  54% { transform: rotate(3.5deg); } 68% { transform: rotate(-2deg); } 82% { transform: rotate(1deg); } 100% { transform: rotate(0); }
}
.ws-tree .t-snow { transition: opacity .35s ease; }
.ws-tree.bare .t-snow { opacity: 0; }
.ws-tree.regrow .t-snow { transition: opacity 4s ease; }
.ws-fall, .ws-puff {
  position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%; background: #f4f7fa; pointer-events: none; z-index: 4; opacity: 0;
  box-shadow: 0 0 4px rgba(255,255,255,.6);
}
.ws-fall { animation: ws-fall var(--d) cubic-bezier(.4,.1,.8,.6) forwards; }
@keyframes ws-fall { 0% { opacity: 1; transform: translate(0, 0); } 85% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
.ws-puff { animation: ws-puff .8s ease-out forwards; }
@keyframes ws-puff { 0% { opacity: .95; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.6); } }

/* Кнопка-подсказка «Нажми на нас» над правой группой */
.ws-hint {
  position: absolute; right: calc(3% + 46px); bottom: 164px; z-index: 5; pointer-events: auto;
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem .5rem .75rem;
  border-radius: 999px; border: 1px solid rgba(201,164,92,.7); cursor: pointer;
  background: linear-gradient(135deg, rgba(201,164,92,.28), rgba(10,10,11,.85) 70%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #f3e3bc; font-size: .78rem; font-weight: 600; letter-spacing: .06em; white-space: nowrap;
  animation: ws-hint-glow 2.4s ease-in-out infinite, ws-hint-float 3.2s ease-in-out infinite;
  transition: border-color .2s, transform .2s;
}
.ws-hint:hover { border-color: var(--gold); }
.ws-hint::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 0; height: 0; margin-left: -6px;
  border: 6px solid transparent; border-top-color: rgba(201,164,92,.75);
  animation: ws-hint-arrow 1.2s ease-in-out infinite;
}
.ws-hint-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(201,164,92,.7); animation: ws-dot 1.6s ease-out infinite; }
@keyframes ws-hint-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,164,92,0), 0 6px 18px rgba(0,0,0,.4); } 50% { box-shadow: 0 0 22px 2px rgba(201,164,92,.35), 0 6px 18px rgba(0,0,0,.4); } }
@keyframes ws-hint-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes ws-hint-arrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes ws-dot { 0% { box-shadow: 0 0 0 0 rgba(201,164,92,.7); } 100% { box-shadow: 0 0 0 9px rgba(201,164,92,0); } }
@media (min-width: 900px) {
  /* кнопка ровно по центру над снеговиком (средний из трёх), стрелка вниз */
  .ws-hint { right: calc(3% + 97px); bottom: 112px; translate: 50% 0; }
}
/* в прыжке снеговик пролетает перед кнопкой */
.ws-snowman.hop, .ws-snowman.spin { z-index: 6; }
@keyframes ws-hint-arrow-x { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
/* после первого нажатия подсказка становится спокойнее */
.winter-scene.ws-played .ws-hint { animation: ws-hint-float 3.2s ease-in-out infinite; opacity: .8; }

@media (max-width: 899px) {
  html.winter main .hero { padding-bottom: calc(4vh + 118px); }
  .winter-scene { height: 130px; }
  .ws-tree.t1 { left: 3%; width: 38px; height: 61px; }
  .ws-tree.t2 { left: calc(3% + 30px); width: 28px; height: 45px; }
  .ws-tree.t3 { right: 2%; width: 40px; height: 64px; }
  .ws-snowman { right: calc(2% + 52px); width: 44px; height: 66px; }
  .ws-deer { right: calc(2% + 110px); width: 66px; height: 57px; }
  .ws-hint { right: calc(2% + 74px); bottom: 102px; font-size: .72rem; translate: 50% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-hint, .ws-hint::after, .ws-hint-dot, .ws-snowman .ws-in { animation: none; }
}

/* Сани с оленями - пролетают по небу раз в полминуты, олени скачут галопом */
.winter-sleigh {
  position: fixed; top: 15vh; left: 0; width: 320px; height: 82px; z-index: 9989; pointer-events: none;
  color: #d8bd86; opacity: 0;
  animation: winter-fly 30s linear 4s infinite;
}
.winter-sleigh svg { display: block; width: 100%; height: 100%; overflow: visible; opacity: .72; }
@keyframes winter-fly {
  0% { transform: translate(-360px, 40px) rotate(-6deg); opacity: 0; }
  2% { opacity: 1; }
  22% { transform: translate(50vw, -10px) rotate(-3deg); }
  42% { transform: translate(calc(100vw + 40px), -50px) rotate(-6deg); opacity: 1; }
  43%, 100% { transform: translate(calc(100vw + 60px), -50px); opacity: 0; }
}
/* галоп: передние и задние ноги ходят навстречу друг другу, дальние - со сдвигом */
.wd-leg { transform-box: fill-box; transform-origin: 50% 0; animation: wd-front .52s ease-in-out infinite; }
.wd-leg.hind { animation-name: wd-hind; }
.wd-leg.far { stroke: #8c7650; animation-delay: -.09s; }
@keyframes wd-front { 0%, 100% { transform: rotate(-48deg); } 50% { transform: rotate(28deg); } }
@keyframes wd-hind { 0%, 100% { transform: rotate(34deg); } 50% { transform: rotate(-38deg); } }
/* тело подпрыгивает в такт шагу */
.wd-deer { animation: wd-bounce .52s ease-in-out infinite; }
@keyframes wd-bounce { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-3px) rotate(-2deg); } 75% { transform: translateY(2px) rotate(1.5deg); } }
.wd-sleigh { animation: wd-sway 1.04s ease-in-out infinite; transform-box: fill-box; transform-origin: 80% 50%; }
@keyframes wd-sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-2.5deg) translateY(1.5px); } }
@media (max-width: 899px) { .winter-sleigh { width: 220px; height: 56px; top: 11vh; } }

/* Плашка с отсчётом до Нового года в первом экране */
.winter-countdown {
  display: inline-flex; align-items: center; gap: .7rem; align-self: flex-start;
  padding: .55rem 1rem .55rem .7rem; border-radius: 999px;
  border: 1px solid rgba(201,164,92,.5);
  background: linear-gradient(90deg, rgba(201,164,92,.16), rgba(201,164,92,.04));
  color: var(--white); text-decoration: none; font-size: .82rem; line-height: 1.35;
  box-shadow: 0 0 0 0 rgba(201,164,92,.35);
  animation: winter-glow 3.2s ease-in-out infinite;
  transition: border-color .2s, background .2s;
}
.winter-countdown:hover { border-color: var(--gold); background: linear-gradient(90deg, rgba(201,164,92,.26), rgba(201,164,92,.08)); }
.winter-countdown .wc-ico {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; background: rgba(201,164,92,.18); color: var(--gold);
}
.winter-countdown .wc-ico svg { width: 17px; height: 17px; animation: winter-spin 14s linear infinite; }
.winter-countdown b { color: var(--gold); font-weight: 600; }
.winter-countdown .wc-sub { display: block; color: var(--muted); font-size: .74rem; }
@keyframes winter-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,164,92,0); }
  50% { box-shadow: 0 0 22px 0 rgba(201,164,92,.18); }
}
@keyframes winter-spin { to { transform: rotate(360deg); } }

/* Лёгкий морозный блеск на золотой фамилии в заголовке */
html.winter .hero h1 .gold {
  background: linear-gradient(100deg, #c9a45c 0%, #c9a45c 38%, #fff4d6 50%, #c9a45c 62%, #c9a45c 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: winter-shine 6s ease-in-out infinite;
}
@keyframes winter-shine {
  0%, 55% { background-position: 100% 0; }
  100% { background-position: -50% 0; }
}

/* Кнопка «выключить/включить снег» */
.winter-toggle {
  position: fixed; left: 14px; bottom: 14px; z-index: 9991;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(201,164,92,.45); background: rgba(10,10,11,.72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--gold); transition: border-color .2s, transform .2s, opacity .2s;
}
.winter-toggle:hover { border-color: var(--gold); transform: scale(1.06); }
.winter-toggle svg { width: 18px; height: 18px; }
.winter-toggle[aria-pressed="false"] { opacity: .55; }
.winter-toggle[aria-pressed="false"] svg { opacity: .6; }
@media (max-width: 899px) { .winter-toggle { left: 10px; bottom: 10px; width: 34px; height: 34px; } }
/* На телефоне в блоке записи снизу прилипают панели шагов - прячем кнопку, чтобы не мешала */
@media (max-width: 899px) { html.winter-booking .winter-toggle { opacity: 0; pointer-events: none; } }

@media (prefers-reduced-motion: reduce) {
  .winter-hat, .winter-countdown, .winter-countdown .wc-ico svg, html.winter .hero h1 .gold { animation: none; }
}

/* ================= Новогоднее оформление блока записи ================= */
html.winter #booking .card, html.winter .gift-promo .gp-card, html.winter .gr-form { position: relative; }
.winter-cap {
  position: absolute; left: 14px; right: 14px; top: -6px; height: 16px; pointer-events: none; z-index: 3;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' viewBox='0 0 120 16'%3E%3Cpath d='M0 3 C14 0 26 1 40 2 C56 3 70 0 84 1 C98 2 110 0 120 3 L120 7 C112 8 108 12 102 11 C96 10 94 7 84 8 C74 9 72 14 64 13 C56 12 56 8 46 8 C36 8 34 11 26 11 C18 11 14 7 0 7 Z' fill='%23f4f7fa'/%3E%3Cpath d='M0 7 C14 7 18 11 26 11 C34 11 36 8 46 8 C56 8 56 12 64 13 C72 14 74 9 84 8 C94 7 96 10 102 11 C108 12 112 8 120 7' stroke='%23c9d6e3' stroke-width='1' fill='none'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 16px;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.3));
}
.winter-sprig {
  position: absolute; top: -14px; right: 18%; width: 172px; height: 78px; pointer-events: none; z-index: 4;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='172' height='78' viewBox='0 0 172 78'%3E%3Cdefs%3E%3CradialGradient id='r' cx='.35' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ff6a5c'/%3E%3Cstop offset='1' stop-color='%239e1f1f'/%3E%3C/radialGradient%3E%3CradialGradient id='g' cx='.35' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffe7a8'/%3E%3Cstop offset='1' stop-color='%239a7633'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M2 10 Q80 2 170 16 M60 8 Q90 12 104 34 M120 12 Q140 16 150 34' stroke='%235a3b22' stroke-width='2' fill='none'/%3E%3Cg stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M2.0 10.0 L10.8 1.5' stroke='%23174a33'/%3E%3Cpath d='M2.0 10.0 L10.5 18.3' stroke='%231f5a3f'/%3E%3Cpath d='M5.9 9.6 L14.8 -1.0' stroke='%23327a55'/%3E%3Cpath d='M5.9 9.6 L14.9 15.6' stroke='%23327a55'/%3E%3Cpath d='M9.8 9.3 L18.0 0.1' stroke='%23327a55'/%3E%3Cpath d='M9.8 9.3 L17.8 16.0' stroke='%232a6e4c'/%3E%3Cpath d='M13.8 8.9 L21.0 -0.9' stroke='%231f5a3f'/%3E%3Cpath d='M13.8 8.9 L21.3 15.6' stroke='%231f5a3f'/%3E%3Cpath d='M17.7 8.6 L24.9 1.8' stroke='%23174a33'/%3E%3Cpath d='M17.7 8.6 L27.9 16.7' stroke='%23327a55'/%3E%3Cpath d='M21.7 8.3 L30.6 -2.4' stroke='%23327a55'/%3E%3Cpath d='M21.7 8.3 L30.7 16.8' stroke='%232a6e4c'/%3E%3Cpath d='M25.7 8.1 L31.9 -0.0' stroke='%232a6e4c'/%3E%3Cpath d='M25.7 8.1 L34.1 15.1' stroke='%23327a55'/%3E%3Cpath d='M29.7 7.9 L38.3 -2.7' stroke='%23327a55'/%3E%3Cpath d='M29.7 7.9 L38.4 15.3' stroke='%23174a33'/%3E%3Cpath d='M33.7 7.7 L41.8 -0.7' stroke='%232a6e4c'/%3E%3Cpath d='M33.7 7.7 L42.4 17.2' stroke='%231f5a3f'/%3E%3Cpath d='M37.7 7.5 L46.7 -3.6' stroke='%232a6e4c'/%3E%3Cpath d='M37.7 7.5 L45.7 15.4' stroke='%231f5a3f'/%3E%3Cpath d='M41.8 7.4 L48.9 -0.6' stroke='%23174a33'/%3E%3Cpath d='M41.8 7.4 L49.7 13.5' stroke='%23327a55'/%3E%3Cpath d='M45.8 7.3 L56.5 -0.8' stroke='%23327a55'/%3E%3Cpath d='M45.8 7.3 L52.3 14.6' stroke='%23327a55'/%3E%3Cpath d='M49.9 7.2 L59.0 -3.1' stroke='%231f5a3f'/%3E%3Cpath d='M49.9 7.2 L59.4 16.4' stroke='%23327a55'/%3E%3Cpath d='M54.0 7.1 L61.6 -1.1' stroke='%23174a33'/%3E%3Cpath d='M54.0 7.1 L64.5 16.8' stroke='%23174a33'/%3E%3Cpath d='M58.1 7.1 L66.5 1.3' stroke='%231f5a3f'/%3E%3Cpath d='M58.1 7.1 L67.1 18.1' stroke='%23174a33'/%3E%3Cpath d='M62.2 7.1 L69.6 -0.2' stroke='%231f5a3f'/%3E%3Cpath d='M62.2 7.1 L69.2 15.9' stroke='%23174a33'/%3E%3Cpath d='M66.3 7.1 L75.2 -3.5' stroke='%23327a55'/%3E%3Cpath d='M66.3 7.1 L76.6 16.2' stroke='%23327a55'/%3E%3Cpath d='M70.5 7.2 L79.4 -1.5' stroke='%231f5a3f'/%3E%3Cpath d='M70.5 7.2 L80.2 17.3' stroke='%23174a33'/%3E%3Cpath d='M74.6 7.3 L84.6 -1.2' stroke='%232a6e4c'/%3E%3Cpath d='M74.6 7.3 L81.9 16.5' stroke='%23174a33'/%3E%3Cpath d='M78.8 7.4 L88.0 -0.7' stroke='%231f5a3f'/%3E%3Cpath d='M78.8 7.4 L88.0 18.2' stroke='%23174a33'/%3E%3Cpath d='M83.0 7.5 L93.6 0.8' stroke='%232a6e4c'/%3E%3Cpath d='M83.0 7.5 L93.0 15.2' stroke='%23327a55'/%3E%3Cpath d='M87.2 7.7 L98.2 -0.9' stroke='%23174a33'/%3E%3Cpath d='M87.2 7.7 L93.6 15.2' stroke='%231f5a3f'/%3E%3Cpath d='M91.4 7.9 L98.0 0.6' stroke='%23174a33'/%3E%3Cpath d='M91.4 7.9 L100.3 15.7' stroke='%23174a33'/%3E%3Cpath d='M95.7 8.1 L104.4 2.1' stroke='%23174a33'/%3E%3Cpath d='M95.7 8.1 L102.4 16.7' stroke='%23327a55'/%3E%3Cpath d='M99.9 8.3 L111.3 1.1' stroke='%232a6e4c'/%3E%3Cpath d='M99.9 8.3 L107.7 15.7' stroke='%23174a33'/%3E%3Cpath d='M104.2 8.6 L112.9 2.6' stroke='%23327a55'/%3E%3Cpath d='M104.2 8.6 L110.8 16.4' stroke='%23174a33'/%3E%3Cpath d='M108.5 8.9 L117.3 -0.4' stroke='%232a6e4c'/%3E%3Cpath d='M108.5 8.9 L117.9 18.8' stroke='%232a6e4c'/%3E%3Cpath d='M112.8 9.2 L124.0 2.5' stroke='%232a6e4c'/%3E%3Cpath d='M112.8 9.2 L119.7 18.8' stroke='%232a6e4c'/%3E%3Cpath d='M117.1 9.6 L124.3 2.8' stroke='%232a6e4c'/%3E%3Cpath d='M117.1 9.6 L126.7 19.1' stroke='%232a6e4c'/%3E%3Cpath d='M121.4 10.0 L129.6 2.1' stroke='%231f5a3f'/%3E%3Cpath d='M121.4 10.0 L128.1 19.1' stroke='%232a6e4c'/%3E%3Cpath d='M125.8 10.4 L135.6 3.3' stroke='%23174a33'/%3E%3Cpath d='M125.8 10.4 L134.2 19.8' stroke='%23174a33'/%3E%3Cpath d='M130.1 10.8 L139.6 4.1' stroke='%23327a55'/%3E%3Cpath d='M130.1 10.8 L137.2 17.5' stroke='%23327a55'/%3E%3Cpath d='M134.5 11.3 L145.8 2.6' stroke='%232a6e4c'/%3E%3Cpath d='M134.5 11.3 L143.4 19.1' stroke='%23174a33'/%3E%3Cpath d='M138.9 11.8 L149.9 3.5' stroke='%231f5a3f'/%3E%3Cpath d='M138.9 11.8 L146.8 23.5' stroke='%231f5a3f'/%3E%3Cpath d='M143.3 12.3 L150.8 5.7' stroke='%232a6e4c'/%3E%3Cpath d='M143.3 12.3 L150.8 23.9' stroke='%231f5a3f'/%3E%3Cpath d='M147.7 12.8 L159.4 6.8' stroke='%232a6e4c'/%3E%3Cpath d='M147.7 12.8 L154.6 21.2' stroke='%231f5a3f'/%3E%3Cpath d='M152.1 13.4 L161.6 6.6' stroke='%231f5a3f'/%3E%3Cpath d='M152.1 13.4 L159.4 21.5' stroke='%23327a55'/%3E%3Cpath d='M156.6 14.0 L164.2 7.5' stroke='%232a6e4c'/%3E%3Cpath d='M156.6 14.0 L165.1 22.8' stroke='%231f5a3f'/%3E%3Cpath d='M161.0 14.7 L172.7 8.2' stroke='%232a6e4c'/%3E%3Cpath d='M161.0 14.7 L166.4 22.9' stroke='%23327a55'/%3E%3Cpath d='M165.5 15.3 L175.3 10.4' stroke='%23174a33'/%3E%3Cpath d='M165.5 15.3 L172.7 25.1' stroke='%231f5a3f'/%3E%3Cpath d='M60.0 8.0 L68.5 2.4' stroke='%231f5a3f'/%3E%3Cpath d='M60.0 8.0 L65.4 16.7' stroke='%231f5a3f'/%3E%3Cpath d='M64.9 8.8 L72.0 5.7' stroke='%231f5a3f'/%3E%3Cpath d='M64.9 8.8 L68.6 15.7' stroke='%23327a55'/%3E%3Cpath d='M69.6 9.8 L77.4 6.4' stroke='%23174a33'/%3E%3Cpath d='M69.6 9.8 L74.4 17.3' stroke='%23174a33'/%3E%3Cpath d='M74.0 11.1 L81.7 8.3' stroke='%23174a33'/%3E%3Cpath d='M74.0 11.1 L77.8 18.1' stroke='%231f5a3f'/%3E%3Cpath d='M78.2 12.7 L86.4 9.3' stroke='%231f5a3f'/%3E%3Cpath d='M78.2 12.7 L81.1 19.8' stroke='%23327a55'/%3E%3Cpath d='M82.2 14.5 L92.0 11.6' stroke='%23327a55'/%3E%3Cpath d='M82.2 14.5 L84.4 21.8' stroke='%23327a55'/%3E%3Cpath d='M86.0 16.5 L95.7 16.1' stroke='%23174a33'/%3E%3Cpath d='M86.0 16.5 L88.7 26.1' stroke='%23327a55'/%3E%3Cpath d='M89.6 18.8 L97.8 19.2' stroke='%23174a33'/%3E%3Cpath d='M89.6 18.8 L90.4 26.5' stroke='%23327a55'/%3E%3Cpath d='M92.9 21.3 L100.8 21.8' stroke='%231f5a3f'/%3E%3Cpath d='M92.9 21.3 L92.5 30.1' stroke='%23174a33'/%3E%3Cpath d='M96.0 24.1 L105.8 25.8' stroke='%23327a55'/%3E%3Cpath d='M96.0 24.1 L95.6 34.2' stroke='%231f5a3f'/%3E%3Cpath d='M98.9 27.2 L108.9 27.6' stroke='%23327a55'/%3E%3Cpath d='M98.9 27.2 L99.3 37.4' stroke='%231f5a3f'/%3E%3Cpath d='M101.6 30.5 L110.8 32.4' stroke='%23327a55'/%3E%3Cpath d='M101.6 30.5 L101.2 38.0' stroke='%231f5a3f'/%3E%3Cpath d='M120.0 12.0 L126.7 9.5' stroke='%23327a55'/%3E%3Cpath d='M120.0 12.0 L124.4 20.7' stroke='%23174a33'/%3E%3Cpath d='M124.8 13.2 L130.9 10.0' stroke='%232a6e4c'/%3E%3Cpath d='M124.8 13.2 L129.9 20.8' stroke='%231f5a3f'/%3E%3Cpath d='M129.4 14.9 L138.4 12.0' stroke='%232a6e4c'/%3E%3Cpath d='M129.4 14.9 L131.3 22.1' stroke='%232a6e4c'/%3E%3Cpath d='M133.6 17.0 L141.6 15.2' stroke='%23327a55'/%3E%3Cpath d='M133.6 17.0 L136.3 25.2' stroke='%23174a33'/%3E%3Cpath d='M137.5 19.5 L147.3 18.8' stroke='%23327a55'/%3E%3Cpath d='M137.5 19.5 L138.8 29.2' stroke='%23327a55'/%3E%3Cpath d='M141.1 22.5 L150.9 22.0' stroke='%23327a55'/%3E%3Cpath d='M141.1 22.5 L140.7 31.6' stroke='%23327a55'/%3E%3Cpath d='M144.4 25.9 L152.1 28.0' stroke='%232a6e4c'/%3E%3Cpath d='M144.4 25.9 L144.4 34.2' stroke='%23327a55'/%3E%3Cpath d='M147.3 29.7 L155.6 30.9' stroke='%23327a55'/%3E%3Cpath d='M147.3 29.7 L145.3 38.9' stroke='%232a6e4c'/%3E%3C/g%3E%3Cpath d='M20 6 q8 -5 16 -1 q6 -3 12 0 M96 7 q7 -4 14 0 q6 -3 11 1' stroke='%23f4f7fa' stroke-width='3' stroke-linecap='round' fill='none' opacity='.9'/%3E%3Cpath d='M48 9 L48 44' stroke='%23c9a45c' stroke-width='.8'/%3E%3Crect x='45.4' y='43' width='5.2' height='3.6' rx='.8' fill='%23c9a45c'/%3E%3Ccircle cx='48' cy='56' r='10' fill='url(%23r)'/%3E%3Cellipse cx='44.5' cy='52.0' rx='2.8000000000000003' ry='1.7999999999999998' fill='%23fff' opacity='.55' transform='rotate(-30 44.5 52.0)'/%3E%3Cpath d='M100 30 L100 48' stroke='%23c9a45c' stroke-width='.8'/%3E%3Crect x='97.4' y='47' width='5.2' height='3.6' rx='.8' fill='%23c9a45c'/%3E%3Ccircle cx='100' cy='58' r='8' fill='url(%23g)'/%3E%3Cellipse cx='97.2' cy='54.8' rx='2.24' ry='1.44' fill='%23fff' opacity='.55' transform='rotate(-30 97.2 54.8)'/%3E%3Cpath d='M146 32 L146 55' stroke='%23c9a45c' stroke-width='.8'/%3E%3Crect x='143.4' y='54' width='5.2' height='3.6' rx='.8' fill='%23c9a45c'/%3E%3Ccircle cx='146' cy='66' r='9' fill='url(%23r)'/%3E%3Cellipse cx='142.85' cy='62.4' rx='2.5200000000000005' ry='1.6199999999999999' fill='%23fff' opacity='.55' transform='rotate(-30 142.85 62.4)'/%3E%3Cpath d='M74 6 L74 32' stroke='%23c9a45c' stroke-width='.8'/%3E%3Crect x='71.4' y='31' width='5.2' height='3.6' rx='.8' fill='%23c9a45c'/%3E%3Ccircle cx='74' cy='40' r='6' fill='url(%23g)'/%3E%3Cellipse cx='71.9' cy='37.6' rx='1.6800000000000002' ry='1.08' fill='%23fff' opacity='.55' transform='rotate(-30 71.9 37.6)'/%3E%3Cg transform='translate(88 10)'%3E%3Cpath d='M0 0 C-10 -9 -16 -2 -12 4 C-9 8 -3 4 0 0 Z M0 0 C10 -9 16 -2 12 4 C9 8 3 4 0 0 Z' fill='%23c8322d'/%3E%3Cpath d='M0 0 L-6 14 L-3 13 L-1 16 Z M0 0 L6 14 L3 13 L1 16 Z' fill='%23a82724'/%3E%3Ccircle r='2.6' fill='%23e2453c'/%3E%3C/g%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.45));
  transform-origin: 50% 0; animation: winter-swing 6s ease-in-out infinite;
}
.winter-sprig.left { right: auto; left: 10%; transform: scaleX(-1); animation-name: winter-swing-l; }
@keyframes winter-swing { 0%, 100% { transform: rotate(-1deg); } 50% { transform: rotate(1.2deg); } }
@keyframes winter-swing-l { 0%, 100% { transform: scaleX(-1) rotate(-1deg); } 50% { transform: scaleX(-1) rotate(1.2deg); } }
@media (max-width: 599px) { .winter-sprig { width: 130px; height: 59px; right: 6%; } }
/* в календаре кнопки листания справа - ветку держим левее них */
#calendar-card > .winter-sprig { right: 34%; }
/* на шагах «Услуга», «Контакты», «Подтверждение» слева кнопка «Назад» - ветку вешаем справа */
.winter-sprig.step { right: 4%; }
@media (max-width: 599px) { #calendar-card > .winter-sprig { right: 30%; } }

/* Пустой блок «выберите дату» - со снеговиком */
html.winter #slots-body .empty-state::before {
  content: ""; display: block; width: 64px; height: 80px; margin: 0 auto .8rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='80' viewBox='0 0 64 80'%3E%3Cdefs%3E%3CradialGradient id='s' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23c9d3de'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cellipse cx='32' cy='76' rx='26' ry='4' fill='%23fff' opacity='.12'/%3E%3Cpath d='M18 46 L5 37 M46 46 L59 37' stroke='%236b4a2b' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='62' r='15' fill='url(%23s)'/%3E%3Ccircle cx='32' cy='40' r='11' fill='url(%23s)'/%3E%3Ccircle cx='32' cy='22' r='9' fill='url(%23s)'/%3E%3Cpath d='M23 30 Q32 34 41 30 L41 33 Q32 37 23 33 Z' fill='%23c8322d'/%3E%3Cpath d='M36 33 L39 44 L35 44 L33 34 Z' fill='%23a82724'/%3E%3Cpath d='M24 13 L40 13 L37 4 C33 0 29 2 27 5 Z' fill='%23c8322d'/%3E%3Crect x='22' y='12' width='20' height='4' rx='2' fill='%23f4f7fa'/%3E%3Ccircle cx='38' cy='4' r='2.6' fill='%23f4f7fa'/%3E%3Ccircle cx='28.5' cy='21' r='1.2' fill='%23141416'/%3E%3Ccircle cx='35.5' cy='21' r='1.2' fill='%23141416'/%3E%3Cpath d='M32 23.5 L39 25 L32 26 Z' fill='%23e8822b'/%3E%3Ccircle cx='32' cy='38' r='1.3' fill='%23141416'/%3E%3Ccircle cx='32' cy='43' r='1.3' fill='%23141416'/%3E%3Ccircle cx='32' cy='58' r='1.4' fill='%23141416'/%3E%3C/svg%3E") no-repeat center / contain;
  animation: winter-bob 5s ease-in-out infinite; transform-origin: 50% 100%;
}

/* Праздничные дни в календаре - золотая звёздочка */
html.winter .cal-day[data-date$="-12-24"]::before, html.winter .cal-day[data-date$="-12-25"]::before,
html.winter .cal-day[data-date$="-12-31"]::before, html.winter .cal-day[data-date$="-01-01"]::before {
  content: ""; position: absolute; top: 5px; left: 6px; width: 10px; height: 10px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 0 L7.4 4.2 L12 4.5 L8.4 7.2 L9.6 11.6 L6 9 L2.4 11.6 L3.6 7.2 L0 4.5 L4.6 4.2 Z' fill='%23e8c674'/%3E%3C/svg%3E") no-repeat center / contain;
}
html.winter .cal-day[data-date$="-12-31"]::before, html.winter .cal-day[data-date$="-01-01"]::before { width: 12px; height: 12px; }

/* ================= Новогодние сертификаты ================= */
.winter-ribbon {
  position: absolute; top: 14px; right: -50px; width: 160px; height: 18px; z-index: 4; pointer-events: none;
  transform: rotate(45deg);
  background: linear-gradient(180deg, #e2453c, #a82724);
  box-shadow: 0 2px 6px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.25), inset 0 -1px 0 rgba(0,0,0,.25);
}
.winter-ribbon::before, .winter-ribbon::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgba(232,198,116,.7); }
.winter-ribbon::before { top: 3px; } .winter-ribbon::after { bottom: 3px; }
.winter-bow {
  position: absolute; top: 14px; right: 12px; width: 50px; height: 38px; z-index: 5; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='46' viewBox='0 0 60 46'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23e2453c'/%3E%3Cstop offset='1' stop-color='%239e1f1f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M30 18 C18 2 4 4 6 14 C8 24 22 22 30 18 Z M30 18 C42 2 56 4 54 14 C52 24 38 22 30 18 Z' fill='url(%23b)'/%3E%3Cpath d='M14 10 C18 10 24 14 28 17 M46 10 C42 10 36 14 32 17' stroke='%23ff8a7e' stroke-width='1' fill='none' opacity='.6'/%3E%3Cpath d='M30 18 L20 42 L25 39 L27 44 Z M30 18 L40 42 L35 39 L33 44 Z' fill='%23a82724'/%3E%3Cellipse cx='30' cy='18' rx='5' ry='4.5' fill='%23c8322d'/%3E%3C/svg%3E") no-repeat center / contain;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.45));
}
.winter-mini {
  position: absolute; left: 6px; bottom: 4px; width: 80px; height: 56px; z-index: 3; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='56' viewBox='0 0 80 56'%3E%3Cdefs%3E%3CradialGradient id='r' cx='.35' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ff6a5c'/%3E%3Cstop offset='1' stop-color='%239e1f1f'/%3E%3C/radialGradient%3E%3CradialGradient id='g' cx='.35' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffe7a8'/%3E%3Cstop offset='1' stop-color='%239a7633'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M2 40 Q30 18 70 8' stroke='%235a3b22' stroke-width='1.8' fill='none'/%3E%3Cg stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2.0 40.0 L3.7 32.8' stroke='%23174a33'/%3E%3Cpath d='M2.0 40.0 L11.2 42.1' stroke='%23174a33'/%3E%3Cpath d='M5.1 37.6 L6.5 28.2' stroke='%23174a33'/%3E%3Cpath d='M5.1 37.6 L12.6 39.4' stroke='%23174a33'/%3E%3Cpath d='M8.4 35.3 L10.2 27.5' stroke='%232a6e4c'/%3E%3Cpath d='M8.4 35.3 L15.8 36.5' stroke='%23327a55'/%3E%3Cpath d='M11.7 33.0 L12.8 25.9' stroke='%23327a55'/%3E%3Cpath d='M11.7 33.0 L18.9 34.7' stroke='%231f5a3f'/%3E%3Cpath d='M15.0 30.8 L17.5 22.1' stroke='%23327a55'/%3E%3Cpath d='M15.0 30.8 L24.2 33.5' stroke='%231f5a3f'/%3E%3Cpath d='M18.5 28.7 L20.7 21.6' stroke='%232a6e4c'/%3E%3Cpath d='M18.5 28.7 L27.3 31.2' stroke='%231f5a3f'/%3E%3Cpath d='M22.0 26.7 L23.7 17.4' stroke='%232a6e4c'/%3E%3Cpath d='M22.0 26.7 L30.6 30.0' stroke='%232a6e4c'/%3E%3Cpath d='M25.6 24.7 L29.4 16.6' stroke='%231f5a3f'/%3E%3Cpath d='M25.6 24.7 L32.6 27.6' stroke='%231f5a3f'/%3E%3Cpath d='M29.3 22.8 L32.6 15.5' stroke='%231f5a3f'/%3E%3Cpath d='M29.3 22.8 L36.7 24.2' stroke='%23174a33'/%3E%3Cpath d='M33.0 21.0 L37.1 14.0' stroke='%23174a33'/%3E%3Cpath d='M33.0 21.0 L40.7 22.4' stroke='%23327a55'/%3E%3Cpath d='M36.8 19.3 L39.9 13.0' stroke='%23327a55'/%3E%3Cpath d='M36.8 19.3 L44.9 21.9' stroke='%231f5a3f'/%3E%3Cpath d='M40.7 17.6 L42.9 11.0' stroke='%23327a55'/%3E%3Cpath d='M40.7 17.6 L49.9 20.0' stroke='%23174a33'/%3E%3Cpath d='M44.7 16.0 L50.0 7.9' stroke='%23174a33'/%3E%3Cpath d='M44.7 16.0 L51.8 19.4' stroke='%23327a55'/%3E%3Cpath d='M48.7 14.5 L53.3 6.9' stroke='%23174a33'/%3E%3Cpath d='M48.7 14.5 L58.0 17.3' stroke='%23174a33'/%3E%3Cpath d='M52.8 13.0 L56.5 5.4' stroke='%231f5a3f'/%3E%3Cpath d='M52.8 13.0 L60.2 16.9' stroke='%231f5a3f'/%3E%3Cpath d='M57.0 11.7 L60.9 3.7' stroke='%232a6e4c'/%3E%3Cpath d='M57.0 11.7 L64.9 16.0' stroke='%232a6e4c'/%3E%3Cpath d='M61.3 10.4 L67.0 2.7' stroke='%23327a55'/%3E%3Cpath d='M61.3 10.4 L70.3 13.8' stroke='%232a6e4c'/%3E%3Cpath d='M65.6 9.1 L69.3 1.2' stroke='%23327a55'/%3E%3Cpath d='M65.6 9.1 L73.3 13.5' stroke='%23327a55'/%3E%3C/g%3E%3Ccircle cx='34' cy='38' r='6' fill='url(%23r)'/%3E%3Ccircle cx='52' cy='30' r='4.5' fill='url(%23g)'/%3E%3Ccircle cx='22' cy='30' r='3.5' fill='url(%23g)'/%3E%3C/svg%3E") no-repeat center / contain; opacity: .95;
}
.winter-cert-cap { position: absolute; left: 10px; right: 64px; top: -2px; height: 14px; z-index: 3; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' viewBox='0 0 120 16'%3E%3Cpath d='M0 3 C14 0 26 1 40 2 C56 3 70 0 84 1 C98 2 110 0 120 3 L120 7 C112 8 108 12 102 11 C96 10 94 7 84 8 C74 9 72 14 64 13 C56 12 56 8 46 8 C36 8 34 11 26 11 C18 11 14 7 0 7 Z' fill='%23f4f7fa'/%3E%3Cpath d='M0 7 C14 7 18 11 26 11 C34 11 36 8 46 8 C56 8 56 12 64 13 C72 14 74 9 84 8 C94 7 96 10 102 11 C108 12 112 8 120 7' stroke='%23c9d6e3' stroke-width='1' fill='none'/%3E%3C/svg%3E") repeat-x 0 0 / 105px 14px; }
.winter-flakes { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg stroke='%23d8bd86' stroke-width='1' stroke-linecap='round' opacity='.08' fill='none'%3E%3Cpath d='M18 10 v14 M12 13.5 l12 7 M12 20.5 l12 -7'/%3E%3Cpath d='M64 44 v10 M59.7 46.5 l8.6 5 M59.7 51.5 l8.6 -5'/%3E%3Cpath d='M30 66 v8 M26.5 68 l7 4 M26.5 72 l7 -4'/%3E%3Cpath d='M80 12 v6 M77.4 13.5 l5.2 3 M77.4 16.5 l5.2 -3'/%3E%3C/g%3E%3C/svg%3E") repeat 0 0 / 90px 90px; }
.gp-cert > .gp-cert-in, .gf-cert > .gf-cert-in { position: relative; z-index: 1; }
.winter-ny {
  display: flex; justify-content: center; align-items: center; gap: .4em; margin-top: 8px;
  font-family: var(--font-display); font-style: italic; color: #e8c674;
}
.gp-cert .winter-ny { font-size: 10px; }
.gf-cert .winter-ny { font-size: clamp(12px, 3vw, 15px); }
.winter-ny::before, .winter-ny::after { content: "✦"; font-style: normal; font-size: .7em; color: #c9a45c; }
/* в маленькой версии всё чуть мельче */
.gp-cert .winter-ribbon { top: 14px; right: -48px; width: 150px; height: 15px; }
.gp-cert .winter-bow { top: 8px; right: 8px; width: 38px; height: 29px; }
.gp-cert .winter-mini { width: 58px; height: 41px; left: 4px; bottom: 2px; }
/* бумажная (печатная) версия: убираем снег и снежинки, ленту с бантом и веточку оставляем */
body.gf-paper .winter-cert-cap, body.gf-paper .winter-flakes { display: none; }
body.gf-paper .winter-ny { color: #a07f3c; font-size: 20px; }
body.gf-paper .winter-ribbon { top: 34px; right: -60px; width: 260px; height: 30px; box-shadow: none; }
body.gf-paper .winter-bow { top: 22px; right: 22px; width: 90px; height: 68px; filter: none; }
body.gf-paper .winter-mini { width: 150px; height: 105px; left: 14px; bottom: 10px; }

/* Конверт на странице сертификата */
.winter-env-sprig { position: absolute; right: -34px; top: -18px; width: 120px; height: 84px; z-index: 6; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='56' viewBox='0 0 80 56'%3E%3Cdefs%3E%3CradialGradient id='r' cx='.35' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ff6a5c'/%3E%3Cstop offset='1' stop-color='%239e1f1f'/%3E%3C/radialGradient%3E%3CradialGradient id='g' cx='.35' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffe7a8'/%3E%3Cstop offset='1' stop-color='%239a7633'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M2 40 Q30 18 70 8' stroke='%235a3b22' stroke-width='1.8' fill='none'/%3E%3Cg stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2.0 40.0 L3.7 32.8' stroke='%23174a33'/%3E%3Cpath d='M2.0 40.0 L11.2 42.1' stroke='%23174a33'/%3E%3Cpath d='M5.1 37.6 L6.5 28.2' stroke='%23174a33'/%3E%3Cpath d='M5.1 37.6 L12.6 39.4' stroke='%23174a33'/%3E%3Cpath d='M8.4 35.3 L10.2 27.5' stroke='%232a6e4c'/%3E%3Cpath d='M8.4 35.3 L15.8 36.5' stroke='%23327a55'/%3E%3Cpath d='M11.7 33.0 L12.8 25.9' stroke='%23327a55'/%3E%3Cpath d='M11.7 33.0 L18.9 34.7' stroke='%231f5a3f'/%3E%3Cpath d='M15.0 30.8 L17.5 22.1' stroke='%23327a55'/%3E%3Cpath d='M15.0 30.8 L24.2 33.5' stroke='%231f5a3f'/%3E%3Cpath d='M18.5 28.7 L20.7 21.6' stroke='%232a6e4c'/%3E%3Cpath d='M18.5 28.7 L27.3 31.2' stroke='%231f5a3f'/%3E%3Cpath d='M22.0 26.7 L23.7 17.4' stroke='%232a6e4c'/%3E%3Cpath d='M22.0 26.7 L30.6 30.0' stroke='%232a6e4c'/%3E%3Cpath d='M25.6 24.7 L29.4 16.6' stroke='%231f5a3f'/%3E%3Cpath d='M25.6 24.7 L32.6 27.6' stroke='%231f5a3f'/%3E%3Cpath d='M29.3 22.8 L32.6 15.5' stroke='%231f5a3f'/%3E%3Cpath d='M29.3 22.8 L36.7 24.2' stroke='%23174a33'/%3E%3Cpath d='M33.0 21.0 L37.1 14.0' stroke='%23174a33'/%3E%3Cpath d='M33.0 21.0 L40.7 22.4' stroke='%23327a55'/%3E%3Cpath d='M36.8 19.3 L39.9 13.0' stroke='%23327a55'/%3E%3Cpath d='M36.8 19.3 L44.9 21.9' stroke='%231f5a3f'/%3E%3Cpath d='M40.7 17.6 L42.9 11.0' stroke='%23327a55'/%3E%3Cpath d='M40.7 17.6 L49.9 20.0' stroke='%23174a33'/%3E%3Cpath d='M44.7 16.0 L50.0 7.9' stroke='%23174a33'/%3E%3Cpath d='M44.7 16.0 L51.8 19.4' stroke='%23327a55'/%3E%3Cpath d='M48.7 14.5 L53.3 6.9' stroke='%23174a33'/%3E%3Cpath d='M48.7 14.5 L58.0 17.3' stroke='%23174a33'/%3E%3Cpath d='M52.8 13.0 L56.5 5.4' stroke='%231f5a3f'/%3E%3Cpath d='M52.8 13.0 L60.2 16.9' stroke='%231f5a3f'/%3E%3Cpath d='M57.0 11.7 L60.9 3.7' stroke='%232a6e4c'/%3E%3Cpath d='M57.0 11.7 L64.9 16.0' stroke='%232a6e4c'/%3E%3Cpath d='M61.3 10.4 L67.0 2.7' stroke='%23327a55'/%3E%3Cpath d='M61.3 10.4 L70.3 13.8' stroke='%232a6e4c'/%3E%3Cpath d='M65.6 9.1 L69.3 1.2' stroke='%23327a55'/%3E%3Cpath d='M65.6 9.1 L73.3 13.5' stroke='%23327a55'/%3E%3C/g%3E%3Ccircle cx='34' cy='38' r='6' fill='url(%23r)'/%3E%3Ccircle cx='52' cy='30' r='4.5' fill='url(%23g)'/%3E%3Ccircle cx='22' cy='30' r='3.5' fill='url(%23g)'/%3E%3C/svg%3E") no-repeat center / contain; transform: rotate(14deg) scaleX(-1); filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.gf-intro.is-away .winter-env-sprig { opacity: 0; }

@media (prefers-reduced-motion: reduce) { .winter-sprig, html.winter #slots-body .empty-state::before { animation: none; } }

/* место под ленту в правом верхнем углу, чтобы она не закрывала надпись */
html.winter .gp-top { padding-right: 30px; }
html.winter .gf-top { padding-right: 44px; }
body.gf-paper .gf-top { padding-right: 70px; }
