/* ============================================================
   ALKATIP — 苹果CMS 维吾尔语影视模板
   设计语言: 极光流影 (Aurora Stream)
   字体: ALKATIP Elipbe / 备用 UKIJ 系列 | 布局: RTL
   主题: 亮色 / 暗色 (data-theme="light|dark")
   ============================================================ */

/* ---------- 字体声明 ---------- */
@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),
       url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
       url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),
       url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),
       url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa-play:before { content: "\f04b"; }
.fa-search:before { content: "\f002"; }
.fa-bars:before { content: "\f0c9"; }
.fa-times:before { content: "\f00d"; }
.fa-user:before { content: "\f007"; }
.fa-fire:before { content: "\f06d"; }
.fa-sun-o:before { content: "\f185"; }
.fa-moon-o:before { content: "\f186"; }
.fa-angle-up:before { content: "\f106"; }
.fa-angle-left:before { content: "\f104"; }
.fa-angle-right:before { content: "\f105"; }
.fa-angle-down:before { content: "\f107"; }
.fa-star:before { content: "\f005"; }
.fa-star-o:before { content: "\f006"; }
.fa-heart-o:before { content: "\f08a"; }
.fa-thumbs-o-up:before { content: "\f087"; }
.fa-thumbs-o-down:before { content: "\f088"; }
.fa-comment-o:before { content: "\f0e5"; }
.fa-comments:before { content: "\f086"; }
.fa-comments-o:before { content: "\f0e6"; }
.fa-refresh:before { content: "\f021"; }
.fa-minus-circle:before { content: "\f056"; }
.fa-plus:before { content: "\f067"; }
.fa-play-circle:before { content: "\f144"; }
.fa-stop:before { content: "\f04d"; }
.fa-pause:before { content: "\f04c"; }
.fa-chevron-left:before { content: "\f053"; }
.fa-chevron-right:before { content: "\f054"; }
.fa-chevron-up:before { content: "\f077"; }
.fa-chevron-down:before { content: "\f078"; }
.fa-arrow-left:before { content: "\f060"; }
.fa-arrow-right:before { content: "\f061"; }
.fa-arrow-up:before { content: "\f062"; }
.fa-arrow-down:before { content: "\f063"; }
.fa-edit:before { content: "\f044"; }
.fa-shield:before { content: "\f132"; }
.fa-id-card-o:before { content: "\f2c3"; }
.fa-history:before { content: "\f1da"; }
.fa-cloud-download:before { content: "\f0ed"; }
.fa-diamond:before { content: "\f219"; }
.fa-trophy:before { content: "\f091"; }
.fa-database:before { content: "\f1c0"; }
.fa-bar-chart:before { content: "\f080"; }
.fa-cny:before { content: "\f157"; }
.fa-gift:before { content: "\f06b"; }
.fa-sign-out:before { content: "\f08b"; }
.fa-credit-card:before { content: "\f09d"; }
.fa-wechat:before { content: "\f1d7"; }
.fa-qq:before { content: "\f1d6"; }
.fa-mobile:before { content: "\f10b"; }
.fa-envelope-open:before { content: "\f2b6"; }
.fa-lock:before { content: "\f023"; }
.fa-warning:before { content: "\f071"; }
.fa-exclamation-circle:before { content: "\f06a"; }
.fa-check-circle:before { content: "\f058"; }
.fa-eye:before { content: "\f06e"; }
.fa-film:before { content: "\f008"; }
.fa-video-camera:before { content: "\f03d"; }
.fa-clock-o:before { content: "\f017"; }
.fa-calendar:before { content: "\f073"; }
.fa-th:before { content: "\f00a"; }
.fa-th-large:before { content: "\f009"; }
.fa-list:before { content: "\f03a"; }
.fa-home:before { content: "\f015"; }
.fa-cog:before { content: "\f013"; }
.fa-close:before { content: "\f00d"; }
.fa-vimeo:before { content: "\f27d"; }
.fa-github:before { content: "\f09b"; }
.fa-download:before { content: "\f019"; }
.fa-share-alt:before { content: "\f1e0"; }
.fa-envelope:before { content: "\f0e0"; }
.fa-phone:before { content: "\f095"; }
.fa-map-marker:before { content: "\f041"; }
.fa-send:before { content: "\f1d8"; }
.fa-send-o:before { content: "\f1d9"; }
.fa-inbox:before { content: "\f01c"; }
.fa-external-link:before { content: "\f08e"; }
.fa-user-circle-o:before { content: "\f2be"; }
.fa-frown-o:before { content: "\f119"; }
.fa-thumbs-down:before { content: "\f165"; }
.fa-exclamation-triangle:before { content: "\f071"; }
.fa-user-plus:before { content: "\f234"; }
.fa-copyright:before { content: "\f1f9"; }
.fa-folder-open-o:before { content: "\f115"; }
.fa-file-text-o:before { content: "\f0f6"; }
.fa-key:before { content: "\f084"; }
.fa-check:before { content: "\f00c"; }
.fa-thumbs-up:before { content: "\f164"; }
.fa-ban:before { content: "\f05e"; }
.fa-info-circle:before { content: "\f05a"; }
.fa-spin { -webkit-animation: fa-spin 2s infinite linear; animation: fa-spin 2s infinite linear; }
.fa-rotate-180 { -webkit-transform: rotate(180deg); transform: rotate(180deg); }
@keyframes fa-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } }

@font-face {
  font-family: 'ALKATIP Elipbe';
  src: local('ALKATIP Elipbe'), local('ALKATIP_Elipbe');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'UKIJEkran';
  src: url('../fonts/UKIJEkran.woff2') format('woff2'),
       url('../fonts/UKIJEkran.woff') format('woff'),
       url('../fonts/UKIJEkran.ttf') format('truetype'),
       url('../fonts/UKIJEkran.svg#UKIJEkran') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* ---------- 主题变量 ---------- */
:root {
  --primary: #6366f1;             /* 靛蓝主色 */
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #06b6d4;              /* 青色点缀 */
  --accent-dark: #0891b2;
  --gold: #f59e0b;                /* 评分/金色调 */
  --danger: #ef4444;
  --success: #10b981;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font-family: 'ALKATIP Elipbe', 'ALKATIP Tom', 'UKIJEkran', 'Ukij Tuz Tom', 'UKIJ Tuz', 'ALKATIP', 'Segoe UI', Tahoma, sans-serif;
  --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradient-accent: linear-gradient(135deg, #06b6d4, #6366f1);
  --gradient-gold: linear-gradient(135deg, #f59e0b, #f97316);
}

html[data-theme="light"] {
  --bg: #f0f2f7;
  --bg-deep: #e7eaf3;
  --card: #ffffff;
  --card-2: #f4f6fb;
  --card-3: #e8ecf5;
  --text: #1a1d2e;
  --text-2: #555a6e;
  --text-3: #8c92a8;
  --line: #dde2ee;
  --line-2: #eaedf5;
  --shadow: 0 10px 40px rgba(99, 102, 241, .10);
  --shadow-sm: 0 4px 16px rgba(99, 102, 241, .06);
  --shadow-lg: 0 20px 60px rgba(99, 102, 241, .15);
  --header-bg: rgba(255, 255, 255, .85);
  --hover: rgba(99, 102, 241, .07);
  --mask: rgba(15, 18, 40, .5);
  --glass-border: rgba(255, 255, 255, .6);
}

html[data-theme="dark"] {
  --bg: #0a0b14;
  --bg-deep: #11121f;
  --card: #16182a;
  --card-2: #1c1f35;
  --card-3: #232642;
  --text: #eef0fa;
  --text-2: #a8aec8;
  --text-3: #6b7090;
  --line: #2a2d48;
  --line-2: #232642;
  --shadow: 0 10px 40px rgba(0, 0, 0, .5);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, .35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .6);
  --header-bg: rgba(10, 11, 20, .85);
  --hover: rgba(99, 102, 241, .15);
  --mask: rgba(0, 0, 0, .65);
  --glass-border: rgba(255, 255, 255, .08);
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  transition: background .35s, color .35s;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; border: 0; vertical-align: middle; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; line-height: 1.4; }
p { margin: 0 0 10px; }
input, select, textarea, button { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
::selection { background: var(--primary); color: #fff; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.gap { margin-bottom: 20px; }
.clearfix::after { content: ""; display: table; clear: both; }
.hide { display: none !important; }
.text-overflow { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.text-row-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.text-muted { color: var(--text-3); }
.text-theme { color: var(--primary); }
.text-gold { color: var(--gold); }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; line-height: 1.4;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  position: relative; overflow: hidden;
}
.btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--gradient-primary); color: #fff !important; border-color: transparent; }
.btn-primary:hover { filter: brightness(1.12); color: #fff !important; box-shadow: 0 6px 20px rgba(99, 102, 241, .35); }
.btn-gold { background: var(--gradient-gold); color: #fff !important; border-color: transparent; }
.btn-gold:hover { filter: brightness(1.1); color: #fff !important; box-shadow: 0 6px 20px rgba(245, 158, 11, .35); }
.btn-block { width: 100%; }
.btn-lg { padding: 13px 28px; font-size: 16px; }
.btn-sm { padding: 6px 13px; font-size: 13px; }
.btn-theme { background: var(--gradient-primary); color: #fff !important; border-color: transparent; }
.btn-theme:hover { filter: brightness(1.12); color: #fff !important; box-shadow: 0 6px 20px rgba(99, 102, 241, .35); }
.btn-success { background: linear-gradient(135deg, var(--success), #059669); color: #fff !important; border-color: transparent; }
.btn-success:hover { filter: brightness(1.1); color: #fff !important; box-shadow: 0 6px 20px rgba(16, 185, 129, .35); }

/* ---------- 表单 ---------- */
.form-group { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.form-control {
  width: 100%; height: 44px; padding: 0 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--card-2); color: var(--text); outline: none; transition: all .25s;
}
.form-control:focus { border-color: var(--primary); background: var(--card); box-shadow: 0 0 0 4px rgba(99, 102, 241, .12); }
textarea.form-control { height: auto; padding: 12px 16px; resize: vertical; min-height: 90px; }
.form-control-static { padding: 10px 0; font-size: 14px; color: var(--text); }
.help-block { font-size: 12.5px; color: var(--text-3); margin-top: 6px; line-height: 1.6; }
.input-group { display: flex; gap: 10px; }
.input-group .form-control { flex: 1; }
.ewave-tab-content { display: none; }
.ewave-tab-content.active { display: block; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.form-row input[type="text"], .form-row input[type="password"], .form-row input[type="number"], .form-row input[type="email"], .form-row input[type="tel"] {
  width: 100%; height: 44px; padding: 0 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--card-2); color: var(--text); outline: none; transition: all .25s;
}
.form-row input:focus { border-color: var(--primary); background: var(--card); box-shadow: 0 0 0 4px rgba(99, 102, 241, .12); }

/* ---------- 列表行（播放/下载记录等） ---------- */
.list-table { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 4px 18px; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.list-row:last-child { border-bottom: 0; }
.list-row .pic { width: 96px; height: 60px; border-radius: var(--radius-xs); overflow: hidden; flex-shrink: 0; background: var(--card-2); }
.list-row .pic img { width: 100%; height: 100%; object-fit: cover; }
.list-row .info { flex: 1; min-width: 0; }
.list-row .info .t { font-size: 14.5px; font-weight: 700; }
.list-row .info .t a:hover { color: var(--primary); }
.list-row .info .s { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.site-header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; color: var(--text); white-space: nowrap; letter-spacing: -.5px; }
.logo .logo-badge {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--gradient-primary); color: #fff; font-size: 18px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, .35);
}
.logo small { font-size: 10px; color: var(--accent); font-weight: 700; display: block; line-height: 1; margin-top: 2px; letter-spacing: 2px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 2px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  padding: 7px 14px; border-radius: 20px; font-size: 14.5px; font-weight: 700; color: var(--text-2); white-space: nowrap;
  transition: all .2s;
}
.main-nav a:hover { color: var(--primary); background: var(--hover); }
.main-nav a.active { color: #fff; background: var(--gradient-primary); box-shadow: 0 3px 12px rgba(99, 102, 241, .3); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--text-2); border: 1px solid var(--line); background: var(--card);
  transition: all .2s;
}
.icon-btn:hover { color: var(--primary); border-color: var(--primary); background: var(--hover); }
.icon-btn.active { color: #fff; background: var(--gradient-primary); border-color: transparent; }

/* 搜索框 */
.search-form { position: relative; flex: 1; max-width: 400px; }
.search-form input {
  width: 100%; height: 42px; padding: 0 48px 0 16px; border-radius: 24px;
  border: 1px solid var(--line); background: var(--card-2); color: var(--text); outline: none; transition: all .25s;
  font-weight: 600;
}
.search-form input::placeholder { color: var(--text-3); }
.search-form input:focus { border-color: var(--primary); background: var(--card); box-shadow: 0 0 0 4px rgba(99, 102, 241, .12); }
.search-form button {
  position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; color: #fff;
  background: var(--gradient-primary); font-size: 14px;
  box-shadow: 0 3px 10px rgba(99, 102, 241, .3);
  transition: filter .2s;
}
.search-form button:hover { filter: brightness(1.15); }

/* 移动菜单 */
.m-nav-toggle { display: none; }
.m-nav-panel {
  position: fixed; inset: 0; z-index: 200; background: var(--mask);
  opacity: 0; visibility: hidden; transition: all .3s;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.m-nav-panel.show { opacity: 1; visibility: visible; }
.m-nav-panel .panel {
  position: absolute; top: 0; bottom: 0; right: 0; width: 82%; max-width: 340px;
  background: var(--card); padding: 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--shadow-lg);
}
.m-nav-panel.show .panel { transform: translateX(0); }
.m-nav-panel .panel h3 { font-size: 13px; color: var(--text-3); margin: 20px 0 8px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.m-nav-panel .panel .nav-link { display: block; padding: 11px 14px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; transition: all .2s; }
.m-nav-panel .panel .nav-link:hover, .m-nav-panel .panel .nav-link.active { background: var(--hover); color: var(--primary); }

/* ---------- 首页轮播 ---------- */
.hero { position: relative; height: min(56vh, 440px); min-height: 280px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--card); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; background-size: cover; background-position: center; }
.hero-slide.active { opacity: 1; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 11, 20, .85) 0%, rgba(10, 11, 20, .2) 50%, rgba(10, 11, 20, .3) 100%); }
.hero-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; color: #fff; z-index: 2; }
.hero-info h2 { font-size: 28px; margin-bottom: 8px; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.hero-info .meta { color: rgba(255, 255, 255, .8); font-size: 13px; margin-bottom: 12px; }
.hero-info .meta .vod-tag { background: rgba(255, 255, 255, .15); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .2); padding: 2px 10px; border-radius: 12px; font-size: 11px; margin-left: 4px; }
.hero-info .meta .badge { background: var(--gradient-primary); border: none; padding: 2px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.hero-info .desc { max-width: 70%; color: rgba(255, 255, 255, .7); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-dots { position: absolute; top: 20px; left: 24px; display: flex; gap: 6px; z-index: 3; }
.hero-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .35); cursor: pointer; transition: all .3s; }
.hero-dots i.active { background: var(--primary-light); width: 28px; border-radius: 6px; box-shadow: 0 0 12px rgba(99, 102, 241, .6); }

/* ---------- 版块 ---------- */
.section { margin-bottom: 28px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.section-head h2::before { content: ""; width: 5px; height: 24px; border-radius: 3px; background: var(--gradient-primary); box-shadow: 0 0 10px rgba(99, 102, 241, .3); }
.section-head .more { font-size: 13px; color: var(--text-3); font-weight: 600; transition: all .2s; }
.section-head .more:hover { color: var(--primary); gap: 4px; }

/* ---------- 视频卡片 ---------- */
.vod-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 1200px) { .vod-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 992px) { .vod-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .vod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 380px) { .vod-grid { grid-template-columns: repeat(2, 1fr); } }

.vod-card { position: relative; padding-bottom: 0; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s; }
.vod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.vod-card .pic { aspect-ratio: 3/4; background: var(--card-2); overflow: hidden; }
.vod-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vod-card:hover .pic img { transform: scale(1.08); }
/* 底部常驻渐变遮罩（保证片名可读）+ hover加深 */
.vod-card .pic::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.7) 20%, rgba(0,0,0,.15) 45%, transparent 60%); transition: background .3s; }
.vod-card:hover .pic::after { background: linear-gradient(to top, rgba(0,0,0,.98) 0%, rgba(0,0,0,.75) 25%, rgba(0,0,0,.2) 50%, transparent 65%); }

/* 标签 badge — 右上角，带半透明背景+边框增强可读性 */
.vod-card .badge {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 800; color: #fff;
  background: var(--gradient-primary); box-shadow: 0 2px 10px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255,255,255,.15);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
/* badge 中包含 VIP 字样时用金色渐变 */
.vod-card .badge[data-type="vip"], .vod-card .badge.vip-badge {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  box-shadow: 0 2px 10px rgba(245, 158, 11, .35), 0 0 0 1px rgba(255,255,255,.2);
}

/* 评分 score — 左上角，加半透明胶囊背景增强可读性 */
.vod-card .score {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  color: #fbbf24; font-size: 13px; font-weight: 900;
  display: flex; align-items: center; gap: 3px;
  padding: 2px 8px 2px 6px; border-radius: 10px;
  background: rgba(0,0,0,.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.vod-card .score i { font-size: 11px; color: #fbbf24; }

/* 片名 — 绝对定位到海报底部，叠在遮罩之上 */
.vod-card .name {
  position: absolute; bottom: 0; right: 0; left: 0; z-index: 2;
  padding: 30px 12px 21px; font-size: 15px; font-weight: 800;
  line-height: 1.35; text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.vod-card .name a {
  display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  color: #fff;
}
.vod-card .name a:hover { color: var(--primary-light); }

/* 副信息 — 紧贴片名底部，同样叠在海报遮罩上 */
.vod-card .sub {
  position: absolute; bottom: 5px; right: 0; left: 0; z-index: 2;
  padding: 0 12px; font-size: 11px; color: rgba(255,255,255,.65);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.vod-card .sub .vod-tag { display: none; }

/* ---------- 排行列表 ---------- */
.rank-list { background: var(--card); border-radius: var(--radius); padding: 6px 18px; box-shadow: var(--shadow-sm); }
.rank-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.rank-item:last-child { border-bottom: 0; }
.rank-item .no {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900;
  background: var(--card-2); color: var(--text-3);
}
.rank-item:nth-child(1) .no { background: var(--gradient-gold); color: #fff; box-shadow: 0 3px 10px rgba(245, 158, 11, .3); }
.rank-item:nth-child(2) .no { background: linear-gradient(135deg, #94a3b8, #64748b); color: #fff; }
.rank-item:nth-child(3) .no { background: linear-gradient(135deg, #b45309, #92400e); color: #fff; }
.rank-item .pic { width: 48px; height: 64px; border-radius: var(--radius-xs); overflow: hidden; flex-shrink: 0; background: var(--card-2); }
.rank-item .pic img { width: 100%; height: 100%; object-fit: cover; }
.rank-item .info { flex: 1; min-width: 0; }
.rank-item .info .t { font-weight: 700; font-size: 14px; }
.rank-item .info .s { font-size: 12px; color: var(--text-3); }

/* ---------- 演员圆卡 ---------- */
.star-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 16px; }
.star-card { text-align: center; }
.star-card .pic { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; margin: 0 auto 8px; border: 3px solid var(--line); background: var(--card-2); transition: all .3s; }
.star-card:hover .pic { border-color: var(--primary); box-shadow: 0 0 16px rgba(99, 102, 241, .25); }
.star-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.star-card .name { font-size: 13px; font-weight: 700; }

/* ---------- 文章卡片 ---------- */
.art-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 768px) { .art-list { grid-template-columns: 1fr; } }
.art-card { display: flex; gap: 14px; background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); transition: all .25s; }
.art-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.art-card .pic { width: 140px; height: 90px; border-radius: var(--radius-xs); overflow: hidden; flex-shrink: 0; background: var(--card-2); }
.art-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.art-card .info { flex: 1; min-width: 0; }
.art-card .info h3 { font-size: 15px; margin-bottom: 5px; }
.art-card .info p { font-size: 12px; color: var(--text-3); margin: 0; }

/* ---------- 分类筛选 ---------- */
.filter-box { background: var(--card); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.filter-line { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.filter-line:last-child { border-bottom: 0; }
.filter-line .ft { width: 56px; flex-shrink: 0; font-size: 14px; font-weight: 800; color: var(--text-3); padding-top: 4px; }
.filter-line .fc { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.filter-line .fc a {
  padding: 4px 13px; border-radius: 16px; font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--card-2);
  transition: all .2s;
}
.filter-line .fc a:hover { background: var(--hover); color: var(--primary); }
.filter-line .fc a.active { background: var(--gradient-primary); color: #fff; box-shadow: 0 3px 10px rgba(99, 102, 241, .25); }

/* ---------- 详情页 ---------- */
.detail-main { display: flex; gap: 26px; background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.detail-main.gap { margin-bottom: 20px; }
.detail-poster { width: 240px; flex-shrink: 0; }
.detail-poster .pic { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--card-2); box-shadow: var(--shadow); }
.detail-poster .pic img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { flex: 1; min-width: 0; }
.detail-info h1 { font-size: 26px; margin-bottom: 12px; font-weight: 900; }
.detail-info .dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin-bottom: 14px; }
@media (max-width: 640px) { .detail-info .dl { grid-template-columns: 1fr; } }
.detail-info .dl div { font-size: 13.5px; color: var(--text-2); }
.detail-info .dl b { color: var(--text); font-weight: 700; margin-left: 4px; }
.detail-info .blurb { font-size: 13.5px; color: var(--text-2); background: var(--card-2); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 16px; border-right: 3px solid var(--primary); }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.score-box { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.score-box .score { font-size: 32px; font-weight: 900; color: var(--gold); }
.stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.stars .off { color: var(--line); }

/* ---------- 播放列表 ---------- */
.playlist-box { background: var(--card); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.playlist-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.playlist-head h2 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.playlist-head h2::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: var(--gradient-primary); }
.playlist-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.playlist-tabs button {
  padding: 6px 18px; border-radius: 20px; font-size: 13px; font-weight: 700; color: var(--text-2); background: var(--card-2); border: 1px solid transparent;
  transition: all .2s;
}
.playlist-tabs button:hover { color: var(--primary); }
.playlist-tabs button.active { background: var(--gradient-primary); color: #fff; box-shadow: 0 3px 10px rgba(99, 102, 241, .25); }
.episode-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; max-height: 400px; overflow-y: auto; padding-left: 4px; }
.episode-grid a {
  display: block; text-align: center; padding: 8px 4px; border-radius: var(--radius-xs); font-size: 13px; font-weight: 600;
  background: var(--card-2); color: var(--text-2); transition: all .2s;
}
.episode-grid a:hover { background: var(--hover); color: var(--primary); }
.episode-grid a.active { background: var(--gradient-primary); color: #fff; font-weight: 800; box-shadow: 0 3px 10px rgba(99, 102, 241, .25); }

/* ---------- 播放器 ---------- */
.player-wrap { background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.player-frame { position: relative; aspect-ratio: 16/9; background: #000; }
.player-frame iframe, .player-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-toolbar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--card); border-top: 1px solid var(--line); flex-wrap: wrap; }
.player-toolbar a { padding: 6px 14px; border-radius: 18px; font-size: 13px; font-weight: 600; background: var(--card-2); color: var(--text-2); transition: all .2s; }
.player-toolbar a:hover { color: var(--primary); background: var(--hover); }
.player-toolbar a.disabled { opacity: .4; pointer-events: none; }

/* ---------- 评论 ---------- */
.comment-box { background: var(--card); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.comment-box h2 { font-size: 17px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.comment-box h2::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: var(--gradient-primary); }
.comment-form { display: flex; gap: 10px; margin-bottom: 16px; }
.comment-form input {
  flex: 1; height: 46px; border-radius: 24px; border: 1px solid var(--line);
  background: var(--card-2); color: var(--text); padding: 0 20px; outline: none; font-weight: 600;
  transition: all .25s;
}
.comment-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, .12); }
.comment-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.comment-item:last-child { border-bottom: 0; }
.comment-item .face { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--card-2); }
.comment-item .face img { width: 100%; height: 100%; object-fit: cover; }
.comment-item .body { flex: 1; min-width: 0; }
.comment-item .body .hd { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-3); margin-bottom: 4px; }
.comment-item .body .hd b { color: var(--text-2); font-size: 13px; }
.comment-item .body .txt { font-size: 14px; }

/* ---------- 底部 ---------- */
.site-footer { border-top: 1px solid var(--glass-border); background: var(--bg-deep); margin-top: 36px; }
.site-footer .inner { padding: 28px 0 36px; text-align: center; color: var(--text-3); font-size: 13px; }
.site-footer .links a { margin: 0 10px; font-weight: 600; transition: color .2s; }
.site-footer .links a:hover { color: var(--primary); }
.site-footer p { margin-bottom: 6px; }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed; bottom: 28px; left: 28px; z-index: 90;
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--card); color: var(--text-2); border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { color: var(--primary); border-color: var(--primary); box-shadow: 0 6px 20px rgba(99, 102, 241, .2); }

/* ---------- 分页 ---------- */
.paging { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 26px 0 10px; flex-wrap: wrap; }
.paging a, .paging span {
  min-width: 40px; height: 40px; padding: 0 13px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; font-size: 14px; font-weight: 700; background: var(--card); color: var(--text-2); border: 1px solid var(--line);
  transition: all .2s;
}
.paging a:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-sm); }
.paging .active { background: var(--gradient-primary); color: #fff; border-color: transparent; box-shadow: 0 3px 12px rgba(99, 102, 241, .3); }
.paging .disabled { opacity: .4; pointer-events: none; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 64px 20px; color: var(--text-3); }
.empty .ic { font-size: 50px; margin-bottom: 14px; opacity: .35; }

/* ---------- 通知条 ---------- */
.notice { background: var(--card); border-radius: var(--radius); padding: 14px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.notice .tag { padding: 4px 14px; border-radius: 14px; font-size: 12px; font-weight: 800; background: var(--gradient-gold); color: #fff; flex-shrink: 0; box-shadow: 0 3px 10px rgba(245, 158, 11, .25); }
.notice .txt { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text-2); }
.notice .txt a:hover { color: var(--primary); }

/* ---------- 页面头部 ---------- */
.page-head { padding: 24px 0 8px; }
.page-head h1 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.page-head h1::before { content: ""; width: 6px; height: 26px; border-radius: 3px; background: var(--gradient-primary); box-shadow: 0 0 10px rgba(99, 102, 241, .3); }
.page-head .sub { color: var(--text-3); font-size: 13px; margin-top: 4px; }

/* ---------- 通用卡片区 ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.card.gap { margin-bottom: 20px; }
.card h2 { font-size: 17px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.card h2::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: var(--gradient-primary); }

/* 广告位 */
.banner-slot { min-height: 90px; border: 1px dashed var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 13px; background: var(--card-2); margin-bottom: 20px; }

/* ---------- 响应式 — 平板 ---------- */
@media (max-width: 992px) {
  .search-form { display: none; }
  .m-nav-toggle { display: flex; }
  .main-nav { display: none; }
  .detail-main { flex-direction: column; }
  .detail-poster { width: 100%; max-width: 220px; margin: 0 auto; }
  .hero-info h2 { font-size: 20px; }
  .hero-info { padding: 20px; }
  .container { padding: 0 14px; }
  .section { margin-bottom: 22px; }
  .section-head h2 { font-size: 17px; }
  .episode-grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
}

/* ---------- 响应式 — 手机 ---------- */
@media (max-width: 576px) {
  :root { --radius: 12px; --radius-sm: 8px; --radius-xs: 5px; }
  body { font-size: 14px; }
  .container { padding: 0 12px; }
  .logo { font-size: 17px; gap: 6px; }
  .logo .logo-badge { width: 34px; height: 34px; border-radius: 10px; font-size: 16px; }
  .logo small { font-size: 9px; }
  .site-header-inner { height: 54px; gap: 8px; }
  .icon-btn { width: 36px; height: 36px; font-size: 15px; border-radius: 10px; }
  .header-actions { gap: 4px; }

  .hero { min-height: 180px; height: 38vh; border-radius: var(--radius); }
  .hero-info { padding: 16px; }
  .hero-info h2 { font-size: 16px; margin-bottom: 4px; }
  .hero-info .meta { font-size: 11px; margin-bottom: 6px; }
  .hero-info .desc { font-size: 11px; max-width: 100%; -webkit-line-clamp: 1; }
  .hero-dots { top: 10px; left: 14px; gap: 4px; }
  .hero-dots i { width: 8px; height: 8px; }
  .hero-dots i.active { width: 20px; }

  .section { margin-bottom: 18px; }
  .section-head { margin-bottom: 12px; }
  .section-head h2 { font-size: 15px; gap: 6px; }
  .section-head h2::before { width: 4px; height: 18px; }
  .section-head .more { font-size: 11px; }

  .vod-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .vod-card { border-radius: var(--radius-sm); }
  .vod-card .pic { aspect-ratio: 3/4; }
  .vod-card .badge { font-size: 9px; padding: 1px 7px; top: 5px; right: 5px; border-radius: 8px; }
  .vod-card .score { font-size: 11px; top: 5px; left: 5px; padding: 1px 6px 1px 4px; }
  .vod-card .score i { font-size: 9px; }
  .vod-card .name { padding: 22px 8px 17px; font-size: 13px; line-height: 1.3; }
  .vod-card .sub { padding: 0 8px; bottom: 3px; font-size: 10px; }

  /* 详情页 */
  .detail-main { padding: 16px; gap: 16px; }
  .detail-poster { max-width: 160px; }
  .detail-info h1 { font-size: 17px; margin-bottom: 8px; }
  .detail-info .dl { grid-template-columns: 1fr; gap: 4px; }
  .detail-info .dl div { font-size: 12.5px; }
  .detail-info .blurb { font-size: 12.5px; padding: 10px 12px; }
  .detail-actions { gap: 8px; }
  .detail-actions .btn { padding: 8px 14px; font-size: 13px; }
  .detail-actions .btn-lg { padding: 9px 16px; font-size: 14px; }
  .score-box .score { font-size: 24px; }
  .stars { font-size: 14px; }

  /* 播放列表 */
  .playlist-box { padding: 14px 16px; }
  .playlist-head h2 { font-size: 15px; }
  .episode-grid { grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; max-height: 320px; }
  .episode-grid a { padding: 6px 2px; font-size: 12px; border-radius: 5px; }

  /* 播放器 */
  .player-toolbar { padding: 8px 10px; gap: 4px; }
  .player-toolbar a { padding: 4px 10px; font-size: 12px; border-radius: 14px; }

  /* 评论区 */
  .comment-box { padding: 14px 16px; }
  .comment-form { flex-direction: column; gap: 8px; }
  .comment-form input { height: 42px; border-radius: 12px; width: 100%; }
  .comment-item .face { width: 38px; height: 38px; }
  .comment-item .body .hd { font-size: 11px; }
  .comment-item .body .hd b { font-size: 12px; }
  .comment-item .body .txt { font-size: 13px; }

  /* 筛选 */
  .filter-box { padding: 12px 14px; }
  .filter-line { gap: 6px; padding: 6px 0; }
  .filter-line .ft { width: 44px; font-size: 12px; }
  .filter-line .fc { gap: 4px; }
  .filter-line .fc a { padding: 2px 10px; font-size: 12px; border-radius: 14px; }

  /* 排行 */
  .rank-item { gap: 8px; padding: 9px 0; }
  .rank-item .no { width: 26px; height: 26px; font-size: 11px; border-radius: 6px; }
  .rank-item .pic { width: 40px; height: 54px; }
  .rank-item .info .t { font-size: 13px; }
  .rank-item .info .s { font-size: 11px; }

  /* 演员卡 */
  .star-grid { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 10px; }
  .star-card .pic { width: 66px; height: 66px; }
  .star-card .name { font-size: 11px; }

  /* 文章 */
  .art-card { padding: 10px; gap: 10px; }
  .art-card .pic { width: 100px; height: 66px; }
  .art-card .info h3 { font-size: 13px; }
  .art-card .info p { font-size: 11px; }

  /* 分页 */
  .paging { gap: 5px; margin: 18px 0 8px; }
  .paging a, .paging span { min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px; border-radius: 8px; }

  /* 通用卡片 */
  .card { padding: 16px; }
  .card h2 { font-size: 15px; margin-bottom: 10px; }

  /* 通知条 */
  .notice { padding: 10px 14px; gap: 8px; }
  .notice .tag { font-size: 10px; padding: 2px 10px; }
  .notice .txt { font-size: 12px; }
  .notice .btn { padding: 5px 10px; font-size: 12px; }

  /* 广告位 */
  .banner-slot { min-height: 60px; margin-bottom: 14px; }

  /* 页头 */
  .page-head { padding: 16px 0 6px; }
  .page-head h1 { font-size: 18px; }

  /* 空状态 */
  .empty { padding: 44px 16px; }
  .empty .ic { font-size: 40px; }

  /* 回到顶部 */
  .back-top { bottom: 18px; left: 18px; width: 40px; height: 40px; border-radius: 12px; }

  /* 表单 */
  .form-control { height: 42px; font-size: 14px; }
  .btn { padding: 8px 14px; font-size: 13px; }
  .btn-lg { padding: 10px 18px; font-size: 14px; }

  /* 记录列表行 */
  .list-row .pic { width: 68px; height: 44px; }
  .list-row .info .t { font-size: 13px; }
  .list-row .info .s { font-size: 11px; }

  /* 搜索表单（移动端独立搜索页用） */
  .search-form { display: none; }
}

/* ---------- 响应式 — 超小屏 ---------- */
@media (max-width: 380px) {
  .vod-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .vod-card .name { font-size: 11px; padding: 18px 6px 14px; }
  .vod-card .sub { font-size: 9px; padding: 0 6px; bottom: 2px; }
  .vod-card .badge { font-size: 8px; padding: 1px 5px; top: 4px; right: 4px; }
  .vod-card .score { top: 4px; left: 4px; font-size: 10px; }
  .episode-grid { grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); }
  .star-grid { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); }
  .hero-info h2 { font-size: 14px; }
}

/* ---------- 移动端搜索框（在搜索页面显示） ---------- */
@media (max-width: 992px) {
  .vod-search-form, .art-search-form, .actor-search-form {
    display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
  }
  .vod-search-form input, .art-search-form input, .actor-search-form input {
    flex: 1; height: 42px; border-radius: 22px; border: 1px solid var(--line);
    background: var(--card); color: var(--text); padding: 0 18px; outline: none; font-size: 14px; font-weight: 600;
  }
  .vod-search-form input:focus, .art-search-form input:focus, .actor-search-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, .12); }
  .vod-search-form button, .art-search-form button, .actor-search-form button {
    width: 42px; height: 42px; border-radius: 50%; border: none; color: #fff;
    background: var(--gradient-primary); font-size: 14px; box-shadow: 0 3px 10px rgba(99, 102, 241, .25);
  }
}
