/* =========================================================
   MACCMS10 影视模板（第六套） - style.css
   全新 vi- 命名体系，紫粉暗夜流光风
   独立 Logo 横幅行 + 通栏分类导航条头部，两栏页脚
   含 JSON-LD 结构化数据，利于搜索引擎收录
   所有封面固定尺寸（PC / 手机），响应式
   ========================================================= */

/* ---------- 基础 ---------- */
:root { --vi-text-3: #9a8fbf; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  background: #12081f;
  color: #c9b8e6;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
ul, ol { list-style: none; }
.vi-shell { flex: 1 0 auto; width: 100%; max-width: 1240px; margin: 0 auto; padding: 20px 20px 40px; }

/* ---------- 头部：独立 Logo 横幅行 + 通栏导航条 ---------- */
.vi-site-head { position: sticky; top: 0; z-index: 100; background: #170a2b; border-bottom: 1px solid rgba(236,72,153,.25); box-shadow: 0 4px 20px rgba(6,2,14,.6); }
.vi-brand-bar { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 18px 20px; }
.vi-logo { font-size: 27px; font-weight: 800; letter-spacing: 3px; background: linear-gradient(90deg,#c084fc,#ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 22px rgba(192,132,252,.25); }
.vi-hamburger { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; cursor: pointer; background: rgba(192,132,252,.12); border: 1px solid rgba(192,132,252,.3); border-radius: 8px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.vi-hamburger span { display: block; width: 18px; height: 2px; background: #c084fc; border-radius: 2px; transition: all .25s; }
.vi-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vi-hamburger.is-open span:nth-child(2) { opacity: 0; }
.vi-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.vi-navbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px 14px; }
.vi-nav { flex: 1 1 auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.vi-nav::-webkit-scrollbar { display: none; }
.vi-navlink { flex: 0 0 auto; font-size: 14px; color: #c9b8e6; padding: 8px 16px; border-radius: 18px; background: rgba(192,132,252,.06); }
.vi-navlink:hover { color: #fff; background: linear-gradient(90deg,#a855f7,#ec4899); }
.vi-navlink.is-on { color: #fff; background: linear-gradient(90deg,#a855f7,#ec4899); }
.vi-search { flex: 0 1 280px; display: flex; align-items: center; background: #1d0f36; border: 1px solid rgba(192,132,252,.3); border-radius: 18px; overflow: hidden; }
.vi-search input { flex: 1 1 auto; min-width: 0; height: 34px; border: 0; background: transparent; padding: 0 12px; font-size: 13px; color: #efe6ff; outline: none; }
.vi-search input::placeholder { color: #6d5b94; }
.vi-search button { flex: 0 0 auto; height: 34px; border: 0; padding: 0 14px; font-size: 13px; cursor: pointer; background: linear-gradient(90deg,#a855f7,#ec4899); color: #fff; font-weight: 700; }
.vi-drawer { display: none; background: #1d0f36; border-top: 1px solid rgba(192,132,252,.15); }
.vi-drawer.is-open { display: block; }
.vi-drawer-search { display: flex; align-items: center; gap: 8px; padding: 12px 20px; }
.vi-drawer-search input { flex: 1 1 auto; height: 36px; border: 1px solid rgba(192,132,252,.3); background: #12081f; border-radius: 8px; padding: 0 12px; font-size: 13px; color: #efe6ff; outline: none; }
.vi-drawer-search button { flex: 0 0 auto; height: 36px; border: 0; padding: 0 16px; border-radius: 8px; cursor: pointer; background: linear-gradient(90deg,#a855f7,#ec4899); color: #fff; font-weight: 700; }
.vi-drawer-group { border-bottom: 1px solid rgba(192,132,252,.1); }
.vi-drawer-top { display: block; padding: 12px 20px; color: #c084fc; font-weight: 700; }
.vi-drawer-subs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; }
.vi-drawer-subs a { font-size: 12px; color: #9a8fbf; padding: 4px 10px; background: #12081f; border-radius: 6px; }
.vi-drawer-subs a:hover { color: #c084fc; }

/* ---------- 面包屑（仅详情/播放页） ---------- */
.vi-crumb { font-size: 13px; color: #9a8fbf; margin: 0 0 16px; }
.vi-crumb a:hover { color: #c084fc; }
.vi-crumb-sep { margin: 0 8px; color: #45375f; }

/* ---------- 焦点区：左轮播 + 右四宫格 ---------- */
.vi-hero { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 16px; margin-bottom: 30px; }
.vi-hero-stage { position: relative; border-radius: 14px; overflow: hidden; height: 480px; background: #1d0f36; border: 1px solid rgba(192,132,252,.3); box-shadow: 0 8px 26px rgba(120,20,150,.25); }
.vi-hero-track { display: flex; height: 100%; transition: transform .6s ease; }
.vi-hero-slide { flex: 0 0 100%; position: relative; }
.vi-hero-slide a { display: block; position: relative; height: 100%; }
.vi-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.vi-hero-veil { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg,rgba(18,8,31,0),rgba(18,8,31,.9)); }
.vi-hero-cap { position: absolute; left: 24px; right: 24px; bottom: 18px; color: #fff; }
.vi-hero-cap h2 { font-size: 22px; margin-bottom: 6px; }
.vi-hero-cap p { font-size: 13px; color: rgba(239,230,255,.8); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vi-hero-dots { position: absolute; right: 16px; bottom: 14px; display: flex; gap: 6px; }
.vi-hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; }
.vi-hero-dot.is-on { background: #ec4899; box-shadow: 0 0 8px rgba(236,72,153,.8); }
.vi-hero-quad { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 480px; }
.vi-quad { position: relative; display: block; border-radius: 10px; overflow: hidden; min-width: 0; background: #1d0f36; border: 1px solid rgba(192,132,252,.2); box-shadow: 0 6px 18px rgba(120,20,150,.2); }
.vi-quad img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vi-quad:hover img { transform: scale(1.06); }
.vi-quad-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10px 6px; font-size: 13px; color: #fff; background: linear-gradient(180deg,rgba(18,8,31,0),rgba(18,8,31,.85)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 首页板块 / 通用封面网格 ---------- */
.vi-section { margin-bottom: 30px; padding: 0 8px; }
.vi-section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.vi-section-title { font-size: 18px; color: #efe6ff; }
.vi-section-title::before { content: ""; display: inline-block; width: 5px; height: 16px; margin-right: 8px; border-radius: 3px; background: linear-gradient(180deg,#a855f7,#ec4899); vertical-align: -2px; }
.vi-section-count { font-size: 12px; color: #6d5b94; }
.vi-section-more { margin-left: auto; font-size: 13px; color: #9a8fbf; }
.vi-section-more:hover { color: #c084fc; }
.vi-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.vi-card { min-width: 0; display: block; }
.vi-cover { position: relative; border-radius: 10px; overflow: hidden; height: 210px; background: #1d0f36; box-shadow: 0 6px 18px rgba(120,20,150,.18); }
.vi-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vi-card:hover .vi-cover img { transform: scale(1.06); }
.vi-badge { position: absolute; left: 8px; top: 8px; z-index: 2; font-size: 11px; padding: 2px 8px; border-radius: 5px; background: rgba(18,8,31,.78); color: #c084fc; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vi-point { position: absolute; right: 8px; bottom: 8px; z-index: 2; font-size: 12px; font-weight: 700; color: #ec4899; }
.vi-name { margin-top: 9px; font-size: 14px; color: #ddd0f5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vi-card:hover .vi-name { color: #c084fc; }
.vi-meta { margin-top: 2px; font-size: 12px; color: #6d5b94; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 筛选 ---------- */
.vi-filter { background: #1d0f36; border: 1px solid rgba(192,132,252,.2); border-radius: 14px; padding: 8px 16px; margin-bottom: 16px; }
.vi-filter-row { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; border-bottom: 1px dashed rgba(192,132,252,.14); }
.vi-filter-row:last-child { border-bottom: 0; }
.vi-filter-key { flex: 0 0 auto; font-size: 13px; color: #9a8fbf; padding-top: 7px; }
.vi-filter-scroll { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.vi-filter-scroll::-webkit-scrollbar { display: none; }
.vi-chip { flex: 0 0 auto; font-size: 13px; padding: 6px 12px; border-radius: 16px; background: #12081f; color: #a89bcc; white-space: nowrap; }
.vi-chip:hover { color: #c084fc; }
.vi-chip.is-on { background: linear-gradient(90deg,#a855f7,#ec4899); color: #fff; font-weight: 600; }

/* ---------- 列表卡片 ---------- */
.vi-layout { width: 100%; }
.vi-layout-main { min-width: 0; }
.vi-panel { background: #1d0f36; border: 1px solid rgba(192,132,252,.2); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.vi-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.vi-panel-head h2 { font-size: 17px; color: #efe6ff; }
.vi-panel-count { font-size: 13px; color: #9a8fbf; }
.vi-vgrid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.vi-vcard { min-width: 0; }
.vi-vpic { position: relative; display: block; border-radius: 10px; overflow: hidden; height: 210px; background: #1d0f36; box-shadow: 0 6px 18px rgba(120,20,150,.18); }
.vi-vpic img { width: 100%; height: 100%; object-fit: cover; }
.vi-vtag { position: absolute; left: 8px; top: 8px; z-index: 2; font-size: 11px; padding: 2px 8px; border-radius: 5px; background: rgba(18,8,31,.78); color: #c084fc; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vi-vscore { position: absolute; right: 8px; top: 8px; z-index: 2; font-size: 12px; font-weight: 700; color: #ec4899; }
.vi-vmask { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 10px 7px; font-size: 13px; font-weight: 400; color: #fff; background: linear-gradient(180deg,rgba(18,8,31,0),rgba(18,8,31,.85)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vi-vinfo { padding: 8px 2px 0; }
.vi-vname { font-size: 13px; color: #ddd0f5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vi-vmeta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; font-size: 12px; color: #6d5b94; }

/* ---------- 分页 ---------- */
.vi-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.vi-pagebtn { min-width: 36px; text-align: center; padding: 8px 12px; font-size: 13px; color: #a89bcc; background: #1d0f36; border: 1px solid rgba(192,132,252,.25); border-radius: 8px; }
.vi-pagebtn:hover { color: #c084fc; border-color: #c084fc; }
.vi-pagebtn.is-on { background: linear-gradient(90deg,#a855f7,#ec4899); color: #fff; border-color: transparent; font-weight: 600; }

/* ---------- 详情 / 播放页 ---------- */
.vi-intro { display: flex; gap: 20px; flex-wrap: wrap; background: #1d0f36; border: 1px solid rgba(192,132,252,.2); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.vi-intro-poster { flex: 0 0 auto; width: 220px; height: 310px; border-radius: 10px; overflow: hidden; background: #1d0f36; }
.vi-intro-poster img { width: 100%; height: 100%; object-fit: cover; }
.vi-intro-body { flex: 1 1 260px; min-width: 0; }
.vi-h1 { font-size: 22px; color: #efe6ff; margin-bottom: 10px; }
.vi-sub { font-size: 13px; color: #9a8fbf; margin-bottom: 12px; }
.vi-summary { font-size: 14px; color: #a89bcc; line-height: 1.8; }
.vi-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.vi-playbtn { display: inline-block; padding: 9px 24px; border-radius: 18px; font-size: 14px; background: linear-gradient(90deg,#a855f7,#ec4899); color: #fff; font-weight: 700; }
.vi-playbtn:hover { opacity: .9; }
.vi-detailbtn { display: inline-block; padding: 9px 24px; border-radius: 18px; font-size: 14px; background: #12081f; color: #a89bcc; border: 1px solid rgba(192,132,252,.25); }
.vi-detailbtn:hover { color: #c084fc; border-color: #c084fc; }
.vi-player { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 14px; overflow: hidden; margin: 0 auto 16px; }
@supports (aspect-ratio: 16 / 9) {
  .vi-player { padding-top: 0; aspect-ratio: 16 / 9; }
}
.vi-player iframe, .vi-player video, .vi-player embed, .vi-player object {
  position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border: 0;
}
.vi-player div { position: relative; width: 100% !important; height: 100% !important; }

/* ---------- 播放源与集数（直接显示，多的折叠） ---------- */
.vi-epbox { background: #1d0f36; border: 1px solid rgba(192,132,252,.2); border-radius: 14px; padding: 16px; margin-bottom: 16px; }
.vi-epline { font-size: 14px; font-weight: 600; color: #c084fc; padding: 4px 0 10px; }
.vi-epbox > .vi-epline:first-child { padding-top: 0; }
.vi-eplist { display: grid; grid-template-columns: repeat(auto-fill,minmax(74px,1fr)); gap: 8px; }
.vi-epitem { display: block; text-align: center; padding: 8px 4px; font-size: 13px; color: #a89bcc; background: #12081f; border-radius: 7px; }
.vi-epitem:hover { color: #c084fc; }
.vi-epitem.on { background: linear-gradient(90deg,#a855f7,#ec4899); color: #fff; font-weight: 600; }
.vi-epitem.vi-ep-hidden { display: none; }
.vi-eplist.is-expanded .vi-epitem.vi-ep-hidden { display: block; }
.vi-epmore { display: flex; justify-content: center; margin-top: 12px; }
.vi-epmorebtn { cursor: pointer; border: 1px solid rgba(192,132,252,.3); background: #12081f; color: #a89bcc; padding: 8px 22px; border-radius: 16px; font-size: 13px; }
.vi-epmorebtn:hover { color: #c084fc; border-color: #c084fc; }

/* ---------- 详情介绍 / 常见问题 / 评论 ---------- */
.vi-faq { background: #1d0f36; border: 1px solid rgba(192,132,252,.2); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.vi-faq-title { font-size: 16px; color: #efe6ff; margin-bottom: 12px; }
.vi-faq-title::before { content: ""; display: inline-block; width: 5px; height: 15px; margin-right: 8px; border-radius: 3px; background: linear-gradient(180deg,#a855f7,#ec4899); vertical-align: -2px; }
.vi-spec { font-size: 14px; color: #a89bcc; }
.vi-spec dd { padding: 5px 0; word-break: break-all; }
.vi-spec em { font-style: normal; color: #6d5b94; margin-right: 4px; }
.vi-spec a { color: #c084fc; }
.vi-spec strong { color: #ddd0f5; }
.vi-hot-tags { font-size: 13px; }
.vi-hot-tags a { display: inline-block; margin: 4px 8px 4px 0; color: #c084fc; }
.vi-faq-body { font-size: 14px; color: #a89bcc; }
.vi-faq-body dd { padding: 6px 0; }
.vi-faq-body b { color: #ddd0f5; font-weight: 600; }
.vi-faq-body p { color: #6d5b94; margin-top: 3px; }
.vi-faq-body a { color: #c084fc; }
.vi-comments { background: #1d0f36; border: 1px solid rgba(192,132,252,.2); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.vi-comments-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.vi-comments-head h2 { font-size: 16px; color: #efe6ff; }
.vi-comments-count { font-size: 13px; color: #9a8fbf; }
.vi-comment { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(192,132,252,.14); }
.vi-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,#a855f7,#ec4899); color: #fff; font-size: 16px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.vi-cbody { flex: 1 1 auto; min-width: 0; }
.vi-chead { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.vi-cname { font-size: 13px; color: #c084fc; font-weight: 600; }
.vi-cmark { font-size: 12px; color: #c084fc; background: rgba(192,132,252,.14); padding: 1px 8px; border-radius: 4px; }
.vi-cstars { font-size: 12px; color: #ec4899; }
.vi-cstars i { font-style: normal; }
.vi-cstars i.off { color: #45375f; }
.vi-ctime { font-size: 12px; color: #6d5b94; margin-left: auto; }
.vi-ctext { font-size: 14px; color: #ddd0f5; word-break: break-all; }
.vi-clike { flex: 0 0 auto; font-size: 12px; color: #6d5b94; }

/* ---------- 详情/播放页四板块 ---------- */
.vi-related { display: grid; grid-template-columns: 1fr; gap: 0; }
.vi-related .vi-grid { grid-template-columns: repeat(5,1fr); gap: 12px; }
.vi-related .vi-cover { height: 150px; }

/* ---------- 分类循环板块（左更新列表 + 右热门排行） ---------- */
.vi-hot-section { margin-bottom: 30px; }
.vi-hot-block { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 16px; margin-bottom: 30px; }
.vi-hot-main { min-width: 0; }
.vi-hot-side { min-width: 0; }
.vi-hot-card { background: #1d0f36; border: 1px solid rgba(192,132,252,.2); border-radius: 14px; padding: 18px; }
.vi-hot-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.vi-hot-title { font-size: 17px; color: #efe6ff; }
.vi-hot-title::before { content: ""; display: inline-block; width: 5px; height: 15px; margin-right: 8px; border-radius: 3px; background: linear-gradient(180deg,#a855f7,#ec4899); vertical-align: -2px; }
.vi-hot-more a { font-size: 13px; color: #9a8fbf; }
.vi-hot-more a:hover { color: #c084fc; }
.vi-up-list { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.vi-up-item { min-width: 0; }
.vi-up-con { position: relative; }
.vi-up-state { position: absolute; left: 8px; top: 8px; z-index: 2; }
.vi-up-state em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 5px; background: rgba(18,8,31,.78); color: #c084fc; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.vi-up-thumb { display: block; border-radius: 10px; overflow: hidden; height: 210px; background: #1d0f36; box-shadow: 0 6px 18px rgba(120,20,150,.18); }
.vi-up-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vi-up-item:hover .vi-up-thumb img { transform: scale(1.06); }
.vi-up-subject { margin-top: 8px; font-size: 13px; color: #ddd0f5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vi-up-subject a:hover { color: #c084fc; }
.vi-up-layer { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 14px 10px 10px; font-size: 12px; color: #efe6ff; background: rgba(18,8,31,.9); border-radius: 0 0 10px 10px; opacity: 0; transition: opacity .3s ease; }
.vi-up-item:hover .vi-up-layer { opacity: 1; }
.vi-up-layer p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 2px 0; }
.vi-up-layer label { color: #c084fc; }
/* 右侧排行 */
.vi-rank-list { display: flex; flex-direction: column; }
.vi-rank-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(192,132,252,.12); min-width: 0; }
.vi-rank-item:last-child { border-bottom: 0; }
.vi-rank-num { flex: 0 0 auto; width: 20px; font-size: 13px; font-weight: 700; text-align: center; color: #45375f; }
.vi-rank-item:nth-child(1) .vi-rank-num { color: #ec4899; }
.vi-rank-item:nth-child(2) .vi-rank-num { color: #c084fc; }
.vi-rank-item:nth-child(3) .vi-rank-num { color: #9a8fbf; }
.vi-rank-pic { flex: 0 0 auto; width: 80px; height: 50px; border-radius: 6px; overflow: hidden; background: #1d0f36; }
.vi-rank-pic img { width: 100%; height: 100%; object-fit: cover; }
.vi-rank-info { flex: 1 1 auto; min-width: 0; }
.vi-rank-name { display: block; font-size: 13px; color: #ddd0f5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vi-rank-name:hover { color: #c084fc; }
.vi-rank-hits { display: block; margin-top: 2px; font-size: 12px; color: #6d5b94; }

/* ---------- 空结果 ---------- */
.vi-empty { text-align: center; padding: 60px 20px; color: #9a8fbf; font-size: 14px; }

/* ---------- 页脚：两栏（品牌区 + 链接/标签云）+ 版权 ---------- */
.vi-site-foot { background: #170a2b; border-top: 1px solid rgba(236,72,153,.3); margin-top: 30px; color: #9a8fbf; }
.vi-foot-top { height: 3px; background: linear-gradient(90deg,#a855f7,#ec4899); }
.vi-foot-main { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 28px; width: 100%; max-width: 1240px; margin: 0 auto; padding: 30px 20px 20px; }
.vi-foot-brand { display: flex; flex-direction: column; min-width: 0; }
.vi-foot-logo { font-size: 20px; font-weight: 800; background: linear-gradient(90deg,#c084fc,#ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.vi-foot-desc { font-size: 12px; color: #6d5b94; line-height: 1.9; }
.vi-foot-quick { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.vi-foot-quick a { font-size: 13px; color: #9a8fbf; }
.vi-foot-quick a:hover { color: #c084fc; }
.vi-foot-col h4 { font-size: 15px; color: #efe6ff; margin-bottom: 12px; }
.vi-foot-links { display: flex; flex-direction: column; gap: 8px; }
.vi-foot-links a { font-size: 13px; color: #9a8fbf; }
.vi-foot-links a:hover { color: #c084fc; }
.vi-foot-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vi-foot-tags a { font-size: 12px; color: #a89bcc; padding: 4px 10px; background: #12081f; border-radius: 14px; }
.vi-foot-tags a:hover { color: #c084fc; border-color: #c084fc; }
.vi-foot-copy { width: 100%; max-width: 1240px; margin: 0 auto; padding: 12px 20px 22px; border-top: 1px solid rgba(192,132,252,.12); text-align: center; font-size: 12px; color: #6d5b94; }
.vi-foot-copy p { margin: 3px 0; }
.vi-foot-copy a { color: #c084fc; }

/* ---------- 回到顶部 ---------- */
#viBackTop { position: fixed; right: 18px; bottom: 26px; width: 44px; height: 44px; border: 0; border-radius: 10px; cursor: pointer; z-index: 999; display: none; background: linear-gradient(90deg,#a855f7,#ec4899); color: #fff; font-size: 18px; font-weight: 700; box-shadow: 0 6px 18px rgba(168,85,247,.4); }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .vi-hero { grid-template-columns: 1fr; }
  .vi-hero-quad { grid-template-columns: repeat(4,1fr); grid-template-rows: none; height: auto; }
  .vi-hot-block { grid-template-columns: 1fr; }
  .vi-grid, .vi-vgrid, .vi-up-list { grid-template-columns: repeat(4,1fr); gap: 14px; }
  .vi-foot-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .vi-navbar { display: none; }
  .vi-hamburger { display: inline-flex; }
  .vi-hero-quad { display: none; }
  .vi-hot-side { display: none; }
  .vi-hero-stage { height: 220px; border-radius: 0; }
  .vi-shell > .vi-hero:first-child { margin-top: -20px; }
  .vi-cover { height: 170px; }
  .vi-vpic { height: 170px; }
  .vi-up-thumb { height: 170px; }
  .vi-intro-poster { width: 140px; height: 200px; }
  .vi-grid, .vi-vgrid, .vi-up-list { grid-template-columns: repeat(3,1fr); gap: 12px; }
  .vi-related .vi-grid { grid-template-columns: repeat(3,1fr); }
  .vi-related .vi-cover { height: 150px; }
  .vi-foot-main { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .vi-hero-stage { height: 200px; }
  .vi-shell > .vi-hero:first-child { margin-top: -14px; }
  .vi-grid, .vi-vgrid { grid-template-columns: repeat(3,1fr); }
  .vi-cover { height: 150px; }
  .vi-vpic { height: 150px; }
  .vi-up-list { grid-template-columns: repeat(3,1fr); }
  .vi-up-thumb { height: 150px; }
  .vi-hero-cap h2 { font-size: 16px; }
  .vi-hero-cap p { -webkit-line-clamp: 1; }
  .vi-shell { padding: 14px 12px 30px; }
}
