:root {
  --plum: #470235;
  --plum-deep: #220519;
  --plum-soft: #64134d;
  --gold: #ffd66b;
  --gold-deep: #b78320;
  --cream: #f7e7ce;
  --paper: #fff8ea;
  --mist: #f8f4fb;
  --ink: #20142c;
  --muted: #6f6478;
  --forest: #153d36;
  --rose: #8d315d;
  --line: rgba(71, 2, 53, 0.16);
  --header-height: 76px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

html {
  background: var(--plum-deep);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  background: var(--plum-deep);
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--header-height) + var(--safe-top));
  padding: var(--safe-top) max(28px, env(safe-area-inset-right)) 0 max(28px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) auto minmax(210px, 0.8fr);
  align-items: center;
  gap: 24px;
  background: rgba(26, 4, 20, 0.78);
  border-bottom: 1px solid rgba(255, 214, 107, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand-button,
.desktop-nav button,
.menu-button,
.chapter-rail button,
.next-chapter,
.menu-sheet button,
.dialog-header button,
.footer-links button,
.release-close {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand-button {
  width: max-content;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
}

.brand-button img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-button span {
  display: grid;
  gap: 1px;
}

.brand-button strong {
  color: #fff8e9;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.05;
}

.brand-button small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.desktop-nav button {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 248, 233, 0.72);
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}

.desktop-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.desktop-nav button:hover,
.desktop-nav button:focus-visible {
  color: #fff8e9;
}

.desktop-nav button:hover::after,
.desktop-nav button:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.button {
  min-height: 46px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, scale 160ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.is-pressing,
.text-link.is-pressing,
.next-chapter.is-pressing,
.chapter-controls button.is-pressing,
.chapter-rail button.is-pressing,
.menu-sheet > button.is-pressing {
  scale: 0.965;
}

.tap-release {
  animation: tap-release 360ms cubic-bezier(0.2, 0.8, 0.25, 1);
}

@keyframes tap-release {
  0% { scale: 0.965; }
  55% { scale: 1.018; }
  100% { scale: 1; }
}

.button-gold {
  color: #2b0a20;
  background: var(--gold);
  border-color: var(--gold);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: #ffe39a;
  border-color: #ffe39a;
}

.button-outline {
  min-height: 42px;
  color: var(--cream);
  border-color: rgba(255, 214, 107, 0.54);
}

.button-products {
  min-width: 112px;
  color: var(--plum-deep);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(255, 214, 107, 0.14);
}

.button-products:hover,
.button-products:focus-visible {
  color: var(--plum-deep);
  background: #ffe39a;
  border-color: #ffe39a;
  box-shadow: 0 12px 30px rgba(255, 214, 107, 0.22);
}

.button-outline:hover,
.button-outline:focus-visible,
.button-glass:hover,
.button-glass:focus-visible {
  color: var(--plum-deep);
  background: var(--cream);
  border-color: var(--cream);
}

.button-glass {
  color: var(--cream);
  background: rgba(30, 6, 24, 0.46);
  border-color: rgba(255, 214, 107, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button-dark {
  color: var(--cream);
  background: var(--plum);
  border-color: var(--plum);
}

.button-outline-dark {
  color: var(--plum);
  background: transparent;
  border-color: rgba(71, 2, 53, 0.46);
}

.button-outline-dark:hover,
.button-outline-dark:focus-visible {
  color: var(--cream);
  background: var(--plum);
}

.menu-button {
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 214, 107, 0.42);
  border-radius: 4px;
}

.menu-button span {
  width: 100%;
  height: 2px;
  background: var(--cream);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.story {
  position: fixed;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.story::-webkit-scrollbar {
  display: none;
}

.chapter {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--header-height) + var(--safe-top) + 42px) 7vw calc(76px + var(--safe-bottom));
  display: grid;
  align-items: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.chapter-layout {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  min-height: min(720px, calc(100svh - 190px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.84fr);
  gap: 7vw;
  align-items: center;
  perspective: 1500px;
}

.chapter-copy {
  max-width: 650px;
}

.chapter-number,
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.chapter h2,
.hero-content h1,
.download-content h2,
.dialog-header h2,
.about-brand-panel h3 {
  margin: 0;
  font-weight: 900;
  line-height: 1.02;
}

.chapter h2 {
  max-width: 780px;
  font-size: 54px;
}

.chapter-copy > p:not(.chapter-number),
.about-content > p:not(.chapter-number),
.connect-panel > p:not(.chapter-number) {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.62;
}

.detail-copy {
  opacity: 0.76;
  font-size: 14px !important;
}

.reveal {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

.has-js .reveal {
  opacity: 0;
  translate: 0 38px;
  scale: 0.975;
  transition: opacity 680ms ease, translate 680ms cubic-bezier(0.2, 0.75, 0.25, 1), scale 680ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.has-js .chapter.is-active .reveal {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

.has-js .chapter.is-active .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.hero-scene,
.hero-environment,
.hero-environment img,
.download-art,
.download-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-environment img,
.download-art img {
  object-fit: cover;
  object-position: center;
}

.hero-scene {
  z-index: 0;
  inset: -3.5%;
  overflow: hidden;
  perspective: 1700px;
  transform-style: preserve-3d;
}

.depth-plane {
  --depth-x: 0px;
  --depth-y: 0px;
  will-change: transform;
  transition: transform 640ms cubic-bezier(0.2, 0.78, 0.22, 1);
}

.hero-environment {
  transform: translate3d(var(--depth-x), var(--depth-y), -70px) scale(1.075);
}

.hero-tree-anchor {
  position: absolute;
  z-index: 3;
  top: calc(var(--header-height) + var(--safe-top) + 18px);
  right: 8vw;
  bottom: -2.5svh;
  width: min(43vw, 570px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  transform-style: preserve-3d;
}

.hero-tree-rig {
  --tree-rx: 0deg;
  --tree-ry: 0deg;
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  pointer-events: auto;
  cursor: pointer;
  outline: none;
  transform: translate3d(var(--depth-x), var(--depth-y), 80px) rotateX(var(--tree-rx)) rotateY(var(--tree-ry));
  transform-origin: 50% 76%;
  transform-style: preserve-3d;
}

.hero-tree-rig:focus-visible {
  filter: drop-shadow(0 0 22px rgba(255, 214, 107, 0.58));
}

.hero-tree-rig > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transform-origin: 50% 76%;
}

.hero-tree-glow {
  z-index: 1;
  opacity: 0.72;
  transform: translateZ(-18px) scale(1.035);
  animation: tree-glow 5.8s ease-in-out infinite;
}

.hero-tree-artwork {
  z-index: 2;
  filter: drop-shadow(0 32px 34px rgba(6, 0, 8, 0.56));
  animation: tree-breathe 7.6s ease-in-out infinite;
}

.hero-tree-roots {
  z-index: 3;
  opacity: 0.88;
  transform: translateZ(26px);
  animation: roots-glow 4.8s ease-in-out infinite;
}

.hero-tree-rig.is-awake {
  animation: tree-awaken 820ms cubic-bezier(0.18, 0.78, 0.22, 1);
}

@keyframes tree-glow {
  0%, 100% { opacity: 0.56; filter: brightness(0.96); }
  50% { opacity: 0.84; filter: brightness(1.16); }
}

@keyframes tree-breathe {
  0%, 100% { scale: 1; }
  50% { scale: 1.012; }
}

@keyframes roots-glow {
  0%, 100% { opacity: 0.7; filter: brightness(0.96); }
  50% { opacity: 1; filter: brightness(1.22); }
}

@keyframes tree-awaken {
  0%, 100% { scale: 1; }
  42% { scale: 1.028; }
  68% { scale: 0.994; }
}

.hero-dust {
  position: absolute;
  z-index: 5;
  inset: 28% 4% 1% 42%;
  pointer-events: none;
  transform: translate3d(var(--depth-x), var(--depth-y), 130px);
}

.hero-dust span,
.landing-aura-dust span {
  position: absolute;
  width: var(--size);
  height: var(--size);
  background: var(--gold);
  border-radius: 50%;
  opacity: var(--opacity);
  box-shadow: 0 0 7px rgba(255, 214, 107, 0.66);
  animation: dust-drift var(--duration) ease-in-out var(--delay) infinite alternate;
  will-change: transform, opacity;
}

@keyframes dust-drift {
  0% { transform: translate3d(0, 0, 0) scale(0.82); opacity: calc(var(--opacity) * 0.72); }
  48% { opacity: var(--opacity); }
  100% { transform: translate3d(var(--drift-x), var(--drift-y), 0) scale(1.08); opacity: calc(var(--opacity) * 0.8); }
}

.has-js .chapter:not(.is-active) .hero-tree-glow,
.has-js .chapter:not(.is-active) .hero-tree-artwork,
.has-js .chapter:not(.is-active) .hero-tree-roots,
.has-js .chapter:not(.is-active) .hero-dust span,
.has-js .chapter:not(.is-active) .phone-shell,
.has-js .chapter:not(.is-active) .app-preview,
.has-js .chapter:not(.is-active) .aurora-portrait img,
.has-js .chapter:not(.is-active) .landing-aura-dust span,
.is-page-hidden .chapter * {
  animation-play-state: paused !important;
}

.hero-shade,
.download-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(11, 3, 11, 0.34);
  pointer-events: none;
}

.chapter-hero {
  align-items: center;
  padding-left: max(7vw, 36px);
}

.hero-content {
  position: relative;
  z-index: 6;
  width: min(620px, 48vw);
  margin-top: 2vh;
}

[data-tilt] {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 520ms cubic-bezier(0.2, 0.78, 0.22, 1), box-shadow 300ms ease;
  touch-action: pan-y;
}

[data-tilt].is-tilting {
  transition-duration: 90ms;
}

.hero-content h1 {
  color: #fff8e9;
  font-size: 82px;
}

.hero-line {
  margin: 20px 0 0;
  color: #fff8e9;
  font-size: 27px;
  font-weight: 780;
  line-height: 1.34;
}

.hero-copy {
  width: min(520px, 100%);
  margin: 15px 0 0;
  color: rgba(255, 248, 233, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

.button-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.next-chapter {
  position: absolute;
  z-index: 10;
  left: 7vw;
  bottom: calc(18px + var(--safe-bottom));
  min-width: 260px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 36px auto 24px;
  align-items: center;
  gap: 10px;
  color: rgba(255, 248, 233, 0.7);
  text-align: left;
  border-top: 1px solid rgba(255, 214, 107, 0.38);
}

.next-chapter span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.next-chapter b {
  font-size: 13px;
}

.next-chapter i {
  color: var(--gold);
  font-size: 18px;
  font-style: normal;
  transition: transform 180ms ease;
}

.next-chapter:hover i,
.next-chapter:focus-visible i {
  transform: translateY(4px);
}

.next-dark {
  color: rgba(32, 20, 44, 0.72);
  border-top-color: rgba(71, 2, 53, 0.26);
}

.next-dark span,
.next-dark i {
  color: var(--plum);
}

.chapter-light {
  color: var(--ink);
  background: var(--paper);
}

.catalogue-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.7fr);
}

.chapter-light .chapter-number,
.chapter-mist .chapter-number,
.chapter-about .chapter-number,
.chapter-connect .chapter-number {
  color: var(--plum);
}

.category-ribbon {
  max-width: 680px;
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-ribbon span,
.starter-row span,
.studio-tabs button {
  border-radius: 4px;
  font-weight: 730;
}

.category-ribbon span {
  padding: 8px 11px;
  color: var(--plum);
  background: rgba(71, 2, 53, 0.065);
  border: 1px solid rgba(71, 2, 53, 0.13);
  font-size: 12px;
}

.social-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.8fr);
}

.social-ribbon {
  max-width: 700px;
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-ribbon span {
  position: relative;
  padding: 8px 11px 8px 24px;
  color: var(--plum);
  background: rgba(71, 2, 53, 0.06);
  border: 1px solid rgba(71, 2, 53, 0.14);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 760;
}

.social-ribbon span::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-deep);
  box-shadow: 0 0 14px rgba(183, 131, 32, 0.52);
  transform: translateY(-50%);
}

.gift-circle-scene {
  position: relative;
  width: min(100%, 590px);
  min-height: 590px;
  margin-inline: auto;
  padding: 42px 34px 50px;
  display: grid;
  place-items: center;
  isolation: isolate;
  perspective: 1200px;
}

.gift-circle-scene::before {
  content: "";
  position: absolute;
  inset: 5% 0 1%;
  z-index: -2;
  border: 1px solid rgba(71, 2, 53, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(rgba(71, 2, 53, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 2, 53, 0.045) 1px, transparent 1px),
    rgba(255, 252, 245, 0.56);
  background-size: 38px 38px;
  box-shadow: 0 30px 80px rgba(42, 7, 31, 0.11);
}

.gift-circle-scene::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 2%;
  height: 42px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(30, 5, 24, 0.16);
  filter: blur(18px);
}

.circle-depth-lines {
  position: absolute;
  inset: 13% 4% 9%;
  z-index: -1;
  overflow: hidden;
  border-radius: 8px;
}

.circle-depth-lines::before,
.circle-depth-lines::after {
  content: "";
  position: absolute;
  width: 68%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 131, 32, 0.58), transparent);
  animation: circle-line-travel 7s ease-in-out infinite;
}

.circle-depth-lines::before {
  top: 22%;
  left: -24%;
}

.circle-depth-lines::after {
  right: -26%;
  bottom: 20%;
  animation-delay: -3.5s;
}

@keyframes circle-line-travel {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.28; }
  50% { transform: translate3d(78%, 0, 0); opacity: 0.82; }
}

.circle-console {
  position: relative;
  width: min(100%, 460px);
  padding: 20px;
  color: var(--cream);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.075), transparent 26%),
    #170912;
  border: 1px solid rgba(255, 214, 107, 0.48);
  border-radius: 8px;
  box-shadow:
    0 30px 68px rgba(25, 5, 20, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotateX(1deg) rotateY(-2deg);
  transform-origin: center;
  animation: circle-console-float 8s ease-in-out infinite;
}

@keyframes circle-console-float {
  0%, 100% { transform: rotateX(1deg) rotateY(-2deg) translate3d(0, 0, 0); }
  50% { transform: rotateX(0deg) rotateY(1deg) translate3d(0, -7px, 0); }
}

.circle-console-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 214, 107, 0.18);
}

.circle-avatar-stack {
  display: flex;
  align-items: center;
  padding-right: 16px;
}

.circle-avatar-stack img,
.circle-avatar-stack > span {
  width: 38px;
  height: 38px;
  margin-right: -13px;
  display: grid;
  place-items: center;
  border: 2px solid #170912;
  border-radius: 50%;
  color: var(--cream);
  background: #7c1e51;
  font-size: 11px;
  font-weight: 900;
}

.circle-avatar-stack img {
  object-fit: cover;
  background: #25091f;
}

.circle-avatar-stack > span:last-child {
  background: #284c45;
}

.circle-title {
  min-width: 0;
}

.circle-title small,
.circle-product-share small {
  display: block;
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
}

.circle-title b {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--cream);
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.circle-presence {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 248, 233, 0.66);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.circle-presence i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4bd493;
  box-shadow: 0 0 0 0 rgba(75, 212, 147, 0.42);
  animation: circle-presence-pulse 2.4s ease-out infinite;
}

@keyframes circle-presence-pulse {
  0% { box-shadow: 0 0 0 0 rgba(75, 212, 147, 0.42); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(75, 212, 147, 0); }
}

.circle-conversation {
  padding: 17px 0 15px;
  display: grid;
  gap: 12px;
}

.circle-product-share {
  min-width: 0;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 248, 233, 0.07);
  animation: circle-content-in 8s ease-in-out infinite;
}

.circle-product-share img {
  width: 68px;
  height: 68px;
  border-radius: 4px;
  object-fit: cover;
}

.circle-product-share div {
  min-width: 0;
}

.circle-product-share b,
.circle-product-share span {
  display: block;
}

.circle-product-share b {
  margin-top: 4px;
  overflow: hidden;
  color: var(--cream);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.circle-product-share span:not(.circle-liked) {
  margin-top: 5px;
  color: rgba(255, 248, 233, 0.6);
  font-size: 10px;
}

.circle-product-share .circle-liked {
  color: #ff8aac;
  font-size: 18px;
  animation: circle-heart 3.6s ease-in-out infinite;
}

@keyframes circle-heart {
  0%, 78%, 100% { transform: scale(1); }
  84% { transform: scale(1.18); }
  90% { transform: scale(0.96); }
}

.circle-message {
  width: min(82%, 310px);
  padding: 11px 13px;
  border: 1px solid rgba(255, 214, 107, 0.2);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.circle-message p,
.circle-aurora p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.circle-message-friend {
  background: #292130;
  animation: circle-message-left 8s ease-in-out infinite;
}

.circle-sender {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
}

.circle-message-you {
  justify-self: end;
  color: #2a0a20;
  background: #ffe08c;
  border-color: #ffe08c;
  animation: circle-message-right 8s ease-in-out infinite;
}

.circle-message-you small {
  display: block;
  margin-top: 5px;
  color: rgba(42, 10, 32, 0.58);
  font-size: 8px;
  text-align: right;
}

.circle-aurora {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 214, 107, 0.24);
  border-radius: 8px;
  background: #211426;
  animation: circle-aurora-arrive 8s ease-in-out infinite;
}

.circle-aurora img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(255, 214, 107, 0.2);
}

.circle-aurora b {
  color: var(--gold);
}

@keyframes circle-content-in {
  0%, 8% { transform: translate3d(-8px, 0, 0); opacity: 0.72; }
  17%, 100% { transform: translate3d(0, 0, 0); opacity: 1; }
}

@keyframes circle-message-left {
  0%, 18% { transform: translate3d(-8px, 0, 0); opacity: 0.72; }
  28%, 100% { transform: translate3d(0, 0, 0); opacity: 1; }
}

@keyframes circle-message-right {
  0%, 31% { transform: translate3d(8px, 0, 0); opacity: 0.72; }
  41%, 100% { transform: translate3d(0, 0, 0); opacity: 1; }
}

@keyframes circle-aurora-arrive {
  0%, 46% { transform: translate3d(0, 7px, 0); opacity: 0.72; }
  57%, 100% { transform: translate3d(0, 0, 0); opacity: 1; }
}

.circle-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 214, 107, 0.16);
}

.circle-actions a {
  min-width: 0;
  padding: 9px 6px;
  overflow: hidden;
  color: var(--gold);
  border: 1px solid rgba(255, 214, 107, 0.3);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.circle-actions a:hover,
.circle-actions a:focus-visible {
  color: #2a0a20;
  background: var(--gold);
  transform: translateY(-2px);
}

.circle-scene-caption {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(71, 2, 53, 0.62);
  font-size: 8px;
  font-weight: 900;
}

.circle-scene-caption i {
  height: 1px;
  flex: 1;
  background: rgba(183, 131, 32, 0.5);
}

.text-link {
  width: max-content;
  margin-top: 28px;
  padding: 10px 0 7px;
  display: inline-flex;
  gap: 12px;
  color: var(--plum);
  font-size: 14px;
  font-weight: 850;
  border-bottom: 2px solid var(--gold-deep);
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(5px);
}

.text-link-gold {
  color: var(--gold);
  border-bottom-color: rgba(255, 214, 107, 0.52);
}

.phone-stage {
  position: relative;
  height: min(720px, 72svh);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-shell {
  position: relative;
  width: min(326px, 78%);
  height: 100%;
  padding: 10px;
  overflow: hidden;
  background: #130c19;
  border: 1px solid rgba(71, 2, 53, 0.24);
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(41, 15, 34, 0.22);
  animation: object-float 7.2s ease-in-out infinite;
}

.phone-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 22px;
  transform: translateZ(18px) scale(1.015);
}

@keyframes object-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 50%;
  width: 62px;
  height: 5px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 99px;
  transform: translateX(-50%);
}

.stage-caption {
  position: absolute;
  right: -42px;
  bottom: 64px;
  width: 190px;
  margin: 0;
  padding: 13px 15px;
  color: var(--cream);
  background: var(--forest);
  border: 1px solid rgba(255, 214, 107, 0.45);
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(21, 61, 54, 0.2);
}

.stage-caption b,
.stage-caption span {
  display: block;
}

.stage-caption b {
  color: var(--gold);
  font-size: 10px;
}

.stage-caption span {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.35;
}

.chapter-plum {
  color: var(--cream);
  background: var(--plum);
}

.feature-brand {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-brand img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.feature-brand span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.studio-tabs {
  margin-top: 28px;
  padding: 5px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  color: var(--plum);
  background: var(--mist);
  border-radius: 6px;
  scrollbar-width: none;
}

.studio-tabs::-webkit-scrollbar {
  display: none;
}

.studio-tabs button {
  flex: 0 0 auto;
  padding: 9px 11px;
  color: var(--plum);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, scale 160ms ease;
}

.studio-tabs .is-selected {
  color: var(--gold);
  background: var(--plum);
  animation: tab-settle 320ms cubic-bezier(0.2, 0.8, 0.25, 1);
}

@keyframes tab-settle {
  0% { scale: 0.94; }
  60% { scale: 1.025; }
  100% { scale: 1; }
}

#studio-detail {
  min-height: 46px;
  transition: opacity 150ms ease, translate 180ms ease;
}

#studio-detail.is-updating {
  opacity: 0;
  translate: 0 5px;
}

.app-preview {
  width: min(390px, 100%);
  height: min(700px, 72svh);
  margin-left: auto;
  padding: 8px;
  overflow: hidden;
  background: #130c19;
  border: 1px solid rgba(255, 214, 107, 0.44);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(12, 0, 9, 0.4);
  animation: object-float 8.4s ease-in-out -1.8s infinite;
}

.app-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  transform: translateZ(18px) scale(1.012);
}

.chapter-mist {
  color: var(--ink);
  background: var(--mist);
}

.memories-layout {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
}

.memory-stage {
  position: relative;
  width: min(570px, 100%);
  height: min(660px, 68svh);
  cursor: pointer;
  outline: none;
  transform-origin: center;
}

.memory-stage:focus-visible {
  box-shadow: 0 0 0 3px rgba(183, 131, 32, 0.42);
}

.polaroid {
  position: absolute;
  width: min(290px, 54%);
  margin: 0;
  padding: 10px 10px 38px;
  background: #fff;
  border: 1px solid #ded7d8;
  box-shadow: 0 28px 70px rgba(46, 25, 44, 0.18);
  transition: transform 620ms cubic-bezier(0.2, 0.78, 0.22, 1), box-shadow 620ms ease;
}

.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polaroid-one {
  top: 4%;
  left: 4%;
  transform: rotate(-5deg);
}

.polaroid-two {
  right: 4%;
  bottom: 4%;
  transform: rotate(5deg);
}

.memory-stage.is-open .polaroid-one {
  transform: translate3d(-28px, -8px, 46px) rotate(-10deg);
  box-shadow: 0 36px 88px rgba(46, 25, 44, 0.24);
}

.memory-stage.is-open .polaroid-two {
  transform: translate3d(28px, 8px, 64px) rotate(10deg);
  box-shadow: 0 38px 92px rgba(46, 25, 44, 0.26);
}

.memory-seal {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--gold);
  background: var(--plum);
  border: 2px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 40px rgba(71, 2, 53, 0.26);
  transition: transform 620ms cubic-bezier(0.2, 0.78, 0.22, 1), background-color 300ms ease;
}

.memory-stage.is-open .memory-seal {
  background: var(--forest);
  transform: translate(-50%, -50%) rotate(8deg) scale(1.05);
}

.memory-seal span {
  font-size: 31px;
  font-weight: 900;
}

.memory-seal small {
  margin-top: 3px;
  font-size: 8px;
  font-weight: 850;
}

.memory-flow {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.memory-flow span {
  padding: 9px 11px;
  color: var(--plum);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.memory-flow i {
  color: var(--gold-deep);
  font-style: normal;
}

.chapter-aurora {
  color: var(--cream);
  background: #3a0633;
}

.aurora-halo {
  display: none;
}

.aurora-layout {
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.1fr);
}

.aurora-portrait {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.aurora-portrait img {
  width: min(360px, 80%);
  filter: drop-shadow(0 30px 50px rgba(255, 95, 211, 0.2));
  animation: aurora-float 6.8s ease-in-out infinite;
}

@keyframes aurora-float {
  0%, 100% { translate: 0 0; scale: 1; }
  50% { translate: 0 -10px; scale: 1.018; }
}

.aurora-portrait span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.conversation {
  max-width: 610px;
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.message {
  width: fit-content;
  max-width: 82%;
  margin: 0;
  padding: 13px 15px;
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 1;
}

.has-js .chapter:not(.is-active) .message {
  opacity: 0;
  translate: 0 10px;
}

.chapter.is-active .message-user {
  animation: message-arrive 520ms 260ms both cubic-bezier(0.2, 0.78, 0.22, 1);
}

.chapter.is-active .message-aurora {
  animation: message-arrive 620ms 610ms both cubic-bezier(0.2, 0.78, 0.22, 1);
}

@keyframes message-arrive {
  from { opacity: 0; translate: 0 12px; scale: 0.97; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}

.message-user {
  margin-left: auto;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 214, 107, 0.55);
}

.message-aurora {
  color: var(--ink);
  background: var(--mist);
}

.starter-row {
  margin-top: 16px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.starter-row::-webkit-scrollbar {
  display: none;
}

.starter-row span,
.starter-row button {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(255, 214, 107, 0.44);
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 730;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, scale 160ms ease;
}

.starter-row button:hover,
.starter-row button:focus-visible,
.starter-row button[aria-pressed="true"] {
  color: #2b0a20;
  background: var(--gold);
  border-color: var(--gold);
}

.chapter-night {
  color: var(--cream);
  background: #12051b;
}

.farming-layout {
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1fr);
}

.farming-stage {
  position: relative;
  width: min(390px, 100%);
  height: min(720px, 74svh);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 107, 0.4);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  cursor: pointer;
  outline: none;
}

.farming-stage:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 214, 107, 0.52), 0 30px 90px rgba(0, 0, 0, 0.46);
}

.farming-stage.is-energized {
  box-shadow: 0 0 0 2px rgba(255, 214, 107, 0.4), 0 34px 100px rgba(255, 203, 82, 0.16);
}

.farming-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(14px) scale(1.012);
}

.landing-aura-dust {
  position: absolute;
  z-index: 2;
  inset: 25% 4% 4%;
  pointer-events: none;
  overflow: hidden;
}

.landing-aura-dust span {
  transition: filter 320ms ease;
}

.farming-stage.is-energized .landing-aura-dust span {
  filter: brightness(1.28) saturate(1.12);
}

.farming-mark {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  padding: 7px 11px 7px 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  background: rgba(21, 4, 25, 0.78);
  border: 1px solid rgba(255, 214, 107, 0.56);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.farming-mark img {
  width: 34px;
  height: 34px;
}

.farming-mark b {
  font-size: 10px;
}

.growth-path {
  max-width: 620px;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}

.growth-path li {
  min-height: 76px;
  padding: 11px;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 214, 107, 0.22);
  border-radius: 5px;
}

.growth-path b {
  font-size: 12px;
}

.growth-path span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
}

.chapter-connect {
  color: var(--ink);
  background: var(--cream);
}

.connect-grid {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  min-height: min(690px, calc(100svh - 190px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(71, 2, 53, 0.22);
  border-radius: 8px;
  perspective: 1400px;
}

.connect-panel {
  padding: 8vw 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform-origin: center;
}

.connect-panel h2 {
  font-size: 46px;
}

.giveaway-panel {
  background: var(--paper);
}

.support-panel {
  color: var(--cream);
  background: var(--forest);
}

.support-panel .chapter-number {
  color: var(--gold);
}

.chapter-about {
  color: var(--ink);
  background: var(--mist);
}

.about-tree {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: url("/android/assets/gift-tree-landscape.jpg") 62% center / cover no-repeat;
  opacity: 0.96;
}

.about-tree::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 4, 20, 0.2);
}

.about-content {
  position: relative;
  z-index: 2;
  width: min(620px, 45vw);
  margin-left: 3vw;
}

.about-content h2 {
  font-size: 58px;
}

.about-content blockquote {
  margin: 28px 0 0;
  padding: 18px 0 18px 22px;
  color: var(--plum);
  border-left: 3px solid var(--gold-deep);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
}

.chapter-download {
  display: grid;
  place-items: center;
  text-align: center;
}

.download-shade {
  background: rgba(10, 2, 9, 0.64);
}

.download-content {
  position: relative;
  z-index: 2;
  width: min(740px, 90vw);
  display: grid;
  justify-items: center;
}

.download-mark {
  width: 126px;
  height: 126px;
  margin-bottom: 22px;
}

.download-content h2 {
  font-size: 60px;
}

.download-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px auto 0;
  color: rgba(255, 248, 233, 0.76);
  font-size: 18px;
  line-height: 1.6;
}

.button-row-center {
  justify-content: center;
}

.footer-links {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}

.footer-links button,
.footer-links a {
  padding: 4px 0;
  color: rgba(255, 248, 233, 0.7);
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 214, 107, 0.35);
}

.download-content > small {
  margin-top: 28px;
  color: rgba(255, 248, 233, 0.48);
  font-size: 10px;
  line-height: 1.65;
}

.chapter-rail {
  position: fixed;
  z-index: 70;
  top: 50%;
  right: 22px;
  width: 112px;
  padding: 16px 10px;
  display: grid;
  gap: 7px;
  background: rgba(24, 4, 19, 0.72);
  border: 1px solid rgba(255, 214, 107, 0.24);
  border-radius: 7px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateY(-50%);
}

.chapter-rail button {
  position: relative;
  z-index: 2;
  min-height: 30px;
  padding: 5px 3px;
  display: grid;
  grid-template-columns: 9px 1fr;
  align-items: center;
  gap: 7px;
  color: rgba(255, 248, 233, 0.52);
  text-align: left;
}

.chapter-rail button > span {
  width: 7px;
  height: 7px;
  background: rgba(255, 248, 233, 0.25);
  border: 1px solid rgba(255, 214, 107, 0.3);
  border-radius: 50%;
  transition: transform 180ms ease, background-color 180ms ease;
}

.chapter-rail button b {
  font-size: 9px;
}

.chapter-rail button.is-active {
  color: var(--gold);
}

.chapter-rail button.is-active > span {
  background: var(--gold);
  transform: scale(1.45);
}

.rail-line {
  position: absolute;
  z-index: 1;
  top: 29px;
  bottom: 29px;
  left: 16px;
  width: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

#rail-progress {
  display: block;
  width: 100%;
  height: 0;
  background: var(--gold);
  transition: height 360ms ease;
}

.chapter-controls {
  position: fixed;
  z-index: 78;
  right: 150px;
  bottom: calc(18px + var(--safe-bottom));
  height: 44px;
  display: grid;
  grid-template-columns: 42px minmax(94px, auto) 42px;
  align-items: center;
  color: var(--cream);
  background: rgba(24, 4, 19, 0.76);
  border: 1px solid rgba(255, 214, 107, 0.3);
  border-radius: 6px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.chapter-controls button {
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--gold);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 180ms ease, scale 160ms ease, opacity 180ms ease;
}

.chapter-controls button:hover,
.chapter-controls button:focus-visible {
  background: rgba(255, 214, 107, 0.12);
}

.chapter-controls button:disabled {
  opacity: 0.28;
  cursor: default;
}

#current-chapter-name {
  padding: 0 10px;
  color: rgba(255, 248, 233, 0.74);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-progress {
  display: none;
}

.menu-panel[hidden] {
  display: none;
}

.menu-panel {
  position: fixed;
  z-index: 120;
  inset: 0;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 1, 7, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.menu-sheet {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 92vw);
  padding: calc(28px + var(--safe-top)) 28px calc(28px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  color: var(--cream);
  background: #24051c;
  border-left: 1px solid rgba(255, 214, 107, 0.3);
  animation: menu-in 260ms ease both;
}

@keyframes menu-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.menu-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-heading span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
}

.menu-heading button,
.dialog-header button {
  width: 44px;
  height: 44px;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 28px;
  line-height: 1;
}

.menu-sheet > button {
  min-height: 52px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cream);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
  font-weight: 760;
}

.menu-sheet > button span {
  color: var(--gold);
}

.menu-sheet > .button {
  margin-top: auto;
  border-bottom: 0;
}

dialog {
  margin: auto;
  padding: 0;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid rgba(255, 214, 107, 0.56);
  border-radius: 8px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.44);
}

dialog::backdrop {
  background: rgba(9, 1, 8, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.information-dialog {
  width: min(860px, calc(100vw - 32px));
  height: min(860px, calc(100svh - 32px));
  overflow: hidden;
}

.dialog-header {
  height: 86px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cream);
  background: var(--plum);
  border-bottom: 1px solid rgba(255, 214, 107, 0.46);
}

.dialog-header small {
  display: block;
  color: var(--gold);
  font-size: 9px;
  font-weight: 850;
}

.dialog-header h2 {
  margin-top: 4px;
  font-size: 26px;
}

.dialog-header button {
  font-size: 24px;
}

.dialog-body {
  height: calc(100% - 86px);
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.about-dialog-body {
  display: grid;
  gap: 24px;
}

.about-brand-panel {
  padding: 22px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  color: var(--cream);
  background: var(--plum);
  border: 1px solid rgba(255, 214, 107, 0.56);
  border-radius: 8px;
}

.about-brand-panel img {
  width: 80px;
  height: 80px;
  grid-row: span 2;
}

.about-brand-panel h3 {
  font-size: 32px;
}

.about-brand-panel b {
  color: var(--gold);
  font-size: 9px;
}

.about-brand-panel p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 248, 233, 0.76);
  line-height: 1.55;
}

.dialog-body > section > h3 {
  margin: 0 0 12px;
  color: var(--plum);
  font-size: 19px;
}

.about-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
  counter-reset: studio-collection;
  list-style: none;
  border-top: 1px solid rgba(71, 2, 53, 0.18);
}

.about-list li {
  position: relative;
  min-height: 52px;
  padding: 15px 8px 14px 36px;
  counter-increment: studio-collection;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(71, 2, 53, 0.16);
  font-size: 13px;
  font-weight: 780;
}

.about-list li::before {
  content: counter(studio-collection, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--gold-deep);
  font-size: 9px;
  font-weight: 900;
}

.experience-list {
  margin: 0;
  display: grid;
  gap: 8px;
}

.experience-list > div {
  position: relative;
  padding: 15px 16px 15px 19px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(35, 18, 34, 0.06);
}

.experience-list > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--gold-deep);
}

.experience-list dt {
  color: var(--plum);
  font-weight: 850;
}

.experience-list dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.about-dialog-body > blockquote {
  margin: 0;
  padding: 18px;
  color: var(--plum);
  background: var(--paper);
  border: 1px solid var(--gold-deep);
  border-radius: 6px;
  font-size: 17px;
  font-weight: 800;
}

.terms-body > header {
  padding: 18px;
  color: var(--cream);
  background: var(--plum);
  border: 1px solid rgba(255, 214, 107, 0.52);
  border-radius: 7px;
}

.terms-body > header h3 {
  margin: 0;
  font-size: 20px;
}

.terms-body > section {
  margin-top: 10px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.terms-body > section h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.terms-body > section p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.56;
}

.release-dialog {
  width: min(430px, calc(100vw - 32px));
}

.release-dialog form {
  padding: 32px 26px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.release-dialog img {
  width: 88px;
  height: 88px;
}

.release-dialog small {
  margin-top: 16px;
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 850;
}

.release-dialog h2 {
  margin: 10px 0 0;
  color: var(--plum);
  font-size: 28px;
  line-height: 1.12;
}

.release-dialog p {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.release-dialog .button {
  width: 100%;
}

.release-close {
  margin-top: 12px;
  padding: 8px;
  color: var(--plum);
  font-weight: 750;
}

.noscript {
  position: fixed;
  z-index: 200;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0;
  padding: 12px;
  color: var(--ink);
  background: var(--gold);
  text-align: center;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(190px, 1fr) auto;
  }

  .desktop-nav {
    display: none;
  }

  .chapter-rail {
    right: 12px;
    width: 28px;
    padding: 12px 9px;
  }

  .chapter-rail button {
    grid-template-columns: 8px;
    min-height: 27px;
  }

  .chapter-rail button b {
    display: none;
  }

  .rail-line {
    left: 12px;
    top: 25px;
    bottom: 25px;
  }

  .chapter h2 {
    font-size: 46px;
  }

  .chapter-layout {
    gap: 4vw;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .brand-button {
    gap: 8px;
  }

  .brand-button img {
    width: 38px;
    height: 38px;
  }

  .brand-button strong {
    font-size: 17px;
  }

  .brand-button small {
    font-size: 7px;
  }

  .header-actions .button-outline {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .button-products {
    min-width: 92px;
    min-height: 40px;
    padding: 10px 13px;
    font-size: 12px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }

  .chapter-rail {
    display: none;
  }

  .mobile-progress {
    position: fixed;
    z-index: 75;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(31px + var(--safe-bottom));
    padding: 0 14px var(--safe-bottom);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    background: rgba(27, 4, 21, 0.82);
    border-top: 1px solid rgba(255, 214, 107, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-progress::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 66px;
    top: 14px;
    height: 2px;
    background: rgba(255, 255, 255, 0.16);
  }

  #mobile-progress-bar {
    position: relative;
    z-index: 2;
    display: block;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 340ms ease;
  }

  #chapter-count {
    color: var(--gold);
    font-size: 9px;
  }

  .chapter-controls {
    right: 14px;
    bottom: calc(35px + var(--safe-bottom));
    width: 78px;
    height: 38px;
    grid-template-columns: 38px 38px;
  }

  .chapter-controls button {
    width: 38px;
    height: 36px;
    font-size: 17px;
  }

  #current-chapter-name {
    display: none;
  }

  .chapter {
    min-height: 100svh;
    padding: calc(var(--header-height) + var(--safe-top) + 24px) 20px calc(66px + var(--safe-bottom));
    align-items: stretch;
  }

  .chapter-layout {
    width: 100%;
    min-height: calc(100svh - var(--header-height) - var(--safe-top) - var(--safe-bottom) - 100px);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(260px, 1fr);
    gap: 20px;
    align-items: center;
  }

  .chapter h2,
  .connect-panel h2,
  .about-content h2,
  .download-content h2 {
    font-size: 34px;
  }

  .chapter-copy > p:not(.chapter-number),
  .about-content > p:not(.chapter-number),
  .connect-panel > p:not(.chapter-number),
  .download-content > p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.52;
  }

  .chapter-number,
  .eyebrow {
    margin-bottom: 10px;
    font-size: 9px;
  }

  .next-chapter {
    left: 20px;
    right: 104px;
    bottom: calc(35px + var(--safe-bottom));
    min-width: 0;
    padding: 7px 0;
    grid-template-columns: 28px auto 20px;
  }

  .next-chapter b {
    font-size: 11px;
  }

  .chapter-hero {
    align-items: start;
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-environment img,
  .download-art img {
    object-position: center center;
  }

  .hero-scene {
    inset: -2.5%;
  }

  .hero-tree-anchor {
    top: auto;
    right: 50%;
    bottom: 4svh;
    width: min(78vw, 420px);
    transform: translateX(50%);
  }

  .hero-dust {
    inset: 40% 4% 5% 4%;
  }

  .hero-shade {
    background: rgba(9, 2, 9, 0.34);
  }

  .hero-content {
    width: 100%;
    margin-top: 8svh;
  }

  .hero-content h1 {
    font-size: 50px;
  }

  .hero-line {
    margin-top: 12px;
    font-size: 20px;
    line-height: 1.3;
  }

  .hero-copy {
    width: 86%;
    margin-top: 10px;
    font-size: 13px;
  }

  .button-row {
    margin-top: 20px;
    gap: 8px;
  }

  .button {
    min-height: 42px;
    padding: 10px 13px;
    font-size: 12px;
  }

  .catalogue-layout,
  .social-layout,
  .media-layout,
  .memories-layout,
  .aurora-layout,
  .farming-layout {
    grid-template-columns: 1fr;
  }

  .chapter-catalogue .chapter-layout {
    grid-template-rows: auto minmax(250px, 42svh);
  }

  .category-ribbon {
    margin-top: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-ribbon::-webkit-scrollbar {
    display: none;
  }

  .category-ribbon span {
    flex: 0 0 auto;
    padding: 7px 9px;
    font-size: 10px;
  }

  .social-ribbon {
    margin-top: 16px;
    flex-wrap: wrap;
    overflow: visible;
  }

  .social-ribbon span {
    flex: 1 1 calc(33.333% - 8px);
    min-width: 104px;
    padding: 7px 9px 7px 22px;
    font-size: 10px;
  }

  .gift-circle-scene {
    width: 100%;
    min-height: 0;
    padding: 26px 12px 43px;
  }

  .gift-circle-scene::before {
    inset: 1% 0 0;
    background-size: 28px 28px;
  }

  .circle-console {
    width: 100%;
    padding: 15px;
    transform: none;
    animation-name: circle-console-float-mobile;
  }

  @keyframes circle-console-float-mobile {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -5px, 0); }
  }

  .circle-console-header {
    gap: 9px;
  }

  .circle-avatar-stack {
    padding-right: 12px;
  }

  .circle-avatar-stack img,
  .circle-avatar-stack > span {
    width: 34px;
    height: 34px;
  }

  .circle-title b {
    font-size: 15px;
  }

  .circle-presence span {
    display: none;
  }

  .circle-product-share {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 9px;
  }

  .circle-product-share img {
    width: 58px;
    height: 58px;
  }

  .circle-message {
    width: 86%;
  }

  .circle-scene-caption {
    left: 4%;
    right: 4%;
    bottom: 14px;
  }

  .text-link {
    margin-top: 15px;
    font-size: 12px;
  }

  .phone-stage {
    height: 100%;
    min-height: 250px;
  }

  .phone-shell {
    width: min(190px, 60%);
    padding: 6px;
    border-radius: 20px;
  }

  .phone-shell img {
    border-radius: 14px;
  }

  .phone-speaker {
    top: 12px;
    width: 40px;
  }

  .stage-caption {
    right: 0;
    bottom: 18px;
    width: 148px;
    padding: 9px 10px;
  }

  .stage-caption span {
    font-size: 9px;
  }

  .feature-brand {
    margin-bottom: 10px;
  }

  .feature-brand img {
    width: 54px;
    height: 54px;
  }

  .studio-tabs {
    margin-top: 16px;
  }

  .studio-tabs button {
    padding: 7px 9px;
    font-size: 10px;
  }

  .detail-copy {
    display: none;
  }

  #studio-detail {
    min-height: 34px;
    display: block;
    font-size: 10px !important;
    line-height: 1.4;
  }

  .app-preview {
    width: min(230px, 72%);
    height: 38svh;
    min-height: 260px;
    margin: 0 auto;
    border-radius: 20px;
  }

  .app-preview img {
    border-radius: 13px;
  }

  .memories-layout {
    grid-template-rows: minmax(260px, 41svh) auto;
  }

  .memory-stage {
    width: min(440px, 100%);
    height: 100%;
    min-height: 260px;
    order: 2;
  }

  .memories-layout .chapter-copy {
    order: 1;
  }

  .polaroid {
    width: min(190px, 52%);
    padding: 7px 7px 26px;
  }

  .memory-seal {
    width: 82px;
    height: 82px;
  }

  .memory-seal span {
    font-size: 21px;
  }

  .memory-seal small {
    font-size: 6px;
  }

  .memory-flow {
    margin-top: 15px;
    gap: 5px;
  }

  .memory-flow span {
    padding: 6px 7px;
    font-size: 9px;
  }

  .aurora-layout {
    grid-template-rows: minmax(140px, 0.55fr) auto;
  }

  .aurora-portrait {
    gap: 6px;
  }

  .aurora-portrait img {
    width: min(190px, 48vw);
  }

  .aurora-portrait span {
    font-size: 8px;
  }

  .conversation {
    margin-top: 15px;
    gap: 6px;
  }

  .message {
    padding: 9px 10px;
    font-size: 11px;
  }

  .starter-row {
    margin-top: 10px;
  }

  .starter-row span {
    padding: 6px 8px;
    font-size: 9px;
  }

  .starter-row button {
    padding: 6px 8px;
    font-size: 9px;
  }

  .farming-layout {
    grid-template-rows: minmax(260px, 45svh) auto;
  }

  .farming-stage {
    width: min(250px, 72%);
    height: 100%;
    min-height: 260px;
  }

  .farming-mark {
    top: 9px;
    left: 9px;
    padding: 4px 7px 4px 4px;
  }

  .farming-mark img {
    width: 24px;
    height: 24px;
  }

  .growth-path {
    margin-top: 15px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .growth-path li {
    min-height: 54px;
    padding: 7px;
  }

  .growth-path b {
    font-size: 9px;
    line-height: 1.2;
  }

  .connect-grid {
    min-height: calc(100svh - var(--header-height) - var(--safe-top) - var(--safe-bottom) - 96px);
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .connect-panel {
    padding: 28px 22px;
  }

  .connect-panel h2 {
    font-size: 28px;
  }

  .about-tree {
    top: auto;
    width: 100%;
    height: 45%;
    background-image: url("/android/assets/gift-tree-portrait.jpg");
    background-position: center 68%;
  }

  .about-tree::after {
    background: rgba(20, 4, 20, 0.08);
  }

  .about-content {
    width: 100%;
    margin: 0 0 auto;
  }

  .about-content blockquote {
    margin-top: 18px;
    padding: 11px 0 11px 14px;
    font-size: 14px;
  }

  .download-mark {
    width: 94px;
    height: 94px;
    margin-bottom: 14px;
  }

  .download-content h2 {
    font-size: 38px;
  }

  .footer-links {
    margin-top: 26px;
    gap: 8px 16px;
  }

  .information-dialog {
    width: calc(100vw - 16px);
    height: calc(100svh - 16px);
  }

  .dialog-header {
    height: 74px;
    padding: 12px 14px;
  }

  .dialog-header h2 {
    font-size: 21px;
  }

  .dialog-header button {
    width: 40px;
    height: 40px;
  }

  .dialog-body {
    height: calc(100% - 74px);
    padding: 14px;
  }

  .about-brand-panel {
    padding: 16px;
    grid-template-columns: 58px 1fr;
  }

  .about-brand-panel img {
    width: 58px;
    height: 58px;
  }

  .about-brand-panel h3 {
    font-size: 25px;
  }

  .about-brand-panel p {
    font-size: 13px;
  }

  .about-list {
    grid-template-columns: 1fr;
  }
}

/* Premium motion language: visible enough to feel alive, restrained enough to stay smooth. */
.chapter-visual {
  --scroll-scale: 1;
  transform: translate3d(0, var(--scroll-shift), 0) scale(var(--scroll-scale));
  transform-origin: center;
}

.hero-dust {
  inset: 21% 1% 1% 34%;
}

.hero-dust span {
  background: radial-gradient(circle, #fff8dc 0 16%, var(--gold) 38%, rgba(233, 185, 73, 0.08) 72%);
  box-shadow:
    0 0 7px rgba(255, 214, 107, 0.82),
    0 0 18px rgba(255, 195, 70, 0.26);
  filter: brightness(var(--twinkle));
  animation: hero-dust-roam var(--duration) cubic-bezier(0.37, 0.1, 0.27, 0.96) var(--delay) infinite alternate;
}

@keyframes hero-dust-roam {
  0% {
    transform: translate3d(0, 0, 0) scale(0.72);
    opacity: calc(var(--opacity) * 0.62);
  }
  28% {
    transform: translate3d(var(--drift-mid-x), var(--drift-mid-y), 0) scale(1.12);
    opacity: var(--opacity);
  }
  61% {
    transform: translate3d(var(--drift-late-x), var(--drift-late-y), 0) scale(0.88);
    opacity: calc(var(--opacity) * 0.78);
  }
  100% {
    transform: translate3d(var(--drift-x), var(--drift-y), 0) scale(1.04);
    opacity: calc(var(--opacity) * 0.9);
  }
}

.has-js .chapter-flow .chapter-copy > p:not(.chapter-number),
.has-js .chapter-flow .chapter-copy > .category-ribbon,
.has-js .chapter-flow .chapter-copy > .social-ribbon,
.has-js .chapter-flow .chapter-copy > .studio-tabs,
.has-js .chapter-flow .chapter-copy > .memory-flow,
.has-js .chapter-flow .chapter-copy > .farming-actions,
.has-js .chapter-flow .chapter-copy > .text-link,
.has-js .chapter-flow .chapter-copy > .detail-copy {
  opacity: 0;
  translate: 0 16px;
  transition:
    opacity 560ms ease,
    translate 680ms cubic-bezier(0.16, 0.76, 0.2, 1);
}

.has-js .chapter-flow.is-active .chapter-copy > p:not(.chapter-number),
.has-js .chapter-flow.is-active .chapter-copy > .category-ribbon,
.has-js .chapter-flow.is-active .chapter-copy > .social-ribbon,
.has-js .chapter-flow.is-active .chapter-copy > .studio-tabs,
.has-js .chapter-flow.is-active .chapter-copy > .memory-flow,
.has-js .chapter-flow.is-active .chapter-copy > .farming-actions,
.has-js .chapter-flow.is-active .chapter-copy > .text-link,
.has-js .chapter-flow.is-active .chapter-copy > .detail-copy {
  opacity: 1;
  translate: 0 0;
}

.has-js .chapter-flow.is-active .chapter-copy > p:not(.chapter-number) {
  transition-delay: 230ms;
}

.has-js .chapter-flow.is-active .chapter-copy > .category-ribbon,
.has-js .chapter-flow.is-active .chapter-copy > .social-ribbon,
.has-js .chapter-flow.is-active .chapter-copy > .studio-tabs,
.has-js .chapter-flow.is-active .chapter-copy > .memory-flow,
.has-js .chapter-flow.is-active .chapter-copy > .farming-actions,
.has-js .chapter-flow.is-active .chapter-copy > .detail-copy {
  transition-delay: 330ms;
}

.has-js .chapter-flow.is-active .chapter-copy > .text-link {
  transition-delay: 430ms;
}

.catalogue-browser,
.studio-browser,
.aurora-console {
  position: relative;
}

.catalogue-browser::after,
.studio-browser::after,
.aurora-console::after {
  content: "";
  position: absolute;
  z-index: 8;
  top: -45%;
  bottom: -45%;
  left: -38%;
  width: 24%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 234, 172, 0.18), transparent);
  transform: skewX(-14deg);
  animation: surface-glint 8.4s ease-in-out infinite;
}

@keyframes surface-glint {
  0%, 68% { translate: 0 0; opacity: 0; }
  74% { opacity: 0.65; }
  88% { translate: 610% 0; opacity: 0.18; }
  100% { translate: 610% 0; opacity: 0; }
}

.button-gold {
  position: relative;
  overflow: hidden;
}

.button-gold::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -36%;
  width: 18%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.48);
  transform: rotate(14deg);
  animation: button-glint 6.2s ease-in-out infinite;
}

@keyframes button-glint {
  0%, 72% { translate: 0 0; opacity: 0; }
  78% { opacity: 0.72; }
  90%, 100% { translate: 760% 0; opacity: 0; }
}

.chapter.is-active .text-link span {
  animation: link-nudge 900ms 720ms cubic-bezier(0.16, 0.76, 0.2, 1) both;
}

@keyframes link-nudge {
  0%, 100% { transform: translateX(0); }
  52% { transform: translateX(7px); }
}

@media (max-width: 760px) {
  .hero-dust {
    inset: 38% 2% 4%;
  }

  .chapter-about {
    min-height: auto;
    padding: calc(var(--header-height) + var(--safe-top) + 44px) 20px calc(76px + var(--safe-bottom));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: clip;
  }

  .chapter-about .about-content {
    order: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-bottom: 4px;
  }

  .chapter-about .button-row {
    margin-top: 26px;
    padding: 14px;
    gap: 10px;
    background: #fff;
    border: 1px solid rgba(71, 2, 53, 0.15);
    border-radius: 6px;
    box-shadow: 0 16px 36px rgba(35, 18, 34, 0.08);
  }

  .chapter-about .button {
    flex: 1 1 145px;
    justify-content: center;
    text-align: center;
  }

  .chapter-about .button-outline-dark {
    color: var(--plum);
    background: var(--paper);
    border-color: rgba(71, 2, 53, 0.55);
  }

  .chapter-about .about-tree {
    position: relative;
    inset: auto;
    order: 2;
    width: calc(100% + 40px);
    height: min(570px, 126vw);
    margin: 30px -20px 0;
    flex: 0 0 auto;
    background-image: url("/android/assets/gift-tree-portrait.jpg");
    background-position: center 62%;
    opacity: 1;
  }

  .chapter-about .about-tree::after {
    background: linear-gradient(180deg, var(--mist) 0%, rgba(248, 244, 251, 0.12) 18%, rgba(20, 4, 20, 0.08) 100%);
  }

  .chapter-about .next-chapter {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    order: 3;
    width: calc(100% - 84px);
    min-width: 0;
    margin: 28px 84px 0 0;
    padding: 12px 0;
  }
}

@media (max-width: 400px), (max-height: 690px) and (max-width: 760px) {
  .hero-content {
    margin-top: 3svh;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-line {
    font-size: 17px;
  }

  .hero-copy {
    display: none;
  }

  .chapter h2,
  .about-content h2,
  .download-content h2 {
    font-size: 29px;
  }

  .chapter-copy > p:not(.chapter-number),
  .about-content > p:not(.chapter-number),
  .connect-panel > p:not(.chapter-number) {
    font-size: 12px;
  }

  .growth-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Refined scroll story: content-led chapters with stable, tactile visuals. */
.story {
  scroll-snap-type: none;
  overscroll-behavior-y: auto;
}

.chapter {
  min-height: 100svh;
  height: auto;
  overflow: clip;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.chapter-flow {
  min-height: max(100svh, 820px);
  padding-top: calc(var(--header-height) + var(--safe-top) + 72px);
  padding-bottom: calc(116px + var(--safe-bottom));
}

.chapter-flow .chapter-layout {
  min-height: 0;
}

.chapter-copy,
.chapter-visual,
.chapter h2 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.motion-title .title-word {
  display: inline-block;
  margin-right: 0;
  opacity: 1;
  translate: 0 0;
  filter: none;
}

.has-js .motion-title .title-word {
  opacity: 0;
  translate: 0 0.72em;
  filter: blur(5px);
  transition:
    opacity 620ms ease,
    translate 720ms cubic-bezier(0.16, 0.76, 0.2, 1),
    filter 620ms ease;
  transition-delay: 0ms;
}

.has-js .chapter.is-active .motion-title .title-word {
  opacity: 1;
  translate: 0 0;
  filter: none;
  transition-delay: calc(80ms + (var(--word-order) * 48ms));
}

.chapter-number::after,
.eyebrow::after {
  content: "";
  width: 0;
  height: 2px;
  margin-top: 11px;
  display: block;
  background: currentColor;
  transition: width 700ms cubic-bezier(0.16, 0.76, 0.2, 1);
}

.chapter.is-active .chapter-number::after,
.chapter.is-active .eyebrow::after {
  width: 48px;
}

.chapter-visual {
  --scroll-shift: 0px;
  transform: translate3d(0, var(--scroll-shift), 0);
  will-change: transform;
}

.drag-rail {
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(183, 131, 32, 0.52) transparent;
  cursor: grab;
}

.drag-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.drag-rail::-webkit-scrollbar {
  height: 4px;
}

.drag-rail::-webkit-scrollbar-thumb {
  background: rgba(183, 131, 32, 0.52);
  border-radius: 2px;
}

/* The hero is layered, but its tree stays grounded instead of following the phone. */
.hero-scene {
  --hero-shift: 0px;
  inset: -2%;
  perspective: none;
  transform-style: flat;
}

.hero-environment {
  transform: translate3d(0, var(--hero-shift), 0) scale(1.035);
  will-change: transform;
}

.hero-tree-rig {
  transform: none;
  transform-style: flat;
}

.hero-tree-artwork {
  animation: none;
}

.hero-tree-glow {
  transform: scale(1.025);
  animation-duration: 8.8s;
}

.hero-tree-rig.is-awake {
  animation: tree-awaken-refined 900ms cubic-bezier(0.16, 0.76, 0.2, 1);
}

@keyframes tree-awaken-refined {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  46% { transform: scale(1.008); filter: brightness(1.1); }
}

.hero-dust {
  transform: none;
}

/* Live catalogue and Printing Studio previews. */
.catalogue-browser,
.studio-browser {
  width: min(100%, 450px);
  margin-inline: auto;
  overflow: hidden;
  background: #160b18;
  border: 1px solid rgba(71, 2, 53, 0.24);
  border-radius: 7px;
  box-shadow: 0 28px 70px rgba(33, 13, 29, 0.2);
}

.studio-browser {
  background: #21071b;
  border-color: rgba(255, 214, 107, 0.35);
  box-shadow: 0 30px 80px rgba(10, 1, 9, 0.4);
}

.preview-bar {
  min-height: 54px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
  color: #fff8e9;
  background: #470235;
  border-bottom: 1px solid rgba(255, 214, 107, 0.26);
}

.preview-bar > span {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 214, 107, 0.7);
}

.preview-bar b {
  font-size: 13px;
}

.preview-bar small {
  color: rgba(255, 248, 233, 0.68);
  font-size: 10px;
  font-weight: 750;
}

.preview-bar-dark {
  background: #160412;
}

.catalogue-scroll,
.studio-scroll {
  height: min(590px, 66svh);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) rgba(255, 255, 255, 0.08);
}

.catalogue-scroll img,
.studio-scroll img {
  width: 100%;
  height: auto;
  max-width: none;
}

.preview-footer {
  min-height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 248, 233, 0.68);
  background: #160b18;
  border-top: 1px solid rgba(255, 214, 107, 0.16);
  font-size: 9px;
  font-weight: 760;
}

.category-ribbon {
  max-width: 100%;
  padding: 0 0 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.category-ribbon span {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* Living Memories reads as a sequence, never as overlapping stock cards. */
.memory-flow {
  max-width: 100%;
  padding-bottom: 7px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.memory-flow span,
.memory-flow i {
  flex: 0 0 auto;
}

.memory-flow span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  scroll-snap-align: start;
}

.memory-flow span b {
  color: var(--gold-deep);
  font-size: 9px;
}

.memory-reel {
  width: 100%;
  max-width: 680px;
  padding: 18px 2px 14px;
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
}

.memory-card {
  flex: 0 0 min(350px, 78vw);
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: center;
  background: #fff;
  border: 1px solid rgba(71, 2, 53, 0.16);
  border-radius: 6px;
  box-shadow: 0 20px 48px rgba(46, 25, 44, 0.17);
}

.memory-card-photo {
  padding: 12px 12px 18px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  color: var(--ink);
}

.memory-card-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.memory-card figcaption {
  padding: 14px 4px 0;
  display: grid;
  gap: 3px;
}

.memory-card figcaption b {
  color: var(--plum);
  font-size: 15px;
}

.memory-card figcaption span {
  color: var(--muted);
  font-size: 11px;
}

.memory-access-card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--cream);
  background: #300725;
  border-color: rgba(255, 214, 107, 0.4);
}

.memory-access-visual {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.memory-access-visual > small {
  color: rgba(255, 214, 107, 0.72);
  font-size: 8px;
  font-weight: 850;
}

.memory-viewfinder {
  position: relative;
  width: 184px;
  height: 126px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 214, 107, 0.11), transparent 38%),
    rgba(8, 2, 10, 0.28);
  border: 1px solid rgba(255, 214, 107, 0.2);
  border-radius: 6px;
}

.viewfinder-corner {
  position: absolute;
  z-index: 3;
  width: 22px;
  height: 22px;
  border-color: var(--gold);
  border-style: solid;
}

.corner-top-left {
  top: 10px;
  left: 10px;
  border-width: 2px 0 0 2px;
}

.corner-top-right {
  top: 10px;
  right: 10px;
  border-width: 2px 2px 0 0;
}

.corner-bottom-left {
  bottom: 10px;
  left: 10px;
  border-width: 0 0 2px 2px;
}

.corner-bottom-right {
  right: 10px;
  bottom: 10px;
  border-width: 0 2px 2px 0;
}

.memory-camera-glyph {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 43px;
  border: 2px solid var(--gold);
  border-radius: 5px;
  transform: translate(-50%, -46%);
  box-shadow: 0 0 22px rgba(255, 214, 107, 0.13);
}

.memory-camera-glyph::before {
  content: "";
  position: absolute;
  left: 9px;
  top: -9px;
  width: 20px;
  height: 8px;
  border: 2px solid var(--gold);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.memory-camera-glyph i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 21px;
  height: 21px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.memory-camera-glyph i::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 214, 107, 0.62);
}

.memory-scan-line {
  position: absolute;
  z-index: 4;
  left: 18px;
  right: 18px;
  top: 23px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 10px rgba(255, 214, 107, 0.68);
  animation: memory-scan 3.8s ease-in-out infinite;
}

@keyframes memory-scan {
  0%, 12% { translate: 0 0; opacity: 0; }
  22% { opacity: 0.85; }
  72% { opacity: 0.85; }
  88%, 100% { translate: 0 78px; opacity: 0; }
}

.memory-access-card > div:nth-child(2) b {
  color: var(--gold);
  font-size: 23px;
}

.memory-access-card p {
  margin: 10px 0 0;
  color: rgba(255, 248, 233, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.memory-access-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.memory-access-card dl div {
  padding-top: 11px;
  border-top: 1px solid rgba(255, 214, 107, 0.3);
}

.memory-access-card dt {
  color: rgba(255, 248, 233, 0.58);
  font-size: 9px;
  font-weight: 760;
}

.memory-access-card dd {
  margin: 3px 0 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

/* Aurora is a compact working conversation surface. */
.aurora-console {
  width: min(100%, 570px);
  margin-inline: auto;
  padding: 22px;
  overflow: hidden;
  background: rgba(21, 4, 25, 0.74);
  border: 1px solid rgba(255, 214, 107, 0.38);
  border-radius: 7px;
  box-shadow: 0 30px 80px rgba(12, 1, 10, 0.38);
}

.aurora-console-head {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 214, 107, 0.2);
}

.aurora-console-head img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(255, 130, 222, 0.22));
}

.aurora-console-head > div {
  display: grid;
  gap: 2px;
}

.aurora-console-head b {
  color: #fff8e9;
  font-size: 19px;
}

.aurora-console-head span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 780;
}

.aurora-console-head small {
  color: #95e5bc;
  font-size: 9px;
  font-weight: 760;
}

.aurora-console .conversation {
  max-width: none;
}

.aurora-console .starter-row {
  padding-bottom: 5px;
}

/* Aura Farming uses the actual six tree artworks and a selectable growth rail. */
.aura-stage-experience {
  width: min(100%, 570px);
  margin-inline: auto;
}

.farming-stage {
  width: 100%;
  height: min(650px, 71svh);
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 72%, rgba(122, 38, 154, 0.2), transparent 35%),
    linear-gradient(#180620, #0c0711);
}

.farming-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 28%, rgba(0, 0, 0, 0.08));
}

.farming-stage > img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 50px 2px 0;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  transition: opacity 210ms ease, scale 460ms cubic-bezier(0.16, 0.76, 0.2, 1), filter 460ms ease;
}

.farming-stage.is-switching > img {
  opacity: 0.22;
  scale: 0.975;
}

.farming-stage.is-energized > img {
  scale: 1.008;
  filter: brightness(1.08) saturate(1.05);
}

.farming-stage-head {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 18px;
  right: 18px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  background: rgba(18, 5, 27, 0.74);
  border: 1px solid rgba(255, 214, 107, 0.38);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.farming-stage-head > span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
}

.farming-stage-head div {
  display: grid;
  gap: 2px;
}

.farming-stage-head b {
  font-size: 14px;
}

.farming-stage-head small {
  color: rgba(255, 248, 233, 0.62);
  font-size: 9px;
}

.landing-aura-dust {
  z-index: 4;
  inset: 30% 2% 1%;
}

.growth-path {
  max-width: 100%;
  margin-top: 14px;
  padding: 2px 0 8px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.growth-path button {
  flex: 0 0 148px;
  min-height: 68px;
  padding: 10px 11px;
  display: grid;
  align-content: center;
  gap: 3px;
  color: var(--cream);
  text-align: left;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 214, 107, 0.22);
  border-radius: 5px;
  cursor: pointer;
  scroll-snap-align: center;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.growth-path button span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
}

.growth-path button b {
  font-size: 11px;
  line-height: 1.25;
}

.growth-path button:hover,
.growth-path button:focus-visible,
.growth-path button.is-selected {
  color: #fff8e9;
  background: rgba(255, 214, 107, 0.12);
  border-color: var(--gold);
}

.farming-actions {
  max-width: 100%;
  margin-top: 26px;
  padding-bottom: 7px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.farming-actions > span {
  flex: 0 0 158px;
  min-height: 72px;
  padding: 12px;
  display: grid;
  align-content: center;
  gap: 4px;
  color: rgba(255, 248, 233, 0.66);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 214, 107, 0.22);
  border-radius: 5px;
  font-size: 10px;
  scroll-snap-align: start;
}

.farming-actions b {
  color: var(--gold);
  font-size: 12px;
}

.next-chapter {
  position: absolute;
}

@media (max-width: 1120px) {
  .chapter-flow .chapter-layout {
    grid-template-columns: minmax(0, 0.96fr) minmax(330px, 1fr);
    gap: 5vw;
  }

  .chapter h2 {
    font-size: 43px;
  }
}

@media (max-width: 760px) {
  .chapter-flow {
    min-height: auto;
    padding: calc(var(--header-height) + var(--safe-top) + 46px) 20px calc(76px + var(--safe-bottom));
  }

  .chapter-flow .chapter-layout,
  .chapter-catalogue .chapter-layout,
  .media-layout,
  .memories-layout,
  .aurora-layout,
  .farming-layout {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 34px;
    align-items: start;
  }

  .chapter-flow .chapter-copy {
    width: 100%;
    max-width: none;
  }

  .memories-layout .chapter-copy {
    order: 0;
  }

  .memory-reel {
    order: 1;
  }

  .chapter-flow .chapter h2,
  .chapter-flow h2 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.08;
  }

  .chapter-flow .chapter-copy > p:not(.chapter-number) {
    max-width: 100%;
    font-size: 14px;
  }

  .chapter-flow .next-chapter {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 84px);
    min-width: 0;
    margin: 40px 84px 0 0;
    padding: 12px 0;
  }

  .chapter-hero {
    min-height: 100svh;
  }

  .hero-scene {
    inset: -1.5%;
  }

  .hero-tree-anchor {
    bottom: 2.8svh;
    width: min(70vw, 390px);
  }

  .hero-content {
    margin-top: 6svh;
  }

  .hero-copy {
    width: min(92%, 430px);
  }

  .catalogue-browser,
  .studio-browser,
  .aurora-console,
  .aura-stage-experience,
  .memory-reel {
    width: 100%;
    max-width: 100%;
  }

  .catalogue-scroll,
  .studio-scroll {
    height: 470px;
  }

  .preview-bar {
    min-height: 48px;
    padding-inline: 13px;
  }

  .preview-footer {
    padding-inline: 11px;
  }

  .memory-reel {
    margin: 0;
  }

  .memory-card {
    flex-basis: min(330px, 84vw);
    min-height: 480px;
  }

  .aurora-console {
    padding: 16px;
  }

  .aurora-console-head {
    grid-template-columns: 58px 1fr auto;
    gap: 10px;
  }

  .aurora-console-head img {
    width: 58px;
    height: 58px;
  }

  .aurora-console .message {
    padding: 11px 12px;
    font-size: 12px;
  }

  .farming-stage {
    width: 100%;
    height: min(570px, 142vw);
    min-height: 490px;
  }

  .farming-stage > img {
    padding-top: 60px;
  }

  .growth-path {
    margin-top: 12px;
  }

  .growth-path button {
    flex-basis: 138px;
  }
}

@media (max-width: 400px), (max-height: 690px) and (max-width: 760px) {
  .chapter-flow h2 {
    font-size: 30px;
  }

  .hero-tree-anchor {
    width: min(64vw, 330px);
  }

  .catalogue-scroll,
  .studio-scroll {
    height: 410px;
  }

  .memory-card {
    min-height: 430px;
  }

  .farming-stage {
    height: min(520px, 144vw);
    min-height: 450px;
  }
}

/* 2026 experience presentation: purpose-built visuals replace raw feature screenshots. */
.studio-stage,
.memory-portal {
  position: relative;
  width: min(100%, 570px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: 0 32px 84px rgba(8, 1, 8, 0.38);
}

.studio-stage {
  min-height: 620px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: var(--cream);
  background: #160a14;
  border: 1px solid rgba(255, 214, 107, 0.48);
}

.studio-stage-head,
.studio-stage-foot,
.memory-portal-head {
  position: relative;
  z-index: 6;
  min-height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 214, 107, 0.2);
}

.studio-stage-head span,
.memory-portal-head span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
}

.studio-stage-head small,
.memory-portal-head small {
  color: rgba(255, 248, 233, 0.58);
  font-size: 8px;
  font-weight: 800;
}

.studio-stage-canvas {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background: #24111f;
}

.studio-stage-canvas::before,
.studio-stage-canvas::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.studio-stage-canvas::before {
  inset: 11% 9%;
  border: 1px solid rgba(255, 214, 107, 0.1);
}

.studio-stage-canvas::after {
  left: 50%;
  bottom: 11%;
  width: 58%;
  height: 1px;
  background: rgba(255, 214, 107, 0.4);
  box-shadow: 0 16px 30px 7px rgba(0, 0, 0, 0.32);
  transform: translateX(-50%);
}

.studio-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 214, 107, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  animation: studio-orbit 18s linear infinite;
}

.studio-orbit-one {
  width: 82%;
  height: 54%;
}

.studio-orbit-two {
  width: 64%;
  height: 78%;
  border-color: rgba(144, 217, 194, 0.12);
  animation-direction: reverse;
  animation-duration: 24s;
}

@keyframes studio-orbit {
  to { transform: translate(-50%, -50%) rotate(348deg); }
}

.studio-object {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -44%) scale(0.86) rotate(5deg);
  transition: opacity 420ms ease, transform 680ms cubic-bezier(0.16, 0.76, 0.2, 1);
}

.studio-stage[data-studio-mode="magazine"] .studio-object-magazine,
.studio-stage[data-studio-mode="polaroids"] .studio-object-polaroids,
.studio-stage[data-studio-mode="pictures"] .studio-object-pictures,
.studio-stage[data-studio-mode="keychains"] .studio-object-keychains,
.studio-stage[data-studio-mode="documents"] .studio-object-documents {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.studio-object-magazine {
  width: 250px;
  height: 330px;
}

.edition-sheet {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: space-between;
  padding: 28px;
  border: 1px solid rgba(255, 214, 107, 0.56);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.34);
}

.edition-sheet-back {
  background: var(--forest);
  transform: translate(28px, -18px) rotate(7deg);
}

.edition-sheet-front {
  color: #fff8e9;
  background: #6a164d;
}

.edition-sheet-front small,
.edition-sheet-front i {
  color: var(--gold);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.edition-sheet-front b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 0.94;
}

.studio-object-polaroids {
  width: 310px;
  height: 310px;
}

.studio-object-polaroids span {
  position: absolute;
  width: 154px;
  height: 205px;
  padding: 12px 12px 46px;
  background: #fffaf1;
  border: 1px solid rgba(71, 2, 53, 0.18);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}

.studio-object-polaroids span::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #984a79;
  border: 9px solid #2f765f;
}

.studio-object-polaroids span:nth-child(1) { left: 3px; top: 54px; transform: rotate(-13deg); }
.studio-object-polaroids span:nth-child(2) { left: 78px; top: 3px; z-index: 2; transform: rotate(2deg); }
.studio-object-polaroids span:nth-child(3) { right: 1px; top: 62px; transform: rotate(14deg); }

.studio-object-pictures {
  width: 300px;
  height: 340px;
  padding: 22px;
  background: #f8f0df;
  border: 10px solid #3c1b31;
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.34);
}

.picture-mat {
  width: 100%;
  height: 100%;
  padding: 18px;
  display: block;
  border: 1px solid rgba(71, 2, 53, 0.2);
}

.picture-mat i {
  width: 100%;
  height: 100%;
  display: block;
  background: #295a52;
  border: 18px solid #ac4c76;
}

.studio-object-keychains {
  width: 220px;
  height: 360px;
}

.keychain-ring {
  position: absolute;
  left: 50%;
  top: 0;
  width: 88px;
  height: 88px;
  border: 8px solid var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.28);
}

.keychain-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 72px;
  width: 8px;
  height: 64px;
  background: var(--gold);
  transform: translateX(-50%);
}

.keychain-body {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 186px;
  height: 236px;
  padding: 18px;
  background: rgba(247, 231, 206, 0.16);
  border: 2px solid rgba(255, 248, 233, 0.72);
  border-radius: 8px;
  transform: translateX(-50%);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.34);
}

.keychain-body i {
  width: 100%;
  height: 100%;
  display: block;
  background: #732b58;
  border: 12px solid rgba(255, 214, 107, 0.48);
}

.studio-object-documents {
  width: 286px;
  height: 340px;
}

.studio-object-documents span {
  position: absolute;
  inset: 0;
  background: #fffdf7;
  border: 1px solid rgba(71, 2, 53, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.26);
}

.studio-object-documents span:nth-child(1) { transform: translate(26px, -18px) rotate(6deg); background: #d7eee5; }
.studio-object-documents span:nth-child(2) { transform: translate(-22px, 8px) rotate(-5deg); background: #f4d9e7; }
.studio-object-documents span:nth-child(3)::before {
  content: "";
  position: absolute;
  left: 38px;
  right: 38px;
  top: 54px;
  height: 160px;
  border-top: 11px solid #470235;
  border-bottom: 72px double rgba(71, 2, 53, 0.16);
}

.studio-stage-foot {
  min-height: 82px;
  border-top: 1px solid rgba(255, 214, 107, 0.2);
  border-bottom: 0;
}

.studio-stage-foot div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.studio-stage-foot small {
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
}

.studio-stage-foot b {
  overflow: hidden;
  color: #fff8e9;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-stage-foot > span {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: #160a14;
  background: var(--gold);
  font-size: 9px;
  font-weight: 900;
}

.memory-portal {
  min-height: 600px;
  display: grid;
  grid-template-rows: auto minmax(280px, 1fr) auto auto;
  color: var(--cream);
  background: #26071e;
  border: 1px solid rgba(71, 2, 53, 0.28);
  box-shadow: 0 32px 80px rgba(48, 15, 44, 0.22);
}

.memory-portal-head {
  border-color: rgba(255, 214, 107, 0.18);
}

.memory-portal-core {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: #120912;
}

.memory-portal-core::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 13%;
  width: 45%;
  height: 1px;
  background: rgba(255, 214, 107, 0.34);
  transform: translateX(-50%);
}

.memory-orbit {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 214, 107, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: memory-orbit-pulse 5.5s ease-in-out infinite;
}

.memory-orbit-one { width: 245px; height: 245px; }
.memory-orbit-two { width: 188px; height: 188px; animation-delay: -1.7s; border-color: rgba(144, 217, 194, 0.22); }
.memory-orbit-three { width: 126px; height: 126px; animation-delay: -3.4s; }

@keyframes memory-orbit-pulse {
  0%, 100% { opacity: 0.32; scale: 0.96; }
  50% { opacity: 0.82; scale: 1.04; }
}

.memory-scene {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(18px) scale(0.9);
  transition: opacity 420ms ease, transform 620ms cubic-bezier(0.16, 0.76, 0.2, 1);
}

.memory-portal[data-memory-state="linked"] .memory-scene-linked,
.memory-portal[data-memory-state="camera"] .memory-scene-camera,
.memory-portal[data-memory-state="return"] .memory-scene-return {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.memory-gift {
  position: relative;
  width: 112px;
  height: 96px;
  background: #7f2c5d;
  border: 2px solid var(--gold);
  box-shadow: 0 0 44px rgba(255, 214, 107, 0.16);
}

.memory-gift::before,
.memory-gift::after {
  content: "";
  position: absolute;
  background: var(--gold);
}

.memory-gift::before { left: 48px; top: 0; bottom: 0; width: 12px; }
.memory-gift::after { left: -8px; right: -8px; top: 24px; height: 12px; }

.memory-gift i::before,
.memory-gift i::after {
  content: "";
  position: absolute;
  top: -35px;
  width: 52px;
  height: 42px;
  border: 7px solid var(--gold);
}

.memory-gift i::before { left: 7px; border-radius: 40px 8px 8px 4px; transform: rotate(14deg); }
.memory-gift i::after { right: 7px; border-radius: 8px 40px 4px 8px; transform: rotate(-14deg); }

.memory-signal {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 214, 107, 0.62);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: memory-signal 3.2s ease-out infinite;
}

.memory-signal-two { animation-delay: 1.6s; }

@keyframes memory-signal {
  from { width: 116px; height: 116px; opacity: 0.8; }
  to { width: 248px; height: 248px; opacity: 0; }
}

.memory-scene-camera .memory-viewfinder {
  width: 222px;
  height: 154px;
  background: rgba(25, 83, 71, 0.34);
  border-color: rgba(144, 217, 194, 0.35);
  box-shadow: 0 0 50px rgba(144, 217, 194, 0.08);
}

.memory-play {
  position: relative;
  width: 102px;
  height: 102px;
  display: grid;
  place-items: center;
  background: #214e46;
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 48px rgba(255, 214, 107, 0.16);
}

.memory-play i {
  width: 0;
  height: 0;
  margin-left: 8px;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 27px solid var(--gold);
}

.memory-wave {
  position: absolute;
  left: 50%;
  bottom: 17%;
  width: 4px;
  background: var(--gold);
  animation: memory-wave 1.8s ease-in-out infinite;
}

.memory-wave-one { height: 32px; margin-left: -32px; }
.memory-wave-two { height: 56px; animation-delay: -0.6s; }
.memory-wave-three { height: 24px; margin-left: 32px; animation-delay: -1.2s; }

@keyframes memory-wave {
  0%, 100% { transform: scaleY(0.38); opacity: 0.36; }
  50% { transform: scaleY(1); opacity: 1; }
}

.memory-portal-copy {
  min-height: 128px;
  padding: 22px 24px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-top: 1px solid rgba(255, 214, 107, 0.16);
}

.memory-portal-copy small {
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
}

.memory-portal-copy b {
  color: #fff8e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 600;
}

.memory-portal-copy p {
  margin: 2px 0 0;
  color: rgba(255, 248, 233, 0.66);
  font-size: 12px;
  line-height: 1.5;
}

.memory-state-tabs {
  min-height: 66px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 214, 107, 0.18);
}

.memory-state-tabs button {
  min-width: 0;
  padding: 10px 8px;
  display: grid;
  justify-items: center;
  gap: 2px;
  color: rgba(255, 248, 233, 0.52);
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255, 214, 107, 0.12);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  transition: color 180ms ease, background-color 180ms ease;
}

.memory-state-tabs button:last-child { border-right: 0; }
.memory-state-tabs button span { color: var(--gold); font-size: 8px; }
.memory-state-tabs button.is-selected,
.memory-state-tabs button:hover,
.memory-state-tabs button:focus-visible {
  color: #fff8e9;
  background:
    linear-gradient(180deg, rgba(255, 214, 107, 0.18), rgba(255, 214, 107, 0.06)),
    #3a0a2c;
  box-shadow: inset 0 3px 0 var(--gold);
}

.aurora-signals {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aurora-signals span {
  padding: 8px 11px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 214, 107, 0.26);
  font-size: 10px;
  font-weight: 800;
}

.aurora-console {
  position: relative;
  background: #180819;
}

.aurora-console::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 22px;
  right: 22px;
  top: 105px;
  height: 1px;
  background: rgba(144, 217, 194, 0.22);
  box-shadow: 0 0 24px rgba(144, 217, 194, 0.18);
  animation: aurora-context-scan 5.8s ease-in-out infinite;
}

@keyframes aurora-context-scan {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(184px); }
}

.aurora-console > * { position: relative; z-index: 2; }

.aurora-console .message-aurora {
  border-left: 3px solid #63b99d;
}

.farming-world-ring {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 54%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 214, 107, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: farming-world-turn 28s linear infinite;
}

.farming-world-ring span {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 214, 107, 0.72);
}

.farming-world-ring span:nth-child(1) { left: 12%; top: 20%; }
.farming-world-ring span:nth-child(2) { right: 6%; top: 52%; width: 4px; height: 4px; }
.farming-world-ring span:nth-child(3) { left: 43%; bottom: -4px; width: 5px; height: 5px; }

@keyframes farming-world-turn {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.farming-stage-story {
  position: absolute;
  z-index: 6;
  left: 18px;
  right: 18px;
  bottom: 16px;
  min-height: 62px;
  padding: 12px 14px;
  display: grid;
  align-content: center;
  gap: 3px;
  color: #fff8e9;
  background: rgba(18, 5, 27, 0.78);
  border: 1px solid rgba(255, 214, 107, 0.34);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.farming-stage-story small,
.farming-actions small {
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
}

.farming-stage-story b { font-size: 13px; }

.farming-actions > span {
  min-height: 92px;
  grid-template-rows: auto auto 1fr;
}

/* Real feature artwork replaces the former CSS mock products. */
.studio-stage-canvas {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: stretch;
  overflow: hidden;
  background: #160a14;
}

.studio-stage-canvas::before,
.studio-stage-canvas::after {
  content: none;
}

.studio-stage-canvas > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.03);
  transform: scale(1.035);
  transition: transform 760ms cubic-bezier(0.16, 0.76, 0.2, 1), filter 520ms ease;
}

.studio-stage[data-studio-mode="polaroids"] .studio-stage-canvas > img,
.studio-stage[data-studio-mode="pictures"] .studio-stage-canvas > img {
  transform: scale(1.09) translate3d(2%, -1%, 0);
}

.studio-stage[data-studio-mode="keychains"] .studio-stage-canvas > img,
.studio-stage[data-studio-mode="documents"] .studio-stage-canvas > img {
  transform: scale(1.1) translate3d(-2%, 1%, 0);
}

.studio-light-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 214, 107, 0.12);
  box-shadow: inset 0 0 46px rgba(255, 214, 107, 0.08);
}

.studio-light-sweep::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -28%;
  width: 8%;
  background: rgba(255, 238, 188, 0.09);
  filter: blur(12px);
  transform: rotate(14deg);
  animation: studio-light-pass 8.5s ease-in-out infinite;
}

@keyframes studio-light-pass {
  0%, 16% { translate: 0 0; opacity: 0; }
  34% { opacity: 0.72; }
  56%, 100% { translate: 760% 0; opacity: 0; }
}

/* Living Memories is represented by the real keepsake-camera relationship. */
.memory-portal-core {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #120912;
}

.memory-portal-core::after {
  content: none;
}

.memory-portal-core > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.9) contrast(1.04) brightness(0.94);
  transform: scale(1.02);
  transition: transform 850ms cubic-bezier(0.16, 0.76, 0.2, 1), object-position 850ms cubic-bezier(0.16, 0.76, 0.2, 1), filter 520ms ease;
}

.memory-portal[data-memory-state="camera"] .memory-portal-core > img {
  object-position: 62% 58%;
  filter: saturate(0.96) contrast(1.05) brightness(1);
  transform: scale(1.11) translate3d(-2%, -1%, 0);
}

.memory-portal[data-memory-state="return"] .memory-portal-core > img {
  object-position: 38% 48%;
  filter: saturate(0.9) contrast(1.03) brightness(0.97);
  transform: scale(1.08) translate3d(2%, 0, 0);
}

.memory-focus-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 58px rgba(18, 5, 20, 0.46);
}

.memory-focus-frame::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18%;
  height: 1px;
  background: rgba(255, 214, 107, 0.42);
  box-shadow: 0 0 14px rgba(255, 214, 107, 0.34);
  animation: memory-camera-pass 6.8s ease-in-out infinite;
}

@keyframes memory-camera-pass {
  0%, 15%, 100% { translate: 0 0; opacity: 0; }
  28% { opacity: 0.72; }
  58% { translate: 0 190px; opacity: 0.22; }
  70% { translate: 0 190px; opacity: 0; }
}

/* Each Aura form now reads at a deliberately progressive physical scale. */
.farming-stage > img {
  --aura-tree-scale: 1;
  scale: 1;
  transform: scale(var(--aura-tree-scale));
  transform-origin: 50% 88%;
  transition: opacity 210ms ease, transform 560ms cubic-bezier(0.16, 0.76, 0.2, 1), filter 460ms ease;
}

.farming-stage[data-aura-stage-index="0"] > img { --aura-tree-scale: 0.7; }
.farming-stage[data-aura-stage-index="1"] > img { --aura-tree-scale: 0.78; }
.farming-stage[data-aura-stage-index="2"] > img { --aura-tree-scale: 0.84; }
.farming-stage[data-aura-stage-index="3"] > img { --aura-tree-scale: 1.24; }
.farming-stage[data-aura-stage-index="4"] > img { --aura-tree-scale: 1.04; }
.farming-stage[data-aura-stage-index="5"] > img { --aura-tree-scale: 1.09; }

.farming-stage.is-switching > img {
  opacity: 0.22;
  scale: 1;
  filter: blur(1px) brightness(0.88);
}

.farming-stage.is-energized > img {
  scale: 1;
  transform: scale(calc(var(--aura-tree-scale) + 0.018));
  filter: brightness(1.08) saturate(1.05);
}

.farming-actions > span:hover {
  background: rgba(255, 214, 107, 0.09);
  border-color: rgba(255, 214, 107, 0.5);
}

.about-content > p:not(.chapter-number) {
  color: rgba(32, 20, 44, 0.78);
}

.terms-body > header p {
  margin: 8px 0 0;
  color: rgba(255, 248, 233, 0.7);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .studio-stage,
  .memory-portal {
    width: 100%;
    max-width: 100%;
  }

  .studio-stage { min-height: 530px; }
  .studio-stage-canvas { min-height: 370px; }
  .studio-object-magazine { width: 196px; height: 266px; }
  .edition-sheet { padding: 21px; }
  .edition-sheet-front b { font-size: 30px; }
  .studio-object-polaroids { scale: 0.82; }
  .studio-object-pictures { width: 232px; height: 286px; }
  .studio-object-keychains { scale: 0.82; }
  .studio-object-documents { width: 220px; height: 280px; }

  .memory-portal {
    min-height: 535px;
    grid-template-rows: auto minmax(250px, 1fr) auto auto;
  }

  .memory-portal-core { min-height: 260px; }
  .memory-orbit-one { width: 220px; height: 220px; }
  .memory-orbit-two { width: 168px; height: 168px; }
  .memory-orbit-three { width: 112px; height: 112px; }
  .memory-portal-copy { min-height: 120px; padding: 18px; }
  .memory-portal-copy b { font-size: 18px; }

  .aurora-signals {
    margin-top: 18px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .aurora-signals span { flex: 0 0 auto; }

  .farming-stage-story { left: 12px; right: 12px; bottom: 12px; }
  .farming-stage > img { padding-bottom: 44px; }
}

@media (max-width: 400px), (max-height: 690px) and (max-width: 760px) {
  .studio-stage { min-height: 490px; }
  .studio-stage-canvas { min-height: 330px; }
  .memory-portal { min-height: 500px; }
  .memory-portal-core { min-height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* July refinement: editorial navigation and purpose-built catalogue media. */
.chapter-number {
  width: fit-content;
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.chapter-number::after {
  content: none !important;
}

.chapter-number > span {
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.chapter-number > b {
  padding-left: 11px;
  color: #716875;
  border-left: 1px solid rgba(183, 131, 32, 0.52);
  font-weight: 780;
  text-transform: none;
}

.chapter-plum .chapter-number > span,
.chapter-aurora .chapter-number > span,
.chapter-night .chapter-number > span,
.chapter-download .chapter-number > span {
  color: var(--gold);
}

.chapter-plum .chapter-number > b,
.chapter-aurora .chapter-number > b,
.chapter-night .chapter-number > b,
.chapter-download .chapter-number > b {
  color: rgba(255, 248, 233, 0.72);
  border-left-color: rgba(255, 214, 107, 0.42);
}

.catalogue-showcase {
  position: relative;
  width: min(100%, 570px);
  min-height: 620px;
  margin-inline: auto;
  overflow: hidden;
  color: #fff8e9;
  background: #160b18;
  border: 1px solid rgba(71, 2, 53, 0.18);
  border-radius: 7px;
  box-shadow: 0 30px 74px rgba(45, 20, 41, 0.22);
  isolation: isolate;
}

.catalogue-showcase::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 54%, rgba(12, 3, 12, 0.24) 76%, rgba(12, 3, 12, 0.82));
}

.catalogue-showcase-media {
  position: absolute;
  inset: 0 0 72px;
  overflow: hidden;
}

.catalogue-panel {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  align-items: end;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035) translate3d(16px, 0, 0);
  transition:
    opacity 420ms ease,
    visibility 0s linear 420ms,
    transform 760ms cubic-bezier(0.16, 0.76, 0.2, 1);
}

.catalogue-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translate3d(0, 0, 0);
  transition-delay: 0s;
}

.catalogue-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.04) brightness(0.92);
  transform: scale(1.03);
  transition: transform 7s ease-out;
}

.catalogue-panel.is-active > img {
  transform: scale(1.085);
}

.catalogue-panel[data-catalogue-panel="studio"] > img {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08) brightness(0.88);
}

.catalogue-panel figcaption {
  position: relative;
  z-index: 7;
  max-width: 460px;
  padding: 30px 28px 27px;
  display: grid;
  gap: 5px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.catalogue-panel figcaption small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
}

.catalogue-panel figcaption b {
  color: #fff8e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.08;
}

.catalogue-panel figcaption span {
  color: rgba(255, 248, 233, 0.76);
  font-size: 12px;
  line-height: 1.5;
}

.catalogue-panel-polaroids {
  background:
    radial-gradient(circle at 50% 34%, rgba(127, 44, 93, 0.54), transparent 42%),
    #210b1c;
}

.catalogue-polaroids {
  position: absolute;
  inset: 5% 8% 24%;
}

.catalogue-polaroids img {
  position: absolute;
  top: 5%;
  width: 58%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.42));
  transition: transform 760ms cubic-bezier(0.16, 0.76, 0.2, 1);
}

.catalogue-polaroids img:first-child {
  left: 4%;
  transform: rotate(-8deg) translate3d(-10px, 12px, 0);
}

.catalogue-polaroids img:last-child {
  right: 2%;
  transform: rotate(8deg) translate3d(10px, -4px, 0);
}

.catalogue-panel.is-active .catalogue-polaroids img:first-child {
  transform: rotate(-6deg) translate3d(0, 4px, 0);
}

.catalogue-panel.is-active .catalogue-polaroids img:last-child {
  transform: rotate(6deg) translate3d(0, 0, 0);
}

.catalogue-showcase-tabs {
  position: absolute;
  z-index: 12;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(17, 6, 16, 0.96);
  border-top: 1px solid rgba(255, 214, 107, 0.22);
}

.catalogue-showcase-tabs button {
  min-width: 0;
  padding: 10px 8px;
  color: rgba(255, 248, 233, 0.58);
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255, 214, 107, 0.12);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  transition: color 180ms ease, background-color 180ms ease;
}

.catalogue-showcase-tabs button:last-child {
  border-right: 0;
}

.catalogue-showcase-tabs button.is-selected,
.catalogue-showcase-tabs button:hover,
.catalogue-showcase-tabs button:focus-visible {
  color: var(--gold);
  background: rgba(255, 214, 107, 0.08);
}

.catalogue-showcase-tabs button:focus-visible,
.studio-tabs button:focus-visible,
.memory-state-tabs button:focus-visible,
.starter-row button:focus-visible,
.growth-path button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}

.memory-focus-frame {
  inset: 7%;
  border: 1px solid rgba(255, 214, 107, 0.28);
  box-shadow:
    inset 0 0 54px rgba(18, 5, 20, 0.34),
    0 0 0 999px rgba(10, 2, 10, 0.04);
  background:
    linear-gradient(var(--gold), var(--gold)) left top / 25px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left top / 2px 25px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 25px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 2px 25px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 25px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 2px 25px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 25px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 2px 25px no-repeat;
}

.memory-focus-frame::after {
  left: 4%;
  right: 4%;
  top: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 245, 206, 0.88), var(--gold), rgba(255, 245, 206, 0.88), transparent);
  box-shadow: 0 0 12px rgba(255, 214, 107, 0.68);
  animation: memory-viewfinder-pass 5.8s cubic-bezier(0.45, 0.08, 0.28, 0.98) infinite;
}

@keyframes memory-viewfinder-pass {
  0%, 14% { top: 10%; opacity: 0; }
  24% { opacity: 0.86; }
  72% { top: 88%; opacity: 0.72; }
  82%, 100% { top: 88%; opacity: 0; }
}

.chapter-copy,
.chapter-copy .text-link,
.catalogue-showcase-tabs,
.studio-tabs,
.memory-state-tabs,
.starter-row,
.growth-path,
.button-row {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

/* Keep long-running Aura particles continuous while chapters exchange focus. */
.has-js .chapter:not(.is-active) .landing-aura-dust span {
  animation-play-state: running !important;
}

.is-page-hidden .chapter .landing-aura-dust span {
  animation-play-state: paused !important;
}

@media (max-width: 760px) {
  .chapter-number {
    margin-bottom: 18px;
  }

  .catalogue-showcase {
    min-height: 540px;
  }

  .catalogue-panel figcaption {
    padding: 26px 20px 22px;
  }

  .catalogue-panel figcaption b {
    font-size: 23px;
  }

  .catalogue-showcase-tabs {
    min-height: 64px;
  }

  .memory-focus-frame {
    inset: 5%;
  }
}

@media (max-width: 400px), (max-height: 690px) and (max-width: 760px) {
  .catalogue-showcase {
    min-height: 480px;
  }
}

/* Premium feature worlds: Printing Studio, Living Memories, Gift Chats and Aura Farming. */
.feature-scene {
  --scene-enter-y: 24px;
  isolation: isolate;
}

.feature-scene-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.feature-scene-brand i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 214, 107, 0.09), 0 0 18px rgba(255, 214, 107, 0.7);
  animation: feature-status-pulse 2.8s ease-in-out infinite;
}

.has-js .feature-scene > * {
  opacity: 0;
  translate: 0 var(--scene-enter-y);
  transition:
    opacity 680ms ease,
    translate 820ms cubic-bezier(0.16, 0.76, 0.2, 1);
}

.has-js .chapter.is-active .feature-scene > * {
  opacity: 1;
  translate: 0 0;
}

.has-js .chapter.is-active .feature-scene > *:nth-child(2) { transition-delay: 90ms; }
.has-js .chapter.is-active .feature-scene > *:nth-child(3) { transition-delay: 160ms; }
.has-js .chapter.is-active .feature-scene > *:nth-child(4) { transition-delay: 230ms; }
.has-js .chapter.is-active .feature-scene > *:nth-child(5) { transition-delay: 300ms; }
.has-js .chapter.is-active .feature-scene > *:nth-child(6) { transition-delay: 370ms; }

@keyframes feature-status-pulse {
  0%, 100% { opacity: 0.56; scale: 0.86; }
  48% { opacity: 1; scale: 1; }
}

/* Printing Studio becomes a layered format deck instead of a framed illustration. */
#printing {
  background-color: #52023d;
  background-image:
    linear-gradient(rgba(255, 214, 107, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 107, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}

.studio-stage {
  overflow: visible;
  background: #170712;
  box-shadow:
    0 34px 90px rgba(11, 1, 9, 0.5),
    0 0 0 1px rgba(255, 214, 107, 0.07);
}

.studio-stage::before,
.studio-stage::after {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
  border: 1px solid rgba(255, 214, 107, 0.16);
  background: rgba(29, 7, 24, 0.68);
}

.studio-stage::before {
  inset: 22px -17px -17px 22px;
}

.studio-stage::after {
  inset: 43px -32px -30px 43px;
  opacity: 0.42;
}

.studio-stage-head {
  overflow: hidden;
  background: rgba(18, 5, 16, 0.94);
}

.studio-stage-canvas {
  min-height: 440px;
  isolation: isolate;
  background: #12070f;
}

.studio-stage-canvas::before {
  content: "";
  z-index: 0;
  inset: 8%;
  border: 1px solid rgba(255, 214, 107, 0.11);
}

.studio-stage-canvas > img {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: scale(1.045);
  filter: saturate(0.96) contrast(1.05) brightness(0.9);
}

.chapter.is-active .studio-stage-canvas > img {
  animation: studio-art-breathe 10s ease-in-out infinite;
}

.studio-stage[data-studio-mode="polaroids"] .studio-stage-canvas > img,
.studio-stage[data-studio-mode="pictures"] .studio-stage-canvas > img {
  transform: scale(1.095) translate3d(2%, -1%, 0);
}

.studio-stage[data-studio-mode="keychains"] .studio-stage-canvas > img,
.studio-stage[data-studio-mode="documents"] .studio-stage-canvas > img {
  transform: scale(1.095) translate3d(-2%, 1%, 0);
}

@keyframes studio-art-breathe {
  0%, 100% { filter: saturate(0.96) contrast(1.05) brightness(0.9); }
  50% { filter: saturate(1.04) contrast(1.07) brightness(0.98); }
}

.studio-depth-frame {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 214, 107, 0.2);
}

.studio-depth-frame-one {
  inset: 7% 7% 11%;
}

.studio-depth-frame-two {
  inset: 12% 12% 16%;
  border-color: rgba(255, 248, 233, 0.1);
}

.studio-format-cloud {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

.studio-format-cloud span {
  position: absolute;
  padding: 7px 9px;
  color: rgba(255, 248, 233, 0.54);
  background: rgba(18, 5, 16, 0.7);
  border: 1px solid rgba(255, 214, 107, 0.18);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  font-size: 7px;
  font-weight: 900;
  opacity: 0.54;
  transition:
    color 300ms ease,
    background-color 300ms ease,
    border-color 300ms ease,
    opacity 300ms ease,
    transform 560ms cubic-bezier(0.16, 0.76, 0.2, 1);
}

.studio-format-cloud span:nth-child(1) { left: 4%; top: 12%; }
.studio-format-cloud span:nth-child(2) { right: 4%; top: 20%; }
.studio-format-cloud span:nth-child(3) { left: 5%; top: 52%; }
.studio-format-cloud span:nth-child(4) { right: 4%; top: 61%; }
.studio-format-cloud span:nth-child(5) { right: 8%; top: 38%; }

.studio-stage[data-studio-mode="magazine"] [data-format-chip="magazine"],
.studio-stage[data-studio-mode="polaroids"] [data-format-chip="polaroids"],
.studio-stage[data-studio-mode="pictures"] [data-format-chip="pictures"],
.studio-stage[data-studio-mode="keychains"] [data-format-chip="keychains"],
.studio-stage[data-studio-mode="documents"] [data-format-chip="documents"] {
  color: #170712;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(9, 1, 8, 0.34);
  opacity: 1;
  transform: translateY(-4px);
}

.studio-stage-status {
  position: absolute;
  z-index: 7;
  left: 18px;
  right: 18px;
  bottom: 17px;
  min-height: 58px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  color: #fff8e9;
  background: rgba(18, 5, 16, 0.76);
  border: 1px solid rgba(255, 214, 107, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.studio-stage-status small {
  grid-column: 1 / 3;
  color: rgba(255, 248, 233, 0.58);
  font-size: 7px;
  font-weight: 850;
}

.studio-stage-status b {
  color: var(--gold);
  font-size: 12px;
}

.studio-stage-status i {
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 214, 107, 0.16);
}

.studio-stage-status i::after {
  content: "";
  width: 38%;
  height: 100%;
  display: block;
  background: var(--gold);
  animation: studio-format-progress 3.8s ease-in-out infinite;
}

.studio-stage-status span {
  grid-column: 3;
  grid-row: 1 / 3;
  color: rgba(255, 248, 233, 0.68);
  font-size: 9px;
  font-weight: 900;
}

@keyframes studio-format-progress {
  0%, 100% { translate: 0 0; }
  50% { translate: 160% 0; }
}

.studio-light-sweep {
  z-index: 6;
}

.studio-stage-foot {
  background: #170712;
}

/* Living Memories uses a camera HUD that responds to the three real states. */
#memories {
  background-color: #f7f2fa;
  background-image:
    linear-gradient(rgba(71, 2, 53, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 2, 53, 0.02) 1px, transparent 1px);
  background-size: 68px 68px;
}

.memory-portal {
  overflow: visible;
  background: #230719;
  box-shadow:
    0 34px 88px rgba(50, 18, 46, 0.25),
    0 0 0 1px rgba(71, 2, 53, 0.08);
}

.memory-portal::before,
.memory-portal::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(71, 2, 53, 0.1);
  background: rgba(255, 255, 255, 0.52);
}

.memory-portal::before { inset: 18px -16px -16px 18px; }
.memory-portal::after { inset: 38px -28px -28px 38px; opacity: 0.48; }

.memory-portal-head {
  background: #2b0820;
}

.memory-portal-core {
  min-height: 390px;
  isolation: isolate;
}

.memory-portal-core > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 53%;
}

.memory-camera-hud {
  position: absolute;
  z-index: 8;
  inset: 0;
  pointer-events: none;
  color: #fff8e9;
}

.memory-camera-status,
.memory-camera-mode {
  position: absolute;
  top: 14px;
  min-height: 26px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(18, 5, 16, 0.62);
  border: 1px solid rgba(255, 214, 107, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 7px;
  font-weight: 900;
}

.memory-camera-status { left: 14px; }
.memory-camera-mode { right: 14px; color: var(--gold); }

.memory-camera-status i {
  width: 6px;
  height: 6px;
  background: #8ee5bf;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(142, 229, 191, 0.8);
  animation: feature-status-pulse 2.4s ease-in-out infinite;
}

.memory-camera-focus {
  position: absolute;
  left: 50%;
  top: 57%;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 214, 107, 0.68);
  border-radius: 50%;
  translate: -50% -50%;
  opacity: 0.72;
  transition: left 720ms cubic-bezier(0.16, 0.76, 0.2, 1), top 720ms cubic-bezier(0.16, 0.76, 0.2, 1);
}

.memory-camera-focus::before,
.memory-camera-focus::after,
.memory-camera-focus i {
  content: "";
  position: absolute;
  background: rgba(255, 214, 107, 0.68);
}

.memory-camera-focus::before { left: 50%; top: -9px; width: 1px; height: 94px; }
.memory-camera-focus::after { left: -9px; top: 50%; width: 94px; height: 1px; }
.memory-camera-focus i { inset: 31px; border-radius: 50%; box-shadow: 0 0 18px rgba(255, 214, 107, 0.82); }

.memory-camera-progress {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 15px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 248, 233, 0.2);
}

.memory-camera-progress i {
  width: 42%;
  height: 100%;
  display: block;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(255, 214, 107, 0.7);
  animation: memory-progress 5.4s ease-in-out infinite;
}

@keyframes memory-progress {
  0%, 100% { translate: 0 0; }
  50% { translate: 138% 0; }
}

.memory-private-seal {
  position: absolute;
  z-index: 9;
  right: 16px;
  bottom: 26px;
  min-width: 132px;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
  color: #fff8e9;
  background: rgba(48, 7, 37, 0.78);
  border-left: 2px solid var(--gold);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(0);
  transition: transform 580ms cubic-bezier(0.16, 0.76, 0.2, 1), background-color 300ms ease;
}

.memory-private-seal span {
  color: var(--gold);
  font-size: 7px;
  font-weight: 900;
}

.memory-private-seal b {
  font-size: 10px;
}

.memory-portal[data-memory-state="camera"] .memory-camera-focus {
  left: 67%;
  top: 62%;
}

.memory-portal[data-memory-state="camera"] .memory-private-seal {
  transform: translateY(-18px);
  background: rgba(25, 83, 71, 0.82);
}

.memory-portal[data-memory-state="return"] .memory-camera-focus {
  left: 38%;
  top: 55%;
}

.memory-portal[data-memory-state="return"] .memory-camera-progress i {
  width: 100%;
  animation: none;
}

.memory-portal-copy {
  background: #2b0820;
}

/* Gift Chats uses the same depth and tactile clarity as the Gift Circle scene. */
#aurora {
  background-color: #50013d;
  background-image:
    linear-gradient(110deg, rgba(255, 214, 107, 0.025) 25%, transparent 25%, transparent 75%, rgba(255, 214, 107, 0.025) 75%);
  background-size: 84px 84px;
}

.gift-chat-scene {
  min-height: 560px;
  padding: 20px;
  overflow: visible;
  background: #170717;
  border-color: rgba(255, 214, 107, 0.44);
  box-shadow: 0 34px 90px rgba(12, 1, 10, 0.48);
}

.gift-chat-depth {
  position: absolute;
  z-index: -1 !important;
  pointer-events: none;
  border: 1px solid rgba(255, 214, 107, 0.15);
  background: rgba(24, 7, 24, 0.6);
}

.gift-chat-depth-one { inset: 18px -15px -14px 18px; }
.gift-chat-depth-two { inset: 38px -27px -27px 38px; }

.chapter.is-active .gift-chat-depth-two {
  opacity: 0.44;
}

.gift-chat-scene::before {
  top: 78px;
  left: 20px;
  right: 20px;
  background: linear-gradient(90deg, transparent, rgba(144, 217, 194, 0.62), transparent);
  box-shadow: 0 0 20px rgba(144, 217, 194, 0.24);
  animation-duration: 6.8s;
}

.gift-chat-scene .aurora-console-head {
  grid-template-columns: auto 1fr auto;
}

.gift-chat-scene .gift-chat-avatars {
  min-width: 92px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.gift-chat-avatars img,
.gift-chat-avatars span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  object-fit: contain;
  color: #fff8e9;
  background: #81436b;
  border: 2px solid #170717;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.gift-chat-avatars img { position: relative; z-index: 3; }
.gift-chat-avatars span { margin-left: -16px; }
.gift-chat-avatars span:nth-child(2) { z-index: 2; background: #b36b6f; }
.gift-chat-avatars span:nth-child(3) { z-index: 1; background: #3d755f; }

.gift-chat-scene .aurora-console-head small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.gift-chat-scene .aurora-console-head small i {
  width: 6px;
  height: 6px;
  background: #8ee5bf;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(142, 229, 191, 0.74);
  animation: feature-status-pulse 2.4s ease-in-out infinite;
}

.gift-chat-product {
  min-height: 82px;
  margin-top: 18px;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 214, 107, 0.16);
}

.gift-chat-product img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border: 1px solid rgba(255, 214, 107, 0.32);
}

.gift-chat-product div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.gift-chat-product small {
  color: var(--gold);
  font-size: 7px;
  font-weight: 900;
}

.gift-chat-product b {
  overflow: hidden;
  color: #fff8e9;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-chat-product span {
  overflow: hidden;
  color: rgba(255, 248, 233, 0.58);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-chat-product > i {
  color: var(--gold);
  font-size: 18px;
  font-style: normal;
}

.gift-chat-scene .conversation {
  min-height: 190px;
  margin: 8px 0 0;
  display: grid;
  align-content: center;
  gap: 12px;
}

.message-row {
  display: grid;
  align-items: end;
  gap: 6px;
}

.message-row-user {
  justify-items: end;
}

.message-row-user small {
  color: rgba(255, 248, 233, 0.46);
  font-size: 8px;
}

.message-row-aurora {
  grid-template-columns: 32px minmax(0, 1fr);
}

.message-row-aurora img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.gift-chat-scene .message {
  margin: 0;
}

.gift-chat-scene .message-user {
  max-width: 74%;
  color: #22101e;
  background: var(--gold);
  border: 0;
}

.gift-chat-scene .message-aurora {
  max-width: 88%;
  color: #261426;
  background: #fffaf4;
}

.gift-chat-presence {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 248, 233, 0.58);
  border-top: 1px solid rgba(255, 214, 107, 0.14);
  font-size: 8px;
  font-weight: 760;
}

.gift-chat-presence > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gift-chat-presence > span:first-child i {
  width: 6px;
  height: 6px;
  background: #8ee5bf;
  border-radius: 50%;
}

.gift-voice-note {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.gift-voice-note i {
  width: 2px;
  height: 8px;
  display: block;
  background: var(--gold);
  animation: gift-voice-wave 1.25s ease-in-out infinite;
}

.gift-voice-note i:nth-child(2) { height: 15px; animation-delay: -0.25s; }
.gift-voice-note i:nth-child(3) { height: 20px; animation-delay: -0.5s; }
.gift-voice-note i:nth-child(4) { height: 13px; animation-delay: -0.75s; }
.gift-voice-note i:nth-child(5) { height: 7px; animation-delay: -1s; }

@keyframes gift-voice-wave {
  0%, 100% { scale: 1 0.48; opacity: 0.46; }
  50% { scale: 1 1; opacity: 1; }
}

.gift-chat-scene .starter-row {
  margin-inline: -3px;
  padding-top: 4px;
}

/* Aura Farming gets a living status layer while the tree artwork remains unobstructed. */
#farming {
  background-color: #12061a;
  background-image:
    linear-gradient(rgba(255, 214, 107, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 107, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
}

.aura-stage-experience {
  overflow: visible;
}

.farming-stage {
  height: min(690px, 74svh);
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 107, 0.42);
  box-shadow:
    0 36px 92px rgba(5, 1, 9, 0.56),
    inset 0 0 70px rgba(103, 24, 127, 0.14);
  background-color: #100515;
  background-image:
    linear-gradient(rgba(255, 214, 107, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 107, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
}

.farming-stage::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 18% 8% 15%;
  pointer-events: none;
  border-left: 1px solid rgba(255, 214, 107, 0.08);
  border-right: 1px solid rgba(255, 214, 107, 0.08);
}

.farming-stage-status {
  position: absolute;
  z-index: 7;
  top: 91px;
  right: 18px;
  min-height: 29px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 248, 233, 0.7);
  background: rgba(16, 5, 21, 0.68);
  border: 1px solid rgba(255, 214, 107, 0.24);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  font-size: 7px;
  font-weight: 850;
}

.farming-stage-status i {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 13px rgba(255, 214, 107, 0.78);
  animation: feature-status-pulse 2.4s ease-in-out infinite;
}

.farming-stage-status b {
  color: var(--gold);
  font-size: 8px;
}

.farming-depth-line {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 107, 0.18), transparent);
}

.farming-depth-line-one { left: 5%; right: 5%; top: 44%; }
.farming-depth-line-two { left: 12%; right: 12%; top: 68%; opacity: 0.58; }

.farming-stage > img {
  z-index: 3;
  padding: 60px 0 46px;
  object-position: 50% 54%;
  filter: drop-shadow(0 18px 30px rgba(53, 5, 63, 0.28));
}

.farming-stage[data-aura-stage-index="0"] > img { --aura-tree-scale: 0.76; }
.farming-stage[data-aura-stage-index="1"] > img { --aura-tree-scale: 0.84; }
.farming-stage[data-aura-stage-index="2"] > img { --aura-tree-scale: 0.9; }
.farming-stage[data-aura-stage-index="3"] > img { --aura-tree-scale: 1.14; }
.farming-stage[data-aura-stage-index="4"] > img { --aura-tree-scale: 1.13; }
.farming-stage[data-aura-stage-index="5"] > img { --aura-tree-scale: 1.2; }

.chapter.is-active .farming-stage:not(.is-switching) > img {
  animation: farming-tree-breathe 7.5s ease-in-out infinite;
}

@keyframes farming-tree-breathe {
  0%, 100% { filter: drop-shadow(0 18px 30px rgba(53, 5, 63, 0.28)) brightness(1); }
  50% { filter: drop-shadow(0 22px 38px rgba(178, 78, 215, 0.32)) brightness(1.055); }
}

.farming-energy-stream {
  position: absolute;
  z-index: 5;
  left: 18%;
  right: 18%;
  bottom: 75px;
  height: 80px;
  pointer-events: none;
}

.farming-energy-stream i {
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 46px;
  background: linear-gradient(transparent, rgba(255, 214, 107, 0.88));
  filter: drop-shadow(0 0 6px rgba(255, 214, 107, 0.8));
  animation: farming-energy-rise 4.6s ease-in-out infinite;
}

.farming-energy-stream i:nth-child(1) { left: 14%; animation-delay: -1.1s; }
.farming-energy-stream i:nth-child(2) { left: 51%; height: 66px; animation-delay: -2.8s; }
.farming-energy-stream i:nth-child(3) { right: 12%; height: 38px; animation-delay: -3.7s; }

@keyframes farming-energy-rise {
  0%, 100% { translate: 0 18px; scale: 1 0.35; opacity: 0; }
  30% { opacity: 0.72; }
  70% { translate: 0 -14px; scale: 1 1; opacity: 0.48; }
}

.farming-stage-story {
  background: rgba(16, 5, 21, 0.78);
  box-shadow: 0 14px 36px rgba(4, 1, 8, 0.28);
}

.farming-actions > span {
  position: relative;
  overflow: hidden;
}

.farming-actions > span::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: rgba(255, 214, 107, 0.14);
}

.farming-actions > span:nth-child(1)::before,
.farming-actions > span:nth-child(2)::before,
.farming-actions > span:nth-child(3)::before {
  position: absolute;
  right: 10px;
  top: 9px;
  color: rgba(255, 214, 107, 0.36);
  font-size: 26px;
  font-weight: 900;
}

.farming-actions > span:nth-child(1)::before { content: "01"; }
.farming-actions > span:nth-child(2)::before { content: "02"; }
.farming-actions > span:nth-child(3)::before { content: "03"; }

.growth-path button {
  position: relative;
  overflow: hidden;
}

.growth-path button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 420ms cubic-bezier(0.16, 0.76, 0.2, 1);
}

.growth-path button.is-selected::after {
  right: 0;
}

@media (hover: hover) {
  .studio-stage:hover .studio-stage-canvas > img {
    filter: saturate(1.05) contrast(1.06) brightness(0.98);
  }

  .memory-portal:hover .memory-private-seal {
    transform: translateY(-8px);
  }

  .gift-chat-product:hover {
    border-bottom-color: rgba(255, 214, 107, 0.42);
  }

  .farming-stage:hover .farming-stage-status {
    border-color: rgba(255, 214, 107, 0.52);
  }
}

@media (max-width: 760px) {
  #printing,
  #aurora {
    background-size: 56px 56px;
  }

  .studio-stage,
  .memory-portal,
  .gift-chat-scene,
  .aura-stage-experience {
    width: calc(100% - 12px);
  }

  .studio-stage::before,
  .memory-portal::before,
  .gift-chat-depth-one {
    inset: 14px -8px -10px 14px;
  }

  .studio-stage::after,
  .memory-portal::after,
  .gift-chat-depth-two {
    display: none;
  }

  .studio-stage {
    min-height: 520px;
  }

  .studio-stage-head,
  .memory-portal-head {
    min-height: 52px;
    padding-inline: 14px;
  }

  .feature-scene-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .studio-stage-canvas {
    min-height: 350px;
  }

  .studio-format-cloud span {
    padding: 6px 7px;
    font-size: 6px;
  }

  .studio-format-cloud span:nth-child(3),
  .studio-format-cloud span:nth-child(5) {
    display: none;
  }

  .studio-stage-status {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .studio-stage-foot {
    min-height: 76px;
    padding-inline: 14px;
  }

  .studio-stage-foot b {
    max-width: 238px;
  }

  .memory-portal {
    min-height: 560px;
  }

  .memory-portal-core {
    min-height: 320px;
  }

  .memory-camera-status,
  .memory-camera-mode {
    top: 10px;
    min-height: 24px;
    padding-inline: 7px;
  }

  .memory-camera-status { left: 10px; }
  .memory-camera-mode { right: 10px; }

  .memory-private-seal {
    right: 12px;
    bottom: 19px;
  }

  .memory-portal-copy {
    min-height: 116px;
    padding: 17px;
  }

  .gift-chat-scene {
    min-height: 530px;
    padding: 15px;
  }

  .gift-chat-scene .aurora-console-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .gift-chat-scene .aurora-console-head > small {
    grid-column: 2;
    margin-top: -11px;
  }

  .gift-chat-avatars {
    min-width: 82px;
  }

  .gift-chat-avatars img,
  .gift-chat-avatars span {
    width: 42px;
    height: 42px;
  }

  .gift-chat-product {
    grid-template-columns: 54px minmax(0, 1fr) auto;
  }

  .gift-chat-product img {
    width: 54px;
    height: 54px;
  }

  .gift-chat-scene .conversation {
    min-height: 176px;
  }

  .gift-chat-scene .message-user {
    max-width: 84%;
  }

  .gift-chat-scene .message-aurora {
    max-width: 100%;
  }

  .farming-stage {
    height: min(620px, 150vw);
    min-height: 520px;
  }

  .farming-stage-status {
    top: 86px;
    right: 12px;
  }

  .farming-stage > img {
    padding: 64px 0 50px;
  }

  .farming-stage[data-aura-stage-index="3"] > img { --aura-tree-scale: 1.08; }
  .farming-stage[data-aura-stage-index="4"] > img { --aura-tree-scale: 1.09; }
  .farming-stage[data-aura-stage-index="5"] > img { --aura-tree-scale: 1.14; }

  .farming-stage-story {
    bottom: 10px;
  }
}

@media (max-width: 400px), (max-height: 690px) and (max-width: 760px) {
  .studio-stage {
    min-height: 480px;
  }

  .studio-stage-canvas {
    min-height: 315px;
  }

  .memory-portal {
    min-height: 520px;
  }

  .memory-portal-core {
    min-height: 280px;
  }

  .memory-private-seal {
    min-width: 118px;
  }

  .gift-chat-scene {
    min-height: 500px;
  }

  .gift-chat-scene .conversation {
    min-height: 154px;
  }

  .farming-stage {
    height: min(560px, 148vw);
    min-height: 480px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-js .feature-scene > * {
    opacity: 1;
    translate: 0 0;
  }
}

/* Refined feature scenes: content-led motion without scanning lines. */
#printing,
#memories,
#aurora,
#farming {
  background-image: none;
}

.studio-stage,
.memory-portal,
.gift-chat-scene,
.aura-stage-experience {
  width: min(100%, 510px);
}

/* Printing Studio */
.studio-stage {
  min-height: 0;
  overflow: hidden;
  background: #170712;
  border: 1px solid rgba(255, 214, 107, 0.42);
  border-radius: 7px;
  box-shadow: 0 28px 70px rgba(11, 1, 9, 0.38);
}

.studio-stage::before,
.studio-stage::after,
.studio-depth-frame,
.studio-light-sweep {
  content: none;
  display: none;
}

.studio-stage-head,
.memory-portal-head {
  min-height: 54px;
  padding: 0 17px;
  background: #210819;
}

.studio-stage-canvas {
  min-height: 392px;
  overflow: hidden;
  background: #12070f;
}

.studio-stage-canvas::before,
.studio-stage-canvas::after {
  content: none;
}

.studio-stage-canvas > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.025);
  filter: saturate(0.98) contrast(1.04) brightness(0.88);
  transition: transform 620ms cubic-bezier(0.16, 0.76, 0.2, 1), filter 420ms ease;
}

.chapter.is-active .studio-stage-canvas > img {
  animation: none;
}

.studio-stage[data-studio-mode="polaroids"] .studio-stage-canvas > img,
.studio-stage[data-studio-mode="pictures"] .studio-stage-canvas > img {
  transform: scale(1.055) translate3d(1%, -0.5%, 0);
}

.studio-stage[data-studio-mode="keychains"] .studio-stage-canvas > img,
.studio-stage[data-studio-mode="documents"] .studio-stage-canvas > img {
  transform: scale(1.055) translate3d(-1%, 0.5%, 0);
}

.studio-image-shade {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 3, 12, 0.08) 35%, rgba(15, 3, 12, 0.72) 100%);
}

.studio-format-dock {
  position: absolute;
  z-index: 6;
  top: 20px;
  right: 16px;
  width: 116px;
  display: grid;
  gap: 6px;
  pointer-events: none;
}

.studio-format-dock span {
  min-height: 32px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  color: rgba(255, 248, 233, 0.66);
  background: rgba(18, 5, 16, 0.72);
  border: 1px solid rgba(255, 214, 107, 0.17);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 7px;
  font-weight: 900;
  opacity: 0.7;
  transition: color 240ms ease, background-color 240ms ease, border-color 240ms ease, opacity 240ms ease, transform 360ms ease;
}

.studio-stage[data-studio-mode="magazine"] [data-format-chip="magazine"],
.studio-stage[data-studio-mode="polaroids"] [data-format-chip="polaroids"],
.studio-stage[data-studio-mode="pictures"] [data-format-chip="pictures"],
.studio-stage[data-studio-mode="keychains"] [data-format-chip="keychains"],
.studio-stage[data-studio-mode="documents"] [data-format-chip="documents"] {
  color: #210819;
  background: var(--gold);
  border-color: var(--gold);
  opacity: 1;
  transform: translateX(-6px);
  box-shadow: 0 8px 24px rgba(10, 1, 8, 0.3);
}

.studio-stage-status {
  left: 16px;
  right: 150px;
  bottom: 16px;
  min-height: 62px;
  padding: 11px 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  background: rgba(18, 5, 16, 0.82);
  border: 1px solid rgba(255, 214, 107, 0.34);
  border-radius: 5px;
}

.studio-stage-status small {
  grid-column: 1;
}

.studio-stage-status b {
  grid-column: 1;
  font-size: 13px;
}

.studio-stage-status i {
  display: none;
}

.studio-stage-status span {
  grid-column: 2;
  grid-row: 1 / 3;
}

.studio-stage-foot {
  min-height: 82px;
  padding: 14px 17px;
  background: #210819;
}

/* Living Memories */
.memory-portal {
  min-height: 0;
  overflow: hidden;
  background: #230719;
  border: 1px solid rgba(71, 2, 53, 0.18);
  border-radius: 7px;
  box-shadow: 0 28px 66px rgba(50, 18, 46, 0.2);
}

.memory-portal::before,
.memory-portal::after,
.memory-focus-frame,
.memory-camera-focus,
.memory-camera-progress {
  content: none;
  display: none;
}

.memory-portal-core {
  min-height: 374px;
  overflow: hidden;
}

.memory-portal-core::after {
  content: none;
}

.memory-portal-core > img {
  object-position: 50% 52%;
  transform: scale(1.01);
  transition: transform 720ms cubic-bezier(0.16, 0.76, 0.2, 1), filter 420ms ease;
}

.memory-portal[data-memory-state="camera"] .memory-portal-core > img {
  transform: scale(1.045) translate3d(-1.5%, 0, 0);
}

.memory-portal[data-memory-state="return"] .memory-portal-core > img {
  transform: scale(1.035) translate3d(1%, -0.5%, 0);
}

.memory-image-shade {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 2, 10, 0.12), transparent 52%, rgba(13, 2, 10, 0.42));
}

.memory-camera-status,
.memory-camera-mode {
  top: 13px;
  min-height: 27px;
  border-radius: 4px;
}

.memory-lens-glow {
  position: absolute;
  left: 67%;
  top: 61%;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 214, 107, 0.72);
  border-radius: 50%;
  background: rgba(255, 214, 107, 0.16);
  box-shadow: 0 0 0 9px rgba(255, 214, 107, 0.07), 0 0 22px rgba(255, 214, 107, 0.5);
  transform: translate(-50%, -50%);
  transition: left 620ms cubic-bezier(0.16, 0.76, 0.2, 1), top 620ms cubic-bezier(0.16, 0.76, 0.2, 1), scale 360ms ease;
}

.memory-portal[data-memory-state="camera"] .memory-lens-glow {
  left: 72%;
  top: 59%;
  scale: 1.18;
}

.memory-portal[data-memory-state="return"] .memory-lens-glow {
  left: 61%;
  top: 64%;
  scale: 0.88;
}

.memory-private-seal {
  right: 14px;
  bottom: 14px;
  min-width: 150px;
  padding: 11px 13px;
  background: rgba(39, 6, 30, 0.86);
  border: 1px solid rgba(255, 214, 107, 0.25);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  transform: none;
}

.memory-portal[data-memory-state="camera"] .memory-private-seal,
.memory-portal[data-memory-state="return"] .memory-private-seal,
.memory-portal:hover .memory-private-seal {
  transform: none;
}

.memory-portal-copy {
  min-height: 116px;
  padding: 17px 19px;
  background: #2b0820;
}

.memory-portal-copy b {
  font-size: 19px;
}

.memory-state-tabs {
  min-height: 58px;
  padding: 7px;
  gap: 6px;
  background: #210719;
  border-top: 1px solid rgba(255, 214, 107, 0.14);
}

.memory-state-tabs button {
  min-height: 42px;
  padding: 7px 6px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.memory-state-tabs button.is-selected,
.memory-state-tabs button:hover,
.memory-state-tabs button:focus-visible {
  background: rgba(255, 214, 107, 0.11);
  border-color: rgba(255, 214, 107, 0.36);
  box-shadow: none;
}

.memory-flow {
  width: 100%;
  max-width: 510px;
  margin: 22px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 7px;
  overflow: visible;
}

.memory-flow > i {
  display: none;
}

.memory-flow > span {
  min-width: 0;
  min-height: 48px;
  padding: 8px 9px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.25;
}

/* Gift Chats */
.gift-chat-scene {
  min-height: 0;
  padding: 18px;
  overflow: hidden;
  background: #170717;
  border: 1px solid rgba(255, 214, 107, 0.42);
  border-radius: 7px;
  box-shadow: 0 28px 72px rgba(12, 1, 10, 0.4);
}

.aurora-console::before,
.gift-chat-scene::before,
.gift-chat-depth {
  content: none;
  display: none;
}

.gift-chat-scene .aurora-console-head {
  min-height: 68px;
  padding-bottom: 13px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  border-bottom: 1px solid rgba(255, 214, 107, 0.15);
}

.gift-chat-avatars {
  min-width: 80px;
}

.gift-chat-avatars img,
.gift-chat-avatars span {
  width: 42px;
  height: 42px;
}

.gift-chat-product {
  min-height: 76px;
  margin-top: 11px;
  padding: 9px 0;
}

.gift-chat-product img {
  width: 56px;
  height: 56px;
  border-radius: 4px;
}

.gift-chat-scene .conversation {
  min-height: 158px;
  margin-top: 4px;
  gap: 10px;
}

.gift-chat-scene .message {
  line-height: 1.42;
}

.gift-chat-scene .message-user {
  max-width: 78%;
}

.gift-chat-scene .message-aurora {
  max-width: min(86%, 350px);
}

.gift-chat-presence {
  min-height: 38px;
}

.gift-chat-scene .starter-row {
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  overflow: visible;
}

.gift-chat-scene .starter-row button {
  min-width: 0;
  min-height: 36px;
  padding: 6px 5px;
  grid-column: span 2;
  white-space: normal;
  line-height: 1.1;
  text-align: center;
  border-radius: 4px;
  font-size: 8px;
}

.gift-chat-scene .starter-row button:nth-child(4),
.gift-chat-scene .starter-row button:nth-child(5) {
  grid-column: span 3;
}

/* Aura Farming */
.aura-stage-experience {
  overflow: hidden;
  border-radius: 7px;
}

.farming-stage {
  height: 486px;
  min-height: 0;
  overflow: hidden;
  background: #100515;
  border: 1px solid rgba(255, 214, 107, 0.42);
  border-radius: 7px;
  box-shadow: 0 28px 72px rgba(5, 1, 9, 0.5);
}

.farming-stage::before,
.farming-stage::after,
.farming-depth-line,
.farming-energy-stream {
  content: none;
  display: none;
}

.farming-stage-head {
  top: 14px;
  left: 14px;
  right: 14px;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 5px;
}

.farming-stage-status {
  top: 81px;
  right: 14px;
  min-height: 27px;
  border-radius: 4px;
}

.farming-stage > img {
  width: 100%;
  height: 100%;
  padding: 54px 0 54px;
  object-fit: contain;
  object-position: 50% 55%;
  transform: scale(var(--aura-tree-scale, 1));
  transform-origin: 50% 61%;
  filter: drop-shadow(0 18px 30px rgba(53, 5, 63, 0.28));
}

.farming-stage[data-aura-stage-index="0"] > img { --aura-tree-scale: 0.72; }
.farming-stage[data-aura-stage-index="1"] > img { --aura-tree-scale: 0.8; }
.farming-stage[data-aura-stage-index="2"] > img { --aura-tree-scale: 0.88; }
.farming-stage[data-aura-stage-index="3"] > img { --aura-tree-scale: 1; }
.farming-stage[data-aura-stage-index="4"] > img { --aura-tree-scale: 1.05; }
.farming-stage[data-aura-stage-index="5"] > img { --aura-tree-scale: 1.12; }

.chapter.is-active .farming-stage:not(.is-switching) > img {
  animation: farming-tree-glow 7.5s ease-in-out infinite;
}

@keyframes farming-tree-glow {
  0%, 100% {
    filter: drop-shadow(0 18px 30px rgba(53, 5, 63, 0.28)) brightness(1);
  }
  50% {
    filter: drop-shadow(0 21px 34px rgba(178, 78, 215, 0.3)) brightness(1.045);
  }
}

.farming-energy-motes {
  position: absolute;
  z-index: 5;
  left: 20%;
  right: 20%;
  bottom: 82px;
  height: 88px;
  pointer-events: none;
}

.farming-energy-motes i {
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 214, 107, 0.72);
  animation: farming-mote-float 6.8s ease-in-out infinite;
}

.farming-energy-motes i:nth-child(1) { left: 7%; animation-delay: -1.1s; }
.farming-energy-motes i:nth-child(2) { left: 29%; width: 3px; height: 3px; animation-delay: -4.2s; }
.farming-energy-motes i:nth-child(3) { left: 52%; animation-delay: -2.7s; }
.farming-energy-motes i:nth-child(4) { right: 25%; width: 4px; height: 4px; animation-delay: -5.4s; }
.farming-energy-motes i:nth-child(5) { right: 5%; width: 3px; height: 3px; animation-delay: -3.5s; }

@keyframes farming-mote-float {
  0%, 100% { translate: 0 8px; opacity: 0.18; }
  45% { translate: 7px -14px; opacity: 0.72; }
  70% { translate: -5px -24px; opacity: 0.38; }
}

.farming-stage-story {
  left: 14px;
  right: 14px;
  bottom: 13px;
  min-height: 61px;
  border-radius: 5px;
}

.farming-actions {
  width: 100%;
  max-width: 510px;
  margin: 24px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  overflow: visible;
}

.farming-actions > span {
  min-width: 0;
  min-height: 96px;
  padding: 11px 10px;
  align-content: start;
  overflow: visible;
  line-height: 1.35;
}

.farming-actions > span::before,
.farming-actions > span::after {
  content: none !important;
  display: none;
}

.farming-actions small {
  font-size: 8px;
}

.farming-actions b {
  min-height: 30px;
  font-size: 11px;
  line-height: 1.25;
}

.growth-path {
  margin-top: 10px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  overflow: visible;
}

.growth-path button {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 8px 9px;
  border-radius: 5px;
}

.growth-path button::after {
  content: none;
}

.growth-path button b {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.memory-flow,
.farming-actions,
.growth-path {
  scrollbar-width: none;
}

.memory-flow::-webkit-scrollbar,
.farming-actions::-webkit-scrollbar,
.growth-path::-webkit-scrollbar {
  display: none;
}

@media (min-width: 761px) and (max-width: 1440px) {
  .chapter-rail {
    display: none;
  }

  .chapter-controls {
    display: none;
  }
}

@media (max-width: 760px) {
  .studio-stage,
  .memory-portal,
  .gift-chat-scene,
  .aura-stage-experience {
    width: 100%;
  }

  .studio-stage,
  .memory-portal,
  .gift-chat-scene,
  .aura-stage-experience {
    min-height: 0;
  }

  .studio-stage::before,
  .memory-portal::before,
  .gift-chat-depth-one {
    content: none;
    display: none;
  }

  .studio-stage-canvas {
    min-height: 350px;
  }

  .studio-format-dock {
    top: 14px;
    right: 12px;
    width: 104px;
    gap: 5px;
  }

  .studio-format-dock span {
    min-height: 28px;
    padding-inline: 7px;
    font-size: 6px;
  }

  .studio-stage-status {
    left: 12px;
    right: 127px;
    bottom: 12px;
  }

  .studio-stage-foot {
    min-height: 76px;
  }

  .memory-portal-core {
    min-height: 340px;
  }

  .memory-private-seal {
    right: 11px;
    bottom: 11px;
    min-width: 142px;
  }

  .memory-portal-copy {
    min-height: 108px;
  }

  .gift-chat-scene {
    padding: 14px;
  }

  .gift-chat-scene .aurora-console-head {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .gift-chat-scene .aurora-console-head > small {
    grid-column: auto;
    margin-top: 0;
  }

  .gift-chat-avatars {
    min-width: 70px;
  }

  .gift-chat-avatars img,
  .gift-chat-avatars span {
    width: 38px;
    height: 38px;
  }

  .gift-chat-product {
    grid-template-columns: 50px minmax(0, 1fr) auto;
  }

  .gift-chat-product img {
    width: 50px;
    height: 50px;
  }

  .gift-chat-scene .conversation {
    min-height: 145px;
  }

  .farming-stage {
    height: 456px;
    min-height: 0;
  }

  .farming-stage-status {
    top: 78px;
    right: 11px;
  }

  .farming-stage > img {
    padding: 52px 0 52px;
  }

  .farming-actions > span {
    min-height: 92px;
    padding: 10px 8px;
    font-size: 9px;
  }

  .farming-actions b {
    font-size: 10px;
  }

  .growth-path button {
    min-height: 55px;
    padding: 7px 8px;
  }
}

@media (max-width: 390px) {
  .studio-stage-canvas {
    min-height: 326px;
  }

  .studio-format-dock {
    width: 96px;
  }

  .studio-stage-status {
    right: 118px;
  }

  .memory-portal-core {
    min-height: 318px;
  }

  .gift-chat-scene .aurora-console-head > small {
    display: none;
  }

  .gift-chat-scene .conversation {
    min-height: 136px;
  }

  .farming-stage {
    height: 430px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .farming-stage > img,
  .farming-energy-motes i,
  .feature-scene-brand i,
  .gift-chat-scene .aurora-console-head small i,
  .memory-camera-status i {
    animation: none !important;
  }
}
