/* ============================================================
   ShortPlay 官网设计系统（深色观影主题，移动端优先，PC 自适应）
   ============================================================ */
:root {
  --bg: #0e0e13;
  --bg-2: #15151c;
  --card: #1b1b24;
  --card-hover: #22222e;
  --text: #f5f5f8;
  --text-2: #a3a3b0;
  --text-3: #6d6d7a;
  --accent: #ff3d5e;
  --accent-2: #ff7a45;
  --gold: #f6c453;
  --green: #2ecb70;
  --border: rgba(255, 255, 255, 0.08);
  --grad: linear-gradient(135deg, #ff3d5e, #ff7a45);
  --grad-gold: linear-gradient(135deg, #f6c453, #f0932b);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  --header-h: 60px;
  --font: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  padding-top: var(--header-h);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.hidden { display: none !important; }

/* ---------- 全局窗口滚动条：隐藏原生条，JS 指示条替代（细、无箭头、自动隐藏） ---------- */
html { scrollbar-width: none; }                    /* Firefox 隐藏窗口滚动条 */
html::-webkit-scrollbar { width: 0; height: 0; }   /* Webkit 隐藏窗口滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }   /* 其余滚动容器默认尺寸 */
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-thumb { background: transparent; border-radius: 4px; transition: background .3s; }
/* 窗口滚动指示条（JS 驱动：滚动时显示，停止 0.9s 后隐藏，可拖动） */
#winBar { position: fixed; top: 0; right: 2px; bottom: 0; width: 8px; z-index: 2000; pointer-events: none; }
#winThumb { position: absolute; right: 1px; width: 6px; min-height: 30px; border-radius: 3px; background: rgba(255,255,255,.22); opacity: 0; transition: opacity .3s; pointer-events: none; }
#winBar.on #winThumb { opacity: 1; pointer-events: auto; }
#winBar.on #winThumb:hover { background: rgba(255,255,255,.38); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  background: rgba(14, 14, 19, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 18px; }
.logo { font-size: 21px; font-weight: 800; letter-spacing: 0.3px; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo .logo-badge {
  width: 30px; height: 30px; border-radius: 8px; background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.logo em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a {
  padding: 7px 13px; border-radius: 8px; color: var(--text-2);
  font-weight: 500; transition: 0.2s; white-space: nowrap;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.main-nav a.active { color: var(--text); background: rgba(255, 61, 94, 0.14); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* 语言下拉 */
.lang-dropdown { position: relative; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px; padding: 7px 11px;
  border: 1px solid var(--border); border-radius: 9px; background: rgba(255,255,255,0.04);
  color: var(--text); font-size: 13px; transition: 0.2s;
}
.lang-toggle:hover { border-color: rgba(255,255,255,0.22); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 160px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow); padding: 6px; display: none; z-index: 950;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: block; width: 100%; text-align: left; padding: 9px 12px;
  border-radius: 8px; font-size: 14px; color: var(--text-2);
}
.lang-menu button:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.lang-menu button.cur { color: var(--accent); font-weight: 600; }

/* 登录按钮 / 用户 */
.btn-login {
  padding: 8px 18px; border-radius: 9px; background: var(--grad);
  color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap;
}
.user-chip { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(255,255,255,0.06); }
.user-chip .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.user-chip .vip-crown { color: var(--gold); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 11px; font-weight: 600; font-size: 14.5px;
  transition: 0.2s; border: 1px solid transparent;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(255, 61, 94, 0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255, 61, 94, 0.45); }
.btn-gold { background: var(--grad-gold); color: #3a2a00; box-shadow: 0 6px 20px rgba(246, 196, 83, 0.3); }
.btn-ghost { background: rgba(255,255,255,0.07); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 13px; }

/* ---------- 徽章 ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; letter-spacing: 0.3px; }
.badge-hot { background: var(--grad); color: #fff; }
.badge-new { background: var(--green); color: #04260f; }
.badge-vip { background: var(--grad-gold); color: #3a2a00; }
.badge-ad { background: rgba(0,0,0,0.65); color: #fff; border: 1px solid rgba(255,255,255,0.3); }

/* ---------- Hero 轮播 ---------- */
.hero { position: relative; margin-top: 8px; }
.hero-track { position: relative; height: 440px; border-radius: var(--radius-lg); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.hero-slide.on { opacity: 1; pointer-events: auto; }
.hero-slide img.hero-bg { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62); }
.hero-info { position: absolute; left: 34px; bottom: 34px; right: 34px; max-width: 620px; }
.hero-info h1 { font-size: 32px; line-height: 1.25; margin-bottom: 10px; text-shadow: 0 2px 14px rgba(0,0,0,0.6); }
.hero-info p { color: #d8d8e0; font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.hero-info .hero-tags { display: flex; gap: 8px; margin-bottom: 12px; }
.hero-dots { position: absolute; right: 26px; bottom: 26px; display: flex; gap: 8px; z-index: 5; }
.hero-dots button { width: 22px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.3); transition: 0.25s; }
.hero-dots button.on { background: #fff; width: 34px; }

/* ---------- 分区与剧集卡片 ---------- */
.sect { margin-top: 34px; }
.sect-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.sect-head h2 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.sect-head h2::before { content: ""; width: 4px; height: 18px; border-radius: 3px; background: var(--grad); }
.sect-head .more { color: var(--text-2); font-size: 13.5px; }
.sect-head .more:hover { color: var(--accent); }
.row-scroll { display: flex; gap: 13px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: transparent transparent; transition: scrollbar-color .3s; }
.row-scroll.scrolling, .row-scroll:hover { scrollbar-color: rgba(255,255,255,.25) transparent; }
.row-scroll::-webkit-scrollbar { height: 6px; }
.row-scroll::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.row-scroll::-webkit-scrollbar-thumb { background: transparent; border-radius: 3px; transition: background .3s; }
.row-scroll.scrolling::-webkit-scrollbar-thumb,
.row-scroll:hover::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); }
.row-scroll .drama-card { flex: 0 0 148px; }

.drama-card { display: block; transition: transform 0.22s; }
.drama-card:hover { transform: translateY(-4px); }
.drama-card .cover {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--card);
}
.drama-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.drama-card .cover .badge { position: absolute; top: 8px; left: 8px; }
.drama-card .cover .ep-count {
  position: absolute; right: 0; bottom: 0; left: 0; padding: 22px 8px 7px;
  font-size: 11.5px; color: #eee; text-align: right;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}
/* 音频语言角标（封面右上） */
.lang-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(0, 0, 0, 0.62); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
}
.drama-card h3 {
  margin-top: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.drama-card .meta { font-size: 12px; color: var(--text-3); margin-top: 2px; }

.grid-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 14px; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 70px; border-top: 1px solid var(--border); background: var(--bg-2); padding: 38px 0 30px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.site-footer h4 { font-size: 14px; margin-bottom: 12px; color: var(--text); }
.site-footer .fcol { min-width: 150px; }
.site-footer .fcol a { display: block; color: var(--text-2); font-size: 13.5px; padding: 4px 0; }
.site-footer .fcol a:hover { color: var(--accent); }
.site-footer .copyright { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 12.5px; text-align: center; }

/* ---------- 悬浮下载按钮 ---------- */
.float-download {
  position: fixed; right: 18px; bottom: 22px; z-index: 800;
  display: flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px; background: var(--grad);
  color: #fff; font-weight: 700; font-size: 14.5px;
  box-shadow: 0 10px 28px rgba(255, 61, 94, 0.45);
  transition: 0.2s; animation: floatPulse 2.6s ease-in-out infinite;
}
.float-download:hover { transform: translateY(-2px) scale(1.03); }
.float-download .fd-icon { font-size: 18px; }
@keyframes floatPulse { 0%,100% { box-shadow: 0 10px 28px rgba(255,61,94,0.45); } 50% { box-shadow: 0 10px 36px rgba(255,61,94,0.7); } }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 990; background: rgba(0, 0, 0, 0.66);
  display: flex; align-items: center; justify-content: center; padding: 18px;
  backdrop-filter: blur(4px);
}
.modal {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); width: 100%; max-width: 400px;
  padding: 28px 26px; box-shadow: var(--shadow);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { transform: translateY(16px) scale(0.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h3 { font-size: 19px; margin-bottom: 6px; }
.modal .modal-sub { color: var(--text-2); font-size: 13.5px; margin-bottom: 18px; }
.modal .close-x { position: absolute; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: 10px; font-size: 14.5px;
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text); outline: none;
}
.field input:focus { border-color: var(--accent); }
.oauth-row { display: flex; gap: 10px; margin-top: 14px; }
.oauth-row button { flex: 1; padding: 10px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; }
.oauth-row button:hover { background: rgba(255,255,255,0.11); }
.form-tip { font-size: 12.5px; color: var(--text-3); margin-top: 12px; text-align: center; }

/* ---------- Cookie 同意条 ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 960;
  background: rgba(20, 20, 27, 0.96); border-top: 1px solid var(--border);
  padding: 13px 0; backdrop-filter: blur(10px);
}
.cookie-bar .container { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cookie-bar p { color: var(--text-2); font-size: 13px; flex: 1; min-width: 240px; }
.cookie-bar .btn { padding: 8px 18px; font-size: 13px; }

/* ---------- 页面通用 ---------- */
.page-head { padding: 30px 0 6px; }
.page-head h1 { font-size: 26px; }
.page-head p { color: var(--text-2); margin-top: 6px; font-size: 14px; }
.chip-row { display: flex; gap: 9px; flex-wrap: wrap; margin: 16px 0 6px; }
/* 移动端：分类/筛选 chips 横向滑动，不换行 */
@media (max-width: 768px) {
  .chip-row {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; margin: 12px -16px 4px; padding: 0 16px;
  }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip-row .chip { flex: 0 0 auto; white-space: nowrap; }
}
.chip {
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: var(--card); border: 1px solid var(--border); color: var(--text-2); transition: 0.2s;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }
.chip.on { background: var(--grad); color: #fff; border-color: transparent; font-weight: 600; }
.empty-tip { text-align: center; color: var(--text-3); padding: 60px 0; }

/* 静态文本页 */
.doc-page { max-width: 820px; margin: 0 auto; padding: 34px 0 50px; }
.doc-page h1 { font-size: 27px; margin-bottom: 8px; }
.doc-page .doc-updated { color: var(--text-3); font-size: 13px; margin-bottom: 26px; }
.doc-page h2 { font-size: 18px; margin: 26px 0 10px; }
.doc-page p { color: #c9c9d2; font-size: 14.5px; margin-bottom: 12px; }

/* ---------- 播放器 ---------- */
.player-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; margin-top: 20px; align-items: start; }
.player-shell { display: flex; justify-content: center; background: #000; border-radius: var(--radius-lg); overflow: hidden; }
.player-box { position: relative; width: min(430px, 100%); aspect-ratio: 9 / 16; max-height: 82vh; background: #000; }
.player-box video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.pv-top { position: absolute; top: 0; left: 0; right: 0; padding: 14px; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(rgba(0,0,0,0.55), transparent); z-index: 6; }
.pv-top .pv-title { font-size: 14px; font-weight: 600; text-shadow: 0 1px 6px #000; }
.pv-bottom { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 14px 14px; background: linear-gradient(transparent, rgba(0,0,0,0.72)); z-index: 6; }
.pv-progress { width: 100%; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.25); cursor: pointer; margin-bottom: 10px; position: relative; }
.pv-progress .bar { height: 100%; border-radius: 4px; background: var(--accent); width: 0%; }
.pv-ctrl { display: flex; align-items: center; gap: 14px; }
.pv-ctrl button { font-size: 13px; color: #fff; display: flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 7px; }
.pv-ctrl button:hover { background: rgba(255,255,255,0.14); }
.pv-ctrl .pv-time { font-size: 12px; color: #ddd; }
.pv-ctrl .spacer { flex: 1; }
.pv-big-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 5;
}
.pv-big-play .pb-btn { width: 68px; height: 68px; border-radius: 50%; background: rgba(255,61,94,0.92); display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; box-shadow: 0 8px 30px rgba(255,61,94,0.5); }

/* 播放器内引导下载APP横幅 */
.pv-app-banner {
  position: absolute; top: 44px; left: 10px; right: 10px; z-index: 6;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff; text-decoration: none; font-size: 12.5px;
  transition: transform .2s;
}
.pv-app-banner:hover { transform: translateY(-1px); background: rgba(0,0,0,0.75); }
.pv-app-banner .pab-text { flex: 1; line-height: 1.35; }
.pv-app-banner .pab-text b { display: block; font-size: 13px; }
.pv-app-banner .pab-text span { color: var(--text-2); font-size: 11.5px; }
.pv-app-banner .pab-btn {
  background: var(--accent); color: #fff; padding: 5px 12px;
  border-radius: 999px; font-weight: 700; font-size: 12px; white-space: nowrap;
}
.pv-app-banner .pab-close {
  color: var(--text-3); font-size: 14px; padding: 2px 4px; cursor: pointer;
}

/* 广告遮罩 */
.ad-overlay { position: absolute; inset: 0; z-index: 20; background: linear-gradient(160deg, #23233a, #3d1f33); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; }
.ad-overlay .ad-tag { font-size: 11px; padding: 3px 9px; border-radius: 5px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.3); letter-spacing: 1px; }
.ad-overlay .ad-visual { font-size: 42px; margin: 8px 0 2px; }
.ad-overlay h4 { font-size: 18px; }
.ad-overlay p { color: #cfcfe0; font-size: 13px; max-width: 260px; }
.ad-count { position: absolute; top: 14px; right: 14px; font-size: 12.5px; background: rgba(0,0,0,0.55); padding: 6px 12px; border-radius: 8px; }
.ad-skip { position: absolute; bottom: 18px; right: 14px; padding: 8px 16px; border-radius: 9px; background: rgba(255,255,255,0.16); font-size: 13px; font-weight: 600; }
.ad-vip-tip { position: absolute; bottom: 18px; left: 14px; font-size: 12.5px; color: var(--gold); }

/* 选集 */
.ep-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; }
.ep-panel h3 { font-size: 16px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
/* 分集网格由下方 .ep-selector/.ep-btn 规则接管 */

/* 详情信息 */
.drama-hero { display: flex; gap: 20px; margin-top: 22px; }
.drama-hero .dh-cover { width: 150px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.drama-hero .dh-cover img { width: 100%; height: 100%; object-fit: cover; }
.drama-hero h1 { font-size: 25px; line-height: 1.3; }
.drama-hero .dh-tags { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.drama-hero .dh-desc { color: var(--text-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.drama-hero .dh-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* ===== 爱奇艺风格：沉浸式播放页 ===== */
.iqp { display: flex; background: #000; }
.iqp-stage { position: relative; flex: 1; height: calc(100vh - 56px); min-height: 480px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.iqp-blur { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(40px) brightness(.55); transform: scale(1.2); }
.iqp-stage video { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; background: #000; }
/* 横屏视频：缩成居中横条（宽100% 高按比例），背景透明透出模糊海报层 */
.iqp-stage video.landscape,
body.bare .iqp-stage video.landscape {
  object-fit: contain !important;
  height: auto !important;
  max-height: 100%;
  aspect-ratio: auto !important;
  background: transparent !important;
}
.iqp-bigplay { position: absolute; z-index: 4; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; }
.iqp-bigplay:hover { background: var(--accent); }

/* 左下角：剧名 + 集数|简介 */
.iqp-info { position: absolute; z-index: 5; left: 24px; bottom: 74px; max-width: 46%; color: #fff; }
.iqp-title { font-size: 20px; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.7); cursor: pointer; margin-bottom: 6px; }
.iqp-title:hover { color: var(--accent); }
.iqp-sub { font-size: 13px; color: rgba(255,255,255,.85); text-shadow: 0 1px 4px rgba(0,0,0,.7); cursor: pointer; line-height: 1.5; }
.iqp-sub:hover { color: #fff; }
.iqp-more { color: var(--accent); font-weight: 600; }

/* 右侧竖排操作栏 */
.iqp-actions { position: absolute; z-index: 5; right: 14px; bottom: 90px; display: flex; flex-direction: column; gap: 18px; }
.iqp-act { display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: none; color: #fff; cursor: pointer; transition: transform .15s; }
.iqp-act:hover { transform: scale(1.1); }
.iqp-act.on { color: var(--accent); }
.iqp-act .a-ico { font-size: 26px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.iqp-act .a-num { font-size: 11.5px; color: rgba(255,255,255,.85); }
.iqp-act .a-name { font-size: 11px; color: rgba(255,255,255,.75); }

/* 底部控制栏 */
.iqp-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; padding: 0 18px 12px; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.iqp-ctrl-row { display: flex; align-items: center; gap: 10px; }
.iqp-btn { background: none; border: none; color: #fff; font-size: 15px; cursor: pointer; padding: 6px 8px; border-radius: 6px; }
.iqp-btn:hover { background: rgba(255,255,255,.15); }
.iqp-btn:disabled { opacity: .35; cursor: default; }
.iqp-time { color: rgba(255,255,255,.85); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.iqp-ctrl-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.iqp-sel { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 6px; padding: 5px 8px; font-size: 12.5px; }
.iqp-sel option { background: #1a1a20; color: #fff; }

/* 右侧面板 */
.iqp-panel { width: 0; overflow: hidden; background: #16161c; border-left: 1px solid var(--border); transition: width .25s ease; display: flex; flex-direction: column; flex-shrink: 0; }
.iqp-panel.open { width: 380px; }
.panel-tabs { display: flex; align-items: center; gap: 4px; padding: 12px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.panel-tab { background: none; border: none; color: var(--text-3); font-size: 14.5px; padding: 6px 12px; cursor: pointer; border-radius: 8px; }
.panel-tab:hover { color: var(--text); }
.panel-tab.cur { color: var(--accent); font-weight: 700; background: rgba(255,61,94,.1); }
.panel-close { margin-left: auto; background: none; border: none; color: var(--text-3); font-size: 17px; cursor: pointer; padding: 4px 8px; }
.panel-close:hover { color: #fff; }
.panel-body { flex: 1; overflow-y: auto; padding: 16px; min-width: 380px; scrollbar-width: thin; scrollbar-color: transparent transparent; transition: scrollbar-color .3s; }
.panel-body.scrolling { scrollbar-color: rgba(255,255,255,.25) transparent; }
.panel-body::-webkit-scrollbar { width: 6px; }
.panel-body::-webkit-scrollbar-track { background: transparent; }
.panel-body::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.panel-body::-webkit-scrollbar-thumb { background: transparent; border-radius: 3px; transition: background .3s; }
.panel-body.scrolling::-webkit-scrollbar-thumb,
.panel-body:hover::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); }
.panel-body.scrolling::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.4); }

/* 简介 Tab */
.p-info-head { display: flex; gap: 12px; margin-bottom: 14px; }
.p-cover { width: 92px; border-radius: 10px; aspect-ratio: 3/4; object-fit: cover; }
.p-head-r { flex: 1; min-width: 0; }
.p-head-r h3 { font-size: 16px; line-height: 1.35; margin-bottom: 8px; }
.p-rating { color: var(--gold); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.p-ep-tag { background: rgba(255,61,94,.15); color: var(--accent); font-size: 11.5px; padding: 2px 8px; border-radius: 5px; margin-left: 8px; font-weight: 600; }
.p-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.p-tags span { background: rgba(255,255,255,.07); color: var(--text-3); font-size: 11.5px; padding: 3px 8px; border-radius: 5px; }
.p-syn { color: var(--text-2); font-size: 13.5px; line-height: 1.7; margin-bottom: 18px; }
.p-sec-title { font-size: 14.5px; margin-bottom: 12px; }
.p-guess { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.p-guess-item { display: block; }
.p-guess-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; transition: .2s; }
.p-guess-item:hover img { transform: scale(1.04); }
.p-guess-name { display: block; font-size: 11.5px; color: var(--text-2); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 选集 Tab */
.p-range-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.p-range { background: var(--bg-2); border: 1px solid var(--border); color: var(--text-3); font-size: 12.5px; padding: 5px 12px; border-radius: 7px; cursor: pointer; }
.p-range.cur { background: var(--accent); border-color: var(--accent); color: #fff; }
.p-ep-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.p-ep { display: flex; align-items: center; justify-content: center; height: 40px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; color: var(--text-2); font-size: 13px; transition: .15s; }
.p-ep:hover { border-color: var(--accent); color: var(--accent); }
.p-ep.cur { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }

/* 移动端适配 */
@media (max-width: 768px) {
  .iqp { flex-direction: column; }
  .iqp-stage { height: 72vh; min-height: 400px; }
  .iqp-info { left: 14px; bottom: 66px; max-width: 68%; }
  .iqp-title { font-size: 16px; }
  .iqp-actions { right: 8px; bottom: 80px; gap: 14px; }
  .iqp-act .a-ico { font-size: 22px; }
  /* 手机端：面板从底部弹出（半屏抽屉） */
  .iqp-panel {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto;
    width: 100%; height: 0; max-height: 72vh;
    border-left: none; border-top: 1px solid var(--border);
    border-radius: 16px 16px 0 0; z-index: 100;
    transition: height .25s ease; background: #16161c;
  }
  .iqp-panel.open { width: 100%; height: 72vh; }
  .panel-body { min-width: 0; }
  .iqp-controls { padding: 0 10px 10px; }
  .iqp-time { display: none; }
}

/* 左上角返回键 */
.iqp-back { position: absolute; z-index: 6; top: 14px; left: 14px; width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s; }
.iqp-back:hover { background: var(--accent); }

/* SVG 图标尺寸 */
.iqp-act .a-ico.svg { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.iqp-act .a-ico.svg svg { width: 100%; height: 100%; }
.iqp-back .a-ico.svg { width: 22px; height: 22px; }
.iqp-back .a-ico.svg svg { width: 100%; height: 100%; }
.iqp-act.on .a-ico.svg { color: var(--accent); }

/* 裸模式（播放页）：无导航栏，播放器占满视口 */
body.bare { margin: 0; padding: 0; background: #000; }
body.bare .iqp { height: 100vh; height: 100dvh; }
body.bare .iqp-stage { height: 100vh; height: 100dvh; min-height: 0; }

/* 移动端：视频铺满全屏（竖屏短剧 cover 裁切） */
@media (max-width: 768px) {
  body.bare .iqp-stage video { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; object-fit: cover; }
  .iqp-info { left: 14px; bottom: 80px; max-width: 62%; }
  .iqp-title { font-size: 17px; }
  .iqp-actions { right: 10px; bottom: 100px; gap: 16px; }
  .iqp-controls { padding: 0 12px 10px; }
}
#tabCmt.p-cmt-wrap { flex-direction: column; }
#tabCmt .cmt-input { flex: 1; }

/* 爱奇艺风格评论（面板内） */
.p-cmt-wrap { display: flex; flex-direction: column; padding: 0; height: 100%; }
.p-cmt-head { padding: 14px 16px; font-size: 15px; font-weight: 700; flex-shrink: 0; border-bottom: 1px solid var(--border); }
.p-cmt-head span { color: var(--text-3); font-weight: 400; margin-left: 4px; }
.p-cmt-list { flex: 1; overflow-y: auto; padding: 8px 16px; }
.p-cmt-inputbar { flex-shrink: 0; padding: 12px 16px; border-top: 1px solid var(--border); background: #16161c; }
.cmt-item { display: flex; gap: 10px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.05); position: relative; }
.cmt-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cmt-body { flex: 1; min-width: 0; }
.cmt-name { font-size: 12.5px; color: var(--text-3); margin-bottom: 4px; }
.cmt-body p { font-size: 13.5px; color: var(--text); line-height: 1.55; margin-bottom: 6px; word-break: break-word; }
.cmt-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-3); }
.cmt-reply { cursor: pointer; }
.cmt-reply:hover { color: var(--text); }
.cmt-like { position: absolute; right: 0; top: 14px; display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: none; color: var(--text-3); cursor: pointer; font-size: 11px; }
.cmt-like svg { width: 16px; height: 16px; }
.cmt-like:hover { color: var(--accent); }
.cmt-like.on { color: var(--accent); }
.cmt-empty { text-align: center; color: var(--text-3); padding: 40px 0; font-size: 13px; }

/* 爱奇艺风格进度条：3px 细线，无背景框；::before 扩大触控热区 */
.iqp-progress { height: 3px; background: rgba(255,255,255,.18); border-radius: 2px; cursor: pointer; margin-bottom: 10px; position: relative; touch-action: none; }
.iqp-progress::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; bottom: -8px; }
.iqp-progress:hover { height: 5px; }
.iqp-progress-fill { height: 100%; width: 0; background: var(--accent); border-radius: 2px; position: relative; }
.iqp-progress-fill::after { content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%) scale(0); width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px rgba(255,61,94,.6); transition: transform .12s; }
.iqp-progress:hover .iqp-progress-fill::after { transform: translateY(-50%) scale(1); }

/* ===== 爱奇艺风格：顶部信息区 ===== */
.iq-header { margin-top: 24px; }
.iq-title { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.iq-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.iq-score { background: rgba(255,61,94,.2); color: var(--accent); font-weight: 700; font-size: 18px; padding: 2px 8px; border-radius: 6px; }
.iq-score-label { color: var(--text-3); font-size: 13px; margin-left: -4px; }
.iq-tag { background: rgba(255,255,255,.08); color: var(--text-3); font-size: 12.5px; padding: 4px 10px; border-radius: 6px; }
.iq-tag.hot { background: rgba(255,61,94,.15); color: var(--accent); }
.iq-tag.new { background: rgba(38,199,124,.15); color: #26c77c; }
.iq-ep-info { color: var(--text-3); font-size: 13px; margin-left: auto; }
.iq-syn { color: var(--text-2); font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 800px; margin-bottom: 20px; }

/* ===== 分集选择：爱奇艺风格网格按钮 ===== */
.ep-selector { margin-top: 24px; }
.ep-selector-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.ep-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.ep-btn { display: flex; align-items: center; justify-content: center; height: 38px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 13.5px; transition: all .15s; }
.ep-btn:hover { border-color: var(--accent); color: var(--accent); }
.ep-btn.cur { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 640px) {
  .ep-grid { grid-template-columns: repeat(5, 1fr); }
  .iq-title { font-size: 20px; }
  .iq-meta { gap: 6px; }
  .iq-ep-info { margin-left: 0; width: 100%; }
}

/* 详情页简介区（新版）：小封面 + 信息，封面可点击播放 */
.drama-cover { width: 160px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; position: relative; cursor: pointer; }
.drama-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.drama-cover:hover img { transform: scale(1.04); }
.cover-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,61,94,.9); color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; pointer-events: none; }
.drama-cover:hover .cover-play-btn { opacity: 1; }
.drama-info { flex: 1; min-width: 0; }
.drama-tags { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.drama-syn { color: var(--text-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.drama-meta { color: var(--text-3); font-size: 13px; margin-top: 10px; }

/* 播放器右下角操作栏（分享/收藏/点赞/评论） */
.pv-actions { position: absolute; right: 12px; bottom: 110px; display: flex; flex-direction: column; gap: 14px; z-index: 5; }
.pv-act { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: none; color: #fff; cursor: pointer; transition: transform .15s; }
.pv-act:hover { transform: scale(1.12); }
.pv-act.on { color: var(--accent); }
.pv-act .act-ico { font-size: 24px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.pv-act .act-label { font-size: 11px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }

/* 评论区 */
.cmt-section { margin-top: 40px; }
.cmt-section h3 { font-size: 17px; margin-bottom: 16px; }
.cmt-input-row { display: flex; gap: 10px; margin-bottom: 20px; }
.cmt-input { flex: 1; padding: 11px 14px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 14px; }
.cmt-input:focus { border-color: var(--accent); outline: none; }
.cmt-list { display: flex; flex-direction: column; gap: 16px; }
.cmt-item { display: flex; gap: 12px; }
.cmt-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cmt-body { flex: 1; }
.cmt-body b { font-size: 13.5px; }
.cmt-body p { color: var(--text-2); font-size: 13.5px; margin: 3px 0; line-height: 1.6; }
.cmt-time { color: var(--text-3); font-size: 11.5px; }
.cmt-empty { color: var(--text-3); font-size: 13px; text-align: center; padding: 30px 0; }

/* 登录弹窗 */
.login-pop { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; width: 380px; max-width: 90vw; position: relative; animation: popIn .25s ease; }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.login-pop h3 { font-size: 20px; margin-bottom: 6px; }
.pop-sub { color: var(--text-2); font-size: 13px; margin-bottom: 20px; }
.pop-input { width: 100%; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 14px; margin-bottom: 12px; box-sizing: border-box; }
.pop-input:focus { border-color: var(--accent); outline: none; }
.pop-tip { color: var(--text-3); font-size: 12px; margin-top: 14px; text-align: center; }
.pop-close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--text-3); font-size: 18px; cursor: pointer; }
.pop-close:hover { color: var(--text); }
.dh-stat { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-3); margin-right: 14px; }

/* APP 引导卡片 */
.app-promo {
  margin-top: 22px; border-radius: var(--radius-lg); padding: 20px 22px;
  background: linear-gradient(120deg, rgba(255,61,94,0.16), rgba(255,122,69,0.1));
  border: 1px solid rgba(255, 61, 94, 0.3);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.app-promo .ap-icon { font-size: 34px; }
.app-promo h4 { font-size: 16.5px; margin-bottom: 3px; }
.app-promo p { color: var(--text-2); font-size: 13.5px; }
.app-promo .btn { margin-left: auto; }

/* ---------- 会员页 ---------- */
.vip-hero { text-align: center; padding: 44px 0 10px; }
.vip-hero h1 { font-size: 31px; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.vip-hero p { color: var(--text-2); margin-top: 8px; }
.plan-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin: 30px auto 0; }
.plan-card {
  position: relative; background: var(--card); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 24px; cursor: pointer; transition: 0.2s;
}
.plan-card:hover { transform: translateY(-3px); }
.plan-card.sel { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(246,196,83,0.12), var(--shadow); }
.plan-card .plan-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad-gold); color: #3a2a00; font-size: 11.5px; font-weight: 800; padding: 4px 13px; border-radius: 999px; white-space: nowrap; }
.plan-card h3 { font-size: 17px; }
.plan-card .price { font-size: 34px; font-weight: 800; margin: 12px 0 2px; }
.plan-card .price small { font-size: 14px; font-weight: 500; color: var(--text-2); }
.plan-card .per { color: var(--text-3); font-size: 12.5px; }
.benefit-list { max-width: 760px; margin: 28px auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 26px; }
.benefit-list li { list-style: none; padding: 9px 0; display: flex; gap: 11px; align-items: center; color: #d5d5de; font-size: 14.5px; border-bottom: 1px dashed var(--border); }
.benefit-list li:last-child { border-bottom: none; }
.benefit-list li .bi { color: var(--gold); font-size: 16px; }
.pay-row { max-width: 760px; margin: 0 auto 50px; display: flex; gap: 12px; }
.pay-row .pay-btn { flex: 1; padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 9px; }
.pay-row .pay-btn:hover { border-color: rgba(255,255,255,0.3); }

/* 表格（订单/历史等） */
.data-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius-lg); overflow: hidden; }
.data-table th, .data-table td { padding: 13px 16px; text-align: left; font-size: 13.5px; }
.data-table th { background: rgba(255,255,255,0.04); color: var(--text-2); font-weight: 600; }
.data-table tr + tr td { border-top: 1px solid var(--border); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill-ok { background: rgba(46,203,112,0.15); color: var(--green); }
.pill-fail { background: rgba(255,61,94,0.15); color: var(--accent); }
.pill-gold { background: rgba(246,196,83,0.15); color: var(--gold); }

/* 个人中心 */
.profile-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 24px; margin-top: 26px; align-items: start; }
.profile-side { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 18px; text-align: center; }
.profile-side .avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--grad); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; }
.profile-side h3 { font-size: 17px; }
.profile-side .email { color: var(--text-3); font-size: 12.5px; margin: 4px 0 12px; word-break: break-all; }
.side-menu { margin-top: 16px; text-align: left; }
.side-menu button { display: block; width: 100%; text-align: left; padding: 10px 13px; border-radius: 9px; color: var(--text-2); font-size: 14px; }
.side-menu button:hover { background: rgba(255,255,255,0.05); }
.side-menu button.on { background: rgba(255,61,94,0.13); color: var(--text); font-weight: 600; }
.profile-main { min-width: 0; }
.history-item { display: flex; gap: 13px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; margin-bottom: 12px; align-items: center; }
.history-item img { width: 58px; height: 76px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.history-item .hi-info { flex: 1; min-width: 0; }
.history-item h4 { font-size: 14.5px; margin-bottom: 3px; }
.history-item .hi-ep { font-size: 12.5px; color: var(--text-2); margin-bottom: 7px; }
.progress-line { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.progress-line i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }

/* ---------- 下载落地页 ---------- */
.dl-hero { text-align: center; padding: 56px 0 30px; }
.dl-hero h1 { font-size: 34px; line-height: 1.3; }
.dl-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dl-hero p { color: var(--text-2); margin: 14px auto 26px; max-width: 520px; font-size: 16px; }
.store-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-btn { display: flex; align-items: center; gap: 11px; background: #fff; color: #111; padding: 12px 24px; border-radius: 13px; font-weight: 700; transition: 0.2s; }
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,255,255,0.15); }
.store-btn .si { font-size: 26px; }
.store-btn small { display: block; font-size: 10.5px; font-weight: 500; color: #555; text-align: left; }
.store-btn b { font-size: 16px; }
.dl-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 44px 0; }
.dl-feat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; text-align: center; }
.dl-feat .fi { font-size: 32px; margin-bottom: 10px; }
.dl-feat h3 { font-size: 16px; margin-bottom: 6px; }
.dl-feat p { color: var(--text-2); font-size: 13.5px; }
.phone-mock { width: 270px; margin: 0 auto; border: 9px solid #26262f; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); }
.phone-mock img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.review-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; }
.review-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.review-card p { font-size: 13.5px; color: #d5d5de; }
.review-card .who { margin-top: 10px; font-size: 12.5px; color: var(--text-3); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 74px; left: 50%; transform: translateX(-50%);
  background: #26262f; border: 1px solid var(--border); color: var(--text);
  padding: 11px 20px; border-radius: 11px; font-size: 14px; z-index: 999;
  box-shadow: var(--shadow); animation: modalIn 0.25s ease;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .grid-list { grid-template-columns: repeat(4, 1fr); }
  .player-layout { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .dl-feats { grid-template-columns: 1fr; }
}
/* ---------- 移动端底部 Tab 导航（基础样式须放在 media query 之前） ---------- */
.mobile-tabbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(14, 14, 19, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  justify-content: space-around; align-items: center;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
}
.mobile-tabbar a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--text-3); font-size: 10.5px; padding: 4px 8px; min-width: 56px;
}
.mobile-tabbar a .mt-ico { font-size: 20px; line-height: 1; }
.mobile-tabbar a.active { color: var(--accent); }

@media (max-width: 640px) {
  .main-nav { display: none; }
  .mobile-tabbar { display: flex; }
  .site-footer { display: none; }   /* 手机版不显示页尾，底部 Tab 栏替代 */
  .hero-track { height: 320px; }
  .hero-info { left: 18px; bottom: 18px; right: 18px; }
  .hero-info h1 { font-size: 22px; }
  .grid-list { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .row-scroll .drama-card { flex: 0 0 122px; }
  .plan-row { grid-template-columns: 1fr; }
  .ep-grid { grid-template-columns: repeat(5, 1fr); }
  .drama-hero .dh-cover { width: 116px; }
  .drama-hero h1 { font-size: 19px; }
  .float-download { right: 12px; bottom: 74px; padding: 11px 16px; font-size: 13.5px; }
  body { padding-bottom: 60px; }
  .dl-hero h1 { font-size: 25px; }
  .pay-row { flex-direction: column; }
}

/* ---------- 评分弹窗（播放页左下角） ---------- */
.rate-pop { position: fixed; left: 16px; bottom: 118px; z-index: 60; width: 220px; background: rgba(24,24,32,.95); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px 12px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.rate-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding-right: 14px; }
.rate-stars { display: flex; gap: 6px; margin-bottom: 8px; }
.rate-stars button { font-size: 26px; line-height: 1; color: rgba(255,255,255,.25); transition: .15s; }
.rate-stars button.on { color: var(--gold); text-shadow: 0 2px 10px rgba(246,196,83,.4); }
.rate-later { font-size: 12px; color: var(--text-3); }
.rate-later:hover { color: var(--text); }
.rate-close { position: absolute; top: 8px; right: 10px; font-size: 13px; color: var(--text-3); }
.rate-close:hover { color: var(--text); }
@media (max-width: 640px) { .rate-pop { left: 12px; bottom: 150px; width: 200px; } }
