/* The seated figure belongs to the top-right gift, with room above the first row. */
.gifts-page{padding:44px 40px 70px;max-width:1400px}
.calendar-grid{margin-top:calc(var(--santa-scene-size)*.78)}
#santa-host.santa-dock{
  position:absolute;left:0;top:0;bottom:auto;
  width:var(--santa-scene-size);height:var(--santa-scene-size);
  visibility:hidden;pointer-events:none;z-index:20;
}
#santa-host.santa-dock[data-perched="true"]{visibility:visible}
/* Pose rules explicitly reveal children; suppress them until a gift exists. */
#santa-host:not([data-perched="true"]) *{visibility:hidden!important}
#santa-host #santa-home{
  position:relative;width:var(--santa-scene-size);height:var(--santa-scene-size);
  --seat-size:var(--santa-scene-size);--seat-left:0px;--seat-bottom:0px;
}
#santa-host #santa-home>.santa-sprite{left:0;bottom:0;width:100%;height:100%}
#santa-host #santa-seat-actor{transform-origin:48% 73.5%}
#santa-host[data-state="sleeping"] #santa-seat-actor{animation:santa-seated-breath 4.2s ease-in-out infinite}
@keyframes santa-seated-breath{0%,100%{transform:scale(1,1)}50%{transform:scale(1.015,1.012)}}
#santa-home .santa-chair{display:none!important}
#santa-host #santa-cup{
  left:calc(var(--seat-size)*.36 - 24px);top:calc(var(--seat-size)*.60 - 24px);
  bottom:auto;width:48px;height:48px;
}
#santa-host .santa-speech{left:auto;right:0;width:min(215px,70vw);bottom:100%}
/* A shallow top face belongs to the same gift; its front keeps its original size. */
.gift-slot.santa-perch-seat{--santa-seat-depth:clamp(8px,1vw,13px)}
.santa-seat-top,.santa-seat-contact{
  position:absolute;display:block;pointer-events:none;opacity:0;
  transition:opacity .16s;visibility:hidden;
}
.santa-seat-top{
  left:0;right:0;top:calc(-1*var(--santa-seat-depth));height:calc(var(--santa-seat-depth) + 1px);
  z-index:5;box-sizing:border-box;border:1px solid var(--gift-edge,#d8c8ac);
  background:linear-gradient(90deg,transparent 23%,var(--gift-ribbon) 23% 37%,transparent 37%),linear-gradient(0deg,#00000012,#ffffff50),var(--gift-paper);
  clip-path:polygon(7% 0,93% 0,100% 100%,0 100%);
}
.santa-seat-contact{
  left:50%;top:-5px;width:min(66%,calc(var(--santa-scene-size)*.58));height:14px;
  transform:translateX(-50%);z-index:6;
  background:radial-gradient(ellipse,#21180e52 0,#21180e22 42%,transparent 72%);
  border-radius:50%;filter:blur(.7px);
}
.santa-seat-occupied>.santa-seat-top,.santa-seat-occupied>.santa-seat-contact{opacity:1;visibility:visible}
.gift-slot.santa-seat-occupied:not([data-phase="open"]):not([data-phase="unlocking"])>.day:hover{transform:none}
@media(max-width:1100px){.gifts-page{padding:36px 28px 60px}}
@media(max-width:760px){.gifts-page{padding:28px 5% 60px}}
@media(prefers-reduced-motion:reduce){.santa-seat-top,.santa-seat-contact{transition:none}#santa-host #santa-seat-actor{animation:none!important;transform:none!important}}
