/* 推广页（/f1/）样式，1:1 复刻目标站 hellozo.my/f1/
   所有选择器均限定在 .promo-root 作用域内，避免影响其他页面 */

html.promo-page {
  scroll-behavior: smooth;
  scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px));
  scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  background: #090b0c;
}

body.promo-page {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: #f5efe5;
  background: #090b0c;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.promo-root {
  --bg: #090b0c;
  --surface: #111416;
  --surface-raised: #171a1d;
  --line: #2b2e31;
  --gold: #d6ad68;
  --gold-light: #f0d59f;
  --ivory: #f5efe5;
  --muted: #aaa7a1;
  --ink: #101112;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ivory);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.promo-root *,
.promo-root *::before,
.promo-root *::after { box-sizing: border-box; }
.promo-root [hidden] { display: none !important; }

.promo-root button,
.promo-root a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.promo-root button { font: inherit; }
.promo-root a { color: inherit; }
.promo-root img,
.promo-root video { display: block; max-width: 100%; }

.promo-root .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.promo-root .skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--gold-light);
  border-radius: 8px;
  transform: translateY(-140%);
}

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

.promo-root .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9, 11, 12, 0.94);
  border-bottom: 1px solid rgba(214, 173, 104, 0.18);
  backdrop-filter: blur(14px);
}

.promo-root .header-inner {
  width: min(100% - 32px, 1160px);
  min-height: 56px;
  padding-top: env(safe-area-inset-top, 0px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.promo-root .header-actions { display: flex; align-items: center; gap: 12px; }
.promo-root .catalog-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; text-decoration: none; }

.promo-root .brand,
.promo-root .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.promo-root .brand-cn {
  color: var(--gold);
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.promo-root .brand-en {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

/* 头部语言选择器：沿用推广页金色胶囊外观（覆盖 language-unified 的默认尺寸） */
.promo-root .header-actions .site-language-picker .language-control {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 24px 0 10px !important;
  gap: 7px !important;
  border: 1px solid rgba(214, 173, 104, 0.4) !important;
  border-radius: 999px !important;
  background: rgba(9, 11, 12, 0.6) !important;
  color: var(--gold-light) !important;
}

.promo-root .header-actions .site-language-picker .language-control:hover,
.promo-root .header-actions .site-language-picker .language-control[aria-expanded="true"] {
  border-color: rgba(240, 213, 159, 0.75) !important;
  background: rgba(23, 26, 29, 0.9) !important;
}

.promo-root .header-actions .site-language-picker .language-control > .language-current-code {
  color: var(--gold-light) !important;
  font-size: 11px !important;
  letter-spacing: 0.14em !important;
}

.promo-root .header-actions .site-language-picker .language-control > .language-flag {
  width: 21px !important;
  height: 15px !important;
  border-radius: 2px;
}

.promo-root .header-actions .site-language-picker .language-menu {
  left: auto !important;
  right: 0 !important;
  width: 220px !important;
  max-width: calc(100vw - 24px) !important;
}

html[dir="rtl"] .promo-root .header-actions .site-language-picker .language-menu {
  right: auto !important;
  left: 0 !important;
}

.promo-root .hero {
  width: min(100% - 32px, 1160px);
  margin-inline: auto;
  padding: 22px 0 36px;
  display: grid;
  gap: 20px;
  align-items: center;
}

.promo-root .hero-copy { max-width: 650px; }

.promo-root .eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.promo-root h1,
.promo-root h2,
.promo-root p { overflow-wrap: anywhere; }

.promo-root h1,
.promo-root .section-heading h2,
.promo-root .final-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.promo-root h1 {
  max-width: 690px;
  font-size: clamp(32px, 6.7vw, 72px);
  line-height: 1.08;
  text-wrap: balance;
}

.promo-root .hero-lede {
  max-width: 610px;
  margin: 12px 0 0;
  color: #c9c6c0;
  font-size: 14px;
  line-height: 1.5;
}

.promo-root .hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.promo-root .button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.promo-root .button:hover { transform: translateY(-2px); }
.promo-root .button:active { transform: translateY(1px); }
.promo-root .text-link { min-height: 44px; padding: 10px 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--gold-light); background: transparent; border: 0; font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: underline; text-decoration-color: rgba(214,173,104,.45); text-underline-offset: 4px; cursor: pointer; }

.promo-root .button-primary {
  color: var(--ink);
  background: var(--gold-light);
}

.promo-root .button-primary:hover { background: #ffe4ae; }
.promo-root .destination-cta { min-height: 54px; border-radius: 12px; box-shadow: 0 5px 20px rgba(214, 173, 104, .16); }
.promo-root .destination-cta > span { margin-left: auto; font-size: 20px; line-height: 1; }

.promo-root .feature-player {
  width: min(100%, 420px);
  margin-inline: auto;
  scroll-margin-top: 8px;
}

.promo-root .player-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #050606;
  border: 1px solid #303336;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.promo-root .player-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050606;
}

.promo-root .play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: rgba(3, 5, 5, 0.72);
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px #000;
}

.promo-root .play-overlay.is-hidden { display: none; }
.promo-root .feature-player.is-playing .video-badge { opacity: 0; }

.promo-root .play-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  background: rgba(245, 239, 229, 0.94);
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.promo-root .play-icon::after {
  content: "";
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--ink);
}

.promo-root .video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  padding: 7px 9px;
  color: var(--gold-light);
  background: rgba(9, 11, 12, 0.82);
  border: 1px solid rgba(214, 173, 104, 0.42);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  pointer-events: none;
}

.promo-root .player-meta { padding: 14px 2px 0; }
.promo-root .player-feedback:has(#player-status:empty):has(#retry-play[hidden]) { display: none; }
.promo-root #player-status { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--gold-light); }
.promo-root #player-status:empty { display: none; }
.promo-root .player-actions { margin-top: 18px; display: flex; flex-direction: column; align-items: stretch; }
.promo-root .player-actions > .text-link { align-self: center; margin-top: 4px; }
.promo-root .destination-note { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; }
.promo-root .player-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.promo-root #player-position { color: var(--muted); letter-spacing: .06em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.promo-root .end-panel { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 22px 16px; overflow-y: auto; color: var(--ivory); background: rgba(9, 11, 12, .96); text-align: center; }
.promo-root .end-panel::before,
.promo-root .end-panel::after { content: ""; flex: 1; }
.promo-root .end-panel > * { flex-shrink: 0; }
.promo-root .end-brand { margin-bottom: 18px; color: var(--gold); font-family: "Songti SC", Georgia, serif; font-size: 34px; line-height: 1; }
.promo-root .end-panel .eyebrow { margin: 0 0 12px; font-size: 9px; }
.promo-root .end-panel h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(23px, 5.7vw, 30px); font-weight: 500; line-height: 1.16; letter-spacing: -.025em; text-wrap: balance; }
.promo-root .end-panel h3 + p { margin: 14px 0 20px; color: #c9c6c0; font-size: 13px; line-height: 1.5; }
.promo-root .end-panel .destination-cta { width: 100%; min-height: 52px; padding-inline: 13px; font-size: 13px; }
.promo-root .end-secondary { width: 100%; margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; }
.promo-root .end-secondary .text-link { min-height: 44px; font-size: 11px; }

.promo-root .player-kicker {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.promo-root .player-meta h2 {
  margin: 0;
  font-size: clamp(21px, 5vw, 30px);
  line-height: 1.18;
  text-wrap: balance;
}

.promo-root .player-meta #player-description {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.promo-root .catalog {
  padding: 30px max(16px, calc((100% - 1160px) / 2)) 32px;
  scroll-margin-top: 8px;
  background: var(--surface);
  border-block: 1px solid #242729;
}

.promo-root .section-heading {
  margin-bottom: 22px;
  display: grid;
  gap: 10px;
}

.promo-root .section-heading h2,
.promo-root .final-cta h2 {
  font-size: clamp(28px, 6vw, 46px);
  line-height: 1.1;
  text-wrap: balance;
}

.promo-root .section-heading > p {
  max-width: 350px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.promo-root .drama-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}

.promo-root .drama-card {
  position: relative;
  min-width: 0;
  padding: 0 0 14px;
  overflow: hidden;
  color: var(--ivory);
  background: var(--surface-raised);
  border: 1px solid #292d2f;
  border-radius: 15px;
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease;
}

.promo-root .drama-card:hover,
.promo-root .drama-card:focus-visible {
  transform: translateY(-3px);
  border-color: #6d5a39;
}

.promo-root .drama-card.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.promo-root .drama-card.is-active .poster-wrap::before { content: attr(data-selected-label); position: absolute; top: 9px; left: 8px; z-index: 1; padding: 6px 8px; color: var(--ink); background: var(--gold-light); border-radius: 5px; font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.promo-root .drama-card:active { transform: scale(.985); }

.promo-root .poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 9 / 13;
  background: #080a0a;
}

.promo-root .poster-wrap::after {
  content: "▶";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(245, 239, 229, 0.92);
  border-radius: 50%;
  font-size: 11px;
}

.promo-root .poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.promo-root .drama-card:hover img,
.promo-root .drama-card.is-active img {
  transform: scale(1.025);
}

.promo-root .card-copy {
  padding: 13px 12px 0;
  display: block;
}

.promo-root .card-copy strong {
  min-height: 4.05em;
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.promo-root .card-copy small {
  margin-top: 8px;
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.promo-root .final-cta {
  width: min(100% - 32px, 900px);
  margin-inline: auto;
  padding: 40px 0;
  text-align: center;
}

.promo-root .final-cta > p:not(.eyebrow) {
  max-width: 580px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.promo-root .final-cta .button {
  margin-top: 24px;
}
.promo-root .final-cta h2 { font-size: clamp(28px, 6vw, 40px); font-weight: 500; letter-spacing: -.025em; }
.promo-root .final-cta .text-link { margin-top: 8px; }
.promo-root .final-cta .destination-cta { width: min(100%, 340px); }

.promo-root .site-footer {
  padding: 32px max(16px, calc((100% - 1160px) / 2)) 42px;
  display: grid;
  gap: 18px;
  color: var(--muted);
  background: #060708;
  border-top: 1px solid #222527;
  font-size: 12px;
  line-height: 1.6;
}

.promo-root .site-footer p { margin: 0; }

.promo-root .site-footer nav {
  display: flex;
  gap: 18px;
}

.promo-root .site-footer button,
.promo-root .site-footer nav a {
  padding: 10px 0;
  min-height: 44px;
  color: #c6c2bb;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.promo-root :focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.promo-root .watch-dock { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; padding: 8px max(14px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ivory); background: rgba(17,20,22,.98); border-top: 1px solid #716044; box-shadow: 0 -8px 24px rgba(0,0,0,.3); }
.promo-root .dock-caption { color: var(--gold-light); font-size: 9px; line-height: 12px; letter-spacing: .12em; }
.promo-root .watch-dock .destination-cta { width: min(100%, 480px); min-height: 48px; padding: 0 18px; font-size: 14px; }

@media (min-width: 900px) {
  .promo-root .header-inner { min-height: 74px; }

  .promo-root .hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
    padding: 70px 0 92px;
  }
  .promo-root .hero-lede { margin-top: 22px; font-size: 17px; }
  .promo-root .catalog { padding-block: 54px; }
  .promo-root .watch-dock { display: none; }

  .promo-root .section-heading {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

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

  .promo-root .site-footer {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

@media (max-width: 899px) {
  .promo-root .hero-copy { text-align: left; }
  .promo-root .hero-actions { display: none; }
  .promo-root .hero-copy h1 { font-size: clamp(30px, 7.8vw, 42px); }
  .promo-root .hero-copy .eyebrow { font-size: 9px; letter-spacing: .11em; }

  .promo-root .feature-player {
    width: min(100%, 340px);
  }
  .promo-root .player-frame { width: 100%; max-width: calc((100svh - 180px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px)) * 9 / 16); margin-inline: auto; scroll-margin-top: 8px; border-radius: 16px; }
  .promo-root .site-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
  .promo-root .site-footer nav { flex-wrap: wrap; }
}

@media (max-width: 359px) {
  .promo-root .brand { gap: 8px; }
  .promo-root .brand-en { font-size: 12px; letter-spacing: .15em; }
  .promo-root .header-actions { gap: 8px; }
  .promo-root .header-inner,
  .promo-root .hero { width: calc(100% - 24px); }
  .promo-root .card-copy { padding-inline: 10px; }
  .promo-root .card-copy strong { font-size: 12px; }
  .promo-root .watch-dock .button { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html.promo-page { scroll-behavior: auto; }
  .promo-root,
  .promo-root *,
  .promo-root *::before,
  .promo-root *::after { transition: none !important; }
}
