/* ==========================================================================
   方寸游戏盒 · V3 Awwwards SOTD × ReactBits 电影感多页官网设计体系
   色彩哲学：深邃曜石松影 (#090C0B) × 暖香槟鎏金 (#DFB97C) × 温润象牙瓷 (#F5EFE2)
   ========================================================================== */

:root {
  --bg-obsidian: #090c0b;
  --bg-surface: #111614;
  --bg-surface-2: #171e1b;
  --bg-glass: rgba(12, 16, 14, 0.72);
  --bg-ivory: #f4eee2;
  --bg-ivory-card: #fcf9f2;
  --ink-light: #f6f1e7;
  --ink-light-dim: rgba(246, 241, 231, 0.68);
  --ink-light-mute: rgba(246, 241, 231, 0.44);
  --ink-dark: #161c18;
  --ink-dark-dim: #525c55;
  --gold: #dfb97c;
  --gold-bright: #f2d59f;
  --gold-dim: rgba(223, 185, 124, 0.16);
  --jade: #5e9a8b;
  --terracotta: #d97754;
  --hairline: rgba(246, 241, 231, 0.11);
  --hairline-strong: rgba(246, 241, 231, 0.22);
  --hairline-dark: rgba(22, 28, 24, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --font-serif: 'Songti SC', 'Noto Serif SC', 'Source Han Serif SC', 'STSong', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Inter', 'Helvetica Neue', sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-obsidian);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-obsidian);
  color: var(--ink-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ultra-subtle cinema film grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 95;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

button,
input,
select {
  font-family: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 132px));
  margin: 0 auto;
}

/* ---------- Scroll Progress Hairline ---------- */
/* ---------- Right-Side Architectural Reading & Chapter Rail ---------- */
.scroll-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  border-radius: 999px;
  background: rgba(9, 12, 11, 0.54);
  border: 1px solid rgba(223, 185, 124, 0.22);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transition: opacity 0.35s ease, border-color 0.25s ease;
}

.scroll-rail:hover {
  border-color: rgba(223, 185, 124, 0.45);
}

[dir="rtl"] .scroll-rail {
  right: auto;
  left: 18px;
}

.scroll-rail-readout {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  line-height: 1;
  user-select: none;
}

.scroll-rail-track {
  position: relative;
  width: 2px;
  height: 112px;
  border-radius: 999px;
  background: rgba(246, 241, 231, 0.14);
}

.scroll-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  transform-origin: top center;
  transform: scaleY(0);
  background: linear-gradient(180deg, var(--jade), var(--gold), var(--terracotta));
}

.scroll-rail-bead {
  position: absolute;
  left: 50%;
  top: 0%;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #fff4dc;
  box-shadow: 0 0 10px rgba(242, 213, 159, 0.92);
  pointer-events: none;
}

.scroll-rail-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
}

.scroll-rail-dot {
  position: relative;
  width: 16px;
  height: 16px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.scroll-rail-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(246, 241, 231, 0.34);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, box-shadow 0.25s ease;
}

.scroll-rail-dot:hover::before,
.scroll-rail-dot.is-active::before {
  background: var(--gold-bright);
  transform: scale(1.45);
  box-shadow: 0 0 10px rgba(242, 213, 159, 0.85);
}

.scroll-rail-dot::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(12, 16, 15, 0.92);
  border: 1px solid rgba(223, 185, 124, 0.32);
  color: #f6f1e7;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

[dir="rtl"] .scroll-rail-dot::after {
  right: auto;
  left: calc(100% + 14px);
  transform: translateY(-50%) translateX(-6px);
}

.scroll-rail-dot:hover::after,
.scroll-rail-dot:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.scroll-rail-top {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(223, 185, 124, 0.26);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-bright);
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0.32;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.scroll-rail-top.is-ready {
  opacity: 1;
}

.scroll-rail-top:hover {
  background: rgba(223, 185, 124, 0.22);
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .scroll-rail {
    display: none;
  }
}

/* ---------- ReactBits ShinyText & SplitBlurText ---------- */
.shiny-text {
  display: inline-block;
  background: linear-gradient(
    110deg,
    rgba(223, 185, 124, 0.65) 0%,
    rgba(223, 185, 124, 0.65) 38%,
    #fff4dc 50%,
    rgba(223, 185, 124, 0.65) 62%,
    rgba(223, 185, 124, 0.65) 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shinySweep 4.8s linear infinite;
}

@keyframes shinySweep {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

.split-unit {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(18px);
  animation: splitReveal 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes splitReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.76s cubic-bezier(0.22, 1, 0.36, 1), transform 0.76s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- SpotlightCard + Specular Border ---------- */
.spotlight-card {
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
  --spot-opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}

.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--spot-opacity);
  transition: opacity 0.28s ease;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(223, 185, 124, 0.16), transparent 62%);
}

.magnet-btn {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

/* ---------- Floating Editorial Header ---------- */
.nav-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav-shell.is-scrolled,
.nav-shell.is-solid {
  background: var(--bg-glass);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom-color: var(--hairline);
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(223, 185, 124, 0.36);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-wordmark strong {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.brand-wordmark span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--ink-light-mute);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-light-dim);
  letter-spacing: 0.03em;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--ink-light);
  background: rgba(246, 241, 231, 0.08);
}

.nav-links a.is-current {
  color: var(--gold-bright);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-pill {
  appearance: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-light);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-pill);
  padding: 7px 13px;
  font-size: 12px;
  cursor: pointer;
}

.lang-pill option {
  background: #141917;
  color: #f6f1e7;
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-light);
  cursor: pointer;
  font-size: 16px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  z-index: 125;
  background: rgba(9, 12, 11, 0.97);
  backdrop-filter: blur(24px);
  padding: 24px 24px 40px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer a:not(.btn) {
  font-family: var(--font-serif);
  font-size: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-light);
}

.mobile-drawer a.is-current {
  color: var(--gold-bright);
}

.mobile-drawer-footer {
  margin-top: 20px;
  padding-top: 8px;
}

/* ---------- Buttons (Architectural Luxury) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, #e7c68b, #cfa25e);
  color: #14110b;
  box-shadow: 0 12px 32px rgba(223, 185, 124, 0.28);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f3d7a0, #dcb16e);
  box-shadow: 0 16px 40px rgba(223, 185, 124, 0.4);
}

.btn-outline {
  background: rgba(246, 241, 231, 0.05);
  color: var(--ink-light);
  border-color: var(--hairline-strong);
  backdrop-filter: blur(12px);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(223, 185, 124, 0.12);
}

.btn-dark {
  background: #161c18;
  color: #f6f1e7;
}

.btn-dark:hover {
  background: #232d27;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12.5px;
}

/* ---------- UTM Pill Strip (Subtle Top-Right Toast / Badge) ---------- */
.utm-floating-badge {
  display: none;
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 65;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(17, 22, 20, 0.84);
  border: 1px solid rgba(223, 185, 124, 0.36);
  backdrop-filter: blur(14px);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-bright);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

[dir="rtl"] .utm-floating-badge {
  left: auto;
  right: 18px;
}

.utm-floating-badge.is-visible {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   HOMEPAGE ACT I: 100svh FULL-BLEED CINEMA LANTERN-FOG HERO
   ========================================================================== */
.cinema-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 112px 0 42px;
  overflow: hidden;
  background: #070a09;
  isolation: isolate;
}

.hero-bg-stage {
  position: absolute;
  inset: -3%;
  z-index: -3;
  overflow: hidden;
  transition: transform 0.35s ease-out;
  will-change: transform;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transition: filter 0.7s ease;
  filter: saturate(1.06) brightness(0.92);
}

/* UV-Locked Water Glitter & Canal Ripples Canvas inside hero-bg-stage */
.hero-water-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Living 2.5D Diorama Layer locked to exact natural-image UV coordinates */
.hero-living-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* 1. UV-Locked Non-Clipping Sailing Boats (driven smoothly in JS) */
.living-boat {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  filter: drop-shadow(0 4px 5px rgba(10, 38, 46, 0.34));
  will-change: transform;
  transform-origin: center bottom;
}

/* 2. Breathing Rooftop Crystal Beacons */
.roof-beacon {
  position: absolute;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--b-color, #ffe49e) 0%, rgba(255, 228, 158, 0.38) 32%, transparent 72%);
  mix-blend-mode: screen;
  opacity: 0.45;
  animation: roofBreathe var(--b-dur, 4.2s) ease-in-out var(--b-delay, 0s) infinite;
}

.roof-beacon::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 48%;
  width: 18px;
  height: 66px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent 0%, var(--b-color, #ffe49e) 100%);
  filter: blur(9px);
  opacity: 0.24;
}

.cinema-hero.is-cleared .roof-beacon {
  opacity: 0.88;
}

@keyframes roofBreathe {
  0%, 100% { transform: translate(-50%, -50%) scale(0.88); opacity: 0.42; }
  50% { transform: translate(-50%, -50%) scale(1.26); opacity: 0.92; }
}

/* 3. Subtle Breathing NPCs & Companions (small vertical bob ±2.5px) */
.living-npc {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -100%);
}

.living-npc img {
  width: var(--npc-w, 34px);
  height: auto;
  filter: drop-shadow(0 3px 4px rgba(14, 24, 18, 0.32));
  animation: npcGentleBob var(--bob-dur, 3s) ease-in-out var(--bob-delay, 0s) infinite;
}

.living-npc::after {
  content: '';
  width: 68%;
  height: 5px;
  margin-top: -3px;
  border-radius: 50%;
  background: rgba(12, 22, 16, 0.34);
  filter: blur(1.5px);
}

@keyframes npcGentleBob {
  0%, 100% { transform: translateY(0px) scaleY(1); }
  50% { transform: translateY(-2.8px) scaleY(1.02); }
}

/* Interactive Lantern-Mask Fog Veil: Cursor literally illuminates the town, and clicking the lantern triggers a radial shockwave! */
.hero-lantern-veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  --lx: 50%;
  --ly: 44%;
  --lr: 290px;
  background:
    radial-gradient(
      circle var(--lr) at var(--lx) var(--ly),
      rgba(255, 224, 160, 0.06) 0%,
      rgba(10, 14, 13, 0.42) 44%,
      rgba(7, 10, 10, 0.88) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 10, 10, 0.64) 0%,
      rgba(7, 10, 10, 0.24) 36%,
      rgba(7, 10, 10, 0.58) 72%,
      #090c0b 100%
    );
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s ease;
}

/* Ghostly frosted ad-noise whispers suspended inside the dark mist (alive, cheeky dodge, shatter outward on lantern click!) */
.fog-whispers {
  position: absolute;
  inset: 88px 6vw 260px;
  z-index: 3;
  pointer-events: none;
}

.fog-whisper-chip {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(var(--dx, 0px), var(--dy, 0px));
  transition: transform 0.42s cubic-bezier(0.22, 1.4, 0.36, 1), opacity 0.7s ease, filter 0.7s ease;
}

.whisper-inner {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(16, 20, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(246, 241, 231, 0.56);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  animation: whisperFloat var(--w-dur, 5.4s) ease-in-out var(--w-delay, 0s) infinite;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.fog-whisper-chip:hover .whisper-inner {
  border-color: rgba(235, 118, 102, 0.48);
  color: rgba(255, 240, 230, 0.84);
  background: rgba(28, 18, 18, 0.72);
}

/* Variant 0: Live ticking ad countdown with subtle pulsing crimson dot */
.fog-whisper-chip[data-whisper-kind="timer"] .whisper-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e46c5c;
  box-shadow: 0 0 8px rgba(228, 108, 92, 0.85);
  animation: whisperDotPulse 1.2s ease-in-out infinite;
}

/* Variant 1: Fake × close button — subtle cheeky micro-jitter */
.fog-whisper-chip[data-whisper-kind="fake-x"] .whisper-inner {
  animation: whisperFloatJitter 4.8s ease-in-out -1.1s infinite;
}

/* Variant 2: Shake-to-redirect / weekly subscription — periodic anxious shiver + red badge dot */
.fog-whisper-chip[data-whisper-kind="shiver"] .whisper-inner {
  animation: whisperShiver 4.4s ease-in-out -0.6s infinite;
}

.fog-whisper-chip[data-whisper-kind="shiver"] .whisper-badge {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(217, 79, 64, 0.86);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  animation: whisperDotPulse 1.8s ease-in-out infinite;
}

/* Variant 3: Watch to revive — subtle glassy sheen sweep */
.fog-whisper-chip[data-whisper-kind="revive"] .whisper-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 28%, rgba(255, 238, 210, 0.14) 50%, transparent 72%);
  transform: translateX(-130%);
  animation: whisperSheen 4.6s ease-in-out 0.8s infinite;
  pointer-events: none;
}

.fog-whisper-chip.is-dodging .whisper-inner {
  border-color: rgba(235, 118, 102, 0.65);
  color: rgba(255, 232, 224, 0.92);
}

.fog-whisper-chip .w-x {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 9px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.fog-whisper-chip:hover .w-x {
  transform: rotate(90deg) scale(0.86);
  border-color: rgba(235, 118, 102, 0.6);
}

@keyframes whisperFloat {
  0%, 100% {
    transform: translate3d(0, 0px, 0) rotate(-0.8deg);
  }
  50% {
    transform: translate3d(0, -8px, 0) rotate(1.1deg);
  }
}

@keyframes whisperFloatJitter {
  0%, 100% {
    transform: translate3d(0, 0px, 0) rotate(0.6deg);
  }
  38% {
    transform: translate3d(0, -7px, 0) rotate(-0.9deg);
  }
  42% {
    transform: translate3d(4px, -8px, 0) rotate(1.5deg);
  }
  46% {
    transform: translate3d(-3px, -6px, 0) rotate(-1.2deg);
  }
  50% {
    transform: translate3d(0, -7px, 0) rotate(0deg);
  }
}

@keyframes whisperShiver {
  0%, 72%, 100% {
    transform: translate3d(0, 0px, 0) rotate(0deg);
  }
  36% {
    transform: translate3d(0, -7px, 0) rotate(-0.7deg);
  }
  76% {
    transform: translate3d(-3px, -2px, 0) rotate(-2.2deg);
  }
  80% {
    transform: translate3d(3px, -2px, 0) rotate(2.2deg);
  }
  84% {
    transform: translate3d(-2px, -1px, 0) rotate(-1.4deg);
  }
  88% {
    transform: translate3d(2px, -1px, 0) rotate(1.2deg);
  }
}

@keyframes whisperSheen {
  0%, 62% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

@keyframes whisperDotPulse {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.cinema-hero.is-cleared .fog-whisper-chip {
  opacity: 0;
  pointer-events: none;
  filter: blur(14px);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease, filter 0.7s ease;
  transform: translate(var(--wx, 80px), var(--wy, -60px)) rotate(var(--wrot, 18deg)) scale(1.65);
}

/* Golden beckoning halo when visitor tries to manually close a fake × ad */
.lantern-orb-btn.is-beckoning {
  transform: scale(1.16);
  box-shadow: 0 0 84px rgba(255, 224, 150, 0.92), 0 0 0 14px rgba(255, 224, 150, 0.18), inset 0 0 32px rgba(255, 245, 210, 0.55);
}

.cinema-hero.is-cleared .hero-lantern-veil {
  opacity: 1;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 10, 0.34) 0%,
    rgba(7, 10, 10, 0.02) 34%,
    rgba(7, 10, 10, 0.56) 64%,
    rgba(9, 12, 11, 0.94) 92%,
    #090c0b 100%
  );
}

.cinema-hero.is-cleared .hero-bg-img {
  filter: saturate(1.16) brightness(1.04);
}

/* Sculptural Centerpiece Interactive Lantern Relic (Click to shatter all fog!) */
.lantern-orb-wrap {
  position: absolute;
  top: 29%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.cinema-hero.is-cleared .lantern-orb-wrap {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.38);
}

.lantern-orb-btn {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid rgba(223, 185, 124, 0.62);
  background: radial-gradient(circle at 50% 42%, rgba(255, 235, 186, 0.34), rgba(22, 18, 12, 0.72) 72%);
  backdrop-filter: blur(12px);
  color: #fff6e0;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 0 42px rgba(223, 185, 124, 0.42), inset 0 0 22px rgba(255, 232, 178, 0.26);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.lantern-orb-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 64px rgba(242, 213, 159, 0.68), inset 0 0 28px rgba(255, 238, 196, 0.42);
}

.lantern-orb-btn::before,
.lantern-orb-btn::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(223, 185, 124, 0.36);
  animation: lanternPulse 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
}

.lantern-orb-btn::after {
  inset: -28px;
  border-style: dashed;
  border-color: rgba(223, 185, 124, 0.24);
  animation: lanternOrbit 18s linear infinite;
}

@keyframes lanternPulse {
  0% { transform: scale(0.92); opacity: 0.75; }
  70% { transform: scale(1.24); opacity: 0; }
  100% { transform: scale(1.24); opacity: 0; }
}

@keyframes lanternOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.lantern-orb-caption {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(9, 12, 11, 0.66);
  border: 1px solid rgba(223, 185, 124, 0.34);
  backdrop-filter: blur(10px);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  white-space: nowrap;
}

/* Discreet Replay Pill (appears top-right below UTM badge only AFTER fog is dispelled) */
.lantern-replay-btn {
  position: absolute;
  top: 130px;
  right: 28px;
  z-index: 6;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(9, 12, 11, 0.62);
  border: 1px solid rgba(223, 185, 124, 0.4);
  backdrop-filter: blur(12px);
  color: var(--gold-bright);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.2s;
}

.cinema-hero.is-cleared .lantern-replay-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lantern-replay-btn:hover {
  background: rgba(223, 185, 124, 0.18);
}

/* Shockwave & Burst Canvas Layer */
.hero-shockwave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* ---------- Daily Seed Live Banner & 3-Pick Recommender ---------- */
.daily-ticker-bar {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(90deg, #0d1311, #141916, #0d1311);
  padding: 16px 0;
}

.daily-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.daily-ticker-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.daily-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5bd1a3;
  box-shadow: 0 0 0 4px rgba(91, 209, 163, 0.22);
}

.daily-seed-mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gold-bright);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(223, 185, 124, 0.12);
  border: 1px solid rgba(223, 185, 124, 0.3);
}

.starter-picker-shell {
  margin-top: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-xl);
  padding: 34px;
}

.starter-result-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.starter-pick-card {
  background: var(--bg-surface-2);
  border: 1px solid rgba(223, 185, 124, 0.28);
  border-radius: 16px;
  padding: 18px;
}

.starter-pick-card strong {
  font-family: var(--font-serif);
  font-size: 19px;
  display: block;
  margin: 6px 0 4px;
  color: var(--ink-light);
}

.starter-pick-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-light-dim);
}

/* ---------- Honest FAQ Accordion ---------- */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-light);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 20px;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-light-dim);
  line-height: 1.75;
}

/* ---------- Public Roadmap Rail ---------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 900px) {
  .starter-result-row,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .lantern-orb-wrap {
    top: 24%;
  }
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Subtle poetic floating lantern hint (top-center, non-intrusive) */
.lantern-hint-pill {
  position: absolute;
  top: 98px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(9, 12, 11, 0.55);
  border: 1px solid rgba(223, 185, 124, 0.3);
  backdrop-filter: blur(14px);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-light-dim);
  z-index: 3;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.lantern-hint-pill:hover {
  border-color: var(--gold);
  background: rgba(223, 185, 124, 0.15);
  color: var(--ink-light);
}

.hero-editorial-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(9, 12, 11, 0.5);
  border: 1px solid rgba(223, 185, 124, 0.26);
  backdrop-filter: blur(10px);
}

.hero-display-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: #fffaf0;
  text-shadow: 0 14px 48px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
  font-size: clamp(16px, 1.45vw, 19px);
  color: rgba(246, 241, 231, 0.84);
  max-width: 56ch;
  margin: 0 0 34px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 52px;
}

/* Architectural Coordinate Rail at Bottom of Hero */
.hero-coord-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 241, 231, 0.16);
}

.coord-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.coord-cell strong {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.1;
  color: var(--gold-bright);
  font-weight: 700;
}

.coord-cell span {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-light-dim);
}

/* ==========================================================================
   EDITORIAL BANDS & CHAPTERS
   ========================================================================== */
.chapter {
  padding: 112px 0;
  position: relative;
}

.chapter-ivory {
  background: var(--bg-ivory);
  color: var(--ink-dark);
}

.chapter-ivory .chapter-sub {
  color: var(--ink-dark-dim);
}

.chapter-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chapter-ivory .chapter-eyebrow {
  color: #9e6b35;
}

.chapter-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.18;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.chapter-sub {
  font-size: 16.5px;
  color: var(--ink-light-dim);
  max-width: 60ch;
  margin: 0;
}

/* ---------- Act II: Zero-Ad Contrast Statement + Architectural 5-Note Sound Bar ---------- */
.manifesto-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.vows-list {
  border-top: 1px solid var(--hairline);
  margin-top: 32px;
}

.vow-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}

.vow-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
}

.vow-row h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin: 0 0 5px;
  font-weight: 700;
}

.vow-row p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-light-dim);
}

/* Architectural Ceramic Soundboard (Sculptural, NOT chunky toy buttons) */
.sound-monolith {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 34px;
}

.sound-monolith-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  gap: 12px;
}

.sound-monolith-head span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}

.sound-monolith-head strong {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.48vw, 20px);
  white-space: nowrap;
}

.pentatonic-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.tone-pillar {
  height: 168px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  color: var(--ink-light);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.2s ease, background 0.2s ease;
}

.tone-pillar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bar-h, 45%);
  background: var(--bar-color, var(--jade));
  opacity: 0.24;
  transition: opacity 0.2s ease, height 0.25s ease;
}

.tone-pillar:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.tone-pillar:hover::before,
.tone-pillar.is-ringing::before {
  opacity: 0.65;
}

.tone-pillar.is-ringing {
  border-color: var(--gold-bright);
  transform: scale(0.96);
  box-shadow: 0 0 32px rgba(223, 185, 124, 0.35);
}

.tone-pillar .t-hz {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-light-mute);
  position: relative;
  z-index: 1;
}

.tone-pillar .t-note {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.tone-pillar .t-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.spec-micro-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.spec-micro strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--gold-bright);
}

.spec-micro span {
  font-size: 11.5px;
  color: var(--ink-light-mute);
}

/* ---------- Act III: Editorial Ivory Chapter (Widescreen Hall Preview + Page Portals) ---------- */
.hall-cinema-preview {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.hall-stage-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #141816;
  box-shadow: 0 28px 64px rgba(20, 16, 10, 0.16);
}

.hall-stage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.hall-stage-frame:hover img {
  transform: scale(1.03);
}

.hall-selector-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--hairline-dark);
}

.hall-rail-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline-dark);
  padding: 15px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--ink-dark-dim);
  transition: padding-left 0.2s ease, color 0.2s ease;
}

.hall-rail-btn:hover,
.hall-rail-btn.is-active {
  padding-left: 16px;
  color: var(--ink-dark);
}

.hall-rail-btn strong {
  font-family: var(--font-serif);
  font-size: 19px;
}

.hall-rail-btn span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hall-rail-btn.is-active strong {
  color: #164433;
}

/* Three Dedicated Subpage Portal Cards */
.portals-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.portal-card {
  background: var(--bg-ivory-card);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s ease, box-shadow 0.24s ease;
}

.portal-card:hover {
  transform: translateY(-5px);
  border-color: #b78a4a;
  box-shadow: 0 22px 48px rgba(24, 20, 12, 0.1);
}

.portal-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: #9e6b35;
}

.portal-card h3 {
  font-family: var(--font-serif);
  font-size: 25px;
  margin: 10px 0 8px;
  color: var(--ink-dark);
}

.portal-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-dark-dim);
}

.portal-arrow {
  font-size: 13.5px;
  font-weight: 700;
  color: #164433;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Act IV: Fair Buyout Strip ---------- */
.buyout-banner {
  background: linear-gradient(135deg, #121815, #1b1712);
  border: 1px solid rgba(223, 185, 124, 0.24);
  border-radius: var(--radius-xl);
  padding: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 42px;
  align-items: center;
}

.buyout-tiers-mini {
  display: grid;
  gap: 12px;
}

.mini-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
}

.mini-tier-row.is-gold {
  border-color: rgba(223, 185, 124, 0.52);
  background: rgba(223, 185, 124, 0.08);
}

.mini-tier-row strong {
  font-family: var(--font-serif);
  font-size: 17px;
  display: block;
}

.mini-tier-row small {
  font-size: 12.5px;
  color: var(--ink-light-dim);
}

.mini-tier-price {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--gold-bright);
}

/* ==========================================================================
   SUBPAGE SHARED HERO & EDITORIAL MODULES
   ========================================================================== */
.subpage-hero {
  padding: 138px 0 56px;
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 60% 55% at 82% 10%, rgba(223, 185, 124, 0.14), transparent 62%),
    radial-gradient(ellipse 55% 55% at 12% 20%, rgba(94, 154, 139, 0.12), transparent 60%),
    var(--bg-obsidian);
}

.subpage-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.14;
  margin: 0 0 16px;
}

.subpage-hero p {
  font-size: 16.5px;
  color: var(--ink-light-dim);
  max-width: 64ch;
  margin: 0;
}

/* Shared Dark Cards & Grids */
.dark-card {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.dark-card:hover {
  border-color: rgba(223, 185, 124, 0.42);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* Filter Pills & Inputs (Dark Obsidian) */
.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-btn {
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-light-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.pill-btn:hover {
  border-color: var(--gold);
  color: var(--ink-light);
}

.pill-btn.is-active {
  background: var(--gold);
  color: #14110b;
  border-color: var(--gold);
}

.dark-input,
.dark-select {
  background: var(--bg-surface-2);
  color: var(--ink-light);
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
}

.dark-input::placeholder {
  color: var(--ink-light-mute);
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-light-dim);
  border: 1px solid var(--hairline);
}

.tag-chip.gold {
  background: rgba(223, 185, 124, 0.14);
  color: var(--gold-bright);
  border-color: rgba(223, 185, 124, 0.35);
}

.tag-chip.jade {
  background: rgba(94, 154, 139, 0.16);
  color: #8fd2c0;
  border-color: rgba(94, 154, 139, 0.35);
}

/* ---------- Play Studio 2048 Board ---------- */
.play-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.board-shell {
  background: #141a17;
  border: 1px solid rgba(223, 185, 124, 0.24);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  touch-action: none;
  user-select: none;
}

.board-grid-2048 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 10px;
  aspect-ratio: 1 / 1;
}

.tile-cell {
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 30px);
  background: rgba(255, 255, 255, 0.045);
  color: #f6f1e7;
  transition: transform 0.14s ease, background 0.16s ease;
}

.tile-cell.v2 { background: #f6f0e4; color: #2b251f; }
.tile-cell.v4 { background: #eadbc3; color: #2b251f; }
.tile-cell.v8 { background: #e3a776; color: #19130c; }
.tile-cell.v16 { background: #dc8152; color: #fffdf8; }
.tile-cell.v32 { background: #cd6240; color: #fffdf8; }
.tile-cell.v64 { background: #b24833; color: #fffdf8; }
.tile-cell.v128 { background: #5e9a8b; color: #fffdf8; }
.tile-cell.v256 { background: #3b7f6e; color: #fffdf8; }
.tile-cell.v512 { background: #1e4d3b; color: #fffdf8; }
.tile-cell.v1024 { background: #c59b5f; color: #14110b; font-size: 22px; }
.tile-cell.v2048 { background: linear-gradient(135deg, #f3d79e, #c89852); color: #14110b; font-size: 22px; box-shadow: 0 0 24px rgba(223, 185, 124, 0.6); }

.tile-cell.pop {
  animation: tilePop 0.18s ease;
}

@keyframes tilePop {
  0% { transform: scale(0.84); }
  65% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

.dpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 46px);
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.dpad-btn {
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--hairline-strong);
  background: var(--bg-surface-2);
  color: var(--ink-light);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.dpad-btn:hover {
  border-color: var(--gold);
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.kpi-box {
  background: var(--bg-surface-2);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 13px;
}

.kpi-box span {
  display: block;
  font-size: 11px;
  color: var(--ink-light-mute);
}

.kpi-box strong {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--gold-bright);
}

.mono-box {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-light-dim);
  background: rgba(255, 255, 255, 0.035);
  border: 1px dashed var(--hairline-strong);
  border-radius: 12px;
  padding: 11px 14px;
  word-break: break-all;
}

.status-banner {
  border-radius: 14px;
  padding: 15px;
  margin-top: 14px;
  font-size: 13.5px;
}

.status-banner.ok {
  background: rgba(94, 154, 139, 0.14);
  border: 1px solid rgba(94, 154, 139, 0.45);
}

.status-banner.err {
  background: rgba(217, 119, 84, 0.14);
  border: 1px solid rgba(217, 119, 84, 0.45);
}

/* ---------- Pricing Gear Cards ---------- */
.gear-visual {
  height: 124px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 60%, rgba(223, 185, 124, 0.18), transparent 72%), rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0 16px;
}

.gear-visual img {
  height: 106px;
  width: auto;
  object-fit: contain;
}

.perk-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 20px;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-light-dim);
}

.perk-list li {
  display: flex;
  gap: 8px;
}

.perk-list li::before {
  content: '✦';
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- Press / Storyboard Pre ---------- */
.copy-pre {
  white-space: pre-wrap;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-light-dim);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0;
  max-height: 220px;
  overflow-y: auto;
}

/* ---------- Modal & Toast ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(5, 7, 6, 0.72);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-panel {
  width: min(560px, 100%);
  background: #131816;
  border: 1px solid var(--hairline-strong);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.6);
  max-height: 88vh;
  overflow-y: auto;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-head h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 0;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #f6f1e7;
  color: #14110b;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  z-index: 210;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Architectural Minimal Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: #070a09;
  padding: 56px 0 48px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--hairline);
}

.footer-nav-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--ink-light-dim);
  padding: 4px 0;
  transition: color 0.18s;
}

.footer-col a:hover {
  color: var(--ink-light);
}

.footer-compliance {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.age-chip {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: linear-gradient(135deg, #277d53, #195538);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.footer-meta {
  flex: 1;
  min-width: 260px;
  font-size: 12px;
  color: var(--ink-light-mute);
  line-height: 1.75;
}

.footer-meta p {
  margin: 0 0 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .manifesto-split,
  .hall-cinema-preview,
  .buyout-banner,
  .play-studio-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .portals-grid,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: grid;
    place-items: center;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .brand-wordmark span,
  .nav-desktop-cta {
    display: none;
  }
  .brand-mark img {
    width: 34px;
    height: 34px;
  }
  .nav-right {
    gap: 8px;
  }
  .lang-pill {
    max-width: 118px;
    padding: 6px 10px;
    font-size: 11px;
    text-overflow: ellipsis;
  }
  .cinema-hero {
    min-height: 100svh;
  }
  .lantern-orb-wrap {
    top: 22%;
  }
  .lantern-orb-btn {
    width: 76px;
    height: 76px;
  }
  .lantern-orb-caption {
    font-size: 10px;
    padding: 4px 10px;
  }
  .fog-whispers {
    inset: 78px 12px auto;
    height: 190px;
  }
  .whisper-inner {
    font-size: 9.5px;
    padding: 4px 9px;
    gap: 5px;
  }
  .fog-whisper-chip[data-whisper-kind="shiver"],
  .fog-whisper-chip[data-whisper-kind="revive"] {
    display: none;
  }
  .hero-editorial-content {
    padding-top: 230px;
    padding-bottom: 34px;
  }
  .hero-display-title {
    font-size: clamp(32px, 9.2vw, 44px);
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .btn {
    padding: 11px 16px;
    font-size: 13px;
  }
  .hero-coord-rail,
  .kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portals-grid,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .buyout-banner,
  .modes-showcase,
  .companions-showcase,
  .journey-showcase {
    padding: 22px 18px;
  }
  .chapter {
    padding: 62px 0;
  }
  .sound-monolith {
    padding: 20px;
  }
  .tone-pillar {
    height: 124px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .split-unit,
  .reveal-up,
  .shiny-text {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* ---------- Arabic RTL Polish (مرسى الشروق · MENA Edition) ---------- */
[dir="rtl"] {
  --font-serif: "Geeza Pro", "SF Arabic", "Cairo", "Tajawal", "Noto Sans Arabic", "PingFang SC", serif;
  --font-sans: "SF Arabic", "Geeza Pro", "Cairo", "Tajawal", "Noto Sans Arabic", system-ui, sans-serif;
}

[dir="rtl"] body {
  letter-spacing: 0;
}

[dir="rtl"] .chapter-eyebrow,
[dir="rtl"] .hero-kicker,
[dir="rtl"] .brand-wordmark span {
  letter-spacing: 0.02em;
}

[dir="rtl"] .hero-kicker {
  background: rgba(9, 12, 11, 0.74);
  color: #f4d7a0;
  border-color: rgba(223, 185, 124, 0.45);
}

[dir="rtl"] .hero-headline {
  max-width: 100%;
  line-height: 1.24;
}

[dir="rtl"] .hero-coord-cell strong {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* ---------- Interactive 5-Mode Gameplay Showcase ---------- */
.modes-showcase {
  background: linear-gradient(155deg, rgba(22, 28, 25, 0.92), rgba(14, 18, 16, 0.96));
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 32px;
}

.modes-showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
}

.modes-stage {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
  align-items: stretch;
  background: rgba(9, 12, 11, 0.56);
  border: 1px solid rgba(223, 185, 124, 0.2);
  border-radius: 18px;
  padding: 24px;
}

.modes-stage-lead {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.modes-stage-lead h4 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 6px 0 8px;
  color: var(--ink-light);
}

.modes-stage-lead p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-light-dim);
}

.modes-proof-grid {
  display: grid;
  gap: 10px;
}

.modes-proof-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 13px 15px;
}

.modes-proof-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--gold-bright);
  margin-bottom: 3px;
}

.modes-proof-item span {
  font-size: 12.5px;
  color: var(--ink-light-dim);
  line-height: 1.5;
}

/* ---------- Living Seaside Companions Showcase (Ivory Chapter) ---------- */
.companions-showcase {
  margin-top: 44px;
  padding: 30px;
  border-radius: 24px;
  background: #fbf7ef;
  border: 1px solid rgba(22, 28, 24, 0.12);
  box-shadow: 0 18px 40px rgba(22, 28, 24, 0.06);
}

.companions-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.postbox-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 16px;
  background: #f2eadb;
  border: 1px solid rgba(197, 155, 95, 0.35);
  color: #2f4a3f;
  font-size: 12.5px;
  font-weight: 600;
}

.postbox-badge img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.companions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.companion-card {
  text-align: start;
  cursor: pointer;
  padding: 18px 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1.5px solid rgba(22, 28, 24, 0.1);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.companion-card:hover,
.companion-card.is-active {
  transform: translateY(-4px);
  border-color: #c59b5f;
  box-shadow: 0 14px 28px rgba(22, 28, 24, 0.1);
}

.companion-sprite-wrap {
  height: 92px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 62%, rgba(223, 185, 124, 0.24), rgba(246, 241, 231, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.companion-sprite-wrap img {
  height: 78px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.companion-card:hover .companion-sprite-wrap img,
.companion-card.is-active .companion-sprite-wrap img {
  transform: scale(1.09) translateY(-3px);
}

.companion-card strong {
  font-family: var(--font-serif);
  font-size: 17px;
  color: #161c18;
  display: block;
}

.companion-card .comp-trait {
  font-size: 11.5px;
  font-weight: 700;
  color: #2c7a5c;
}

.companion-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #525c55;
}

/* ---------- World Page 4-Stage Journey Showcase ---------- */
.journey-showcase {
  background: linear-gradient(155deg, rgba(22, 28, 25, 0.92), rgba(14, 18, 16, 0.96));
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 30px;
}

.journey-stage {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px;
  align-items: center;
  background: rgba(9, 12, 11, 0.56);
  border: 1px solid rgba(223, 185, 124, 0.22);
  border-radius: 18px;
  padding: 22px;
}

.journey-visual {
  height: 200px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 65%, rgba(223, 185, 124, 0.22), rgba(11, 15, 13, 0.92));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.journey-visual img {
  max-height: 176px;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 960px) {
  .modes-stage,
  .journey-stage {
    grid-template-columns: 1fr;
  }
  .companions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .companions-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Desktop 5P Fullpage Precision Fit + Smart Inner Scroll (>1040px & >=660px height) ---------- */
@media (min-width: 1041px) and (min-height: 660px) {
  body.home-4p .cinema-hero {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
  }

  body.home-4p .home-slide {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
    padding: 76px 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.home-4p .home-slide::-webkit-scrollbar {
    display: none;
  }

  /* P2: Daily Ticker + Zero-Ad Vows × Pentatonic Sound Monolith */
  body.home-4p #secCraft {
    padding-top: 72px;
    justify-content: space-between;
  }

  body.home-4p #secCraft .daily-ticker-bar {
    padding: 9px 0;
  }

  body.home-4p .p2-craft-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.home-4p #secCraft .manifesto-split {
    gap: 36px;
    align-items: stretch;
  }

  body.home-4p #secCraft .chapter-title {
    font-size: clamp(28px, 3vw, 40px);
    margin-bottom: 10px;
  }

  body.home-4p #secCraft .chapter-sub {
    font-size: 14.5px;
    margin-bottom: 18px;
  }

  body.home-4p #secCraft .vows-list {
    margin-top: 8px;
  }

  body.home-4p #secCraft .vow-row {
    padding: 13px 0;
  }

  /* P3: 5 Complete Modes Explorer × 3 Signature Differentiators */
  body.home-4p .p3-modes-wrap {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  body.home-4p #secModes .modes-showcase {
    padding: 26px 28px;
    border-radius: 22px;
  }

  body.home-4p #secModes .modes-showcase-head {
    margin-bottom: 18px;
  }

  body.home-4p #secModes .modes-stage {
    padding: 20px 22px;
  }

  body.home-4p .p3-highlights-grid .dark-card {
    padding: 20px 22px;
  }

  body.home-4p .p3-highlights-grid h3 {
    font-size: 18px !important;
    margin: 10px 0 6px !important;
  }

  body.home-4p .p3-highlights-grid p {
    font-size: 13px !important;
  }

  /* P4: Ivory Sanctuary — 6 Halls + 4 Seaside Companions */
  body.home-4p .p3-sanctuary-wrap {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  body.home-4p .p3-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
  }

  body.home-4p .p3-header-row .chapter-title {
    font-size: clamp(26px, 2.7vw, 36px);
    margin-bottom: 4px;
  }

  body.home-4p .p3-header-row .chapter-sub {
    font-size: 13.5px;
    margin: 0;
  }

  body.home-4p #secSanctuary .portals-grid {
    display: flex;
    gap: 10px;
    margin-top: 0;
    flex-shrink: 0;
  }

  body.home-4p #secSanctuary .portal-card {
    padding: 10px 14px;
    border-radius: 14px;
    min-height: 0;
    gap: 4px;
  }

  body.home-4p #secSanctuary .portal-card .portal-num,
  body.home-4p #secSanctuary .portal-card p {
    display: none;
  }

  body.home-4p #secSanctuary .portal-card h3 {
    font-size: 13.5px;
    margin: 0;
  }

  body.home-4p #secSanctuary .portal-card .portal-arrow {
    font-size: 11px;
  }

  body.home-4p #secSanctuary .hall-cinema-preview {
    margin-top: 0;
    gap: 22px;
    align-items: center;
  }

  body.home-4p #secSanctuary .hall-stage-frame {
    max-height: 295px;
    aspect-ratio: 16 / 9;
  }

  body.home-4p #secSanctuary .hall-rail-item {
    padding: 10px 4px;
  }

  body.home-4p #secSanctuary .hall-rail-item strong {
    font-size: 16px;
  }

  body.home-4p #secSanctuary .companions-showcase {
    margin-top: 0;
    padding: 16px 20px;
    border-radius: 20px;
  }

  body.home-4p #secSanctuary .companions-head {
    margin-bottom: 12px;
  }

  body.home-4p #secSanctuary .companion-card {
    padding: 11px 12px;
    gap: 6px;
    border-radius: 14px;
  }

  body.home-4p #secSanctuary .companion-sprite-wrap {
    height: 62px;
  }

  body.home-4p #secSanctuary .companion-sprite-wrap img {
    height: 54px;
  }

  body.home-4p #secSanctuary .companion-card strong {
    font-size: 14.5px;
  }

  body.home-4p #secSanctuary .companion-card p {
    font-size: 11.5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* P4 (Final): Clean 3-Page Portals + Fair Buyout + Unclipped Footer */
  body.home-4p .home-slide-final {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow-x: clip;
    overflow-y: visible;
    padding: 82px 0 0;
    justify-content: space-between;
  }

  body.home-4p .p4-pick-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
  }

  body.home-4p #secPick .starter-picker-shell {
    padding: 16px 22px;
    margin: 0;
  }

  body.home-4p #secPick .starter-result-row {
    margin-top: 10px;
    gap: 12px;
  }

  body.home-4p #secPick .starter-pick-card {
    padding: 11px 14px;
  }

  body.home-4p #secPick .starter-pick-card strong {
    font-size: 15.5px;
    margin: 3px 0 2px;
  }

  body.home-4p #secPick .starter-pick-card p {
    font-size: 11.8px;
    line-height: 1.42;
  }

  body.home-4p #secPick .buyout-banner {
    padding: 20px 26px;
    gap: 22px;
  }

  body.home-4p #secPick .buyout-banner .chapter-title {
    font-size: clamp(20px, 2.2vw, 28px);
    margin-bottom: 6px;
  }

  body.home-4p #secPick .buyout-banner .chapter-sub {
    font-size: 13px;
    margin-bottom: 14px !important;
  }

  body.home-4p #secPick .mini-tier-row {
    padding: 9px 13px;
  }

  body.home-4p #secPick .site-footer {
    padding: 14px 0 12px;
    margin-top: 0;
  }

  body.home-4p #secPick .footer-grid {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  body.home-4p #secPick .footer-col h4 {
    margin-bottom: 4px;
    font-size: 10px;
  }

  body.home-4p #secPick .footer-col a {
    font-size: 11.5px;
    margin-bottom: 3px;
  }

  body.home-4p #secPick .footer-compliance {
    gap: 10px;
  }

  body.home-4p #secPick .footer-meta {
    font-size: 10.5px;
    line-height: 1.42;
  }
}

/* ---------- World Page 4P Fullpage Presentation + Smart Inner Scroll ---------- */
.world-story-slide {
  padding-top: 112px;
  padding-bottom: 54px;
}

.world-fp-h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.4vw, 56px);
  margin: 0 0 12px;
  line-height: 1.12;
}

.world-fp-sub {
  margin: 0 0 28px;
  max-width: 70ch;
  font-size: 15.5px;
  color: var(--ink-light-dim);
  line-height: 1.7;
}

.world-journey-wrap,
.world-roadmap-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.world-manifesto-card {
  padding: 36px;
  border-left: 3px solid var(--gold);
}

@media (min-width: 1041px) and (min-height: 660px) {
  body.world-fp .fp-slide {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
    padding: 78px 0 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.world-fp .fp-slide::-webkit-scrollbar {
    display: none;
  }

  body.world-fp .world-story-slide {
    padding-top: 84px;
    padding-bottom: 24px;
  }

  body.world-fp .world-fp-h1 {
    font-size: clamp(32px, 3.6vw, 48px);
    margin-bottom: 8px;
  }

  body.world-fp .world-fp-sub {
    font-size: 14.5px;
    margin-bottom: 22px;
  }

  body.world-fp .world-prologue-grid .hall-stage-frame {
    max-height: 410px;
  }

  body.world-fp #worldSecHalls .hall-stage-frame {
    max-height: 420px;
  }

  body.world-fp .world-journey-wrap {
    gap: 18px;
  }

  body.world-fp #worldSecJourney .journey-showcase {
    padding: 20px 24px;
  }

  body.world-fp #worldSecJourney .journey-stage {
    padding: 16px 18px;
    grid-template-columns: 200px 1fr;
    gap: 20px;
  }

  body.world-fp #worldSecJourney .journey-visual {
    height: 158px;
  }

  body.world-fp #worldSecJourney .journey-visual img {
    max-height: 140px;
  }

  body.world-fp #worldScenariosGrid .dark-card {
    padding: 16px 18px;
    gap: 10px !important;
  }

  body.world-fp #worldScenariosGrid h3 {
    font-size: 16.5px !important;
    margin: 4px 0 6px !important;
  }

  body.world-fp #worldScenariosGrid p {
    font-size: 12.2px !important;
    line-height: 1.5;
  }

  body.world-fp .fp-slide-final {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow-x: clip;
    overflow-y: visible;
    padding: 80px 0 0;
    justify-content: space-between;
  }

  body.world-fp .world-roadmap-wrap {
    flex: 1;
    justify-content: center;
    gap: 16px;
  }

  body.world-fp .world-manifesto-card {
    padding: 22px 28px;
  }

  body.world-fp .world-manifesto-card h2 {
    font-size: clamp(20px, 2.2vw, 26px) !important;
    margin-bottom: 10px !important;
  }

  body.world-fp .world-manifesto-card p {
    font-size: 13px !important;
    line-height: 1.55;
  }

  body.world-fp #worldRoadmapGrid .dark-card {
    padding: 16px 18px;
  }

  body.world-fp #worldRoadmapGrid h3 {
    font-size: 16.5px !important;
    margin: 8px 0 5px !important;
  }

  body.world-fp #worldRoadmapGrid p {
    font-size: 12px !important;
    line-height: 1.5;
  }

  body.world-fp #worldSecRoadmap .site-footer {
    padding: 14px 0 12px;
    margin-top: 0;
  }

  body.world-fp #worldSecRoadmap .footer-grid {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  body.world-fp #worldSecRoadmap .footer-col h4 {
    margin-bottom: 4px;
    font-size: 10px;
  }

  body.world-fp #worldSecRoadmap .footer-col a {
    font-size: 11.5px;
    margin-bottom: 3px;
  }

  body.world-fp #worldSecRoadmap .footer-meta {
    font-size: 10.5px;
    line-height: 1.42;
  }
}

/* ---------- 20 Watercolor Guardian Mascot Cards (games.html & world.html) ---------- */
.game-new-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(223, 185, 124, 0.28), rgba(217, 119, 84, 0.24));
  border: 1px solid rgba(223, 185, 124, 0.56);
  color: #fff2d6;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.game-card-hero-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.game-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.game-app-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.game-atlas-card:hover .game-app-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.44);
}

.game-mode-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-light-mute);
}

.game-card-desc {
  margin: 11px 0 0;
  font-size: 13px;
  color: var(--ink-light-dim);
  min-height: 54px;
  line-height: 1.62;
}

.game-card-lower {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-card-tags-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.game-companion-perch {
  position: relative;
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--m-accent, #dfb97c) 26%, transparent), transparent 74%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: -4px;
}

.game-companion-perch img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.38));
}

.game-atlas-card:hover .game-companion-perch {
  transform: translateY(-5px) scale(1.09);
}

.game-companion-tag {
  position: absolute;
  bottom: -2px;
  inset-inline-end: -2px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(14, 19, 16, 0.88);
  border: 1px solid color-mix(in srgb, var(--m-accent, #dfb97c) 55%, rgba(255, 255, 255, 0.16));
  color: var(--gold-bright);
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}

.game-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 11px;
  border-top: 1px solid var(--hairline);
}

.game-companion-caption {
  font-size: 11.5px;
  color: var(--gold-bright);
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-mascot-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: radial-gradient(circle at 12% 50%, color-mix(in srgb, var(--m-accent, #dfb97c) 22%, transparent), rgba(255, 255, 255, 0.03) 72%);
  border: 1px solid color-mix(in srgb, var(--m-accent, #dfb97c) 38%, rgba(255, 255, 255, 0.1));
}

.modal-mascot-banner img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ---------- Editorial Persona Stories (Real Player Voices & Soft-Article Cards) ---------- */
.persona-card {
  text-align: start;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.persona-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 185, 124, 0.56);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.persona-quote-hook {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ink-light);
  line-height: 1.42;
  margin: 4px 0 6px;
}

.persona-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-bright);
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

.story-modal-body {
  display: grid;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-light-dim);
  margin-bottom: 18px;
}

.story-modal-body p {
  margin: 0;
}

.story-modal-rec {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(94, 154, 139, 0.12);
  border: 1px solid rgba(94, 154, 139, 0.32);
  font-size: 12.5px;
  color: #9be0cc;
  margin-bottom: 16px;
}

/* ---------- Companion / 20-Mascot Dual Switcher on Homepage P4 ---------- */
.eco-tab-group {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: #ede5d4;
  border: 1px solid rgba(22, 28, 24, 0.1);
}

.eco-tab-btn {
  border: 0;
  background: transparent;
  color: #525c55;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.eco-tab-btn.is-active {
  background: #161c18;
  color: #f6f1e7;
}

.world-hall-game-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 7px;
  border-radius: 12px;
  background: #fcf9f2;
  border: 1px solid rgba(22, 28, 24, 0.16);
  font-size: 12.5px;
  font-weight: 600;
  color: #161c18;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.world-hall-game-pill:hover {
  border-color: #c59b5f;
  transform: translateY(-1px);
}

.world-hall-game-pill img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.roadmap-ship-thumb {
  float: right;
  width: 66px;
  height: 66px;
  object-fit: contain;
  margin: -6px 0 4px 10px;
}

[dir="rtl"] .roadmap-ship-thumb {
  float: left;
  margin: -6px 10px 4px 0;
}

/* Keep the 2.5D harbor canvas & UV coordinates spatially identical in RTL */
[dir="rtl"] .hero-stage-bg,
[dir="rtl"] .hero-living-layer,
[dir="rtl"] .board-shell,
[dir="rtl"] .dpad-grid {
  direction: ltr;
}

[dir="rtl"] .mono-box,
[dir="rtl"] #utmOutput {
  direction: ltr;
  text-align: left;
}

[dir="rtl"] #worldManifestoBox {
  border-left: 1px solid var(--hairline) !important;
  border-right: 3px solid var(--gold) !important;
}


/* ==========================================================================
   COVE JOURNAL (stories.html) — Editorial Soft-Article Hub & Swipeable Deck
   ========================================================================== */
.mood-pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.mood-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-light-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mood-pill:hover {
  border-color: var(--gold);
  color: var(--ink-light);
  transform: translateY(-1px);
}

.mood-pill.is-active {
  background: linear-gradient(135deg, #f0cf93, #d2a15a);
  color: #14110b;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(223, 185, 124, 0.28);
}

.mood-count {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.72;
}

.story-featured-hero {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  min-height: 444px;
  background: var(--bg-surface);
  border: 1px solid rgba(223, 185, 124, 0.28);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.36);
}

.story-featured-media {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: 60%;
  min-height: 444px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}

.story-featured-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 48%;
  filter: brightness(0.95) contrast(1.04) saturate(1.05);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.story-featured-media:hover > img {
  transform: scale(1.04);
  filter: brightness(0.99) contrast(1.05) saturate(1.08);
}

.story-media-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 12, 0.08) 0%, rgba(10, 14, 12, 0.72) 100%);
  pointer-events: none;
}

.story-featured-media .story-media-veil {
  background:
    radial-gradient(ellipse at 36% 48%, transparent 48%, rgba(12, 16, 14, 0.3) 100%),
    linear-gradient(
      90deg,
      rgba(16, 22, 19, 0.1) 0%,
      rgba(16, 22, 19, 0) 12%,
      rgba(16, 22, 19, 0) 56%,
      rgba(17, 23, 20, 0.4) 71%,
      rgba(17, 23, 20, 0.84) 85%,
      var(--bg-surface) 98%
    );
}

[dir="rtl"] .story-featured-media .story-media-veil {
  background:
    radial-gradient(ellipse at 64% 48%, transparent 48%, rgba(12, 16, 14, 0.3) 100%),
    linear-gradient(
      270deg,
      rgba(16, 22, 19, 0.1) 0%,
      rgba(16, 22, 19, 0) 12%,
      rgba(16, 22, 19, 0) 56%,
      rgba(17, 23, 20, 0.4) 71%,
      rgba(17, 23, 20, 0.84) 85%,
      var(--bg-surface) 98%
    );
}

.story-featured-pin {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(14, 19, 16, 0.78);
  border: 1px solid rgba(223, 185, 124, 0.5);
  color: var(--gold-bright);
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.story-floating-mascot {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(14, 19, 16, 0.82);
  border: 1px solid rgba(223, 185, 124, 0.4);
  backdrop-filter: blur(10px);
}

.story-floating-mascot img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.story-floating-mascot span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-light);
}

.story-featured-body {
  position: relative;
  z-index: 2;
  flex: 0 0 50%;
  width: 50%;
  padding: 34px 36px 34px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(
    90deg,
    rgba(17, 23, 20, 0) 0%,
    rgba(17, 23, 20, 0.76) 11%,
    var(--bg-surface) 22%
  );
}

[dir="rtl"] .story-featured-body {
  padding: 34px 48px 34px 36px;
  background: linear-gradient(
    270deg,
    rgba(17, 23, 20, 0) 0%,
    rgba(17, 23, 20, 0.76) 11%,
    var(--bg-surface) 22%
  );
}

.story-featured-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.25;
  margin: 0 0 12px;
  cursor: pointer;
}

.story-featured-title:hover {
  color: var(--gold-bright);
}

.story-featured-quote {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-inline-start: 3px solid var(--gold);
  background: rgba(223, 185, 124, 0.06);
  border-radius: 10px;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink-light);
}

.stories-wall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.stories-wall-grid.is-grid-2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stories-wall-grid.is-grid-2x2 .story-poster-card {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  min-height: 242px;
  border-radius: 20px;
  background: var(--bg-surface);
  overflow: hidden;
}

/* Wider 4:3 Cinema Canvas (~58% width) with Silky Multi-Stop Feathered Right Edge */
.stories-wall-grid.is-grid-2x2 .story-poster-cover {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: 58%;
  aspect-ratio: auto;
  height: 100%;
  min-height: 242px;
  overflow: hidden;
  z-index: 1;
}

.stories-wall-grid.is-grid-2x2 .story-poster-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: brightness(0.93) contrast(1.05) saturate(1.06);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

/* Hand-tuned focal points per scene so key subjects stay centered & uncropped */
.stories-wall-grid.is-grid-2x2 .story-poster-card[data-story-mood="flight"] .story-poster-cover > img {
  object-position: 42% 46%;
}

.stories-wall-grid.is-grid-2x2 .story-poster-card[data-story-mood="family"] .story-poster-cover > img {
  object-position: 56% 52%;
}

.stories-wall-grid.is-grid-2x2 .story-poster-card[data-story-mood="bedtime"] .story-poster-cover > img {
  object-position: 48% 50%;
}

.stories-wall-grid.is-grid-2x2 .story-poster-card[data-story-mood="antisub"] .story-poster-cover > img {
  object-position: 46% 42%;
}

.stories-wall-grid.is-grid-2x2 .story-poster-card:hover .story-poster-cover > img {
  transform: scale(1.045);
  filter: brightness(0.98) contrast(1.06) saturate(1.1);
}

/* Soft edge vignette + silky feathered dissolve into dark card surface (no hard vertical seam!) */
.stories-wall-grid.is-grid-2x2 .story-media-veil {
  background:
    radial-gradient(ellipse at 36% 48%, transparent 46%, rgba(12, 16, 14, 0.32) 100%),
    linear-gradient(
      90deg,
      rgba(16, 22, 19, 0.14) 0%,
      rgba(16, 22, 19, 0) 14%,
      rgba(16, 22, 19, 0) 54%,
      rgba(17, 23, 20, 0.42) 72%,
      rgba(17, 23, 20, 0.86) 88%,
      var(--bg-surface) 100%
    );
}

[dir="rtl"] .stories-wall-grid.is-grid-2x2 .story-media-veil {
  background:
    radial-gradient(ellipse at 64% 48%, transparent 46%, rgba(12, 16, 14, 0.32) 100%),
    linear-gradient(
      270deg,
      rgba(16, 22, 19, 0.14) 0%,
      rgba(16, 22, 19, 0) 14%,
      rgba(16, 22, 19, 0) 54%,
      rgba(17, 23, 20, 0.42) 72%,
      rgba(17, 23, 20, 0.86) 88%,
      var(--bg-surface) 100%
    );
}

.stories-wall-grid.is-grid-2x2 .story-card-mood {
  top: 10px;
  inset-inline-start: 10px;
  font-size: 10.5px;
  padding: 3px 9px;
}

/* Tuck compact guardian medallion cleanly at bottom-start away from subject & fade edge */
.stories-wall-grid.is-grid-2x2 .story-card-mascot-mini {
  width: 38px;
  height: 38px;
  bottom: 10px;
  inset-inline-start: 10px;
  inset-inline-end: auto;
  border-radius: 11px;
  background: rgba(12, 16, 14, 0.78);
  backdrop-filter: blur(8px);
}

.stories-wall-grid.is-grid-2x2 .story-poster-content {
  position: relative;
  z-index: 2;
  flex: 0 0 52%;
  width: 52%;
  padding: 16px 18px 16px 20px;
  gap: 7px;
  justify-content: space-between;
  background: linear-gradient(
    90deg,
    rgba(17, 23, 20, 0) 0%,
    rgba(17, 23, 20, 0.82) 14%,
    var(--bg-surface) 28%
  );
}

[dir="rtl"] .stories-wall-grid.is-grid-2x2 .story-poster-content {
  background: linear-gradient(
    270deg,
    rgba(17, 23, 20, 0) 0%,
    rgba(17, 23, 20, 0.82) 14%,
    var(--bg-surface) 28%
  );
}

.stories-wall-grid.is-grid-2x2 .story-poster-content h3 {
  font-size: 16.8px;
  line-height: 1.34;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.stories-wall-grid.is-grid-2x2 .story-poster-hook {
  font-size: 12.4px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.stories-wall-grid.is-grid-2x2 .story-poster-meta {
  font-size: 11px;
  padding-top: 8px;
  margin-top: auto;
}

.stories-wall-grid.is-grid-2x2 .story-poster-actions {
  gap: 6px;
}

.stories-wall-grid.is-grid-2x2 .story-poster-actions .btn-sm {
  padding: 6px 10px;
  font-size: 11.8px;
}

@media (max-width: 1120px) {
  .stories-wall-grid.is-grid-2x2 .story-poster-card {
    min-height: 220px;
  }
  .stories-wall-grid.is-grid-2x2 .story-poster-cover {
    width: 54%;
    min-height: 220px;
  }
  .stories-wall-grid.is-grid-2x2 .story-poster-content {
    flex: 0 0 56%;
    width: 56%;
  }
}

@media (max-width: 900px) {
  .stories-wall-grid.is-grid-2x2 .story-poster-card {
    flex-direction: column;
    min-height: auto;
  }
  .stories-wall-grid.is-grid-2x2 .story-poster-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .stories-wall-grid.is-grid-2x2 .story-media-veil {
    background: linear-gradient(180deg, rgba(10, 14, 12, 0.12), rgba(10, 14, 12, 0.56));
  }
  .stories-wall-grid.is-grid-2x2 .story-poster-content {
    flex: 1;
    width: 100%;
    background: transparent;
  }
}

.story-poster-card {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.story-poster-card:hover {
  transform: translateY(-5px);
  border-color: rgba(223, 185, 124, 0.48);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.story-poster-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: pointer;
}

.story-poster-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.story-poster-card:hover .story-poster-cover > img {
  transform: scale(1.05);
}

.story-card-mood {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(12, 16, 14, 0.78);
  border: 1px solid rgba(223, 185, 124, 0.42);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.story-card-mascot-mini {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 12px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(14, 19, 16, 0.85);
  border: 1px solid rgba(223, 185, 124, 0.52);
  display: grid;
  place-items: center;
  padding: 4px;
}

.story-card-mascot-mini img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story-poster-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.story-poster-content h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.32;
  margin: 0;
  cursor: pointer;
}

.story-poster-hook {
  margin: 0;
  font-size: 13px;
  color: var(--ink-light-dim);
  line-height: 1.6;
  flex: 1;
}

.story-poster-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--ink-light-mute);
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

.story-poster-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Dual-Mode Immersive Story Reader Overlay */
.story-reader-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(5, 8, 7, 0.86);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.story-reader-backdrop.is-open {
  display: flex;
}

.story-reader-shell {
  width: min(920px, 100%);
  max-height: 92vh;
  background: #101613;
  border: 1px solid rgba(223, 185, 124, 0.28);
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.65);
}

.story-reader-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
}

.reader-mode-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline);
}

.reader-mode-btn {
  border: 0;
  background: transparent;
  color: var(--ink-light-dim);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reader-mode-btn.is-active {
  background: var(--gold);
  color: #14110b;
}

.story-reader-stage {
  flex: 1;
  overflow-y: auto;
  padding: 22px 24px 26px;
}

/* Xiaohongshu-style 3:4 Swipeable Card Deck */
.deck-viewport {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.deck-progress-bars {
  display: flex;
  gap: 6px;
  width: min(440px, 100%);
}

.deck-prog-seg {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.deck-prog-seg.is-filled {
  background: var(--gold-bright);
}

.deck-card-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;
}

.deck-nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-light);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.deck-nav-arrow:hover:not(:disabled) {
  border-color: var(--gold);
  background: rgba(223, 185, 124, 0.18);
}

.deck-nav-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.deck-slide {
  width: min(440px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(223, 185, 124, 0.36);
  background: linear-gradient(160deg, #141c18, #0d1310);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.deck-slide-cover .deck-cover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deck-cover-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 12, 0.35) 0%, rgba(10, 14, 12, 0.88) 72%, rgba(10, 14, 12, 0.96) 100%);
}

.deck-cover-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
}

.deck-cover-mascot {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  background: rgba(16, 22, 19, 0.84);
  border: 1.5px solid rgba(223, 185, 124, 0.58);
  display: grid;
  place-items: center;
  padding: 6px;
}

.deck-cover-mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.deck-cover-inner h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.28;
  margin: 0;
}

.deck-cover-quote {
  margin: 0;
  font-size: 14.5px;
  color: var(--gold-bright);
  line-height: 1.55;
}

.deck-cover-author {
  font-size: 12px;
  color: var(--ink-light-mute);
}

.deck-slide-body {
  padding: 30px 28px;
  justify-content: space-between;
}

.deck-body-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.deck-body-tag {
  font-size: 12px;
  color: #8fd2c0;
  margin-top: -12px;
}

.deck-body-text {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.85;
  color: var(--ink-light);
  margin: auto 0;
}

.deck-body-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--ink-light-mute);
}

.deck-body-foot img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.deck-slide-finale {
  padding: 28px 24px;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.deck-finale-mascot {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: radial-gradient(circle, rgba(223, 185, 124, 0.24), transparent 72%);
  border: 1px solid rgba(223, 185, 124, 0.45);
  display: grid;
  place-items: center;
  padding: 8px;
}

.deck-finale-mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.deck-finale-quote {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-light);
  white-space: pre-line;
  margin: 0;
}

.deck-hint-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(440px, 100%);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-light-mute);
}

.deck-switch-link {
  border: 0;
  background: transparent;
  color: var(--gold-bright);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

/* Resonance Button */
.btn-resonate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(223, 185, 124, 0.56);
  background: rgba(223, 185, 124, 0.14);
  color: var(--gold-bright);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-resonate:hover {
  transform: translateY(-2px);
  background: rgba(223, 185, 124, 0.24);
  box-shadow: 0 10px 26px rgba(223, 185, 124, 0.24);
}

.btn-resonate.is-resonated {
  background: var(--gold);
  color: #14110b;
}

.resonate-num {
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
}

/* Editorial Essay View */
.essay-article {
  max-width: 720px;
  margin: 0 auto;
}

.essay-cover-banner {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 22px;
}

.essay-cover-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.essay-mascot-chip {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 7px;
  border-radius: 999px;
  background: rgba(14, 19, 16, 0.85);
  border: 1px solid rgba(223, 185, 124, 0.48);
  font-size: 12px;
}

.essay-mascot-chip img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.essay-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  margin: 12px 0 8px;
}

.essay-byline {
  font-size: 12.5px;
  color: var(--ink-light-mute);
  margin-bottom: 18px;
}

.essay-pullquote {
  margin: 0 0 22px;
  padding: 14px 18px;
  border-inline-start: 3px solid var(--gold);
  background: rgba(223, 185, 124, 0.06);
  border-radius: 12px;
  font-family: var(--font-serif);
  font-size: 16.5px;
  color: var(--ink-light);
}

.essay-body {
  display: grid;
  gap: 18px;
  font-size: 16px;
  line-height: 1.88;
  color: var(--ink-light-dim);
  margin-bottom: 28px;
}

.essay-body p {
  margin: 0;
}

.story-inline-widget {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(223, 185, 124, 0.28);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-inline-widget.is-video-cta {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.story-widget-head strong {
  display: block;
  font-size: 14px;
  color: var(--gold-bright);
}

.story-widget-head span {
  font-size: 12px;
  color: var(--ink-light-mute);
}

.story-chime-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.story-chime-key {
  padding: 12px 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-light);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.16s ease;
}

.story-chime-key:hover,
.story-chime-key.is-ringing {
  border-color: var(--gold-bright);
  background: rgba(223, 185, 124, 0.2);
  transform: translateY(-2px);
}

.story-chime-key strong {
  font-family: var(--font-serif);
  font-size: 18px;
}

.story-chime-key small {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
}

.poster-preview-img {
  width: min(360px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(223, 185, 124, 0.4);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   STREAMING VIDEO SHOWCASE & INSTANT STORE HUB (play.html)
   ========================================================================== */
.video-store-hub {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.video-stage-card {
  background: #101613;
  border: 1px solid rgba(223, 185, 124, 0.26);
  border-radius: 24px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.45);
}

.video-frame-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #080c0a;
}

.showcase-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-top-badges {
  position: absolute;
  top: 12px;
  inset-inline: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.video-stream-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(10, 14, 12, 0.72);
  border: 1px solid rgba(143, 210, 192, 0.45);
  color: #9be0cc;
  font-family: var(--font-mono);
  font-size: 10.5px;
  backdrop-filter: blur(8px);
}

.video-mute-btn {
  pointer-events: auto;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(223, 185, 124, 0.56);
  background: rgba(16, 20, 18, 0.82);
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
}

.video-mute-btn:hover {
  background: rgba(223, 185, 124, 0.24);
}

.video-reel-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.video-reel-tab {
  text-align: start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-light-dim);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.2s ease;
}

.video-reel-tab strong {
  font-size: 13px;
  color: var(--ink-light);
}

.video-reel-tab span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-light-mute);
}

.video-reel-tab.is-active {
  border-color: rgba(223, 185, 124, 0.62);
  background: rgba(223, 185, 124, 0.12);
}

.store-direct-panel {
  background: linear-gradient(160deg, #131a16, #171410);
  border: 1px solid rgba(223, 185, 124, 0.28);
  border-radius: 22px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 11px;
}

.store-panel-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.store-panel-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.store-panel-head strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 17.5px;
}

.store-panel-head span {
  font-size: 11.5px;
  color: var(--ink-light-dim);
}

.store-channels-list {
  display: grid;
  gap: 8px;
}

.store-channel-row {
  width: 100%;
  text-align: start;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink-light);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-channel-row:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(223, 185, 124, 0.1);
}

.store-channel-row.is-primary {
  background: linear-gradient(135deg, rgba(223, 185, 124, 0.22), rgba(223, 185, 124, 0.08));
  border-color: rgba(223, 185, 124, 0.62);
}

.store-channel-row.is-coming-soon {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.8;
}

.store-channel-row.is-coming-soon:hover {
  transform: none;
  opacity: 0.96;
  border-color: rgba(223, 185, 124, 0.42);
  background: rgba(223, 185, 124, 0.05);
}

.store-ch-badge.is-soon {
  background: rgba(223, 185, 124, 0.16);
  border: 1px solid rgba(223, 185, 124, 0.36);
  color: var(--gold-bright);
}

.store-ch-cta.is-soon {
  color: var(--ink-light-mute);
  font-weight: 600;
}

.store-ch-icon {
  font-size: 24px;
  text-align: center;
}

.store-ch-title {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.store-ch-title strong {
  font-size: 14px;
}

.store-ch-badge {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(94, 154, 139, 0.22);
  color: #9be0cc;
  font-weight: 700;
}

.store-ch-body small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-light-dim);
  margin-top: 2px;
}

.store-ch-cta {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-bright);
  white-space: nowrap;
}

.store-qr-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(223, 185, 124, 0.34);
}

.store-qr-copy strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 3px;
}

.store-qr-copy span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-light-dim);
  line-height: 1.5;
}

.store-trust-strip {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.5px;
  color: #9be0cc;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
}

.web-demo-accordion {
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 22px;
}

.web-demo-summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.web-demo-summary::-webkit-details-marker {
  display: none;
}

.web-demo-summary strong {
  display: block;
  font-size: 15px;
  color: var(--ink-light);
}

.web-demo-summary span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-light-mute);
  margin-top: 3px;
}

.web-demo-chevron {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-bright);
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .story-featured-hero {
    flex-direction: column;
    min-height: auto;
  }
  .story-featured-media {
    position: relative;
    width: 100%;
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }
  .story-featured-media .story-media-veil {
    background: linear-gradient(180deg, rgba(10, 14, 12, 0.1) 0%, rgba(17, 23, 20, 0.85) 100%);
  }
  .story-featured-body {
    flex: 1;
    width: 100%;
    padding: 22px;
    background: transparent;
  }
  .video-store-hub {
    grid-template-columns: 1fr;
  }
  .stories-wall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .stories-wall-grid,
  .stories-wall-grid.is-grid-2x2,
  .video-reel-tabs {
    grid-template-columns: 1fr;
  }
  .deck-nav-arrow {
    display: none;
  }
  .store-channel-row {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .store-ch-cta {
    grid-column: 2;
  }
}


/* ==========================================================================
   PICK-3-FREE INTERACTIVE PLANNER & ANTI-SUBSCRIPTION BILL CARD
   ========================================================================== */
.pick3-planner {
  background: linear-gradient(150deg, rgba(20, 28, 24, 0.96), rgba(28, 22, 16, 0.96));
  border: 1px solid rgba(223, 185, 124, 0.36);
  border-radius: 22px;
  padding: 20px 22px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
}

.pick3-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pick3-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  font-weight: 700;
}

.pick3-sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--ink-light-dim);
}

.pick3-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pick3-preset-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(223, 185, 124, 0.32);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-light);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.pick3-preset-btn:hover {
  border-color: var(--gold-bright);
  background: rgba(223, 185, 124, 0.18);
  transform: translateY(-1px);
}

.pick3-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.pick3-slots-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
  min-width: 280px;
}

.pick3-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 14px;
  min-height: 54px;
}

.pick3-slot.is-empty {
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-light-mute);
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.pick3-slot.is-filled {
  border: 1px solid rgba(223, 185, 124, 0.5);
  background: rgba(223, 185, 124, 0.1);
}

.pick3-slot-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
}

.pick3-slot-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pick3-slot-meta {
  min-width: 0;
  flex: 1;
}

.pick3-slot-meta strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pick3-slot-meta small {
  display: block;
  font-size: 10.5px;
  color: var(--gold-bright);
  opacity: 0.86;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pick3-slot-rm {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-light-dim);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.pick3-slot-rm:hover {
  background: rgba(217, 119, 84, 0.35);
  color: #fff;
}

.pick3-cta-col {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-pick3-chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(223, 185, 124, 0.42);
  background: rgba(223, 185, 124, 0.08);
  color: var(--gold-bright);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-pick3-chip:hover {
  background: rgba(223, 185, 124, 0.22);
}

.btn-pick3-chip.is-picked {
  background: var(--gold);
  color: #14110b;
  border-color: var(--gold);
}

.funnel-story-bridge {
  margin-top: 34px;
  padding: 22px 26px;
  border-radius: 20px;
  border: 1px solid rgba(223, 185, 124, 0.26);
  background: linear-gradient(135deg, rgba(20, 26, 23, 0.9), rgba(26, 22, 16, 0.9));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.funnel-story-bridge h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  margin: 8px 0 0;
}

.story-rec-link {
  transition: background 0.2s ease, border-color 0.2s ease;
}

.story-rec-link:hover {
  background: rgba(94, 154, 139, 0.24);
  border-color: rgba(143, 210, 192, 0.6);
}

/* Anti-Subscription Bill Comparison Card (pricing.html) */
.anti-sub-bill-card {
  background: linear-gradient(145deg, #121815, #1b1510);
  border: 1px solid rgba(223, 185, 124, 0.34);
  border-radius: 24px;
  padding: 24px 26px;
  margin-bottom: 30px;
}

.anti-sub-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 14px;
}

.anti-sub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.12fr);
  gap: 18px;
  align-items: center;
}

.anti-sub-col {
  padding: 18px 20px;
  border-radius: 16px;
}

.anti-sub-col.is-them {
  background: rgba(217, 119, 84, 0.08);
  border: 1px solid rgba(217, 119, 84, 0.26);
}

.anti-sub-col.is-us {
  background: rgba(94, 154, 139, 0.12);
  border: 1px solid rgba(223, 185, 124, 0.48);
}

.anti-sub-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-light-dim);
  margin-bottom: 6px;
}

.anti-sub-price-them {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(18px, 2vw, 23px);
  color: #eb8f70;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  margin-bottom: 8px;
}

.anti-sub-price-us {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.2vw, 27px);
  color: var(--gold-bright);
  margin: 6px 0 8px;
}

.anti-sub-col p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-light-dim);
  line-height: 1.6;
}

.anti-sub-vs {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(223, 185, 124, 0.14);
  border: 1px solid rgba(223, 185, 124, 0.45);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
}

@media (max-width: 900px) {
  .pick3-slots-row,
  .anti-sub-grid {
    grid-template-columns: 1fr;
  }
  .anti-sub-vs {
    margin: 0 auto;
  }
}


/* Signature 6-Highlight Feature Band on games.html */
.sig-highlights-band {
  margin-bottom: 30px;
}

.sig-band-head {
  margin-bottom: 14px;
}

.sig-band-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.3vw, 26px);
  margin: 0;
}

.sig-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sig-hi-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 16px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sig-hi-card:hover {
  border-color: rgba(223, 185, 124, 0.42);
  transform: translateY(-2px);
}

.sig-hi-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.sig-hi-ico {
  font-size: 18px;
  line-height: 1;
}

.sig-hi-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.sig-hi-card h3 {
  font-family: var(--font-serif);
  font-size: 15.5px;
  margin: 0 0 5px;
  color: var(--ink-light);
}

.sig-hi-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--ink-light-dim);
}

.modal-modes-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.modal-modes-strip span {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(94, 154, 139, 0.14);
  border: 1px solid rgba(94, 154, 139, 0.34);
  color: #9be0cc;
  font-weight: 600;
}

@media (max-width: 960px) {
  .sig-band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sig-band-grid {
    grid-template-columns: 1fr;
  }
}


/* Dark-Theme Portal Cards on Slimmed Homepage P4 + World Eco Showcase + Mobile Video Fix */
.portals-grid-dark .portal-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline-strong);
  padding: 22px 24px;
  gap: 12px;
}

.portals-grid-dark .portal-card:hover {
  border-color: rgba(223, 185, 124, 0.56);
  background: rgba(223, 185, 124, 0.06);
}

.portals-grid-dark .portal-num {
  color: var(--gold);
}

.portals-grid-dark .portal-card h3 {
  color: var(--ink-light);
  font-size: 20px;
  margin: 6px 0 4px;
}

.portals-grid-dark .portal-card p {
  color: var(--ink-light-dim);
  font-size: 13px;
}

.portals-grid-dark .portal-arrow {
  color: var(--gold-bright);
}

.world-eco-shell {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 20px 22px;
}

.world-eco-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.eco-tab-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--hairline-strong);
}

.eco-tab-dark .eco-tab-btn {
  color: var(--ink-light-dim);
}

.eco-tab-dark .eco-tab-btn.is-active {
  background: var(--gold);
  color: #14110b;
}

.world-eco-card {
  padding: 14px 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.world-eco-card:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 185, 124, 0.45);
}

.world-eco-thumb {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
}

.world-eco-thumb img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.world-eco-card h4 {
  font-family: var(--font-serif);
  font-size: 15.5px;
  margin: 2px 0 0;
  color: var(--ink-light);
}

.world-eco-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-light-dim);
}

@media (max-width: 820px) {
  .wrap {
    width: calc(100% - 28px);
  }
}

@media (max-width: 680px) {
  .video-stream-pill {
    display: none;
  }
  .video-top-badges {
    justify-content: flex-end;
    top: 8px;
    inset-inline: 8px;
  }
  .video-mute-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}


/* ==========================================================================
   V4 VISUAL-FIRST CINEMA HOMEPAGE (P2 Minimal Vows · P3 Cinema Stage · P4 Poster Triptych)
   ========================================================================== */
.vows-list-minimal .vow-row {
  padding: 16px 0;
  align-items: baseline;
}

.vows-list-minimal .vow-row h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.vows-list-minimal .vow-row p {
  font-size: 13.5px;
  color: var(--ink-light-dim);
}

/* ---------- P3: Visual-First Cinema Mode Stage ---------- */
.p3-cinema-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p3-cinema-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.cinema-mode-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
  gap: 32px;
  align-items: center;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(22, 29, 26, 0.88), rgba(12, 16, 14, 0.94));
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.45);
}

@keyframes cinemaFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modeKenBurns {
  0% {
    transform: scale(1.01) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.07) translate3d(-1.2%, -0.8%, 0);
  }
  100% {
    transform: scale(1.01) translate3d(0, 0, 0);
  }
}

@keyframes mascotGentleFloat {
  0%, 100% {
    transform: translateY(0px) rotate(-1deg);
  }
  50% {
    transform: translateY(-7px) rotate(1.5deg);
  }
}

.cinema-mode-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #0b100e;
  border: 1px solid rgba(223, 185, 124, 0.24);
  animation: cinemaFadeIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mode-visual-video,
.mode-visual-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mode-visual-art {
  animation: modeKenBurns 18s ease-in-out infinite;
}

.cinema-mode-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 12, 11, 0.34) 0%, transparent 32%, transparent 62%, rgba(9, 12, 11, 0.62) 100%);
}

.cinema-mode-hud {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(10, 14, 12, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(223, 185, 124, 0.36);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cinema-mode-mascot {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 14px;
  width: 78px;
  height: 78px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
  animation: mascotGentleFloat 3.6s ease-in-out infinite;
}

.cinema-mode-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 6px 8px 6px 0;
  animation: cinemaFadeIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cinema-mode-copy h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.24;
  margin: 0;
  color: var(--ink-light);
}

.cinema-mode-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-light-dim);
}

.cinema-mode-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.cinema-micro-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(223, 185, 124, 0.09);
  border: 1px solid rgba(223, 185, 124, 0.24);
  color: var(--gold-bright);
  font-size: 12.5px;
  font-weight: 600;
}

.cinema-mode-cta {
  margin-top: 6px;
}

/* ---------- P4: Illustrated Gallery Poster Triptych + Sleek 1-Line Buyout Ribbon ---------- */
.p4-visual-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-bottom: 18px;
}

.p4-section-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.visual-portal-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.visual-portal-card {
  position: relative;
  height: clamp(235px, 31vh, 290px);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  border: 1px solid var(--hairline-strong);
  background: #101614;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.visual-portal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(223, 185, 124, 0.65);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

.visual-portal-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
  filter: saturate(1.04) brightness(0.86);
}

.visual-portal-card:hover .visual-portal-bg {
  transform: scale(1.07);
  filter: saturate(1.12) brightness(0.95);
}

.visual-portal-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 11, 0.12) 0%, rgba(9, 12, 11, 0.42) 48%, rgba(9, 12, 11, 0.92) 100%);
  pointer-events: none;
}

.visual-portal-mascot {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 66px;
  height: 66px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.visual-portal-card:hover .visual-portal-mascot {
  transform: translateY(-6px) scale(1.08) rotate(3deg);
}

.visual-portal-body {
  position: relative;
  z-index: 2;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.visual-portal-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 700;
}

.visual-portal-body h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  margin: 2px 0 0;
  color: var(--ink-light);
  line-height: 1.2;
}

.visual-portal-body p {
  margin: 0;
  font-size: 13px;
  color: rgba(246, 241, 231, 0.8);
  line-height: 1.45;
}

.visual-portal-cta {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  transition: transform 0.25s ease;
  display: inline-block;
}

.visual-portal-card:hover .visual-portal-cta {
  transform: translateX(4px);
}

.buyout-ribbon-minimal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 15px 22px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(223, 185, 124, 0.1), rgba(18, 24, 21, 0.92));
  border: 1px solid rgba(223, 185, 124, 0.3);
}

.buyout-ribbon-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.buyout-mounts-duo {
  position: relative;
  width: 68px;
  height: 46px;
  flex-shrink: 0;
}

.mount-badge-img {
  position: absolute;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(14, 19, 17, 0.9);
  border: 1px solid rgba(223, 185, 124, 0.45);
  padding: 3px;
  left: 0;
  top: 1px;
  z-index: 2;
}

.mount-badge-img.is-back {
  left: 24px;
  z-index: 1;
  opacity: 0.92;
}

.buyout-ribbon-slogan {
  display: block;
  font-family: var(--font-serif);
  font-size: 16.5px;
  color: var(--ink-light);
  margin-bottom: 6px;
}

.buyout-price-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.buyout-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--ink-light-dim);
}

.buyout-price-pill strong {
  color: var(--ink-light);
  font-family: var(--font-mono);
}

.buyout-price-pill.is-gold {
  background: rgba(223, 185, 124, 0.16);
  border-color: rgba(223, 185, 124, 0.48);
  color: var(--gold-bright);
}

.buyout-price-pill.is-gold strong {
  color: var(--gold-bright);
}

.buyout-ribbon-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 960px) {
  .cinema-mode-stage {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }
  .visual-portal-triptych {
    grid-template-columns: 1fr;
  }
  .visual-portal-card {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .cinema-mode-mascot {
    width: 58px;
    height: 58px;
  }
  .buyout-ribbon-minimal {
    padding: 16px;
  }
  .buyout-mounts-duo {
    display: none;
  }
}


/* ==========================================================================
   V4.1 HOMEPAGE P2 VISUAL AUDIO STAGE & WORLD 4P STORYBOOK MUSEUM
   ========================================================================== */

/* ---------- Homepage P2: Tactile Manifesto × Equal-Height Sound Monolith ---------- */
.p2-section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.p2-visual-split {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 36px;
  align-items: stretch;
}

.p2-left-stage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
}

.p2-hero-heading {
  font-size: clamp(32px, 3.6vw, 48px) !important;
  line-height: 1.14;
  margin: 0 !important;
}

.p2-hero-sub {
  margin: 0 !important;
  font-size: 16px !important;
  color: var(--ink-light-dim);
}

.p2-tactile-grid {
  flex: 1;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  margin-top: 0;
}

#secCraft .p2-emblem-strip {
  margin-top: 0;
}

#secCraft .sound-monolith {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 30px;
}

#secCraft .sound-monolith-head {
  margin-bottom: 18px;
}

#secCraft .pentatonic-bars {
  flex: 1;
  align-items: stretch;
  margin-bottom: 18px;
}

#secCraft .tone-pillar {
  height: 100%;
  min-height: 170px;
}

.p2-tactile-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.p2-tactile-tile:hover {
  transform: translateX(4px);
  border-color: rgba(223, 185, 124, 0.38);
  background: rgba(223, 185, 124, 0.05);
}

.p2-tactile-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, rgba(223, 185, 124, 0.22), rgba(223, 185, 124, 0.05));
  border: 1px solid rgba(223, 185, 124, 0.28);
}

.p2-tactile-tile h3 {
  font-family: var(--font-serif);
  font-size: 16.5px;
  margin: 0 0 2px;
  color: var(--ink-light);
}

.p2-tactile-tile p {
  margin: 0;
  font-size: 12.8px;
  color: var(--ink-light-dim);
}

.p2-emblem-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(223, 185, 124, 0.1), rgba(16, 22, 19, 0.86));
  border: 1px solid rgba(223, 185, 124, 0.28);
  margin-top: 2px;
}

.p2-emblem-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.p2-emblem-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.p2-emblem-meta strong {
  font-size: 13px;
  color: var(--ink-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p2-emblem-live {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.p2-countdown-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-light-mute);
}

.sound-monolith-v4 {
  position: relative;
  overflow: visible;
}

.sound-stage-wrap {
  position: relative;
}

.sound-mascot-badge {
  position: absolute;
  top: -12px;
  inset-inline-start: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  transition: transform 0.25s ease;
}

.sound-mascot-badge img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5));
}

.sound-note-spark {
  font-size: 16px;
  color: var(--gold-bright);
  opacity: 0.45;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.25s ease;
}

@keyframes mascotSingBounce {
  0% { transform: translateY(0) scale(1); }
  38% { transform: translateY(-12px) scale(1.1) rotate(-4deg); }
  70% { transform: translateY(-2px) scale(0.98) rotate(2deg); }
  100% { transform: translateY(0) scale(1); }
}

.sound-mascot-badge.is-singing {
  animation: mascotSingBounce 0.44s cubic-bezier(0.22, 1, 0.36, 1);
}

.sound-mascot-badge.is-singing .sound-note-spark {
  opacity: 1;
  transform: translateY(-22px) scale(1.3);
}

/* ---------- World P1: Full-Bleed Storybook Opening Canvas ---------- */
.world-cinema-prologue {
  position: relative;
  overflow: hidden !important;
  justify-content: flex-end !important;
  padding-top: 96px !important;
  padding-bottom: 42px !important;
}

.world-prologue-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.world-prologue-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: modeKenBurns 22s ease-in-out infinite;
  filter: saturate(1.06) brightness(0.84);
}

.world-prologue-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 12, 11, 0.62) 0%, rgba(9, 12, 11, 0.2) 34%, rgba(9, 12, 11, 0.72) 72%, rgba(9, 12, 11, 0.96) 100%);
}

.world-prologue-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.world-prologue-copy {
  max-width: 720px;
}

.world-prologue-copy .world-fp-h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  margin-bottom: 12px;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}

.world-prologue-copy .world-fp-sub {
  font-size: 16px;
  margin-bottom: 0;
  color: rgba(246, 241, 231, 0.88);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.world-glass-milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.world-glass-pill {
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(12, 17, 15, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(223, 185, 124, 0.28);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.world-glass-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 185, 124, 0.58);
}

.world-glass-pill-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
}

.world-glass-pill strong {
  font-family: var(--font-serif);
  font-size: 15.5px;
  color: var(--ink-light);
  font-weight: 600;
}

/* ---------- World P2: Ivory Halls Gallery V4 ---------- */
.world-halls-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.world-hall-stage-v4 {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) !important;
  gap: 28px !important;
  margin-top: 0 !important;
  align-items: stretch;
  min-height: 444px;
}

.world-hall-frame-v4 {
  aspect-ratio: auto;
  height: 444px;
  max-height: 444px !important;
}

.world-hall-frame-v4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.world-hall-frame-v4:hover img {
  transform: scale(1.04);
}

.world-hall-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 444px;
}

#worldHallGames {
  align-content: flex-start;
  min-height: 132px;
}

.world-curator-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 16px;
  background: #fcf9f2;
  border: 1px solid rgba(22, 28, 24, 0.12);
}

.world-curator-card img {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  object-fit: cover;
  object-position: 50% 2%;
  padding: 3px 3px 0;
  background: radial-gradient(circle at 50% 30%, rgba(223, 185, 124, 0.24), rgba(16, 22, 19, 0.92));
  border: 2px solid #c59b5f;
  flex-shrink: 0;
}

.world-curator-name {
  font-size: 13px;
  font-weight: 700;
  color: #b85f3c;
  margin-bottom: 2px;
}

.world-curator-quote {
  margin: 0;
  font-size: 12.8px;
  color: #161c18;
  font-style: italic;
  line-height: 1.5;
}

/* ---------- World P3: 3-in-1 Living Harbor Ecosystem Stage ---------- */
.world-eco-stage-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.world-eco-stage-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.world-eco-grid-v4 {
  gap: 18px;
}

.world-eco-card-v4 {
  padding: 22px 18px 20px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(24, 32, 28, 0.84), rgba(14, 19, 17, 0.94));
  border: 1px solid var(--hairline-strong);
  gap: 8px;
  animation: cinemaFadeIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) var(--card-delay, 0ms) both;
}

.world-eco-thumb-v4 {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 185, 124, 0.14) 0%, transparent 72%);
  margin-bottom: 4px;
}

.world-eco-thumb-v4 img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.world-eco-card-v4.is-mount .world-eco-thumb-v4 {
  width: 132px;
  height: 126px;
}

.world-eco-card-v4.is-mount .world-eco-thumb-v4 img {
  width: 120px;
  height: 118px;
}

.world-eco-card-v4:hover .world-eco-thumb-v4 img {
  transform: translateY(-6px) scale(1.07);
}

.world-eco-card-v4 h4 {
  font-size: 17.5px;
}

.world-eco-card-v4 p {
  font-size: 12.8px;
}

.world-eco-footbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--hairline);
}

.world-eco-promise {
  font-size: 13px;
  color: var(--gold-bright);
  font-weight: 500;
}

/* ---------- World P4: Poetic Pull-Quote Banner + 3 Visual Voyage Cards ---------- */
.world-quote-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 26px;
  border-radius: 22px;
  background: linear-gradient(125deg, rgba(223, 185, 124, 0.11), rgba(16, 22, 19, 0.92));
  border: 1px solid rgba(223, 185, 124, 0.32);
  border-inline-start: 3px solid var(--gold);
}

.world-quote-body {
  flex: 1;
  min-width: 240px;
}

.world-quote-text {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.45;
  color: var(--ink-light);
}

.world-quote-author {
  font-size: 12.5px;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}

.world-voyage-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.world-voyage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.world-voyage-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--hairline-strong);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.world-voyage-card.is-live {
  border-color: rgba(94, 154, 139, 0.56);
}

.world-voyage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 185, 124, 0.52);
}

.world-voyage-thumb {
  position: relative;
  height: 132px;
  overflow: hidden;
  background: #0d1311;
}

.world-voyage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.world-voyage-card:hover .world-voyage-thumb img {
  transform: scale(1.07);
}

.world-voyage-pill {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.world-voyage-copy {
  padding: 14px 18px 16px;
}

.world-voyage-copy h3 {
  font-family: var(--font-serif);
  font-size: 16.5px;
  margin: 0 0 5px;
  color: var(--ink-light);
}

.world-voyage-copy p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-light-dim);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .p2-visual-split,
  .world-hall-stage-v4,
  .world-glass-milestones,
  .world-voyage-grid {
    grid-template-columns: 1fr !important;
  }
  .world-hall-stage-v4,
  .world-hall-info-col {
    min-height: 0;
  }
  .world-hall-frame-v4 {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  #worldHallGames {
    min-height: 0;
  }
  .p2-emblem-strip {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .world-cinema-prologue {
    min-height: 82svh;
  }
  .world-voyage-thumb {
    height: 148px;
  }
}

/* Compact inline milestone chips inside world.html .subpage-hero */
.world-inline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.world-inline-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(223, 185, 124, 0.24);
  font-size: 12.5px;
  color: var(--ink-light-dim);
}

.world-inline-chip strong {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.06em;
}


/* ==========================================================================
   V4.2 WORLD 4P SILKY BANDS & CRAFTED-20 APP-SHELF MASTER-DETAIL STAGE
   ========================================================================== */

/* World Page: Compact Top Hero + Silky Damped 4-Stop Snap Bands */
@media (min-width: 1041px) and (min-height: 660px) {
  body.world-smooth .world-snap-band {
    min-height: 100vh;
    padding: 84px 0 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.world-smooth .world-snap-final {
    height: auto;
    min-height: 100vh;
    overflow-x: clip;
    overflow-y: visible;
    padding: 84px 0 0;
    justify-content: space-between;
  }

  body.world-smooth .world-snap-final .world-roadmap-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Crafted 20: Single-Row Innovation Pill Strip (Replaces 6-Card Prose Wall!) */
.craft-innovation-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.craft-innov-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(223, 185, 124, 0.08);
  border: 1px solid rgba(223, 185, 124, 0.24);
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 600;
}

.pick3-planner-compact {
  padding: 16px 20px;
  margin-bottom: 18px;
}

/* Crafted 20: Master-Detail App Shelf (5x4 Icons) x Living Visual Spotlight */
.games-master-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.92fr);
  gap: 22px;
  align-items: start;
}

.games-icon-shelf {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.game-shelf-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 12px 8px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--hairline);
  color: var(--ink-light);
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.game-shelf-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 185, 124, 0.45);
  background: rgba(223, 185, 124, 0.06);
}

.game-shelf-tile.is-active {
  border-color: var(--gold-bright);
  background: linear-gradient(155deg, rgba(223, 185, 124, 0.16), rgba(20, 27, 24, 0.95));
  box-shadow: 0 0 0 1px rgba(242, 213, 159, 0.35), 0 14px 28px rgba(0, 0, 0, 0.38);
}

.game-shelf-tile.is-picked {
  border-color: rgba(94, 154, 139, 0.65);
}

.game-shelf-tile.is-active.is-picked {
  border-color: var(--gold-bright);
}

.shelf-picked-check {
  position: absolute;
  top: 6px;
  inset-inline-end: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #14110b;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.shelf-new-dot {
  position: absolute;
  top: 6px;
  inset-inline-start: 6px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(217, 119, 84, 0.92);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.3;
}

.shelf-icon-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
}

.shelf-icon-wrap svg {
  width: 52px;
  height: 52px;
  display: block;
  border-radius: 13px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.32);
}

.shelf-mascot-peek {
  position: absolute;
  bottom: -4px;
  inset-inline-end: -7px;
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
  pointer-events: none;
  transition: transform 0.25s ease;
}

.game-shelf-tile:hover .shelf-mascot-peek,
.game-shelf-tile.is-active .shelf-mascot-peek {
  transform: translateY(-2px) scale(1.12);
}

.shelf-game-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-light);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.shelf-game-lv {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-light-mute);
}

/* Right-Side Living Visual Spotlight Panel */
.game-spotlight-panel {
  position: sticky;
  top: 86px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(22, 29, 26, 0.94), rgba(12, 16, 14, 0.98));
  border: 1px solid rgba(223, 185, 124, 0.34);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.spotlight-hall-banner {
  position: relative;
  height: 152px;
  overflow: hidden;
  background: #0d1311;
}

.spotlight-hall-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: modeKenBurns 18s ease-in-out infinite;
}

.spotlight-hall-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 11, 0.42) 0%, rgba(9, 12, 11, 0.16) 45%, rgba(12, 16, 14, 0.96) 100%);
}

.spotlight-hall-top {
  position: absolute;
  top: 12px;
  inset-inline: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.spotlight-mascot-float {
  position: absolute;
  bottom: 6px;
  inset-inline-end: 16px;
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.6));
  animation: mascotGentleFloat 3.6s ease-in-out infinite;
  pointer-events: none;
}

.spotlight-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: cinemaFadeIn 0.3s ease both;
}

.spotlight-id-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.spotlight-id-row h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  margin: 0 0 6px;
  color: var(--ink-light);
  line-height: 1.2;
}

.spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spotlight-innov-box {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
}

.spotlight-innov-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}

.spotlight-innov-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--ink-light-dim);
}

.spotlight-guardian-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-inline-start: 12px;
  border-inline-start: 2px solid rgba(223, 185, 124, 0.45);
}

.spotlight-guardian-line strong {
  font-size: 12px;
  color: var(--gold-bright);
}

.spotlight-guardian-line span {
  font-size: 12.5px;
  color: var(--ink-light-dim);
  font-style: italic;
}

.spotlight-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

.spotlight-pick-btn,
.spotlight-inspect-btn {
  justify-content: center;
  white-space: nowrap;
  padding: 10px 12px;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .games-icon-shelf {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .games-master-stage {
    grid-template-columns: 1fr;
  }
  .game-spotlight-panel {
    position: static;
    order: -1;
  }
  .games-icon-shelf {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .games-icon-shelf {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .spotlight-actions {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   V4.3 PICK-3 FLY-TO-SLOT & RITUAL MODALS + WORLD 20-GUARDIAN CAROUSEL
   ========================================================================== */

/* Quick-pick '+' / '✓' corner button on every 5x4 shelf tile */
.shelf-quick-pick {
  position: absolute;
  top: 6px;
  inset-inline-end: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(223, 185, 124, 0.36);
  background: rgba(16, 22, 19, 0.85);
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.shelf-quick-pick:hover {
  transform: scale(1.14);
  background: var(--gold);
  color: #14110b;
  border-color: var(--gold-bright);
}

.shelf-quick-pick.is-picked {
  background: var(--gold);
  color: #14110b;
  border-color: var(--gold-bright);
}

.game-shelf-tile.is-dragging {
  opacity: 0.45;
  transform: scale(0.95);
}

.pick3-repick-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(94, 154, 139, 0.16);
  border: 1px solid rgba(94, 154, 139, 0.42);
  color: #9ce2ce;
  font-size: 11px;
  font-weight: 700;
}

.pick3-repick-badge.is-used {
  background: rgba(223, 185, 124, 0.14);
  border-color: rgba(223, 185, 124, 0.38);
  color: var(--gold-bright);
}

.pick3-hint-line {
  font-size: 12px;
  color: var(--ink-light-mute);
  margin-top: 3px;
}

/* Flying icon ghost arc */
.pick3-fly-ghost {
  position: fixed;
  z-index: 9999;
  width: 52px;
  height: 52px;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(242, 213, 159, 0.85));
}

/* Slot landing pulse & drag-target glow */
@keyframes slotPopGold {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(242, 213, 159, 0.72); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(242, 213, 159, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(242, 213, 159, 0); }
}

@keyframes slotInvitePulse {
  0%, 100% { border-color: rgba(223, 185, 124, 0.35); background: rgba(223, 185, 124, 0.04); }
  50% { border-color: rgba(242, 213, 159, 0.85); background: rgba(223, 185, 124, 0.13); }
}

.pick3-slot.is-just-filled {
  animation: slotPopGold 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.pick3-slot.is-drop-ready {
  border-style: dashed;
  border-color: var(--gold-bright);
  background: rgba(223, 185, 124, 0.1);
}

.pick3-slot.is-drag-over {
  transform: scale(1.03);
  border-color: #fff2ce;
  background: rgba(223, 185, 124, 0.22);
}

.pick3-slot.is-inviting-pick {
  animation: slotInvitePulse 1s ease-in-out 2;
}

/* Celebration & Re-Pick Ritual Modals */
.pick3-ritual-stage {
  position: relative;
  text-align: center;
  padding: 6px 4px 4px;
}

.ritual-spark-burst {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 16px;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

@keyframes sparkTwinkle {
  0% { transform: translateY(8px) scale(0.5); opacity: 0; }
  45% { transform: translateY(-4px) scale(1.2); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 0.85; }
}

.ritual-spark-burst span {
  display: inline-block;
  animation: sparkTwinkle 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ritual-spark-burst span:nth-child(2) { animation-delay: 60ms; }
.ritual-spark-burst span:nth-child(3) { animation-delay: 120ms; }
.ritual-spark-burst span:nth-child(4) { animation-delay: 180ms; }
.ritual-spark-burst span:nth-child(5) { animation-delay: 240ms; }
.ritual-spark-burst span:nth-child(6) { animation-delay: 300ms; }

.ritual-heading {
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--ink-light);
}

.ritual-desc {
  margin: 0 auto 18px;
  max-width: 46ch;
  font-size: 13.8px;
  line-height: 1.65;
  color: var(--ink-light-dim);
}

.ritual-trio-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

@keyframes trioCardPop {
  from { opacity: 0; transform: translateY(14px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ritual-trio-card {
  padding: 14px 10px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(223, 185, 124, 0.14), rgba(18, 24, 21, 0.94));
  border: 1px solid rgba(223, 185, 124, 0.36);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: trioCardPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) var(--r-delay, 0ms) both;
}

.ritual-trio-visual {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
}

.ritual-trio-mascot {
  position: absolute;
  right: -10px;
  bottom: -6px;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55));
}

.ritual-trio-card strong {
  font-family: var(--font-serif);
  font-size: 14.5px;
  color: var(--ink-light);
}

.ritual-free-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(94, 154, 139, 0.2);
  border: 1px solid rgba(94, 154, 139, 0.45);
  color: #a3ebda;
}

.ritual-rewind-crest {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
}

@keyframes rewindSpin {
  0% { transform: rotate(220deg) scale(0.7); opacity: 0; }
  60% { transform: rotate(-16deg) scale(1.08); opacity: 1; }
  100% { transform: rotate(0deg) scale(1); opacity: 1; }
}

.rewind-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(223, 185, 124, 0.55);
  background: radial-gradient(circle, rgba(223, 185, 124, 0.16), transparent 70%);
  animation: rewindSpin 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rewind-glyph {
  font-size: 32px;
  color: var(--gold-bright);
  font-weight: 700;
  animation: rewindSpin 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ritual-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* World P3: Interactive 20-Guardian Horizontal Carousel */
.world-eco-carousel-shell {
  position: relative;
}

#worldEcoGrid.is-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}

#worldEcoGrid.is-carousel::-webkit-scrollbar {
  display: none;
}

#worldEcoGrid.is-carousel .world-eco-card.is-slide-card {
  flex: 0 0 calc((100% - 54px) / 4);
  scroll-snap-align: start;
}

.eco-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(223, 185, 124, 0.42);
  background: rgba(12, 17, 15, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold-bright);
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.eco-nav-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  background: var(--gold);
  color: #14110b;
  border-color: var(--gold-bright);
}

.eco-nav-arrow.is-prev {
  inset-inline-start: -18px;
}

.eco-nav-arrow.is-next {
  inset-inline-end: -18px;
}

.world-eco-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: -6px;
}

.eco-page-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eco-page-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(246, 241, 231, 0.25);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.eco-page-dot.is-active {
  width: 24px;
  background: var(--gold);
}

.eco-page-counter {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--gold-bright);
}

.eco-page-hint {
  font-size: 11.5px;
  color: var(--ink-light-mute);
}

@media (max-width: 960px) {
  #worldEcoGrid.is-carousel .world-eco-card.is-slide-card {
    flex: 0 0 calc((100% - 18px) / 2);
  }
  .eco-nav-arrow.is-prev {
    inset-inline-start: 4px;
  }
  .eco-nav-arrow.is-next {
    inset-inline-end: 4px;
  }
}

@media (max-width: 600px) {
  #worldEcoGrid.is-carousel .world-eco-card.is-slide-card {
    flex: 0 0 78%;
  }
  .ritual-trio-row {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   V4.4 FIX HIDDEN CAROUSEL ARROWS · CLEAN WORLD P4 CLOSING · MAGNETIC PICK-3 STAGE
   ========================================================================== */
.eco-nav-arrow[hidden],
.world-eco-pager[hidden] {
  display: none !important;
}

/* World P4: Heartfelt 3-Paragraph Founder Letter (Logical Start-Aligned: LTR Left / RTL Right) */
.world-closing-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0 28px;
}

.world-closing-card {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  text-align: start;
  padding: 36px 44px;
  border-radius: 26px;
  background: linear-gradient(140deg, rgba(223, 185, 124, 0.1) 0%, rgba(14, 19, 17, 0.95) 55%);
  border: 1px solid rgba(223, 185, 124, 0.3);
  border-inline-start: 3px solid var(--gold);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.45);
}

.world-closing-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.32;
  margin: 0 0 18px;
  color: var(--ink-light);
}

.world-closing-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 24px;
}

.world-closing-paragraphs p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(246, 241, 231, 0.84);
}

.world-closing-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

.world-closing-author {
  font-family: var(--font-serif);
  font-size: 14.5px;
  color: var(--gold-bright);
  letter-spacing: 0.03em;
  margin: 0;
}

.world-closing-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Games Page: High-Visibility Magnetic Pick-3 Interactive Stage */
.pick3-magnet-bar {
  position: relative;
  overflow: hidden;
  padding: 13px 18px 14px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(223, 185, 124, 0.16) 0%, rgba(18, 28, 24, 0.95) 52%, rgba(94, 154, 139, 0.14) 100%);
  border: 1.5px solid rgba(242, 213, 159, 0.52);
  box-shadow: 0 0 0 1px rgba(242, 213, 159, 0.12), 0 16px 40px rgba(0, 0, 0, 0.36);
}

.pick3-head-balanced {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 10px;
}

.pick3-head-left {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.pick3-inline-hint {
  font-size: 12.2px;
  color: rgba(246, 241, 231, 0.68);
}

.pick3-head-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pick3-magnet-bar .pick3-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.pick3-magnet-bar .pick3-slots-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pick3-magnet-bar .pick3-slot {
  padding: 7px 11px;
  min-height: 46px;
}

@media (max-width: 920px) {
  .pick3-magnet-bar .pick3-bottom {
    grid-template-columns: 1fr;
  }
}

.games-toolbar-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

.games-toolbar-compact .pill-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.games-toolbar-compact .pill-group::-webkit-scrollbar {
  display: none;
}

.games-toolbar-compact .pill-btn {
  padding: 5px 10px;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.games-toolbar-compact #gameSearchInput {
  width: 186px;
  min-width: 156px;
  padding: 6px 12px;
  font-size: 12px;
  flex-shrink: 0;
}

@media (max-width: 920px) {
  .games-toolbar-compact {
    flex-wrap: wrap;
  }
  .games-toolbar-compact #gameSearchInput {
    width: 100%;
  }
}

@keyframes pick3TopShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(220%); }
}

.pick3-magnet-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff0c2, var(--gold), transparent);
  animation: pick3TopShimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}

.pick3-magnet-head-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pick3-magnet-title {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.7vw, 20px);
  margin: 0;
  color: #fff6df;
  letter-spacing: 0.02em;
}

.pick3-progress-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(242, 213, 159, 0.2);
  border: 1px solid rgba(242, 213, 159, 0.52);
  color: #ffe8b3;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
}

.pick3-progress-pill.is-full {
  background: var(--gold);
  color: #14110b;
  border-color: var(--gold-bright);
}

.pick3-magnet-bar .pick3-hint-line {
  font-size: 13px;
  color: rgba(246, 241, 231, 0.82);
  margin-top: 6px;
}

.pick3-magnet-bar .pick3-slot.is-empty {
  border: 1.5px dashed rgba(242, 213, 159, 0.45);
  background: rgba(242, 213, 159, 0.06);
  color: rgba(255, 240, 200, 0.85);
}

.pick3-empty-plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(242, 213, 159, 0.2);
  border: 1px solid rgba(242, 213, 159, 0.5);
  color: var(--gold-bright);
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
}

@media (max-width: 640px) {
  .world-closing-card {
    padding: 28px 20px;
  }
  .pick3-magnet-bar {
    padding: 16px;
  }
}

/* Unified Obsidian Dark Theme for World P2 Six Waterside Halls */
#worldSecHalls .world-curator-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(223, 185, 124, 0.24);
}

#worldSecHalls .world-curator-name {
  color: var(--gold-bright);
}

#worldSecHalls .world-curator-quote {
  color: var(--ink-light-dim);
}

.world-hall-game-pill-dark {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--hairline-strong) !important;
  color: var(--ink-light) !important;
}

.world-hall-game-pill-dark:hover {
  border-color: rgba(223, 185, 124, 0.58) !important;
  background: rgba(223, 185, 124, 0.1) !important;
}

/* Lock World P3 Top Alignment so tab switching (20 Guardians / 4 Pets / 4 Mounts) NEVER shifts header or tabs */
@media (min-width: 1041px) and (min-height: 660px) {
  body.world-smooth #worldSecCompanions {
    justify-content: flex-start;
    padding-top: clamp(92px, 11vh, 126px);
    padding-bottom: 48px;
  }
}

#worldEcoGrid {
  padding: 4px 2px 8px;
}

.world-eco-card-v4 {
  min-height: 276px;
  justify-content: flex-start;
}

/* Compact One-Screen Pick-3 Workspace: Left Internal-Scroll Shelf x Equal-Height Right Spotlight */
.games-master-stage {
  align-items: stretch;
  height: 516px;
  min-height: 516px;
  max-height: 516px;
}

.games-icon-shelf {
  align-content: start;
  align-items: start;
  height: 100%;
  min-height: 0;
  max-height: 516px;
  gap: 9px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-inline-end: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(223, 185, 124, 0.48) rgba(255, 255, 255, 0.03);
}

.games-icon-shelf::-webkit-scrollbar {
  width: 6px;
}

.games-icon-shelf::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}

.games-icon-shelf::-webkit-scrollbar-thumb {
  background: rgba(223, 185, 124, 0.45);
  border-radius: 999px;
}

.games-icon-shelf::-webkit-scrollbar-thumb:hover {
  background: rgba(242, 213, 159, 0.72);
}

.game-shelf-tile {
  height: 122px;
  padding: 10px 6px 8px;
  gap: 5px;
  justify-content: center;
}

.game-shelf-tile .shelf-icon-wrap {
  width: 50px;
  height: 50px;
}

.game-shelf-tile .shelf-icon-wrap svg {
  width: 46px;
  height: 46px;
}

.game-shelf-tile .shelf-mascot-peek {
  width: 24px;
  height: 24px;
}

@media (max-width: 1120px) {
  .games-master-stage {
    height: 516px;
    min-height: 516px;
    max-height: 516px;
  }

  .game-shelf-tile {
    height: 122px;
  }
}

@media (max-width: 920px) {
  .games-master-stage {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .games-icon-shelf {
    height: auto;
    max-height: none;
    overflow-y: visible;
    padding-inline-end: 0;
  }

  .game-shelf-tile {
    height: 120px;
  }
}

.game-spotlight-panel {
  position: relative;
  top: 0;
  height: 100%;
  max-height: 516px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.spotlight-hall-banner {
  height: 92px;
  flex-shrink: 0;
}

.spotlight-mascot-float {
  width: 64px;
  height: 64px;
}

.spotlight-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 11px 15px 12px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.spotlight-top-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spotlight-id-row {
  gap: 10px;
}

.spotlight-id-row .game-app-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.spotlight-id-row h3 {
  font-size: 18px;
  margin: 0 0 3px;
}

.spotlight-innov-box {
  padding: 7px 10px;
}

.spotlight-innov-label {
  margin-bottom: 2px;
}

.spotlight-innov-box p {
  font-size: 12px;
  line-height: 1.44;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-mode-quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.spotlight-quad-cell {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
}

.spotlight-quad-ico {
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.spotlight-quad-cell strong {
  display: block;
  font-size: 12px;
  color: var(--ink-light);
  line-height: 1.22;
}

.spotlight-quad-cell small {
  display: block;
  font-size: 10.5px;
  color: var(--ink-light-mute);
  line-height: 1.25;
}

.spotlight-adopt-pill {
  font-size: 10px;
  font-style: normal;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(94, 154, 139, 0.16);
  border: 1px solid rgba(94, 154, 139, 0.4);
  color: #9ce2ce;
  font-weight: 600;
}

.spotlight-guardian-quote {
  font-size: 11.8px;
  color: var(--ink-light-dim);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-code-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 11px;
  background: rgba(223, 185, 124, 0.07);
  border: 1px dashed rgba(223, 185, 124, 0.34);
  overflow: hidden;
}

.spotlight-pick-btn,
.spotlight-inspect-btn {
  padding: 8px 10px;
  font-size: 12.5px;
}

.spotlight-code-strip > div {
  flex: 1;
  min-width: 0;
}

.spotlight-code-strip small {
  display: block;
  font-size: 10.5px;
  color: var(--ink-light-mute);
  margin-bottom: 2px;
}

.spotlight-code-strip code {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-bright);
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotlight-code-strip button {
  flex-shrink: 0;
  white-space: nowrap;
}


/* ==========================================================================
   V4.5 WORLD P4: 3-THEME HORIZONTAL SLIDING FOUNDER STORY CAROUSEL
   ========================================================================== */
.world-closing-card {
  max-width: 1060px;
  padding: 28px 32px 24px;
}

.heart-head-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.heart-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.heart-theme-tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--hairline-strong);
  gap: 4px;
}

.heart-tab-btn {
  border: 0;
  background: transparent;
  color: var(--ink-light-dim);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.22s ease, color 0.22s ease;
}

.heart-tab-btn:hover {
  color: var(--ink-light);
}

.heart-tab-btn.is-active {
  background: var(--gold);
  color: #14110b;
}

.heart-arrow-pair {
  display: inline-flex;
  gap: 6px;
}

.heart-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(223, 185, 124, 0.36);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-bright);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.heart-arrow-btn:hover {
  background: var(--gold);
  color: #14110b;
  transform: scale(1.06);
}

.heart-viewport {
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 20px;
}

.heart-track {
  display: flex;
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.heart-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: center;
  padding: 4px 2px;
}

.heart-slide-art {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(223, 185, 124, 0.28);
  background: #0d1311;
}

.heart-slide-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.heart-slide-art-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(9, 12, 11, 0.72) 100%);
  pointer-events: none;
}

.heart-slide-num {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 16px;
  font-family: var(--font-serif);
  font-size: 46px;
  line-height: 1;
  font-weight: 700;
  color: rgba(242, 213, 159, 0.78);
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.heart-slide-copy {
  text-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-inline-end: 8px;
}

.heart-slide-copy h3 {
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.4vw, 31px);
  line-height: 1.28;
  margin: 0;
  color: var(--ink-light);
}

.heart-slide-copy p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.82;
  color: rgba(246, 241, 231, 0.84);
}

@media (max-width: 820px) {
  .world-closing-card {
    padding: 22px 18px;
  }
  .heart-slide {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .heart-theme-tabs {
    flex-wrap: wrap;
    border-radius: 16px;
  }
}


/* ==========================================================================
   V5 WORLD 4P ARC: P1 HEART CAROUSEL -> P2 LIVING AWAKENING -> P3 HALLS -> P4 ECO + FOOTER
   ========================================================================== */
.world-p1-heart {
  padding-top: 84px !important;
}

.world-p1-heart .world-closing-wrap {
  gap: 20px;
  padding: 6px 0 14px;
}

.world-p1-heart .world-closing-card {
  max-width: none;
  margin: 0;
  padding: 24px 30px 22px;
}

.world-awaken-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.world-awaken-head {
  text-align: start;
}

.harbor-awaken-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.32fr);
  gap: 24px;
  align-items: stretch;
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(22, 29, 26, 0.9), rgba(12, 16, 14, 0.96));
  border: 1px solid rgba(223, 185, 124, 0.28);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.44);
}

.awaken-canvas-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #0b100e;
  border: 1px solid rgba(223, 185, 124, 0.28);
}

.awaken-harbor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.awaken-canvas-frame.is-mood-mist .awaken-harbor-img {
  filter: brightness(0.55) saturate(0.58) contrast(1.06);
  transform: scale(1.03);
}

.awaken-canvas-frame.is-mood-dawn .awaken-harbor-img {
  filter: brightness(0.88) saturate(1.02);
  transform: scale(1.015);
}

.awaken-canvas-frame.is-mood-sunny .awaken-harbor-img {
  filter: brightness(1.08) saturate(1.16);
  transform: scale(1);
}

.awaken-mist-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.7s ease, background 0.7s ease;
}

.awaken-canvas-frame.is-mood-mist .awaken-mist-layer {
  background: radial-gradient(circle at 50% 45%, rgba(168, 186, 198, 0.28), rgba(14, 22, 28, 0.62));
}

.awaken-canvas-frame.is-mood-dawn .awaken-mist-layer {
  background: linear-gradient(160deg, rgba(242, 200, 124, 0.24) 0%, rgba(12, 18, 16, 0.25) 65%, rgba(9, 12, 11, 0.45) 100%);
}

.awaken-canvas-frame.is-mood-sunny .awaken-mist-layer {
  background: linear-gradient(180deg, rgba(255, 240, 196, 0.08) 0%, transparent 45%, rgba(9, 12, 11, 0.42) 100%);
}

.awaken-hud-top {
  position: absolute;
  top: 14px;
  inset-inline: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.awaken-stage-pill {
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(10, 14, 12, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(223, 185, 124, 0.38);
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 600;
}

.awaken-meter-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 14, 12, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11.5px;
  color: var(--ink-light-dim);
}

.awaken-meter-box strong {
  font-family: var(--font-mono);
  color: var(--gold-bright);
  font-size: 13px;
}

.awaken-progress-track {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  z-index: 2;
}

.awaken-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #5e9a8b, #dfb97c, #fff0c2);
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.awaken-plaza-friends {
  position: absolute;
  bottom: 26px;
  inset-inline-end: 16px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 2;
}

.awaken-plaza-friends.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.awaken-plaza-friends img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
  animation: mascotGentleFloat 3.4s ease-in-out infinite;
}

.awaken-plaza-friends img:nth-child(2) {
  width: 50px;
  height: 50px;
  animation-delay: 0.4s;
}

.awaken-plaza-friends img:nth-child(3) {
  width: 48px;
  height: 48px;
  animation-delay: 0.8s;
}

.awaken-steps-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.awaken-step-card {
  flex: 1;
  text-align: start;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--hairline);
  color: var(--ink-light);
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.awaken-step-card:hover {
  transform: translateX(3px);
  border-color: rgba(223, 185, 124, 0.42);
  background: rgba(223, 185, 124, 0.06);
}

.awaken-step-card.is-active {
  border-color: var(--gold-bright);
  background: linear-gradient(135deg, rgba(223, 185, 124, 0.16), rgba(18, 25, 22, 0.94));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.awaken-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.awaken-step-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(223, 185, 124, 0.14);
}

.awaken-step-head strong {
  font-family: var(--font-serif);
  font-size: 18.5px;
  color: var(--ink-light);
  flex: 1;
}

.awaken-step-pct {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-bright);
  font-weight: 700;
}

.awaken-step-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
  color: var(--ink-light-dim);
}

/* World P4 Final Eco Section + Footer: keeps 0px top-shift when toggling tabs */
@media (min-width: 1041px) and (min-height: 660px) {
  body.world-smooth #worldSecCompanions.world-snap-final {
    justify-content: flex-start;
    padding-top: clamp(86px, 9.5vh, 112px);
    padding-bottom: 0;
  }

  body.world-smooth #worldSecCompanions.world-snap-final .world-eco-stage-wrap {
    padding-bottom: 28px;
  }

  body.world-smooth #worldSecCompanions.world-snap-final #siteFooterMount {
    margin-top: auto;
  }
}

@media (max-width: 960px) {
  .harbor-awaken-stage {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

/* Sequential Unlock Micro-Animations for World P2 Dawnlight Awakening */
.awaken-step-card.is-locked {
  opacity: 0.62;
  border-style: dashed;
}

.awaken-step-card.is-next-target {
  border-color: rgba(223, 185, 124, 0.46);
  background: rgba(223, 185, 124, 0.05);
}

.awaken-next-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(223, 185, 124, 0.18);
  border: 1px solid rgba(223, 185, 124, 0.45);
  color: var(--gold-bright);
  white-space: nowrap;
}

.awaken-lock-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline);
  color: var(--ink-light-mute);
  white-space: nowrap;
}

@keyframes awakenNudgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 213, 159, 0.75); border-color: var(--gold-bright); }
  50% { box-shadow: 0 0 0 10px rgba(242, 213, 159, 0); border-color: #fff2cc; transform: scale(1.02); }
}

@keyframes awakenLockedShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  45% { transform: translateX(6px); }
  70% { transform: translateX(-4px); }
}

.awaken-step-card.is-nudge-next {
  animation: awakenNudgePulse 0.55s ease-in-out 2;
}

.awaken-step-card.is-locked-shake {
  animation: awakenLockedShake 0.42s ease;
}

/* Top-Nav CTA ("体验与下载") Periodic 3s Luminous Sheen Sweep + Golden Rim Shimmer */
.nav-cta-sheen {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1.5px solid rgba(255, 240, 198, 0.76) !important;
  box-shadow: 0 0 0 1px rgba(242, 213, 159, 0.2), 0 6px 20px rgba(223, 185, 124, 0.28);
  animation: navCtaRimPulse 3s ease-in-out infinite;
}

.nav-cta-sheen::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff7d6, #ffffff, var(--gold-bright), transparent);
  pointer-events: none;
  z-index: 2;
  animation: navCtaTopEdgeShimmer 3s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.nav-cta-sheen::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -72%;
  width: 48%;
  background: linear-gradient(
    112deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 252, 236, 0.82) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-24deg) translateX(0);
  pointer-events: none;
  z-index: 1;
  animation: navCtaSheenSweep 3s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.nav-cta-sheen.is-current-cta {
  box-shadow: 0 0 0 2px rgba(255, 240, 194, 0.72), 0 8px 26px rgba(223, 185, 124, 0.44);
}

@keyframes navCtaTopEdgeShimmer {
  0%, 60% {
    transform: translateX(0);
    opacity: 0;
  }
  66% {
    opacity: 1;
  }
  94% {
    transform: translateX(360%);
    opacity: 1;
  }
  100% {
    transform: translateX(360%);
    opacity: 0;
  }
}

@keyframes navCtaSheenSweep {
  0%, 60% {
    transform: skewX(-24deg) translateX(0);
    opacity: 0;
  }
  66% {
    opacity: 1;
  }
  94% {
    transform: skewX(-24deg) translateX(480%);
    opacity: 0.96;
  }
  100% {
    transform: skewX(-24deg) translateX(480%);
    opacity: 0;
  }
}

@keyframes navCtaRimPulse {
  0%, 58%, 100% {
    border-color: rgba(255, 240, 198, 0.65);
    box-shadow: 0 0 0 1px rgba(242, 213, 159, 0.18), 0 6px 18px rgba(223, 185, 124, 0.24);
  }
  78% {
    border-color: rgba(255, 249, 224, 0.96);
    box-shadow: 0 0 0 2px rgba(255, 240, 194, 0.42), 0 0 22px rgba(242, 213, 159, 0.52);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta-sheen {
    animation: none;
  }
  .nav-cta-sheen::before,
  .nav-cta-sheen::after {
    animation: none;
    display: none;
  }
}

/* ==========================================================================
   V5.1 PRICING 2P ARCHITECTURE: P1 EQUAL-HEIGHT VS + P2 FOUR TRANSPARENT TIERS
   ========================================================================== */
body.pricing-2p {
  background: var(--bg-obsidian);
}

.pricing-snap-band {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 84px 0 32px !important;
  position: relative;
}

.pricing-p1-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-p1-head {
  text-align: start;
}

.pricing-p1-head .chapter-sub {
  max-width: 740px;
}

body.pricing-2p .anti-sub-bill-card {
  margin-bottom: 0;
  padding: 24px 26px;
}

body.pricing-2p .anti-sub-grid {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

body.pricing-2p .anti-sub-vs {
  align-self: center;
}

body.pricing-2p .anti-sub-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  height: 100%;
  padding: 20px 22px;
}

.anti-sub-col-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.anti-sub-pill-them {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(217, 119, 84, 0.16);
  border: 1px solid rgba(217, 119, 84, 0.42);
  color: #f0a48a;
  font-size: 11px;
  font-weight: 700;
}

body.pricing-2p .anti-sub-price-them,
body.pricing-2p .anti-sub-price-us {
  display: block;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.25;
  white-space: nowrap;
  margin: 0;
}

.anti-sub-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-light-dim);
}

.anti-sub-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.anti-sub-points.is-them li::before {
  content: '✕';
  color: #e68c6e;
  font-weight: 700;
  flex-shrink: 0;
}

.anti-sub-points.is-us li::before {
  content: '✓';
  color: #79d4b8;
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-vow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pricing-vow-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--hairline);
}

.pricing-vow-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  background: rgba(223, 185, 124, 0.12);
  border: 1px solid rgba(223, 185, 124, 0.28);
}

.pricing-vow-pill > div strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink-light);
  margin-bottom: 2px;
}

.pricing-vow-pill > div span {
  display: block;
  font-size: 12px;
  color: var(--ink-light-mute);
  line-height: 1.45;
}

.pricing-p1-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Pricing P2: 4 Buyout Tiers + Compact Embedded Footer */
.pricing-p2-final {
  justify-content: space-between;
  padding: 84px 0 0 !important;
  gap: 24px;
}

.pricing-p2-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.pricing-p2-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.pricing-p2-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pricing-tiers-grid-2p {
  align-items: stretch;
  gap: 16px;
}

.pricing-tier-card-2p {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 20px 18px;
}

.pricing-tier-card-2p.is-featured-tier {
  border: 1.5px solid var(--gold);
  background: linear-gradient(160deg, #161c19, #201a12);
}

.pricing-gear-2p {
  height: 104px;
  margin: 10px 0 12px;
}

.pricing-gear-2p img {
  height: 90px;
}

.pricing-tier-name {
  font-family: var(--font-serif);
  font-size: 20px;
  margin: 0 0 3px;
}

.pricing-tier-price {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 5px;
}

.pricing-tier-gear {
  font-size: 12px;
  color: #e6a37c;
  margin: 0 0 10px;
  min-height: 32px;
  line-height: 1.45;
}

.pricing-perk-2p {
  margin: 10px 0 16px;
  gap: 6px;
  font-size: 12.8px;
}

.pricing-boundary-line {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-light-mute);
  text-align: start;
}

body.pricing-2p .pricing-p2-final .site-footer {
  margin-top: 0;
  padding: 26px 0 22px;
}

@media (max-width: 960px) {
  .pricing-snap-band {
    min-height: auto;
    padding: 84px 0 36px !important;
  }
  body.pricing-2p .anti-sub-grid {
    grid-template-columns: 1fr;
  }
  body.pricing-2p .anti-sub-price-them,
  body.pricing-2p .anti-sub-price-us {
    white-space: normal;
  }
  .pricing-vow-strip {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   PLAY PAGE: 3-PHONE PORTRAIT SHOWCASE STAGE (LIVE 2048 + 3 BESPOKE 9:16 SCREENS)
   ========================================================================== */
.phone-showcase-card {
  padding: 14px 16px 14px;
  justify-content: space-between;
  gap: 10px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 52%, rgba(223, 185, 124, 0.14) 0%, rgba(16, 22, 19, 0.96) 64%),
    #101613;
}

.phone-stage-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-stage-header .phone-screen-tabs {
  flex: 1;
  min-width: 0;
}

.phone-sound-compact {
  width: 34px;
  height: 34px;
  padding: 0;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  border-radius: 11px;
}

.phone-trio-stage {
  position: relative;
  flex: 1;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0 2px;
  overflow: hidden;
}

/* Flanking dim side peek phones */
.peek-phone {
  position: relative;
  width: 148px;
  height: 312px;
  border-radius: 24px;
  padding: 6px;
  background: linear-gradient(155deg, #2b322e, #121715);
  border: 1px solid rgba(223, 185, 124, 0.22);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.48);
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.56;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease, border-color 0.28s ease;
}

.peek-phone.is-left {
  transform: translateX(20px) rotate(-5.5deg) scale(0.92);
  z-index: 1;
}

.peek-phone.is-right {
  transform: translateX(-20px) rotate(5.5deg) scale(0.92);
  z-index: 1;
}

[dir="rtl"] .peek-phone.is-left {
  transform: translateX(-20px) rotate(5.5deg) scale(0.92);
}

[dir="rtl"] .peek-phone.is-right {
  transform: translateX(20px) rotate(-5.5deg) scale(0.92);
}

.peek-phone:hover {
  opacity: 0.88;
  border-color: rgba(223, 185, 124, 0.62);
}

.peek-phone.is-left:hover {
  transform: translateX(12px) rotate(-3deg) scale(0.95);
}

.peek-phone.is-right:hover {
  transform: translateX(-12px) rotate(3deg) scale(0.95);
}

.peek-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #0e1411;
}

.peek-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.84) saturate(0.95);
}

.peek-screen-tag {
  position: absolute;
  bottom: 10px;
  inset-inline: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(10, 14, 12, 0.78);
  border: 1px solid rgba(223, 185, 124, 0.32);
  color: var(--ink-light);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(8px);
}

.peek-2048-wrap {
  height: 100%;
  padding: 18px 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, #1b241f 0%, #111714 100%);
}

.peek-2048-head {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-bright);
}

.peek-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.peek-mini-cell {
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  color: #161411;
}

/* Center Hero Portrait iPhone Pro Frame */
.hero-phone-device {
  position: relative;
  z-index: 3;
  width: 230px;
  height: 444px;
  border-radius: 36px;
  padding: 8px;
  background: linear-gradient(155deg, #4b5049 0%, #1c211e 45%, #37342b 100%);
  box-shadow:
    0 26px 56px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(242, 213, 159, 0.34),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.hero-phone-island {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 16px;
  border-radius: 999px;
  background: #070a09;
  z-index: 6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-phone-homebar {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 3.5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  z-index: 6;
  pointer-events: none;
}

.hero-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 29px;
  overflow: hidden;
  background: #0d1411;
}

.phone-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 248, 232, 0.88);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

/* Live Interactive 2048 inside the iPhone Screen */
.phone-live-2048 {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 12px 22px;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(223, 185, 124, 0.16), transparent 55%),
    linear-gradient(180deg, #1b2520 0%, #101714 100%);
  user-select: none;
}

.phone-game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.phone-game-id {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.phone-mascot-mini {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
}

.phone-game-id strong {
  font-family: var(--font-serif);
  font-size: 14px;
  color: #fff6e2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-mini-reset {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(223, 185, 124, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-bright);
  font-size: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.phone-mini-reset:hover {
  background: rgba(223, 185, 124, 0.22);
}

.phone-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phone-kpi-chip {
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.phone-kpi-chip.is-gold {
  border-color: rgba(223, 185, 124, 0.38);
  background: rgba(223, 185, 124, 0.1);
}

.phone-kpi-chip span {
  font-size: 10.5px;
  color: var(--ink-light-mute);
}

.phone-kpi-chip strong {
  font-family: var(--font-mono);
  font-size: 15px;
  color: #fff7e6;
}

.phone-board-frame {
  padding: 8px;
  border-radius: 16px;
  background: #17201c;
  border: 1px solid rgba(223, 185, 124, 0.24);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.45);
  touch-action: none;
  cursor: grab;
}

.phone-grid-2048 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.phone-tile-cell {
  aspect-ratio: 1 / 1;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #191815;
  transition: transform 0.14s ease, background 0.14s ease;
}

.phone-tile-cell.pop {
  animation: tilePop 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.phone-tile-cell.v2, .peek-mini-cell.v2 { background: #f2ece0; color: #2a2824; }
.phone-tile-cell.v4, .peek-mini-cell.v4 { background: #e8dcc4; color: #2a2824; }
.phone-tile-cell.v8, .peek-mini-cell.v8 { background: #e2a46f; color: #fffdf8; }
.phone-tile-cell.v16, .peek-mini-cell.v16 { background: #d97754; color: #fffdf8; }
.phone-tile-cell.v32, .peek-mini-cell.v32 { background: #c55846; color: #fffdf8; }
.phone-tile-cell.v64, .peek-mini-cell.v64 { background: #4ba391; color: #fffdf8; }
.phone-tile-cell.v128, .peek-mini-cell.v128 { background: #2d6a4f; color: #fffdf8; font-size: 12.5px; }
.phone-tile-cell.v256, .peek-mini-cell.v256 { background: #dfb97c; color: #191712; font-size: 12.5px; }
.phone-tile-cell.v512, .peek-mini-cell.v512 { background: #e9c46a; color: #191712; font-size: 12.5px; }
.phone-tile-cell.v1024, .phone-tile-cell.v2048,
.peek-mini-cell.v1024, .peek-mini-cell.v2048 { background: #f4d37e; color: #191712; font-size: 11px; box-shadow: 0 0 12px rgba(244, 211, 126, 0.55); }

.phone-cheer-line {
  text-align: center;
  font-size: 11px;
  color: rgba(242, 213, 159, 0.85);
}

.phone-mini-dpad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.phone-dir-btn {
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(223, 185, 124, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: #fff4dd;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.12s ease;
}

.phone-dir-btn:hover {
  background: rgba(223, 185, 124, 0.24);
}

.phone-dir-btn:active {
  transform: scale(0.94);
}

/* Portrait Artwork Screens inside the iPhone Bezel */
.phone-art-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.phone-art-img,
.phone-art-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-art-img {
  animation: phoneArtDrift 14s ease-in-out infinite alternate;
}

@keyframes phoneArtDrift {
  0% { transform: scale(1); }
  100% { transform: scale(1.045); }
}

.phone-art-top-veil {
  position: absolute;
  top: 0;
  inset-inline: 0;
  padding-bottom: 18px;
  background: linear-gradient(180deg, rgba(10, 14, 12, 0.72) 0%, rgba(10, 14, 12, 0) 100%);
}

.phone-art-hud-pills {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 12px 10px 0;
}

.phone-hud-pill {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(12, 18, 15, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff8ea;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.phone-hud-pill.is-gold {
  border-color: rgba(223, 185, 124, 0.55);
  color: var(--gold-bright);
}

.phone-art-bottom-dock {
  position: absolute;
  bottom: 22px;
  inset-inline: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(12, 17, 14, 0.84);
  border: 1px solid rgba(223, 185, 124, 0.38);
  backdrop-filter: blur(10px);
  text-align: center;
}

.phone-art-bottom-dock strong {
  display: block;
  font-size: 12px;
  color: #fff6e2;
  margin-bottom: 2px;
}

.phone-art-bottom-dock span {
  display: block;
  font-size: 10.5px;
  color: var(--ink-light-dim);
}

/* Top 4-Screen Selector Pills */
.phone-screen-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.phone-tab-btn {
  padding: 7px 6px;
  border-radius: 11px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-light-dim);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.phone-tab-btn:hover {
  border-color: rgba(223, 185, 124, 0.45);
  color: var(--ink-light);
}

.phone-tab-btn.is-active {
  background: rgba(223, 185, 124, 0.16);
  border-color: rgba(223, 185, 124, 0.72);
  color: var(--gold-bright);
}

.phone-tab-ico {
  font-size: 13px;
  line-height: 1;
}

@media (max-width: 720px) {
  .peek-phone {
    display: none;
  }
  .phone-screen-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ==========================================================================
   PRICING P2: ANIMATED LUMINOUS BORDER (FEATURED TIER) + 3D HOVER TILT (ALL 4)
   ========================================================================== */
@property --tier-orbit-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes tierOrbitSpin {
  0% { --tier-orbit-angle: 0deg; }
  100% { --tier-orbit-angle: 360deg; }
}

@keyframes tierFeaturedAura {
  0%, 100% {
    box-shadow:
      0 18px 42px rgba(0, 0, 0, 0.42),
      0 0 18px rgba(223, 185, 124, 0.16);
  }
  50% {
    box-shadow:
      0 22px 48px rgba(0, 0, 0, 0.48),
      0 0 32px rgba(242, 213, 159, 0.36);
  }
}

.pricing-tier-card-2p {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.32s ease;
}

.pricing-tier-card-2p.is-tilting {
  transition:
    transform 0.08s ease-out,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
  z-index: 4;
}

.pricing-tier-card-2p:hover {
  border-color: rgba(223, 185, 124, 0.56);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(223, 185, 124, 0.16);
}

.pricing-tier-card-2p .pricing-gear-2p img {
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
  will-change: transform;
}

.pricing-tier-card-2p.is-tilting .pricing-gear-2p img {
  transition: transform 0.09s ease-out, filter 0.25s ease;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.48));
}

.pricing-tier-card-2p.is-featured-tier {
  border: 1.5px solid rgba(223, 185, 124, 0.42);
  animation: tierFeaturedAura 4.2s ease-in-out infinite;
}

.tier-border-beam {
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--tier-orbit-angle),
    rgba(223, 185, 124, 0.12) 0deg,
    rgba(223, 185, 124, 0.2) 205deg,
    #e6c37d 258deg,
    #fff7dc 295deg,
    #dfb97c 328deg,
    rgba(223, 185, 124, 0.12) 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  animation: tierOrbitSpin 4.2s linear infinite;
}

.pricing-tier-card-2p.is-featured-tier:hover .tier-border-beam {
  animation-duration: 2.6s;
}

@media (prefers-reduced-motion: reduce) {
  .tier-border-beam,
  .pricing-tier-card-2p.is-featured-tier {
    animation: none;
  }
}


/* ==========================================================================
   WORLD PAGE: GENTLE DRIFTING SAKURA PETALS CANVAS
   ========================================================================== */
.world-sakura-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}


/* Home P2 Founder Heart Section + Scoped Sakura & World P1 Modes Spacing */
.home-heart-section {
  position: relative;
  overflow: hidden;
}

.home-heart-sakura {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.home-heart-section .wrap {
  position: relative;
  z-index: 2;
}

.world-p1-modes {
  padding-top: 84px !important;
}
