:root {
  --ny-rise: clamp(50px, 5.23vw, 67px);
  --ny-tile: clamp(185px, 24.1vw, 345px);
  --ny-unit: clamp(.55px, .0782vw, 1px);
  --ny-spruce-top: 13px;
  --ny-reserve: 46px;
  --ny-brand: #396b9b;
  --ny-brand-dark: #2f5a84;
}

/* Hold the garland's place before the script runs, so the page does not jump down. */
html:not(.altx-ny-ready):not(.altx-ny-off) .wrapper1::before {
  content: "";
  position: relative;
  z-index: 30;
  display: block;
  height: calc(var(--ny-tile) * .357 - var(--ny-spruce-top));
  margin-bottom: calc(var(--ny-rise) - var(--ny-tile) * .357 + var(--ny-spruce-top));
  background: url(continuous-branches.webp) left calc(var(--ny-spruce-top) * -1) / var(--ny-tile) auto repeat-x;
  pointer-events: none;
}

.wrapper1 > .altx-ny-band {
  position: relative;
  z-index: 30;
  isolation: isolate;
  height: var(--ny-rise);
  pointer-events: none;
}
.altx-ny-band.is-leaving { transition: height .35s ease, opacity .25s ease; opacity: 0; }
.altx-ny-spruce {
  position: absolute;
  inset: calc(var(--ny-spruce-top) * -1) 0 auto;
  height: calc(var(--ny-tile) * .357);
  background: url(continuous-branches.webp) left top / var(--ny-tile) auto repeat-x;
  clip-path: inset(var(--ny-spruce-top) 0 0);
}
.altx-ny-viewport,
.altx-ny-lights {
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--ny-rise) + 19px);
}
.altx-ny-viewport { z-index: 2; right: var(--ny-reserve); }
.altx-ny-toys { position: relative; height: 100%; }
.altx-ny-toy {
  --ny-swing: 8deg;
  position: absolute;
  left: var(--ny-x);
  top: calc(var(--ny-y) * var(--ny-unit));
  width: calc(var(--ny-size) * var(--ny-unit));
  height: calc(var(--ny-size) * var(--ny-unit));
  translate: -50% 0;
  transform-origin: 50% 0;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 5px;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}
.altx-ny-toy[hidden] { display: none; }
/* The thread reaches up into the branches whatever the drop: a low toy must not hang in the air. */
.altx-ny-toy::before {
  --ny-thread: max(10px, calc(var(--ny-y) * var(--ny-unit) - 6px));
  content: "";
  position: absolute;
  top: calc(2px - var(--ny-thread));
  left: calc(50% - .5px);
  width: 1px;
  height: var(--ny-thread);
  background: #a98760;
  pointer-events: none;
}
.altx-ny-toy img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 0;
  pointer-events: none;
}
.altx-ny-toy.is-ringing { z-index: 1; }
.altx-ny-toy.is-ringing img { animation: altx-ny-swing .65s ease-out; }
/* Changing into the next set: the toy dips, turns and comes back in its new look. */
.altx-ny-toy.is-dressing { z-index: 1; }
.altx-ny-toy.is-dressing img { animation: altx-ny-dress .62s ease-in-out; }
@keyframes altx-ny-dress {
  0%,100% { opacity: 1; transform: none; }
  40%,50% { opacity: 0; transform: rotate(var(--ny-swing)) scale(.55); }
}

/* The four toys that open something: larger, a golden glow, a star and a slow nudge. */
.altx-ny-toy[data-feature] {
  z-index: 2;
  width: calc(var(--ny-size) * var(--ny-unit) * 1.2);
  height: calc(var(--ny-size) * var(--ny-unit) * 1.2);
  animation: altx-ny-nudge 9s var(--ny-nudge-delay, 1.5s) ease-in-out infinite;
}
.altx-ny-toy[data-feature]::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -8px;
  width: 17px;
  height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 .8C11 6.3 13.7 9 19.2 10 13.7 11 11 13.7 10 19.2 9 13.7 6.3 11 .8 10 6.3 9 9 6.3 10 .8Z' fill='%23ffd04d' stroke='%23a16a00' stroke-width='.9' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='10' r='2.2' fill='%23fffbe6'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 1px 1px #5a3a0059);
  animation: altx-ny-sparkle 2.2s ease-in-out infinite;
  pointer-events: none;
}
.altx-ny-toy[data-feature]:is(:hover,:focus-visible) { z-index: 3; animation-play-state: paused; }
@keyframes altx-ny-nudge {
  0%, 86%, 100% { rotate: 0deg; }
  89% { rotate: 7deg; }
  93% { rotate: -5deg; }
  97% { rotate: 2deg; }
}
@keyframes altx-ny-sparkle {
  0%, 100% { opacity: .3; transform: scale(.7) rotate(0deg); }
  45%, 55% { opacity: 1; transform: scale(1.1) rotate(45deg); }
}
.altx-ny-toy-label {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 8px;
  border: 1px solid #e6d9c5;
  border-radius: 6px;
  background: #fffdf7;
  color: #355447;
  font: 700 12px/1.2 AltxManrope, Arial, sans-serif;
  white-space: nowrap;
  visibility: hidden;
  pointer-events: none;
}
@media (hover: hover) {
  .altx-ny-toy[data-feature]:not([aria-expanded="true"]):hover .altx-ny-toy-label { visibility: visible; }
}
.altx-ny-toy[data-feature]:not([aria-expanded="true"]):focus-visible .altx-ny-toy-label { visibility: visible; }
@keyframes altx-ny-swing {
  0%,100% { transform: none; }
  24% { transform: rotate(var(--ny-swing)); }
  52% { transform: rotate(calc(var(--ny-swing) * -.53)); }
  79% { transform: rotate(calc(var(--ny-swing) * .23)); }
}

.altx-ny-dismiss {
  position: absolute;
  z-index: 3;
  top: calc(var(--ny-rise) / 2 - 14px);
  right: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #d9c9a6;
  border-radius: 50%;
  background: #fffdf8eb;
  box-shadow: 0 2px 6px #1d36291f;
  color: #4c6258;
  pointer-events: auto;
  cursor: pointer;
}
.altx-ny-dismiss::before,
.altx-ny-dismiss::after {
  content: "";
  grid-area: 1 / 1;
  width: 11px;
  height: 1.6px;
  border-radius: 1px;
  background: currentColor;
  rotate: 45deg;
}
.altx-ny-dismiss::after { rotate: -45deg; }
.altx-ny-dismiss:hover { background: #fff; color: #213b32; }

.altx-ny-hint {
  position: absolute;
  z-index: 4;
  max-width: calc(100vw - 16px);
  padding: 8px 12px;
  border-radius: 10px;
  background: #213b32;
  box-shadow: 0 6px 18px #142b2d40;
  color: #fff4db;
  font: 700 13px/1.25 AltxManrope, Arial, sans-serif;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  animation: altx-ny-hint-in .3s ease-out both;
}
.altx-ny-hint::before {
  content: "";
  position: absolute;
  top: -5px;
  left: calc(var(--ny-hint-arrow, 26px) - 6px);
  width: 12px;
  height: 12px;
  background: inherit;
  border-radius: 2px;
  rotate: 45deg;
}
.altx-ny-hint.is-leaving { transition: opacity .25s ease; opacity: 0; }
@keyframes altx-ny-hint-in {
  from { opacity: 0; translate: 0 -4px; }
}

.altx-ny-lights { z-index: 1; pointer-events: none; }
.altx-ny-light {
  position: absolute;
  left: var(--ny-light-x);
  top: var(--ny-light-y);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 36%, #fff9ef 10%, var(--ny-light) 70%);
  box-shadow: 0 0 5px 1px var(--ny-light), 0 0 12px 3px var(--ny-light-haze);
  animation: altx-ny-twinkle var(--ny-light-period) var(--ny-light-phase) ease-in-out infinite;
}
@keyframes altx-ny-twinkle {
  0%,100% { opacity: .12; transform: scale(.74); }
  19% { opacity: .28; }
  42%,53% { opacity: 1; transform: scale(1.38); }
  71% { opacity: .55; transform: scale(.98); }
  86% { opacity: .22; }
}
.altx-ny-lights--retro .altx-ny-light {
  width: 7px;
  height: 9px;
  border-radius: 48% 48% 55% 55% / 38% 38% 68% 68%;
  background: radial-gradient(ellipse at 37% 30%, #fff9ed 12%, var(--ny-light) 55%, var(--ny-light-haze) 100%);
  box-shadow: 0 0 6px 1px var(--ny-light), 0 0 14px 3px var(--ny-light-haze);
  animation-name: altx-ny-retro;
}
@keyframes altx-ny-retro {
  0%,100% { opacity: .19; transform: scale(.87); }
  38%,57% { opacity: 1; transform: scale(1.12); }
  76% { opacity: .55; }
}
.altx-ny-lights--retro .altx-ny-light::before {
  content: "";
  position: absolute;
  inset: -2px 1px auto;
  height: 3px;
  border-radius: 1px;
  background: #b5a06f;
}
.altx-ny-lights--frost .altx-ny-light {
  width: 4px;
  height: 4px;
  background: #fffaf3;
  box-shadow: 0 0 6px 1px var(--ny-light), 0 0 12px 3px var(--ny-light-haze);
  animation-name: altx-ny-frost;
}
@keyframes altx-ny-frost {
  0%,100% { opacity: .14; transform: scale(.8); }
  30% { opacity: .61; }
  49%,61% { opacity: 1; transform: scale(1.26); }
  79% { opacity: .5; }
}
.altx-ny-lights--frost .altx-ny-light::before,
.altx-ny-lights--frost .altx-ny-light::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--ny-light);
  box-shadow: 0 0 5px 1px var(--ny-light-haze);
}
.altx-ny-lights--frost .altx-ny-light::before { top: -5px; left: -7px; }
.altx-ny-lights--frost .altx-ny-light::after { top: 5px; left: 6px; }

/* Header launcher: «Музыка» opens the player, ■ stops the song without opening it. */
body.altx-hdr #header .logo-row .row > .altx-ny-launch,
#mobileheader .mobileheader-v1 > .altx-ny-launch {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  margin: 0;
}
body.altx-hdr.altx-ny-active #header .logo-row .row > .altx-ny-launch { order: 4; }
body.altx-hdr.altx-ny-active #header .logo-row .row > .right-icons { order: 5; }
#header .altx-ny-launch .altx-ny-trigger,
#mobileheader .altx-ny-launch .altx-ny-trigger,
#header .altx-ny-launch .altx-ny-stop,
#mobileheader .altx-ny-launch .altx-ny-stop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 4px 10px;
  margin: 0;
  border: 1px solid #d6e3da;
  border-radius: 8px;
  background: #f4f8f4;
  color: #275243;
  font: 700 13px/1.15 AltxManrope, Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
#header .altx-ny-launch .altx-ny-stop,
#mobileheader .altx-ny-launch .altx-ny-stop { width: 34px; padding: 0; }
body.altx-hdr #header .logo-row .row > .altx-ny-restore,
#mobileheader .mobileheader-v1 > .altx-ny-restore {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 4px 10px 4px 8px;
  margin: 0;
  border: 1px dashed #c9d8cd;
  border-radius: 8px;
  background: transparent;
  color: #275243;
  font: 700 13px/1.15 AltxManrope, Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
/* Same order as .right-icons in header.css: it stays just before them, as in the DOM. */
body.altx-hdr #header .logo-row .row > .altx-ny-restore { order: 4; }
:is(#header, #mobileheader) .altx-ny-restore:hover { background: #f4f8f4; border-style: solid; }
.altx-ny-restore svg { width: 20px; height: 20px; flex: none; }
.altx-ny-restore:focus-visible { outline: 2px solid #78a490; outline-offset: 2px; }
#header .altx-ny-launch .altx-ny-stop[hidden],
#mobileheader .altx-ny-launch .altx-ny-stop[hidden] { display: none; }
.altx-ny-stop::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #9c433c;
}
#header .altx-ny-launch :is(.altx-ny-trigger,.altx-ny-stop):hover,
#mobileheader .altx-ny-launch :is(.altx-ny-trigger,.altx-ny-stop):hover { background: #e7f0e9; }
.altx-ny-trigger[aria-expanded="true"] { border-color: #95b4a5 !important; }
.altx-ny-trigger-text { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.altx-ny-glyph { font-size: 20px; line-height: .85; }
.altx-ny-eq { display: none; align-items: flex-end; gap: 2px; width: 13px; height: 14px; }
.altx-ny-eq i { width: 3px; height: 4px; border-radius: 1px; background: #9c433c; animation: altx-ny-eq .8s ease-in-out infinite alternate; }
.altx-ny-eq i:nth-child(2) { animation-delay: -.27s; }
.altx-ny-eq i:nth-child(3) { animation-delay: -.53s; }
@keyframes altx-ny-eq { to { height: 14px; } }
.altx-ny-launch.is-playing .altx-ny-trigger .altx-ny-glyph { display: none; }
.altx-ny-launch.is-playing .altx-ny-eq { display: inline-flex; }

/* Player and toy cards: non-modal panels under their button. */
.altx-ny-pop {
  display: none;
  position: fixed;
  z-index: 3200;
  inset: auto;
  box-sizing: border-box;
  margin: 0;
  font-family: AltxManrope, Arial, sans-serif;
}
.altx-ny-pop:popover-open,
.altx-ny-pop.is-open { display: block; }
.altx-ny-player {
  width: min(340px, calc(100vw - 16px));
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #cbb889;
  border-radius: 16px;
  background: #faf2e4;
  color: #20372f;
  box-shadow: 0 14px 40px #142b2d38;
}
.altx-ny-player-head {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px 10px 14px;
  border-bottom: 1px solid #cbb072;
  background: radial-gradient(ellipse at 83% 0%, #3a6046, #173a2f 66%);
  color: #fff4db;
}
.altx-ny-player-head::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto auto;
  width: 170px;
  height: 58px;
  background: url(continuous-branches.webp) right 30% / 190px auto no-repeat;
  mask-image: linear-gradient(to right, transparent, #000 45%);
  opacity: .75;
  pointer-events: none;
}
.altx-ny-player-head .altx-ny-glyph {
  display: grid;
  flex: 0 0 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #edcf8f85;
  border-radius: 50%;
  background: #244739;
  color: #f2d497;
  font-size: 17px;
}
.altx-ny-player h2 {
  margin: 0;
  color: inherit;
  font: 700 20px/1.1 Georgia, "Times New Roman", serif;
}
.altx-ny-player button { font-family: inherit; cursor: pointer; }
.altx-ny-player-body { padding: 8px 14px 14px; }
.altx-ny-close {
  margin-left: auto;
  padding: 0;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4c6258;
  font-size: 24px;
  line-height: 1;
}
.altx-ny-close:hover { background: #edf2eb; }
:is(.altx-ny-player-head, .altx-ny-dialog) .altx-ny-close {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid #edcf8f75;
  border-radius: 50%;
  background: #173a2f;
  color: #fff4db;
  font-size: 22px;
}
:is(.altx-ny-player-head, .altx-ny-dialog) .altx-ny-close:hover { background: #36614d; }
.altx-ny-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 6px 8px 6px 10px;
  border: 0;
  border-bottom: 1px solid #d2ba8b66;
  border-radius: 6px 6px 0 0;
  background: transparent;
  color: #213b32;
  font-size: 13.5px;
  font-weight: 700;
  text-align: left;
}
.altx-ny-track:hover,
.altx-ny-track[aria-pressed="true"] { background: #e8ecdd; }
.altx-ny-track-icon {
  display: grid;
  flex: 0 0 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #ede0c5;
  color: #305844;
  font: 12px/1 Arial, sans-serif;
}
.altx-ny-track[aria-pressed="true"] .altx-ny-track-icon {
  background: #315c4c;
  color: #fffdf8;
}
.altx-ny-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 8px;
  min-height: 36px;
  padding: 3px 8px 3px 10px;
  border: 0;
  background: transparent;
  color: #36564b;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}
.altx-ny-switch-mark {
  position: relative;
  width: 35px;
  height: 20px;
  border-radius: 12px;
  background: #dbe3d9;
}
.altx-ny-switch-mark::after {
  content: "";
  position: absolute;
  inset: 3px auto auto 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform .15s ease;
}
.altx-ny-switch[aria-checked="true"] .altx-ny-switch-mark { background: #457260; }
.altx-ny-switch[aria-checked="true"] .altx-ny-switch-mark::after { transform: translateX(15px); }
.altx-ny-set-picker {
  margin: 8px 0 0;
  padding: 10px 0 0;
  border-top: 1px dashed #d2ba8b;
}
.altx-ny-set-label {
  display: block;
  margin: 0 0 8px 10px;
  color: #36564b;
  font-size: 13px;
  font-weight: 700;
}
.altx-ny-set-row { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 6px; }
.altx-ny-set-choice {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 1px solid #d6c49f;
  border-radius: 50%;
  background: #fffdf8;
  cursor: pointer;
}
.altx-ny-set-choice img { width: 28px; height: 34px; object-fit: contain; pointer-events: none; }
.altx-ny-set-choice:hover { background: #e8eddf; }
.altx-ny-set-choice[aria-pressed="true"] { border: 2px solid #457260; background: #e8eddf; }
.altx-ny-light-picker {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 5px;
  min-width: 0;
  margin: 8px 0 0;
  padding: 9px 0 0;
  border: 0;
  border-top: 1px dashed #d2ba8b;
}
.altx-ny-light-picker legend {
  width: auto;
  margin: 0;
  padding: 0 7px 0 0;
  border: 0;
  color: #7a6a4c;
  font: 700 12px/1.2 AltxManrope, Arial, sans-serif;
}
.altx-ny-light-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 34px;
  padding: 4px;
  border: 1px solid #d6c49f;
  border-radius: 8px;
  background: #fffdf8;
  color: #36564b;
  font-size: 12px;
  font-weight: 700;
}
.altx-ny-light-choice::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ny-swatch);
}
.altx-ny-light-choice:hover,
.altx-ny-light-choice[aria-pressed="true"] { border-color: #6d8d71; background: #e8eddf; }
.altx-ny-dialog :focus-visible,
.altx-ny-pop :focus-visible,
.altx-ny-dismiss:focus-visible,
.altx-ny-launch :focus-visible,
.altx-ny-toy:focus-visible { outline: 2px solid #78a490; outline-offset: 2px; }
.altx-ny-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.altx-ny-offer {
  width: min(270px, calc(100vw - 16px));
  padding: 13px 14px 14px;
  border: 1px solid #e7dfd1;
  border-radius: 10px;
  background: #fffdf8;
  color: #213b32;
  box-shadow: 0 8px 28px #21392a24;
}
.altx-ny-offer .altx-ny-close { position: absolute; top: 6px; right: 7px; }
.altx-ny-offer .altx-ny-offer-title {
  margin: 0 35px 6px 0;
  color: #213b32;
  font: 800 15px/1.25 AltxManrope, Arial, sans-serif;
}
.altx-ny-offer-text { margin: 0 0 10px; color: #496257; font-size: 13px; line-height: 1.4; }
.altx-ny-action {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--ny-brand);
  color: #fff;
  font: 700 13px/1.25 AltxManrope, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
/* Visited links take the site's link colour, so every state of our buttons is pinned to white. */
.altx-ny-pop a.altx-ny-action:is(:link,:visited,:focus,:active),
.altx-ny-pop a.altx-ny-action:is(:link,:visited,:focus,:active):hover { color: #fff; }
.altx-ny-action:hover { background: var(--ny-brand-dark); color: #fff; text-decoration: none; }

dialog.altx-ny-dialog {
  --ny-paper: #faf2e4;
  --ny-ink: #20372f;
  --ny-gold: #f2d497;
  --ny-red: #8b363e;
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(596px, calc(100vw - 24px));
  max-height: calc(100% - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #cbb889;
  border-radius: 19px;
  background: var(--ny-paper);
  color: var(--ny-ink);
  box-shadow: 0 12px 42px #142b2d2b;
  font-family: AltxManrope, Arial, sans-serif;
}
.altx-ny-dialog::backdrop { background: #142d2a70; }
.altx-ny-dialog h2 {
  margin: 0;
  color: inherit;
  font: 700 clamp(22px, 4.8vw, 28px)/1.08 Georgia, "Times New Roman", serif;
}
.altx-ny-dialog button { font-family: inherit; cursor: pointer; }
.altx-ny-dialog .altx-ny-close:focus-visible { outline-color: var(--ny-gold); }
.altx-ny-wish[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.29fr) minmax(0, 1fr);
}
.altx-ny-wish .altx-ny-close {
  position: absolute;
  z-index: 2;
  top: 11px;
  right: 11px;
}
.altx-ny-wish-scene {
  position: relative;
  isolation: isolate;
  grid-area: 1 / 2;
  min-height: 265px;
  overflow: hidden;
  border-left: 1px solid #cbb072;
  background: radial-gradient(ellipse at 49% 58%, #55745a 2%, #2e5449 56%, #1e3c35 100%);
}
.altx-ny-wish-scene::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 82px;
  background: url(continuous-branches.webp) center top / 230px auto repeat-x;
  opacity: .82;
}
.altx-ny-snowman {
  position: absolute;
  inset: auto 0 4px;
  width: 100%;
  height: min(88%, 225px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 9px 9px #142b2770);
  transition: transform .45s ease;
}
.altx-ny-envelope {
  position: absolute;
  right: 10%;
  bottom: 14%;
  display: grid;
  place-items: center;
  width: 37%;
  aspect-ratio: 1.5;
  border: 1px solid #dfc08d;
  border-radius: 5px;
  background: linear-gradient(148deg, #f7e5be, #e7c999);
  box-shadow: 0 4px 10px #172c2b5c;
  visibility: hidden;
}
.altx-ny-envelope::before {
  content: "";
  position: absolute;
  inset: 0 0 22%;
  border-radius: inherit;
  background: #fff1d3;
  clip-path: polygon(0 0, 100% 0, 52% 100%, 48% 100%);
}
.altx-ny-seal {
  position: relative;
  align-self: end;
  display: grid;
  place-items: center;
  width: 29%;
  aspect-ratio: 1;
  margin-bottom: 5%;
  border: 1px solid #b4585b;
  border-radius: 45% 51% 46% 54%;
  background: radial-gradient(circle, #9a3940 58%, #6e272f 61%, #a4484d 72%);
  color: #ffc5a2;
  font: 14px/1 Georgia, serif;
}
.altx-ny-wish--sealed .altx-ny-snowman { transform: translateX(-14%); }
.altx-ny-wish--sealed .altx-ny-envelope {
  visibility: visible;
  transform: rotate(-10deg);
  animation: altx-ny-seal-letter .55s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes altx-ny-seal-letter {
  from { opacity: 0; transform: translateY(16px) rotate(3deg) scale(.85); }
  to { opacity: 1; transform: rotate(-10deg); }
}
.altx-ny-wish-letter {
  grid-area: 1 / 1;
  align-self: center;
  padding: 24px 25px 27px;
  background: radial-gradient(ellipse at 30% 0%, #fff7e8, transparent 80%);
}
.altx-ny-wish-letter h2 { margin-bottom: 15px; }
.altx-ny-wish-letter h2:focus { outline: none; }
.altx-ny-wish-form { margin: 0; }
.altx-ny-wish-input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 88px;
  margin: 0 0 12px;
  padding: 7px 10px;
  border: 1px solid #cbb889;
  border-radius: 8px;
  background: repeating-linear-gradient(to bottom, transparent 0 23px, #e5d5b7 23px 24px) 0 7px / 100% 24px, #fff9ed;
  color: var(--ny-ink);
  font: 16px/24px AltxManrope, Arial, sans-serif;
  resize: vertical;
}
.altx-ny-wish-input[aria-invalid="true"] { border-color: var(--ny-red); }
.altx-ny-wish-error { margin: -3px 0 10px; color: #7d242b; font-size: 13px; }
.altx-ny-wish-error:empty { margin: 0; }
/* Sealing wax stays red: it belongs to the envelope, not to the shop's buttons. */
.altx-ny-wish .altx-ny-action {
  min-height: 39px;
  padding-inline: 15px;
  background: var(--ny-red);
}
.altx-ny-wish .altx-ny-action:hover { background: #742a34; }
.altx-ny-wish .altx-ny-action--quiet,
.altx-ny-wish .altx-ny-action--quiet:hover {
  border: 1px solid #cbb889;
  background: transparent;
  color: #3f5a49;
}
.altx-ny-wish .altx-ny-action--quiet:hover { background: #f3e8d2; }
.altx-ny-wish-quote {
  margin: 0 0 10px;
  color: #20372f;
  font: italic 17px/1.4 Georgia, "Times New Roman", serif;
  overflow-wrap: anywhere;
}
.altx-ny-wish-note { margin: 0 0 16px; color: #3f5a49; font-size: 14px; }
.altx-ny-wish-actions { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 545px) {
  .altx-ny-wish[open] { grid-template-columns: minmax(0, 1fr); }
  .altx-ny-wish-scene {
    grid-area: 1 / 1;
    min-height: 138px;
    border: 0;
    border-bottom: 1px solid #cbb072;
  }
  .altx-ny-wish-scene::before { background-size: 192px auto; }
  .altx-ny-snowman { left: 0; right: 0; width: min(100%, 220px); margin-inline: auto; height: 123px; }
  .altx-ny-envelope { right: calc(50% - 82px); width: 60px; }
  .altx-ny-wish-letter { grid-area: 2 / 1; padding: 18px 19px 21px; }
}

@media (max-width: 991px) {
  :root {
    --ny-rise: 68px;
    --ny-tile: min(286px, 80vw);
    --ny-unit: .86px;
    --ny-spruce-top: 6px;
    --ny-reserve: 40px;
  }
  html:not(.altx-ny-ready):not(.altx-ny-off) .wrapper1::before {
    z-index: 3001;
    background:
      url(continuous-branches.webp) left calc(var(--ny-spruce-top) * -1) / var(--ny-tile) auto repeat-x,
      linear-gradient(#eaedf2, #eaedf2) 0 0 / 100% var(--ny-rise) no-repeat;
  }
  .wrapper1 > .altx-ny-band {
    z-index: 3001;
    background: #eaedf2;
  }
  .altx-ny-dismiss { right: 7px; }
  /* Sideways strokes belong to the harp; up and down still scroll the page. */
  .altx-ny-toy { touch-action: pan-y; }
  .altx-ny-toy[data-feature="bargain"] .altx-ny-toy-label { left: auto; right: 0; transform: none; }
  html:not(.altx-ny-off) body #mobileheader.fixed,
  html.altx-ml2:not(.altx-ny-off) body.altx-hdr .wrapper1.mfixed_Y > #mobileheader {
    top: var(--altx-ny-mobile-offset, var(--ny-rise));
  }
  #mobileheader .mobileheader-v1 > :is(.altx-ny-launch, .altx-ny-restore) { margin-right: 4px; }
  #mobileheader .altx-ny-restore-text { display: none; }
  #mobileheader .mobileheader-v1 > .altx-ny-restore { width: 38px; padding: 0; }
  .altx-ny-launch.is-playing .altx-ny-trigger-text { display: none; }
}
@media (max-width: 356px) {
  #mobileheader .altx-ny-launch .altx-ny-trigger { width: 34px; padding-inline: 0; }
  #mobileheader .altx-ny-trigger-text { display: none; }
}
/* Reduced motion (some browsers, e.g. Yandex in power saving, report it): nothing moves,
   but lights and stars still fade softly — brightness only, slow, far from flashing. */
@keyframes altx-ny-glow {
  0%, 100% { opacity: .3; }
  45%, 55% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .altx-ny-toy.is-dressing img,
  .altx-ny-toy.is-ringing img, .altx-ny-wish--sealed .altx-ny-envelope,
  .altx-ny-toy[data-feature], .altx-ny-eq i, .altx-ny-hint { animation: none; }
  .altx-ny-lights .altx-ny-light { animation-name: altx-ny-glow; }
  .altx-ny-toy[data-feature]::after { animation-name: altx-ny-glow; }
  .altx-ny-eq i:nth-child(1) { height: 8px; }
  .altx-ny-eq i:nth-child(2) { height: 14px; }
  .altx-ny-eq i:nth-child(3) { height: 10px; }
  .altx-ny-snowman, .altx-ny-band.is-leaving { transition: none; }
}
