/* SamPhoto Wave-3 Interactive Cinema: 100% GPU transform/opacity-only animations */

/* ===== ACT I: SCROLL-SCRUBBED CAMERA APERTURE DIAL HERO ===== */
.sp-dial-runway {
  position: relative;
  height: 210vh;
  background: #090706;
  color: #faf6f0;
  overflow-x: clip;
}
.sp-dial-sticky {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  min-height: 580px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-dial-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.sp-dial-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.3;
  transform: scale(1.06);
  animation: spBgBreathe 16s ease-in-out infinite;
}
@keyframes spBgBreathe { 0%, 100% { transform: scale(1.05) translate3d(0, 0, 0); } 50% { transform: scale(1.11) translate3d(-1.2%, -0.8%, 0); } }
.sp-dial-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 52% 46%, rgba(16, 11, 9, 0.22) 0%, rgba(9, 7, 6, 0.88) 72%, #090706 100%);
}
.sp-dial-stage {
  position: relative;
  z-index: 2;
  width: min(88vw, 500px);
  height: min(74vh, 500px);
  display: grid;
  place-items: center;
  perspective: 1200px;
}
.sp-dial-ring-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  will-change: transform, opacity;
}
.sp-dial-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  will-change: transform;
}
.sp-ring-hairline { stroke: rgba(250, 246, 240, 0.24); stroke-width: 1; }
.sp-ring-dashed { stroke: rgba(232, 190, 107, 0.32); stroke-width: 1; stroke-dasharray: 4 8; }
.sp-ring-gold { stroke: rgba(232, 190, 107, 0.62); stroke-width: 1.4; }
.sp-tick { stroke: rgba(250, 246, 240, 0.34); stroke-width: 1.2; stroke-linecap: round; }
.sp-tick--major { stroke: #e8be6b; stroke-width: 2; }
.sp-blade { stroke: rgba(232, 190, 107, 0.45); stroke-width: 1.2; stroke-linecap: round; }
.sp-dial-readout {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 22px 26px;
  border-radius: 50%;
  width: 204px;
  height: 204px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(12, 9, 8, 0.72);
  border: 1px solid rgba(232, 190, 107, 0.36);
}
.sp-dial-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 190, 107, 0.9);
}
.sp-dial-num {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.05;
  color: #faf6f0;
  margin: 6px 0 4px;
}
.sp-dial-sub { font-size: 0.72rem; line-height: 1.4; color: rgba(250, 246, 240, 0.76); letter-spacing: 0.06em; }

.sp-hero-centerpiece {
  position: relative;
  z-index: 3;
  width: min(74vw, 332px);
  margin-top: -18px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.84) translate3d(0, 18px, 0);
  will-change: transform, opacity;
}
.sp-hero-3d-btn {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(232, 190, 107, 0.48);
  background: #0d0a09;
  cursor: pointer;
  text-align: left;
  color: #faf6f0;
  border-radius: 2px;
}
.sp-hero-3d-btn img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 16%;
  display: block;
}
.sp-hero-plate-label {
  display: block;
  padding-top: 9px;
  font-family: var(--font-serif);
  font-size: 0.96rem;
  color: #e6cfa5;
  text-align: center;
}

.sp-dial-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 42px;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}
.sp-dial-copy { max-width: 560px; pointer-events: auto; }
.sp-dial-title {
  margin: 8px 0 10px;
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  line-height: 1.06;
  color: #faf6f0;
  letter-spacing: -0.02em;
}
.sp-dial-title span { color: #e8be6b; font-style: italic; white-space: nowrap; }
.sp-dial-lead { margin: 0 0 18px; font-size: 0.92rem; color: rgba(250, 246, 240, 0.8); max-width: 460px; }
.sp-dial-btns { display: flex; flex-wrap: nowrap; gap: 10px; }
.sp-dial-btns .btn { white-space: nowrap; padding: 0 18px; }
.sp-dial-hint {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 190, 107, 0.88);
  white-space: nowrap;
}
.sp-dial-hint-line {
  width: 44px;
  height: 1px;
  background: rgba(232, 190, 107, 0.7);
  transform-origin: left;
  animation: spHintPulse 2.4s ease-in-out infinite;
}
@keyframes spHintPulse { 0%, 100% { transform: scaleX(0.45); opacity: 0.45; } 50% { transform: scaleX(1); opacity: 1; } }

/* Floating Right Chapter Rail */
.sp-side-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-rail-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(250, 246, 240, 0.74);
  background: rgba(14, 11, 10, 0.74);
  border: 1px solid rgba(232, 190, 107, 0.32);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}
.sp-rail-dot.is-active, .sp-rail-dot:hover {
  background: #e8be6b;
  border-color: #e8be6b;
  color: #120d0c;
  transform: scale(1.08);
}

/* ===== ACT II: STICKY 4-WORLD SCROLL-SCRUBBED 3D ORBITAL THEATER ===== */
.sp-worlds-runway {
  position: relative;
  height: 440vh;
  background: #12090b;
  color: #faf6f0;
  overflow-x: clip;
}
.sp-worlds-sticky {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  min-height: 580px;
  overflow: hidden;
  isolation: isolate;
}
.sp-worlds-auralayer, .sp-world-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sp-world-bg { opacity: 0; transition: opacity 520ms ease; }
.sp-world-bg.is-active { opacity: 1; }
.sp-world-bg[data-world-id="world-van-trang"] { background: radial-gradient(circle at 52% 45%, #5c121b 0%, #24090e 52%, #0e0608 100%); }
.sp-world-bg[data-world-id="world-di-san"] { background: radial-gradient(circle at 52% 45%, #5b3b14 0%, #27180a 54%, #110b06 100%); }
.sp-world-bg[data-world-id="world-huyen-nhung"] { background: radial-gradient(circle at 52% 45%, #233c63 0%, #111c30 54%, #090e18 100%); }
.sp-world-bg[data-world-id="world-thanh-tinh"] { background: radial-gradient(circle at 52% 45%, #4d2e3a 0%, #25171d 54%, #120c0f 100%); }

.sp-worlds-panels { position: relative; width: 100%; height: 100%; z-index: 2; }
.sp-world-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 420ms ease;
}
.sp-world-panel.is-active { opacity: 1; pointer-events: auto; visibility: visible; }

.sp-world-wordmark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: clamp(4.8rem, 15vw, 13.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--w-accent, #e8be6b);
  opacity: 0.14;
  user-select: none;
  pointer-events: none;
  will-change: transform;
}
.sp-world-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1300px;
  pointer-events: none;
}
.sp-world-center {
  position: relative;
  z-index: 4;
  width: min(62vw, 300px);
  margin-top: -16px;
  pointer-events: auto;
  will-change: transform;
}
.sp-center-plate {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 3px;
  border: 1px solid var(--w-accent, #e8be6b);
  background: rgba(11, 8, 9, 0.88);
  cursor: pointer;
}
.sp-center-plate img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 16%;
  display: block;
}

.sp-orbit-field {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  pointer-events: none;
}
.sp-orbit-item {
  position: absolute;
  width: clamp(106px, 11vw, 158px);
  padding: 6px;
  border-radius: 3px;
  border: 1px solid rgba(250, 246, 240, 0.34);
  background: rgba(12, 9, 10, 0.9);
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transform: translate3d(0, 0, -60px) scale(0.55);
  will-change: transform, opacity;
}
.sp-orbit-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 16%;
  display: block;
}

.sp-world-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 84px;
  z-index: 6;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}
.sp-world-copy { max-width: 420px; pointer-events: auto; }
.sp-world-num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--w-accent, #e8be6b);
  margin-bottom: 6px;
}
.sp-world-title {
  margin: 0 0 8px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.12;
  color: #faf6f0;
}
.sp-world-lead { margin: 0 0 16px; font-size: 0.9rem; color: rgba(250, 246, 240, 0.84); line-height: 1.55; }
.btn--world {
  min-height: 46px;
  background: var(--w-accent, #e8be6b);
  color: #120d0c;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
}
.sp-world-glass {
  pointer-events: auto;
  min-width: 240px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  color: #faf6f0;
}
.sp-glass-top { display: flex; align-items: baseline; gap: 8px; }
.sp-glass-top strong { font-family: var(--font-serif); font-size: 2.3rem; line-height: 1; color: var(--w-accent, #e8be6b); }
.sp-glass-top span { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.sp-glass-meta { font-size: 0.82rem; color: rgba(250, 246, 240, 0.8); margin: 6px 0 10px; }
.sp-glass-bars { display: flex; gap: 5px; align-items: flex-end; height: 18px; }
.sp-glass-bars span { flex: 1; height: 100%; border-radius: 3px; background: var(--w-accent, #e8be6b); opacity: 0.72; transform-origin: bottom; animation: spBarEq 2.8s ease-in-out infinite; }
.sp-glass-bars span:nth-child(1) { animation-delay: 0s; }
.sp-glass-bars span:nth-child(2) { animation-delay: 0.35s; }
.sp-glass-bars span:nth-child(3) { animation-delay: 0.7s; }
.sp-glass-bars span:nth-child(4) { animation-delay: 1.05s; }
.sp-glass-bars span:nth-child(5) { animation-delay: 1.4s; }
@keyframes spBarEq { 0%, 100% { transform: scaleY(0.36); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 0.92; } }

.sp-worlds-bar {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(12, 9, 9, 0.72);
  border: 1px solid rgba(250, 246, 240, 0.18);
  backdrop-filter: blur(10px);
}
.sp-world-tab {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(250, 246, 240, 0.74);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 220ms ease, color 220ms ease;
}
.sp-world-tab em { font-style: normal; }
.sp-world-tab.is-active { background: #faf6f0; color: #120d0c; }

/* ===== ACT III: BRIGHT STUDIO 10-ALBUM RING SELECTOR ===== */
.sp-selector {
  position: relative;
  padding: 84px 0;
  background: #f6f2ea;
  color: #1c1613;
  overflow-x: clip;
  border-top: 1px solid rgba(28, 22, 19, 0.08);
  border-bottom: 1px solid rgba(28, 22, 19, 0.08);
}
.sp-sel-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.sp-sel-heading { margin: 8px 0 12px; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.08; color: #1c1613; }
.sp-sel-heading span { color: var(--sel-color, #9e1923); font-style: italic; }
.sp-sel-lead { margin: 0 0 18px; color: #4f4640; font-size: 0.96rem; line-height: 1.62; min-height: 54px; }

.sp-sel-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sp-filter-pill {
  min-height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(28, 22, 19, 0.16);
  background: #ffffff;
  color: #3e3631;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.sp-filter-pill.is-active { background: #1c1613; border-color: #1c1613; color: #faf6f0; }

.sp-swatch-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.sp-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  color: #3a312c;
  min-height: 44px;
  transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease;
}
.sp-swatch.is-hidden { display: none; }
.sp-swatch-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 3px;
  border: 2px solid var(--sw-color, #9e1923);
  background: #ffffff;
  display: block;
  overflow: hidden;
  transition: transform 220ms ease;
}
.sp-swatch-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 18%; display: block; }
.sp-swatch-name { font-size: 0.72rem; font-weight: 600; text-align: center; line-height: 1.25; }
.sp-swatch.is-active { background: #ffffff; border-color: var(--sw-color, #9e1923); }
.sp-swatch.is-active .sp-swatch-ring { transform: scale(1.08); }

.sp-sel-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(28, 22, 19, 0.1);
  margin-bottom: 20px;
}
.sp-sel-spec-item span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #756b64; }
.sp-sel-spec-item strong { display: block; font-size: 0.88rem; color: #1c1613; margin-top: 3px; }

.sp-sel-orbit-stage {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}
.sp-sel-halo {
  position: absolute;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sel-ring, #e8be6b) 0%, transparent 68%);
  opacity: 0.24;
  pointer-events: none;
}
.sp-sel-ring-track {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  border: 1px dashed rgba(28, 22, 19, 0.24);
  pointer-events: none;
  animation: spSlowOrbit 34s linear infinite;
}
@keyframes spSlowOrbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.sp-sel-hero-plate {
  position: relative;
  z-index: 3;
  width: min(74vw, 300px);
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(28, 22, 19, 0.18);
  background: #ffffff;
  cursor: pointer;
  text-align: center;
  animation: spFloatCenter 6.4s ease-in-out infinite;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}
.sp-sel-hero-plate.is-turning { opacity: 0.45; animation: none; transform: rotateY(20deg) scale(0.92); }
.sp-sel-hero-plate img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 16%; display: block; }
.sp-sel-plate-tag { display: block; padding-top: 9px; font-family: var(--font-serif); font-size: 0.96rem; color: #1c1613; font-weight: 600; }

.sp-sel-mini {
  position: absolute;
  z-index: 4;
  width: 96px;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid rgba(28, 22, 19, 0.16);
  background: #ffffff;
  cursor: pointer;
  transition: transform 280ms ease, opacity 240ms ease;
}
.sp-sel-mini img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 16%; display: block; }
.sp-sel-mini--1 { top: 24px; left: 10px; animation: spFloatA 5.6s ease-in-out infinite; }
.sp-sel-mini--2 { top: 44px; right: 8px; animation: spFloatB 6.2s ease-in-out infinite; }
.sp-sel-mini--3 { bottom: 26px; right: 24px; animation: spFloatC 5.9s ease-in-out infinite; }
.sp-sel-mini.is-empty { display: none; }
@keyframes spFloatCenter { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -10px, 0) rotate(0.6deg); } }
@keyframes spFloatA { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-7deg); } 50% { transform: translate3d(4px, -11px, 0) rotate(-4deg); } }
@keyframes spFloatB { 0%, 100% { transform: translate3d(0, 0, 0) rotate(8deg); } 50% { transform: translate3d(-5px, 10px, 0) rotate(5deg); } }
@keyframes spFloatC { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-5deg); } 50% { transform: translate3d(6px, -8px, 0) rotate(-2deg); } }

@media (hover: hover) and (pointer: fine) {
  .sp-orbit-item:hover { z-index: 9; border-color: var(--w-accent, #e8be6b); }
  .sp-sel-mini:hover { transform: scale(1.08) rotate(0deg); z-index: 6; }
  .album-card, .ex-plate { transition: transform 220ms ease; will-change: transform; }
}

/* ===== MOBILE & TABLET PORTRAIT 9:16 CINEMA (<= 960px) ===== */
@media (max-width: 960px) {
  .sp-side-rail { display: none; }

  /* Act I: Sticky Portrait Living Aperture Dial + 3D Hero Frame */
  .sp-dial-runway { height: 170vh; }
  .sp-dial-sticky {
    position: sticky;
    top: 53px;
    height: calc(100svh - 53px);
    min-height: 590px;
    max-height: 820px;
    padding: 8px 0 60px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
  }
  .sp-dial-stage {
    width: min(82vw, 310px);
    height: min(39svh, 294px);
    flex-shrink: 0;
    padding: 0;
  }
  .sp-dial-ring-wrap { opacity: 0.94; }
  .sp-dial-readout {
    position: absolute;
    top: 22px;
    right: 12px;
    width: auto;
    height: auto;
    padding: 5px 11px;
    border-radius: 999px;
    flex-direction: row;
    gap: 6px;
    background: rgba(12, 9, 8, 0.88);
    border: 1px solid rgba(232, 190, 107, 0.52);
    z-index: 5;
  }
  .sp-dial-kicker, .sp-dial-sub { display: none; }
  .sp-dial-num { font-size: 0.96rem; margin: 0; letter-spacing: 0.04em; color: #e8be6b; }
  .sp-hero-centerpiece {
    width: min(47vw, 188px);
    margin-top: 0;
    opacity: 1;
    pointer-events: auto;
    transform: scale(0.93);
  }
  .sp-hero-3d-btn { padding: 6px; }
  .sp-hero-plate-label { font-size: 0.78rem; padding-top: 6px; }
  .sp-dial-overlay {
    position: relative;
    bottom: auto;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    pointer-events: auto;
  }
  .sp-dial-copy { max-width: 100%; }
  .sp-dial-copy .eyebrow { font-size: 0.68rem; }
  .sp-dial-title { font-size: clamp(1.88rem, 8.2vw, 2.38rem); margin: 5px 0 7px; }
  .sp-dial-lead { font-size: 0.84rem; line-height: 1.48; margin: 0 0 12px; }
  .sp-dial-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .sp-dial-btns .btn { width: 100%; min-height: 44px; padding: 0 12px; font-size: 0.82rem; justify-content: center; }
  .sp-dial-btns .btn:first-child { grid-column: 1 / -1; }
  .sp-dial-hint {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    align-self: center;
    font-size: 0.66rem;
    margin-top: 2px;
  }
  .sp-dial-hint-line { width: 32px; }

  /* Act II: Sticky 9:16 4-World 3D Orbital Burst Theater + Touch Swipe */
  .sp-worlds-runway { height: 360vh; }
  .sp-worlds-sticky {
    position: sticky;
    top: 53px;
    height: calc(100svh - 53px);
    min-height: 600px;
    max-height: 820px;
    padding: 0;
  }
  .sp-world-panel { position: absolute; inset: 0; }
  .sp-world-wordmark {
    align-items: flex-start;
    padding-top: 104px;
    font-size: clamp(3.3rem, 16.5vw, 5.2rem);
    opacity: 0.16;
  }
  .sp-world-stage {
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    bottom: auto;
    height: 58%;
    display: grid;
    place-items: center;
    perspective: 1000px;
  }
  .sp-world-center { width: min(44vw, 174px); margin: 0; z-index: 4; }
  .sp-center-plate { padding: 6px; }
  .sp-orbit-field { position: absolute; inset: 0; display: grid; place-items: center; overflow: visible; padding: 0; }
  .sp-orbit-item { position: absolute; width: clamp(66px, 18.2vw, 82px); padding: 4px; }
  .sp-world-hud {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 68px;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(11, 8, 9, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    pointer-events: auto;
  }
  .sp-world-copy { max-width: 100%; }
  .sp-world-num { font-size: 0.68rem; margin-bottom: 2px; }
  .sp-world-title { font-size: 1.28rem; line-height: 1.14; margin: 0 0 4px; }
  .sp-world-lead {
    font-size: 0.78rem;
    line-height: 1.42;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sp-world-actions .btn--world { min-height: 44px; padding: 0 18px; font-size: 0.82rem; width: 100%; justify-content: center; }
  .sp-world-glass {
    min-width: 0;
    padding: 8px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .sp-glass-top strong { font-size: 1.45rem; }
  .sp-glass-top span { font-size: 0.72rem; }
  .sp-glass-meta { display: none; }
  .sp-glass-bars { width: 54px; height: 14px; flex: none; }
  .sp-worlds-bar {
    left: 12px;
    right: 68px;
    bottom: 12px;
    transform: none;
    max-width: none;
    padding: 4px;
    gap: 4px;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .sp-worlds-bar::-webkit-scrollbar { display: none; }
  .sp-world-tab { min-height: 44px; padding: 0 12px; font-size: 0.74rem; flex: none; }

  /* Act III: Visual-First 3D Turntable + Horizontal Snap Swatch Ribbon */
  .sp-selector { padding: 48px 0 54px; }
  .sp-sel-grid { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .sp-sel-left, .sp-sel-right { display: contents; }
  .sp-sel-left > .eyebrow { order: 1; text-align: center; }
  .sp-sel-heading { order: 2; text-align: center; font-size: clamp(1.85rem, 7.6vw, 2.3rem); margin: 0 0 2px; }
  .sp-sel-orbit-stage { order: 3; min-height: 326px; margin: 2px 0; }
  .sp-sel-halo, .sp-sel-ring-track { width: 268px; height: 268px; }
  .sp-sel-hero-plate { width: min(54vw, 206px); padding: 8px; }
  .sp-sel-plate-tag { font-size: 0.82rem; padding-top: 7px; }
  .sp-sel-mini { width: 64px; padding: 4px; }
  .sp-sel-mini--1 { left: 0; top: 14px; }
  .sp-sel-mini--2 { right: 0; top: 26px; }
  .sp-sel-mini--3 { left: 0; bottom: 72px; right: auto; }
  .sp-swatch-grid {
    order: 4;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 8px;
    gap: 8px;
    padding: 4px 2px 8px;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sp-swatch-grid::-webkit-scrollbar { display: none; }
  .sp-swatch { flex: 0 0 74px; scroll-snap-align: start; padding: 6px 4px; }
  .sp-swatch-ring { width: 52px; height: 52px; }
  .sp-swatch-name { font-size: 0.68rem; }
  .sp-sel-filters {
    order: 5;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .sp-sel-filters::-webkit-scrollbar { display: none; }
  .sp-filter-pill { flex: none; font-size: 0.78rem; padding: 0 13px; }
  .sp-sel-lead { order: 6; min-height: 0; font-size: 0.88rem; margin: 0; }
  .sp-sel-specs { order: 7; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; margin: 0; }
  .sp-sel-spec-item span { font-size: 0.62rem; }
  .sp-sel-spec-item strong { font-size: 0.78rem; }
  .sp-sel-left > .btn-row { order: 8; display: grid; grid-template-columns: 1fr; gap: 8px; }
  .sp-sel-left > .btn-row .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-dial-runway, .sp-worlds-runway { height: auto; }
  .sp-dial-sticky, .sp-worlds-sticky { position: relative; top: 0; height: auto; min-height: 0; max-height: none; padding: 48px 0 92px; flex-direction: column; gap: 24px; }
  .sp-dial-stage { width: 100%; height: auto; padding: 12px 0; }
  .sp-dial-overlay { position: relative; bottom: auto; }
  .sp-dial-hint { display: none; }
  .sp-hero-centerpiece { margin-top: 0; opacity: 1 !important; pointer-events: auto !important; transform: none !important; }
  .sp-dial-ring-wrap { opacity: 0.42 !important; transform: none !important; }
  .sp-world-panel { position: relative; display: none; }
  .sp-world-panel.is-active { display: block; opacity: 1; visibility: visible; }
  .sp-world-stage { position: relative; top: auto; height: auto; display: block; width: 100%; min-height: 0; margin-bottom: 22px; }
  .sp-world-center { margin: 0 auto 16px; transform: none !important; }
  .sp-orbit-field { position: relative; inset: auto; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 8px 16px 0; }
  .sp-orbit-item { position: relative; width: 118px; opacity: 1 !important; transform: none !important; }
  .sp-world-hud { position: relative; left: auto; right: auto; bottom: auto; }
  .sp-sound-pill { display: none !important; }
  .sp-dial-hint-line, .sp-sel-ring-track, .sp-dial-bg-img, .sp-glass-bars span, .sp-sel-hero-plate, .sp-sel-mini { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 961px) {
  .sp-dial-sticky { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 32px; padding: 36px 5vw 48px; }
  .sp-dial-overlay { grid-column: 1; grid-row: 1; max-width: none; padding: 0; }
  .sp-dial-stage { grid-column: 2; grid-row: 1; }
}

/* Floating Tactile Sound Pill (>=44px, GPU-only) */
.sp-sound-pill {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(232, 190, 107, 0.42);
  background: rgba(14, 11, 10, 0.84);
  color: #faf6f0;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 200ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}
.sp-sound-pill .sp-wave-1, .sp-sound-pill .sp-wave-2 { opacity: 0.25; transition: opacity 220ms ease; }
.sp-sound-pill.is-on { background: #e8be6b; border-color: #e8be6b; color: #120d0c; }
.sp-sound-pill.is-on .sp-wave-1, .sp-sound-pill.is-on .sp-wave-2 { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .sp-sound-pill:hover { transform: translateY(-2px); }
}
@media (max-width: 960px) {
  .sp-sound-pill {
    right: 12px;
    bottom: 12px;
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
  }
  .sp-sound-pill [data-sound-label] { display: none; }
}

