.puzzle-world-hero { background-position: center 18%; }
.sky.puzzle-world-hero:not(.front)::before { background: linear-gradient(100deg, #0f1330c7, #0f133048 64%, #0f133061); }
.puzzle-world-hero .wrap > .lede { margin: 12px 0 clamp(18px, 3vw, 28px); }
.puzzle-world-carousel { --puzzle-width: calc(32% - 15px); }
.puzzle-world-carousel .screen-track {
  gap: 20px; margin: 0; padding: 5px 4px 8px; scroll-padding-inline: 4px; list-style: none;
}
.puzzle-world-carousel .puzzle-world-game { flex: 0 0 var(--puzzle-width); scroll-snap-align: start; }
.puzzle-world-carousel .carousel-controls:not([hidden]) { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; margin-top: 8px; }
.puzzle-world-carousel .carousel-dots { justify-content: center; }
.puzzle-world-carousel .carousel-controls button { background: #161b3eee; color: var(--night-ink); border: 1px solid #ffe7a140; }
.puzzle-world-carousel .carousel-dots button { background: transparent; border: 0; }
.puzzle-world-carousel .carousel-dots span { background: var(--night-muted); }
.puzzle-world-carousel .carousel-dots [aria-current] span { background: var(--gold); }
.puzzle-world-games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 30px); margin: 22px 0 0; padding: 0; list-style: none; }
.puzzle-world-play { position: relative; display: block; color: inherit; border: 1px solid #faefd640; border-radius: 16px; }
.puzzle-world-play img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: inherit; }
.puzzle-world-play:is(:hover, :focus-visible) { border-color: var(--gold); }
.puzzle-world-topic {
  display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font-size: .93rem; line-height: 1.2; text-decoration-color: transparent;
}
.puzzle-world-hero .puzzle-world-topic { color: var(--night-ink); }
.puzzle-world-topic:is(:hover, :focus-visible) { text-decoration-color: currentColor; }
.puzzle-world-logic + .puzzle-world-next { padding-top: clamp(28px, 5vw, 54px); }
.puzzle-world-next ul { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 20px 0 0; padding: 0; list-style: none; }
@media (max-width: 820px) {
  .puzzle-world-carousel { --puzzle-width: calc(46% - 9px); }
  .puzzle-world-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .puzzle-world-carousel { --puzzle-width: calc(100% - 46px); }
  .puzzle-world-carousel .screen-track { gap: 12px; }
}
