﻿/* Live Promo — x-live 风格全屏直播宣传页 */

:root {
  --font-display: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ui: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --bg-primary: #12080f;
  --text-primary: #fff1f2;
  --text-secondary: #fce7f3;
  --accent: #f472b6;
  --accent-rgb: 244, 114, 182;
  --accent-dim: #db2777;
  --tone-deep: #9d174d;
  --neon-purple: #fb7185;
  --accent-warm-rgb: 251, 113, 133;
  --radius-lg: 18px;
  --shadow-elevated: 0 18px 48px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --safe-top: env(safe-area-inset-top, 0px);
  --download-bar-h: 0px;
  --text: var(--text-primary);
  --muted: rgba(252, 231, 243, 0.72);
  --line: rgba(255, 255, 255, 0.1);
}

body.live-promo-page--download-bar {
  --download-bar-h: 56px;
}

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

html {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

body.live-promo-page {
  font-family: var(--font-ui);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.live-promo-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 65% at 50% -20%, rgba(var(--accent-rgb), 0.1), transparent 50%),
    linear-gradient(180deg, #1a0c14 0%, #12080f 50%, #0e060b 100%);
  pointer-events: none;
  z-index: 0;
}

button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
img, video { max-width: 100%; display: block; }
::-webkit-scrollbar { display: none; }

.promo-page {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  --brand-mark-gradient: linear-gradient(125deg, #fff1f2 12%, var(--accent) 48%, #9d174d 92%);
  --home-bottom-cta-reserve: calc(96px + env(safe-area-inset-bottom, 0px));
  --top-download-reserve: calc(var(--download-bar-h) + var(--safe-top));
  --slide-badge-top: calc(10px + var(--top-download-reserve) + 52px);
  overflow: hidden;
}

/* ── Download Bar（置顶，主题色渐变 + 黑底白字按钮） ── */
.download-bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 30;
  background: linear-gradient(90deg, #9d174d 0%, #db2777 28%, #ec4899 58%, #fbcfe8 100%);
}

.download-bar--top {
  top: 0;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px;
  border-bottom: none;
  box-shadow: 0 10px 28px rgba(157, 23, 77, 0.22);
}

.download-bar__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-bar__info {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.download-bar__icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(74, 18, 44, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(74, 18, 44, 0.2);
}

.download-bar__icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

.download-bar__icon span {
  font-size: 20px;
  font-weight: 800;
  color: #fff1f2;
}

.download-bar__text {
  min-width: 0;
  display: grid;
}

.download-bar__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1a0a12;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-bar__desc {
  margin: 0;
  font-size: 12px;
  color: rgba(26, 10, 18, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-bar .btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.9em;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: #111;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.download-bar__btn {
  min-width: 132px;
  flex-shrink: 0;
  gap: 8px;
}

.download-bar__btn svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

/* ── Topbar ── */
.topbar {
  position: absolute;
  top: var(--top-download-reserve, var(--safe-top));
  left: 0; right: 0;
  z-index: 20;
  pointer-events: none;
}

.topbar-atmos {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 6, 18, 0.42) 0%, rgba(12, 8, 20, 0.26) 48%, transparent 100%);
  backdrop-filter: blur(44px) saturate(175%);
  -webkit-backdrop-filter: blur(44px) saturate(175%);
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

.topbar-row {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
}

.topbar-hairline {
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.22) 22%, rgba(255,255,255,0.08) 50%, rgba(var(--accent-rgb), 0.18) 78%, transparent);
  opacity: 0.85;
}

.brand-hud {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(42vw, 220px);
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  cursor: default;
  user-select: none;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 8px 28px rgba(0,0,0,0.35);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
}

.brand-logo {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fda4af;
  background: var(--brand-mark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.topbar-center { flex: 1; min-width: 0; display: flex; justify-content: center; }

.live-hud {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 40px rgba(0,0,0,0.38);
  backdrop-filter: blur(32px) saturate(170%);
  -webkit-backdrop-filter: blur(32px) saturate(170%);
  animation: live-hud-breathe 2.8s ease-in-out infinite;
}

@keyframes live-hud-breathe {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 40px rgba(0,0,0,0.38), 0 0 18px rgba(var(--accent-rgb), 0.12); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 14px 44px rgba(0,0,0,0.42), 0 0 32px rgba(var(--accent-rgb), 0.24); border-color: rgba(var(--accent-rgb), 0.32); }
}

.live-pulse-wrap {
  position: relative;
  width: 10px; height: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.live-pulse-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.22);
  animation: live-pulse-ring 2.4s ease-out infinite;
}

.live-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fb7185, #db2777 72%);
  box-shadow: 0 0 12px rgba(219, 39, 119, 0.55);
  animation: live-pulse-core 2s ease-in-out infinite;
}

@keyframes live-pulse-ring {
  0% { transform: scale(0.65); opacity: 0.65; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { opacity: 0; }
}

@keyframes live-pulse-core {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.92); }
}

.live-hud-label {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 254, 248, 0.88);
  white-space: nowrap;
}

.lang-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 34px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
}

.lang-icon-btn--open { border-color: rgba(var(--accent-rgb), 0.45); }
.lang-icon-svg { width: 19px; height: 19px; display: block; }

/* ── Video shell ── */
.video-shell {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 11;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), inset 0 -72px 96px rgba(0,0,0,0.55);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.78s var(--ease-out-expo);
  will-change: transform;
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(168deg, #140e1c, #0e0814 40%, #08050e);
}

.slide-poster-fallback {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.slide-poster-fallback--hidden { opacity: 0; }

.slide-live-fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 3px);
}

.carousel-slide--video-playing .slide-live-fx { opacity: 1; }

.slide-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8,5,16,0.5) 0%, transparent 28%, transparent 58%, rgba(6,4,12,0.92) 100%);
}

.embed-video-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.slide-video-mount--engine {
  position: fixed;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  overflow: hidden;
  opacity: 0.01;
  pointer-events: none;
  z-index: -1;
  clip-path: inset(50%);
}

.slide-video-mount--engine .slide-video {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
}

.slide-video-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.slide-video-canvas--visible { opacity: 1; }

.slide-video-shield {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: auto;
  background: transparent;
  display: none;
}

.slide-video-shield--on { display: block; }

.slide-video-frame--playing .slide-video-canvas--visible {
  animation: live-drift 20s ease-in-out infinite alternate;
}

.slide-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: #08050e;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.slide-video--visible { opacity: 1; }

.slide-video-frame--playing .slide-video {
  animation: live-drift 20s ease-in-out infinite alternate;
}

@keyframes live-drift {
  0% { transform: scale(1.08) translate(-1%, -0.5%); }
  100% { transform: scale(1.14) translate(1%, 0.5%); }
}

.slide-video::-webkit-media-controls { display: none !important; }
.slide-video::-webkit-media-controls-enclosure { display: none !important; }

.slide-video-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(8, 5, 14, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.slide-video-loading.is-hidden { display: none; }

.slide-video-loading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(192px, 57.6vw);
}

.slide-video-loading-label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  color: var(--neon-purple);
  text-shadow: 0 0 18px rgba(var(--accent-warm-rgb), 0.45);
}

.slide-video-loading-heart-char {
  color: var(--accent);
  animation: slide-loading-heart-beat 1.1s ease-in-out infinite;
}

.slide-video-loading-track {
  position: relative;
  width: 100%;
  height: 11px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--tone-deep), #500724);
}

.slide-video-loading-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(252,231,243,0.92), rgba(var(--accent-rgb),0.85), var(--neon-purple));
  animation: slide-loading-progress 2.4s cubic-bezier(0.16,1,0.3,1) forwards, slide-loading-progress-creep 12s 2.4s cubic-bezier(0.45,0,0.55,1) forwards;
}

@keyframes slide-loading-heart-beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

@keyframes slide-loading-progress { to { width: 88%; } }
@keyframes slide-loading-progress-creep { from { width: 88%; } to { width: 96%; } }

/* ── Badge / Nav / Dots ── */
.slide-badge--overlay {
  position: absolute;
  top: var(--slide-badge-top);
  left: 16px;
  z-index: 6;
  display: flex;
  gap: 8px;
  pointer-events: none;
}

.live-tag {
  padding: 6px 11px;
  border-radius: 100px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(233, 213, 255, 0.96);
}

.viewers-pill {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 600;
  color: rgba(245, 243, 255, 0.85);
  background: rgba(8, 6, 16, 0.45);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.nav-fab {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  background: rgba(10, 6, 18, 0.42);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
}

.nav-fab:active { transform: translateY(-50%) scale(0.94); }
.nav-fab--prev { left: 10px; }
.nav-fab--next { right: 10px; }
.nav-fab svg { width: 18px; height: 18px; }

.dots--float-tr {
  position: absolute;
  top: var(--slide-badge-top);
  right: 14px;
  z-index: 22;
  display: flex;
  gap: 6px;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 100px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transition: width 0.32s var(--ease-out-expo), background 0.22s ease;
  padding: 0;
}

.dot.on {
  width: 22px; height: 3px;
  border-radius: 100px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.35);
}

/* ── Live comments ── */
.live-comments-anchor {
  position: absolute;
  left: 10px;
  width: min(72vw, 288px);
  max-width: calc(100% - 80px);
  bottom: calc(15px + var(--home-bottom-cta-reserve));
  z-index: 5;
  pointer-events: none;
  max-height: min(38vh, 300px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000);
}

.live-comments-stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

.live-comment-bubble {
  padding: 7px 11px 7px 10px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255,255,255,0.96);
  text-shadow: 0 1px 2px rgba(0,0,0,0.88);
  background: rgba(0,0,0,0.44);
  border: 1px solid rgba(255,255,255,0.09);
  border-left: 3px solid rgba(var(--accent-rgb), 0.55);
  backdrop-filter: blur(10px);
  word-break: break-word;
  animation: comment-in 0.3s var(--ease-out-expo);
}

.live-comment-bubble--system { border-left-color: rgba(var(--accent-warm-rgb), 0.55); }
.live-comment-user { font-weight: 700; color: rgba(233, 213, 255, 0.98); }
.live-comment-sep { color: rgba(255,255,255,0.45); }

@keyframes comment-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Bottom CTA ── */
.bottom-cta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 15;
  padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent, rgba(6,4,12,0.92) 36%, rgba(5,3,10,0.98));
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 22px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff1f2;
  background: linear-gradient(90deg, #db2777, #be185d 22%, #ec4899, #be185d, #9d174d);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 14px 36px rgba(0,0,0,0.35), 0 0 0 1px rgba(var(--accent-rgb), 0.25);
  text-decoration: none;
  transition: transform 0.18s var(--ease-out-expo);
}

.btn-download:active { transform: scale(0.985); }

.btn-download--ghost {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-download--ghost::after {
  content: '';
  position: absolute;
  top: -10%; bottom: -10%;
  left: 0; width: 42%;
  pointer-events: none;
  background: linear-gradient(92deg, transparent, rgba(255,255,255,0.28) 45%, rgba(255,255,255,0.62) 50%, rgba(255,255,255,0.28) 55%, transparent);
  transform: translateX(-120%) skewX(-14deg);
  animation: ios-unlock-sweep 2.9s ease-in-out infinite;
  mix-blend-mode: soft-light;
}

@keyframes ios-unlock-sweep {
  0%, 100% { transform: translateX(-130%) skewX(-14deg); }
  55% { transform: translateX(260%) skewX(-14deg); }
}

.ghost-download-proof {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(233, 213, 255, 0.82);
}

.ghost-download-proof__n {
  font-weight: 800;
  color: #fae8ff;
}

/* ── Overlays ── */
.tip-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tip-overlay.is-hidden { display: none; }

.tip-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(6px);
}

.tip-panel {
  position: relative;
  width: 100%;
  max-width: 300px;
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  background: rgba(12, 10, 6, 0.94);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-elevated);
}

.tip-panel--message {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  text-align: center;
}

.tip-panel__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(255, 254, 248, 0.92);
}

.btn-download--compact {
  width: 100%;
  justify-content: center;
  min-height: 44px;
}

.lang-sheet-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 254, 248, 0.55);
  text-align: center;
}

.lang-sheet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lang-sheet-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  text-align: left;
  color: rgba(255, 254, 248, 0.88);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.lang-sheet-option--active {
  background: linear-gradient(135deg, rgba(255,251,235,0.14), rgba(var(--accent-rgb),0.18));
  border-color: rgba(var(--accent-rgb), 0.4);
}

.lang-sheet-name { font-size: 15px; font-weight: 600; }
.lang-sheet-code { font-size: 11px; font-weight: 700; color: rgba(255,254,248,0.45); }

.cinema-apk-picker { display: none; }

@media (prefers-reduced-motion: reduce) {
  .live-pulse-wrap::before, .live-pulse, .live-hud, .btn-download--ghost::after { animation: none; }
  .slide-video-frame--playing .slide-video,
  .slide-video-frame--playing .slide-video-canvas--visible { animation: none; }
}

/* ── 移动端：左下弹幕 + 底部 CTA 安全区 ── */
@media (max-width: 768px) {
  .promo-page {
    --home-bottom-cta-reserve: calc(104px + env(safe-area-inset-bottom, 0px));
    --slide-badge-top: calc(15px + var(--top-download-reserve) + 48px);
  }

  .live-comments-anchor {
    left: max(8px, env(safe-area-inset-left, 0px));
    width: min(76vw, 280px);
    max-width: calc(100% - 52px);
    bottom: calc(10px + var(--home-bottom-cta-reserve));
    max-height: min(30vh, 220px);
  }

  .live-comment-bubble {
    font-size: 10px;
    padding: 6px 10px 6px 9px;
  }

  .nav-fab {
    width: 32px;
    height: 32px;
    opacity: 0.85;
  }

  .nav-fab--prev { left: 6px; }
  .nav-fab--next { right: 6px; }

  .bottom-cta {
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 640px) {
  .download-bar__inner { gap: 12px; }
  .download-bar__btn { min-width: 120px; padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 380px) {
  .live-comments-anchor {
    width: min(82vw, 260px);
    max-height: min(26vh, 180px);
  }

  .nav-fab { display: none; }
}
