/* ==========================================================================
   LIMIN — the content pages: Quests, Social, Rewards, Play, Updates.
   Loaded after site.css. Each page opens on a pixel-city banner (the landing
   page's art, 384 x 216, where --px is one art pixel on screen) with the page
   name and Ade; below it are the site's own sections, which site.css styles.
   This file holds the banner, and what those sections change on these pages:
   less air, no dark page backgrounds, and older releases folded.
   ========================================================================== */

:root {
  --soft: #3F463B;
  --px: max(calc(100vw / 384), 2.6px);

  /* The banner's colours and the row Ade stands on; each page sets its own (.pg--…, below). */
  --sky: #8FD0EE;
  --b-ink: #20241F;
  --b-dim: #3A4A55;
  --b-word: #20241F;
  --b-cta: #20241F;
  --b-cta-on: #FFFFFF;
  --ground: 20;
}

[hidden] { display: none !important; }

/* ---------- Banner ---------- */
.pg-banner { position: relative; overflow: hidden; height: max(calc(var(--px) * 160), 460px); background: var(--sky); color: var(--b-ink); }
.pg-art {
  position: absolute; inset: 0;
  background: center bottom / calc(var(--px) * 384) calc(var(--px) * 216) no-repeat;
  image-rendering: crisp-edges; image-rendering: pixelated;
}

.pg-top {
  position: relative; z-index: 3;
  max-width: 1240px; margin: 0 auto; padding: 18px 24px 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px;
  container-type: inline-size;
}
.pg-brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; flex: none;
  font-family: var(--f-display); font-size: 44px; line-height: 1; text-decoration: none; color: var(--b-ink);
}
.pg-brand img { width: 44px; height: auto; image-rendering: pixelated; }
.pg-nav { display: flex; flex: none; flex-wrap: nowrap; align-items: center; gap: 0 26px; }
.pg-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 16px; white-space: nowrap; text-decoration: none; color: var(--b-dim); }
.pg-nav a:hover, .pg-nav a[aria-current] { color: var(--b-ink); box-shadow: inset 0 -4px 0 var(--b-ink); }
.pg-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.pg-actions .pg-btn { white-space: nowrap; }
/* The query measures the row's content box. Logo + links + Instagram + Get the app
   need about 790px. Below that, the links drop together onto the next line and
   Instagram + Get the app stay on the logo row. */
@container (max-width: 810px) {
  .pg-actions { margin-left: auto; }
  .pg-nav { order: 3; flex: 1 0 100%; justify-content: center; }
}
.pg-ig { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--b-ink); }
.pg-ig svg { width: 26px; height: 26px; }
.pg-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px;
  background: var(--b-cta); color: var(--b-cta-on); font-weight: 800; font-size: 16px; text-decoration: none;
  box-shadow: 5px 5px 0 rgba(14, 16, 13, 0.34); transition: transform 0.1s steps(2);
}
.pg-btn:hover { transform: translate(-3px, -3px); }
.pg-btn svg { width: 24px; height: auto; }

.pg-title {
  position: relative; z-index: 3;
  padding: calc(var(--px) * 7) 20px 0;
  display: flex; flex-direction: column; align-items: center; gap: calc(var(--px) * 3); text-align: center;
}
.pg-title h1 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: calc(var(--px) * 40); line-height: 0.62; text-transform: uppercase; color: var(--b-word); }
.pg-title p { margin: 0; font-family: var(--f-place); font-style: italic; font-weight: 400; font-size: max(18px, calc(var(--px) * 6.4)); line-height: 1.1; }

/* Ade, from the landing page's sprite atlas: 34 x 28 cells, 4 frames across, 36 rows.
   --row picks the row: (city * 2 + who) * 3 + (0 run | 1 tap | 2 cheer). See landing.js. */
.pg-cast { position: absolute; z-index: 2; left: 0; bottom: calc(var(--px) * var(--ground)); display: flex; pointer-events: none; }
.pg-cast--run { animation: pg-cross 16s linear infinite; }
.pg-cast--stand { left: 42%; }
.ade { position: relative; flex: none; width: calc(var(--px) * 34); height: calc(var(--px) * 28); }
.ade--behind { margin-right: calc(var(--px) * -4); }
.ade__sprite {
  width: 100%; height: 100%;
  background: url("../img/landing/ade-atlas.png?v=1") 0 0 / 400% 3600% no-repeat;
  background-position-y: calc(var(--row, 0) * 100% / 35);
  image-rendering: crisp-edges; image-rendering: pixelated;
  animation: pg-frames 0.44s steps(4) infinite;
}
.ade--offbeat .ade__sprite { animation-delay: -0.11s; }
.ade--tap .ade__sprite { animation-duration: 0.7s; }
.ade--cheer .ade__sprite { animation-duration: 0.6s; }
.ade--flip .ade__sprite { transform: scaleX(-1); }
.ade__pop {
  position: absolute; left: 0; right: 0; bottom: 100%;
  display: flex; align-items: center; justify-content: center; gap: calc(var(--px) * 1);
  font-family: var(--f-display); font-size: calc(var(--px) * 13); line-height: 0.8; color: #FFFFFF;
  text-shadow:
    calc(var(--px) * 0.6) 0 0 var(--ink), calc(var(--px) * -0.6) 0 0 var(--ink),
    0 calc(var(--px) * 0.6) 0 var(--ink), 0 calc(var(--px) * -0.6) 0 var(--ink),
    calc(var(--px) * 0.6) calc(var(--px) * 0.6) 0 var(--ink), calc(var(--px) * -0.6) calc(var(--px) * 0.6) 0 var(--ink),
    calc(var(--px) * 0.6) calc(var(--px) * -0.6) 0 var(--ink), calc(var(--px) * -0.6) calc(var(--px) * -0.6) 0 var(--ink);
  animation: pg-pop 3.2s steps(16) infinite;
}
.ade__pop img { width: calc(var(--px) * 10); height: calc(var(--px) * 10); }
@keyframes pg-frames { from { background-position-x: 0%; } to { background-position-x: 133.333%; } }
@keyframes pg-cross { from { transform: translateX(-24vw); } to { transform: translateX(104vw); } }
@keyframes pg-pop {
  0%, 8% { opacity: 0; transform: translateY(calc(var(--px) * 8)) scale(0.3); }
  22% { opacity: 1; transform: translateY(calc(var(--px) * -4)) scale(1.18); }
  30%, 82% { opacity: 1; transform: translateY(calc(var(--px) * -2)) scale(1); }
  92%, 100% { opacity: 0; transform: translateY(calc(var(--px) * -6)) scale(1); }
}

/* ---------- Acted banners (banners.js sets the variables) ---------- */
.pg-stage { position: absolute; inset: 0; z-index: 2; pointer-events: none; visibility: hidden; }
.pg-stage.is-ready { visibility: visible; }
/* Play: the game window opens over the banner's line, under the menu. */
.pg--play .pg-stage { z-index: 4; }
.pg--play .pg-top { z-index: 5; }
.ade--js { position: absolute; left: 50%; bottom: calc(var(--px) * var(--b, 20)); transform: translate3d(calc(var(--px) * var(--x, 0)), 0, 0); }
.ade--js .ade__sprite { animation: none; background-position: calc(var(--f, 0) * 100% / 3) calc(var(--row, 0) * 100% / 35); transform: scaleX(var(--flip, 1)); }
.ade--js .ade__pop { animation: none; opacity: var(--pop-o, 0); transform: translateY(calc(var(--px) * var(--pop-y, 0))) scale(var(--pop-s, 1)); }

/* Rewards: the stall (64 x 62 art pixels, its window open so the boss shows behind the counter). */
.pg-shop { position: absolute; left: calc(50% + var(--px) * -52); bottom: calc(var(--px) * 17); width: calc(var(--px) * 64); height: calc(var(--px) * 62); max-width: none; image-rendering: crisp-edges; image-rendering: pixelated; }
.pg-gift { position: absolute; left: 50%; bottom: calc(var(--px) * var(--b, 40)); width: calc(var(--px) * 7); height: calc(var(--px) * 6); border: calc(var(--px) * 1) solid var(--ink); background: #FF5C9A; opacity: var(--o, 0); transform: translate3d(calc(var(--px) * var(--x, 0)), 0, 0); }
.pg-gift::after { content: ""; position: absolute; left: 40%; top: 0; bottom: 0; width: 20%; background: #FFFFFF; }
.pg-say {
  position: absolute; left: calc(50% + var(--px) * 17); bottom: calc(var(--px) * 40);
  min-width: 250px; max-width: 340px; padding: 12px 18px;
  border: 3px solid var(--ink); background: #FFFFFF; color: var(--ink); box-shadow: 6px 6px 0 var(--ink);
  opacity: var(--o, 0); transform: scale(var(--s, 1)); transform-origin: left bottom;
}
.pg-say::before { content: ""; position: absolute; left: -10px; bottom: 16px; width: 14px; height: 14px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: #FFFFFF; transform: rotate(45deg); }
.pg-say b { display: block; font-size: 19px; font-weight: 800; line-height: 1.25; }
.pg-say span { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-family: var(--f-display); font-size: 30px; line-height: 1; }
.pg-say span::before { content: ""; flex: none; width: 18px; height: 18px; border: 3px solid var(--ink); border-radius: 50%; background: #F5C83B; }

/* Play: the window over the two players, one screen per game. */
.game {
  position: absolute; left: 50%; bottom: calc(var(--px) * 53); width: 540px;
  color: var(--ink); font-size: 14px; line-height: 1.3;
  opacity: var(--o, 0); transform: translateX(-50%) scale(calc(var(--s, 1) * var(--fit, 0.9))); transform-origin: center bottom;
}   /* --fit: banners.js sizes the window to the room under the banner's line */
.game::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; margin-left: -7px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: #FFFFFF; transform: rotate(45deg); }
.game__win { display: flex; flex-direction: column; border: 3px solid var(--ink); background: #FFFFFF; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5); }
.game__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 12px; background: var(--ink); color: var(--lime); font-family: var(--f-display); font-size: 22px; line-height: 1; }
.game__bar span + span { letter-spacing: 0.3em; white-space: nowrap; }
.game__body { height: 128px; padding: 12px 16px; display: flex; align-items: stretch; gap: 16px; }
.game__body p { margin: 0; }
.game__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.game__col--top { justify-content: flex-start; }
.game__line { display: flex; align-items: center; gap: 8px; }
.game [data-fade] { opacity: var(--o, 0); }
.g-kick { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.g-serif { font-family: var(--f-place); font-style: italic; font-size: 21px; line-height: 1.15; }
.g-num { font-family: var(--f-display); font-size: 40px; line-height: 0.9; }
.g-box { border: 2px solid var(--ink); background: #FFFFFF; padding: 4px 8px; font-weight: 800; }
.g-box.is-on { background: var(--ink); color: var(--lime); }
.g-tag { padding: 2px 8px; background: var(--ink); color: var(--lime); font-family: var(--f-display); font-size: 22px; line-height: 1; }
.g-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; font-size: 13px; line-height: 1.15; }
.g-grid .g-box { display: flex; align-items: center; }
.g-tile { position: relative; flex: none; width: 100px; height: 100px; border: 3px solid var(--ink); background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.g-tile--card { background: #F7EFD8; font-family: "Songti SC", "Noto Serif SC", serif; font-size: 72px; line-height: 1; }
.g-tile svg { width: 100%; height: 100%; }
.g-tile path { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 130; stroke-dashoffset: 130; }
.g-tile .g-tag { position: absolute; right: -3px; bottom: -3px; }
.g-steps { display: flex; flex-direction: column; justify-content: center; gap: 2px; font-family: var(--f-display); font-size: 30px; line-height: 1; color: #B9C0B2; }
.g-steps .is-on { color: var(--ink); }
.g-stages { display: flex; gap: 4px; font-size: 11px; line-height: 1; }
.g-stages .g-box { flex: 1 1 0; padding: 4px 2px; text-align: center; }
.g-bar { flex: 1 1 0; height: 12px; display: flex; border: 2px solid var(--ink); background: #FFFFFF; }
.g-bar i { background: var(--ink); }
.g-bar--crew i { background: #E2352F; }
.g-label { flex: none; width: 44px; font-size: 13px; font-weight: 800; }
.g-source { position: relative; width: 44px; height: 30px; border: 2px solid var(--ink); background: #F7EFD8; }
.g-source i { position: absolute; left: 11px; bottom: 100%; width: 18px; height: 18px; border: 3px solid var(--ink); border-radius: 50%; background: var(--lime); opacity: var(--o, 0); transform: translateY(var(--y, 0)); }
.g-scale { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; line-height: 1; }

/* ---------- The site's sections on these pages ---------- */
/* Less air: a section is as tall as what is in it. */
.pg .section { padding: clamp(40px, 5vw, 64px) 0; }
.pg .section__head { margin-bottom: clamp(24px, 3vw, 36px); }
.pg .hero { margin-top: 0; padding-top: 0; }
.pg .hero__grid { padding-bottom: clamp(56px, 6vw, 80px); }   /* nothing straddles its foot any more */
.pg .updates { padding: 0; gap: 22px; }
.pg .features + .passport { margin-top: 28px; }

/* No dark page backgrounds. Rewards' economy sits on the light-green band… */
.eco { color: var(--ink); }
.eco h2 .lime, .play--light h2 .lime { padding: 0 0.12em; background: var(--ink); color: var(--lime); }
.eco .lede { color: var(--ink-2); }
.eco .tile { background: #FFFFFF; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.eco .tile--lime { background: var(--lime); }
.eco .tile p { color: var(--ink-2); }
.eco .tile__stat { color: var(--ink); }
.eco .streak i { background: rgba(32, 36, 31, 0.08); border-color: rgba(32, 36, 31, 0.3); }
.eco .streak i.on { background: var(--ink); border-color: var(--ink); }

/* …and Play sits on paper. */
.play--light { background: var(--paper); color: var(--ink); }
.play--light .kicker { color: var(--muted); }
.play--light .lede { color: var(--ink-2); }
.play--light .lede b { color: var(--ink); }
.play--light .btn:not(.btn--ghost) { --bg: var(--ink); --fg: #FFFFFF; }
.play--light .btn--ghost { --bg: rgba(255, 255, 255, 0.72); --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 4px 0 rgba(0, 0, 0, 0.2); }
.play--light .play-step, .play--light .play-game { background: #FFFFFF; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); color: var(--ink); }
.play--light .play-game:hover { border-color: var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.play--light .play-step h3, .play--light .play-game h3 { color: var(--ink); }
.play--light .play-step p, .play--light .play-game p { color: var(--ink-2); }
.play--light .play-game__art { background: var(--lime); border: 2px solid var(--ink); }
.play--light .play-game__meta span { background: var(--paper); border-color: var(--hair); }
.play--light .play-game__go { background: var(--ink); color: var(--lime); }
.play--light .play__meta { color: var(--ink-2); }
.play--light .play__meta li::before { background: var(--ink); }
.play--light .play__packs-soon { border-color: var(--ink); color: var(--ink); }

/* Updates: older releases fold; the title bar is the handle. */
details.rel > summary { list-style: none; cursor: pointer; }
details.rel > summary::-webkit-details-marker { display: none; }
details.rel > summary .win__btns { display: none; }
details.rel > summary::after { content: "+"; margin-left: auto; font-family: var(--f-display); font-size: 26px; line-height: 0.8; color: var(--lime); }
details.rel[open] > summary::after { content: "–"; }
details.rel > summary .rel__when { margin-left: 12px; font-family: var(--f-body); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }

/* ---------- Section grounds ----------
   Every section sits on a pixel field like the hero's, in lime or in milk-tea white, and no
   two neighbours share one: the pages set .px--green / .px--cream in turn. The field drifts
   sideways for ever: it is drawn so its left edge meets its right (tools/landing-art/fields.py),
   laid twice across in ::before, and slid by one tile. Each section ends (::after) in a
   dithered step into the next one's colour. The banners' city art does not move. */
.pg .px { --block: 18px; position: relative; isolation: isolate; overflow-x: hidden; overflow-x: clip; border-block: 0; background: var(--lime); animation: none; }
.pg .px--cream { background: #F3EAD6; }
.pg .px::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--block) * 200); height: auto; z-index: -2; pointer-events: none;
  background: url("../img/field-flow-lime.png?v=1") left top / calc(var(--block) * 100) auto repeat-x; image-rendering: pixelated;
  animation: px-flow 50s linear infinite; will-change: transform;
}
.pg .px--cream::before { background-image: url("../img/field-flow-cream.png?v=1"); animation-direction: reverse; }
@keyframes px-flow { from { transform: translateX(0); } to { transform: translateX(calc(var(--block) * -100)); } }
.pg .px::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--block) * 3); z-index: -1;
  background: left bottom / calc(var(--block) * 4) calc(var(--block) * 3) repeat-x; image-rendering: pixelated;
}
.pg .px--green::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='3' shape-rendering='crispEdges'%3E%3Cpath fill='%23F3EAD6' d='M2 0h1v1H2zM1 1h1v1H1zM3 1h1v1H3zM1 2h3v1H1z'/%3E%3C/svg%3E"); }
.pg .px--cream::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='3' shape-rendering='crispEdges'%3E%3Cpath fill='%23CBEC3F' d='M2 0h1v1H2zM1 1h1v1H1zM3 1h1v1H3zM1 2h3v1H1z'/%3E%3C/svg%3E"); }
.pg .px--end::after { content: none; }
@media (min-width: 1800px) { .pg .px { --block: calc(100vw / 100); } }
/* Social: the live board sits at the top of the campuses band; it only shows once its numbers load. */
.pg .px > .live { padding: 0 0 clamp(28px, 4vw, 44px); }
.pg .cta.px--cream .cta__mail { box-shadow: 3px 3px 0 var(--lime); }

/* ---------- Quests: the phone shows the app's current Quests tab (on top of site.css's .app__ rules) ---------- */
.app__who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.app__next { font-size: 9px; font-weight: 700; color: var(--muted); }
.app__next b { font-family: var(--f-mono); color: var(--ink-2); }
.app__tile--ade { background: #11170B; border-color: #11170B; }
.app__tile--ade img { width: 44px; height: auto; }
.app__tile svg { width: 30px; height: 30px; }
.app__coop, .app__week { display: flex; align-items: center; gap: 7px; padding: 6px 9px; border-left: 3px solid var(--ink); }
.app__seats { display: flex; gap: 3px; flex: none; }
.app__seats i { display: grid; place-items: center; width: 13px; height: 13px; border: 1px dashed rgba(32, 36, 31, 0.45); border-radius: 2px; font-style: normal; font-weight: 800; font-size: 7.5px; }
.app__seats i.on { border: 1px solid #C9A227; background: #FFE9A8; }
.app__duo { flex: none; }
.app__duo img { width: 22px; height: 22px; image-rendering: pixelated; }
.app__week .app__trail { flex: none; width: 66px; margin: 0; }
.app__week .app__item-text small, .app__week .app__item-text b, .app__coop .app__item-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg .app { gap: 5px; }
.pg .app__tile { aspect-ratio: 1.16; }
.app__trail i.done { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.app__pick { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 12px; }
.app__pick-ico { flex: none; font-size: 15px; letter-spacing: -2px; }
.app__choose { flex: none; padding: 6px 10px; border-radius: 999px; background: #2D6B3A; color: #FFFFFF; font-weight: 800; font-size: 10px; }
.pg .app__tabs { justify-content: space-between; align-items: center; margin: 8px 12px 10px; padding: 4px 10px; border-radius: 999px; }
.pg .app__tabs span { flex-direction: row; gap: 5px; padding: 5px 6px; font-size: 10.5px; }
.pg .app__tabs span.on { padding: 5px 12px; border-radius: 999px; background: rgba(32, 36, 31, 0.1); color: #2D6B3A; }
.pg .app__tabs span.on svg { width: 18px; padding: 0; background: none; }

/* ---------- Play: the Pet Playground ---------- */
.pets__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.pets__grid .section__head { margin-bottom: 0; }
.pets__win { overflow: hidden; }
/* The app's Lime Grove yard (309 x 125 art pixels); --ppx, set by pets.js, is one of them on screen. */
.pets__yard { position: relative; overflow: hidden; aspect-ratio: 1236 / 500; background: #B9DD6B url("../img/pets/grove-yard.png?v=1") center / cover no-repeat; image-rendering: pixelated; --ppx: 2px; touch-action: manipulation; }
.pets__egg, .pets__pet { position: absolute; left: 0; top: 0; padding: 0; border: 0; background: none; cursor: pointer; transform: translate3d(calc(var(--ppx) * var(--x, 0)), calc(var(--ppx) * var(--y, 0)), 0); }
.pets__egg { width: calc(var(--ppx) * 28 * 1.3); height: calc(var(--ppx) * 26 * 1.3); }
.pets__egg[disabled] { cursor: default; }
.pets__egg::before, .pets__pet::before { content: ""; position: absolute; inset: -8px; }   /* a finger-sized target on phones */
.pets__sprite { display: block; width: 100%; height: 100%; background: url("../img/pets/egg.png?v=1") 0 50% / 700% 300% no-repeat; image-rendering: pixelated; }
.pets__pet { width: calc(var(--ppx) * 24 * 1.3); height: calc(var(--ppx) * 24 * 1.3); background: url("../img/pets/pet-mochi.png?v=1") 0 0 / 2400% 700% no-repeat; image-rendering: pixelated; }
.pets__tag {
  position: absolute; left: 50%; bottom: 100%; margin-bottom: 6px; padding: 3px 10px 2px; white-space: nowrap;
  background: var(--ink); color: var(--lime); font-family: var(--f-display); font-size: 24px; line-height: 1;
  box-shadow: 3px 3px 0 rgba(14, 16, 13, 0.34); transform: translateX(-50%); animation: pets-bob 0.9s steps(4) infinite;
}
.pets__tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--ink); transform: rotate(45deg); }
.pets__egg[disabled] .pets__tag { display: none; }
@keyframes pets-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
.pets-life .feat { border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.pets-life .feat__ico { background: var(--lime); border-color: var(--ink); }
.pets__parade { display: block; width: min(100%, 1152px); height: auto; margin: clamp(28px, 4vw, 44px) auto 0; image-rendering: pixelated; }
@media (max-width: 900px) { .pets__grid { grid-template-columns: 1fr; } }

/* ---------- Each page's banner ---------- */
.pg--quests { --sky: #8FD0EE; --b-dim: #3A4A55; --ground: 20; }
.pg--quests .pg-art { background-image: url("../img/landing/city-pvd.png?v=1"); }
.pg--social { --sky: #93A2EC; --b-dim: #2F3566; --ground: 20; }
.pg--social .pg-art { background-image: url("../img/landing/city-bos.png?v=1"); }
.pg--rewards { --sky: #FFEBB8; --b-dim: #6A3B2E; --ground: 18; }
.pg--rewards .pg-art { background-image: url("../img/landing/city-sf.png?v=1"); }
.pg--play { --sky: #2A2070; --b-ink: #FFF3D0; --b-dim: #E6CCF2; --b-word: #FFF3D0; --b-cta: #FF8FB0; --b-cta-on: #20241F; --ground: 22; }
.pg--play .pg-art { background-image: url("../img/landing/city-la.png?v=1"); }
.pg--updates { --sky: #9DB4D8; --b-dim: #35435C; --ground: 19; }
.pg--updates .pg-art { background-image: url("../img/landing/city-chi.png?v=1"); }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .pg-top { padding: 12px 16px 0; gap: 0 12px; }
  .pg-actions { gap: 2px; }
  .pg-actions .pg-btn { padding: 0 14px; }
  .pg-actions .pg-btn svg { display: none; }
  .pg-brand { font-size: 36px; }
  .pg-brand img { width: 38px; }
  .pg-nav { gap: 0 14px; }
  .pg-nav a { font-size: 15px; }
  .pg--play .pg-banner { height: 520px; }
  .pg-say { left: auto; right: 10px; min-width: 0; max-width: 46vw; padding: 8px 12px; }
  .pg-say::before { display: none; }
  .pg-say b { font-size: 15px; }
  .pg-say span { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .ade__sprite, .pg-cast--run, .pets__tag { animation: none; }
  .pg .px::before { animation: none; }
  .pg-cast--run { left: 18%; }
  .ade__pop { animation: none; transform: translateY(calc(var(--px) * -2)); }
  .pg-btn { transition: none; }
}
