/* site-craft · 成品1 · 炭金放映厅 v8 · 多拼色
   炭黑底 + 琥珀金 / 珊瑚 / 青瓷 / 淡紫
   适配母结构 body-ab / ab-*
   背景：彩色呼吸星点 · 卡片：票根式拼色竖卡 */

@import url("https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Noto+Sans+SC:wght@400;600;700;800&display=swap");

:root {
  --ab-char: #12100e;
  --ab-stage: #1a1714;
  --ab-panel: #221f1b;
  --ab-gold: #eab308;
  --ab-gold-soft: #facc15;
  --ab-coral: #fb7185;
  --ab-teal: #2dd4bf;
  --ab-lilac: #c4b5fd;
  --ab-ink: #f5f0e6;
  --ab-muted: #a8a29e;
  --ab-line: rgba(234, 179, 8, 0.18);
  --ab-max: 1180px;
  --ab-display: "Syne", "Noto Sans SC", "PingFang SC", sans-serif;
  --ab-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ab-mix: linear-gradient(120deg, #eab308 0%, #fb7185 35%, #2dd4bf 68%, #c4b5fd 100%);
  --pink: #fb7185;
  --blue: #2dd4bf;
  --green: #34d399;
  --orange: #eab308;
  --brand: #eab308;
  --accent: #fb7185;
  --site-accent: #eab308;
  --site-secondary: #2dd4bf;
  --site-ink: #f5f0e6;
  --site-bg: #12100e;
  color-scheme: dark;
}

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.body-ab {
  margin: 0 !important;
  min-height: 100vh !important;
  color: var(--ab-ink) !important;
  font-family: var(--ab-sans) !important;
  background: var(--ab-char) !important;
  background-image:
    radial-gradient(720px 420px at 12% -8%, rgba(234, 179, 8, 0.16), transparent 55%),
    radial-gradient(640px 380px at 88% 8%, rgba(251, 113, 133, 0.12), transparent 52%),
    radial-gradient(700px 420px at 50% 100%, rgba(45, 212, 191, 0.1), transparent 55%),
    linear-gradient(180deg, #161310 0%, #12100e 45%, #0c0a08 100%) !important;
  overflow-x: clip !important;
  position: relative !important;
}

body.body-ab a { color: var(--ab-gold-soft) !important; text-decoration: none !important; }
body.body-ab a:hover { color: var(--ab-coral) !important; }

body.body-ab h1,
body.body-ab h2,
body.body-ab h3,
body.body-ab .ab-brand__text {
  font-family: var(--ab-display) !important;
  letter-spacing: -0.01em;
}

/* ════ 呼吸星点 ════ */
body.body-ab .ab-stars {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  contain: strict;
  mix-blend-mode: screen;
}
body.body-ab .ab-stars i {
  --c: 234, 179, 8;
  position: absolute;
  left: var(--lx, 50%);
  top: var(--ly, 40%);
  width: var(--s, 4px);
  height: var(--s, 4px);
  margin: 0;
  border-radius: 50%;
  background: rgba(var(--c), 0.95);
  box-shadow:
    0 0 6px rgba(var(--c), 0.85),
    0 0 18px rgba(var(--c), 0.35);
  transform: translate(-50%, -50%) scale(0.55);
  opacity: 0.35;
  will-change: transform, opacity;
  animation: ab-star-breath var(--d, 5s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
body.body-ab .ab-stars i.ab-stars__glow {
  width: var(--s, 120px);
  height: var(--s, 120px);
  background: radial-gradient(circle, rgba(var(--c), 0.22) 0%, rgba(var(--c), 0.06) 40%, transparent 70%);
  border: 1px solid rgba(var(--c), 0.28);
  box-shadow: 0 0 40px rgba(var(--c), 0.12), inset 0 0 30px rgba(var(--c), 0.08);
  animation-name: ab-glow-breath;
}
body.body-ab .ab-wrap,
body.body-ab .ab-topbar,
body.body-ab .ab-main,
body.body-ab .ab-foot,
body.body-ab .page-main {
  position: relative;
  z-index: 1;
}
body.body-ab .ab-topbar { z-index: 220 !important; }

@keyframes ab-star-breath {
  0%, 100% { transform: translate(-50%, -50%) scale(0.45); opacity: 0.18; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.95; }
}
@keyframes ab-glow-breath {
  0%, 100% { transform: translate(-50%, -50%) scale(0.75); opacity: 0.2; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.55; }
}

/* ════ 头部 ════ */
body.body-ab .ab-wrap {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}
body.body-ab .ab-topbar {
  position: sticky !important;
  top: 0 !important;
  background: rgba(18, 16, 14, 0.92) !important;
  border-bottom: 1px solid var(--ab-line) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35) !important;
}
body.body-ab .ab-topbar__row {
  max-width: var(--ab-max) !important;
  margin: 0 auto !important;
  padding: 12px 16px !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  gap: 12px 18px !important;
  align-items: center !important;
}
body.body-ab .ab-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--ab-ink) !important;
}
body.body-ab .ab-brand__mark {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: var(--ab-mix) !important;
  color: #12100e !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 0 0 2px rgba(251, 113, 133, 0.22), 0 8px 18px rgba(234, 179, 8, 0.22) !important;
}
body.body-ab .ab-brand__text {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #fffbeb !important;
  line-height: 1.15 !important;
}
body.body-ab .ab-brand__text em {
  display: block !important;
  font-style: normal !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: var(--ab-gold) !important;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

body.body-ab .ab-topnav {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 2px !important;
}
body.body-ab .ab-topnav a {
  padding: 8px 12px !important;
  border-radius: 999px !important;
  color: var(--ab-muted) !important;
  font-weight: 700 !important;
  font-size: 0.86rem !important;
}
body.body-ab .ab-topnav a:hover,
body.body-ab .ab-topnav a[aria-current="page"] {
  color: #12100e !important;
  background: var(--ab-gold) !important;
}
body.body-ab .ab-topnav a:nth-child(2):hover,
body.body-ab .ab-topnav a:nth-child(2)[aria-current="page"] { background: var(--ab-coral) !important; }
body.body-ab .ab-topnav a:nth-child(3):hover,
body.body-ab .ab-topnav a:nth-child(3)[aria-current="page"] { background: var(--ab-teal) !important; }
body.body-ab .ab-topnav a:nth-child(4):hover,
body.body-ab .ab-topnav a:nth-child(4)[aria-current="page"] { background: var(--ab-lilac) !important; }
body.body-ab .ab-topnav a:nth-child(5):hover,
body.body-ab .ab-topnav a:nth-child(5)[aria-current="page"] { background: #fbbf24 !important; }
body.body-ab .ab-topnav a:nth-child(6):hover,
body.body-ab .ab-topnav a:nth-child(6)[aria-current="page"] { background: var(--ab-coral) !important; }
body.body-ab .ab-topnav a:nth-child(7):hover,
body.body-ab .ab-topnav a:nth-child(7)[aria-current="page"] { background: var(--ab-teal) !important; }

body.body-ab .ab-topbar__tools {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
body.body-ab .ab-search {
  display: flex !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: rgba(34, 31, 27, 0.95) !important;
  max-width: 220px;
}
body.body-ab .ab-search input {
  border: 0 !important;
  background: transparent !important;
  color: var(--ab-ink) !important;
  padding: 9px 12px !important;
  min-width: 0;
  flex: 1;
  font-size: 0.88rem !important;
}
body.body-ab .ab-search input::placeholder { color: #78716c !important; }
body.body-ab .ab-search button,
body.body-ab .ab-btn,
body.body-ab .ab-topbar__hot,
body.body-ab .ab-btn--primary {
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ab-mix) !important;
  color: #12100e !important;
  font-weight: 800 !important;
  padding: 0 16px !important;
  min-height: 38px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 20px rgba(251, 113, 133, 0.22) !important;
}
body.body-ab .ab-btn--outline,
body.body-ab .ab-btn--line {
  background: transparent !important;
  color: var(--ab-teal) !important;
  border: 1px solid rgba(45, 212, 191, 0.55) !important;
  box-shadow: none !important;
}
body.body-ab .ab-menu-btn {
  border: 1px solid var(--ab-line) !important;
  background: var(--ab-panel) !important;
  color: var(--ab-gold) !important;
  border-radius: 10px !important;
  min-width: 40px;
  min-height: 40px;
}
body.body-ab .ab-drawer {
  display: none !important;
  max-width: var(--ab-max);
  margin: 0 auto;
  padding: 8px 16px 14px !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
body.body-ab .ab-drawer.open { display: flex !important; }
body.body-ab .ab-drawer a {
  padding: 8px 12px !important;
  border-radius: 999px !important;
  background: rgba(34, 31, 27, 0.9) !important;
  color: var(--ab-muted) !important;
  font-weight: 700 !important;
}
body.body-ab .ab-head__tagline {
  max-width: var(--ab-max);
  margin: 0 auto;
  padding: 0 16px 10px;
  text-align: center;
  color: rgba(234, 179, 8, 0.72) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em;
}

/* ════ 中部 / 首页 ════ */
body.body-ab .ab-main,
body.body-ab .page-main {
  max-width: var(--ab-max) !important;
  margin: 0 auto !important;
  padding: 20px 16px 56px !important;
  flex: 1 !important;
  width: 100%;
  box-sizing: border-box;
}

body.body-ab .ab-hero {
  position: relative !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  border: 1px solid transparent !important;
  background:
    linear-gradient(#1a1714, #1a1714) padding-box,
    var(--ab-mix) border-box !important;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), 0 0 50px rgba(251, 113, 133, 0.08) !important;
  text-align: center !important;
}
body.body-ab .ab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 70% at 22% 30%, rgba(234, 179, 8, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 60% at 78% 35%, rgba(251, 113, 133, 0.16), transparent 62%),
    radial-gradient(ellipse 60% 50% at 50% 90%, rgba(45, 212, 191, 0.12), transparent 65%);
  pointer-events: none;
}
body.body-ab .ab-hero__inner {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 8vw, 72px) 24px !important;
  max-width: 720px;
  margin: 0 auto !important;
}
body.body-ab .ab-hero__eyebrow {
  display: inline-block !important;
  margin: 0 0 14px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(234, 179, 8, 0.4) !important;
  background: rgba(234, 179, 8, 0.12) !important;
  color: var(--ab-gold-soft) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em;
}
body.body-ab .ab-hero h1 {
  margin: 0 0 14px !important;
  color: #fffbeb !important;
  font-size: clamp(2.2rem, 6vw, 3.4rem) !important;
  line-height: 1.1 !important;
}
body.body-ab .ab-hero__sub {
  margin: 0 auto 22px !important;
  max-width: 34em;
  color: var(--ab-muted) !important;
  line-height: 1.75 !important;
  font-size: 1.02rem !important;
}
body.body-ab .ab-hero__cta {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
body.body-ab .ab-hero__flash { display: none !important; }

body.body-ab .ab-block { margin: 0 0 28px !important; }
body.body-ab .ab-block__head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 14px !important;
}
body.body-ab .ab-block__title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
body.body-ab .ab-block__title h2 {
  margin: 0 !important;
  color: #fffbeb !important;
  font-size: 1.35rem !important;
}
body.body-ab .ab-chip,
body.body-ab .ab-chip--hot {
  display: inline-flex !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.2), rgba(251, 113, 133, 0.18)) !important;
  color: #fff7ed !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  border: 1px solid rgba(251, 113, 133, 0.35) !important;
}
body.body-ab .ab-block__more { color: var(--ab-teal) !important; font-weight: 700 !important; }

/* 拼色票根竖卡：海报上、标题下 */
body.body-ab .ab-wall,
body.body-ab .movie-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px 12px !important;
}
@media (min-width: 640px) {
  body.body-ab .ab-wall,
  body.body-ab .movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 900px) {
  body.body-ab .ab-wall,
  body.body-ab .movie-grid,
  body.body-ab .ab-wall--hot { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  body.body-ab .ab-wall--related { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

body.body-ab .ab-tile,
body.body-ab .ab-mini {
  --tile-a: #eab308;
  --tile-b: #fb7185;
  --tile-glow: rgba(234, 179, 8, 0.28);
}
body.body-ab .ab-tile:nth-child(4n + 2),
body.body-ab .ab-mini:nth-child(4n + 2) {
  --tile-a: #fb7185;
  --tile-b: #c4b5fd;
  --tile-glow: rgba(251, 113, 133, 0.3);
}
body.body-ab .ab-tile:nth-child(4n + 3),
body.body-ab .ab-mini:nth-child(4n + 3) {
  --tile-a: #2dd4bf;
  --tile-b: #eab308;
  --tile-glow: rgba(45, 212, 191, 0.28);
}
body.body-ab .ab-tile:nth-child(4n + 4),
body.body-ab .ab-mini:nth-child(4n + 4) {
  --tile-a: #c4b5fd;
  --tile-b: #fb7185;
  --tile-glow: rgba(196, 181, 253, 0.3);
}

body.body-ab .ab-tile__link,
body.body-ab .ab-mini__link {
  display: block !important;
  color: inherit !important;
  height: 100%;
}

body.body-ab .ab-tile__frame,
body.body-ab .ab-mini__frame {
  position: relative !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: linear-gradient(180deg, #261f1a 0%, #171411 100%) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
}
body.body-ab .ab-tile__frame::before,
body.body-ab .ab-mini__frame::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--tile-a), var(--tile-b));
  flex: 0 0 auto;
}
body.body-ab .ab-tile:hover .ab-tile__frame,
body.body-ab .ab-mini:hover .ab-mini__frame {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.48), 0 0 0 1px var(--tile-glow), 0 0 28px var(--tile-glow) !important;
}

body.body-ab .ab-tile__frame > img,
body.body-ab .ab-mini__frame > img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 2 / 3 !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
  flex: 0 0 auto !important;
}

body.body-ab .ab-tile__badge,
body.body-ab .ab-mini__badge {
  position: absolute !important;
  left: 8px !important;
  top: 12px !important;
  z-index: 2;
  background: linear-gradient(135deg, var(--tile-a), var(--tile-b)) !important;
  color: #12100e !important;
  font-size: 0.66rem !important;
  font-weight: 800 !important;
  padding: 4px 9px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

body.body-ab .ab-tile__play {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 4px !important;
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  height: auto !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 0 !important;
  color: #fffbeb !important;
  font-size: 0 !important;
  opacity: 0 !important;
  background: linear-gradient(180deg, rgba(18, 16, 14, 0.08), rgba(18, 16, 14, 0.45)) !important;
  box-shadow: none !important;
  transition: opacity 0.2s ease;
  inset: auto !important;
  transform: none !important;
}
body.body-ab .ab-tile__play::after {
  content: "▶";
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: #12100e;
  background: linear-gradient(135deg, var(--tile-a), var(--tile-b));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transform: scale(0.9);
  transition: transform 0.2s ease;
}
body.body-ab .ab-tile:hover .ab-tile__play { opacity: 1 !important; }
body.body-ab .ab-tile:hover .ab-tile__play::after { transform: scale(1); }

body.body-ab .ab-tile__cap,
body.body-ab .ab-mini__cap {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  padding: 10px 11px 12px !important;
  background: transparent !important;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
body.body-ab .ab-tile__cap h3,
body.body-ab .ab-mini__cap h3,
body.body-ab .ab-mini__cap strong {
  margin: 0 0 4px !important;
  color: #fffbeb !important;
  font-size: 0.9rem !important;
  line-height: 1.35 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.body-ab .ab-tile__meta,
body.body-ab .ab-mini__meta {
  margin: 0 !important;
  color: var(--tile-a) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
}

/* ════ 分类页 ════ */
body.body-ab .page-hero,
body.body-ab .compact-hero {
  margin: 0 0 20px !important;
  padding: 28px 24px !important;
  border-radius: 18px !important;
  border: 1px solid transparent !important;
  background:
    linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(251, 113, 133, 0.08), rgba(45, 212, 191, 0.08)),
    linear-gradient(var(--ab-panel), var(--ab-panel)) padding-box,
    var(--ab-mix) border-box !important;
}
body.body-ab .page-hero .eyebrow,
body.body-ab .compact-hero .eyebrow,
body.body-ab .eyebrow.solo {
  display: inline-block !important;
  margin: 0 0 10px !important;
  color: var(--ab-gold) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em;
}
body.body-ab .page-hero h1,
body.body-ab .compact-hero h1 {
  margin: 0 0 10px !important;
  color: #fffbeb !important;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
}
body.body-ab .page-hero p,
body.body-ab .compact-hero p {
  margin: 0 !important;
  color: var(--ab-muted) !important;
  line-height: 1.7 !important;
}

body.body-ab .category-grid,
body.body-ab .category-grid.large {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}
@media (min-width: 720px) {
  body.body-ab .category-grid,
  body.body-ab .category-grid.large {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1000px) {
  body.body-ab .category-grid.large {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
body.body-ab .overview-card {
  --oc: #eab308;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 18px 18px 16px !important;
  border-radius: 16px !important;
  border: 1px solid color-mix(in srgb, var(--oc) 40%, transparent) !important;
  border-left: 3px solid var(--oc) !important;
  background: linear-gradient(160deg, #221f1b, #161310) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
body.body-ab .overview-card:nth-child(4n + 2) { --oc: #fb7185; }
body.body-ab .overview-card:nth-child(4n + 3) { --oc: #2dd4bf; }
body.body-ab .overview-card:nth-child(4n + 4) { --oc: #c4b5fd; }
body.body-ab .overview-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--oc) 65%, transparent) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), 0 0 24px color-mix(in srgb, var(--oc) 22%, transparent) !important;
}
body.body-ab .overview-main strong {
  display: block !important;
  margin: 0 0 6px !important;
  color: #fffbeb !important;
  font-family: var(--ab-display) !important;
  font-size: 1.15rem !important;
}
body.body-ab .overview-main span {
  color: var(--ab-muted) !important;
  line-height: 1.6 !important;
  font-size: 0.9rem !important;
}
body.body-ab .overview-links {
  display: flex !important;
  justify-content: space-between !important;
  gap: 10px !important;
  color: var(--oc) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}

body.body-ab .section-block { margin: 0 0 28px !important; }
body.body-ab .section-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin: 0 0 14px !important;
}
body.body-ab .section-head h2 {
  margin: 0 !important;
  color: #fffbeb !important;
  font-size: 1.25rem !important;
}
body.body-ab .section-icon { color: var(--ab-gold) !important; margin-right: 6px; }

/* ════ 播放页 ════ */
body.body-ab:has(.ab-play) .ab-main { max-width: 1240px !important; }
body.body-ab .ab-crumb {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 8px !important;
  align-items: center !important;
  margin: 0 0 14px !important;
  padding: 8px 14px !important;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px !important;
  border: 1px solid rgba(234, 179, 8, 0.2) !important;
  background: rgba(34, 31, 27, 0.75) !important;
  color: var(--ab-muted) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
}
body.body-ab .ab-crumb a { color: var(--ab-gold) !important; }

body.body-ab .ab-play {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  margin: 0 0 28px !important;
}
body.body-ab .ab-play__screen {
  margin: 0 !important;
}
body.body-ab .ab-play__frame {
  position: relative !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid transparent !important;
  background:
    linear-gradient(#050403, #050403) padding-box,
    var(--ab-mix) border-box !important;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55), 0 0 50px rgba(251, 113, 133, 0.1) !important;
}
body.body-ab .ab-play__frame::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 45% at 50% 45%, rgba(234, 179, 8, 0.12), transparent 70%),
    var(--play-poster, none) center / cover no-repeat;
  filter: blur(40px) saturate(1.2);
  opacity: 0.4;
  pointer-events: none;
}
body.body-ab .ab-play__frame video,
body.body-ab #movie-player {
  position: relative;
  z-index: 1;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  max-height: min(72vh, 720px);
  object-fit: contain !important;
  background: transparent !important;
  display: block !important;
}
body.body-ab .ab-play__error {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  margin: 0 !important;
  background: rgba(8, 6, 4, 0.82);
  color: #fde68a !important;
  font-weight: 700 !important;
}
body.body-ab .ab-play__error[hidden] {
  display: none !important;
}

body.body-ab .ab-play__info {
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) !important;
  gap: 18px !important;
  padding: 20px 22px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(234, 179, 8, 0.28) !important;
  background:
    linear-gradient(135deg, rgba(234, 179, 8, 0.08), transparent 45%),
    linear-gradient(180deg, #221f1b, #161310) !important;
}
body.body-ab .ab-play__poster {
  margin: 0 !important;
  border-radius: 12px !important;
  overflow: hidden;
  border: 1px solid rgba(234, 179, 8, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
body.body-ab .ab-play__poster img {
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  object-fit: cover !important;
  display: block !important;
}
body.body-ab .ab-play__detail h1 {
  margin: 0 0 12px !important;
  color: #fffbeb !important;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem) !important;
}
body.body-ab .ab-play__tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 14px !important;
}
body.body-ab .ab-play__tags span {
  padding: 6px 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(234, 179, 8, 0.25) !important;
  background: rgba(12, 10, 8, 0.55) !important;
  color: var(--ab-gold-soft) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}
body.body-ab .ab-play__channel {
  border-color: rgba(250, 204, 21, 0.45) !important;
  color: #fde047 !important;
}
body.body-ab .ab-btn--wide { width: auto !important; align-self: flex-start; }
body.body-ab .ab-play__info .ab-btn--primary {
  background: transparent !important;
  color: var(--ab-gold) !important;
  border: 1px solid rgba(234, 179, 8, 0.5) !important;
  box-shadow: none !important;
}

body.body-ab .ab-play__synopsis {
  padding: 20px 22px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(234, 179, 8, 0.2) !important;
  border-left: 3px solid var(--ab-gold) !important;
  background: var(--ab-panel) !important;
}
body.body-ab .ab-play__synopsis h2 {
  margin: 0 0 10px !important;
  color: #fffbeb !important;
  font-size: 1.15rem !important;
}
body.body-ab .ab-play__brief,
body.body-ab .ab-play__full {
  margin: 0 !important;
  color: #d6d3d1 !important;
  line-height: 1.8 !important;
}
body.body-ab .ab-play__full { margin-top: 10px !important; color: var(--ab-muted) !important; }

body.body-ab .ab-play__related {
  margin-top: 8px !important;
  padding: 18px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(234, 179, 8, 0.16) !important;
  background: rgba(26, 23, 20, 0.7) !important;
}

/* ════ 尾部 ════ */
body.body-ab .ab-foot {
  margin-top: auto !important;
  background: #0a0908 !important;
  border-top: 1px solid rgba(234, 179, 8, 0.22) !important;
  color: var(--ab-muted) !important;
}
body.body-ab .ab-foot__seo {
  max-width: var(--ab-max);
  margin: 0 auto;
  padding: 12px 16px;
  text-align: center;
  color: transparent !important;
  background: var(--ab-mix);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(251, 113, 133, 0.14);
}
body.body-ab .ab-foot__grid,
body.body-ab .ab-foot__links {
  max-width: var(--ab-max);
  margin: 0 auto;
  padding: 28px 16px 16px;
}
body.body-ab .ab-foot__links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 18px !important;
}
body.body-ab .ab-foot__links a {
  color: #e7e5e4 !important;
  font-weight: 600 !important;
}
body.body-ab .ab-foot__links a:hover { color: var(--ab-gold) !important; }
body.body-ab .ab-foot__meta {
  max-width: var(--ab-max);
  margin: 0 auto;
  padding: 8px 16px 28px;
  display: grid;
  gap: 6px;
}
body.body-ab .ab-foot__meta strong {
  color: #fffbeb !important;
  font-family: var(--ab-display) !important;
  font-size: 1.25rem !important;
}
body.body-ab .ab-foot__meta p,
body.body-ab .ab-foot__copy {
  margin: 0 !important;
  color: rgba(168, 162, 158, 0.7) !important;
  font-size: 0.85rem !important;
}

body.body-ab .image-off { opacity: 0.35; }

@media (max-width: 900px) {
  body.body-ab .ab-topbar__row {
    grid-template-columns: 1fr auto !important;
  }
  body.body-ab .ab-topnav { display: none !important; }
  body.body-ab .ab-play__info {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    padding: 14px !important;
  }
}
@media (max-width: 640px) {
  body.body-ab .ab-brand__text em { display: none !important; }
  body.body-ab .ab-topbar__hot { display: none !important; }
  body.body-ab .ab-search { max-width: 140px; }
  body.body-ab .ab-wall,
  body.body-ab .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  input[type="search"], input[type="text"], select { font-size: 16px !important; }
  body.body-ab .ab-play__frame video,
  body.body-ab #movie-player { max-height: min(56vh, 480px); }
}

@media (prefers-reduced-motion: reduce) {
  body.body-ab .ab-stars i {
    animation: none !important;
    opacity: 0.35 !important;
    transform: translate(-50%, -50%) scale(0.85) !important;
  }
  body.body-ab .ab-tile__frame,
  body.body-ab .overview-card,
  body.body-ab .ab-btn { transition: none !important; }
}

a, button, input, select, .ab-menu-btn, .ab-btn, .ab-topbar__hot {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* pack1-opt-v2 · 触控与性能兜底 */
body.body-ab .ab-tile__frame img,
body.body-ab .ab-play__frame video{content-visibility:auto}
body.body-ab .ab-btn,
body.body-ab .ab-menu-btn,
body.body-ab .ab-topbar__hot,
body.body-ab .overview-card,
body.body-ab .ab-search button{touch-action:manipulation;min-height:40px}
body.body-ab .ab-stars{z-index:0}
body.body-ab .ab-topbar{z-index:220!important}
@media (prefers-reduced-motion:reduce){
  body.body-ab .ab-stars i{animation:none!important;opacity:.28!important;transform:translate(-50%,-50%) scale(.9)!important}
  body.body-ab .ab-tile__frame,
  body.body-ab .overview-card,
  body.body-ab .ab-btn{animation:none!important;transition:none!important}
}
