@charset "utf-8";


/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #17181A;
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; border: 0; }
button { font: inherit; cursor: pointer; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
::selection { background: rgba(255, 106, 26, .16); color: #17181A; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #F7F7F7; }
::-webkit-scrollbar-thumb { background: #DADDE2; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #C6CAD1; }

#app { min-height: 100vh; background: #fff; padding-bottom: 10px; }

/* ---------- 工具类 ---------- */
.wrap { width: 100%; max-width: 1500px; margin: 0 auto; padding: 0 24px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================================================================
   顶栏：橙色播放标 + 站名 / 横向导航 / 语言 + 登录
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17, 24, 39, .04);
}
.head-inner { display: flex; align-items: center; height: 76px; gap: 32px; }

/* 品牌：橙色圆形播放标 + 站名 */
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; min-width: 0; }
.brand-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 5px 12px rgba(255, 106, 26, .24)); }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name { max-width: 300px; font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: .4px; color: #15171A; }

/* 横向导航（与截图一致：7 项左右，当前项蓝色下划线） */
.head-nav { display: flex; align-items: stretch; gap: 30px; height: 100%; min-width: 0; margin-left: 8px; }
.hn {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 15.5px; font-weight: 500; color: #33373D;
  white-space: nowrap;
  transition: color .16s;
}
.hn:hover { color: #111; }
.hn.on { color: #111; font-weight: 700; }
.hn.on::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 24px; height: 3px; border-radius: 2px;
  background: #2F7CF6; transform: translateX(-50%);
}
.hn-badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 15px; padding: 0 5px; border-radius: 3px;
  background: #22C55E; color: #fff;
  font-size: 9px; font-weight: 700; font-style: normal; letter-spacing: .3px; line-height: 1;
}

/* 右侧：搜索 / 语言 / 登录 / 手机菜单 */
.head-right { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: none; }

.search-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  border: 0; border-radius: 50%;
  background: transparent; color: #4B5159;
  transition: background .18s, color .18s;
}
.search-toggle:hover { background: #F4F5F7; color: #17181A; }
.search-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }

.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 4px;
  border: 0; background: transparent; color: #4B5159;
  font-size: 13.5px;
  transition: color .18s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { color: #17181A; }
.lang-ico { font-size: 13px; font-weight: 600; letter-spacing: -.6px; color: #2B2F35; }
.lang-txt { white-space: nowrap; }
.lang-chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .65; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 70;
  min-width: 148px; padding: 6px;
  background: #fff;
  border: 1px solid #ECECEC; border-radius: 12px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, .14);
}
.lang-menu[hidden] { display: none; }
.lang-menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: 13px; color: #4B5159; white-space: nowrap;
  transition: color .16s, background .16s;
}
.lang-menu a:hover { color: #2F7CF6; background: #F4F8FF; }

.login-btn {
  display: inline-block;
  max-width: 132px; height: 38px; padding: 0 18px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  line-height: 38px; text-align: center;
  border-radius: 8px;
  background: #2F7CF6; color: #fff;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 6px 16px rgba(47, 124, 246, .22);
  transition: background .18s, box-shadow .18s;
}
.login-btn:hover { background: #276FE0; box-shadow: 0 8px 20px rgba(47, 124, 246, .3); }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  border: 0; border-radius: 50%;
  background: transparent; color: #2B2F35;
}
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.menu-toggle.on { background: #F4F5F7; }

/* PC 搜索面板 */
.search-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 64;
  padding: 16px 24px 18px;
  background: #fff;
  border-bottom: 1px solid #ECECEC;
  box-shadow: 0 20px 44px rgba(17, 24, 39, .1);
}
.search-panel[hidden] { display: none; }
.search-form {
  display: flex; align-items: center; gap: 8px;
  max-width: 680px; margin: 0 auto; height: 44px; padding: 0 5px 0 14px;
  background: #F6F7F9;
  border: 1px solid #ECECEC; border-radius: 10px;
}
.search-form input {
  flex: 1; min-width: 0; height: 100%; padding: 0;
  border: 0; outline: 0; background: transparent;
  font-size: 14px; color: #22262B;
}
.search-form input::placeholder { color: #A3A8AF; }
.search-form button {
  height: 34px; padding: 0 20px; border: 0; border-radius: 7px;
  background: #2F7CF6; color: #fff;
  font-size: 13px; font-weight: 600;
}
.search-form button:active { filter: brightness(.94); }

/* 手机菜单 */
.m-menu {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 65;
  background: #fff;
  border-bottom: 1px solid #ECECEC;
  box-shadow: 0 20px 44px rgba(17, 24, 39, .12);
}
.m-menu[hidden] { display: none; }
.m-menu-in { padding: 14px 24px 18px; }
.m-menu-search {
  display: flex; align-items: center; gap: 8px;
  height: 42px; margin-bottom: 12px; padding: 0 5px 0 14px;
  background: #F6F7F9;
  border: 1px solid #ECECEC; border-radius: 10px;
}
.m-menu-search input {
  flex: 1; min-width: 0; height: 100%; padding: 0;
  border: 0; outline: 0; background: transparent;
  color: #22262B; font-size: 14px; -webkit-appearance: none; appearance: none;
}
.m-menu-search input::placeholder { color: #A3A8AF; }
.m-menu-search button {
  height: 32px; padding: 0 16px; border: 0; border-radius: 7px;
  background: #2F7CF6; color: #fff; font-size: 13px; font-weight: 600;
}
.m-menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.m-menu-grid a {
  display: flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 8px; border-radius: 8px;
  background: #F6F7F9; color: #3A3F46;
  font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-menu-grid a:active { background: #ECEFF3; }

/* ---------- 页面主体 ---------- */
.page-main { padding: 22px 0 46px; }

/* ============================================================================
   手机 Hero（PC 不显示）
   ========================================================================== */
.m-hero { display: none; }
.m-tabs { display: none; }

/* ============================================================================
   顶部营销模块（JS 渲染；四组默认空 → 不显示）
   ========================================================================== */
#xmb10-top-modules { margin-top: 18px; margin-bottom: 18px; }
#xmb10-top-modules:empty { display: none; }

/* 幻灯片 */
.banner {
  position: relative; margin-top: 2px; border-radius: 12px; overflow: hidden;
  background: #F3F1EC;
  box-shadow: 0 12px 34px rgba(17, 24, 39, .1), 0 0 0 1px rgba(17, 24, 39, .05);
}
.banner-track { display: flex; will-change: transform; }
.banner-item { position: relative; flex: 0 0 100%; display: block; padding-top: 42.857%; /* 21:9 */ }
.banner-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.banner-dot {
  width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .55); box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  transition: width .28s, background .28s;
}
.banner-dot.on { width: 16px; border-radius: 3px; background: #2F7CF6; }

/* 幻灯片下方横幅：默认 980×60，可在 JS 里用 w/h 自定义；图片拉伸铺满，不裁切 */
.strip-row { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 12px; }
.strip-ad {
  position: relative; display: block;
  width: 980px; max-width: 100%; height: 60px;
  border-radius: 8px; overflow: hidden;
  background: #F3F1EC;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, .06), 0 8px 22px rgba(17, 24, 39, .08);
  transition: box-shadow .18s;
}
.strip-ad:hover { box-shadow: 0 0 0 1px rgba(255, 106, 26, .35), 0 10px 26px rgba(17, 24, 39, .1); }
.strip-ad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }

/* 金刚区 */
.icon-sec { margin-top: 20px; }
.sec-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sec-hd h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: #17181A; }
.sec-hd h2::before {
  content: ''; width: 3px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, #FF9B48, #FF6A1A);
}
.sec-sub { margin-left: auto; font-size: 12px; color: #9AA0A8; }
.icon-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* 电脑每行 8 个；不足 8 个时整行居中 */
.icon-grid .icon-card { flex: 0 1 calc((100% - 84px) / 8 - 0.5px); min-width: 0; }
.icon-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px; min-width: 0; padding: 12px 6px; border-radius: 12px;
  background: var(--c-soft, rgba(47, 124, 246, .1));
  border: 1px solid var(--c-line, rgba(47, 124, 246, .5));
  box-shadow: 0 6px 18px var(--c-glow, rgba(47, 124, 246, .2));
}
.icon-card img { display: block; width: 44px; height: 44px; max-width: 100%; object-fit: contain; }
.icon-card:active { opacity: .82; }
.icon-name { display: block; width: 100%; max-width: 100%; text-align: center; font-size: 11.5px; font-weight: 500; color: #4B5159; }

/* 双栏广告 */
.promo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.promo {
  position: relative; display: block; padding-top: 62.5%; border-radius: 12px; overflow: hidden;
  background: #F3F1EC;
  box-shadow: 0 0 0 1px var(--c-line, rgba(47, 124, 246, .38)), 0 10px 28px rgba(17, 24, 39, .1);
}
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 58%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .46));
}
.promo-txt {
  position: absolute; left: 12px; right: 12px; bottom: 11px; z-index: 2;
  display: flex; flex-direction: column; gap: 3px; line-height: 1.25;
  color: #FFF4E4; text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.promo-txt em { font-style: normal; font-size: 10px; font-weight: 500; color: #FFD08A; letter-spacing: .4px; }
.promo-txt b { font-size: 13px; font-weight: 600; }

/* 文字链 */
.link-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.link-card {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
  color: var(--c, #2F7CF6);
  background: var(--c-soft, rgba(47, 124, 246, .1));
  border: 1px solid var(--c-line, rgba(47, 124, 246, .28));
  box-shadow: 0 6px 16px var(--c-glow, rgba(47, 124, 246, .12));
}
.link-card:active { opacity: .8; }

/* ============================================================================
   列表标题 + 排序
   ========================================================================== */
.list-hd {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
  padding: 2px 0 16px; margin-bottom: 20px;
  border-bottom: 1px solid #F0F0F0;
}
.list-title { font-size: 22px; font-weight: 800; line-height: 1.3; color: #17181A; }
.list-title-sm { font-size: 18px; }
.list-cnt { font-size: 12.5px; color: #8B919B; }
.sort-tabs { display: flex; gap: 8px; margin-left: auto; flex: none; }
.sort-tab {
  display: inline-flex; align-items: center;
  height: 30px; padding: 0 14px; border-radius: 999px;
  background: #F4F5F7; color: #5B636F;
  font-size: 12.5px; font-weight: 500;
  transition: background .18s, color .18s;
}
.sort-tab:hover { background: #ECEEF1; }
.sort-tab.on { background: #17181A; color: #fff; font-weight: 600; }

/* ============================================================================
   卡片墙（PC 5 列 / 手机 2 列）
   ========================================================================== */
.v-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 20px; }
.v-card {
  display: flex; flex-direction: column; min-width: 0;
  background: #fff;
  border: 1px solid #ECECEC; border-radius: 12px;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.v-card:hover {
  transform: translateY(-2px);
  border-color: #E1E3E6;
  box-shadow: 0 14px 34px rgba(17, 24, 39, .1);
}

.v-cover {
  position: relative; display: block; padding-top: 133.33%; /* 3:4 竖版 */
  overflow: hidden; background: #F3F1EC;
}
.v-cover img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.v-card:hover .v-cover img { transform: scale(1.035); }

/* 左上角：爆火 / 新剧 */
.v-badge {
  position: absolute; left: 8px; top: 8px; z-index: 3;
  display: inline-flex; align-items: center; gap: 3px;
  height: 22px; padding: 0 7px; border-radius: 5px;
  color: #fff; font-size: 11px; font-weight: 600; line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
}
.v-badge.hot { background: #FF5A2B; }
.v-badge.new { background: #22C55E; }
.v-badge svg { width: 11px; height: 11px; }
.v-badge .ic-fill { fill: currentColor; stroke: none; }
.v-badge .ic-stroke { fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; }

/* 右下角：N集 */
.v-ep {
  position: absolute; right: 7px; bottom: 7px; z-index: 3;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(17, 20, 24, .62);
  color: #fff; font-size: 11px; font-weight: 500; line-height: 1.3;
  letter-spacing: .2px; white-space: nowrap;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}

/* 信息区 */
.v-info { display: flex; flex-direction: column; flex: 1; padding: 11px 13px 13px; }
.v-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px; font-weight: 700; line-height: 1.42; color: #17181A;
}
.v-kind {
  display: inline-block; height: 18px; line-height: 18px;
  margin-right: 5px; padding: 0 5px; border-radius: 4px;
  background: #17181A; color: #fff;
  font-size: 10px; font-weight: 500; letter-spacing: .2px;
  vertical-align: 1px;
}
.v-name { display: inline; color: inherit; }
.v-card:hover .v-name { color: #2F7CF6; }

.v-stats {
  margin-top: 7px;
  font-size: 12px; color: #8B919B; line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v-tip {
  display: none; align-self: flex-start;
  margin-top: 7px; padding: 2px 7px; border-radius: 4px;
  background: #2F7CF6; color: #fff;
  font-size: 10.5px; font-weight: 500; line-height: 1.5; white-space: nowrap;
}
.v-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.v-chip {
  padding: 2px 7px; border-radius: 4px;
  background: #F2F3F5; color: #5B636F;
  font-size: 11px; line-height: 1.5; white-space: nowrap;
}

/* ---------- 空态 / 分页 ---------- */
.empty { padding: 76px 16px; text-align: center; font-size: 14px; color: #9AA0A8; }
.empty a { display: inline-block; margin-top: 10px; color: #2F7CF6; font-weight: 500; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 36px 16px 4px; font-size: 13px; }
.pager a {
  padding: 7px 16px; border-radius: 999px;
  color: #2F7CF6; background: #fff;
  border: 1px solid #E9EBEE;
  transition: background .18s, border-color .18s;
}
.pager a:hover { background: #F5F8FF; border-color: #C9DCFF; }
.pager .dis { padding: 7px 16px; color: #C3C7CD; }
.pager .pg-now { color: #8B919B; font-size: 12.5px; }

/* ---------- 页脚 / 返回顶部 / 手机底部 Tab ---------- */
.page-foot {
  margin-top: 46px; padding: 26px 0 34px;
  border-top: 1px solid #F0F0F0;
  text-align: center; font-size: 12px; color: #A0A5AD;
}
.page-foot p { margin: 4px 0; line-height: 1.8; }
.page-foot a { color: #7B828C; transition: color .18s; }
.page-foot a:hover { color: #2F7CF6; }
.foot-links span { margin: 0 8px; color: #D2D5DA; }

.m-tabbar { display: none; }

.to-top {
  position: fixed; right: 24px; bottom: 28px; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: #4B5159;
  border: 1px solid #ECECEC;
  box-shadow: 0 10px 26px rgba(17, 24, 39, .12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s, color .18s;
}
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #2F7CF6; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================================
   播放页
   ========================================================================== */
.play-main { max-width: 1120px; margin: 0 auto; padding: 2px 24px 0; }
.play-hd { padding-top: 2px; }
.p-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.p-title { font-size: 25px; font-weight: 800; line-height: 1.32; letter-spacing: .2px; color: #17181A; }
.p-flag {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 600; color: #2F7CF6;
  background: #EAF1FF;
  border: 1px solid #CFE0FF;
}
.p-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; color: #8B919B; }
.p-meta a { color: #2F7CF6; }
.p-meta i { font-style: normal; }
.p-cur { margin-top: 8px; font-size: 12.5px; color: #8B919B; }
.p-cur b { color: #2F7CF6; font-weight: 600; }

.player-wrap {
  position: relative; margin-top: 16px; padding-top: 56.25%; /* 16:9 */
  border-radius: 12px; overflow: hidden; background: #000;
  box-shadow: 0 16px 44px rgba(17, 24, 39, .18), 0 0 0 1px rgba(17, 24, 39, .06);
}
.player-wrap iframe,
.player-wrap .p-video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.p-loading {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; color: #C9CDD3;
  background: radial-gradient(circle at 50% 40%, #23272E, #0B0D10 72%);
}
.p-loading::before {
  content: ''; width: 16px; height: 16px; margin-right: 9px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .18); border-top-color: #FF6A1A;
  animation: xmb10spin .8s linear infinite;
}
@keyframes xmb10spin { to { transform: rotate(360deg); } }
.p-fail {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; text-align: center; font-size: 12.5px; color: #FFB38A;
  background: rgba(11, 13, 16, .93);
}
.p-noplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.p-noplay img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.p-noplay span {
  position: relative; z-index: 1; padding: 6px 14px;
  font-size: 12.5px; color: #DDE0E4;
  background: rgba(8, 10, 13, .8);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
}

.content-panel {
  background: #fff;
  border: 1px solid #ECECEC; border-radius: 12px;
  padding: 16px 18px;
}
.panel-gap { margin-top: 16px; }
.panel-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.panel-title { font-size: 16px; font-weight: 700; color: #17181A; }
.panel-cnt { margin-left: auto; font-size: 12px; color: #8B919B; }

.ep-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.ep {
  height: 36px; padding: 0 8px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; color: #5B636F;
  background: #F6F7F9;
  border: 1px solid #ECECEC;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s;
}
.ep:hover { background: #EAF1FF; border-color: #CFE0FF; color: #2F7CF6; }
.ep.on {
  color: #fff; font-weight: 600;
  background: #2F7CF6; border-color: #2F7CF6;
  box-shadow: 0 6px 16px rgba(47, 124, 246, .24);
}
.p-line { margin: 2px 0; font-size: 13px; line-height: 1.9; color: #5F6672; }
.p-line b { color: #9AA0A8; font-weight: 500; }
.p-intro { margin-top: 8px; font-size: 13px; line-height: 1.9; color: #5F6672; }

/* ---------- 纯图片弹窗（右上角 × / 遮罩 / Esc 关闭） ---------- */
.img-pop {
  position: fixed; inset: 0; z-index: 90000;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  background: rgba(14, 17, 22, .62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .24s ease;
}
.img-pop[hidden] { display: none !important; }
.img-pop.on { opacity: 1; }
.img-pop-box {
  position: relative; width: 100%; max-width: 340px;
  transform: translateY(12px) scale(.96);
  transition: transform .28s cubic-bezier(.22, .61, .36, 1);
}
.img-pop.on .img-pop-box { transform: none; }
.img-pop-link { display: block; }
.img-pop-link img {
  display: block; width: 100%; height: auto; border-radius: 14px;
  background: #F3F1EC;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 24px 60px rgba(0, 0, 0, .32);
}
.img-pop-close {
  position: absolute; right: -8px; top: -8px; z-index: 2;
  width: 32px; height: 32px; padding: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; color: #F2F2F2;
  background: rgba(20, 23, 28, .92);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.img-pop-close:active { opacity: .75; }

/* ============================================================================
   响应式
   ========================================================================== */
@media (max-width: 1439px) {
  .v-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1280px) {
  .head-inner { gap: 22px; }
  .head-nav { gap: 20px; }
  .hn { font-size: 14.5px; }
  .brand-name { font-size: 23px; max-width: 220px; }
}

@media (max-width: 1099px) {
  .v-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 中等宽度：收起横向导航，改用汉堡菜单 */
@media (max-width: 1180px) {
  .head-nav { display: none; }
  .menu-toggle { display: flex; }
  .head-inner { height: 70px; }
}

/* ============================================================================
   手机 / 窄屏（≤900px）：暖白背景 + Hero + 搜索 + Tab + 底部 Tab + 2/3 列
   ========================================================================== */
@media (max-width: 900px) {
  body { background: #F7F4EF; }
  #app { background: #F7F4EF; padding-bottom: calc(82px + env(safe-area-inset-bottom)); }

  .site-head { background: rgba(247, 244, 239, .96); border-bottom: 0; }
  .head-inner { height: 62px; gap: 10px; }
  .brand { gap: 7px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 20px; max-width: 170px; letter-spacing: .2px; }
  .head-right { gap: 7px; }
  .search-toggle { display: none; }
  .login-btn { display: none; }
  .menu-toggle { display: flex; width: 34px; height: 34px; }
  .menu-toggle svg { width: 21px; height: 21px; }
  .lang-btn { height: 34px; padding: 0 2px; font-size: 13px; }
  .lang-ico { font-size: 12px; }
  .lang-chev { width: 13px; height: 13px; }

  .search-panel { display: none; }
  .m-menu { background: #F7F4EF; border-bottom: 1px solid #E8E3DA; }
  .m-menu-in { padding: 10px 14px 16px; }
  .m-menu-search { background: #fff; border-color: #ECE7DE; }
  .m-menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .m-menu-grid a { height: 40px; background: #fff; border: 1px solid #ECE7DE; font-size: 13px; }

  /* Hero */
  .m-hero { display: block; padding: 18px 0 0; }
  .m-hero-title { font-size: 27px; font-weight: 800; line-height: 1.2; letter-spacing: .3px; color: #15171A; }
  .m-hero-sub {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin-top: 8px;
    font-size: 13px; line-height: 1.5; color: #6B7280;
  }
  .m-hero-chip {
    display: inline-flex; align-items: center; gap: 4px;
    height: 23px; padding: 0 8px; border-radius: 4px;
    background: #2F7CF6; color: #fff;
    font-size: 11px; font-weight: 600; white-space: nowrap;
  }
  .m-hero-chip svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

  .m-search { position: relative; margin-top: 16px; }
  .m-search input {
    width: 100%; height: 46px; padding: 0 48px 0 16px;
    border: 1px solid #E8E3DA; border-radius: 12px;
    background: #fff; color: #22262B;
    font-size: 14px; outline: 0;
    -webkit-appearance: none; appearance: none;
  }
  .m-search input::placeholder { color: #A3A8AF; }
  .m-search button {
    position: absolute; right: 6px; top: 5px;
    width: 38px; height: 36px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 9px; background: transparent; color: #2F7CF6;
  }
  .m-search button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

  .m-tabs {
    display: flex; gap: 26px;
    margin-top: 18px; margin-bottom: 16px;
    border-bottom: 1px solid #E9E5DE;
  }
  .m-tab { position: relative; padding: 0 2px 10px; font-size: 15px; font-weight: 500; color: #8A8F98; }
  .m-tab.on { color: #15171A; font-weight: 700; }
  .m-tab.on::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
    height: 2px; border-radius: 2px; background: #2F7CF6;
  }

  .page-main { padding: 16px 0 26px; }
  .list-hd { padding-bottom: 13px; margin-bottom: 16px; border-bottom-color: #E9E5DE; }
  .list-title { font-size: 20px; }
  .list-cnt { font-size: 12px; }
  .sort-tab { height: 28px; padding: 0 12px; font-size: 12px; background: #fff; }
  .sort-tab.on { background: #17181A; }

  /* 卡片 */
  .v-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; }
  .v-card { border-radius: 10px; }
  .v-info { padding: 9px 10px 11px; }
  .v-title { font-size: 13.5px; line-height: 1.38; -webkit-line-clamp: 1; }
  .v-kind { height: 17px; line-height: 17px; font-size: 9.5px; padding: 0 4px; margin-right: 4px; vertical-align: 1px; }
  .v-stats { margin-top: 5px; font-size: 11px; }
  .v-tip { display: inline-flex; margin-top: 6px; padding: 1px 6px; font-size: 10px; }
  .v-chips { gap: 4px; margin-top: 6px; }
  .v-chip { padding: 1px 6px; font-size: 10px; }
  .v-ep { right: 6px; bottom: 6px; padding: 1px 5px; font-size: 10.5px; }
  .v-badge { left: 6px; top: 6px; height: 20px; padding: 0 6px; font-size: 10px; }
  .v-badge svg { width: 10px; height: 10px; }

  /* 广告 */
  #xmb10-top-modules { margin-top: 16px; }
  .banner { border-radius: 10px; }
  .strip-row { gap: 8px; margin-top: 10px; }
  .strip-ad { border-radius: 6px; }
  .icon-grid { gap: 8px; }
  .icon-grid .icon-card { flex-basis: calc((100% - 24px) / 4 - 0.5px); }
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .link-row { gap: 6px; }

  /* 播放页 */
  .play-main { padding: 2px 14px 0; }
  .p-title { font-size: 20px; }
  .p-meta { font-size: 12px; gap: 5px 11px; }
  .player-wrap { border-radius: 10px; margin-top: 13px; }
  .content-panel { padding: 13px 12px; border-radius: 10px; }
  .ep-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ep { height: 34px; }

  /* 页脚 + 底部 Tab */
  .page-foot { margin-top: 28px; padding: 20px 0 22px; border-top-color: #E9E5DE; }
  .m-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 58;
    display: flex; height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid #ECE7DE;
  }
  .m-tabbar a {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px;
    font-size: 10.5px; color: #9AA0A8;
  }
  .m-tabbar a.on { color: #2F7CF6; font-weight: 600; }
  .m-tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

  .to-top { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); width: 40px; height: 40px; }
}

/* 手机（≤680px）：两列卡片 */
@media (max-width: 680px) {
  .wrap { padding: 0 14px; }
  .v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .v-info { padding: 9px 10px 11px; }
  .v-title { font-size: 13.5px; }
  .v-stats { font-size: 11px; }
  .m-hero-title { font-size: 26px; }
  .m-tabs { gap: 22px; }
  .m-tab { font-size: 14.5px; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 18.5px; max-width: 145px; }
  .m-hero-title { font-size: 24px; }
  .v-grid { gap: 16px 10px; }
  .v-title { font-size: 13px; }
  .v-stats { font-size: 10.5px; }
  .v-chip { font-size: 9.5px; padding: 1px 5px; }
  .p-title { font-size: 18px; }
}
