/* ============================================================
   HD看影视 hdkan.cc — 全新模板样式 (2026-11)
   设计语言: 暖调橙 #F26419 + 深海蓝 #16233B + 暖白底 #FBF6F0
   结构: 沿用 FF-CMS 模板类名，视觉全部重制（与同机其它站不雷同）
   ============================================================ */

:root{
  --ink:#16233B;
  --ink-2:#54607A;
  --ink-3:#8A94A8;
  --primary:#F26419;
  --primary-d:#D14F0B;
  --primary-l:#FFF0E6;
  --accent:#FFC145;
  --bg:#FBF6F0;
  --surface:#FFFFFF;
  --line:#EFE4D8;
  --dark:#1B2540;
  --r-s:8px;
  --r-m:12px;
  --r-l:18px;
  --shadow-s:0 1px 2px rgba(22,35,59,.06),0 4px 12px rgba(22,35,59,.05);
  --shadow-m:0 6px 24px rgba(22,35,59,.10);
  --shadow-l:0 14px 40px rgba(22,35,59,.14);
  --wrap:1240px;
}

/* ---------- 基础 ---------- */
*{ -webkit-tap-highlight-color:transparent; }
html{ background:var(--bg); }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font:15px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; transition:color .18s ease; }
a:hover{ color:var(--primary); }
img{ max-width:100%; border:0; vertical-align:middle; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5{ margin:0; font-weight:800; color:var(--ink); letter-spacing:.2px; }
p{ margin:0 0 10px; }
input,button,select,textarea{ font-family:inherit; }
.container{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 20px; box-sizing:border-box; }
.row{ display:block; }
.clearfix::after{ content:""; display:table; clear:both; }
.text-center{ text-align:center; }
.text-right{ text-align:right; }
.text-muted,.text-gray{ color:var(--ink-2)!important; }
.text-green{ color:#18A66B!important; }
.pull-right{ float:right; }
.overflow-hidden{ overflow:hidden; }
.split-line{ height:1px; background:var(--line); margin:18px 0; border:0; }
.pt-0{ padding-top:0!important; } .pb-0{ padding-bottom:0!important; }
.hidden{ display:none!important; }
.img-responsive{ display:block; max-width:100%; height:auto; }
.more{ color:var(--primary); }
.title{ color:var(--ink); }
.data{ color:var(--ink-3); font-size:13px; }

/* ---------- 按钮 ---------- */
.btn{
  display:inline-block; padding:9px 18px; border-radius:999px; border:1px solid var(--line);
  background:var(--surface); color:var(--ink); font-size:14px; font-weight:600; cursor:pointer;
  transition:all .18s ease; line-height:1.4;
}
.btn:hover{ border-color:var(--primary); color:var(--primary); }
.btn-success,.btn-primary{
  background:linear-gradient(135deg,var(--primary),var(--primary-2,#FF8A3D));
  border-color:transparent; color:#fff; box-shadow:0 6px 16px rgba(242,100,25,.28);
}
.btn-success:hover,.btn-primary:hover{ color:#fff; filter:brightness(1.05); transform:translateY(-1px); }
.btn-lg{ padding:12px 28px; font-size:15px; }

/* ---------- 头部 ---------- */
.vd-top{
  position:sticky; top:0; z-index:900;
  background:rgba(255,255,255,.92); backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}
.vd-top__inner{
  max-width:var(--wrap); margin:0 auto; padding:12px 20px; box-sizing:border-box;
  display:flex; align-items:center; gap:18px;
}
.vd-logo{ display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.vd-logo img{ height:38px; width:auto; display:block; }
.vd-logo b{ display:none; }
.vd-logo::before{ display:none; }
.vd-slogan{
  flex:1 1 auto; min-width:0; color:var(--ink-3); font-size:13px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.vd-slogan b{ color:var(--primary); font-weight:700; }

.vd-search{ position:relative; display:flex; flex:0 0 320px; }
.vd-search .ff-wd{
  width:100%; height:40px; padding:0 46px 0 16px; box-sizing:border-box;
  border:1px solid var(--line); background:#FDFAF7; border-radius:999px;
  color:var(--ink); font-size:14px; outline:none; transition:all .18s ease;
}
.vd-search .ff-wd::placeholder{ color:var(--ink-3); }
.vd-search .ff-wd:focus{ border-color:var(--primary); background:#fff; box-shadow:0 0 0 4px rgba(242,100,25,.10); }
.vd-search .submit{
  position:absolute; right:5px; top:5px; width:32px; height:32px; border:0; cursor:pointer;
  border-radius:50%; background:var(--primary); color:#fff; font-size:14px; line-height:32px;
  display:flex; align-items:center; justify-content:center;
}
.vd-search .submit:hover{ background:var(--primary-d); }

.vd-qr{ position:relative; flex:0 0 auto; }
.vd-qr>img{ width:32px; height:32px; border-radius:8px; border:1px solid var(--line); padding:2px; background:#fff; }
.vd-qr__pop{
  position:absolute; right:0; top:44px; width:150px; padding:12px; text-align:center;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-m); box-shadow:var(--shadow-m);
  opacity:0; visibility:hidden; transform:translateY(6px); transition:all .18s ease; z-index:20;
}
.vd-qr:hover .vd-qr__pop{ opacity:1; visibility:visible; transform:translateY(0); }
.vd-qr__pop img{ width:120px; border-radius:6px; }
.vd-qr__pop p{ margin:6px 0 0; font-size:12px; color:var(--ink-2); }

/* ---------- 导航 ---------- */
.vd-nav{ background:#fff; border-bottom:1px solid var(--line); }
.vd-nav ul{
  max-width:var(--wrap); margin:0 auto; padding:0 20px; box-sizing:border-box;
  display:flex; align-items:center; gap:6px; overflow-x:auto; scrollbar-width:none;
}
.vd-nav ul::-webkit-scrollbar{ display:none; }
.vd-nav li{ flex:0 0 auto; }
.vd-nav li>a{
  display:block; padding:12px 16px; font-size:15px; font-weight:600; color:var(--ink-2);
  border-radius:999px; white-space:nowrap;
}
.vd-nav li>a:hover{ color:var(--primary); background:var(--primary-l); }
.vd-nav li.active>a,.vd-nav li>a.active{ color:#fff; background:linear-gradient(135deg,var(--primary),#FF8A3D); }
.vd-nav__tip{ margin-left:auto; color:var(--ink-3); font-size:12.5px; padding-right:4px; }

/* ---------- Hero ---------- */
.vd-hero{
  margin:22px 0 6px; padding:38px 34px; border-radius:var(--r-l);
  background:
    radial-gradient(900px 300px at 8% -10%,rgba(255,193,69,.35),transparent 60%),
    radial-gradient(700px 280px at 92% 0%,rgba(242,100,25,.22),transparent 62%),
    linear-gradient(120deg,#FFF6EC 0%,#FFEDDC 55%,#FFE3CB 100%);
  border:1px solid #F7E3D1;
}
.vd-hero__title{ font-size:31px; line-height:1.35; font-weight:900; letter-spacing:.2px; }
.vd-hero__title::after{ content:""; display:block; width:64px; height:5px; margin-top:14px; border-radius:3px; background:linear-gradient(90deg,var(--primary),var(--accent)); }
.vd-hero__desc{ margin:14px 0 18px; color:#5B5147; font-size:14.5px; max-width:900px; }
.vd-hero__tags{ display:flex; flex-wrap:wrap; gap:10px; }
.vd-hero__tags a{
  display:inline-block; padding:8px 16px; border-radius:999px; background:#fff; font-size:13.5px; font-weight:600;
  color:var(--ink); box-shadow:var(--shadow-s); border:1px solid #F4E5D6;
}
.vd-hero__tags a:hover{ color:#fff; background:var(--primary); border-color:var(--primary); }

/* ---------- 区块 ---------- */
.vd-sec{ margin:34px 0; }
.vd-sec__head{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.vd-sec__title{
  position:relative; padding-left:14px; font-size:21px; font-weight:800; line-height:1.4;
}
.vd-sec__title::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:5px; height:20px; border-radius:3px; background:linear-gradient(180deg,var(--primary),var(--accent));
}
.vd-sec__title a{ color:var(--ink); }
.vd-sec__title--sm{ font-size:17px; }
.vd-sec__sub{ color:var(--ink-3); font-size:13px; }
.vd-sec__count{ color:var(--ink-3); font-size:13px; }
.vd-sec__more,.vd-more{
  margin-left:auto; font-size:13.5px; font-weight:600; color:var(--primary);
  padding:6px 14px; border-radius:999px; background:var(--primary-l);
}
.vd-sec__more:hover,.vd-more:hover{ color:#fff; background:var(--primary); }

/* ---------- 精选横滑 ---------- */
.vd-spotwrap{ position:relative; }
.vd-spotwrap::after{
  content:""; position:absolute; top:0; right:0; width:56px; height:calc(100% - 16px);
  background:linear-gradient(90deg,rgba(251,246,240,0),rgba(251,246,240,.95)); pointer-events:none;
}
.vd-spotwrap .vd-spot{
  display:grid; grid-auto-flow:column; grid-auto-columns:150px; gap:14px;
  overflow-x:auto; padding:4px 2px 12px; scroll-snap-type:x mandatory;
}
.vd-spot::-webkit-scrollbar{ height:6px; }
.vd-spot::-webkit-scrollbar-thumb{ background:#E8DCCF; border-radius:3px; }
.vd-spot__item{ scroll-snap-align:start; }
.vd-spot__item a{ display:block; }
.vd-spot__item img{
  width:150px; height:210px; object-fit:cover; border-radius:var(--r-m);
  background:#F1E8DF; box-shadow:var(--shadow-s); transition:transform .2s ease,box-shadow .2s ease;
}
.vd-spot__item a:hover img{ transform:translateY(-4px); box-shadow:var(--shadow-m); }
.vd-spot__item b{ display:block; margin-top:8px; font-size:13.5px; font-weight:700; color:var(--ink);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.vd-spot__item i{ display:block; font-style:normal; font-size:12px; color:var(--ink-3);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ---------- 频道卡 ---------- */
.vd-channels{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:26px 0 6px; }
.vd-channel{
  display:flex; align-items:center; gap:12px; padding:16px 18px; border-radius:var(--r-m);
  background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-s);
  transition:all .2s ease;
}
.vd-channel:hover{ transform:translateY(-3px); border-color:#F8D5BC; box-shadow:var(--shadow-m); }
.vd-channel__ico{
  width:42px; height:42px; flex:0 0 42px; display:flex; align-items:center; justify-content:center;
  font-size:19px; border-radius:12px; background:var(--primary-l);
}
.vd-channel b{ font-size:16px; display:block; }
.vd-channel i{ font-style:normal; font-size:12px; color:var(--ink-3); letter-spacing:.4px; }

/* ---------- 影片网格 ---------- */
.vd-grid,.stui-vodlist{
  display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:18px 14px;
}
.stui-vodlist__item,.stui-vodlist1__item{ min-width:0; }
.stui-vodlist__thumb{
  position:relative; display:block; border-radius:var(--r-m); overflow:hidden; background:#F1E8DF;
  box-shadow:var(--shadow-s); transition:transform .22s ease,box-shadow .22s ease;
}
.stui-vodlist__thumb::after{
  content:""; position:absolute; inset:auto 0 0 0; height:45%;
  background:linear-gradient(to top,rgba(15,22,38,.55),transparent); opacity:0; transition:opacity .22s ease;
}
.stui-vodlist__thumb img{
  width:100%; height:auto; aspect-ratio:3/4; object-fit:cover; display:block;
  transition:transform .35s ease;
}
.stui-vodlist__thumb:hover{ transform:translateY(-4px); box-shadow:var(--shadow-m); }
.stui-vodlist__thumb:hover img{ transform:scale(1.04); }
.stui-vodlist__thumb:hover::after{ opacity:1; }
.pic-text{
  position:absolute; left:0; right:0; bottom:0; padding:6px 9px; font-size:12px; color:#fff;
  z-index:2; font-weight:600; text-shadow:0 1px 3px rgba(0,0,0,.4);
}
.pic-text.text-right{ text-align:right; }
.stui-vodlist__title{
  margin:9px 0 2px; font-size:14px; font-weight:700; line-height:1.5;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.stui-vodlist__title a{ color:var(--ink); }
.card-text{ color:var(--ink-3); font-size:12.5px; line-height:1.5;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.card-text-content{ margin:0; }

/* ---------- 排行榜 ---------- */
.vd-rank{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 26px;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-l);
  padding:18px 20px; box-shadow:var(--shadow-s);
}
.vd-rank__item{ display:flex; align-items:center; gap:10px; padding:7px 0; border-bottom:1px dashed #F1E7DC; }
.vd-rank__item:last-child,.vd-rank__item:nth-last-child(2){ border-bottom:0; }
.vd-rank__no{
  flex:0 0 24px; width:24px; height:24px; border-radius:8px; font-size:12px; font-weight:800;
  display:flex; align-items:center; justify-content:center; color:var(--ink-2); background:#F5EFE8;
}
.vd-rank__item--hot .vd-rank__no{ color:#fff; background:linear-gradient(135deg,var(--primary),#FF9A4D); }
.vd-rank__link{ flex:1 1 auto; min-width:0; font-size:14px; font-weight:600;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.vd-rank__meta{ flex:0 0 auto; font-size:12px; color:var(--ink-3); }

/* ---------- 影片索引 ---------- */
.vd-map{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-l); padding:22px; box-shadow:var(--shadow-s); }
.vd-map-body{ }
.vd-map__group{ margin-bottom:20px; }
.vd-map__group:last-child{ margin-bottom:0; }
.vd-map__title{ font-size:16px; font-weight:800; margin-bottom:8px; }
.vd-map__sub{ font-size:13px; color:var(--ink-2); margin-bottom:6px; }
.vd-map__list,.map-list{ display:flex; flex-wrap:wrap; gap:8px 14px; font-size:13px; color:var(--ink-2); }
.vd-map__list a,.map-list a{ color:var(--ink-2); }
.map-list ul{ display:flex; flex-wrap:wrap; gap:6px 14px; }

/* ---------- 友链 ---------- */
.vd-links{ display:flex; flex-wrap:wrap; gap:10px; }
.vd-links li a{
  display:inline-block; padding:7px 14px; font-size:13px; color:var(--ink-2);
  background:var(--surface); border:1px solid var(--line); border-radius:999px;
}
.vd-links li a:hover{ color:var(--primary); border-color:#F8D5BC; }

/* ---------- 搜索页 ---------- */
.vd-searchpage{ margin-top:22px; }
.vd-searchhero{
  padding:30px 30px; border-radius:var(--r-l);
  background:linear-gradient(120deg,#FFF7EF,#FFEBD9); border:1px solid #F7E3D1;
}
.vd-searchhero__title{ font-size:24px; font-weight:900; }
.vd-searchhero__desc{ color:var(--ink-2); font-size:14px; margin-top:8px; }
.vd-searchbox{ display:flex; gap:10px; margin-top:16px; max-width:620px; }
.vd-searchbox__input{
  flex:1 1 auto; height:44px; padding:0 16px; border-radius:999px; border:1px solid var(--line);
  background:#fff; font-size:14px; outline:none;
}
.vd-searchbox__input:focus{ border-color:var(--primary); box-shadow:0 0 0 4px rgba(242,100,25,.10); }
.vd-searchbox__btn{
  flex:0 0 auto; height:44px; padding:0 26px; border:0; border-radius:999px; cursor:pointer;
  background:linear-gradient(135deg,var(--primary),#FF8A3D); color:#fff; font-size:14px; font-weight:700;
}
.vd-badge{
  display:inline-block; padding:2px 9px; margin-left:8px; border-radius:999px; font-size:12px;
  color:var(--primary); background:var(--primary-l); font-weight:700; vertical-align:middle;
}
.vd-sec--search{ margin-top:26px; }
.vd-empty{ text-align:center; padding:60px 20px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-l); }
.vd-empty__ico{ font-size:42px; line-height:1; }
.vd-empty__title{ margin:14px 0 8px; font-size:19px; font-weight:800; }
.vd-empty__desc{ color:var(--ink-2); font-size:14px; }
.vd-empty__tags{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top:16px; }
.vd-empty__tags a{ padding:7px 14px; border-radius:999px; background:var(--primary-l); color:var(--primary); font-size:13px; font-weight:600; }

/* ---------- 频道页头 ---------- */
.vd-chhead{
  margin:22px 0 18px; padding:26px 28px; border-radius:var(--r-l);
  background:linear-gradient(120deg,#FFF7EF 0%,#FFEBD9 100%); border:1px solid #F7E3D1;
}
.vd-chhead__main{ display:flex; align-items:flex-end; gap:16px; flex-wrap:wrap; }
.vd-chhead__title{ font-size:26px; font-weight:900; }
.vd-chhead__desc{ color:#5B5147; font-size:14px; margin-top:10px; max-width:980px; }
.vd-chhead__meta{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.vd-chhead__stat{
  padding:5px 12px; border-radius:999px; background:#fff; font-size:12.5px; color:var(--ink-2);
  border:1px solid #F4E5D6; font-weight:600;
}

/* ---------- 筛选 ---------- */
.vd-screen{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-m);
  padding:6px 16px; box-shadow:var(--shadow-s);
}
.vd-screen__head{ display:flex; align-items:baseline; gap:10px; padding:10px 0; border-bottom:1px dashed #F1E7DC; }
.vd-screen__head:last-child{ border-bottom:0; }
.vd-screen__title{ flex:0 0 auto; white-space:nowrap; font-size:13px; font-weight:700; color:var(--ink-3); }
.stui-screen__list{ display:flex; flex-wrap:wrap; gap:6px; flex:1 1 auto; }
.stui-screen__list a{ display:inline-block; padding:4px 11px; border-radius:999px; font-size:13px; color:var(--ink-2); }
.stui-screen__list a:hover{ color:var(--primary); background:var(--primary-l); }
.stui-screen__list a.active{ color:#fff; background:linear-gradient(135deg,var(--primary),#FF8A3D); }

.vd-listwrap{ margin-top:20px; }
.vd-listfoot{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:22px 0 8px; }
.vd-listfoot__note{ color:var(--ink-3); font-size:13px; }

/* ---------- 分页 ---------- */
.stui-page,.vd-page{ margin:26px 0 34px; }
.stui-page ul,.stui-page{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; align-items:center; }
.stui-page li{ list-style:none; }
.stui-page li a,.stui-page li span,.stui-page a,.stui-page span{
  display:inline-block; min-width:38px; height:38px; line-height:38px; padding:0 12px; text-align:center;
  border-radius:10px; background:var(--surface); border:1px solid var(--line); font-size:13.5px; color:var(--ink-2);
}
.stui-page li a:hover{ border-color:var(--primary); color:var(--primary); }
.stui-page li.active a,.stui-page li.active span,.stui-page .active>a{ background:var(--primary); border-color:var(--primary); color:#fff; }

/* ---------- 详情页 ---------- */
.breadcrumb{
  display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin:18px 0 14px;
  font-size:13px; color:var(--ink-3); background:none; padding:0;
}
.breadcrumb a{ color:var(--ink-2); }
.breadcrumb a:hover{ color:var(--primary); }
.stui-content{
  display:grid; grid-template-columns:250px minmax(0,1fr); gap:26px;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-l);
  padding:22px; box-shadow:var(--shadow-s);
}
.stui-content__thumb{ position:relative; }
.stui-content__thumb img{ width:100%; border-radius:var(--r-m); box-shadow:var(--shadow-m); }
.stui-content__detail{ min-width:0; }
.stui-content__detail h1,.stui-content__detail .title{
  font-size:26px; font-weight:900; line-height:1.35; margin-bottom:10px;
}
.stui-content__desc{ color:var(--ink-2); font-size:14px; line-height:1.8; margin:10px 0 14px; }
.stui-content__detail .data{ font-size:13px; color:var(--ink-3); }
.stui-content__detail .data a{ color:var(--primary); }
.playbtn{
  display:inline-flex; align-items:center; gap:8px; margin:6px 10px 6px 0; padding:11px 26px;
  border-radius:999px; background:linear-gradient(135deg,var(--primary),#FF8A3D); color:#fff;
  font-size:15px; font-weight:800; box-shadow:0 8px 20px rgba(242,100,25,.30);
}
.playbtn:hover{ color:#fff; transform:translateY(-1px); }
.pic{ position:relative; }

/* 播放器 */
.stui-player{ margin:18px 0; background:#101827; border-radius:var(--r-l); overflow:hidden; box-shadow:var(--shadow-m); }
.stui-player__video{ position:relative; }
.stui-player__detail{ padding:12px 18px; color:#C9D2E3; font-size:13px; background:#101827; }
/* 播放页深色信息条：修正深色文字在深底上不可见（对比度 1.1 → 白/浅） */
.stui-player__detail h1,.stui-player__detail h2,.stui-player__detail h3,.stui-player__detail h4,.stui-player__detail .title{ color:#FFFFFF; }
.stui-player__detail h1 a,.stui-player__detail h2 a,.stui-player__detail h3 a,.stui-player__detail h4 a,.stui-player__detail .title a{ color:#FFFFFF; }
.stui-player__detail p,.stui-player__detail .data,.stui-player__detail span{ color:#C9D2E3; }
.stui-player__detail p a,.stui-player__detail .data a{ color:#FFC48A; }
.stui-player__detail p a:hover,.stui-player__detail .data a:hover{ color:#FFD9B3; }
.stui-player__detail .ff-playurl-error{ color:#FF8A3D; }

.embed-responsive{ position:relative; display:block; width:100%; height:0; padding:0; overflow:hidden; }
.embed-responsive-16by9{ padding-bottom:56.25%; }
.embed-responsive-4by3{ padding-bottom:75%; }
.embed-responsive iframe,.embed-responsive video,.embed-responsive embed,.embed-responsive object{
  position:absolute; top:0; left:0; width:100%; height:100%; border:0;
}
.ffp-slot{ background:#101827; }
.ff-playurl-error{ padding:40px 20px; text-align:center; color:#FFB4A2; font-size:14px; }

/* 播放列表 */
.stui-content__playlist{ display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 0; max-height:420px; overflow:auto; }
.stui-content__playlist li{ list-style:none; }
.stui-content__playlist a{
  display:inline-block; padding:7px 14px; border-radius:8px; background:#F7F1EA; color:var(--ink-2);
  font-size:13px; border:1px solid transparent; min-width:56px; text-align:center;
}
.stui-content__playlist a:hover{ color:var(--primary); background:var(--primary-l); }
.stui-content__playlist li.active a,.stui-content__playlist a.active{
  background:linear-gradient(135deg,var(--primary),#FF8A3D); color:#fff; font-weight:700;
}
.stui-pannel{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-l);
  padding:18px 20px; margin:18px 0; box-shadow:var(--shadow-s);
}
.stui-pannel__head{ display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.stui-pannel__head h3,.stui-pannel__head .title{ font-size:18px; font-weight:800; }
.vod-ispay{ padding:30px; text-align:center; border-radius:var(--r-m); background:var(--primary-l); color:var(--primary-d); font-weight:700; }
.user-score,.user-score-upvip,.user-score-payment{ display:inline-block; padding:2px 8px; border-radius:6px; background:#FFF4E2; color:#B26B00; font-size:12px; }
.vod-price{ color:var(--primary); font-weight:800; }
.jumbotron{ padding:26px; border-radius:var(--r-l); background:linear-gradient(120deg,#FFF7EF,#FFEBD9); border:1px solid #F7E3D1; }
.h1-page,.h1-site{ font-size:26px; font-weight:900; margin:0 0 8px; }
.h1-site{ text-align:center; margin:0 0 22px; padding:0 16px; }
.ff-img{ object-fit:cover; }
.desc{ color:var(--ink-2); }
.desc a{ color:var(--primary); }
.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-m); padding:16px; }

/* ---------- 页脚 ---------- */
.vd-foot{ margin-top:48px; background:var(--dark); color:#C7D0E0; }
.vd-foot .container{ padding-top:38px; padding-bottom:18px; }
.vd-foot__grid{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:32px; }
.vd-foot__brand{ font-size:19px; font-weight:900; color:#fff; margin-bottom:12px; }
.vd-foot__brand span{ color:var(--accent); font-size:13px; letter-spacing:1px; font-weight:700; margin-left:6px; }
.vd-foot .site-intro{ font-size:13px; line-height:1.9; color:#98A4BC; }
.vd-foot .site-intro a{ color:var(--accent); }
.vd-foot h4{ font-size:14px; color:#fff; margin:0 0 12px; letter-spacing:.5px; }
.vd-foot ul{ display:flex; flex-direction:column; gap:9px; }
.vd-foot ul li a{ font-size:13px; color:#98A4BC; }
.vd-foot ul li a:hover{ color:var(--accent); }
.vd-foot__bar{
  margin-top:26px; padding-top:16px; border-top:1px solid rgba(255,255,255,.10);
  display:flex; flex-wrap:wrap; gap:8px 20px; justify-content:space-between;
  font-size:12.5px; color:#7E8AA3;
}

/* ---------- 返回顶部/杂项 ---------- */
.vd-top-btn{ position:fixed; right:20px; bottom:26px; width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; background:#fff; color:var(--ink);
  border:1px solid var(--line); box-shadow:var(--shadow-m); z-index:800; }

/* ---------- 响应式 ---------- */
@media (max-width:1180px){
  .vd-grid,.stui-vodlist{ grid-template-columns:repeat(5,minmax(0,1fr)); }
  .vd-spotwrap .vd-spot{ grid-auto-columns:140px; }
  .vd-spot__item img{ width:140px; height:196px; }
}
@media (max-width:960px){
  .vd-slogan{ display:none; }
  .vd-search{ flex:1 1 auto; }
  .vd-grid,.stui-vodlist{ grid-template-columns:repeat(4,minmax(0,1fr)); }
  .vd-channels{ grid-template-columns:repeat(2,1fr); }
  .vd-rank{ grid-template-columns:1fr; }
  .stui-content{ grid-template-columns:190px minmax(0,1fr); gap:18px; }
  .vd-foot__grid{ grid-template-columns:1fr 1fr; }
  .vd-hero__title{ font-size:25px; }
}
@media (max-width:640px){
  .container{ padding:0 14px; }
  .vd-top__inner{ padding:10px 14px; gap:10px; }
  .vd-logo::before{ width:34px; height:34px; border-radius:10px; }
  .vd-logo b{ font-size:18px; }
  .vd-search{ flex:1 1 auto; }
  .vd-search .ff-wd{ height:36px; font-size:13px; }
  .vd-search .submit{ width:28px; height:28px; top:4px; }
  .vd-nav ul{ padding:0 10px; }
  .vd-nav li>a{ padding:10px 12px; font-size:14px; }
  .vd-nav__tip{ display:none; }
  .vd-hero{ padding:24px 18px; border-radius:var(--r-m); margin:14px 0 4px; }
  .vd-hero__title{ font-size:21px; }
  .vd-hero__desc{ font-size:13.5px; }
  .vd-sec{ margin:24px 0; }
  .vd-sec__title{ font-size:18px; }
  .vd-grid,.stui-vodlist{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 10px; }
  .stui-vodlist__title{ font-size:13px; }
  .card-text{ display:none; }
  .vd-channels{ gap:10px; }
  .vd-channel{ padding:12px; }
  .vd-channel__ico{ width:36px; height:36px; flex:0 0 36px; font-size:16px; }
  .vd-channel b{ font-size:14px; }
  .stui-content{ grid-template-columns:1fr; padding:16px; }
  .stui-content__thumb{ max-width:190px; }
  .stui-content__detail h1,.stui-content__detail .title{ font-size:21px; }
  .vd-chhead{ padding:20px 16px; }
  .vd-chhead__title{ font-size:21px; }
  .vd-screen{ padding:4px 12px; }
  .vd-screen__title{ flex:0 0 auto; white-space:nowrap; }
  .vd-rank{ padding:14px; }
  .vd-foot__grid{ grid-template-columns:1fr; gap:22px; }
  .vd-map{ padding:16px; }
}
@media (max-width:380px){
  .vd-grid,.stui-vodlist{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* ---------- 兼容/工具类 ---------- */
.hide,.hidden{ display:none!important; }
.lazyload{ opacity:0; transition:opacity .3s ease; }
.lazyload.loaded,.lazyload[src]{ opacity:1; }
.left{ float:left; }
.play{ position:relative; display:block; }
.col-pd{ padding-left:10px; padding-right:10px; }
.ff-search{ position:relative; }
.stui-content__ad{ margin:16px 0; border-radius:var(--r-m); overflow:hidden; }
.user-login-modal{ position:fixed; inset:0; background:rgba(22,35,59,.5); display:flex; align-items:center; justify-content:center; z-index:1200; }
.user-score-card{ display:inline-flex; align-items:center; gap:6px; padding:6px 14px; border-radius:999px; background:var(--primary-l); color:var(--primary-d); font-size:13px; font-weight:700; }
.vd-totop{ position:fixed; right:22px; bottom:30px; width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:#fff; color:var(--ink); border:1px solid var(--line); box-shadow:var(--shadow-m); z-index:800; font-size:16px; }
.vd-totop:hover{ background:var(--primary); color:#fff; border-color:var(--primary); }

/* Bootstrap 兼容显隐 */
@media (max-width:767px){
  .hidden-xs{ display:none!important; }
  .visible-xs{ display:block!important; }
}
@media (min-width:768px){
  .visible-xs{ display:none!important; }
}
@media (max-width:991px){ .hidden-sm{ display:none!important; } }
