@charset "utf-8";
/* ============================================================================
   xmb7 —— 橙果短剧风格（暗黑暖橙 · 响应式 PC / 手机）
   结构：基础重置 → 顶部导航 → 广告模块 → 短剧卡墙 → 列表/分页 → 播放页 → 弹窗
   ----------------------------------------------------------------------------
   配色：
     页面背景  #0A0908 + 顶部极淡橙色光晕
     主文字    #F4F1EC   次文字 #9A948C   弱化 #6F6A63
     强调橙    #FF8A1E   亮橙 #FFB347   深橙 #FF6A00
     卡片描边  rgba(255,255,255,.06)
   ========================================================================== */

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #070605;
  color: #F4F1EC;
  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, 138, 30, .35); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0c0a09; }
::-webkit-scrollbar-thumb { background: #28221d; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #3a312a; }

#app {
  min-height: 100vh;
  background:
    radial-gradient(1100px 560px at 50% -180px, rgba(255, 122, 26, .13), rgba(255, 122, 26, 0) 70%),
    radial-gradient(900px 500px at 100% 30%, rgba(255, 90, 20, .045), rgba(255, 90, 20, 0) 70%),
    #0A0908;
  padding-bottom: 10px;
}

/* ---------- 工具类 ---------- */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 顶部导航（吸顶 + 暗色玻璃） ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 12, 10, .9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}
.head-inner { display: flex; align-items: center; height: 80px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; min-width: 0; }
.brand-mark { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 4px 14px rgba(255, 110, 0, .38)); }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.brand-txt strong {
  display: block; max-width: 260px;
  font-size: 22px; font-weight: 800; letter-spacing: 1.5px; color: #fff;
}
.brand-txt small {
  display: block; max-width: 240px; margin-top: 3px;
  font-size: 9px; font-weight: 400; letter-spacing: 1.7px; color: #8B8379; text-transform: lowercase;
}

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav-item {
  position: relative; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; color: #B9B3AB; transition: color .18s, background .18s;
}
.nav-item:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.nav-item.on { color: #FF8A1E; font-weight: 600; }
.nav-item.on::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 2px;
  margin-left: -9px; border-radius: 2px;
  background: linear-gradient(90deg, #FFB347, #FF6A00);
  box-shadow: 0 0 10px rgba(255, 138, 30, .85);
}

.head-tools { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.tool-btn {
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: #A8A29A; transition: color .18s, background .18s;
}
.tool-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool-btn:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.menu-toggle { display: none; }

/* 搜索面板 / 手机导航抽屉（都从 header 下沿展开） */
.search-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 12px 24px 14px;
  background: rgba(14, 12, 10, .98);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .55);
}
.search-panel[hidden] { display: none; }
.search-form {
  display: flex; align-items: center; gap: 10px;
  max-width: 640px; margin: 0 auto; height: 42px; padding: 0 5px 0 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
}
.search-form svg { width: 16px; height: 16px; flex: none; fill: none; stroke: #8A837A; stroke-width: 1.9; stroke-linecap: round; }
.search-form input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 14px; }
.search-form input::placeholder { color: #6F6A63; }
.search-form button {
  height: 32px; padding: 0 18px; border: 0; border-radius: 999px;
  background: linear-gradient(120deg, #FFB347, #FF6A00);
  color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 6px 16px rgba(255, 106, 0, .3);
}
.search-form button:active { filter: brightness(.95); }

.mobile-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  max-height: 72vh; overflow: auto;
  padding: 12px 24px 16px;
  background: rgba(14, 12, 10, .985);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .6);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 10px; border-radius: 10px;
  font-size: 14px; color: #CFC9C0;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mobile-nav a.on {
  color: #fff; font-weight: 600; border-color: transparent;
  background: linear-gradient(120deg, #FFB347, #FF6A00);
  box-shadow: 0 8px 20px rgba(255, 106, 0, .28);
}

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

/* ============================================================================
   顶部五大营销模块（JS 渲染；未配置的不显示，strip 默认带占位图）
   ========================================================================== */
#xmb7-top-modules { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
#xmb7-top-modules:empty { display: none; }

/* 幻灯片 */
.banner {
  position: relative; margin-top: 22px; border-radius: 12px; overflow: hidden;
  background: #17130F;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .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: 9px; 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, .28); transition: width .28s, background .28s;
}
.banner-dot.on { width: 16px; border-radius: 3px; background: #FF9A1F; box-shadow: 0 0 12px rgba(255, 138, 30, .8); }

/* 幻灯片下方横幅：默认 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: #17130F;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 12px 30px rgba(0, 0, 0, .45);
  transition: box-shadow .18s;
}
.strip-ad:hover { box-shadow: 0 0 0 1px rgba(255, 138, 30, .4), 0 14px 34px rgba(0, 0, 0, .5); }
.strip-ad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }

/* 金刚区 */
.icon-sec { margin-top: 18px; }
.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: #F4F1EC;
}
.sec-hd h2::before {
  content: ''; width: 3px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, #FFB347, #FF6A00);
  box-shadow: 0 0 10px rgba(255, 138, 30, .55);
}
.sec-sub { margin-left: auto; font-size: 12px; color: #6F6A63; }
.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: 11px 6px; border-radius: 12px;
  background: var(--c-soft, rgba(255, 138, 30, .14));
  border: 1px solid var(--c-line, rgba(255, 138, 30, .6));
  box-shadow: 0 0 14px var(--c-glow, rgba(255, 138, 30, .3)), inset 0 1px 1px rgba(255, 255, 255, .1);
}
.icon-card img { display: block; width: 44px; height: 44px; max-width: 100%; object-fit: contain; }
.icon-card:active { opacity: .8; }
.icon-name {
  display: block; width: 100%; max-width: 100%; text-align: center;
  font-size: 11.5px; font-weight: 500; color: #CBC5BD;
}

/* 双栏广告 */
.promo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.promo {
  position: relative; display: block; padding-top: 62.5%; border-radius: 12px; overflow: hidden;
  background: #17130F;
  box-shadow: 0 0 0 1px var(--c-line, rgba(255, 138, 30, .4)), 0 0 24px var(--c-glow, rgba(255, 106, 0, .25)), 0 10px 28px rgba(0, 0, 0, .45);
}
.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, .42));
}
.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: #FFEBD6; text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.promo-txt em { font-style: normal; font-size: 10px; font-weight: 500; color: #FFC49A; letter-spacing: .4px; }
.promo-txt b { font-size: 13px; font-weight: 600; }

/* 文字链 */
.link-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.link-card {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 9px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
  color: var(--c, #FFB347);
  background: var(--c-soft, rgba(255, 138, 30, .1));
  border: 1px solid var(--c-line, rgba(255, 138, 30, .28));
  box-shadow: 0 0 12px var(--c-glow, rgba(255, 106, 0, .12));
}
.link-card:active { opacity: .8; }

/* ============================================================================
   短剧卡墙（核心）
   ========================================================================== */
.v-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 18px; }
.v-card { display: flex; flex-direction: column; min-width: 0; }
.v-cover {
  position: relative; display: block; padding-top: 133.33%; /* 3:4 竖版 */
  border-radius: 10px; overflow: hidden; background: #16120F;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .38);
}
.v-cover img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1), filter .3s ease;
}
.v-cover::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.v-card:hover .v-cover img { transform: scale(1.045); filter: brightness(1.08); }
.v-badge {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  max-width: calc(100% - 16px); padding: 3px 7px; border-radius: 4px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #E9E5E0; font-size: 11px; line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.v-name {
  display: block; margin-top: 10px;
  font-size: 15px; font-weight: 600; line-height: 1.35; color: #F3F0EB;
  transition: color .18s;
}
.v-name:hover { color: #FF8A1E; }
.v-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 5px; font-size: 12px; color: #8F8A82;
}
.v-cat { min-width: 0; }
.v-more {
  display: inline-flex; align-items: center; gap: 2px; flex: none;
  color: #8F8A82; white-space: nowrap; transition: color .18s;
}
.v-more svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.v-card:hover .v-more { color: #FF8A1E; }

/* ---------- 列表标题 / 排序 / 空态 / 分页 ---------- */
.list-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.list-title { font-size: 22px; font-weight: 700; line-height: 1.3; color: #F4F1EC; min-width: 0; }
.list-bar .list-cnt { margin-left: auto; flex: none; }
.list-cnt { font-size: 12px; color: #7C766E; white-space: nowrap; }
.sort-tabs { display: flex; gap: 8px; margin: -4px 0 18px; }
.sort-tab {
  height: 32px; padding: 0 18px; border-radius: 999px;
  display: inline-flex; align-items: center;
  font-size: 12.5px; font-weight: 500; color: #9A948C;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  transition: color .18s, background .18s;
}
.sort-tab.on {
  color: #fff; font-weight: 600; border-color: transparent;
  background: linear-gradient(120deg, #FFB347, #FF6A00);
  box-shadow: 0 6px 18px rgba(255, 106, 0, .3);
}
.empty { padding: 80px 16px; text-align: center; font-size: 14px; color: #7C766E; }
.empty a { display: inline-block; margin-top: 10px; color: #FF9A1F; font-weight: 500; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 36px 16px 6px; font-size: 13px; }
.pager a {
  padding: 7px 14px; border-radius: 999px; color: #FF9A1F;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .18s, border-color .18s;
}
.pager a:hover { background: rgba(255, 138, 30, .14); border-color: rgba(255, 138, 30, .42); }
.pager .dis { padding: 7px 14px; color: #4A4641; }
.pager .pg-now { color: #7C766E; font-size: 12.5px; }

/* ---------- 页脚 / 返回顶部 ---------- */
.page-foot { margin-top: 52px; padding: 26px 0 36px; border-top: 1px solid rgba(255, 255, 255, .055); text-align: center; font-size: 12px; color: #5F5A54; }
.page-foot p { margin: 4px 0; line-height: 1.8; }
.page-foot a { color: #8B857D; transition: color .18s; }
.page-foot a:hover { color: #FF9A1F; }
.foot-links span { margin: 0 8px; color: #3E3934; }
.to-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 50;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #FFB347, #FF6A00);
  box-shadow: 0 10px 26px rgba(255, 106, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .3);
  color: #fff;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================================
   播放页
   ========================================================================== */
.play-main { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.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: #F6F3EE; }
.p-flag {
  display: inline-block; padding: 2px 8px; border-radius: 5px;
  font-size: 11px; font-weight: 600; color: #FFB35C;
  background: rgba(255, 138, 30, .14);
  border: 1px solid rgba(255, 138, 30, .35);
}
.p-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; color: #8F8A82; }
.p-meta a { color: #FFB35C; }
.p-meta i { font-style: normal; }
.p-cur { margin-top: 8px; font-size: 12.5px; color: #7C766E; }
.p-cur b { color: #FF8A1E; 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 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .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: #8F8A82;
  background: radial-gradient(circle at 50% 40%, rgba(255, 138, 30, .08), rgba(5, 4, 3, .96) 70%);
}
.p-loading::before {
  content: ''; width: 16px; height: 16px; margin-right: 9px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .16); border-top-color: #FF8A1E;
  animation: xmb7spin .8s linear infinite;
}
@keyframes xmb7spin { 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: #FFB35C;
  background: rgba(5, 4, 3, .92);
}
.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: .3; }
.p-noplay span {
  position: relative; z-index: 1; padding: 6px 14px;
  font-size: 12.5px; color: #C9C3BA;
  background: rgba(10, 9, 8, .75);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
}

.panel {
  margin-top: 14px; padding: 18px 20px; border-radius: 14px;
  background: rgba(255, 255, 255, .028);
  border: 1px solid rgba(255, 255, 255, .055);
}
.ep-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.ep {
  height: 36px; padding: 0 8px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; color: #A39D95;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: background .18s, color .18s;
}
.ep:hover { background: rgba(255, 138, 30, .12); color: #FFC58A; }
.ep.on {
  color: #fff; font-weight: 700; border-color: transparent;
  background: linear-gradient(120deg, #FFB347, #FF6A00);
  box-shadow: 0 0 18px rgba(255, 106, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.p-line { margin: 2px 0; font-size: 13px; line-height: 1.9; color: #A39D95; }
.p-line b { color: #7C766E; font-weight: 500; }
.p-intro { margin-top: 8px; font-size: 13px; line-height: 1.9; color: #A39D95; }

/* ---------- 纯图片弹窗（右上角 × / 遮罩 / Esc 关闭） ---------- */
.img-pop {
  position: fixed; inset: 0; z-index: 90000;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  background: rgba(4, 3, 2, .84);
  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: 16px;
  background: #16120F;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 36px rgba(255, 106, 0, .28), 0 24px 60px rgba(0, 0, 0, .7);
}
.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: #F4F1EC;
  background: rgba(16, 13, 11, .94);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55);
}
.img-pop-close:active { opacity: .75; }

/* ============================================================================
   响应式
   ========================================================================== */
@media (max-width: 1200px) {
  .v-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .head-inner { height: 68px; gap: 8px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-txt strong { font-size: 20px; }
  .head-tools { margin-left: auto; }
  .v-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
  .play-main { padding: 0 20px; }
  .ep-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
/* 窄屏广告位：金刚区 4 列、双栏广告 2 列 */
@media (max-width: 900px) {
  .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; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  #xmb7-top-modules { padding: 0 16px; }
  .head-inner { height: 64px; }
  .brand { gap: 8px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-txt strong { font-size: 20px; letter-spacing: 1px; max-width: 200px; }
  .brand-txt small { font-size: 8px; letter-spacing: 1px; max-width: 200px; }
  .page-main { padding: 14px 0 34px; }
  .v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .v-cover { border-radius: 8px; }
  .v-badge { left: 6px; top: 6px; padding: 2px 6px; font-size: 10px; max-width: calc(100% - 12px); }
  .v-name { margin-top: 8px; font-size: 14px; }
  .v-meta { margin-top: 4px; font-size: 11.5px; }
  .v-more { display: none; } /* 手机版与截图一致：只留分类 */
  .list-title { font-size: 19px; }
  .play-main { padding: 0 16px; }
  .p-title { font-size: 20px; }
  .p-meta { font-size: 12px; gap: 5px 11px; }
  .player-wrap { border-radius: 10px; margin-top: 13px; }
  .panel { padding: 15px 14px; border-radius: 12px; }
  .panel .sec-hd { margin-bottom: 11px; }
  .ep-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ep { height: 34px; }
  .page-foot { margin-top: 38px; padding: 22px 0 30px; }
  .to-top { right: 14px; bottom: 18px; width: 42px; height: 42px; }
  .search-panel { padding: 10px 16px 12px; }
  .mobile-nav { padding: 10px 16px 14px; }
  .banner { margin-top: 16px; }
  .strip-row { gap: 8px; margin-top: 10px; }
  .strip-ad { border-radius: 6px; }
  .icon-grid { gap: 8px; }
  .promo-grid { gap: 8px; }
}
@media (max-width: 420px) {
  .head-inner { height: 60px; }
  .brand-txt small { display: none; }
  .p-title { font-size: 18px; }
}
