/* ============ video-cms 前台样式 · 霓虹影院主题 ============ */
:root {
  --fx-bg: #070710;
  --fx-card: #12121f;
  --fx-card-2: #1a1a2e;
  --fx-ink: #f0f0ff;
  --fx-dim: #8a8aa5;
  --neon: #a855f7;
  --cyan: #22d3ee;
  --fx-line: #23233a;
  --fx-round: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--fx-bg);
  color: var(--fx-ink);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
.container { width: 100%; margin: 0 auto; padding: 0 32px; }

/* ---- SEO / 可访问性 ---- */
.jump-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--neon); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--fx-round) 0; font-size: 14px;
  box-shadow: 0 2px 8px rgba(168,85,247,.45);
}
.jump-link:focus { left: 0; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.crumb-line { font-size: 13px; color: var(--fx-dim); margin: 2px 0 12px; line-height: 1.6; }
.crumb-line a { color: var(--fx-dim); text-decoration: none; }
.crumb-line a:hover { color: var(--neon); }
.crumb-line .sep { margin: 0 6px; color: var(--fx-line); }

/* ---- Header ---- */
.fx-head {
  /* 默认：滚动后变实心霓虹玻璃条（由 JS 加 .scrolled 类切换；非首页直接实心） */
  background: rgba(7,7,16,.92);
  border-bottom: 1px solid var(--fx-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
/* 首页：透明浮在轮播首图之上（深→透明渐变），fixed 不占位 */
.fx-head--overlay {
  position: fixed; left: 0; right: 0; top: 0;
  background: linear-gradient(180deg, rgba(7,7,16,.88) 0%, rgba(7,7,16,.4) 55%, transparent 100%);
  border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
/* 滚动后：实心霓虹玻璃条 */
.fx-head--overlay.scrolled {
  background: rgba(7,7,16,.92);
  border-bottom-color: var(--fx-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(168,85,247,.22);
}
.fx-head-inner {
  display: flex; align-items: center;
  gap: 0; padding-top: 8px; padding-bottom: 8px;   /* 左右 padding 交给 .container，与页脚对齐 */
}
/* 顶行（一行）：Logo + 导航 + 右侧工具栏 */
.fx-head-row {
  display: flex; align-items: center; width: 100%;
  gap: 16px; height: 56px;
}
/* 居中 Logo */
.logo {
  font-size: 26px; font-weight: 800; margin: 0; line-height: 1.2;
  letter-spacing: 1px; white-space: nowrap;
  flex: none; text-align: left;
}
.logo a {
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(168,85,247,.55));
}
/* 右侧工具栏：一行内靠右（搜索/APP/TG），霓虹描边胶囊 图标+文本 */
.fx-head-tools {
  display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto;
}
/* 工具胶囊：图标 + 文本 */
.fx-tool-ico { display: inline-flex; align-items: center; }
.fx-tool-ico svg { display: block; }
.fx-tool-txt { font-size: 13px; line-height: 1; white-space: nowrap; }
/* 导航：一行内居中，占据 Logo 与工具栏之间（可横向滚动） */
.fx-menu {
  display: flex; justify-content: center; flex: 1; min-width: 0;
  padding: 0;
}
/* 桌面：抽屉专用的搜索框/底部按钮不显示，导航横排 */
.fx-drawer-head,
.fx-drawer-foot { display: none; }
.fx-drawer-nav {
  display: flex; justify-content: center; gap: 6px; flex: 1; min-width: 0;
  overflow-x: auto; scrollbar-width: none;
}
.fx-drawer-nav::-webkit-scrollbar { display: none; }
.fx-menu a {
  font-size: 14px; color: var(--fx-dim); white-space: nowrap;
  padding: 5px 14px; border-radius: 20px;
  transition: color .15s, background .15s;
}
.fx-menu a:hover { color: var(--neon); background: rgba(168,85,247,.12); }
.fx-menu a.is-live {
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  color: #fff; font-weight: 600;
}
/* 透明覆盖态：导航与 logo 文字加发光，提升首图上可读性 */
.fx-head--overlay:not(.scrolled) .fx-menu a { color: rgba(240,240,255,.82); }
.fx-head--overlay:not(.scrolled) .fx-menu a:hover { color: #fff; }
/* 工具三件套：霓虹描边胶囊（图标+文本），统一样式 */
.fx-search-go,
.fx-app-btn,
.fx-tg {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 13px; border-radius: 999px;
  border: 1px solid rgba(168,85,247,.45);
  background: rgba(168,85,247,.06);
  color: var(--cyan); cursor: pointer;
  transition: color .15s, border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
.fx-search-go:hover,
.fx-app-btn:hover,
.fx-tg:hover {
  color: #fff; border-color: var(--neon);
  background: rgba(168,85,247,.18);
  box-shadow: 0 0 14px rgba(168,85,247,.5);
  transform: translateY(-1px);
}
/* 搜索框（收起态：胶囊；展开：下拉输入条） */
.fx-search { display: inline-flex; align-items: center; flex: none; position: relative; }
.fx-search input {
  position: absolute; top: 100%; right: 0; left: auto; margin-top: 8px;
  width: 280px;
  height: 0; padding: 0 14px; opacity: 0; overflow: hidden; pointer-events: none;
  border: 1px solid var(--fx-line); border-radius: var(--fx-round);
  background: var(--fx-card); color: var(--fx-ink); outline: none; font-size: 15px;
  transition: height .18s ease, opacity .15s, padding .15s;
  z-index: 10;
}
.fx-search.is-out input {
  height: 42px; opacity: 1; pointer-events: auto; padding: 0 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.55), 0 0 14px rgba(168,85,247,.3);
}
.fx-search input::placeholder { color: var(--fx-dim); }
.fx-search.is-out .fx-search-go {
  color: #fff; border-color: var(--neon); background: rgba(168,85,247,.18);
}
.fx-tg:hover { color: #fff; }
/* 移动端搜索图标按钮（顶栏 🔍，唤起右滑抽屉并聚焦搜索框） */
.fx-msearch {
  display: none; flex: none; width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border: none; background: none; color: var(--fx-ink); cursor: pointer;
}
.fx-msearch svg { display: block; width: 22px; height: 22px; }
/* 汉堡按钮 */
.fx-burger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 36px; height: 36px; padding: 7px; background: none; border: none; cursor: pointer;
  flex: none;
}
.fx-burger span { display: block; width: 20px; height: 2px; background: var(--fx-ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.fx-burger.is-out span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fx-burger.is-out span:nth-child(2) { opacity: 0; }
.fx-burger.is-out span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* 遮罩 */
.fx-scrim { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(0,0,0,.6); }
.fx-scrim.is-seen { display: block; }

/* ---- Main ---- */
.fx-stage-main { padding: 28px 32px 48px; }
.fx-stage-main > :first-child { margin-top: 0; }
.fx-stage-main > section:last-of-type { margin-bottom: 0; }
.panel { margin-bottom: 40px; }
.panel-head {
  font-size: 18px; font-weight: 700; margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
  background: linear-gradient(90deg, var(--neon), var(--cyan)) bottom / 100% 2px no-repeat;
  display: flex; align-items: center; gap: 10px;
}
.panel-head .panel-more { margin-left: auto; font-size: 13px; color: var(--fx-dim); font-weight: normal; }
.panel-head .panel-more:hover { color: var(--neon); }

/* ---- Hero 轮播 Banner（沉浸式全图 + 底部浮层 + 横向滑动）---- */
.marquee { position: relative; overflow: hidden; background: #000; height: 580px; }
.marquee-track {
  display: flex; height: 100%; touch-action: pan-y; will-change: transform;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.marquee-track.is-drag { transition: none; }
.marquee-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; overflow: hidden; }
.marquee-img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.marquee-ad .marquee-link { display: block; width: 100%; height: 100%; }
.marquee-ad .marquee-img { object-fit: fill; }
/* 底部渐变信息浮层 */
.marquee-cap {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  padding: 72px clamp(16px,5vw,52px) 38px;
  background: linear-gradient(to top, rgba(7,7,16,.96) 0%, rgba(7,7,16,.72) 42%, rgba(7,7,16,.15) 78%, transparent 100%);
}
.marquee-rank { align-self: flex-start;
  display: inline-block; background: linear-gradient(90deg, var(--neon), var(--cyan));
  color: #fff; font-size: 11px; padding: 3px 13px; border-radius: 14px; margin-bottom: 12px; font-weight: 700; letter-spacing: .5px;
}
.marquee-title {
  font-size: clamp(22px,3.4vw,32px); font-weight: 800; margin-bottom: 10px; line-height: 1.25;
  text-shadow: 0 2px 18px rgba(168,85,247,.45);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.marquee-feed { color: rgba(240,240,255,.75); font-size: 13px; margin-bottom: 10px; display: flex; align-items: center; flex-wrap: wrap; }
.marquee-feed .mq-cat { color: var(--cyan); font-weight: 600; }
.marquee-feed span + span::before { content: "\00B7"; margin: 0 8px; opacity: .5; }
.marquee-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.marquee-chip { font-size: 12px; color: rgba(240,240,255,.88); background: rgba(168,85,247,.16); border: 1px solid rgba(168,85,247,.35); padding: 3px 11px; border-radius: 13px; }
.marquee-sub {
  color: rgba(240,240,255,.62); font-size: 14px; margin-bottom: 22px; max-width: 620px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.marquee-go { align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(90deg, var(--neon), var(--cyan));
  color: #fff; padding: 11px 30px; border-radius: 24px; font-size: 15px; font-weight: 600;
  box-shadow: 0 4px 20px rgba(168,85,247,.45); transition: transform .15s, box-shadow .15s;
}
.marquee-go:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(168,85,247,.65); }
.marquee-go i { display: inline-block; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; }
.marquee-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(18,18,31,.55); border: 1px solid var(--fx-line); color: #fff;
  cursor: pointer; font-size: 22px; line-height: 40px; text-align: center; opacity: 0;
  transition: background .15s, box-shadow .15s, opacity .2s;
}
.marquee:hover .marquee-arrow { opacity: 1; }
.marquee-arrow:hover { background: var(--neon); box-shadow: 0 0 16px rgba(168,85,247,.6); }
.marquee-prev { left: 16px; }
.marquee-next { right: 16px; }
.marquee-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 8px; }
.marquee-dots b { width: 8px; height: 8px; border-radius: 50%; background: rgba(240,240,255,.3); cursor: pointer; transition: .2s; }
.marquee-dots b.is-live { background: var(--neon); width: 24px; border-radius: 4px; box-shadow: 0 0 8px rgba(168,85,247,.7); }
/* ---- 文字广告条 ---- */
.promo-bar-wrap { background: var(--fx-card); border-bottom: 1px solid var(--fx-line); }
.promo-bar {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 8px; padding: 10px 0;
}
.promo-txt {
  display: block; padding: 6px 8px;
  background: var(--fx-card-2); border-radius: 6px;
  color: var(--fx-ink); font-size: 12px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .15s, background .15s;
}
.promo-txt:hover { color: var(--neon); background: var(--fx-card); }

/* ---- 广告块 ---- */
.promo-block { margin-bottom: 18px; }
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.reel-grid > .promo-block { grid-column: 1 / -1; margin: 0 0 4px; }
.promo-detail { margin: 16px 0; }
.promo-detail .promo-bar { padding: 0; margin-bottom: 12px; }
.promo-detail .promo-block { margin: 0; }
.promo-cell { display: block; border-radius: var(--fx-round); overflow: hidden; background: var(--fx-card); line-height: 0; }
.promo-cell img { width: 100%; height: auto; display: block; }
.promo-list .promo-cell img { height: 100px; object-fit: fill; }
.promo-top .promo-cell img { height: 60px; object-fit: fill; }

/* ---- 弹窗广告 ---- */
.fx-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.72); padding: 20px; }
.fx-modal.is-shown { display: flex; animation: fx-modal-fade .18s ease; }
@keyframes fx-modal-fade { from { opacity: 0; } to { opacity: 1; } }
.fx-modal-box { position: relative; max-width: 100%; animation: fx-modal-pop .22s ease; }
@keyframes fx-modal-pop { from { transform: translateY(16px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.fx-modal-x {
  position: absolute; top: -14px; right: -14px; width: 36px; height: 36px;
  border-radius: 50%; background: #fff; color: #333; border: none;
  font-size: 22px; line-height: 36px; text-align: center; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.4); z-index: 3; transition: transform .15s;
}
.fx-modal-x:hover { transform: rotate(90deg); }
.fx-modal-poster { width: 350px; height: 500px; max-width: 92vw; max-height: 86vh; }
.fx-modal-poster .fx-modal-link { display: block; width: 100%; height: 100%; line-height: 0; border-radius: 14px; overflow: hidden; }
.fx-modal-poster img { display: block; width: 100%; height: 100%; object-fit: fill; }
.fx-modal-apps { width: 350px; height: 500px; max-width: 92vw; max-height: 86vh; background: var(--fx-card); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.6); overflow: visible; }
.fx-modal-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: 18px 14px 16px; border-radius: 14px; }
.fx-modal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 8px; }
.fx-app { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--fx-ink); font-size: 11px; text-align: center; min-width: 0; }
.fx-app:hover { text-decoration: none; }
.fx-app img { width: 100%; aspect-ratio: 1 / 1; object-fit: fill; border-radius: 12px; background: rgba(255,255,255,.06); }
.fx-app span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- 视频卡片（2:3 海报比） ---- */
.reel-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
}
.flick-card {
  display: block; background: var(--fx-card);
  border-radius: var(--fx-round); overflow: hidden;
  border: 1px solid var(--fx-line);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.flick-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(168,85,247,.35);
  border-color: rgba(168,85,247,.5);
}
/* 2:3 海报比 */
.flick-shot { position: relative; aspect-ratio: 2 / 3; background: #000; overflow: hidden; }
.flick-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.flick-card:hover .flick-shot img { transform: scale(1.06); }
.flick-shot .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; background: rgba(0,0,0,.35); transition: opacity .25s;
}
.flick-card:hover .flick-shot .play { opacity: 1; }
.flick-shot .play i {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--neon), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(168,85,247,.6);
}
.flick-shot .play i::before {
  content: ""; width: 0; height: 0; border-style: solid;
  border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.flick-tag {
  position: absolute; top: 7px; left: 7px;
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  color: #fff; font-size: 11px; padding: 1px 8px; border-radius: 10px;
  font-weight: 600;
}
.flick-time {
  position: absolute; right: 6px; bottom: 6px;
  background: rgba(0,0,0,.72); color: #fff; font-size: 12px;
  padding: 1px 7px; border-radius: 5px;
}
.flick-meta { padding: 8px 10px 10px; }
.flick-name {
  font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--fx-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  height: 37px;
}
.flick-info { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--fx-dim); }
.flick-info .cat { color: var(--neon); }

/* ---- 面包屑（detail 页） ---- */
.crumb { font-size: 13px; color: var(--fx-dim); margin-bottom: 16px; }
.crumb a:hover { color: var(--neon); }
.crumb .sep { margin: 0 8px; opacity: .4; }
.crumb .cur { color: var(--fx-ink); }

/* ---- 详情页 ---- */
.flick-page .flick-headline { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.stage {
  background: #000; border-radius: var(--fx-round); overflow: hidden; margin-bottom: 16px;
  height: 650px; position: relative;
  box-shadow: 0 0 40px rgba(168,85,247,.18);
}
.fx-app-bar {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin: 0 0 16px; padding: 13px 16px;
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  color: #fff; border-radius: var(--fx-round); font-size: 15px; font-weight: 600;
  transition: transform .15s, box-shadow .15s;
}
.fx-app-bar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(168,85,247,.4);
  color: #fff; text-decoration: none;
}
.fx-app-bar svg { display: block; }
.fx-preroll { position: absolute; inset: 0; z-index: 5; background: #000; }
.fx-preroll-link { display: block; width: 100%; height: 100%; line-height: 0; }
.fx-preroll-link img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fx-preroll-x {
  position: absolute; top: 12px; right: 12px; z-index: 6;
  background: rgba(0,0,0,.65); color: #fff;
  border: 1px solid rgba(255,255,255,.45); border-radius: 5px;
  padding: 6px 12px; font-size: 13px; cursor: pointer; transition: background .15s;
}
.fx-preroll-x:hover { background: rgba(0,0,0,.9); }
#fxStage,
.stage .dplayer { width: 100%; height: 650px; }
.stage .dplayer-video-wrap { height: 650px; }
.stage .dplayer-video-wrap video,
.stage .dplayer-video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.stage .dplayer-video-current { z-index: 0; }
.stage .dplayer-controller-mask,
.stage .dplayer-controller { z-index: 12; }
.stage .dplayer-bar-wrap { pointer-events: auto; cursor: pointer; }
.flick-facts {
  display: flex; flex-wrap: wrap; gap: 18px;
  color: var(--fx-dim); font-size: 14px; margin-bottom: 14px;
}
.flick-facts a { color: var(--neon); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  background: var(--fx-card-2); color: var(--fx-dim); font-size: 13px;
  padding: 3px 14px; border-radius: 14px;
  border: 1px solid var(--fx-line);
  transition: .15s;
}
.chip:hover {
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  border-color: transparent; color: #fff;
}
.synopsis {
  background: var(--fx-card); border: 1px solid var(--fx-line);
  border-radius: var(--fx-round); padding: 18px; margin-bottom: 28px;
}
.synopsis h2 { font-size: 16px; margin-bottom: 10px; }
.synopsis p { color: var(--fx-dim); line-height: 1.8; }

/* ---- 标签云 ---- */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; padding: 6px 0 4px; }
.chip-cloud .chip { display: inline-flex; align-items: baseline; gap: 6px; line-height: 1.5; }
.chip-cloud .chip-num { font-size: 11px; color: var(--fx-dim); }
.chip-cloud .chip:hover .chip-num { color: #fff; }
.chip-s1 { font-size: 13px; }
.chip-s2 { font-size: 15px; }
.chip-s3 { font-size: 17px; }
.chip-s4 { font-size: 20px; }
.chip-s5 { font-size: 24px; font-weight: 700; }

/* ---- 杂项 ---- */
.find-note { margin-bottom: 16px; color: var(--fx-dim); }
.find-note strong { color: var(--neon); }
.empty { padding: 60px 0; text-align: center; color: var(--fx-dim); }

/* ---- 分页 ---- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 36px; height: 36px; padding: 0 10px; line-height: 36px; text-align: center;
  background: var(--fx-card); border: 1px solid var(--fx-line);
  border-radius: var(--fx-round); font-size: 14px; color: var(--fx-ink);
  transition: border-color .15s, color .15s;
}
.pagination a:hover { color: var(--neon); border-color: var(--neon); }
.pagination .current {
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  color: #fff; border-color: transparent;
}
.pagination .dots { background: transparent; border: none; }

/* ---- Footer：影院片尾字幕 · 居中纵向对称 ---- */
.fx-foot {
  background: var(--fx-card); border-top: 1px solid var(--fx-line);
  color: var(--fx-dim); padding: 40px 0 0; font-size: 13px; margin-top: 10px;
}
/* 片尾字幕主体：居中单栏对称 */
.fx-foot .fx-foot-credits {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 16px; padding-bottom: 28px;
}
.fx-foot .fx-foot-brand {
  font-size: 30px; font-weight: 800; letter-spacing: 1px; line-height: 1.2;
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(168,85,247,.55));
}
.fx-foot .fx-foot-desc { max-width: 620px; line-height: 1.8; opacity: .85; }
/* 发光横向分隔线 */
.fx-foot .fx-foot-rule {
  width: min(420px, 70%); height: 1px; margin: 4px 0;
  background: linear-gradient(90deg, transparent, var(--neon), var(--cyan), transparent);
  box-shadow: 0 0 12px rgba(168,85,247,.6);
}
/* 链接组：横向成排、小标题居中 */
.fx-foot .fx-foot-groups {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px;
  width: 100%;
}
.fx-foot .fx-foot-group { min-width: 0; text-align: center; }
.fx-foot .fx-foot-group h4 {
  margin: 0 0 10px; color: var(--fx-ink); font-size: 14px; font-weight: 600;
}
.fx-foot .fx-foot-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
}
.fx-foot .fx-foot-links a { color: var(--fx-dim); transition: color .15s; }
.fx-foot .fx-foot-links a:hover { color: var(--neon); }
.fx-foot .fx-foot-contact { display: inline-flex; align-items: center; gap: 6px; }
.fx-foot .fx-foot-contact svg { flex: none; }
/* 友情链接：全宽换行带（发光 chip） */
.fx-foot .fx-foot-flinks {
  border-top: 1px solid var(--fx-line); padding: 22px 0;
}
.fx-foot .fx-foot-flinks-title {
  margin: 0 0 14px; text-align: center; color: var(--fx-ink);
  font-size: 14px; font-weight: 600;
}
.fx-foot .fx-foot-flinks-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px;
}
.fx-foot .fx-foot-chip {
  display: block; text-align: center; padding: 7px 10px;
  border: 1px solid var(--fx-line); border-radius: 999px;
  background: var(--fx-card-2); color: var(--fx-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .15s, border-color .15s, box-shadow .15s;
}
.fx-foot .fx-foot-chip:hover {
  color: var(--fx-ink); border-color: var(--neon);
  box-shadow: 0 0 12px rgba(168,85,247,.45);
}
.fx-foot .fx-foot-bottom {
  border-top: 1px solid var(--fx-line); padding: 16px 0 96px;
  text-align: center; line-height: 1.9;
}
.fx-foot .fx-foot-bottom .disclaimer { display: block; margin-top: 4px; font-size: 12px; opacity: .7; }

/* ---- 返回顶部 ---- */
.fx-up {
  position: fixed; right: 22px; bottom: 26px; z-index: 120;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--fx-line); border-radius: 50%; cursor: pointer;
  background: var(--fx-card-2); color: var(--fx-ink);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s, background .15s, color .15s, box-shadow .15s;
}
.fx-up.is-seen { opacity: 1; visibility: visible; transform: translateY(0); }
.fx-up:hover {
  background: linear-gradient(135deg, var(--neon), var(--cyan));
  color: #fff; border-color: transparent;
  box-shadow: 0 0 16px rgba(168,85,247,.5);
}

/* ---- 快捷功能区：悬浮发光胶囊 ---- */
.fx-dock {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 115; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-radius: 999px;
  background: rgba(18,18,31,.82); border: 1px solid var(--fx-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,.5), 0 0 22px rgba(168,85,247,.3);
  max-width: calc(100% - 24px);
}
.fx-dock-item {
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 4px; min-width: 56px;
  color: var(--fx-dim); font-size: 11px;
  transition: color .15s, transform .15s;
}
.fx-dock-item svg {
  display: block; padding: 8px; border-radius: 50%;
  background: var(--fx-card-2); border: 1px solid var(--fx-line);
  box-sizing: content-box;
  transition: color .15s, background .15s, border-color .15s, box-shadow .15s;
}
.fx-dock-item:hover { color: var(--neon); transform: translateY(-2px); }
.fx-dock-item:hover svg {
  color: var(--neon); border-color: var(--neon);
  background: var(--fx-card);
  box-shadow: 0 0 14px rgba(168,85,247,.55);
}
.fx-dock-home svg { width: 22px; height: 22px; }
.fx-dock-search svg { width: 22px; height: 22px; }
.fx-dock-dl svg { width: 22px; height: 22px; }
.fx-dock-tg svg { width: 22px; height: 22px; }

/* ---- 404 页 ---- */
.oops { text-align: center; padding: 0 16px 24px; }
.oops-code {
  font-size: 100px; font-weight: 900; line-height: 1; letter-spacing: 4px;
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(168,85,247,.5));
}
.oops-title { font-size: 26px; margin: 12px 0; color: var(--fx-ink); }
.oops-desc { color: var(--fx-dim); margin-bottom: 24px; }
.oops-find { display: flex; max-width: 440px; margin: 0 auto 18px; gap: 8px; }
.oops-find input {
  flex: 1; padding: 10px 14px;
  background: var(--fx-card); border: 1px solid var(--fx-line);
  border-radius: var(--fx-round); font-size: 15px; color: var(--fx-ink);
}
.oops-find input::placeholder { color: var(--fx-dim); }
.oops-find button {
  padding: 10px 22px;
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  color: #fff; border: none; border-radius: var(--fx-round);
  cursor: pointer; font-size: 15px; font-weight: 600;
  transition: transform .15s, box-shadow .15s;
}
.oops-find button:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(168,85,247,.45); }
.oops-home {
  display: inline-block; padding: 9px 24px;
  border: 1px solid var(--fx-line); border-radius: var(--fx-round);
  color: var(--fx-dim); text-decoration: none; transition: .15s;
}
.oops-home:hover { border-color: var(--neon); color: var(--neon); }

/* ---- 响应式 ---- */
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .fx-stage-main { padding: 16px 12px 32px; }
  .fx-head-inner { padding-top: 8px; padding-bottom: 8px; }
  .fx-head-row { gap: 8px; height: 46px; }
  .logo { font-size: 20px; }
  .fx-burger { display: flex; }
  .fx-msearch { display: inline-flex; }
  /* 移动端：桌面工具栏隐藏，顶栏只剩 logo + 🔍 + ☰ */
  .fx-head-tools { display: none; }
  /* 移动端：导航变抽屉，右滑入（深色霓虹），顶搜索框 + 发光导航 + 底部下载/TG */
  .fx-menu {
    display: flex; flex-direction: column; gap: 0; flex: none;
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: 280px; max-width: 84vw;
    background: linear-gradient(180deg, #0c0e1a 0%, var(--fx-bg) 100%);
    border-left: 1px solid rgba(168,85,247,.4);
    padding: 16px 0 0; overflow: hidden; z-index: 200;
    transform: translateX(100%); transition: transform .26s ease;
    justify-content: flex-start;
  }
  /* 抽屉打开时隐藏会盖住其底部的悬浮元素（dock 在根层叠 z115 > 头部 z100，会压住困在头部上下文里的抽屉 z200） */
  body.fxNavOpen .fx-dock,
  body.fxNavOpen .fx-up { display: none; }
  .fx-menu.is-out { transform: translateX(0); box-shadow: -6px 0 30px rgba(60,120,255,.35); }
  /* 抽屉顶部：搜索输入框 */
  .fx-drawer-head { display: block; flex-shrink: 0; padding: 4px 16px 12px; }
  .fx-drawer-search { position: relative; display: flex; align-items: center; }
  .fx-drawer-search-ico {
    position: absolute; left: 12px; display: inline-flex; color: var(--cyan); pointer-events: none;
  }
  .fx-drawer-search-ico svg { display: block; }
  .fx-drawer-search input {
    width: 100%; height: 40px; padding: 0 14px 0 38px;
    border: 1px solid rgba(168,85,247,.4); border-radius: 999px;
    background: rgba(168,85,247,.06); color: var(--fx-ink); outline: none; font-size: 14px;
  }
  .fx-drawer-search input::placeholder { color: var(--fx-dim); }
  .fx-drawer-search input:focus { border-color: var(--neon); box-shadow: 0 0 12px rgba(168,85,247,.45); }
  /* 抽屉中部：发光大字导航（唯一滚动区，min-height:0 才能在导航项多时内部滚动而不把底部挤出） */
  .fx-drawer-nav { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow-y: auto; }
  .fx-menu a {
    width: 100%; padding: 13px 22px; font-size: 16px; font-weight: 500;
    color: rgba(240,240,255,.85);
    border-bottom: 1px solid rgba(168,85,247,.14); border-radius: 0;
    background: none; text-shadow: 0 0 8px rgba(60,120,255,.25);
  }
  .fx-menu a.is-live {
    background: rgba(168,85,247,.14);
    box-shadow: inset 3px 0 0 var(--neon);
    -webkit-text-fill-color: var(--neon);
    color: var(--neon); text-shadow: 0 0 10px rgba(168,85,247,.6);
  }
  /* 抽屉底部：下载 / TG 图标+文本发光按钮 */
  .fx-drawer-foot {
    flex-shrink: 0;
    display: flex; flex-direction: column; gap: 8px;
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0)); margin-top: 4px;
    border-top: 1px solid rgba(168,85,247,.22);
  }
  .fx-drawer-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 10px 14px; border-radius: 10px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    border: 1px solid rgba(168,85,247,.5); background: rgba(168,85,247,.08);
    color: var(--cyan);
    box-shadow: 0 0 14px rgba(168,85,247,.25);
  }
  .fx-drawer-btn svg { display: block; }
  .fx-drawer-dl {
    background: linear-gradient(90deg, var(--neon), var(--cyan));
    border-color: transparent; color: #fff;
    box-shadow: 0 0 18px rgba(168,85,247,.5);
  }
  /* 顶部修正：移动端清掉所有头部状态(含 overlay/scrolled)的 backdrop-filter，
     避免它成为包含块、令抽屉 .fx-menu 的 position:fixed 相对头部(被裁成一条)。 */
  .fx-head,
  .fx-head--overlay,
  .fx-head--overlay.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* 移动端：Logo 占左，🔍 + 汉堡依次靠右 */
  .fx-head-row { justify-content: flex-start; }
  .logo { flex: 1; text-align: left; order: 1; }
  .fx-msearch { order: 2; }
  .fx-burger { order: 3; }
  .reel-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .marquee { height: 240px; }
  .marquee-cap { padding: 24px 14px 12px; }
  .marquee-rank { align-self: flex-start; font-size: 10px; margin-bottom: 6px; }
  .marquee-title { font-size: 16px; margin-bottom: 6px; }
  .marquee-feed { font-size: 12px; margin-bottom: 8px; }
  .marquee-sub { display: none; }
  .marquee-tags { display: none; }
  .marquee-go { align-self: flex-start; padding: 7px 18px; font-size: 13px; }
  .promo-grid { grid-template-columns: 1fr; gap: 10px; }
  .promo-bar { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .marquee-slide { height: 220px; }
  .marquee-info { padding: 14px 16px 18px; }
  .marquee-title { font-size: 17px; }
  .marquee-sub { display: none; }
  .stage { height: 240px; }
  #fxStage,
  .stage .dplayer,
  .stage .dplayer-video-wrap { height: 100%; }
  .fx-foot .fx-foot-brand { font-size: 24px; }
  .fx-foot .fx-foot-groups { gap: 16px 26px; }
  .fx-foot .fx-foot-flinks-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
  .fx-up { right: 14px; bottom: 84px; width: 40px; height: 40px; }
  .fx-dock { bottom: 12px; gap: 2px; padding: 7px 8px; }
  .fx-dock-item { min-width: 52px; font-size: 11px; padding: 5px 3px; }
  .fx-dock-home svg, .fx-dock-search svg, .fx-dock-dl svg, .fx-dock-tg svg { width: 20px; height: 20px; padding: 7px; }
  .oops-code { font-size: 72px; }
}
