:root {
  color-scheme: dark;
  --bg: #13081e;
  --bg-deep: #0d0515;
  --text: #ffffff;
  --subtext: #f7c7e8;
  --muted: #c8b6dc;
  --accent: #e51982;
  --accent-hover: #f2228c;
  --accent-depth: #9e0b58;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-deep);
  color: var(--text);
  font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a[href],
button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.stage {
  --girl-accent: #ff6ec4;
  --girl-accent-soft: #ffa6dc;
  --girl-border: rgba(255, 118, 196, 0.5);
  --girl-border-bright: rgba(255, 146, 214, 0.98);
  --girl-flash-bg: #2f0b38;
  --girl-flash-glow: rgba(255, 72, 180, 0.28);
  --girl-cta-rim: linear-gradient(115deg, #c228ff 0%, #ff6ec4 48%, #ffe3f5 100%);
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100dvh;
  background: var(--bg-deep);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.stage[data-selected="chloe"] {
  --girl-accent: #ff6ec4;
  --girl-accent-soft: #ffa6dc;
  --girl-border: rgba(255, 118, 196, 0.5);
  --girl-border-bright: rgba(255, 146, 214, 0.98);
  --girl-flash-bg: #2f0b38;
  --girl-flash-glow: rgba(255, 72, 180, 0.28);
  --girl-cta-rim: linear-gradient(115deg, #c228ff 0%, #ff6ec4 48%, #ffe3f5 100%);
}

.stage[data-selected="yuki"] {
  --girl-accent: #4ff0ff;
  --girl-accent-soft: #9bf7ff;
  --girl-border: rgba(79, 240, 255, 0.48);
  --girl-border-bright: rgba(132, 248, 255, 0.98);
  --girl-flash-bg: #122436;
  --girl-flash-glow: rgba(79, 240, 255, 0.24);
  --girl-cta-rim: linear-gradient(115deg, #1cc8e8 0%, #5ef2ff 48%, #e2fdff 100%);
}

.stage[data-selected="sora"] {
  --girl-accent: #9b4dff;
  --girl-accent-soft: #c494ff;
  --girl-border: rgba(155, 77, 255, 0.56);
  --girl-border-bright: rgba(190, 136, 255, 0.98);
  --girl-flash-bg: #1c0b3d;
  --girl-flash-glow: rgba(148, 64, 255, 0.3);
  --girl-cta-rim: linear-gradient(115deg, #7428ff 0%, #a864ff 48%, #ede0ff 100%);
}

.desktop-backdrop {
  display: none;
}

.poster-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: var(--bg-deep);
  overflow: hidden;
}

.visual-band {
  container-type: size;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.room-layers,
.actor,
.actor-rig,
.scene-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.room-layers {
  z-index: 1;
  filter: brightness(calc(var(--room-brightness, 1) * 0.66)) saturate(0.84) blur(2.2px);
  transform: scale(1.03);
}

.trio-backlight {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.backlight-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 420ms ease;
}

.backlight-chloe {
  background: radial-gradient(
  ellipse 72% 54% at 50% 48%,
  rgba(255, 84, 184, 0.26) 0%,
  rgba(182, 48, 255, 0.14) 44%,
  rgba(18, 4, 32, 0) 76%
  );
}

.backlight-yuki {
  background: radial-gradient(
  ellipse 72% 54% at 50% 48%,
  rgba(64, 232, 255, 0.22) 0%,
  rgba(142, 62, 255, 0.15) 44%,
  rgba(18, 4, 32, 0) 76%
  );
}

.backlight-sora {
  background: radial-gradient(
  ellipse 72% 54% at 50% 48%,
  rgba(146, 62, 255, 0.28) 0%,
  rgba(96, 36, 232, 0.16) 44%,
  rgba(18, 4, 32, 0) 76%
  );
}

.stage[data-selected="chloe"] .backlight-chloe,
.stage[data-selected="yuki"] .backlight-yuki,
.stage[data-selected="sora"] .backlight-sora {
  opacity: 1;
}

.scene-image {
  object-fit: fill;
}

.actor {
  --foot-bottom: 18%;
  --foot-x: 50%;
  --shadow-nudge-x: 0px;
  --depth-lift: 0px;
  z-index: 3;
  transform: translate(calc(var(--x, 0) * 1%), calc(var(--y, 0) * 1%)) scale(var(--scale, 1));
  transform-origin: var(--foot-x) calc(100% - var(--foot-bottom));
  opacity: var(--opacity, 1);
  transition:
  transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
  filter 300ms ease;
  will-change: transform, filter;
}

.actor-rig {
  z-index: 2;
  transform-origin: var(--foot-x) calc(100% - var(--foot-bottom));
}

.stage[data-selected] .actor {
  opacity: 1;
  filter: brightness(0.88) contrast(1.04) saturate(0.96);
  z-index: 3;
}

.stage[data-selected] .actor-chloe {
  filter: brightness(0.83) contrast(1.04) saturate(0.92);
}

.stage[data-selected="chloe"] .actor-chloe,
.stage[data-selected="yuki"] .actor-yuki,
.stage[data-selected="sora"] .actor-sora {
  opacity: 1;
  filter: brightness(1.06) contrast(1.05) saturate(1.05);
  transform: translate(calc(var(--x, 0) * 1%), calc(var(--y, 0) * 1%)) scale(calc(var(--scale, 1) * 1.038));
  z-index: 4;
}

.stage[data-selected="chloe"] .actor-chloe {
  filter: brightness(1.0) contrast(1.05) saturate(0.99);
}

.actor .scene-image {
  inset: auto;
  left: var(--foot-x);
  bottom: var(--foot-bottom);
  height: calc(var(--height) * 1%);
  width: auto;
  max-width: none;
  object-fit: contain;
  transform-origin: center bottom;
  transform: translate3d(-50%, 0, 0);
  opacity: 0;
  visibility: hidden;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.42) 0px, #000000 5px, #000000 100%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.42) 0px, #000000 5px, #000000 100%);
}

.actor .pose-start {
  opacity: 1;
  visibility: visible;
}

.stage[data-selected="chloe"][data-pose="wave"] .actor-chloe .pose-start,
.stage[data-selected="yuki"][data-pose="wave"] .actor-yuki .pose-start,
.stage[data-selected="sora"][data-pose="wave"] .actor-sora .pose-start {
  opacity: 0;
  visibility: hidden;
}

.stage[data-selected="chloe"][data-pose="wave"] .actor-chloe .pose-wave,
.stage[data-selected="yuki"][data-pose="wave"] .actor-yuki .pose-wave,
.stage[data-selected="sora"][data-pose="wave"] .actor-sora .pose-wave {
  opacity: 1;
  visibility: visible;
}

.foot-glow,
.foot-shadow,
.foot-contact {
  display: block;
  position: absolute;
  left: calc(var(--foot-x) + var(--shadow-nudge-x));
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
}

.foot-glow {
  z-index: 0;
  bottom: calc(var(--foot-bottom) - 18px);
  width: 150px;
  height: 44px;
  opacity: 0;
  mix-blend-mode: screen;
  filter: blur(8px);
  transition: opacity 420ms ease;
}

.actor-chloe .foot-glow {
  background: radial-gradient(
  ellipse at center,
  rgba(255, 86, 186, 0.44) 0%,
  rgba(255, 58, 172, 0.16) 48%,
  rgba(255, 58, 172, 0) 78%
  );
}

.actor-yuki .foot-glow {
  background: radial-gradient(
  ellipse at center,
  rgba(64, 236, 255, 0.42) 0%,
  rgba(56, 198, 255, 0.15) 48%,
  rgba(56, 198, 255, 0) 78%
  );
}

.actor-sora .foot-glow {
  background: radial-gradient(
  ellipse at center,
  rgba(155, 77, 255, 0.48) 0%,
  rgba(116, 48, 240, 0.17) 48%,
  rgba(116, 48, 240, 0) 78%
  );
}

.stage[data-selected="chloe"] .actor-chloe .foot-glow,
.stage[data-selected="yuki"] .actor-yuki .foot-glow,
.stage[data-selected="sora"] .actor-sora .foot-glow {
  opacity: 1;
}

.foot-shadow {
  z-index: 1;
  bottom: calc(var(--foot-bottom) - 7px);
  height: 22px;
  background: radial-gradient(
  ellipse at 50% 58%,
  rgba(4, 0, 10, 0.92) 0%,
  rgba(8, 1, 18, 0.68) 38%,
  rgba(12, 2, 24, 0.28) 68%,
  rgba(12, 2, 24, 0) 100%
  );
  filter: blur(3px);
}

.foot-contact {
  z-index: 3;
  bottom: calc(var(--foot-bottom) - 3px);
  height: 11px;
  background: radial-gradient(
  ellipse at 50% 55%,
  rgba(4, 0, 10, 0.95) 0%,
  rgba(8, 1, 16, 0.72) 48%,
  rgba(8, 1, 16, 0) 100%
  );
  mix-blend-mode: multiply;
  filter: blur(1.5px);
}

.floor-ambient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
  to top,
  rgba(12, 3, 22, 0.42) 0%,
  rgba(24, 6, 38, 0.14) 55%,
  rgba(24, 6, 38, 0) 100%
  );
  mix-blend-mode: multiply;
}

@media (max-width: 759px) {
  .room-layers .scene-image {
    object-fit: cover;
    object-position: center 54%;
  }

  .actor {
    --base-foot-bottom: calc(max(114px, 16cqh) + env(safe-area-inset-bottom, 0px));
    --foot-bottom: var(--base-foot-bottom);
    --foot-x: 50%;
    --depth-lift: 0px;
    transition:
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 440ms ease,
    opacity 420ms ease;
  }

  .actor-sora {
    --shadow-nudge-x: -5px;
  }

  .actor-yuki {
    --shadow-nudge-x: -5px;
  }

  .actor-chloe {
    --shadow-nudge-x: -7px;
  }

  .stage[data-selected="chloe"] .actor-sora,
  .stage[data-selected="yuki"] .actor-chloe,
  .stage[data-selected="sora"] .actor-yuki {
    transform: translate3d(-32%, -26px, 0) scale(0.76);
    filter: brightness(0.56) contrast(1.02) saturate(0.78);
    opacity: 0.9;
    z-index: 2;
  }

  .stage[data-selected="chloe"] .actor-yuki,
  .stage[data-selected="yuki"] .actor-sora,
  .stage[data-selected="sora"] .actor-chloe {
    transform: translate3d(32%, -26px, 0) scale(0.76);
    filter: brightness(0.56) contrast(1.02) saturate(0.78);
    opacity: 0.9;
    z-index: 1;
  }

  .stage[data-selected="chloe"] .actor-chloe,
  .stage[data-selected="yuki"] .actor-yuki,
  .stage[data-selected="sora"] .actor-sora {
    transform: translate3d(0%, 0px, 0) scale(1.05);
    filter: brightness(1.06) contrast(1.05) saturate(1.05);
    opacity: 1;
    z-index: 4;
  }

  .stage[data-selected="chloe"] .actor-chloe {
    filter: brightness(1.0) contrast(1.05) saturate(0.99);
  }

  .stage[data-selected="chloe"][data-pose="wave"] .actor-chloe {
    --shadow-nudge-x: -5px;
  }

  .stage[data-selected="yuki"][data-pose="wave"] .actor-yuki {
    --shadow-nudge-x: 3px;
  }

  .stage[data-selected="sora"][data-pose="wave"] .actor-sora {
    --shadow-nudge-x: 1px;
  }

  .actor .scene-image {
    height: min(
    calc(var(--height) / 73.7 * (100cqh - 196px)),
    calc(var(--height) / 73.7 * 138cqw)
    );
  }

  .characters {
    grid-template-columns: 26% 48% 26%;
    inset: 0 0 108px;
    touch-action: pan-y;
  }

  .stage[data-selected="chloe"] .character-sora {
    order: 1;
  }

  .stage[data-selected="chloe"] .character-chloe {
    order: 2;
  }

  .stage[data-selected="chloe"] .character-yuki {
    order: 3;
  }

  .stage[data-selected="yuki"] .character-chloe {
    order: 1;
  }

  .stage[data-selected="yuki"] .character-yuki {
    order: 2;
  }

  .stage[data-selected="yuki"] .character-sora {
    order: 3;
  }

  .stage[data-selected="sora"] .character-yuki {
    order: 1;
  }

  .stage[data-selected="sora"] .character-sora {
    order: 2;
  }

  .stage[data-selected="sora"] .character-chloe {
    order: 3;
  }

  .actor-chloe .foot-shadow {
    width: 102px;
  }

  .actor-chloe .foot-contact {
    width: 72px;
  }

  .actor-yuki .foot-shadow {
    width: 124px;
  }

  .actor-yuki .foot-contact {
    width: 90px;
  }

  .actor-sora .foot-shadow {
    width: 104px;
  }

  .actor-sora .foot-contact {
    width: 74px;
  }
}

@media (max-width: 374px) {
  .room-layers .scene-image {
    object-position: center 66%;
  }

  .ad-header {
    padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px;
  }

  .headline-group {
    gap: 4px;
  }

  .title-lead {
    font-size: 10.5px;
    letter-spacing: 0.24em;
  }

  .title-main {
    font-size: 21px;
  }

  .subhook {
    font-size: 11.5px;
  }

  .actor {
    --base-foot-bottom: calc(114px + env(safe-area-inset-bottom, 0px));
    --foot-bottom: var(--base-foot-bottom);
  }

  .stage[data-selected="chloe"] .actor-sora,
  .stage[data-selected="yuki"] .actor-chloe,
  .stage[data-selected="sora"] .actor-yuki {
    transform: translate3d(-32%, -20px, 0) scale(0.74);
  }

  .stage[data-selected="chloe"] .actor-yuki,
  .stage[data-selected="yuki"] .actor-sora,
  .stage[data-selected="sora"] .actor-chloe {
    transform: translate3d(32%, -20px, 0) scale(0.74);
  }

  .actor .scene-image {
    height: min(
    calc(var(--height) / 73.7 * (100cqh - 202px)),
    calc(var(--height) / 73.7 * 134cqw)
    );
  }

  .characters {
    inset: 0 0 104px;
  }
}

.characters {
  position: absolute;
  inset: 0 0 94px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  pointer-events: auto;
}

.character {
  display: block;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
}

.character:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: -4px;
}

.ad-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 14px;
  background: linear-gradient(
  to bottom,
  rgba(16, 5, 28, 0.9) 0%,
  rgba(16, 5, 28, 0.46) 68%,
  rgba(16, 5, 28, 0) 100%
  );
  pointer-events: none;
}

.headline-group {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  max-width: 100%;
}

h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 2px 10px rgba(10, 2, 18, 0.94);
}

.title-lead {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: clamp(10.5px, 2.9vw, 13px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.86);
  padding-left: 0.3em;
}

.title-main {
  font-family: 'Montserrat', 'Arial Black', 'Segoe UI Black', sans-serif;
  font-size: clamp(22px, 7.2vw, 34px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.title-accent {
  color: #ff2e97;
}

.subhook {
  margin: 0;
  font-size: clamp(12.5px, 3.4vw, 14.5px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(8, 2, 16, 0.96);
}

.subhook-accent {
  color: #ff4fb8;
  font-weight: 700;
}

.cta-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  padding: 10px 14px calc(7px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(
  to top,
  rgba(14, 4, 24, 0.82) 0%,
  rgba(14, 4, 24, 0.46) 68%,
  rgba(14, 4, 24, 0) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  pointer-events: none;
}

.carousel-dots,
.cta-wrap,
.micro-footer {
  pointer-events: auto;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: -4px;
}

.carousel-dot {
  position: relative;
  width: 34px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.carousel-dot::after {
  content: '';
  display: block;
  width: 8px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition: width 280ms cubic-bezier(0.22, 1, 0.36, 1), background-color 260ms ease, opacity 260ms ease;
}

.carousel-dot.is-active::after {
  width: 24px;
  background: #ff4fb8;
}

.carousel-dot[data-dot-girl="yuki"].is-active::after {
  background: #4ff0ff;
}

.carousel-dot[data-dot-girl="sora"].is-active::after {
  background: #a855ff;
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
  border-radius: 999px;
}

@media (min-width: 760px) {
  .carousel-dots {
    display: none;
  }
}

.cta-wrap {
  position: relative;
  width: 100%;
  max-width: 344px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.primary-cta {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 24px 6px 24px 6px;
  background:
  linear-gradient(180deg, #ff45ab 0%, #e81782 56%, #c40c6a 100%) padding-box,
  var(--girl-cta-rim) border-box;
  box-shadow: 0 6px 16px rgba(8, 2, 14, 0.55);
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(72, 2, 38, 0.55);
  text-decoration: none;
  font-size: clamp(14.5px, 4.3vw, 17px);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
  transition:
  transform 150ms cubic-bezier(0.22, 1, 0.36, 1),
  filter 160ms ease,
  box-shadow 160ms ease;
}

.primary-cta.cta-nudge {
  animation: ctaSyncPulse 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-text {
  position: relative;
  z-index: 2;
  line-height: 1;
}

.cta-shine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -75%;
  width: 46%;
  z-index: 1;
  background: linear-gradient(
  105deg,
  rgba(255, 255, 255, 0) 0%,
  rgba(255, 255, 255, 0.38) 50%,
  rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: ctaSweep 4.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.primary-cta:hover {
  filter: brightness(1.07);
  box-shadow: 0 6px 18px rgba(8, 2, 14, 0.65);
}

.primary-cta:active {
  animation: none;
  transform: scale(0.97);
  filter: brightness(0.96);
}

.primary-cta:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.micro-footer {
  font-size: 10px;
  color: rgba(235, 220, 248, 0.85);
  text-align: center;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.stage.image-error .scene {
  visibility: hidden;
}

@media (min-width: 760px) {
  .desktop-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }

  .desktop-backdrop::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('assets/background-desktop-v2.webp?v=hd') center bottom / cover no-repeat;
    filter: brightness(0.64) saturate(0.82) blur(2.5px);
    transform: scale(1.03);
  }

  .desktop-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
    linear-gradient(
    to top,
    rgba(10, 2, 18, 0.44) 0%,
    rgba(18, 4, 30, 0.14) 10%,
    rgba(18, 4, 30, 0) 18%
    ),
    radial-gradient(ellipse 48% 30% at 76% 24%, rgba(12, 3, 20, 0.68) 0%, rgba(12, 3, 20, 0) 100%),
    radial-gradient(ellipse 48% 36% at 76% 76%, rgba(12, 3, 20, 0.74) 0%, rgba(12, 3, 20, 0) 100%),
    linear-gradient(
    90deg,
    rgba(11, 4, 18, 0.14) 0%,
    rgba(11, 4, 18, 0.0) 44%,
    rgba(11, 4, 18, 0.22) 68%,
    rgba(11, 4, 18, 0.44) 100%
    );
  }

  .poster-shell {
    width: 100%;
    max-width: 1480px;
    height: 100%;
    background: transparent;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
    "visual header"
    "visual ."
    "visual cta";
    align-items: stretch;
    column-gap: clamp(16px, 2.5vw, 36px);
    padding: 0 clamp(28px, 4vw, 60px) 0 clamp(12px, 2vw, 32px);
  }

  .visual-band {
    grid-area: visual;
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: visible;
  }

  .room-layers {
    display: none;
  }

  .scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .trio-backlight {
    inset: 0 -180px;
  }

  .backlight-chloe {
    background: radial-gradient(
    ellipse 44% 52% at 52% 48%,
    rgba(255, 84, 184, 0.25) 0%,
    rgba(182, 48, 255, 0.13) 45%,
    rgba(18, 4, 32, 0) 92%
    );
  }

  .backlight-yuki {
    background: radial-gradient(
    ellipse 44% 52% at 52% 48%,
    rgba(64, 232, 255, 0.22) 0%,
    rgba(142, 62, 255, 0.14) 45%,
    rgba(18, 4, 32, 0) 92%
    );
  }

  .backlight-sora {
    background: radial-gradient(
    ellipse 44% 52% at 52% 48%,
    rgba(146, 62, 255, 0.28) 0%,
    rgba(96, 36, 232, 0.16) 45%,
    rgba(18, 4, 32, 0) 92%
    );
  }

  .actor-sora {
    --foot-x: max(31%, calc(55.5% - min(24.5%, 23.5cqh)));
    --foot-bottom: 3.6%;
    --shadow-nudge-x: -12px;
  }

  .actor-yuki {
    --foot-x: 55.5%;
    --foot-bottom: 2.4%;
    --shadow-nudge-x: -12px;
  }

  .actor-chloe {
    --foot-x: min(81.5%, calc(55.5% + min(26%, 24cqh)));
    --foot-bottom: 3.6%;
    --shadow-nudge-x: -14px;
  }

  .stage[data-selected="chloe"][data-pose="wave"] .actor-chloe {
    --shadow-nudge-x: -8px;
  }

  .stage[data-selected="yuki"][data-pose="wave"] .actor-yuki {
    --shadow-nudge-x: 6px;
  }

  .stage[data-selected="sora"][data-pose="wave"] .actor-sora {
    --shadow-nudge-x: 2px;
  }

  .actor .scene-image {
    height: min(
    calc(var(--height) / 73.7 * 93cqh),
    calc(var(--height) / 73.7 * 110cqw)
    );
  }

  .foot-glow {
    bottom: calc(var(--foot-bottom) - 2.6%);
    width: min(290px, 38cqw);
    height: 62px;
    filter: blur(12px);
  }

  .foot-shadow {
    bottom: calc(var(--foot-bottom) - 1.2%);
    height: 30px;
    filter: blur(4px);
  }

  .foot-contact {
    bottom: calc(var(--foot-bottom) - 0.5%);
    height: 15px;
    filter: blur(2px);
  }

  .actor-chloe .foot-shadow {
    width: min(176px, 24cqw);
  }

  .actor-chloe .foot-contact {
    width: min(124px, 17cqw);
  }

  .actor-yuki .foot-shadow {
    width: min(220px, 29cqw);
  }

  .actor-yuki .foot-contact {
    width: min(162px, 21cqw);
  }

  .actor-sora .foot-shadow {
    width: min(182px, 24cqw);
  }

  .actor-sora .foot-contact {
    width: min(128px, 17cqw);
  }

  .floor-ambient {
    display: none;
  }

  .characters {
    inset: 0 0 0 18%;
  }

  .ad-header {
    grid-area: header;
    align-self: start;
    position: relative;
    inset: auto;
    padding: clamp(72px, 16vh, 154px) 0 0;
    background: transparent;
    pointer-events: auto;
  }

  .headline-group {
    gap: 10px;
    width: 100%;
    max-width: 500px;
  }

  h1 {
    gap: 6px;
  }

  .title-lead {
    font-size: clamp(13px, 1.15vw, 15.5px);
    letter-spacing: 0.32em;
    padding-left: 0.32em;
  }

  .title-main {
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.02;
  }

  .subhook {
    font-size: clamp(15px, 1.35vw, 18px);
  }

  .cta-band {
    grid-area: cta;
    align-self: end;
    position: relative;
    inset: auto;
    padding: 0 0 clamp(64px, 14vh, 130px);
    background: transparent;
    gap: 16px;
    pointer-events: auto;
  }

  .cta-wrap {
    max-width: 456px;
  }

  .primary-cta {
    border-radius: 28px 7px 28px 7px;
    min-height: 60px;
    font-size: 20px;
  }

  .micro-footer {
    font-size: 12px;
  }
}

@keyframes ctaSweep {
  0%,
  58% {
    left: -75%;
  }
  100% {
    left: 135%;
  }
}

@keyframes ctaSyncPulse {
  0% {
    transform: scale3d(1, 1, 1);
  }
  38% {
    transform: scale3d(1.026, 1.026, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .cta-shine {
    display: none;
  }
}

.ad-header,
.cta-band {
  transition: opacity 320ms ease;
}

body:has(.age-gate:not([hidden]):not(.is-leaving)) .ad-header,
body:has(.age-gate:not([hidden]):not(.is-leaving)) .cta-band {
  opacity: 0;
  pointer-events: none;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 16px)) 16px calc(22px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(
  to top,
  rgba(6, 1, 12, 0.97) 0%,
  rgba(8, 2, 16, 0.92) 28%,
  rgba(10, 3, 20, 0.56) 56%,
  rgba(10, 3, 20, 0.34) 78%,
  rgba(8, 2, 16, 0.54) 100%
  );
  opacity: 1;
  transition: opacity 240ms ease;
}

.age-gate.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.age-gate[hidden] {
  display: none;
}

.age-gate-card {
  width: 100%;
  max-width: 370px;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.age-gate-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.age-gate-seal {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 14px rgba(4, 0, 10, 0.78));
}

.age-gate-seal svg {
  width: 100%;
  height: 100%;
  display: block;
}

.age-gate-title {
  margin: 0;
  font-family: 'Montserrat', 'Arial Black', 'Segoe UI Black', sans-serif;
  font-size: clamp(24px, 7vw, 31px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(6, 1, 14, 0.95);
}

.age-gate-desc {
  margin: 0;
  max-width: 320px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 8px rgba(6, 1, 14, 0.95);
}

.age-gate-devil {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: -4px;
  margin-left: 3px;
  filter: drop-shadow(0 2px 6px rgba(155, 77, 255, 0.55));
}

.age-gate-devil svg {
  width: 100%;
  height: 100%;
  display: block;
}

.age-gate-actions {
  width: 100%;
  margin-top: 2px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.age-gate-confirm {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 24px 6px 24px 6px;
  background:
  linear-gradient(180deg, #ff45ab 0%, #e81782 56%, #c40c6a 100%) padding-box,
  linear-gradient(115deg, #c228ff 0%, #ff6ec4 48%, #ffe3f5 100%) border-box;
  box-shadow: 0 8px 22px rgba(6, 1, 14, 0.72);
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(72, 2, 38, 0.55);
  font-family: inherit;
  font-size: clamp(13.5px, 3.9vw, 15.5px);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
  transform 150ms cubic-bezier(0.22, 1, 0.36, 1),
  filter 160ms ease,
  box-shadow 160ms ease;
}

.age-gate-confirm:hover {
  filter: brightness(1.07);
  box-shadow: 0 10px 26px rgba(6, 1, 14, 0.8);
}

.age-gate-confirm:active {
  transform: scale(0.97);
  filter: brightness(0.96);
}

.age-gate-confirm:focus-visible,
.age-gate-exit:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.age-gate-exit {
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px 20px 6px 20px;
  background: rgba(18, 5, 28, 0.68);
  color: rgba(232, 218, 246, 0.82);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.age-gate-exit:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(28, 9, 42, 0.82);
  color: #ffffff;
}

@media (min-width: 760px) {
  .age-gate {
    align-items: center;
    justify-content: flex-end;
    padding: 0 clamp(44px, 7vw, 110px);
    background: linear-gradient(
    90deg,
    rgba(8, 2, 16, 0.36) 0%,
    rgba(8, 2, 16, 0.56) 44%,
    rgba(7, 1, 14, 0.92) 64%,
    rgba(6, 1, 12, 0.97) 100%
    );
  }

  .age-gate-card {
    max-width: 440px;
    gap: 16px;
  }

  .age-gate-seal {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
  }

  .age-gate-title {
    font-size: clamp(31px, 3.1vw, 40px);
  }

  .age-gate-desc {
    max-width: 390px;
    font-size: 14px;
  }

  .age-gate-confirm,
  .age-gate-exit {
    min-height: 56px;
  }

  .age-gate-confirm {
    border-radius: 28px 7px 28px 7px;
    font-size: 16.5px;
  }

  .age-gate-exit {
    border-radius: 7px 24px 7px 24px;
    padding: 12px 24px;
    font-size: 13.5px;
  }
}

@media (max-width: 374px) {
  .age-gate {
    padding: 12px 12px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .age-gate-card {
    gap: 9px;
  }

  .age-gate-seal {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .age-gate-desc {
    font-size: 11.5px;
  }

  .age-gate-confirm,
  .age-gate-exit {
    min-height: 46px;
    padding: 10px 14px;
  }
}

/* Late-night line: visitor's own local time + the girl on screen. Real clock, no countdown, no notification styling. */
.night-line {
  --night-accent: #ff6ec4;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(100deg, rgba(34, 10, 52, 0.78), rgba(18, 5, 30, 0.62));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(6, 1, 14, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  text-transform: none;
  text-shadow: 0 1px 6px rgba(6, 1, 14, 0.9);
}

.night-line[hidden] {
  display: none;
}

.night-line[data-girl="yuki"] { --night-accent: #4ff0ff; }
.night-line[data-girl="sora"] { --night-accent: #b57bff; }

.night-line-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #ffe2a8;
  filter: drop-shadow(0 0 6px rgba(255, 214, 140, 0.75));
  animation: night-moon-glow 3.6s ease-in-out infinite;
}

.night-line-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.night-line-time {
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.night-line-name {
  font-weight: 800;
  color: var(--night-accent);
  transition: color 320ms ease;
}

.night-line-text.is-swapping {
  animation: night-line-swap 420ms ease;
}

@keyframes night-moon-glow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 214, 140, 0.55)); }
  50% { filter: drop-shadow(0 0 9px rgba(255, 214, 140, 0.95)); }
}

@keyframes night-line-swap {
  0% { opacity: 0.25; transform: translateY(3px); }
  100% { opacity: 1; transform: none; }
}

.night-line-text {
  display: inline-block;
}

.night-line-gate {
  margin-bottom: 2px;
}

.night-line-header {
  margin-bottom: 2px;
}

@media (min-width: 760px) {
  .night-line {
    font-size: 14px;
    padding: 7px 15px 7px 10px;
    gap: 9px;
  }

  .night-line-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}

@media (max-width: 374px) {
  .night-line {
    font-size: 11px;
    padding: 4px 10px 4px 7px;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .night-line-icon,
  .night-line-text.is-swapping {
    animation: none;
  }
}
