.winter-scene {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(48px, .7fr) minmax(0,1fr);
  justify-items: center;
  align-items: center;
  width: min(840px, calc(100% - 32px));
  height: clamp(72px, 10vw, 110px);
  margin: 0 auto clamp(16px, 3vw, 28px);
  pointer-events: none;
  user-select: none;
  contain: paint;
}

.winter-drawing {
  width: min(100%, 150px);
  height: 100%;
  opacity: .8;
}

.winter-left { animation: winter-float 5.2s ease-in-out 2; }
.winter-right { animation: winter-float 5.8s .4s ease-in-out 2; }

.winter-flurry {
  position: relative;
  width: 100%;
  height: 100%;
}

.winter-flurry i {
  position: absolute;
  inset: var(--y) auto auto var(--x);
  inline-size: var(--size,5px);
  block-size: var(--size,5px);
  border-radius: 50%;
  background: #779cb6;
  opacity: .52;
  animation: winter-drift 5.4s var(--delay,0s) ease-in-out 2;
}

.winter-flurry i:nth-child(1) { --x: 4%; --y: 43%; --size: 4px; }
.winter-flurry i:nth-child(2) { --x: 21%; --y: 63%; --delay: .35s; }
.winter-flurry i:nth-child(3) { --x: 36%; --y: 24%; --delay: .7s; --size: 4px; }
.winter-flurry i:nth-child(4) { --x: 57%; --y: 52%; --delay: .25s; }
.winter-flurry i:nth-child(5) { --x: 76%; --y: 36%; --delay: .55s; --size: 4px; }
.winter-flurry i:nth-child(6) { --x: 94%; --y: 62%; --delay: .8s; }

[data-public-theme="dark"] .winter-drawing { opacity: .95; }
[data-public-theme="dark"] .winter-flurry i { background: #bdd9ed; }

.winter-sidebar-pine {
  display: block;
  width: 24px;
  height: 28px;
  flex: 0 0 24px;
  margin-inline-start: auto;
  opacity: .85;
  pointer-events: none;
}

.winter-notice {
  box-sizing: border-box;
  width: min(420px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  margin: auto;
  padding: clamp(16px, 4vw, 24px);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg2);
  color: var(--text1, var(--text));
}

.winter-notice::backdrop { background: #101c2d80; }
.winter-notice h2 { font-size: 19px; margin: 0 0 8px; }
.winter-notice p { margin: 0 0 17px; }
.winter-notice form { display: flex; justify-content: flex-end; }

@keyframes winter-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes winter-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4px, 8px); opacity: .27; }
}

@media (max-width: 600px) {
  .winter-flurry i:nth-child(2n) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .winter-drawing, .winter-flurry i { animation: none; }
}
