/* midnight-gold · 深夜影厅 · SPA→静态视觉桥 · 骨架保留 */
:root {
  --gold: #d4af37;
  --gold-light: #e8c766;
  --gold-dim: rgba(212, 175, 55, 0.14);
  --blue: #4a9eff;
  --blue-light: #7ab8ff;
  --blue-dim: rgba(74, 158, 255, 0.14);
  --brand: #e8e8ec;
  --accent: #4a9eff;
  --portal-accent: #4a9eff;
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface2: #1a1a24;
  --text: #e8e8ec;
  --muted: #8a8a9a;
  --card: #12121a;
  --header-bg: #0a0a0f;
  --body-bg: #0a0a0f;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(74, 158, 255, 0.22);
  color-scheme: dark;
}

html,
body {
  background: #0a0a0f !important;
  color: #e8e8ec !important;
}

body,
.page,
.site-wrap,
.app-shell,
.layout,
.main-wrap,
.page-main,
#app {
  background: transparent !important;
  color: #e8e8ec !important;
}

body.body-tpl-vlt {
  --vlt-bg: #0a0a0f;
  --vlt-bg2: #060608;
  --vlt-surface: #12121a;
  --vlt-surface2: #1a1a24;
  --vlt-line: rgba(255, 255, 255, 0.07);
  --vlt-line2: rgba(74, 158, 255, 0.22);
  --vlt-text: #e8e8ec;
  --vlt-muted: #8a8a9a;
  --vlt-coral: #4a9eff;
  --vlt-coral-dim: rgba(74, 158, 255, 0.12);
  --vlt-violet: #4a9eff;
  --vlt-violet-dim: rgba(74, 158, 255, 0.14);
  --vlt-mint: #5b8def;
  --vlt-mint-dim: rgba(91, 141, 239, 0.12);
  --vlt-amber: #d4af37;
  --vlt-glow: 0 0 0 1px rgba(74, 158, 255, 0.2), 0 12px 32px rgba(0, 0, 0, 0.4);
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(74, 158, 255, 0.07) 0%, transparent 52%),
    radial-gradient(ellipse 35% 25% at 100% 100%, rgba(212, 175, 55, 0.04) 0%, transparent 45%),
    linear-gradient(180deg, #0a0a0f 0%, #060608 100%) !important;
  color: var(--vlt-text) !important;
}

/* ── 顶栏：紧凑影厅导航 ── */
.vlt-header {
  background: rgba(10, 10, 15, 0.92) !important;
  backdrop-filter: blur(14px);
  border-bottom-color: var(--vlt-line) !important;
}

.vlt-header__accent {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 35%, var(--blue) 65%, transparent) !important;
}

.vlt-header__mark {
  background: rgba(212, 175, 55, 0.1) !important;
  border-color: rgba(212, 175, 55, 0.28) !important;
  color: var(--gold) !important;
  border-radius: 8px !important;
}

.vlt-header__brand-text strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-light) !important;
  letter-spacing: 0.02em;
}

.vlt-header__brand-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--vlt-muted) !important;
  margin-top: 1px;
}

.vlt-header__nav-link {
  color: var(--vlt-muted) !important;
  border-radius: 6px !important;
  font-size: 0.84rem !important;
}

.vlt-header__nav-link:hover,
.vlt-header__nav-link.is-active {
  color: var(--vlt-text) !important;
  background: var(--blue-dim) !important;
}

.vlt-header__search {
  background: var(--vlt-surface) !important;
  border-color: var(--vlt-line2) !important;
  border-radius: 8px !important;
}

.vlt-header__search-btn {
  background: var(--blue-dim) !important;
  color: var(--blue) !important;
  border-radius: 0 8px 8px 0 !important;
}

.vlt-header__cta {
  background: var(--blue) !important;
  color: #0a0a0f !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

.vlt-header__cta:hover {
  background: var(--blue-light) !important;
}

.vlt-header__chips {
  background: rgba(12, 12, 18, 0.85) !important;
  border-top-color: var(--vlt-line) !important;
}

.vlt-header__chip {
  background: var(--vlt-surface) !important;
  border-color: var(--vlt-line) !important;
  border-radius: 6px !important;
  font-size: 0.8rem !important;
}

.vlt-header__chip:hover {
  border-color: rgba(74, 158, 255, 0.35) !important;
  background: var(--blue-dim) !important;
}

.vlt-header__chip--1 { border-left: 2px solid var(--gold) !important; }
.vlt-header__chip--2 { border-left: 2px solid var(--blue) !important; }
.vlt-header__chip--3 { border-left: 2px solid var(--gold-light) !important; }
.vlt-header__chip--4 { border-left: 2px solid #5b8def !important; }
.vlt-header__chip--5 { border-left: 2px solid var(--blue-light) !important; }

.vlt-header__drawer {
  background: var(--vlt-bg) !important;
  border-top: 1px solid var(--vlt-line) !important;
}

.vlt-header__drawer.is-open {
  display: block !important;
  pointer-events: auto !important;
}

/* ── Hero：单海报焦点 ── */
.vlt-hero--cinema {
  padding: 32px 0 24px;
}

.vlt-hero__badge {
  color: var(--blue) !important;
  background: var(--blue-dim) !important;
  border: 1px solid rgba(74, 158, 255, 0.28);
  border-radius: 4px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem !important;
}

.vlt-hero__title {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: var(--gold-light) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.vlt-hero__lead {
  color: var(--vlt-muted) !important;
}

.vlt-hero__btn--primary {
  background: var(--blue) !important;
  color: #0a0a0f !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

.vlt-hero__btn--primary:hover {
  background: var(--blue-light) !important;
}

.vlt-hero__btn--ghost {
  border-color: var(--vlt-line2) !important;
  color: var(--vlt-text) !important;
  border-radius: 8px !important;
}

.vlt-hero__btn--ghost:hover {
  border-color: var(--gold) !important;
  background: var(--gold-dim) !important;
  color: var(--gold-light) !important;
}

.vlt-hero__stats {
  border-top: 1px solid var(--vlt-line);
  padding-top: 16px;
}

.vlt-hero__stats dd {
  color: var(--gold) !important;
  font-weight: 800;
}

.vlt-spotlight {
  background: var(--vlt-surface) !important;
  border: 1px solid var(--vlt-line2) !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.vlt-spotlight--focus:hover {
  border-color: rgba(212, 175, 55, 0.35) !important;
  transform: translateY(-2px);
}

.vlt-spotlight__eyebrow {
  color: var(--gold) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vlt-spotlight__title {
  color: var(--vlt-text) !important;
  font-size: 1.1rem !important;
}

.vlt-spotlight__meta span {
  color: var(--vlt-muted);
  font-size: 0.78rem;
}

/* ── 卡片：直角影厅栅格 ── */
.vlt-card {
  border-radius: 8px;
  overflow: hidden;
}

.vlt-card__frame {
  background: var(--vlt-surface2) !important;
  border: 1px solid var(--vlt-line) !important;
  border-radius: 8px 8px 0 0 !important;
  aspect-ratio: 3 / 4;
}

.vlt-card:hover .vlt-card__frame {
  border-color: rgba(74, 158, 255, 0.4) !important;
  box-shadow: var(--vlt-glow) !important;
}

.vlt-card__tag {
  color: var(--blue-light) !important;
  background: var(--blue-dim) !important;
  border-radius: 4px !important;
  font-size: 0.68rem !important;
}

.vlt-card--hot .vlt-card__tag {
  color: var(--gold-light) !important;
  background: var(--gold-dim) !important;
}

.vlt-card__score {
  color: var(--gold) !important;
  font-weight: 800 !important;
  background: rgba(10, 10, 15, 0.75) !important;
  border-radius: 4px !important;
}

.vlt-card__rank {
  background: var(--gold) !important;
  color: #0a0a0f !important;
  font-weight: 800 !important;
}

.vlt-card__title {
  color: var(--vlt-text) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
}

.vlt-card__title a {
  color: inherit;
  text-decoration: none;
}

.vlt-card:hover .vlt-card__title {
  color: var(--gold-light) !important;
}

.vlt-card__meta {
  color: var(--vlt-muted) !important;
  font-size: 0.76rem !important;
}

.vlt-card__body {
  padding: 10px 12px 12px !important;
  background: var(--vlt-surface) !important;
  border: 1px solid var(--vlt-line);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

/* ── 区块面板 ── */
.vlt-panel__titles h2 {
  color: var(--vlt-text) !important;
  font-weight: 800 !important;
}

.vlt-panel__titles h2::before {
  background: var(--gold) !important;
  width: 3px !important;
  border-radius: 2px;
}

.vlt-panel__sub {
  color: var(--vlt-muted) !important;
}

.vlt-panel__more {
  color: var(--blue) !important;
  font-weight: 700 !important;
}

.vlt-panel__more:hover {
  color: var(--gold-light) !important;
}

.vlt-cat-rail__item {
  background: var(--vlt-surface) !important;
  border: 1px solid var(--vlt-line) !important;
  border-left-width: 3px !important;
  border-radius: 8px !important;
}

.vlt-cat-rail__item--1 { border-left-color: var(--gold) !important; }
.vlt-cat-rail__item--2 { border-left-color: var(--blue) !important; }
.vlt-cat-rail__item--3 { border-left-color: var(--gold-light) !important; }
.vlt-cat-rail__item--4 { border-left-color: #5b8def !important; }
.vlt-cat-rail__item--5 { border-left-color: var(--blue-light) !important; }

.vlt-cat-rail__name {
  color: var(--vlt-text) !important;
  font-weight: 700 !important;
}

.vlt-cat-rail__count {
  color: var(--vlt-muted) !important;
}

/* ── 分类页 ── */
.vlt-cat-hero {
  background:
    linear-gradient(135deg, rgba(74, 158, 255, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--vlt-surface) 0%, transparent 100%) !important;
  border-bottom: 1px solid var(--vlt-line);
}

.vlt-cat-hero__title {
  color: var(--gold-light) !important;
}

.vlt-cat-hero__badge {
  background: var(--gold-dim) !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
  border-radius: 8px !important;
}

.vlt-cat-hero__badge strong {
  color: var(--gold) !important;
}

.vlt-cat-tabs-wrap {
  background: rgba(10, 10, 15, 0.95) !important;
  border-bottom: 1px solid var(--vlt-line);
}

.vlt-cat-tabs__item {
  border-radius: 6px !important;
  color: var(--vlt-muted) !important;
}

.vlt-cat-tabs__item.is-active,
.vlt-cat-tabs__item:hover {
  color: var(--vlt-text) !important;
  background: var(--blue-dim) !important;
}

.vlt-cat-tabs__item.is-active {
  background: var(--blue) !important;
  color: #0a0a0f !important;
}

.vlt-cat-toolbar__meta {
  color: var(--vlt-muted) !important;
  font-size: 0.84rem;
}

.vlt-dense-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1100px) {
  .vlt-dense-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .vlt-dense-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 540px) {
  .vlt-dense-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── 播放页 ── */
.vlt-play-head__title {
  color: var(--gold-light) !important;
  font-weight: 800 !important;
}

.vlt-play-head__score {
  color: var(--gold) !important;
  font-weight: 800 !important;
}

.vlt-play-player__frame {
  border: 1px solid var(--vlt-line2);
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.vlt-play-block__h,
.vlt-play-section__h {
  color: var(--vlt-text) !important;
  font-weight: 800 !important;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
}

.vlt-play-tags span {
  background: var(--blue-dim) !important;
  border: 1px solid rgba(74, 158, 255, 0.25) !important;
  color: var(--vlt-text) !important;
  border-radius: 4px !important;
}

.vlt-play-crumb a {
  color: var(--blue) !important;
}

.vlt-play-crumb a:hover {
  color: var(--gold-light) !important;
}

/* ── 特色/标签区 ── */
.vlt-features__item {
  background: var(--vlt-surface) !important;
  border: 1px solid var(--vlt-line) !important;
  border-radius: 10px !important;
}

.vlt-features__num {
  color: var(--gold) !important;
}

.vlt-features__item strong {
  color: var(--vlt-text) !important;
}

.vlt-tags__item {
  background: var(--vlt-surface) !important;
  border: 1px solid var(--vlt-line) !important;
  border-radius: 6px !important;
  color: var(--vlt-muted) !important;
}

.vlt-tags__item:hover {
  border-color: var(--blue) !important;
  color: var(--blue-light) !important;
  background: var(--blue-dim) !important;
}

/* ── 底部 ── */
.vlt-footer {
  background: #060608 !important;
  border-top: 1px solid var(--vlt-line) !important;
  margin-top: 24px;
}

.vlt-footer__glow {
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(74, 158, 255, 0.08), transparent 70%) !important;
}

.vlt-footer__promo {
  background: var(--vlt-surface) !important;
  border: 1px solid var(--vlt-line2) !important;
  border-radius: 12px !important;
}

.vlt-footer__promo-tag {
  color: var(--blue) !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.vlt-footer__promo-title {
  color: var(--gold-light) !important;
  font-weight: 800 !important;
}

.vlt-footer__promo-btn {
  background: var(--blue) !important;
  color: #0a0a0f !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

.vlt-footer__logo {
  color: var(--gold-light) !important;
}

.vlt-footer__col h3 {
  color: var(--vlt-text) !important;
  font-size: 0.88rem !important;
}

.vlt-footer__links a {
  color: var(--vlt-muted) !important;
}

.vlt-footer__links a:hover {
  color: var(--blue-light) !important;
}

.vlt-footer__highlights li {
  color: var(--vlt-muted) !important;
  border-color: var(--vlt-line) !important;
}

.vlt-footer__biz strong {
  color: var(--gold) !important;
}

.vlt-footer__bar {
  color: var(--vlt-muted) !important;
  font-size: 0.78rem;
  border-top: 1px solid var(--vlt-line);
}

/* ── 通用桥接 ── */
.site-header,
.header,
.topbar,
.nav-bar,
header.site-header {
  background: rgba(10, 10, 15, 0.92) !important;
  border-bottom-color: var(--line) !important;
  color: #e8e8ec !important;
}

.brand-text,
.brand-mark,
.site-brand,
.logo-text,
.header-brand__title,
.site-title,
.brand a {
  color: var(--gold-light) !important;
}

.main-nav a,
.header-main-nav__link,
.nav a,
.site-nav a {
  color: var(--muted) !important;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.header-main-nav__link:hover,
.header-main-nav__link[aria-current="page"],
.nav a:hover,
.nav a.active {
  color: var(--blue-light) !important;
}

.nav-search button,
.btn-primary,
.hero-actions .btn:first-child,
button[type="submit"],
.primary-btn,
.btn-accent {
  background: var(--blue) !important;
  border-color: transparent !important;
  color: #0a0a0f !important;
}

.card,
.movie-card,
.poster-card,
.grid-card,
.media-card,
.item-card {
  background: #12121a !important;
  border-color: var(--line) !important;
  color: #e8e8ec !important;
}

.section-title,
h1,
h2,
h3,
.home-h1,
.page-title {
  color: #e8e8ec;
}

.footer,
.site-footer,
footer {
  background: #060608 !important;
  color: var(--muted) !important;
}

a {
  color: var(--blue-light);
}

a:hover {
  color: var(--gold-light);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .vlt-spotlight--focus:hover {
    transform: none;
  }
}

/* === LAYOUT ALIGN v3 === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; min-width: 0; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }
a { min-width: 0; }
.container,
.nx-container,
.jx-container {
  width: min(1180px, calc(100% - 32px)) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.bbaseo-fly,
.bbaaseo-fly,
[class*="bbaseo-fly"],
[class*="bbaaseo-fly"] { display: none !important; }

.s2-head__bar-inner,
.dsj-header__bar,
.mzy-header__inner,
.header-inner,
.m68-header__inner,
.vlt-header__inner,
.jx-header__row,
.yzz-site-header__top-inner,
.nav-inner,
.nx-header__bar,
.site-head__top,
.paper-head__top {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 16px !important;
  min-width: 0 !important;
  width: 100% !important;
}

.s2-grid,
.s2-grid--dense,
.s2-grid--channel,
.s2-grid--related,
.s2-grid--rank,
.s2-home .movie-grid,
.movie-grid,
.mother-cards,
.paper-card-grid,
.cq-card-grid,
.cq-card-grid--dense,
.nx-poster-grid,
.nx-poster-grid--feat,
.nx-poster-grid--std,
.mzy-grid,
.dsj-grid,
.pop-grid,
.yzz-grid,
.arctic-grid,
.vod-grid,
.category-grid,
.home-section .mother-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}
ul.mother-cards > li,
ul.paper-card-grid > li {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.tuy-card,
.fsp-hl-card,
.mzy-card,
.s2-card,
.paper-vcard,
.wythy-vcard,
.vod-poster-card,
.yzz-poster-card,
.arctic-card,
.movie-card,
.nx-card,
.overview-card,
.dsj-card,
.vlt-card,
.m68-card,
.jx-card,
[data-card] {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: none !important;
}
.tuy-card__media,
.fsp-hl-card__media,
.mzy-card__media,
.s2-card__media,
.paper-vcard__poster,
.wythy-vcard__poster-wrap,
.poster-frame,
.nx-card__poster,
.vod-poster-card__link .poster-frame {
  width: 100% !important;
  display: block !important;
  position: relative !important;
}
.tuy-card img,
.fsp-hl-card img,
.mzy-card__img,
.s2-card__media img,
.paper-vcard__poster img,
.wythy-vcard__poster,
.poster-frame img,
.nx-card__poster img,
.arctic-card img,
.movie-card img,
.vod-poster-card img,
.overview-card img,
[data-card] img {
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.s2-hero__grid,
.hero-portal__inner,
.paper-hero__inner,
.nx-hero__grid,
.dsj-hero,
.mzy-hero,
.vlt-hero {
  min-width: 0 !important;
}

.page-main,
.s2-home,
.s2-cat,
.s2-play,
.home-wrap,
.paper-home {
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (max-width: 1080px) {
  .s2-grid,
  .s2-grid--dense,
  .movie-grid,
  .mother-cards,
  .paper-card-grid,
  .cq-card-grid,
  .nx-poster-grid,
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 900px) {
  .s2-grid,
  .s2-grid--dense,
  .s2-grid--channel,
  .s2-grid--related,
  .s2-grid--rank,
  .s2-home .movie-grid,
  .movie-grid,
  .mother-cards,
  .paper-card-grid,
  .cq-card-grid,
  .nx-poster-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .s2-hero__grid,
  .hero-portal__inner,
  .paper-hero__inner,
  .nx-hero__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .s2-burger,
  .mzy-burger,
  .header-nav-toggle,
  .paper-nav-toggle,
  .dsj-nav-toggle,
  .m68-header__menu,
  .vlt-header__menu,
  .jx-header__toggle,
  .yzz-site-header__toggle,
  .mobile-toggle,
  .nx-header__toggle,
  [data-nav-toggle] {
    display: inline-flex !important;
  }
}
@media (max-width: 640px) {
  .s2-grid,
  .s2-grid--dense,
  .s2-grid--channel,
  .s2-grid--related,
  .s2-grid--rank,
  .s2-home .movie-grid,
  .movie-grid,
  .mother-cards,
  .paper-card-grid,
  .cq-card-grid,
  .nx-poster-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

