/* ============ 网站版专用 ============ */
body.web { padding-bottom: 0; }

/* 顶部导航 */
.topbar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 28px;
  padding: 0 32px; height: 66px;
  background: rgba(11,11,15,.86); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 900; letter-spacing: -.4px; flex: 0 0 auto; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg,var(--brand),var(--brand-2));
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  box-shadow: 0 4px 14px rgba(255,46,77,.4);
}
.logo b { background: linear-gradient(90deg,#fff,#ffb3bf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 4px; flex: 1 1 auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--txt-2); transition: .16s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-links a.on { color: #fff; background: rgba(255,255,255,.1); }
.top-search {
  display: flex; align-items: center; gap: 9px; flex: 0 1 300px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; transition: .18s;
}
.top-search:focus-within { border-color: #3a3a4c; background: #1f1f2a; }
.top-search input { flex: 1; background: none; border: 0; outline: 0; color: #fff; font-size: 13.5px; font-family: inherit; }
.top-search input::placeholder { color: var(--txt-3); }
.top-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.coin-pill {
  display: flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  background: linear-gradient(135deg,rgba(255,197,61,.18),rgba(255,107,61,.14));
  border: 1px solid rgba(255,197,61,.32); font-size: 13px; font-weight: 800; color: var(--gold);
}
.avatar-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg,var(--purple),var(--brand));
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}

/* 主容器 */
.wrap { max-width: 1340px; margin: 0 auto; padding: 0 32px 80px; }

/* ===== 品牌口号带（2026-10-06 定档：漫境 AiReelToon —— 故事拍好了，漫境开场） ===== */
.brand-bar {
  display: flex; align-items: center; gap: 10px; width: fit-content;
  margin: 24px 0 0; padding: 10px 20px 10px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 46, 77, .16) 0%, rgba(124, 58, 237, .12) 46%, rgba(20, 20, 27, 0) 92%);
  font-size: 13px; letter-spacing: .2px; color: var(--txt-2);
}
.brand-bar .bb-mark { font-size: 15px; line-height: 1; }
.brand-bar .bb-name { color: #fff; font-weight: 800; letter-spacing: 0; }
.brand-bar .bb-sep { width: 1px; height: 13px; background: var(--line); }
.brand-bar .bb-slogan {
  font-weight: 800; letter-spacing: .5px;
  background: linear-gradient(90deg, var(--brand) 10%, var(--gold) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--brand);
}
.brand-bar + .hero { margin-top: 14px; }
#view { min-height: 60vh; }

/* Hero 轮播 */
.hero { position: relative; margin: 26px 0 40px; border-radius: var(--r-lg); overflow: hidden; height: 400px; box-shadow: var(--shadow); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; }
.hero-slide.on { opacity: 1; }
.hero-slide .bg { position: absolute; inset: 0; }
.hero-slide .bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 30%, rgba(255,255,255,.18), transparent 55%);
}
.hero-slide .grad { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,12,.96) 0%, rgba(8,8,12,.82) 38%, rgba(8,8,12,.25) 68%, rgba(8,8,12,.6) 100%); }
.hero-body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 44px 52px; max-width: 620px; }
.hero-body .kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.hero-body h1 { margin: 0 0 12px; font-size: 42px; line-height: 1.1; font-weight: 900; letter-spacing: -1px; }
.hero-body .sub { font-size: 14px; color: #cfcfda; line-height: 1.7; margin-bottom: 22px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 13px; color: var(--txt-2); }
.hero-cta { display: flex; gap: 12px; }
.hero-dots { position: absolute; right: 40px; bottom: 30px; display: flex; gap: 8px; z-index: 4; }
.hero-dots i { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.35); transition: .3s; cursor: pointer; }
.hero-dots i.on { width: 26px; background: var(--brand); }

/* 分类快捷入口 */
.cat-grid { display: grid; grid-template-columns: repeat(10,1fr); gap: 12px; margin-bottom: 42px; }
.cat-cell {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 8px; text-align: center; transition: .18s; cursor: pointer;
}
.cat-cell:hover { background: var(--bg-3); transform: translateY(-3px); border-color: #33334a; }
.cat-cell .em { font-size: 24px; }
.cat-cell .nm { margin-top: 8px; font-size: 12.5px; font-weight: 600; }

/* 区块 */
.section { margin-bottom: 46px; }

/* 榜单页（布局微调，基础样式在 app.css） */
.rank-intro { white-space: nowrap; text-overflow: ellipsis; }

/* 分类浏览页 */
.browse-bar { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 22px; }
.browse-bar::-webkit-scrollbar { display: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 20px 16px; }
.grid .card { width: 100%; }

/* 详情页 */
.detail { display: grid; grid-template-columns: 300px 1fr; gap: 42px; padding: 34px 0 20px; }
.detail-cover { position: sticky; top: 92px; align-self: start; }
.detail-cover .cover { width: 100%; aspect-ratio: 3/4.2; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.detail-cover .cover::after { display: none; }
.detail-cover .cover .ph { font-size: 46px; }
.detail h1 { margin: 0 0 8px; font-size: 34px; font-weight: 900; letter-spacing: -.6px; line-height: 1.15; }
.detail .en { color: var(--txt-3); font-size: 14px; margin-bottom: 18px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.detail-stats { display: flex; gap: 26px; margin-bottom: 22px; flex-wrap: wrap; }
.stat { }
.stat .v { font-size: 19px; font-weight: 800; }
.stat .k { font-size: 11.5px; color: var(--txt-3); margin-top: 3px; }
.detail-intro { font-size: 14px; line-height: 1.85; color: #c4c4d2; margin-bottom: 26px; }
.detail-actions { display: flex; gap: 12px; margin-bottom: 34px; flex-wrap: wrap; }
/* 演员阵容（基础在 app.css） */
.detail .cast { margin-bottom: 30px; }

/* 集数列表 */
.ep-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ep-head h3 { margin: 0; font-size: 17px; font-weight: 800; }
.ep-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(106px,1fr)); gap: 10px; }
.ep-cell {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px;
  padding: 12px 10px; text-align: left; transition: .16s; position: relative; cursor: pointer;
}
.ep-cell:hover { background: var(--bg-3); border-color: #3a3a52; }
.ep-cell .n { font-size: 13.5px; font-weight: 700; }
.ep-cell .d { font-size: 11px; color: var(--txt-3); margin-top: 4px; }
.ep-cell.locked .n { color: var(--txt-2); }
.ep-cell .lock { position: absolute; right: 9px; top: 11px; font-size: 11px; opacity: .8; }
.ep-cell.cur { border-color: var(--brand); background: rgba(255,46,77,.09); }
.ep-cell.cur .n { color: var(--brand); }
.ep-more { grid-column: 1/-1; text-align: center; padding: 14px; color: var(--txt-3); font-size: 13px; cursor: pointer; }
.ep-more:hover { color: #fff; }

/* 我的片单（基础在 app.css） */

/* 个人中心 */
.profile-hero {
  display: flex; align-items: center; gap: 24px; padding: 32px;
  background: linear-gradient(120deg, #1a1a26, #14141b 60%); border: 1px solid var(--line);
  border-radius: var(--r-lg); margin: 26px 0 30px;
}
.profile-name { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.profile-sub { font-size: 13px; color: var(--txt-2); }
.profile-stats { display: flex; gap: 34px; margin-left: auto; }
.profile-stats .v { font-size: 22px; font-weight: 800; text-align: center; }
.profile-stats .k { font-size: 11.5px; color: var(--txt-3); margin-top: 4px; text-align: center; }

/* 设置列表（基础在 app.css） */

/* 搜索页 */
.search-head { padding: 26px 0 8px; }
.search-head h1 { margin: 0 0 18px; font-size: 25px; font-weight: 800; }

/* 页脚 */
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 32px; text-align: center; color: var(--txt-3); font-size: 12.5px; }
.foot a { color: var(--txt-2); margin: 0 8px; }

/* 进度条（基础在 app.css） */

/* 响应式 */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(5,1fr); }
  .detail { grid-template-columns: 240px 1fr; gap: 28px; }
  .nav-links { display: none; }
}
@media (max-width: 860px) {
  .topbar { padding: 0 18px; gap: 14px; }
  .top-search { flex: 1 1 auto; }
  .wrap { padding: 0 18px 60px; }
  .hero { height: 330px; }
  .hero-body { padding: 28px 24px; }
  .hero-body h1 { font-size: 28px; }
  .detail { grid-template-columns: 1fr; }
  .detail-cover { position: static; max-width: 190px; }
  .profile-hero { flex-wrap: wrap; }
  .profile-stats { margin-left: 0; width: 100%; }
  .cat-grid { grid-template-columns: repeat(4,1fr); }
  .hero-dots { right: 20px; bottom: 18px; }
}
