:root {
  --cream: #fff9ef;
  --paper: #fffdf6;
  --navy: #15345f;
  --yellow: #ffcb05;
  --pink: #ef6aa4;
  --blue: #2a75bb;
  --muted: #647183;
  --line: #dcd9ce;
  --display: "Lilita One", "Arial Rounded MT Bold", sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  --nav-height: 78px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
}
h2 {
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.035em;
}
p {
  line-height: 1.6;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 5px;
}
.shell {
  width: calc(100% - 112px);
  max-width: 1248px;
  margin-inline: auto;
}
.section {
  padding-block: 104px;
}
.eyebrow {
  font-weight: 800;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-200%);
  background: var(--yellow);
  padding: 14px;
}
.skip-link:focus {
  transform: none;
}
/* A compact, familiar header leaves the landscape room to breathe. The real positioning (fixed)
   is set further down, where the header's viewport-pinned behaviour is explained. */
.site-header {
  height: var(--nav-height);
  top: 0;
  z-index: 100;
  background: #fff9eff5;
  border-bottom: 1px solid #15345f25;
  backdrop-filter: blur(16px);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
}
.brand img {
  width: 185px;
  max-height: 49px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.social-link {
  height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
}
.social-link svg {
  width: 30px;
  height: 30px;
}
.partner-link {
  justify-content: center;
  align-items: center;
  border-radius: 9px;
}
.partner-link img {
  object-fit: contain;
}
.dex-mark {
  width: 30px;
  height: 30px;
}
.nav-cycle {
  min-height: 44px;
  min-width: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding-left: 16px;
  margin-left: 6px;
  border-left: 1px solid var(--line);
}
.nav-cycle-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}
.nav-cycle-value {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 1050px) {
  .nav .nav-links { display: none; }
}
@media (max-width: 600px) {
  .site-header .nav { align-items: flex-start; padding-block: 9px; gap: 8px; }
  .site-header .brand { padding-top: 2px; }
  .site-header .nav-actions { width: 140px; flex-wrap: wrap; gap: 4px; }
  .nav-actions .social-link { flex: 0 0 44px; }
  .nav-actions .nav-cycle {
    flex: 0 0 100%;
    min-width: 0;
    min-height: 36px;
    margin: 0;
    padding: 5px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
  }
  .nav-cycle-value { font-size: 13px; }
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 54px;
  padding: 15px 21px;
  background: var(--yellow);
  border: 2px solid var(--navy);
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 3px 3px 0 var(--navy);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}
.button span {
  font-size: 20px;
  line-height: 1;
}
.button-small {
  min-height: 43px;
  padding: 10px 16px;
  font-size: 12px;
  gap: 19px;
  box-shadow: 2px 2px 0 var(--navy);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 800;
}
.text-link span {
  font-size: 19px;
}
.text-link::first-letter {
  text-transform: uppercase;
}
/* One painted world, with the coin kept on its own spatial layer. */
.hero {
  position: relative;
  min-height: 700px;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #15345f35;
  background: #dcf0f3;
}
.hero-landscape {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/comic/landscape.png") center 68% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #fff9eff5 0%,
      #fff9efdf 23%,
      #fff9ef91 46%,
      #fff9ef05 75%
    ),
    linear-gradient(0deg, #fff9ef10, #ffffff00 75%);
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: 612px;
  gap: 20px;
  padding-block: 53px 35px;
}
.hero-copy {
  position: relative;
  z-index: 3;
}
.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 0.15em;
}
.little-star {
  font-size: 22px;
  line-height: 1;
  color: var(--blue);
}
.hero h1 {
  font-size: clamp(61px, 6.15vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 19px;
}
.hero h1 span {
  color: var(--yellow);
  -webkit-text-stroke: 0.11em #1b72bb;
  paint-order: stroke fill;
  text-shadow: 0.045em 0.065em 0 #153e7e;
}
.hero-description {
  font-size: 14px;
  max-width: 438px;
  line-height: 1.65;
  margin-top: 24px;
  color: #294565;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 27px;
}
.hero-art {
  position: relative;
  height: 500px;
  min-width: 0;
  perspective: 1100px;
}
.hero-coin {
  position: absolute;
  width: 98%;
  max-width: 535px;
  left: 1%;
  top: 3%;
  z-index: 3;
  animation: coin-float 6s ease-in-out infinite;
  filter: drop-shadow(0 26px 20px #65501a25);
  will-change: transform;
}
.hero-coin {
  padding: 0;
  border: 0;
  background: transparent;
  aspect-ratio: 1;
  perspective: 1100px;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}
.hero-coin[data-dragging] {
  cursor: grabbing;
}
.hero-coin:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 8px;
  border-radius: 50%;
}
.coin-spinner {
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(var(--coin-spin, 0deg));
}
.coin-face {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: conic-gradient(from 40deg, #ffdd42, #a45c08 17%, #ffe778 28%, #fff8bc 35%, #d68b0c 49%, #713807 62%, #ffd33a 74%, #fffbd0 84%, #fff06f 90%, #ffdd42);
  box-shadow: inset 0 0 0 2px #75400b, inset 0 0 0 4px #ffe991, inset 0 0 0 6px #bc7c13;
  backface-visibility: hidden;
}
.coin-face::before {
  content: "";
  position: absolute;
  inset: 2.8%;
  border: 2px solid #82480a;
  border-radius: inherit;
  background: conic-gradient(from 40deg, #ffc52b, #a96307 18%, #ffdb55 29%, #fff4ad 37%, #e8a319 51%, #955007 64%, #ffce34 76%, #fff4a4 87%, #ffc52b);
  box-shadow: inset 0 3px 3px #6f350ab3, inset 0 -3px 2px #fff2a5, 0 -2px 1px #fff6ba, 0 3px 2px #824407;
}
.coin-face::after {
  content: "";
  position: absolute;
  inset: 7.5%;
  border: 2px solid #98570c;
  border-radius: inherit;
  background: linear-gradient(135deg, #edce72 0%, #eac03a 22%, #e5ae20 41%, #cf9013 62%, #e3ba46 82%, #edcd70 92%, #dba41e 100%);
  box-shadow: 0 0 0 2px #ffea89, 0 0 0 4px #ac670c, 0 -3px 0 4px #fff1a2, 0 3px 2px 4px #7d400b, inset 0 4px 7px #8f4d0959, inset 0 -2px 2px #fff0a1;
}
.coin-face img {
  position: absolute;
  z-index: 1;
  inset: 14%;
  width: 72%;
  height: 72%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  filter: drop-shadow(2px 5px 2px #915d1640);
}
.coin-front {
  transform: translateZ(var(--coin-half-depth, 10px));
}
.coin-back {
  transform: rotateY(180deg) translateZ(var(--coin-half-depth, 10px));
}
.coin-edge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--coin-segment-width);
  height: calc(var(--coin-half-depth) * 2);
  margin-left: calc(var(--coin-segment-width) / -2);
  margin-top: calc(var(--coin-half-depth) * -1);
  transform: rotateZ(var(--coin-segment-angle)) translateY(calc(var(--coin-radius) * -1)) rotateX(90deg);
  background: linear-gradient(to bottom, #fff0a0 0%, #e7b63d 12%, var(--coin-edge-gold) 25%, var(--coin-edge-gold) 76%, #b8790c 89%, #ffe480 100%);
  backface-visibility: hidden;
}
.coin-orbit {
  position: absolute;
  inset: 16% -6% 12%;
  border: 1px dashed #15345f5e;
  border-radius: 50%;
  transform: rotate(-24deg) scaleY(0.73);
  z-index: 2;
}
.coin-orbit span {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--yellow);
  border: 2px solid var(--navy);
  border-radius: 50%;
  left: 5%;
  top: 24%;
}
.coin-orbit span + span {
  left: auto;
  right: 12%;
  top: 86%;
  height: 13px;
  width: 13px;
  background: var(--cream);
}
.coin-shadow {
  position: absolute;
  left: 22%;
  right: 14%;
  bottom: 17px;
  height: 27px;
  border-radius: 100%;
  background: #364e202b;
  filter: blur(13px);
  transform: rotate(-5deg);
}
.art-star {
  position: absolute;
  z-index: 5;
  color: var(--yellow);
  -webkit-text-stroke: 1px var(--navy);
  paint-order: stroke fill;
}
.art-star-one {
  font-size: 43px;
  right: 7%;
  top: 4%;
  transform: rotate(15deg);
}
.art-star-two {
  font-size: 47px;
  left: 0;
  bottom: 19%;
  transform: rotate(-15deg);
}
.hero-bottom {
  height: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 5;
}
.hero-bottom a {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
}
.scroll-circle {
  display: grid;
  place-items: center;
  height: 29px;
  width: 29px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  font-size: 15px;
}
.hero-edition {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
}
.hero-edition span {
  font-size: 18px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}
.section-heading h2 {
  margin-top: 13px;
}
.section-intro {
  font-size: 14px;
  color: #54667d;
  line-height: 1.6;
  padding-bottom: 4px;
  min-width: 260px;
}
/* A field journal console: restrained numbers, clear unknown states. */
.dashboard {
  padding-bottom: 70px;
}
.dashboard-console {
  border: 2px solid var(--navy);
  border-radius: 13px;
  background: var(--paper);
  box-shadow: 5px 6px 0 #15345f16;
  overflow: hidden;
}
.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 65px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--navy);
  background: #f4f0e5;
}
.console-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
}
.console-label img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.status-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  color: #586978;
  max-width: 55%;
  text-align: right;
}
.status-pill > span:first-child {
  height: 6px;
  width: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #8b96a1;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric {
  min-width: 0;
  padding: 26px 25px 23px;
  border-right: 1px solid var(--line);
}
.metric:last-child {
  border: 0;
}
.metric-pot {
  background: #fff6cf;
}
.metric-label {
  font-size: 11px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.metric-label > span {
  font-size: 17px;
  line-height: 1;
}
.metric strong {
  display: block;
  font-size: 38px;
  letter-spacing: -0.045em;
  font-weight: 700;
  line-height: 1.3;
  margin-block: 11px 7px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.metric p {
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 185px;
  min-height: 30px;
}
.cycle-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding: 24px 23px;
  border-top: 1px solid var(--line);
  gap: 14px;
}
.cycle-step {
  min-width: 0;
  position: relative;
}
.cycle-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 29px;
  right: -8px;
  height: 1px;
  background: var(--line);
}
.step-dot {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  border: 1px solid #a9b0b4;
  border-radius: 50%;
  font-size: 10px;
  background: var(--paper);
  font-weight: 700;
  margin-bottom: 11px;
}
.cycle-step strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.cycle-step .s {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.cycle-step .w {
  display: none;
}
.cycle-step[data-state="complete"] .step-dot,
.cycle-step[data-state="completed"] .step-dot {
  background: var(--yellow);
  border-color: var(--navy);
}
.cycle-step[data-state="active"] .step-dot {
  background: var(--navy);
  color: var(--cream);
}
/* The status banner (dashboardStatus) goes muted, not red, once the bot's status is stale — it is
   an "offline" read, not a failure. */
[data-state="delayed"] {
  color: var(--muted);
  opacity: 0.7;
}
.console-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 23px;
  align-items: center;
  padding: 14px 24px;
  color: var(--muted);
  font-size: 10px;
  flex-wrap: wrap;
}
.console-bottom strong {
  color: var(--navy);
  margin-right: 4px;
}
.console-cycle {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.recent-pulls {
  margin-top: 29px;
}
.recent-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.recent-heading h3 {
  font-size: 17px;
}
.recent-heading > span {
  font-size: 10px;
  color: var(--muted);
}
.empty-pulls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  min-height: 88px;
  border: 1px dashed #aeb5bc;
  border-radius: 10px;
  padding: 20px;
}
.empty-card {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 27px;
  height: 36px;
  border: 1px solid #8e9ba9;
  border-radius: 4px;
  transform: rotate(-10deg);
  color: #8e9ba9;
  font-size: 16px;
}
.latest-cards:has(article) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.latest-cards article {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.latest-cards article img {
  max-height: 180px;
  object-fit: contain;
  margin: 0 auto 12px;
}
.latest-cards article h3 {
  font-size: 14px;
}
.latest-cards article p {
  font-size: 12px;
  color: var(--muted);
}
/* A single continuous landscape replaces cuts between separate videos. */
.journey-intro {
  text-align: center;
  padding-block: 51px 53px;
}
.journey-intro h2 {
  margin-top: 14px;
}
.heading-accent {
  color: var(--blue);
}
.journey-intro > p:last-of-type {
  font-size: 14px;
  line-height: 1.65;
  color: #54667d;
  margin-top: 20px;
}
.round-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--navy);
  font-size: 20px;
  margin: 22px auto 0;
}
.journey {
  position: relative;
  height: 240vh;
  height: 240svh;
}
.scene-sticky {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  height: calc(100svh - var(--nav-height));
  min-height: 540px;
  overflow: hidden;
  isolation: isolate;
  background: #cae7eb;
  border-block: 1px solid var(--navy);
}
.scene-landscape {
  position: absolute;
  inset: -3%;
  background: url("/comic/landscape.png") center 69% / cover no-repeat;
  z-index: -3;
  will-change: transform;
}
.scene-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff9efd9, #fff9ef75 33%, #fff9ef00 70%);
  z-index: -2;
}
.scene-top {
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.scene-label {
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 9px;
}
.scene-label > span {
  font-size: 20px;
  color: var(--blue);
}
.example-label {
  font-size: 10px;
  background: #fff9efb8;
  padding: 7px 12px;
  border-radius: 30px;
  border: 1px solid #15345f35;
}
.scene-layout {
  height: 100%;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 35px;
  align-items: center;
  padding-block: 75px 90px;
}
.story-panel {
  max-width: 400px;
  position: relative;
  z-index: 4;
}
.story-counter {
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-bottom: 20px;
}
.story-counter > span:first-child {
  font-family: var(--display);
  font-size: 35px;
}
.story-counter > span + span {
  color: #5d7385;
}
.story-panel h2 {
  font-size: clamp(40px, 4.7vw, 65px);
  line-height: 1.02;
  text-wrap: balance;
  max-width: 380px;
}
.story-panel > p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 22px;
  max-width: 345px;
  min-height: 94px;
}
.story-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 21px;
}
.story-footnote > span {
  font-size: 21px;
}
.story-stage {
  height: min(61vh, 530px);
  min-height: 370px;
  position: relative;
  perspective: 1000px;
}
.story-object {
  position: absolute;
  transition:
    transform 0.75s cubic-bezier(0.22, 0.68, 0, 1),
    opacity 0.45s ease;
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
}
.story-coin {
  width: min(440px, 88%);
  left: 6%;
  top: 0;
  transform: translateY(25px) scale(0.7) rotate(-15deg);
}
.coin-display {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}
.story-coin .coin-display {
  filter: drop-shadow(0 22px 16px #23371d33);
}
.floating-label {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--cream);
  border: 1px solid var(--navy);
  border-radius: 5px;
  padding: 11px 15px;
  box-shadow: 3px 3px 0 #15345f25;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.stage-halo {
  position: absolute;
  inset: 0 -2% -4%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    #fff9efb3 0%,
    #fff9ef57 40%,
    #fff9ef00 69%
  );
  z-index: -1;
}
.story-pack {
  width: 237px;
  height: 340px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -43%) rotate(11deg) scale(0.6);
  filter: drop-shadow(13px 25px 12px #32401d25);
}
.pack-front {
  position: absolute;
  inset: 15px 0;
  border: 2px solid var(--navy);
  background: linear-gradient(
    140deg,
    #ffdb3a 8%,
    #ffe97f 35%,
    #ffcb05 35%,
    #ffcb05 64%,
    #f7ae18 100%
  );
  border-radius: 5px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 22px 17px 15px;
  overflow: hidden;
  box-shadow:
    inset 6px 0 0 #fff9ef4d,
    inset -7px 0 0 #ce9c1738;
}
.pack-front::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(
    110deg,
    transparent 30%,
    #fff9ef77 45%,
    transparent 56%
  );
  transform: rotate(-15deg);
  z-index: 3;
  pointer-events: none;
}
.pack-logo {
  width: 181px;
  position: relative;
  z-index: 2;
}
.pack-subtitle {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-top: 5px;
}
.pack-mark {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-top: 11px;
  filter: drop-shadow(2px 4px 0 #e8933155);
}
.pack-name {
  font-family: var(--display);
  font-size: 34px;
  line-height: 0.98;
  text-align: center;
  letter-spacing: -0.01em;
  margin-top: 8px;
}
.pack-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.17em;
  margin-top: auto;
}
.pack-footer > span {
  font-size: 19px;
}
.pack-seal {
  height: 22px;
  position: absolute;
  left: -3px;
  right: -3px;
  background: repeating-linear-gradient(
    90deg,
    #c7941b 0px,
    #ffda55 2px,
    #ffda55 5px,
    #e3ac22 7px
  );
  border: 2px solid var(--navy);
  clip-path: polygon(
    0 12%,
    3% 0,
    6% 12%,
    9% 0,
    12% 12%,
    15% 0,
    18% 12%,
    21% 0,
    24% 12%,
    27% 0,
    30% 12%,
    33% 0,
    36% 12%,
    39% 0,
    42% 12%,
    45% 0,
    48% 12%,
    51% 0,
    54% 12%,
    57% 0,
    60% 12%,
    63% 0,
    66% 12%,
    69% 0,
    72% 12%,
    75% 0,
    78% 12%,
    81% 0,
    84% 12%,
    87% 0,
    90% 12%,
    93% 0,
    96% 12%,
    100% 0,
    100% 100%,
    0 100%
  );
  z-index: 4;
}
.pack-seal-top {
  top: 0;
  transform-origin: 100% 100%;
  transition:
    transform 0.7s ease,
    opacity 0.5s ease;
}
.pack-seal-bottom {
  bottom: 0;
  transform: rotate(180deg);
}
.story-cards {
  inset: 0;
  transform: translateY(65px) scale(0.6);
}
.scene-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 39%;
  max-width: 230px;
  filter: drop-shadow(8px 16px 10px #1f351d3f);
  transition: transform 0.7s ease;
  transform-origin: 50% 85%;
}
.scene-card [data-tilt-surface] {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.22s ease-out;
}
.scene-card img {
  width: 100%;
  aspect-ratio: 5/7;
  object-fit: contain;
}
.scene-card-left {
  transform: translate(-112%, -48%) rotate(-17deg);
}
.scene-card-right {
  transform: translate(9%, -48%) rotate(17deg);
}
.scene-card-center {
  z-index: 3;
  transform: translate(-50%, -59%) rotate(-3deg);
}
.scene-card-center figcaption {
  position: absolute;
  bottom: -13px;
  left: 50%;
  white-space: nowrap;
  transform: translateX(-50%) rotate(3deg);
  background: var(--yellow);
  border: 1px solid var(--navy);
  border-radius: 3px;
  padding: 8px 15px;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.13em;
  box-shadow: 2px 3px 0 var(--navy);
}
.scene-card-center figcaption span {
  margin-left: 10px;
}
.foil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    transparent 20%,
    #91e7ff30 30%,
    #ffffff4d 38%,
    #ffeeb032 43%,
    transparent 50%,
    #efaaff1a 75%,
    transparent
  );
  mix-blend-mode: screen;
  opacity: 0.45;
  background-size: 200% 200%;
  background-position: var(--foil-x, 40%) var(--foil-y, 40%);
}
.story-payout {
  inset: 0;
  transform: translateY(50px) scale(0.75);
}
.payout-coin {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 195px;
  z-index: 2;
  filter: drop-shadow(0 10px 10px #3143232b);
}
.payout-lines {
  position: absolute;
  top: 140px;
  width: 78%;
  height: 140px;
  left: 11%;
  display: flex;
  justify-content: space-between;
  z-index: 4;
}
.payout-lines i {
  width: 3px;
  height: 100%;
  background: var(--navy);
  position: relative;
  box-shadow: 0 0 0 2px #fff9efb8;
}
.payout-lines i::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: -6px;
  border: solid var(--navy);
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 6px;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 1px #fff9ef);
}
.payout-lines i:first-child {
  transform: rotate(32deg);
  transform-origin: bottom;
}
.payout-lines i:nth-child(2) {
  align-self: flex-end;
  height: calc(100% - var(--coin-arrow-inset, 55px));
}
.payout-lines i:last-child {
  transform: rotate(-32deg);
  transform-origin: bottom;
}
.holder-row {
  display: flex;
  gap: 20px;
  position: absolute;
  top: 278px;
  left: 0;
  right: 0;
  z-index: 3;
}
.holder-row > div {
  flex: 1;
  background: var(--cream);
  border: 1.5px solid var(--navy);
  box-shadow: 3px 4px 0 #15345f29;
  border-radius: 10px;
  padding: 16px 8px;
  text-align: center;
}
.holder-row img {
  height: 53px;
  width: 53px;
  object-fit: contain;
  margin: 0 auto 10px;
}
.holder-row span {
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.story-payout > .floating-label {
  bottom: -7px;
}
.stage-spark {
  position: absolute;
  z-index: 6;
  font-size: 36px;
  color: var(--yellow);
  -webkit-text-stroke: 1px var(--navy);
  paint-order: stroke fill;
  pointer-events: none;
}
.stage-spark-a {
  left: 0;
  top: 15%;
  transform: rotate(-10deg);
}
.stage-spark-b {
  right: 3%;
  bottom: 12%;
  font-size: 49px;
  transform: rotate(18deg);
}
.buyback-label {
  position: absolute;
  bottom: 1%;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  transition:
    opacity 0.5s,
    transform 0.5s;
  white-space: nowrap;
  background: var(--navy);
  border: 2px solid var(--cream);
  box-shadow: 3px 3px 0 var(--navy);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  z-index: 8;
}
.buyback-label span {
  margin-inline: 12px;
  color: var(--yellow);
}
[data-phase="0"] .story-coin {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(-8deg);
}
[data-phase="1"] .story-pack {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(7deg) scale(1);
}
[data-phase="2"] .story-cards,
[data-phase="3"] .story-cards {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
[data-phase="2"] .story-pack {
  transform: translate(-50%, -50%) rotate(-15deg) scale(1.15);
}
[data-phase="2"] .pack-seal-top {
  transform: translate(60px, -60px) rotate(30deg);
  opacity: 0;
}
[data-phase="3"] .story-cards {
  transform: translateY(-30px) scale(0.87);
}
[data-phase="3"] .buyback-label {
  opacity: 1;
  transform: translate(-50%, 0);
}
[data-phase="4"] .story-payout {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.scene-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
  z-index: 9;
}
.scene-controls {
  display: flex;
  gap: 7px;
  flex-wrap: nowrap;
  padding: 7px;
  background: #fff9eff2;
  border: 1px solid var(--navy);
  border-radius: 9px;
  box-shadow: 3px 3px 0 #15345f29;
}
.scene-controls button {
  border: 0;
  background: none;
  padding: 11px 16px;
  min-height: 44px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  border-radius: 5px;
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.scene-controls button > span {
  margin-right: 8px;
  color: #698292;
  font-size: 9px;
}
.scene-controls button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--cream);
}
.scene-controls button[aria-pressed="true"] > span {
  color: var(--yellow);
}
.replay-button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  border: 0;
  background: #fff9efc2;
  border-radius: 30px;
  padding: 8px 13px;
  font-size: 23px;
  cursor: pointer;
}
.replay-button span {
  font-size: 11px;
  font-weight: 800;
}
.journey-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #15345f23;
}
#journey-progress {
  width: 100%;
  height: 100%;
  background: var(--yellow);
  transform: scaleX(var(--journey-progress, 0));
  transform-origin: left;
}
/* Collection plates borrow their framing from physical card sleeves. */
.collection {
  padding-top: 112px;
}
.collection .section-intro p {
  margin-top: 13px;
}
.outline-label {
  font-size: 9px;
  font-weight: 800;
  color: var(--navy);
  border: 1px solid #15345f6b;
  border-radius: 30px;
  padding: 7px 11px;
  display: inline-block;
}
.card-collection {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 46px;
}
.collectible-card {
  min-width: 0;
}
.card-display {
  height: 385px;
  border: 1px solid #15345f47;
  border-radius: 140px 140px 11px 11px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
}
.card-charizard .card-display { background: #f4ddc6; }
.card-umbreon .card-display { background: #dce5ee; }
.card-mewtwo .card-display { background: #e8e0ee; }
.card-mew .card-display { background: #d9eae7; }
.card-rayquaza .card-display {
  background: #e4eddc;
}
.card-poncho .card-display {
  background: #ebdeed;
}
.card-display::before {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px dashed #15345f2b;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.card-corner {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 10px;
  letter-spacing: 0.05em;
  font-weight: 800;
}
.card-display > .card-corner {
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
}
.card-lugia .card-corner { display: none; }
.card-image {
  position: relative;
  max-width: 210px;
  width: 61%;
  transition: transform 0.26s ease-out;
  filter: drop-shadow(10px 18px 10px #26311f30);
  transform: rotate(-7deg);
  border-radius: 9px;
  overflow: hidden;
}
.chase-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: #fffbe0;
}
.chase-sparkles span {
  position: absolute;
  font-size: 23px;
  line-height: 1;
  text-shadow: 0 0 7px #fff, 0 0 16px #ffc400;
  animation: chase-twinkle 3.2s ease-in-out infinite;
}
.chase-sparkles span:nth-child(1) { left: 12%; top: 18%; animation-delay: -0.4s; }
.chase-sparkles span:nth-child(2) { left: 19%; top: 39%; font-size: 15px; animation-delay: -1.8s; }
.chase-sparkles span:nth-child(3) { left: 10%; top: 65%; font-size: 30px; animation-delay: -2.6s; }
.chase-sparkles span:nth-child(4) { left: 23%; top: 82%; font-size: 18px; animation-delay: -1.1s; }
.chase-sparkles span:nth-child(5) { right: 23%; top: 19%; font-size: 16px; animation-delay: -2.1s; }
.chase-sparkles span:nth-child(6) { right: 12%; top: 42%; font-size: 28px; animation-delay: -0.8s; }
.chase-sparkles span:nth-child(7) { right: 18%; top: 67%; font-size: 17px; animation-delay: -2.9s; }
.chase-sparkles span:nth-child(8) { right: 10%; top: 84%; animation-delay: -1.5s; }
@keyframes chase-twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.65) rotate(-12deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(12deg); }
}
.card-lugia .card-image {
  transform: rotate(3deg);
}
.card-poncho .card-image {
  transform: rotate(-5deg);
}
.card-image img {
  width: 100%;
  aspect-ratio: 5/7;
  object-fit: contain;
}
.card-note {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #536171;
}
.collector-star {
  position: absolute;
  right: 32px;
  top: 45px;
  font-size: 38px;
  color: var(--yellow);
  -webkit-text-stroke: 1px var(--navy);
  paint-order: stroke fill;
  transform: rotate(15deg);
}
.chase-ribbon {
  position: absolute;
  z-index: 5;
  top: 21px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  box-shadow: 2px 3px 0 #15345f2b;
  color: var(--cream);
  padding: 6px 9px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chase-ribbon span { color: var(--yellow); }
.card-lugia {
  position: relative;
  z-index: 2;
}
.card-lugia .card-image {
  max-width: 225px;
  width: 66%;
  filter: drop-shadow(11px 20px 13px #61431352);
}
.collectible-card figcaption {
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 19px 2px 0;
}
.collectible-card h3 {
  font-size: 20px;
  letter-spacing: -0.04em;
}
.collectible-card figcaption p {
  font-size: 11px;
  margin-top: 3px;
  color: var(--muted);
}
.card-valuation {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 3px;
}
.card-valuation strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.card-valuation strong span { font-size: 10px; font-weight: 600; }
.card-valuation > span { font-size: 10px; color: var(--muted); }
.grade {
  font-size: 9px;
  font-weight: 800;
  border: 1px solid #15345f45;
  border-radius: 5px;
  padding: 7px 8px;
  white-space: nowrap;
  background: var(--paper);
}
.tiny-star {
  font-size: 13px;
  color: #c59400;
}
.collectible-card.card-lugia {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--navy);
  border: 3px solid var(--yellow);
  border-radius: 26px;
  box-shadow: 0 0 0 2px var(--navy), 0 12px 0 #15345f12;
  margin-bottom: 24px;
  overflow: hidden;
}
.card-lugia .card-display {
  align-self: stretch;
  height: auto;
  min-height: 480px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: radial-gradient(ellipse at 50% 42%, #fffce2 0%, #f9e79e 48%, #d9b549 100%);
}
.card-lugia .card-image {
  width: 65%;
  max-width: 255px;
}
.card-lugia .chase-ribbon {
  top: 22px;
  padding: 9px 15px;
  font-size: 11px;
  border: 1px solid #f6d660;
}
.card-lugia figcaption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 14px;
  padding: 42px;
  color: var(--cream);
}
.card-lugia .chase-kicker {
  grid-column: 1 / -1;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.collectible-card.card-lugia h3 {
  font-family: var(--body);
  font-weight: 600;
  font-synthesis: none;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
}
.card-lugia .tiny-star { color: var(--yellow); font-size: 26px; }
.card-lugia figcaption > div p { color: #d3e0ee; font-size: 14px; margin-top: 10px; }
.card-lugia .grade {
  padding: 10px 12px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 12px;
  border-color: #ffe998;
}
.card-lugia .card-valuation {
  grid-column: 1 / -1;
  border-color: #ffffff40;
  padding-top: 25px;
  gap: 10px;
}
.card-lugia .card-valuation strong {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.15;
  color: var(--yellow);
  letter-spacing: -0.04em;
}
.card-lugia .card-valuation strong span { font-size: 12px; letter-spacing: 0; }
.card-lugia .card-valuation > span { font-size: 12px; color: #d3e0ee; }
.card-lugia .chase-detail {
  grid-column: 1 / -1;
  max-width: 340px;
  color: #c2d3e5;
  font-size: 12px;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 800px) {
  .collectible-card.card-lugia { grid-template-columns: 1fr; }
  .card-lugia .card-display { height: 410px; min-height: 0; }
  .card-lugia .card-image { max-width: 215px; }
  .card-lugia figcaption { padding: 28px 24px 32px; gap: 20px 10px; }
  .card-lugia .card-valuation { padding-top: 20px; }
  .card-lugia .chase-kicker { font-size: 9px; }
  .collectible-card.card-lugia h3 { font-size: 48px; }
}
.collection-disclosure {
  font-size: 10px;
  text-align: center;
  color: var(--muted);
  margin-top: 31px;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.collection-disclosure span {
  color: var(--blue);
  font-size: 16px;
}
.economics {
  border-block: 1px solid #15345f29;
  background: #f3efdf;
  position: relative;
}
.economics-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
}
.economics h2 {
  margin-top: 14px;
}
.economics-copy {
  font-size: 14px;
  color: #54667d;
  max-width: 355px;
  margin-top: 23px;
}
.economics .text-link {
  margin-top: 18px;
}
.fee-card {
  background: var(--paper);
  border: 1.5px solid var(--navy);
  border-radius: 12px;
  padding: 34px 36px 28px;
  box-shadow: 5px 5px 0 #15345f1a;
  position: relative;
  transform: rotate(-1deg);
}
.fee-card::before {
  content: "✦";
  position: absolute;
  top: -17px;
  right: 27px;
  color: var(--yellow);
  -webkit-text-stroke: 1px var(--navy);
  paint-order: stroke fill;
  font-size: 39px;
}
.fee-total {
  font-size: 74px;
  font-family: var(--display);
  letter-spacing: -0.04em;
  line-height: 1;
}
.fee-title {
  font-size: 17px;
  font-weight: 700;
  margin-top: 8px;
}
.fee-bar {
  height: 16px;
  display: flex;
  margin-block: 25px 20px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  overflow: hidden;
}
.fee-bar span {
  background: var(--pink);
  width: calc(100% * 2 / 30);
  min-width: 8px;
  border-right: 1px solid var(--navy);
}
.fee-bar span + span {
  background: var(--blue);
  width: calc(100% * 3 / 30);
}
.fee-bar span + span + span {
  background: var(--yellow);
  flex: 1;
  border: 0;
}
.fee-breakdown {
  margin: 0;
}
.fee-breakdown > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-block: 13px;
  font-size: 12px;
}
.fee-breakdown dt {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fee-breakdown dd {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.fee-dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--navy);
  border-radius: 2px;
}
.programmable {
  background: var(--pink);
}
.team {
  background: var(--blue);
}
.gas {
  background: var(--blue);
}
.reward {
  background: var(--yellow);
}
.fee-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 17px;
  line-height: 1.65;
}
.faq {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}
.faq h2 {
  margin-top: 14px;
}
.faq-intro > p:last-of-type {
  color: var(--muted);
  font-size: 14px;
  margin-top: 20px;
}
.faq-list {
  border-top: 1px solid #15345f70;
}
.faq details {
  border-bottom: 1px solid #15345f70;
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding-block: 19px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary > span {
  display: grid;
  place-items: center;
  height: 25px;
  width: 25px;
  flex-shrink: 0;
  border: 1px solid #15345f65;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 500;
  transition:
    transform 0.2s,
    background 0.2s;
}
.faq details[open] summary > span {
  transform: rotate(45deg);
  background: var(--yellow);
}
.faq details p {
  font-size: 13px;
  line-height: 1.7;
  color: #54667d;
  padding: 0 35px 24px 0;
}
.site-footer {
  padding-block: 0 24px;
}
.footer-banner {
  position: relative;
  padding: clamp(20px, 4vw, 48px) 0;
  background: transparent;
}
.footer-banner > img {
  width: 84%;
  margin-inline: auto;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
.footer-banner .button {
  position: absolute;
  bottom: 27px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 3px 4px 0 var(--navy);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-top: 32px;
}
.footer-bottom .brand img {
  width: 143px;
}
.footer-bottom > p {
  font-size: 11px;
  color: var(--muted);
}
.footer-bottom > div {
  display: flex;
  gap: 23px;
  font-size: 11px;
  font-weight: 700;
}
.footer-bottom > div a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-detail-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom > .footer-page-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 18px;
  max-width: 470px;
}
@media (max-width: 800px) {
  .footer-bottom > .footer-page-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    max-width: none;
  }
}
@keyframes coin-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-13px) rotate(1deg);
  }
}
@media (hover: hover) {
  .nav-links a:hover::after {
    transform: scaleX(1);
  }
  .button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--navy);
  }
  .footer-banner .button:hover {
    transform: translate(-50%, -2px);
  }
  .text-link:hover {
    color: var(--blue);
  }
  .social-link:hover {
    color: var(--blue);
  }
  .scene-controls button:hover {
    background: #ede4ce;
  }
  .scene-controls button[aria-pressed="true"]:hover {
    background: var(--navy);
  }
  .collectible-card:hover .foil,
  .scene-card:hover .foil {
    opacity: 0.9;
  }
  .replay-button:hover {
    background: var(--yellow);
  }
}
@media (min-width: 1500px) {
  .hero {
    min-height: 740px;
  }
  .hero-layout {
    min-height: 659px;
  }
  .hero-art {
    height: 540px;
  }
  .hero h1 {
    font-size: 91px;
  }
  .hero-coin {
    top: 0;
  }
  .hero-description {
    font-size: 15px;
  }
}
@media (max-width: 1100px) {
  .shell {
    width: calc(100% - 64px);
  }
  .nav-links {
    margin-left: 0;
    gap: 20px;
  }
  .nav-actions {
    gap: 8px;
  }
  .brand img {
    width: 158px;
  }
  .hero h1 {
    font-size: 72px;
  }
  .hero {
    min-height: 665px;
  }
  .hero-layout {
    min-height: 585px;
  }
  .hero-art {
    height: 440px;
  }
  .hero-coin {
    top: 11%;
  }
  .hero-actions {
    gap: 18px;
    flex-wrap: wrap;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .hero-coin {
    width: 108%;
    left: -3%;
  }
  .hero .button {
    gap: 18px;
    padding-inline: 16px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-edition {
    font-size: 8px;
  }
  .metric {
    padding-inline: 18px;
  }
  .metric strong {
    font-size: 31px;
  }
  .cycle-track {
    gap: 10px;
    padding-inline: 18px;
  }
  .cycle-step strong,
  .cycle-step .s {
    font-size: 9px;
  }
  .section-intro {
    min-width: 235px;
    font-size: 13px;
  }
  .card-display {
    height: 345px;
  }
  .economics-layout {
    gap: 65px;
  }
  .scene-layout {
    gap: 24px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .story-panel h2 {
    font-size: 51px;
  }
  .story-panel > p {
    font-size: 13px;
  }
  .scene-controls button {
    padding-inline: 12px;
  }
  .scene-controls button > span {
    margin-right: 5px;
  }
  .card-collection {
    gap: 20px;
  }
  .card-image {
    width: 68%;
  }
  .card-display {
    border-radius: 110px 110px 10px 10px;
  }
  .card-corner {
    left: 23px;
  }
  .faq {
    gap: 45px;
  }
}
@media (max-width: 800px) {
  :root {
    --nav-height: 70px;
  }
  .shell {
    width: calc(100% - 44px);
  }
  .nav {
    gap: 20px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 11px;
  }
  .nav-links a:last-child {
    display: none;
  }
  .brand img {
    width: 137px;
  }
  .nav-actions .social-link {
    display: inline-flex;
  }
  .button-small {
    font-size: 10px;
    gap: 12px;
    min-height: 40px;
    padding-inline: 12px;
  }
  .hero {
    min-height: 620px;
  }
  .hero-layout {
    min-height: 555px;
    gap: 0;
    grid-template-columns: 1.05fr 1fr;
    padding-block: 45px 30px;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 0.11em;
  }
  .hero h1 {
    font-size: 61px;
  }
  .hero-description {
    font-size: 12px;
    margin-top: 22px;
    max-width: 360px;
  }
  .hero-actions {
    gap: 11px;
    margin-top: 20px;
  }
  .hero-actions .button {
    font-size: 11px;
    padding: 13px 12px;
    min-height: 48px;
    gap: 14px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .hero-art {
    height: 390px;
  }
  .hero-coin {
    top: 15%;
    width: 123%;
    left: -11%;
  }
  .coin-orbit {
    inset: 22% -12% 12%;
    transform: rotate(-24deg) scaleY(0.8);
  }
  .art-star-one {
    right: -6%;
    font-size: 33px;
    top: 9%;
  }
  .art-star-two {
    font-size: 31px;
    left: 1%;
    bottom: 20%;
  }
  .coin-shadow {
    bottom: 40px;
  }
  .hero-bottom {
    height: 65px;
  }
  .hero-edition {
    display: none;
  }
  .hero-bottom a {
    font-size: 10px;
  }
  .section {
    padding-block: 78px;
  }
  .section-heading {
    gap: 24px;
  }
  .section-heading h2 {
    font-size: 44px;
  }
  .section-intro {
    min-width: 180px;
    font-size: 12px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric {
    padding: 22px 23px;
    border-bottom: 1px solid var(--line);
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .metric:last-child {
    border: 0;
  }
  .metric:nth-child(3) {
    border-bottom: 0;
  }
  .metric p {
    max-width: 100%;
    min-height: 0;
  }
  .metric strong {
    font-size: 36px;
    margin-top: 8px;
  }
  .cycle-track {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    padding: 22px 16px;
    gap: 8px;
  }
  .cycle-step strong {
    font-size: 8px;
    white-space: normal;
    min-height: 23px;
    line-height: 1.4;
  }
  .cycle-step .s {
    font-size: 8px;
  }
  .console-bottom {
    gap: 15px;
    font-size: 9px;
    padding-inline: 18px;
  }
  .console-cycle {
    display: none;
  }
  .journey-intro {
    padding-block: 35px 47px;
  }
  .journey-intro h2 {
    font-size: 47px;
  }
  .scene-top {
    top: 22px;
  }
  .scene-label {
    font-size: 10px;
  }
  .example-label {
    font-size: 8px;
    padding: 6px 9px;
  }
  .scene-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 15px;
    padding-block: 80px 100px;
  }
  .story-panel h2 {
    font-size: 43px;
  }
  .story-panel > p {
    font-size: 12px;
    max-width: 260px;
    margin-top: 18px;
  }
  .story-counter {
    margin-bottom: 16px;
  }
  .story-footnote {
    font-size: 9px;
    gap: 8px;
    margin-top: 13px;
  }
  .story-stage {
    height: 370px;
    min-height: 330px;
  }
  .story-coin {
    top: 10%;
    width: 103%;
    left: -1%;
  }
  .story-pack {
    width: 205px;
    height: 304px;
  }
  .pack-logo {
    width: 163px;
  }
  .pack-front {
    padding-top: 17px;
  }
  .pack-mark {
    width: 74px;
    height: 74px;
  }
  .pack-name {
    font-size: 30px;
  }
  .pack-footer {
    font-size: 6px;
  }
  .floating-label {
    font-size: 9px;
    padding: 9px 10px;
  }
  .scene-card {
    width: 45%;
    max-width: 185px;
  }
  .scene-card-left {
    transform: translate(-106%, -48%) rotate(-15deg);
  }
  .scene-card-right {
    transform: translate(2%, -48%) rotate(15deg);
  }
  .scene-card-center {
    transform: translate(-50%, -59%) rotate(-3deg);
  }
  .scene-card-center figcaption {
    font-size: 7px;
    padding: 6px 10px;
  }
  .scene-bottom {
    bottom: 22px;
    gap: 13px;
  }
  .scene-controls {
    gap: 4px;
    padding: 5px;
  }
  .scene-controls button {
    font-size: 10px;
    padding: 8px 11px;
  }
  .scene-controls button > span {
    font-size: 8px;
    margin-right: 4px;
  }
  .replay-button span {
    display: none;
  }
  .replay-button {
    padding: 6px;
    width: 38px;
    min-width: 38px;
  }
  .payout-coin {
    width: 144px;
    top: 10px;
  }
  .payout-lines {
    top: 122px;
    --coin-arrow-inset: 34px;
    height: 98px;
  }
  .holder-row {
    gap: 9px;
    top: 231px;
  }
  .holder-row > div {
    padding: 11px 4px;
    border-radius: 7px;
  }
  .holder-row img {
    width: 38px;
    height: 38px;
  }
  .holder-row span {
    font-size: 7px;
  }
  .story-payout > .floating-label {
    bottom: 20px;
  }
  .buyback-label {
    font-size: 10px;
    padding: 12px 16px;
    bottom: 5%;
  }
  .buyback-label span {
    margin-inline: 8px;
  }
  .stage-spark {
    font-size: 28px;
  }
  .stage-spark-b {
    font-size: 35px;
  }
  .card-collection {
    gap: 16px;
    margin-top: 32px;
  }
  .card-display {
    height: 285px;
    border-radius: 95px 95px 9px 9px;
  }
  .card-display::before {
    width: 190px;
    height: 190px;
  }
  .card-corner {
    top: 26px;
    left: 19px;
    font-size: 8px;
  }
  .card-image {
    width: 76%;
  }
  .card-note {
    font-size: 6px;
    bottom: 17px;
  }
  .collector-star {
    font-size: 25px;
    right: 19px;
    top: 34px;
  }
  .collectible-card h3 {
    font-size: 17px;
  }
  .collectible-card figcaption p {
    font-size: 9px;
  }
  .collectible-card figcaption {
    gap: 5px;
    align-items: flex-start;
  }
  .grade {
    font-size: 7px;
    padding: 6px;
  }
  .collection .section-intro {
    min-width: 190px;
  }
  .outline-label {
    font-size: 7px;
  }
  .collection-disclosure {
    font-size: 9px;
  }
  .economics-layout {
    gap: 35px;
    grid-template-columns: 1fr 1fr;
  }
  .economics h2 {
    font-size: 44px;
  }
  .economics-copy {
    font-size: 12px;
  }
  .fee-card {
    padding: 29px 24px 23px;
  }
  .fee-total {
    font-size: 54px;
  }
  .fee-title {
    font-size: 10px;
  }
  .fee-breakdown > div {
    font-size: 10px;
  }
  .fee-breakdown dd {
    font-size: 12px;
  }
  .faq {
    gap: 32px;
    grid-template-columns: 0.85fr 1.15fr;
  }
  .faq h2 {
    font-size: 43px;
  }
  .faq summary {
    font-size: 12px;
    min-height: 71px;
  }
  .faq details p {
    font-size: 12px;
  }
  .footer-banner > img {
    min-height: 0;
    object-fit: contain;
  }
  .footer-banner .button {
    min-height: 46px;
    font-size: 11px;
    bottom: 19px;
  }
  .footer-bottom {
    gap: 20px;
  }
  .footer-bottom > p {
    font-size: 9px;
  }
  .footer-bottom > div {
    gap: 15px;
    font-size: 9px;
  }
  .footer-bottom .brand img {
    width: 118px;
  }
}
@media (max-width: 600px) {
  :root {
    --nav-height: 108px;
  }
  .shell {
    width: calc(100% - 36px);
  }
  .nav {
    gap: 15px;
  }
  .brand img {
    width: 143px;
  }
  .nav-links {
    display: none;
  }
  .button-small {
    font-size: 11px;
    min-height: 39px;
    gap: 12px;
  }
  .hero {
    min-height: 920px;
  }
  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-block: 37px 0;
    gap: 0;
    min-height: 835px;
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      #fff9eff5 0%,
      #fff9efeb 30%,
      #fff9ef66 57%,
      #fff9ef00 75%
    );
  }
  .hero-landscape {
    background-position: 65% bottom;
    background-size: cover;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 0.13em;
    gap: 8px;
  }
  .hero-copy .little-star {
    font-size: 18px;
  }
  .hero h1 {
    font-size: 68px;
    line-height: 0.97;
    margin-top: 19px;
    letter-spacing: -0.02em;
  }
  .hero h1 span {
    font-size: inherit;
    -webkit-text-stroke: 0.11em #1b72bb;
    text-shadow: 0.045em 0.065em 0 #153e7e;
  }
  .hero-description {
    font-size: 12px;
    max-width: 360px;
    line-height: 1.65;
    margin-top: 22px;
  }
  .hero-actions {
    gap: 18px;
    margin-top: 24px;
    flex-wrap: nowrap;
  }
  .hero-actions .button {
    min-height: 46px;
    font-size: 10px;
    padding: 12px 13px;
    gap: 12px;
  }
  .hero-actions .text-link {
    font-size: 10px;
    gap: 8px;
  }
  .hero-art {
    height: 340px;
    margin-top: 17px;
    width: 100%;
    max-width: 390px;
    align-self: center;
  }
  .hero-coin {
    width: 98%;
    max-width: none;
    left: 1%;
    top: -4%;
  }
  .coin-orbit {
    inset: 12% 1% 14%;
    transform: rotate(-24deg) scaleY(0.75);
  }
  .coin-shadow {
    bottom: 12px;
    left: 18%;
    right: 18%;
  }
  .art-star-one {
    font-size: 32px;
    right: 5%;
    top: 3%;
  }
  .art-star-two {
    font-size: 29px;
    left: 5%;
    bottom: 22%;
  }
  .hero-bottom {
    height: 70px;
    justify-content: center;
  }
  .hero-bottom a {
    font-size: 9px;
    gap: 9px;
  }
  .scroll-circle {
    width: 26px;
    height: 26px;
  }
  .section {
    padding-block: 66px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .section-heading {
    display: block;
    margin-bottom: 26px;
  }
  .section-heading h2 {
    font-size: 42px;
    margin-top: 12px;
  }
  .section-intro {
    font-size: 12px;
    min-width: 0;
    margin-top: 19px;
  }
  .section-intro br {
    display: none;
  }
  .dashboard {
    padding-bottom: 44px;
  }
  .dashboard-console {
    border-radius: 10px;
    box-shadow: 3px 4px 0 #15345f16;
  }
  .console-top {
    padding: 14px 13px;
    min-height: 59px;
    gap: 10px;
  }
  .console-label {
    font-size: 11px;
    gap: 7px;
    white-space: nowrap;
  }
  .console-label img {
    height: 23px;
    width: 23px;
  }
  .status-pill {
    font-size: 8px;
    gap: 5px;
    max-width: 52%;
  }
  .metric {
    padding: 21px 14px 18px;
  }
  .metric-label {
    font-size: 9px;
    gap: 3px;
  }
  .metric-label > span {
    font-size: 13px;
  }
  .metric strong {
    font-size: 31px;
    margin-block: 8px 5px;
  }
  .metric p {
    font-size: 8px;
    line-height: 1.5;
    min-height: 24px;
  }
  .cycle-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 21px 14px;
    row-gap: 20px;
    column-gap: 8px;
  }
  .cycle-step strong {
    font-size: 8px;
    min-height: 0;
  }
  .cycle-step .s {
    font-size: 8px;
  }
  .cycle-step:nth-child(4)::before {
    display: none;
  }
  .step-dot {
    width: 22px;
    height: 22px;
    font-size: 9px;
    margin-bottom: 8px;
  }
  .cycle-step:not(:last-child)::before {
    top: 10px;
  }
  .console-bottom {
    padding: 13px 14px;
    gap: 9px 17px;
    font-size: 8px;
    line-height: 1.5;
  }
  .console-bottom > span:last-of-type {
    display: none;
  }
  .recent-pulls {
    margin-top: 25px;
  }
  .recent-heading {
    margin-bottom: 12px;
    gap: 8px;
  }
  .recent-heading h3 {
    font-size: 15px;
  }
  .recent-heading > span {
    font-size: 8px;
  }
  .empty-pulls {
    font-size: 10px;
    padding: 18px 17px;
    justify-content: flex-start;
    gap: 14px;
    min-height: 93px;
  }
  .empty-card {
    width: 25px;
    height: 33px;
  }
  .latest-cards:has(article) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journey-intro {
    padding-block: 27px 37px;
  }
  .journey-intro h2 {
    font-size: 42px;
  }
  .journey-intro > p:last-of-type {
    font-size: 12px;
    margin-top: 17px;
  }
  .round-arrow {
    width: 34px;
    height: 34px;
    font-size: 18px;
    margin-top: 19px;
  }
  .scene-sticky {
    min-height: 590px;
  }
  .scene-top {
    top: 16px;
    gap: 7px;
  }
  .scene-label {
    font-size: 9px;
    gap: 5px;
  }
  .scene-label > span {
    font-size: 15px;
  }
  .example-label {
    font-size: 8px;
    padding: 6px 7px;
    white-space: nowrap;
  }
  .scene-wash {
    background: linear-gradient(
      180deg,
      #fff9efb5,
      #fff9ef8c 40%,
      #fff9ef05 65%
    );
  }
  .scene-layout {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding-block: 57px 84px;
    height: 100%;
  }
  .story-panel {
    display: grid;
    grid-template-columns: 39px 1fr;
    column-gap: 12px;
    max-width: none;
    width: 100%;
    flex-shrink: 0;
  }
  .story-counter {
    grid-column: 1;
    grid-row: 1/3;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding-top: 1px;
    font-size: 9px;
  }
  .story-counter > span:first-child {
    font-size: 30px;
    line-height: 1;
  }
  .story-counter > span + span {
    font-size: 9px;
    margin-top: 7px;
  }
  .story-panel h2 {
    font-size: 34px;
    line-height: 1.02;
    max-width: 280px;
    grid-column: 2;
    text-wrap: initial;
    min-height: 69px;
  }
  .story-panel > p {
    grid-column: 2;
    font-size: 12px;
    line-height: 1.55;
    margin-top: 11px;
    min-height: 64px;
    max-width: 310px;
  }
  .story-footnote {
    display: none;
  }
  .story-stage {
    width: 100%;
    max-width: 370px;
    height: auto;
    min-height: 260px;
    flex: 1;
    margin-top: 2px;
    max-height: 380px;
  }
  .stage-halo {
    inset: -7% 0 0;
  }
  .story-coin {
    width: 280px;
    max-width: 90%;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -44%) scale(0.7) rotate(-15deg);
  }
  [data-phase="0"] .story-coin {
    transform: translate(-50%, -50%) scale(1) rotate(-8deg);
  }
  .floating-label {
    font-size: 8px;
    padding: 8px 10px;
    bottom: -8px;
  }
  .stage-spark-a {
    font-size: 26px;
    top: 16%;
    left: 7%;
  }
  .stage-spark-b {
    font-size: 31px;
    bottom: 15%;
    right: 7%;
  }
  .story-pack {
    width: 173px;
    height: 255px;
  }
  .pack-front {
    padding: 15px 12px 10px;
    inset: 12px 0;
  }
  .pack-logo {
    width: 145px;
  }
  .pack-subtitle {
    font-size: 5px;
    margin-top: 4px;
  }
  .pack-mark {
    width: 62px;
    height: 62px;
    margin-top: 7px;
  }
  .pack-name {
    font-size: 26px;
    margin-top: 5px;
  }
  .pack-footer {
    font-size: 5px;
    gap: 8px;
  }
  .pack-footer > span {
    font-size: 13px;
  }
  .pack-seal {
    height: 17px;
  }
  .scene-card {
    width: 41%;
    max-width: 150px;
  }
  .scene-card-left {
    transform: translate(-106%, -44%) rotate(-16deg);
  }
  .scene-card-right {
    transform: translate(6%, -44%) rotate(16deg);
  }
  .scene-card-center {
    transform: translate(-50%, -57%) rotate(-3deg);
  }
  .scene-card-center figcaption {
    font-size: 6px;
    padding: 6px 10px;
    bottom: -9px;
  }
  .scene-card-center figcaption span {
    margin-left: 5px;
  }
  .payout-coin {
    width: 124px;
    top: 3px;
  }
  .payout-lines {
    top: 97px;
    --coin-arrow-inset: 33px;
    height: 74px;
    width: 75%;
    left: 12.5%;
  }
  .holder-row {
    top: 184px;
    gap: 13px;
    left: 7px;
    right: 7px;
  }
  .holder-row > div {
    padding: 10px 4px 9px;
  }
  .holder-row img {
    width: 35px;
    height: 35px;
    margin-bottom: 7px;
  }
  .holder-row span {
    font-size: 7px;
  }
  .story-payout > .floating-label {
    bottom: -4px;
  }
  .buyback-label {
    font-size: 9px;
    padding: 11px 13px;
    bottom: 0;
  }
  .buyback-label span {
    margin-inline: 7px;
  }
  .scene-bottom {
    bottom: 18px;
    gap: 8px;
    width: calc(100% - 24px);
  }
  .scene-controls {
    flex: 1;
    min-width: 0;
    gap: 0;
    justify-content: space-between;
    padding: 4px;
    border-radius: 7px;
  }
  .scene-controls button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    flex: 1;
    min-height: 44px;
    padding: 5px 5px;
    font-size: 10px;
  }
  .scene-controls button > span {
    font-size: 8px;
    margin: 0;
  }
  .replay-button {
    min-width: 32px;
    width: 32px;
    padding: 3px;
    font-size: 21px;
  }
  .journey-progress-track {
    height: 4px;
  }
  .collection .section-intro {
    min-width: 0;
    margin-top: 18px;
  }
  .collection .section-intro p {
    margin-top: 12px;
  }
  .outline-label {
    font-size: 8px;
    padding: 6px 9px;
  }
  .card-collection {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 28px;
    max-width: 365px;
    margin-inline: auto;
  }
  .card-display {
    height: 373px;
    border-radius: 132px 132px 10px 10px;
  }
  .card-image {
    width: 56%;
    max-width: 203px;
  }
  .card-display::before {
    width: 270px;
    height: 270px;
  }
  .card-corner {
    font-size: 9px;
    top: 33px;
    left: 34px;
  }
  .card-note {
    font-size: 7px;
    bottom: 24px;
  }
  .collector-star {
    font-size: 36px;
    right: 37px;
    top: 51px;
  }
  .collectible-card figcaption {
    padding-top: 16px;
    align-items: center;
  }
  .collectible-card h3 {
    font-size: 20px;
  }
  .collectible-card figcaption p {
    font-size: 11px;
  }
  .grade {
    font-size: 9px;
    padding: 7px 9px;
  }
  .collection-disclosure {
    font-size: 9px;
    margin-top: 27px;
    text-align: left;
    align-items: flex-start;
    gap: 9px;
  }
  .collection-disclosure span {
    line-height: 1.5;
    font-size: 13px;
    flex-shrink: 0;
  }
  .economics-layout {
    grid-template-columns: 1fr;
    gap: 37px;
  }
  .economics h2 {
    font-size: 43px;
  }
  .economics-copy {
    font-size: 12px;
    max-width: 300px;
    margin-top: 19px;
  }
  .economics .text-link {
    font-size: 12px;
    margin-top: 14px;
  }
  .fee-card {
    padding: 30px 26px 25px;
    transform: rotate(-1deg);
    margin-inline: 4px;
  }
  .fee-total {
    font-size: 60px;
  }
  .fee-title {
    font-size: 11px;
  }
  .fee-breakdown > div {
    font-size: 11px;
  }
  .fee-breakdown dd {
    font-size: 13px;
  }
  .fee-note {
    font-size: 9px;
  }
  .fee-bar {
    margin-block: 22px 17px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 29px;
  }
  .faq-intro {
    position: relative;
  }
  .faq h2 {
    font-size: 43px;
  }
  .faq-intro > p:last-of-type {
    font-size: 12px;
    margin-top: 15px;
  }
  .faq summary {
    font-size: 12px;
    min-height: 71px;
    padding-block: 19px;
    gap: 15px;
  }
  .faq summary > span {
    height: 24px;
    width: 24px;
  }
  .faq details p {
    font-size: 12px;
    padding-right: 17px;
  }
  .footer-banner {
    border-radius: 10px;
  }
  .footer-banner > img {
    min-height: 0;
    object-position: center;
    object-fit: contain;
    width: 100%;
    height: auto;
  }
  .footer-banner .button {
    min-height: 43px;
    font-size: 10px;
    bottom: 17px;
    padding: 10px 13px;
    gap: 17px;
  }
  .footer-bottom {
    padding-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 15px;
  }
  .footer-bottom .brand img {
    width: 129px;
  }
  .footer-bottom > p {
    grid-column: 1/-1;
    grid-row: 2;
    font-size: 9px;
  }
  .footer-bottom > div {
    justify-content: flex-end;
    gap: 13px;
    font-size: 9px;
  }
  .site-footer {
    padding-bottom: 22px;
  }
}
@media (max-width: 370px) {
  .site-header .brand img {
    width: 128px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .button {
    font-size: 9px;
    gap: 9px;
    padding-inline: 10px;
  }
  .hero-actions .text-link {
    font-size: 9px;
    gap: 6px;
  }
  .hero {
    min-height: 900px;
  }
  .hero-layout {
    min-height: 815px;
  }
  .hero-art {
    height: 320px;
  }
  .hero-coin {
    width: 103%;
    left: -1.5%;
  }
  .hero-description {
    font-size: 11px;
  }
  .brand img {
    width: 131px;
  }
  .button-small {
    font-size: 10px;
    padding-inline: 11px;
  }
  .scene-label {
    font-size: 8px;
  }
  .example-label {
    font-size: 8px;
    padding-inline: 5px;
  }
  .story-panel h2 {
    font-size: 32px;
  }
  .scene-controls button {
    font-size: 10px;
    padding-inline: 3px;
  }
  .story-panel > p {
    font-size: 12px;
  }
  .card-display {
    height: 340px;
  }
  .footer-bottom > div {
    gap: 8px;
    font-size: 8px;
  }
}
/* A pinned scene must fit below the header; short windows use chapter buttons. */
@media (max-height: 700px) and (min-width: 601px), (max-height: 599px) {
  .journey {
    height: auto;
  }
  .scene-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
  }
  .scene-layout {
    height: auto;
  }
  .story-footnote {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-coin,
  .scene-landscape {
    will-change: auto;
  }
  .journey {
    height: auto;
  }
  .scene-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
  }
  .scene-layout {
    height: auto;
  }
  .story-footnote {
    display: none;
  }
  .hero-coin [data-tilt-surface],
  .card-image,
  .scene-card [data-tilt-surface] {
    transform: none !important;
  }
}
.scene-landscape {
  transform: translate(var(--landscape-x, 0px), var(--landscape-y, 0px));
}
.history-card .card-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.history-card .card-copy > span {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
}
.history-card .card-copy > strong {
  font-size: 13px;
  line-height: 1.4;
}
.history-card .card-copy > small {
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}
.story-transcript {
  margin-block: 24px;
  border: 2px solid var(--navy);
  border-radius: 14px;
  background: #fff3bd;
  box-shadow: 0 5px 0 #15345f18;
  font-size: 16px;
  overflow: hidden;
}
.story-transcript summary {
  list-style: none;
  cursor: pointer;
  min-height: 82px;
  padding: 20px 24px;
  font-size: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-weight: 700;
}
.story-transcript summary::-webkit-details-marker {
  display: none;
}
.story-transcript summary > span {
  font-size: 30px;
  transition: transform 0.2s;
}
.story-transcript[open] summary > span {
  transform: rotate(45deg);
}
.story-transcript ol {
  max-width: 790px;
  padding: 8px 24px 24px 48px;
  margin: 0;
  line-height: 1.75;
  color: #54667d;
}
.story-transcript li {
  padding: 7px 0 7px 6px;
}
.story-transcript strong {
  color: var(--navy);
}

.history-metrics {
  border-top: 1px solid var(--line);
}

.history-metrics .metric > strong {
  font-size: clamp(22px, 2.5vw, 34px);
}

.dashboard-data-note{font-size:13px;line-height:1.6;color:var(--muted);margin:12px 0 20px;max-width:70ch}

/* Keep mobile navigation available without crowding the primary links. */
.mobile-menu { display: none; }
.mobile-menu summary { list-style: none; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu-panel {
  position: fixed;
  top: var(--nav-height);
  bottom: auto;
  right: 0;
  height: calc(100vh - var(--nav-height));
  height: calc(100dvh - var(--nav-height));
  width: min(320px, 100vw);
  padding: 28px 24px;
  overflow-y: auto;
  background: var(--navy);
  color: var(--cream);
  box-shadow: -12px 0 32px #15345f30;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}
.mobile-menu-panel > span { color: var(--yellow); font-weight: 800; margin-bottom: 16px; }
.mobile-menu-panel a { min-height: 48px; padding: 12px; font-size: 18px; border-radius: 8px; }
.mobile-menu-panel a[href="/packs"] { background: var(--yellow); color: var(--navy); font-weight: 800; }
@media (max-width: 1050px) {
  .mobile-menu { display: block; }
  .mobile-menu summary { display: grid; place-items: center; width: 44px; height: 44px; }
}
/* Cycles/Holders/Transparency stay in the tablet-width dropdown; phones get the short list.
   Cycles may return to the phone menu later, so this hides the links rather than removing them. */
@media (max-width: 640px) {
  .mobile-menu-panel a[href="/cycles"],
  .mobile-menu-panel a[href="/holders"],
  .mobile-menu-panel a[href="/transparency"] {
    display: none;
  }
}
@media (max-width: 600px) {
  :root { --nav-height: 112px; }
  .site-header .nav { display: grid; grid-template-columns: 1fr 44px; gap: 8px; padding-block: 8px; }
  .site-header .brand { grid-column: 1; grid-row: 1; padding: 0; }
  .mobile-menu { grid-column: 2; grid-row: 1; }
  .site-header .nav-actions { grid-column: 1 / -1; width: 100%; flex-wrap: nowrap; gap: 8px; }
  .nav-actions .social-link { flex: 0 0 44px; width: 44px; height: 44px; }
  .nav-actions .nav-cycle { flex: 1; min-height: 44px; border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 12px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
  .nav-cycle-label { font-size: 11px; }
  .nav-cycle-value { font-size: 16px; }
  .nav-actions svg, .nav-actions img { width: 30px; height: 30px; }
  .story-stage { min-height: 320px; }
  .story-payout > .floating-label { bottom: 0; }
  .replay-button { min-width: 44px; width: 44px; }
  .story-transcript summary { font-size: 21px; min-height: 80px; padding: 18px; }
  .story-transcript ol { padding: 0 20px 20px 38px; }
}
/* Safari's browser chrome can leave a portrait phone less than 700 px tall. */
@media (max-width: 600px) and (min-height: 600px) and (max-height: 740px) {
  .scene-sticky { min-height: 0; }
  .scene-layout { padding-block: 42px 68px; }
  .story-panel h2 { font-size: 28px; min-height: 58px; }
  .story-panel > p { font-size: 12px; line-height: 1.5; min-height: 0; margin-top: 6px; }
  .story-stage { min-height: 280px; max-height: 280px; margin-top: 8px; }
  .payout-coin { width: 100px; top: 0; }
  .payout-lines { top: 77px; height: 67px; --coin-arrow-inset: 26px; }
  .holder-row { top: 154px; }
  .holder-row > div { padding-block: 8px; }
  .holder-row img { width: 30px; height: 30px; margin-bottom: 5px; }
  .scene-bottom { bottom: 12px; }
}
.chase-sparkles { z-index: 4; }
.chase-sparkles span { color: #fffefa; text-shadow: 0 0 4px #fff, 0 0 12px #fff3a0, 0 0 24px #ffc400; }
.chase-sparkles span:nth-child(9) { left: 36%; top: 24%; font-size: 13px; animation-delay: -1.7s; }
.chase-sparkles span:nth-child(10) { left: 56%; top: 37%; font-size: 19px; animation-delay: -0.2s; }
.chase-sparkles span:nth-child(11) { left: 43%; top: 56%; font-size: 12px; animation-delay: -2.4s; }
.chase-sparkles span:nth-child(12) { left: 61%; top: 73%; font-size: 22px; animation-delay: -1.2s; }
.chase-sparkles span:nth-child(13) { left: 29%; top: 68%; font-size: 17px; animation-delay: -0.6s; }
.chase-sparkles span:nth-child(14) { left: 73%; top: 54%; font-size: 25px; animation-delay: -2.8s; }
.chase-sparkles span:nth-child(15) { left: 39%; top: 89%; font-size: 16px; animation-delay: -1.9s; }
.chase-sparkles span:nth-child(16) { left: 68%; top: 9%; font-size: 20px; animation-delay: -0.9s; }
.card-lugia .foil { opacity: 0.75; animation: chase-foil 5s ease-in-out infinite; }
@keyframes chase-foil {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-sticky { min-height: 0; }
  .scene-layout { height: auto; }
  .story-stage { flex: none; height: 320px; }
}
@media (min-width: 601px) and (max-width: 1050px) {
  .story-stage { height: 410px; min-height: 410px; }
}

.collector-constellation { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.card-lugia .collector-star { animation: collector-twinkle 3.8s ease-in-out infinite; }
.collector-constellation .collector-star { right: auto; font-size: 34px; }
.collector-constellation .collector-star:nth-child(1) { left: 10%; top: 17%; animation-delay: -0.6s; }
.collector-constellation .collector-star:nth-child(2) { left: 8%; top: 49%; font-size: 42px; animation-delay: -2.1s; }
.collector-constellation .collector-star:nth-child(3) { left: 17%; top: 79%; font-size: 30px; animation-delay: -1.3s; }
.collector-constellation .collector-star:nth-child(4) { left: 83%; top: 37%; font-size: 38px; animation-delay: -2.9s; }
.collector-constellation .collector-star:nth-child(5) { left: 81%; top: 70%; animation-delay: -1.8s; }
.collector-constellation .collector-star:nth-child(6) { left: 64%; top: 87%; font-size: 28px; animation-delay: -3.4s; }
@keyframes collector-twinkle {
  0%, 100% { opacity: 0.25; transform: rotate(-10deg) scale(0.65); }
  50% { opacity: 1; transform: rotate(18deg) scale(1.15); }
}

.collection-pack-link { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; text-align: center; }
.collection-pack-link > p { margin: 0; font-size: 22px; font-weight: 800; }
.collection-pack-link .button { font-size: 17px; }

.card-valuation .card-buyback{font-size:13px;font-weight:700;line-height:1.5;color:var(--navy);margin-top:8px}
.card-valuation .card-buyback-note{font-size:11px;line-height:1.5;color:var(--muted)}
.card-lugia .card-valuation .card-buyback{font-size:15px;color:var(--yellow)}
.card-lugia .card-valuation .card-buyback-note{font-size:12px;color:#d3e0ee}

.hero-copy{--hero-text-gap:64px}
.hero h1.shared-cycle-title{margin-top:0}
.holder-share-callout{margin-top:var(--hero-text-gap);padding-left:16px;border-left:4px solid var(--yellow);max-width:460px}
.holder-share-callout strong{display:block;font-size:25px;line-height:1.25;font-weight:800;color:var(--navy)}
.collection .collector-headline{color:var(--yellow);-webkit-text-stroke:0.16em #1b72bb;paint-order:stroke fill;text-shadow:0.045em 0.065em 0 #153e7e;line-height:1.1}
.faq-list p a{text-decoration:underline;font-weight:700}
@media(max-width:600px){.hero-copy{--hero-text-gap:40px}}

.hero h1 .hero-on { color: var(--navy); -webkit-text-stroke: 0; text-shadow: none; }
.journey-intro .adventure-heading { color: var(--yellow); -webkit-text-stroke: .11em #1b72bb; paint-order: stroke fill; text-shadow: .045em .065em 0 #153e7e; }

/* Two-line heading with the supplied transparent Robinhood Chain artwork. */
.hero h1.shared-cycle-title { font-size: clamp(28px, 4.1vw, 59px); line-height: 1.12; }
.hero h1 .cycle-line { display: block; white-space: nowrap; }
.hero h1 .plain-heading { color: var(--navy); -webkit-text-stroke: 0; text-shadow: none; }
.hero h1 .robinhood-name { display: flex; align-items: baseline; white-space: pre; color: var(--yellow); }
.hero .hero-copy .hero-description { position: relative; padding-left: 25px; font-size: 16px; margin-top: var(--hero-text-gap); }
.hero-description .description-star { position: absolute; left: 0; top: .06em; font-size: 19px; }

@media (orientation: landscape) and (max-height: 600px) and (max-width: 1100px) {
  .hero-art { height: min(32vw, calc(100svh - 180px)); width: min(32vw, calc(100svh - 180px)); justify-self: center; align-self: start; margin-top: 20px; }
  .hero-art .hero-coin { width: 88%; max-width: none; height: auto; left: 6%; top: 6%; }
  .hero-art .coin-orbit { inset: 4%; }
  .hero-art .coin-shadow { width: 65%; left: 17.5%; bottom: 0; }
}

.hero h1 .cycle-line .hero-on { display: inline; font-size: inherit; margin: 0; }
.hero h1 .robinhood-name { margin-top: .17em; }
@media (max-width: 600px) { .hero h1.shared-cycle-title { font-size: clamp(23px, 7.4vw, 41px); } }

.hero h1 img.robinhood-wordmark { display: block; width: 100%; max-width: 100%; height: auto; filter: none; }
/* Keep the two mobile header groups balanced around the viewport centre. */
@media(max-width:600px){
  .site-header .nav{grid-template-columns:44px minmax(0,1fr) 44px}
  .site-header .brand{grid-column:2;justify-self:center}
  .mobile-menu{grid-column:3}
  .site-header .nav-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;position:relative}
  .nav-actions::after{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:var(--line);pointer-events:none}
  .nav-actions .nav-cycle{grid-column:1 / 4;grid-row:1;border:0;padding:0;margin:0;align-items:center;text-align:center;justify-self:stretch}
  .nav-actions .social-link{grid-row:1;justify-self:center}
  .nav-actions .social-link:nth-child(1){grid-column:4}
  .nav-actions .social-link:nth-child(2){grid-column:5}
  .nav-actions .social-link:nth-child(3){grid-column:6}
}
.collectible-card .card-image{transform:none}
.collectible-card:not(.card-lugia){border:2px solid var(--navy);border-radius:18px;overflow:hidden;background:var(--cream);box-shadow:0 5px 0 #15345f18}
.collectible-card:not(.card-lugia) .card-display{border:0;border-bottom:1px solid #15345f30;border-radius:0}
.collectible-card:not(.card-lugia) figcaption{padding:20px 18px}

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* Three facts under every latest pull: pack price, sale price, Solana transactions. */
.history-card .pull-facts { display:grid; grid-template-columns:auto 1fr; gap:3px 10px; margin:6px 0 0; font-size:11px; line-height:1.5; }
.history-card .pull-facts dt { font-weight:700; color:var(--navy); }
.history-card .pull-facts dd { margin:0; color:var(--muted); }
.history-card .pull-facts a { color:var(--blue); font-weight:700; text-decoration:underline; }

/* Skip link stays invisible until focused. */
.skip-link:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0;margin:-1px}

/* Dashboard, 2026-09-15: a centred console. A yellow band with three lines (the pot big and bold,
   the next pack, the latest payout in dollars with ETH small), then four plain lines (cycles,
   packs, total paid, average), the tracker and a muted footer line. The countdown lives in the
   top strip and turns red and blinks in its last minute. */
#machine .section-heading { justify-content: center; text-align: center; }
#machine .section-heading > div { margin-inline: auto; }
.console-top { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; min-height: 0; padding: 18px 24px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.console-mark { width: 36px; height: 36px; object-fit: contain; }
.console-next { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.console-next-label { font-size: 16px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.console-next > strong { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.stat-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff6cf; border-bottom: 1px solid var(--line); }
.stat-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.stat-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 22px 16px 20px; text-align: center; border-right: 1px solid var(--line); min-width: 0; }
.stat-row:last-child { border-right: 0; }
.stat-row .metric-label { display: block; font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.stat-row strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-band .stat-row strong { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; margin-top: 4px; }
.stat-row .metric-sub { display: block; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.stat-note { display: none; }
.stat-note-visible { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.cycle-track { justify-items: stretch; }
.cycle-step { text-align: center; }
.cycle-step:not(:last-child)::before { left: calc(50% + 12px); right: calc(-50% - 2px); }
@media (max-width: 1100px) { .cycle-step:not(:last-child)::before { left: calc(50% + 12px); right: calc(-50% + 4px); } }
.step-dot { margin-inline: auto; }
.console-bottom { justify-content: center; }
.console-bottom { font-size: 12px; font-weight: 700; color: var(--navy); }
.console-bottom strong { font-variant-numeric: tabular-nums; }
.cycle-step strong { font-size: 12px; font-weight: 800; }
[data-urgent="1"] { color: #d8202f; text-shadow: 0 0 10px #ff5a6a99; animation: countdown-blink 1s steps(2, start) infinite; }
@keyframes countdown-blink { to { opacity: 0.35; } }
.recent-heading { flex-direction: column; align-items: center; gap: 10px; }
.pulls-nav { display: flex; align-items: center; gap: 10px; }
.pulls-nav span { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pulls-nav button { min-height: 36px; padding: 0 14px; border: 2px solid var(--navy); border-radius: 8px; background: var(--yellow); font: inherit; font-size: 12px; font-weight: 800; color: var(--navy); box-shadow: 2px 2px 0 var(--navy); cursor: pointer; }
.pulls-nav button:disabled { background: var(--paper); color: var(--muted); border-color: var(--line); box-shadow: none; cursor: default; }
.latest-cards:has(article) { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.latest-cards article { flex: 0 1 226px; text-align: center; }
.latest-cards article img { max-height: 150px; }
.history-card .card-copy { align-items: center; }
.history-card .pull-facts { text-align: left; }
@media (max-width: 800px) {
  .stat-band { grid-template-columns: minmax(0, 1fr); }
  .stat-band .stat-row { border-right: 0; border-bottom: 1px solid #15345f22; }
  .stat-band .stat-row:last-child { border-bottom: 0; }
  .stat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-list .stat-row:nth-child(2) { border-right: 0; }
  .stat-list .stat-row:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat-row strong { font-size: 20px; }
  .stat-band .stat-row strong { font-size: clamp(30px, 9vw, 40px); }
  .latest-cards article { flex-basis: calc(50% - 6px); }
  .console-cycle { display: flex; }
}
/* Phones: the pulls rail becomes a two-up swipeable strip instead of wrapping to new rows. */
@media (max-width: 640px) {
  .latest-cards:has(article) {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scroll-padding-inline: 16px;
  }
  .latest-cards article {
    flex: 0 0 calc(50% - 6px);
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-urgent="1"] { animation: none; }
}

/* Section headings centred: the cards, the questions above their list, the wallets. */
#cards .section-heading { justify-content: center; text-align: center; }
#cards .section-heading > div { margin-inline: auto; }
.faq { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
section#faq > div.faq-intro { text-align: center; align-self: center; margin-inline: auto; }
.faq-list { width: 100%; }
.wallets-intro { margin-inline: auto; text-align: center; }
.wallet-list li { text-align: center; }
@media (max-width: 860px) { .wallet-list li { justify-items: center; } }

/* The header is pinned to the viewport; the body keeps its height free above the content.
   On touch devices the page scrolls inside a container under the header, so the rubber-band
   bounce at the top moves the content and never the header. */
.site-header { position: fixed; top: 0; left: 0; right: 0; }
body { padding-top: var(--nav-height); }
.nav-actions .nav-clock { width: 12px; height: 12px; }
@media (hover: none) and (pointer: coarse) {
  html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
  body { position: fixed; inset: 0; width: 100%; padding-top: 0; }
  .page-scroll { position: fixed; top: var(--nav-height); right: 0; bottom: 0; left: 0; overflow: hidden auto; -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; scroll-behavior: smooth; scroll-padding-top: 20px; }
  .scene-sticky { top: 0; }
}

/* Header clock: a small dial that fills a quarter per second and starts over. */
.nav-clock { width: 12px; height: 12px; margin-left: 3px; vertical-align: -1px; }
.nav-clock .q { fill: currentColor; animation: clock-quarter 4s steps(1, end) infinite; }
.nav-clock .q1 { animation: none; }
.nav-clock .q2 { animation-name: clock-quarter-2; }
.nav-clock .q3 { animation-name: clock-quarter-3; }
.nav-clock .q4 { animation-name: clock-quarter-4; }
@keyframes clock-quarter-2 { 0% { opacity: 0; } 25%, 100% { opacity: 1; } }
@keyframes clock-quarter-3 { 0% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes clock-quarter-4 { 0% { opacity: 0; } 75%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nav-clock .q { animation: none; } .nav-clock .q2, .nav-clock .q3, .nav-clock .q4 { opacity: 0; } }

/* Pulls pager: two arrow buttons around the range. */
.pulls-nav button { width: 40px; min-height: 40px; padding: 0; display: grid; place-items: center; }

/* Tracker on narrow screens: the connector runs along the row and then drops like a Z to the
   first step of the next row, so the line never runs off the card edge. */
.cycle-step::after { display: none; }
@media (max-width: 800px) {
  .cycle-track { grid-auto-rows: 1fr; row-gap: 20px; }
  .cycle-step strong, .cycle-step .s { position: relative; z-index: 1; display: inline-block; max-width: 100%; padding-inline: 3px; background: var(--paper); }
  .cycle-step:nth-child(4)::after {
    content: ""; display: block; position: absolute; z-index: 0; pointer-events: none;
    top: 11px; height: calc(100% + 20px); left: calc(-350% - 24px); width: calc(400% + 24px);
    background: linear-gradient(to bottom right, transparent calc(50% - 0.75px), var(--line) calc(50% - 0.75px), var(--line) calc(50% + 0.75px), transparent calc(50% + 0.75px));
  }
}
@media (max-width: 600px) {
  .cycle-track { row-gap: 26px; column-gap: 10px; }
  .cycle-step:nth-child(4)::after { display: none; }
  .cycle-step:nth-child(even):not(:last-child)::before { display: none; }
  .cycle-step:nth-child(even):not(:last-child)::after {
    content: ""; display: block; position: absolute; z-index: 0; pointer-events: none;
    top: 11px; height: calc(100% + 26px); left: calc(-50% - 10px); width: calc(100% + 10px);
    background: linear-gradient(to bottom right, transparent calc(50% - 0.75px), var(--line) calc(50% - 0.75px), var(--line) calc(50% + 0.75px), transparent calc(50% + 0.75px));
  }
}

.history-card .pull-image { width:100%; height:250px; object-fit:contain; }
.history-card .pull-image-placeholder { min-height:250px; display:grid; place-items:center; color:var(--muted); font-size:12px; }
.history-card .pull-image[hidden], .history-card .pull-image-placeholder[hidden] { display:none; }


/* Temporary results view. Removing the body's view attribute restores the live dashboard. */
body[data-dashboard-view="history"] .dashboard-live,
body[data-dashboard-view="history"] .nav-cycle,
body:not([data-dashboard-view="history"]) .dashboard-history { display: none; }
.history-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.history-stats .stat-row { padding: 32px 18px; gap: 12px; }
.history-stats .history-money { background: #fff6cf; }
.history-stats .stat-row strong { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; }
@media (max-width: 800px) {
  .history-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-stats .stat-row { padding: 26px 12px; }
  .history-stats .stat-row:nth-child(2) { border-right: 0; }
  .history-stats .stat-row:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .history-stats .stat-row strong { font-size: clamp(25px, 6.5vw, 42px); }
  .history-stats .metric-label { font-size: 12px; }
}
@media (max-width: 600px) {
  body[data-dashboard-view="history"] .nav-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body[data-dashboard-view="history"] .nav-actions::after { display: none; }
  body[data-dashboard-view="history"] .nav-actions .social-link:nth-child(1) { grid-column: 1; }
  body[data-dashboard-view="history"] .nav-actions .social-link:nth-child(2) { grid-column: 2; }
  body[data-dashboard-view="history"] .nav-actions .social-link:nth-child(3) { grid-column: 3; }
}
