/* 视频频道（B 站式） · 2026-12 */

.ch{width:calc(100% - 56px);max-width:1360px;margin:0 auto;padding:20px 0 52px;position:relative}

/* 顶部分类条 */
.ch-bar{display:flex;align-items:center;gap:18px;position:sticky;top:0;z-index:20;
  padding:12px 0 14px;margin:0 0 22px;background:rgba(255,255,255,.82);backdrop-filter:saturate(150%) blur(16px)}
.ch-tabs{display:flex;flex-wrap:wrap;gap:8px;flex:1;min-width:0}
.ch-tabs a{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:10px;
  font-size:13.5px;color:#4b5568;background:#fff;border:1px solid #e8ecf6;transition:border-color .18s,transform .18s,box-shadow .18s;white-space:nowrap}
.ch-tabs a span{font-size:11.5px;color:#9aa1bb}
.ch-tabs a:hover{border-color:#c7d2fe;color:#4f46e5;transform:translateY(-1px)}
.ch-tabs a.on{background:linear-gradient(135deg,#4f46e5,#6366f1);border-color:transparent;color:#fff;box-shadow:0 6px 16px -6px rgba(79,70,229,.6)}
.ch-tabs a.on span{color:rgba(255,255,255,.78)}
.ch-search{display:flex;align-items:center;gap:8px;width:290px;flex:0 0 auto;background:#fff;
  border:1px solid #e8ecf6;border-radius:11px;padding:0 6px 0 12px;height:38px}
.ch-search .i{width:16px;height:16px;fill:none;stroke:#9aa1bb;stroke-width:1.7}
.ch-search input{flex:1;min-width:0;border:0;outline:0;height:34px;font-size:13px;color:#1f2333;background:transparent}
.ch-search button{border:0;height:28px;padding:0 12px;border-radius:8px;font-size:12.5px;color:#fff;
  background:linear-gradient(135deg,#4f46e5,#6366f1);cursor:pointer}

/* 首屏：大图 + 热门榜 */
.ch-top{display:grid;grid-template-columns:minmax(0,1fr) 356px;gap:24px;margin-bottom:38px}
.ch-hero{position:relative;display:block;border-radius:20px;overflow:hidden;background:#0f1222;
  box-shadow:0 26px 60px -34px rgba(24,32,72,.55);aspect-ratio:16/7.4}
.ch-hero img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.01)}
.ch-hero-mask{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,11,26,.97) 0%,rgba(8,11,26,.9) 38%,rgba(8,11,26,.45) 66%,rgba(8,11,26,.02) 100%)}
.ch-hero-txt{position:absolute;left:0;bottom:0;top:0;display:flex;flex-direction:column;justify-content:center;
  gap:10px;padding:0 48px;max-width:70%}
.ch-badge{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;height:26px;padding:0 11px;
  border-radius:8px;background:rgba(99,102,241,.9);color:#fff;font-size:12px;letter-spacing:.3px}
.ch-badge .i{width:13px;height:13px;fill:none;stroke:#fff;stroke-width:1.7}
.ch-hero-txt h1,.ch-hero-txt .ch-hero-title{font-size:27px;line-height:1.36;color:#fff;margin:2px 0 0;letter-spacing:-.5px;max-width:94%;text-shadow:0 2px 18px rgba(0,0,0,.45);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ch-hero-txt p{margin:0;font-size:14px;line-height:1.7;color:rgba(255,255,255,.74);max-width:92%;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ch-hero-meta{display:flex;gap:18px;font-size:12.5px;color:rgba(255,255,255,.62);margin-top:2px}
.ch-hero-play{position:absolute;right:6.4%;top:50%;transform:translateY(-50%);width:70px;height:70px;border-radius:50%;
  display:grid;place-items:center;background:rgba(255,255,255,.92);box-shadow:0 18px 40px -12px rgba(0,0,0,.5);transition:.25s}
.ch-hero-play .i{width:24px;height:24px;fill:#4f46e5}
.ch-hero:hover .ch-hero-play{transform:translateY(-50%) scale(1.08);background:#fff}

.ch-rank{background:#fff;border:1px solid #e8ecf6;border-radius:18px;padding:16px 16px 12px;
  box-shadow:0 20px 50px -34px rgba(24,32,72,.3);display:flex;flex-direction:column}
.ch-rank-head{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:600;color:#1f2333;padding:2px 4px 12px}
.ch-rank-head .i{width:16px;height:16px;fill:none;stroke:#f59e0b;stroke-width:1.7}
.ch-rank ol{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px}
.ch-rank li a{display:grid;grid-template-columns:22px 62px minmax(0,1fr) auto;align-items:center;gap:10px;
  padding:7px 6px;border-radius:10px;transition:.18s}
.ch-rank li a:hover{background:#f6f7fe}
.ch-rank em{font-style:normal;font-size:13px;font-weight:600;color:#9aa1bb;text-align:center}
.ch-rank em.top{color:#fff;background:linear-gradient(135deg,#f97316,#fb923c);border-radius:6px;
  display:inline-flex;justify-content:center;width:22px;height:20px;line-height:20px;font-size:12px}
.ch-rank .c-rank-thumb{width:62px;height:38px;border-radius:7px;overflow:hidden;display:block;background:#eef1f8}
.ch-rank .c-rank-thumb img{width:100%;height:100%;object-fit:cover}
.ch-rank b{font-size:13px;font-weight:500;color:#2b3040;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-rank span{font-size:11.5px;color:#9aa1bb;white-space:nowrap}
.ch-rank-more{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:4px;height:34px;
  font-size:12.5px;color:#4f46e5;border-top:1px dashed #eef0f7;padding-top:10px}
.ch-rank-more .i{width:13px;height:13px;fill:none;stroke:#4f46e5;stroke-width:1.7}

/* 区块标题 */
.ch-sec{margin-bottom:40px}
.ch-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px;gap:16px}
.ch-head h1,.ch-head h2{margin:0;font-size:20px;letter-spacing:-.4px;color:#171a26;display:flex;align-items:center;gap:9px}
.ch-head h1 em,.ch-head h2 em{font-style:normal;font-size:12px;font-weight:500;color:#6b7189;background:#f3f5fc;
  border-radius:7px;padding:3px 8px}
.ch-head .ch-cnt{font-style:normal;font-size:12px;font-weight:500;color:#6b7189;background:#f3f5fc;border-radius:7px;padding:3px 8px}
.ch-head-r{font-size:12.5px;color:#9aa1bb;display:flex;align-items:center;gap:12px}
.ch-refresh{display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 12px;border-radius:9px;
  background:#fff;border:1px solid #e8ecf6;font-size:12.5px;color:#4f46e5;cursor:pointer;transition:.18s}
.ch-refresh:hover{border-color:#c7d2fe;background:#f6f7ff}
.ch-refresh .i{width:13px;height:13px;fill:none;stroke:#4f46e5;stroke-width:1.7}

/* 视频网格 */
.ch-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 18px}
.ch-card{display:block}
.ch-card .c-thumb{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#eef1f8;
  box-shadow:0 8px 22px -16px rgba(24,32,72,.4);transition:transform .2s,box-shadow .2s}
.ch-card .c-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.ch-card:hover .c-thumb{transform:translateY(-4px);box-shadow:0 18px 34px -18px rgba(24,32,72,.45)}
.ch-card:hover .c-thumb img{transform:scale(1.05)}
.ch-card .c-dur{position:absolute;right:8px;bottom:8px;height:20px;padding:0 7px;border-radius:6px;
  display:flex;align-items:center;font-size:11.5px;color:#fff;background:rgba(12,15,32,.72);backdrop-filter:blur(4px)}
.ch-card .c-play{position:absolute;inset:0;display:grid;place-items:center;opacity:0;transition:.2s;
  background:linear-gradient(180deg,rgba(12,15,32,.05),rgba(12,15,32,.35))}
.ch-card .c-play .i{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.94);
  display:grid;place-items:center;fill:#4f46e5;padding:11px;box-sizing:border-box;box-shadow:0 10px 24px -10px rgba(0,0,0,.5)}
.ch-card:hover .c-play{opacity:1}
.ch-card .c-title{margin:9px 0 5px;font-size:13.5px;line-height:1.5;color:#22263a;font-weight:500;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}
.ch-card .c-meta{display:flex;align-items:center;gap:8px;font-size:11.5px;color:#9aa1bb;flex-wrap:wrap}
.ch-card .c-cat{color:#4f46e5;background:#eef1ff;border-radius:5px;padding:2px 6px}

/* 猜你喜欢 */
.ch-rec{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 18px;min-height:170px;transition:.3s}
.ch-rec.is-loading{opacity:.55}
.ch-rec.flash .ch-rec-item{animation:recIn .5s ease both}
.ch-rec-item{display:block}
.ch-rec-item .c-thumb{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#eef1f8}
.ch-rec-item .c-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.ch-rec-item:hover .c-thumb img{transform:scale(1.05)}
.ch-rec-item .c-dur{position:absolute;right:8px;bottom:8px;height:20px;padding:0 7px;border-radius:6px;
  display:flex;align-items:center;font-size:11.5px;color:#fff;background:rgba(12,15,32,.72)}
.ch-rec-item .c-play{position:absolute;inset:0;display:grid;place-items:center;opacity:0;transition:.2s;
  background:linear-gradient(180deg,rgba(12,15,32,.05),rgba(12,15,32,.35))}
.ch-rec-item .c-play .i{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.94);
  fill:#4f46e5;padding:10px;box-sizing:border-box}
.ch-rec-item:hover .c-play{opacity:1}
.ch-rec-item .c-title{margin:9px 0 5px;font-size:13.5px;line-height:1.5;color:#22263a;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}
.ch-rec-item .c-meta{display:flex;align-items:center;gap:8px;font-size:11.5px;color:#9aa1bb}
.ch-rec-item .c-reason{color:#0f9d76;background:#e9fbf4;border-radius:5px;padding:2px 6px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:110px}
.ch-rec-item.sk{border-radius:12px;background:#f3f5fb}
.ch-rec-item.sk::before{content:'';display:block;aspect-ratio:16/9;border-radius:12px;background:#f3f5fb}
.ch-rec-empty{grid-column:1/-1;padding:26px 0;color:#6b7189;font-size:13px}
.ch-rec-empty a{color:#4f46e5}

@keyframes recIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* 底部 CTA 与页脚 */
.ch-foot-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:6px 0 40px;
  padding:26px 30px;border-radius:20px;background:linear-gradient(135deg,#eef2ff,#e6f6ff);border:1px solid #e2e9fb}
.ch-foot-cta b{display:block;font-size:17px;color:#1b1f30;margin-bottom:6px}
.ch-foot-cta span{font-size:13px;color:#5b6178}
.ch-foot-cta a{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 20px;border-radius:11px;
  font-size:13.5px;color:#fff;background:linear-gradient(135deg,#4f46e5,#6366f1,#0ea5e9);white-space:nowrap;
  box-shadow:0 14px 30px -16px rgba(79,70,229,.8)}
.ch-foot-cta a .i{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:1.8}

.vh-foot{display:flex;justify-content:space-between;font-size:12.5px;color:#8b91a8;padding-top:22px}

@media (max-width:1180px){
  .ch-grid,.ch-rec{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ch-top{grid-template-columns:minmax(0,1fr) 320px}
}

/* ============ 搜索结果页 & 频道搜索联想（2026-12） ============ */
.sr{width:calc(100% - 56px);max-width:1260px;margin:0 auto;padding:24px 0 50px}
.sr-bar{background:linear-gradient(135deg,#f4f6ff,#eef8ff);border:1px solid #e6ecfb;border-radius:18px;
  padding:20px 22px 16px;margin-bottom:20px}
.sr-input{display:flex;align-items:center;gap:10px;height:54px;background:#fff;border-radius:13px;
  padding:0 8px 0 16px;box-shadow:0 12px 30px -22px rgba(24,32,72,.5);border:1px solid #eef1f8}
.sr-input .i{width:19px;height:19px;fill:none;stroke:#9aa1bb;stroke-width:1.8}
.sr-input input{flex:1;min-width:0;border:0;outline:0;font-size:15px;color:#1c2032;background:transparent}
.sr-input button{height:38px;padding:0 22px;border:0;border-radius:10px;color:#fff;font-size:13.5px;cursor:pointer;
  background:linear-gradient(135deg,#4f46e5,#6366f1,#0ea5e9)}
.sr-hot-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px;font-size:12.5px;color:#6b7189}
.sr-hot-row span{color:#9aa1bb}
.sr-hot-row a{height:26px;padding:0 10px;border-radius:8px;background:#fff;border:1px solid #eaeefa;
  display:inline-flex;align-items:center;color:#4b5168;transition:.16s}
.sr-hot-row a:hover{border-color:#c7d2fe;color:#4f46e5}
.sr-hot-row a.on{background:#4f46e5;border-color:#4f46e5;color:#fff}

.sr-head{display:flex;align-items:center;justify-content:space-between;margin:4px 0 18px}
.sr-sorts{display:flex;gap:6px}
.sr-sorts a{height:32px;padding:0 14px;border-radius:9px;display:inline-flex;align-items:center;
  font-size:13px;color:#5a6076;background:#f6f7fb;border:1px solid transparent}
.sr-sorts a:hover{color:#4f46e5}
.sr-sorts a.on{background:#fff;border-color:#dfe5ff;color:#4f46e5;box-shadow:0 6px 16px -12px rgba(79,70,229,.7)}
.sr-total{font-size:12.5px;color:#9aa1bb}
.sr-total b{color:#4f46e5;font-weight:600}

.sr-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 20px}
.sr-card{display:flex;flex-direction:column;background:#fff;border:1px solid #eff2f9;border-radius:14px;padding:10px;transition:.2s}
.sr-card:hover{border-color:#dfe6fb;box-shadow:0 18px 40px -28px rgba(24,32,72,.5);transform:translateY(-3px)}
.sr-card .c-thumb{position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#eef1f8}
.sr-card .c-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.sr-card:hover .c-thumb img{transform:scale(1.04)}
.sr-card .c-dur{position:absolute;right:8px;bottom:8px;height:20px;padding:0 7px;border-radius:6px;
  display:flex;align-items:center;font-size:11.5px;color:#fff;background:rgba(12,15,32,.72)}
.sr-card .c-play{position:absolute;inset:0;display:grid;place-items:center;opacity:0;transition:.2s;
  background:linear-gradient(180deg,rgba(12,15,32,.04),rgba(12,15,32,.3))}
.sr-card .c-play .i{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.94);fill:#4f46e5;padding:10px;box-sizing:border-box}
.sr-card:hover .c-play{opacity:1}
.sr-title{margin:10px 0 6px;font-size:14px;line-height:1.5;color:#1f2333;font-weight:600;min-height:42px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sr-desc{font-size:12.5px;line-height:1.6;color:#7b8194;display:-webkit-box;-webkit-line-clamp:2;min-height:40px;
  -webkit-box-orient:vertical;overflow:hidden;margin-bottom:8px}
.sr-card .c-meta{display:flex;align-items:center;gap:8px;font-size:11.5px;color:#9aa1bb;flex-wrap:wrap}
.sr-card .c-cat{color:#4f46e5;background:#eef1ff;border-radius:5px;padding:2px 6px}
.hl{font-style:normal;color:#b45309;background:linear-gradient(180deg,transparent 62%,#fde68a 62%)}
.sr-empty{grid-column:1/-1;padding:40px 8px 50px;text-align:center}
.sr-empty b{display:block;font-size:16px;color:#2a2f45;margin-bottom:8px}
.sr-empty span{font-size:13px;color:#8b91a8}
.sr-hot{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:16px}
.sr-hot a{height:32px;padding:0 14px;border-radius:9px;background:#f4f6ff;color:#4f46e5;display:inline-flex;align-items:center;font-size:13px}

/* 频道搜索下拉 */
.ch-search{position:relative}
.ch-sug{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:40;background:#fff;border:1px solid #e8ecf7;
  border-radius:14px;box-shadow:0 26px 50px -26px rgba(24,32,72,.45);padding:8px;min-width:320px}
.ch-sug[hidden]{display:none}
.ch-sug .sg-cap{font-size:11.5px;color:#9aa1bb;padding:6px 8px 4px}
.ch-sug .sg-hot{display:flex;flex-wrap:wrap;gap:6px;padding:2px 8px 8px}
.ch-sug .sg-hot a{height:26px;padding:0 10px;border-radius:8px;background:#f4f6ff;color:#4b5168;font-size:12px;display:inline-flex;align-items:center}
.ch-sug .sg-hot a:hover{background:#e8ecff;color:#4f46e5}
.ch-sug a.sg-item{display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;align-items:center;
  padding:7px 8px;border-radius:9px;transition:.15s}
.ch-sug a.sg-item:hover{background:#f6f7fe}
.ch-sug a.sg-item img{width:74px;height:42px;border-radius:7px;object-fit:cover}
.ch-sug a.sg-item b{font-size:12.5px;font-weight:500;color:#22263a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.ch-sug a.sg-item em{font-style:normal;font-size:11px;color:#9aa1bb;display:block;margin-top:3px}
.ch-sug .sg-more{display:block;text-align:center;padding:8px;font-size:12px;color:#4f46e5;border-top:1px dashed #eef0f7;margin-top:4px}

/* ============ 热搜榜（B 站式） ============ */
.sg-cap .sg-sub{font-weight:400;color:#b3b9cd;margin-left:6px;font-size:11px}
.sg-cap .sg-clear{margin-left:auto;color:#b3b9cd;font-size:11px;cursor:pointer}
.sg-cap{display:flex;align-items:center}
.sg-rank{list-style:none;margin:0;padding:0 2px 2px}
.sg-rank li a{display:flex;align-items:center;gap:9px;padding:7px 8px;border-radius:8px;transition:.15s}
.sg-rank li a:hover{background:#f6f7fe}
.sg-rank .rk{width:18px;text-align:center;font-size:12px;font-weight:600;color:#b3b9cd;font-variant-numeric:tabular-nums}
.sg-rank .rk.top{color:#f04438}
.sg-rank .rk.top:nth-child(1){color:#f04438}
.sg-rank .kw{flex:1;min-width:0;font-size:13px;color:#242838;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-rank .bd{font-style:normal;font-size:10px;line-height:16px;padding:0 5px;border-radius:4px;color:#fff}
.sg-rank .bd.hot{background:linear-gradient(135deg,#ff6a3d,#f04438)}
.sg-rank .bd.new{background:linear-gradient(135deg,#4f46e5,#0ea5e9)}
.sg-rank .cnt{font-size:11px;color:#b3b9cd}
.sg-swap{width:100%;height:32px;margin-top:4px;border:0;border-radius:8px;background:#f5f6fb;color:#5a6076;font-size:12px;cursor:pointer}
.sg-swap:hover{background:#eef1ff;color:#4f46e5}
.sg-none{padding:12px 8px 6px;font-size:12px;color:#9aa1bb}

/* 搜索页热词行里的排名徽标 */
.sr-hot-row a .rk,.sr-hot .rk{display:inline-flex;align-items:center;justify-content:center;min-width:15px;height:15px;
  margin-right:5px;border-radius:4px;font-size:10.5px;font-style:normal;font-weight:600;color:#9aa1bb;background:#eef1f8}
.sr-hot-row a .rk.top{background:#ffe8e5;color:#e2402f}
.sr-hot-row a.on .rk{background:rgba(255,255,255,.22);color:#fff}
.sr-hot-row a .bd,.sr-hot .bd{font-style:normal;font-size:10px;line-height:15px;padding:0 4px;border-radius:4px;margin-left:4px}
.sr-hot-row a .bd.hot,.sr-hot .bd.hot{background:#ffe8e5;color:#e2402f}
.sr-hot-row a .bd.new,.sr-hot .bd.new{background:#e8ecff;color:#4f46e5}

/* 英文/繁体分类标签较长，保持单行横向滚动，避免只剩一个分类换到第二行 */
body.lang-en-us .ch-cats,body.lang-zh-hk .ch-cats{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}
body.lang-en-us .ch-cats::-webkit-scrollbar,body.lang-zh-hk .ch-cats::-webkit-scrollbar{display:none}
