.penguin-station-life {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  container-type: inline-size;
}
.station-aurora {
  position: absolute;
  inset: 0 0 69%;
  background: radial-gradient(ellipse 60% 61% at 36% 10%, #74f5d541, transparent 72%),
    radial-gradient(ellipse 40% 60% at 78% 35%, #ca9eff45, transparent 83%);
  mix-blend-mode: screen;
  opacity: .35;
  animation: station-aurora 11s ease-in-out infinite alternate;
}
@keyframes station-aurora { to { opacity: .8; } }

.station-light {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 2.5cqw;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.station-light::before, .station-light::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: station-twinkle var(--period) var(--delay) ease-in-out infinite;
}
.station-light::before {
  background: radial-gradient(circle, #28182bab 6%, #2a172f70 14%, transparent 29%);
  animation-name: station-bulb-dim;
}
.station-light::after {
  background: radial-gradient(circle, #fff8ed 7%, var(--bulb) 15%, transparent 67%);
  mix-blend-mode: screen;
}
@keyframes station-twinkle {
  0%, 20%, 100% { opacity: .05; scale: .7; }
  52%, 64% { opacity: .91; scale: 1.16; }
}
@keyframes station-bulb-dim {
  0%, 20%, 100% { opacity: .75; }
  52%, 64% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .station-light::before, .station-light::after { animation: none !important; opacity: 0; }
}

.station-penguin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  aspect-ratio: 1;
  transform: translate(-50%, -98%);
}
.station-penguin::before {
  content: "";
  position: absolute;
  inset: auto 16% -5%;
  height: 17%;
  background: radial-gradient(ellipse, #25365d82, #21355e32 49%, transparent 73%);
}
.station-penguin i, .station-adult b {
  position: absolute;
  inset: 0;
  background: var(--sprite) center bottom / contain no-repeat;
  transform-origin: center bottom;
}
.station-adult {
  --sprite: url("penguin-station/waddle.webp");
  --size: 7.1cqw;
  --x: 30%;
  --y: 79%;
  animation: station-waddle 17s linear infinite, station-waddle-facing 17s step-end infinite;
}
.station-adult i, .station-adult b {
  background-position: 0 0;
  background-size: 200% 100%;
}
.station-adult i {
  animation: station-waddle-frames .63s steps(2, jump-none) infinite,
    station-waddle-active 17s step-end infinite;
}
.station-adult b { animation: station-waddle-idle 17s step-end infinite; }
@keyframes station-waddle {
  0%, 12%, 92%, 100% { left: 30%; top: 79%; }
  27%, 64% { left: 36%; top: 81%; }
  43%, 52% { left: 43.5%; top: 82.3%; }
}
@keyframes station-waddle-frames { to { background-position-x: 100%; } }
@keyframes station-waddle-facing {
  0%, 92% { scale: 1 1; }
  52% { scale: -1 1; }
}
@keyframes station-waddle-active {
  0%, 43%, 92% { opacity: 0; }
  12%, 52% { opacity: 1; }
}
@keyframes station-waddle-idle {
  0%, 43%, 92% { opacity: 1; }
  12%, 52% { opacity: 0; }
}
.station-chick {
  --sprite: url("penguin-station/chick.webp");
  --size: 5.3cqw;
  --x: 54%;
  --y: 77%;
}
.station-chick i { animation: station-wave 9s ease-in-out infinite; }
@keyframes station-wave {
  0%, 21%, 44%, 100% { rotate: 0deg; }
  27%, 36% { rotate: -6deg; }
  32%, 40% { rotate: 4deg; }
}
.station-slider {
  --sprite: url("penguin-station/slider.webp");
  --size: 6.7cqw;
  --x: 79%;
  --y: 85%;
  aspect-ratio: 1.54;
  opacity: 0;
  animation: station-slide 19s -3s ease-in-out infinite;
}
.station-slider::after {
  content: "";
  position: absolute;
  right: -22%;
  bottom: 4%;
  width: 50%;
  height: 33%;
  background: radial-gradient(ellipse at 28% 63%, #e3f7fead, transparent 67%);
}
@keyframes station-slide {
  0%, 16% { left: 85%; top: 77%; opacity: 0; }
  22% { left: 81%; top: 81%; opacity: 1; }
  37% { left: 72%; top: 86.8%; opacity: 1; }
  51% { left: 61%; top: 90%; opacity: 1; }
  56%, 100% { left: 57%; top: 90%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .penguin-station-life *, .penguin-station-life *::before {
    animation: none !important;
  }
  .station-adult i { opacity: 0; }
  .station-slider { opacity: 1; }
}

.penguin-station-town .town-signpost {
  left: 14%;
  bottom: -7%;
}

.station-chimney {
  position: absolute;
  left: 58.9%;
  top: 21.3%;
}
.station-chimney i {
  position: absolute;
  width: 3cqw;
  aspect-ratio: 1.22;
  left: -1.5cqw;
  bottom: -.8cqw;
  opacity: 0;
  background: radial-gradient(ellipse at 39% 56%, #f3defbc4, #dbcdf574 38%, transparent 73%),
    radial-gradient(ellipse at 66% 35%, #ede2fbbb, #c4b7e85e 43%, transparent 72%);
  filter: blur(.14cqw);
  animation: station-smoke 6.2s var(--delay) linear infinite;
}
@keyframes station-smoke {
  0% { transform: translateY(-7%) scale(.25); opacity: 0; }
  16% { opacity: .58; }
  56% { transform: translate(36%,-115%) scale(.89); opacity: .42; }
  100% { transform: translate(82%,-253%) scale(1.38); opacity: 0; }
}

.station-hatch {
  position: absolute;
  left: 59.85%;
  top: 43.58%;
  width: 4.48%;
  height: 8.15%;
}
.station-hatch-room, .station-hatch-door, .station-seal {
  position: absolute;
  display: block;
}
.station-hatch-room, .station-hatch-door {
  inset: 0;
  border-radius: 50%;
  opacity: 0;
}
.station-hatch-room {
  background: radial-gradient(ellipse at 45% 70%, #745039, #251c37 70%);
  border: .24cqw solid #be7b40;
  animation: station-hatch-room 13s step-end infinite;
}
.station-hatch-door {
  background: url("regional-towns/antarctica-panorama.webp") 62.66% 47.45% / 2232.14% 1226.99% no-repeat;
  transform-origin: left center;
  animation: station-hatch-swing 13s ease-in-out infinite;
}
.station-seal {
  left: 17%;
  width: 88%;
  bottom: 12%;
  height: 85%;
  opacity: 0;
  transform-origin: 40% 98%;
  background: url("penguin-station/seal.webp") left bottom / contain no-repeat;
  animation: station-seal-wave 13s ease-in-out infinite;
}
@keyframes station-hatch-room {
  0%, 67%, 100% { opacity: 0; }
  14% { opacity: 1; }
}
@keyframes station-hatch-swing {
  0%, 13.95%, 67%, 100% { opacity: 0; transform: perspective(9cqw) rotateY(0); }
  14%, 66.9% { opacity: 1; transform: perspective(9cqw) rotateY(0); }
  24%, 55% { opacity: 1; transform: perspective(9cqw) rotateY(-78deg); }
}
@keyframes station-seal-wave {
  0%, 20%, 57%, 100% { opacity: 0; transform: translate(-14%, 21%) scale(.48); }
  29%, 37%, 45% { opacity: 1; transform: translate(3%, 0) rotate(-7deg); }
  33%, 41%, 49% { opacity: 1; transform: translate(6%, 0) rotate(6deg); }
}

.station-santa, .station-snowman {
  position: absolute;
  transform: translate(-50%, -98%);
  aspect-ratio: 1;
}
.station-santa {
  left: 25.5%;
  top: 75.3%;
  width: 14cqw;
}
.station-snowman {
  left: 74.7%;
  top: 75.2%;
  width: 8.2cqw;
  background: url("penguin-station/snowman.webp") center bottom / contain no-repeat;
}
.station-santa::before, .station-snowman::before {
  content: "";
  position: absolute;
  inset: auto 9% -4%;
  height: 16%;
  background: radial-gradient(ellipse, #27375f72, #293e6839 42%, transparent 72%);
}
.station-santa i {
  position: absolute;
  inset: 0;
  background: url("penguin-station/santa-tea.webp") 0 0 / 200% 100% no-repeat;
  animation: station-tea 9s step-end infinite;
}
@keyframes station-tea {
  0%, 51%, 100% { background-position-x: 0; }
  33% { background-position-x: 100%; }
}
