/* =========================================================
   MACCMS10 影视模板（第五十六套） - style.css
   au- 鎏金午夜蓝 · 影院臻选（深夜蓝墨 + 鎏金细线 + 浅金文字）
   深蓝金字头部（单行 + 双金线，汉堡最右）
   汉堡=中央两列磁贴菜单（一级磁贴 + 二级全部展开）
   焦点区=大图轮播（金色编号/进度）+ 右侧巅峰榜
   详情/播放页=影讯主卡 + 双栏并排卡片
   选集=紧凑数字网格；页脚=深蓝金字三栏
   ========================================================= */
:root {
  --au-bg: #0d1726;          /* 深夜蓝墨 */
  --au-card: #14233a;        /* 深蓝卡 */
  --au-soft: #1a2c47;        /* 浅蓝卡 */
  --au-line: #243a5c;        /* 金蓝线 */
  --au-ink: #e8eef7;         /* 浅蓝白文字 */
  --au-sub: #8ea0bd;         /* 灰蓝 */
  --au-gold: #d4af37;        /* 鎏金 */
  --au-goldd: #a97f1f;       /* 深金 */
  --au-grad: linear-gradient(135deg, #e3c65c, #b8912f);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  background: var(--au-bg);
  color: var(--au-ink);
  font: 14px/1.6 -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { border: 0; display: block; }
em, i, b { font-style: normal; }

/* ---------- 容器 ---------- */
.au-shell { max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.au-main { min-height: 62vh; padding-top: 14px; }

/* ---------- 深蓝金字头部（单行 + 双金线，汉堡最右） ---------- */
.au-mast {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(13,23,38,.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 3px solid var(--au-gold);
  border-bottom: 1px solid var(--au-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.au-mast .au-shell {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.au-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
  white-space: nowrap;
}
.au-brand-ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--au-gold);
  background: var(--au-grad);
  color: #0d1726;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  line-height: 38px;
  box-shadow: 0 0 14px rgba(212,175,55,.35);
}
.au-brand-txt {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--au-ink);
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-brand-txt::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 2px;
  background: var(--au-grad);
}
.au-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.au-nav::-webkit-scrollbar { display: none; }
.au-nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--au-sub);
  white-space: nowrap;
  flex-shrink: 0;
}
.au-nav a:hover { color: var(--au-gold); }
.au-nav a.is-on {
  color: var(--au-gold);
  border-bottom: 2px solid var(--au-gold);
  margin-bottom: -2px;
}
.au-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.au-find {
  display: flex;
  border: 1px solid var(--au-line);
  background: var(--au-card);
}
.au-find-input {
  width: 168px;
  padding: 7px 14px;
  border: 0;
  background: transparent;
  color: var(--au-ink);
  font-size: 13px;
  outline: none;
}
.au-find-go {
  padding: 7px 18px;
  border: 0;
  background: var(--au-grad);
  color: #0d1726;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.au-find-go:hover { filter: brightness(1.1); }
.au-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 11px;
  border: 1px solid var(--au-gold);
  background: var(--au-card);
  cursor: pointer;
  flex-shrink: 0;
}
.au-burger span {
  display: block;
  height: 2px;
  background: var(--au-gold);
  transition: transform .25s, opacity .25s;
}
.au-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.au-burger.is-open span:nth-child(2) { opacity: 0; }
.au-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 汉堡：中央两列磁贴菜单（一级磁贴 + 二级全部展开） ---------- */
.au-curtain {
  position: fixed;
  inset: 0;
  background: rgba(4,10,20,.7);
  opacity: 0;
  pointer-events: none;
  z-index: 120;
  transition: opacity .3s;
}
.au-curtain.is-open { opacity: 1; pointer-events: auto; }
.au-menu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  opacity: 0;
  pointer-events: none;
  width: 660px;
  max-width: 92vw;
  max-height: 86vh;
  background: var(--au-card);
  border: 1px solid var(--au-gold);
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
  z-index: 125;
  display: flex;
  flex-direction: column;
  transition: transform .3s, opacity .3s;
}
.au-menu.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.au-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--au-line);
  background: var(--au-soft);
}
.au-menu-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--au-gold);
  letter-spacing: 2px;
}
.au-menu-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--au-line);
  background: var(--au-card);
  color: var(--au-sub);
  font-size: 13px;
  cursor: pointer;
}
.au-menu-close:hover { border-color: var(--au-gold); color: var(--au-gold); }
.au-menu-find {
  display: flex;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--au-line);
}
.au-menu-input {
  flex: 1;
  min-width: 0;
  padding: 8px 14px;
  border: 1px solid var(--au-line);
  background: var(--au-card);
  color: var(--au-ink);
  font-size: 13px;
  outline: none;
}
.au-menu-go {
  padding: 8px 20px;
  border: 0;
  background: var(--au-grad);
  color: #0d1726;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}
.au-menu-body { flex: 1; overflow-y: auto; padding: 12px 18px 16px; }
.au-menu-home {
  display: block;
  padding: 10px 14px;
  margin-bottom: 12px;
  border-left: 3px solid var(--au-gold);
  background: var(--au-soft);
  font-size: 15px;
  font-weight: 800;
  color: var(--au-gold);
}
.au-menu-home:hover { background: #21344f; }
.au-tile {
  border: 1px solid var(--au-line);
  background: var(--au-card);
  margin-bottom: 10px;
}
.au-tile-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--au-line);
  background: var(--au-soft);
  min-width: 0;
}
.au-tile-ico {
  width: 26px;
  height: 26px;
  border: 1px solid var(--au-gold);
  background: var(--au-grad);
  color: #0d1726;
  font-size: 12px;
  text-align: center;
  line-height: 24px;
  flex-shrink: 0;
}
.au-tile-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--au-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-tile:hover .au-tile-name { color: var(--au-gold); }
.au-tile-arrow { color: var(--au-gold); font-size: 15px; flex-shrink: 0; }
.au-tile-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
}
.au-sub {
  display: inline-block;
  padding: 3px 13px;
  border: 1px solid var(--au-line);
  font-size: 13px;
  color: var(--au-sub);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-sub:hover { border-color: var(--au-gold); color: var(--au-gold); }
.au-menu-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 18px;
  border-top: 1px solid var(--au-line);
  background: var(--au-soft);
}
.au-menu-foot a {
  padding: 3px 14px;
  border: 1px solid var(--au-line);
  font-size: 12px;
  color: var(--au-sub);
}
.au-menu-foot a:hover { border-color: var(--au-gold); color: var(--au-gold); }

/* ---------- 板块 ---------- */
.au-sec {
  background: var(--au-card);
  border: 1px solid var(--au-line);
  border-top: 2px solid var(--au-gold);
  padding: 16px;
  margin-bottom: 18px;
  min-width: 0;
}
.au-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--au-line);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.au-sec-title {
  position: relative;
  font-size: 17px;
  font-weight: 800;
  color: var(--au-ink);
  letter-spacing: 1px;
  padding-left: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 7px;
  background: var(--au-grad);
}
.au-sec-more {
  display: inline-block;
  padding: 2px 14px;
  border: 1px solid var(--au-line);
  font-size: 13px;
  color: var(--au-gold);
  flex-shrink: 0;
}
.au-sec-more:hover { border-color: var(--au-gold); background: var(--au-soft); }
.au-sec-note { font-size: 12px; color: var(--au-sub); flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 面包屑（仅详情/播放） ---------- */
.au-crumb {
  padding: 6px 0 14px;
  font-size: 13px;
  color: var(--au-sub);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
.au-crumb a:hover { color: var(--au-gold); }
.au-crumb-sep { color: #3c5478; }

/* ---------- 焦点区：大图轮播（金色编号/进度）+ 右侧巅峰榜 ---------- */
.au-front {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 12px;
  margin-bottom: 18px;
  min-width: 0;
}
.au-view {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--au-gold);
  background: #0a1424;
  min-width: 0;
}
.au-track { display: flex; transition: transform .5s ease; }
.au-sheet {
  position: relative;
  display: block;
  min-width: 100%;
  height: 400px;
  overflow: hidden;
}
.au-sheet img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.au-sheet-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px 20px;
  background: linear-gradient(180deg, transparent, rgba(6,13,24,.95) 84%);
  color: #fff;
}
.au-sheet-name {
  display: block;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-sheet-meta {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--au-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-sheet-plot {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #c6d2e4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.au-sheet-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 24px;
  background: var(--au-grad);
  color: #0d1726;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}
.au-sheet-no {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 2px 12px;
  border: 1px solid var(--au-gold);
  background: rgba(6,13,24,.8);
  color: var(--au-gold);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
}
.au-sheet-score {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 56px;
  height: 56px;
  border: 1px solid var(--au-gold);
  background: rgba(6,13,24,.82);
  color: var(--au-gold);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.au-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 50px;
  border: 0;
  background: rgba(6,13,24,.55);
  color: var(--au-gold);
  font-size: 24px;
  cursor: pointer;
  z-index: 6;
}
.au-arrow:hover { background: var(--au-gold); color: #0d1726; }
.au-prev { left: 0; }
.au-next { right: 0; }
.au-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 20%;
  background: var(--au-grad);
  z-index: 6;
  transition: width .5s ease, transform .5s ease;
}
.au-king {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--au-line);
  background: var(--au-card);
  min-width: 0;
}
.au-king-title {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid var(--au-gold);
  background: var(--au-soft);
  font-size: 14px;
  font-weight: 800;
  color: var(--au-gold);
  letter-spacing: 2px;
}
.au-king-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px dashed var(--au-line);
  min-width: 0;
}
.au-king-item:last-child { border-bottom: 0; }
.au-king-item:hover { background: var(--au-soft); }
.au-king-item.is-on { background: var(--au-soft); box-shadow: inset 3px 0 0 var(--au-gold); }
.au-king-no {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--au-line);
  color: var(--au-sub);
  font-size: 12px;
  text-align: center;
  line-height: 22px;
}
.au-king-item.is-on .au-king-no,
.au-king-item:nth-child(-n+4) .au-king-no { border-color: var(--au-gold); color: var(--au-gold); }
.au-king-info { flex: 1; min-width: 0; }
.au-king-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--au-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-king-item:hover .au-king-name,
.au-king-item.is-on .au-king-name { color: var(--au-gold); }
.au-king-meta {
  display: block;
  font-size: 11px;
  color: var(--au-sub);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-king-score {
  font-size: 12px;
  color: var(--au-gold);
  flex-shrink: 0;
}

/* ---------- 横向滑动条（今日热映） ---------- */
.au-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,175,55,.6) rgba(212,175,55,.15);
}
.au-rail::-webkit-scrollbar { height: 6px; }
.au-rail::-webkit-scrollbar-track { background: rgba(212,175,55,.15); }
.au-rail::-webkit-scrollbar-thumb { background: rgba(212,175,55,.6); }
.au-rail-card {
  flex-shrink: 0;
  width: 140px;
  scroll-snap-align: start;
  display: block;
  min-width: 0;
}
.au-rail-pic {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0f1b30;
  border: 1px solid var(--au-line);
}
.au-rail-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.au-rail-card:hover .au-rail-pic img { transform: scale(1.05); }
.au-rail-flag {
  position: absolute;
  left: 5px;
  top: 5px;
  padding: 1px 8px;
  background: rgba(6,13,24,.85);
  border: 1px solid var(--au-gold);
  color: var(--au-gold);
  font-size: 11px;
  max-width: 68%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-rail-no {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 24px;
  height: 24px;
  background: var(--au-grad);
  color: #0d1726;
  font-size: 12px;
  text-align: center;
  line-height: 24px;
}
.au-rail-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 8px 7px;
  background: linear-gradient(180deg, transparent, rgba(6,13,24,.95));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-rail-card:hover .au-rail-mask { opacity: 1; transform: translateY(0); }
.au-rail-info { display: block; padding: 8px 2px 0; }
.au-rail-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--au-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-rail-card:hover .au-rail-name { color: var(--au-gold); }
.au-rail-meta {
  display: block;
  font-size: 12px;
  color: var(--au-sub);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 封面网格（电脑5列 / 手机3列，3/4 标准） ---------- */
.au-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.au-card { display: block; min-width: 0; }
.au-card-pic {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0f1b30;
  border: 1px solid var(--au-line);
}
.au-card-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.au-card:hover .au-card-pic img { transform: scale(1.05); }
.au-card-flag {
  position: absolute;
  left: 5px;
  top: 5px;
  padding: 1px 8px;
  background: rgba(6,13,24,.85);
  border: 1px solid var(--au-gold);
  color: var(--au-gold);
  font-size: 11px;
  max-width: 76%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-card-score {
  position: absolute;
  right: 5px;
  top: 5px;
  padding: 1px 8px;
  background: var(--au-grad);
  color: #0d1726;
  font-size: 11px;
  font-weight: 800;
}
.au-card-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 8px 7px;
  background: linear-gradient(180deg, transparent, rgba(6,13,24,.95));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-card:hover .au-card-mask { opacity: 1; transform: translateY(0); }
.au-card-info { display: block; padding: 8px 2px 0; }
.au-card-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--au-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-card:hover .au-card-name { color: var(--au-gold); }
.au-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--au-sub);
}

/* ---------- 筛选栏（二级分类常驻 + 其余四行收缩 + 横滑） ---------- */
.au-sift {
  background: var(--au-card);
  border: 1px solid var(--au-line);
  border-top: 2px solid var(--au-gold);
  padding: 6px 16px;
  margin-bottom: 18px;
  min-width: 0;
}
.au-sift-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 2px;
}
.au-sift-tip { font-size: 13px; font-weight: 800; color: var(--au-gold); letter-spacing: 2px; }
.au-sift-note { font-size: 12px; color: var(--au-sub); }
/* 二级分类：始终显示，不随收缩隐藏 */
.au-sift-top {
  background: var(--au-soft);
  margin: 6px -16px 0;
  padding: 10px 16px;
  border-bottom: 1px solid var(--au-line);
}
.au-sift-body { display: none; }
.au-sift.is-expanded .au-sift-body { display: block; }
.au-sift-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--au-line);
  min-width: 0;
}
.au-sift-row:last-child { border-bottom: 0; }
.au-sift-key {
  width: 76px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--au-gold);
  padding-top: 4px;
}
.au-sift-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding-bottom: 2px;
}
.au-sift-scroll::-webkit-scrollbar { height: 4px; }
.au-sift-scroll::-webkit-scrollbar-track { background: rgba(212,175,55,.15); }
.au-sift-scroll::-webkit-scrollbar-thumb { background: rgba(212,175,55,.6); }
.au-chip {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--au-line);
  background: var(--au-card);
  font-size: 13px;
  color: var(--au-sub);
  white-space: nowrap;
  flex-shrink: 0;
}
.au-chip:hover { border-color: var(--au-gold); color: var(--au-gold); }
.au-chip.is-on {
  background: var(--au-grad);
  border-color: transparent;
  color: #0d1726;
  font-weight: 700;
}
.au-unfold {
  padding: 5px 22px;
  border: 1px solid var(--au-gold);
  background: transparent;
  color: var(--au-gold);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.au-unfold:hover { background: var(--au-gold); color: #0d1726; }

/* ---------- 分页 ---------- */
.au-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 6px 0 2px;
}
.au-pager-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--au-line);
  font-size: 13px;
  color: var(--au-sub);
  background: var(--au-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.au-pager-btn:hover { border-color: var(--au-gold); color: var(--au-gold); }
.au-pager-btn.is-on {
  background: var(--au-grad);
  border-color: transparent;
  color: #0d1726;
  font-weight: 700;
}

/* ---------- 详情页：影讯主卡（海报左 + 信息右 + 金色数据条） ---------- */
.au-hero {
  margin-bottom: 18px;
  border: 1px solid var(--au-line);
  border-top: 2px solid var(--au-gold);
  background: var(--au-card);
}
.au-hero-card {
  display: flex;
  gap: 26px;
  padding: 24px;
  background: linear-gradient(135deg, #1a2c47 0%, #14233a 60%);
}
.au-hero-poster {
  position: relative;
  width: 210px;
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0f1b30;
  border: 1px solid var(--au-gold);
  box-shadow: 8px 8px 0 rgba(212,175,55,.18);
}
.au-hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.au-hero-flag {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 1px 9px;
  background: rgba(6,13,24,.85);
  border: 1px solid var(--au-gold);
  color: var(--au-gold);
  font-size: 11px;
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-hero-info { flex: 1; min-width: 0; }
.au-hero-name {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--au-ink);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.au-hero-tag {
  padding: 2px 13px;
  border: 1px solid var(--au-gold);
  font-size: 12px;
  color: var(--au-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.au-hero-tag:hover { background: var(--au-gold); color: #0d1726; }
.au-hero-plot {
  font-size: 13px;
  line-height: 1.7;
  color: var(--au-sub);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.au-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.au-hero-stat {
  background: var(--au-soft);
  border: 1px solid var(--au-line);
  padding: 8px 6px;
  text-align: center;
  min-width: 0;
}
.au-hero-num {
  display: block;
  font-size: 19px;
  font-weight: 900;
  color: var(--au-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-hero-key {
  display: block;
  font-size: 11px;
  color: var(--au-sub);
  margin-top: 2px;
}
.au-hero-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.au-btn {
  padding: 9px 28px;
  border: 0;
  background: var(--au-grad);
  color: #0d1726;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
}
.au-btn:hover { filter: brightness(1.1); }
.au-btn-ghost {
  padding: 9px 28px;
  border: 1px solid var(--au-gold);
  color: var(--au-gold);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
}
.au-btn-ghost:hover { background: var(--au-gold); color: #0d1726; }

/* ---------- 双栏并排（详情/播放页：电脑两栏，手机堆叠） ---------- */
.au-duo {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 18px;
  align-items: start;
  min-width: 0;
}
.au-duo-main, .au-duo-side { min-width: 0; margin-bottom: 18px; }

/* ---------- 片名行（播放页） ---------- */
.au-phead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--au-card);
  border: 1px solid var(--au-line);
  border-left: 4px solid var(--au-gold);
  padding: 12px 16px;
  margin-bottom: 14px;
}
.au-phead-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.au-phead-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--au-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-phead-ep {
  padding: 2px 12px;
  border: 1px solid var(--au-gold);
  background: var(--au-soft);
  color: var(--au-gold);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.au-phead-nav { display: flex; gap: 8px; flex-shrink: 0; }
.au-phead-btn {
  padding: 6px 16px;
  border: 1px solid var(--au-line);
  color: var(--au-gold);
  font-size: 13px;
  background: var(--au-card);
}
.au-phead-btn:hover { border-color: var(--au-gold); background: var(--au-soft); }

/* ---------- 播放器（16:9 全屏居中，仅播放页） ---------- */
.au-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050a13;
  margin-bottom: 18px;
  border: 1px solid var(--au-gold);
}
@supports not (aspect-ratio: 16 / 9) {
  .au-player { padding-top: 56.25%; }
}
.au-player div,
.au-player iframe,
.au-player video,
.au-player embed,
.au-player object {
  width: 100% !important;
  height: 100% !important;
}
.au-player-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f7391;
  font-size: 14px;
}

/* ---------- 选集：紧凑数字网格（超 20 集折叠） ---------- */
.au-ep-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 7px;
  margin-bottom: 10px;
}
.au-ep {
  display: block;
  text-align: center;
  padding: 7px 2px;
  border: 1px solid var(--au-line);
  font-size: 12px;
  color: var(--au-ink);
  background: var(--au-card);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-ep:hover { border-color: var(--au-gold); color: var(--au-gold); }
.au-ep.is-on {
  background: var(--au-grad);
  border-color: transparent;
  color: #0d1726;
  font-weight: 700;
}
.au-ep-more { text-align: center; }
.au-ep-morebtn {
  display: inline-block;
  padding: 6px 22px;
  border: 1px solid var(--au-gold);
  font-size: 13px;
  color: var(--au-gold);
  background: transparent;
  cursor: pointer;
}
.au-ep-morebtn:hover { background: var(--au-gold); color: #0d1726; }
.au-ep-hidden { display: none; }
.au-ep-grid.is-expanded .au-ep-hidden { display: block; }

/* ---------- 详情介绍 ---------- */
.au-detail { display: block; }
.au-detail dd {
  padding: 7px 0;
  border-bottom: 1px dashed var(--au-line);
  font-size: 13px;
  color: var(--au-ink);
}
.au-detail dd:last-child { border-bottom: 0; }
.au-detail dd em { color: var(--au-sub); margin-right: 4px; }
.au-detail a { color: var(--au-gold); }
.au-overflow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 其他人还在搜 ---------- */
.au-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.au-cloud a {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--au-line);
  font-size: 13px;
  color: var(--au-sub);
  background: var(--au-card);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-cloud a:hover { border-color: var(--au-gold); color: var(--au-gold); }

/* ---------- 常见问题 ---------- */
.au-faq { display: block; }
.au-faq-item { padding: 10px 0; border-bottom: 1px dashed var(--au-line); }
.au-faq-item:last-child { border-bottom: 0; }
.au-faq-q {
  display: block;
  font-size: 14px;
  color: var(--au-ink);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-faq-a { font-size: 13px; color: var(--au-sub); margin-top: 4px; }
.au-faq-a a { color: var(--au-gold); }

/* ---------- 评论 ---------- */
.au-talk {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--au-line);
  min-width: 0;
}
.au-talk:last-child { border-bottom: 0; }
.au-talk-avatar {
  width: 36px;
  height: 36px;
  border: 1px solid var(--au-gold);
  background: var(--au-soft);
  color: var(--au-gold);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  line-height: 34px;
  flex-shrink: 0;
}
.au-talk-body { flex: 1; min-width: 0; }
.au-talk-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.au-talk-user {
  font-size: 13px;
  font-weight: 700;
  color: var(--au-ink);
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-talk-badge {
  font-size: 11px;
  color: #0d1726;
  background: var(--au-grad);
  padding: 0 6px;
}
.au-talk-stars { color: var(--au-gold); font-size: 12px; }
.au-dim { color: #3c5478; }
.au-talk-time { font-size: 11px; color: var(--au-sub); }
.au-talk-text { font-size: 13px; color: var(--au-ink); }
.au-talk-like {
  font-size: 12px;
  color: var(--au-sub);
  flex-shrink: 0;
  align-self: center;
}

/* ---------- 空态 ---------- */
.au-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--au-sub);
  font-size: 14px;
}

/* ---------- 深蓝金字页脚 ---------- */
.au-foot { margin-top: 12px; border-top: 2px solid var(--au-gold); }
.au-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 14px;
  padding: 20px 0 8px;
}
.au-col { min-width: 0; }
.au-col-brand { min-width: 0; }
.au-brand-foot .au-brand-ico { width: 34px; height: 34px; line-height: 32px; font-size: 14px; }
.au-brand-foot .au-brand-txt { font-size: 18px; }
.au-desc {
  font-size: 12px;
  color: var(--au-sub);
  line-height: 1.8;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.au-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.au-pills a {
  padding: 3px 14px;
  border: 1px solid var(--au-line);
  font-size: 12px;
  color: var(--au-gold);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-pills a:hover { border-color: var(--au-gold); }
.au-col-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--au-gold);
  margin-bottom: 10px;
  letter-spacing: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-col-title::before { content: "◆ "; font-size: 11px; }
.au-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.au-links a {
  padding: 3px 12px;
  border: 1px solid var(--au-line);
  font-size: 12px;
  color: var(--au-sub);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-links a:hover { border-color: var(--au-gold); color: var(--au-gold); }
.au-copy {
  background: #0a1424;
  margin-top: 12px;
  padding: 16px 0 20px;
  text-align: center;
  font-size: 12px;
  color: #5f7391;
  border-top: 1px solid var(--au-line);
}
.au-copy p { margin: 2px 0; }
.au-copy a:hover { color: var(--au-gold); }

/* ---------- 回到顶部 ---------- */
#auTop {
  display: none;
  position: fixed;
  right: 24px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--au-gold);
  background: var(--au-card);
  color: var(--au-gold);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  z-index: 99;
}
#auTop:hover { background: var(--au-gold); color: #0d1726; }

/* ---------- 组合/容器补充 ---------- */
.au-lazy { background: #0f1b30; }

/* =========================================================
   自适应：平板 1024 / 手机 768 / 小屏 480
   ========================================================= */
@media (max-width: 1024px) {
  .au-shell { padding-left: 16px; padding-right: 16px; }
  .au-grid { grid-template-columns: repeat(4, 1fr); }
  .au-ep-grid { grid-template-columns: repeat(5, 1fr); }
  .au-cols { grid-template-columns: 1fr 1fr; }
  .au-front { grid-template-columns: 1fr 200px; }
  .au-duo { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 13px; }
  .au-mast .au-shell { gap: 10px; padding-top: 6px; padding-bottom: 6px; }
  .au-brand { gap: 8px; }
  .au-brand-ico { width: 34px; height: 34px; line-height: 32px; font-size: 14px; }
  .au-brand-txt { font-size: 16px; max-width: 140px; }
  .au-nav { display: none; }
  .au-burger { display: flex; }
  .au-find-input { width: 100px; }
  .au-shell { padding-left: 14px; padding-right: 14px; }
  .au-main { padding-top: 8px; }
  .au-sec { padding: 12px; }
  .au-front { grid-template-columns: 1fr; }
  .au-sheet { height: 200px; }
  .au-sheet-info { padding: 18px 14px 12px; }
  .au-sheet-name { font-size: 19px; }
  .au-sheet-meta { margin-top: 4px; font-size: 12px; }
  .au-sheet-plot { display: none; }
  .au-sheet-btn { margin-top: 8px; padding: 5px 16px; font-size: 12px; }
  .au-sheet-no { left: 10px; top: 10px; font-size: 12px; padding: 1px 8px; }
  .au-sheet-score { right: 10px; top: 10px; width: 42px; height: 42px; font-size: 15px; }
  .au-arrow { width: 30px; height: 42px; font-size: 20px; }
  .au-king { flex-direction: row; overflow-x: auto; }
  .au-king-title { flex-shrink: 0; width: 100%; }
  .au-king-item { flex-shrink: 0; width: 150px; border-bottom: 0; border-right: 1px dashed var(--au-line); }
  .au-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .au-rail { gap: 10px; }
  .au-rail-card { width: 104px; }
  .au-card-flag, .au-card-score { font-size: 10px; padding: 0 6px; }
  .au-card-mask { font-size: 12px; }
  .au-card-name { font-size: 12px; }
  .au-sec-title { font-size: 15px; }
  .au-hero-card { gap: 14px; padding: 16px; flex-wrap: wrap; }
  .au-hero-poster { width: 118px; }
  .au-hero-name { font-size: 20px; }
  .au-hero-plot { -webkit-line-clamp: 2; }
  .au-hero-stats { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .au-phead { padding: 10px 12px; gap: 8px; }
  .au-phead-name { font-size: 15px; }
  .au-sift { padding: 4px 12px; min-width: 0; }
  .au-sift-top { margin: 6px -12px 0; padding: 10px 12px; }
  .au-sift-row { flex-direction: column; gap: 8px; padding: 9px 0; width: 100%; min-width: 0; }
  .au-sift-key { width: auto; padding-top: 0; }
  .au-sift-scroll { width: 100%; max-width: 100%; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .au-ep-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .au-cols { grid-template-columns: 1fr; padding: 10px 0 4px; }
  .au-copy { margin-top: 8px; }
}

@media (max-width: 480px) {
  .au-brand-txt { font-size: 14px; max-width: 120px; }
  .au-find-input { width: 84px; padding: 7px 10px; }
  .au-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .au-rail-card { width: 98px; }
  .au-pager-btn { min-width: 30px; height: 30px; padding: 0 9px; font-size: 12px; }
  .au-ep-grid { grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .au-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  #auTop { right: 14px; bottom: 26px; width: 40px; height: 40px; }
}
