/* Winter holiday overlays owned by hero-christmas.js. The original picture
 * retains layout and is hidden only after decoding succeeds. Wide transparent
 * canvases accommodate the bag and toy without stretching the figures.
 * Scene guards immediately restore portraits while the controller reconciles.
 * Ready overlays set their own uniform scale because their hats and footwear
 * differ from the snow portraits sized by style.css. The player's .99 sole
 * anchor stays aligned with the daytime maid's footing at these scales.
 */
body.winter-mode:not(.night-mode):not(.rain-mode):not(.sunny-mode)[data-seasonal-link-mode="christmas"]
  .side-hat[data-christmas="ready"] {
  --hat-scale: 0.80;
  --hat-translate: -9.5%;
}
body.winter-mode:not(.night-mode):not(.rain-mode):not(.sunny-mode)[data-seasonal-link-mode="christmas"]
  .right-hat[data-christmas="ready"] {
  --hat-scale: 0.78;
}
.hero-christmas-canvas {
  position: absolute;
  top: 0;
  left: -70%;
  width: 240%;
  height: 100%;
  display: none;
  pointer-events: none;
}
body.winter-mode:not(.night-mode):not(.rain-mode):not(.sunny-mode)[data-seasonal-link-mode="christmas"]
  .side-hat[data-christmas="ready"] > .hero-christmas-canvas:not([hidden]) {
  display: block;
}
body.winter-mode:not(.night-mode):not(.rain-mode):not(.sunny-mode)[data-seasonal-link-mode="christmas"]
  .side-hat[data-christmas="ready"] > picture {
  visibility: hidden;
}
