@charset "UTF-8";
/* ============================================================================
   portal / style.css —— 「双栏门户」主题层
   视觉公式：浅灰白底 + 蓝色频道通栏 + 红色热榜大数字 + 高密度双栏。
   ========================================================================== */

:root {
  --bg: #f5f6f8;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --fg: #23262e;
  --fg-2: #4b5160;
  --muted: #8b919f;
  --line: #e7e9ee;
  --brand: #1d4ed8;
  --brand-fg: #ffffff;
  --brand-soft: rgba(29, 78, 216, .08);
  --accent: #ef4444;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 3px rgba(20, 24, 34, .05);
  --shadow-hover: 0 8px 24px rgba(20, 24, 34, .12);
  --font: "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  --font-title: var(--font);
  --wrap: 1260px;
}
body { font-size: 14px; }

/* ------------------------------------------------------------ 头部：LOGO 行 + 蓝色频道通栏 */
/* 注意：这里不能写 position: static —— static 是非定位元素，_base 里 .hdr 的
   z-index 会随之失效，任何 absolute 装饰层（如详情页的 .pt-backdrop）都会画到
   头部上面，表现为"顶部导航看得见却点不到"。relative 不吸顶的视觉效果不变，
   但层级恢复正常。 */
.hdr {
  position: relative; z-index: 10;
  background: #ffffff;
  border-bottom: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.hdr-in {
  display: flex; align-items: center; gap: 20px;
  min-height: 64px; padding-top: 10px; padding-bottom: 10px;
}
.brand { gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 12px rgba(29, 78, 216, .3);
}
.brand-mark::after {
  content: ""; display: block; width: 12px; height: 12px; margin: 11px;
  border: 3px solid #fff; border-radius: 50%;
  box-sizing: content-box;
}
.brand-mark { position: relative; }
.brand-text { font-size: 22px; font-weight: 900; color: #1a1d24; letter-spacing: .01em; }
.hdr .search {
  order: 3; margin-left: auto; flex: 1; max-width: 460px;
  display: flex; border: 2px solid #1d4ed8; border-radius: 8px; overflow: hidden;
  background: #fff;
}
.hdr .search input {
  flex: 1; border: 0; padding: 9px 14px; background: #fff; color: var(--fg); outline: none;
}
.hdr .search input::placeholder { color: var(--muted); }
.hdr .search button {
  border: 0; padding: 0 26px;
  background: #1d4ed8; color: #fff; font-weight: 700;
}
.hdr .search button:hover { background: #1e40af; }

.pt-channels {
  background: linear-gradient(90deg, #1d4ed8, #2563eb 55%, #1e40af);
}
.pt-channels-in {
  display: flex; gap: 2px; overflow-x: auto;
  scrollbar-width: none;
}
.pt-channels-in::-webkit-scrollbar { display: none; }
.pt-channels-in a {
  flex: none; padding: 11px 20px;
  color: rgba(255, 255, 255, .85); font-size: 15px; font-weight: 600;
  border-bottom: 3px solid transparent; transition: all .15s ease;
}
.pt-channels-in a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.pt-channels-in a.on { color: #fff; background: rgba(255, 255, 255, .14); border-bottom-color: #ffd34d; }

.breadcrumb a, .breadcrumb .crumb-sep { color: var(--muted); }
.breadcrumb .crumb-cur { color: var(--fg); }
.skip { background: #1d4ed8; }

/* ------------------------------------------------------------ 焦点区 */
.pt-focus { padding: 16px 0 4px; }
.pt-focus-in {
  /* minmax(0,1fr)：fr 轨道默认下限是内容最小宽度，速览卡标题不换行会把
     轨道撑出视口 → 整页横向溢出、底部导航被推出屏幕。0 下限允许收缩。 */
  display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  /* 关键：两列都要 minmax(0, …)。曾经只写 2fr 1fr，fr 轨道的下限是 min-content，
     大图列被前景海报的固有宽度撑开，把右栏挤成一条缝、内容被压在下面。
     轮播按要求再收窄：左 1.6fr、右栏固定 420px（6 部速览 2 列 + 热评框）。 */
  .pt-focus-in { grid-template-columns: minmax(0, 1.6fr) minmax(0, 420px); }
  /* 右栏固定 6 部（3 行 × 2 列 ≈ 350px）+ 底部热评框；
     左栏大图改为跟随行高（底图铺满、海报居中完整显示），两边等高不留白。
     ⚠ 特异性必须高于下方 .pt-focus-main 基础规则（aspect-ratio:16/7）——
       基础规则在文件更靠后，同特异性会被覆盖：大图被 16/7 拉到
       高×16/7 的宽度（≈1340px）横向溢出，盖住整个右栏（PC 端错位真凶）。 */
  .pt-focus-side { align-content: space-between; }
  .pt-focus .pt-focus-main { aspect-ratio: auto; height: 100%; min-height: 360px; }
}
.pt-focus-main {
  position: relative; display: block;
  aspect-ratio: 16 / 7; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, #dfe5f2, #cdd6ea);
  box-shadow: var(--shadow);
}
/* 高清轮播：底图满幅，前景海报不裁切不拉伸 */
.pt-focus-main .pt-focus-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(32px) saturate(150%) brightness(.62); transform: scale(1.15);
}
.pt-focus-main .pt-focus-pic {
  position: absolute; inset: 0; margin: auto 4% auto auto;
  width: auto; height: auto; max-width: 42%; max-height: min(94%, 640px);   /* 大图展示：尽量占满轮播高度，比例完整不裁切 */
  object-fit: contain; object-position: center;
}
@media (max-width: 720px) {
  .pt-focus-main .pt-focus-pic { max-width: 40%; max-height: min(74%, 640px); margin-right: 3%; opacity: .95; }
}
.pt-focus-cap {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 44px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(16, 20, 32, .48) 30%, rgba(16, 20, 32, .9));
  color: #fff;
}
.pt-focus-kind {
  padding: 2px 10px; border-radius: 3px;
  background: #ef4444; font-size: 12px; font-weight: 700;
}
.pt-focus-name { font-size: clamp(20px, 3vw, 30px); font-weight: 800; line-height: 1.25; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.pt-focus-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,.85); }
.pt-focus-meta em { font-style: normal; color: #ffd34d; font-weight: 700; }
.pt-focus-meta i { font-style: normal; }
.pt-focus-desc {
  font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.78);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pt-focus-btn {
  margin-top: 6px; padding: 8px 26px; border-radius: 6px;
  background: linear-gradient(135deg, #ff5a5f, #ef4444);
  font-size: 14px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(239, 68, 68, .4);
}
.pt-focus-main:hover .pt-focus-btn { filter: brightness(1.08); }

.pt-focus-side {
  display: grid; gap: 10px; align-content: start;
  /* minmax(0,1fr)：卡片标题 nowrap 的 min-content 很大，1fr 会撑破窄屏视口 */
  grid-template-columns: repeat(2, minmax(0, 1fr));   /* 手机端就两列，单列时卡片右侧大片空白 */
}
.pt-focus-item {
  display: flex; gap: 10px; align-items: center;
  padding: 9px; border-radius: 8px;
  background: #fff; border: 1px solid var(--line);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.pt-focus-item:hover { border-color: #b9c8f0; box-shadow: var(--shadow-hover); }
.pt-focus-thumb {
  flex: none; width: 56px; height: 76px; border-radius: 5px; overflow: hidden;
  background: #e8ebf2;
}
.pt-focus-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pt-focus-txt { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.pt-focus-txt strong {
  font-size: 14px; color: var(--fg);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pt-focus-item:hover .pt-focus-txt strong { color: #1d4ed8; }
.pt-focus-sub { color: var(--muted); font-size: 12px; }
@media (min-width: 560px) {
  .pt-focus-thumb { width: 66px; height: 90px; }
  .pt-focus-item { gap: 12px; }
}

/* 焦点区右侧：热评影片标签框（占满整列剩余空间，右侧不再留白） */
.pt-hot-cmt {
  grid-column: 1 / -1; align-self: start;
  margin-top: 2px; padding: 10px 12px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow);
}
.pt-hot-hd {
  display: flex; align-items: center; gap: 7px;
  margin: 0 0 9px; font-size: 15px; font-weight: 800; color: var(--fg);
  letter-spacing: .01em;
}
.pt-hot-icon {
  width: 4px; height: 15px; border-radius: 2px;
  background: linear-gradient(180deg, #ef4444, #f97316);
}
.pt-hot-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-hot-tags a {
  display: inline-flex; align-items: center; gap: 5px; max-width: 100%;
  padding: 5px 9px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--fg-2); line-height: 1.4;
  transition: all var(--transition);
}
.pt-hot-tags a:hover {
  background: var(--brand-soft); border-color: #b9c8f0; color: var(--brand);
}
.pt-hot-no {
  flex: none; min-width: 15px; height: 15px; border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 3px; background: #e5e8f0; color: #6b7280;
  font-size: 11px; font-weight: 700;
}
.pt-hot-tags a:nth-child(1) .pt-hot-no,
.pt-hot-tags a:nth-child(2) .pt-hot-no,
.pt-hot-tags a:nth-child(3) .pt-hot-no {
  background: linear-gradient(135deg, #ef4444, #f97316); color: #fff;
}
.pt-hot-name {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.pt-hot-cnt { flex: none; color: var(--muted); font-size: 11px; }
.pt-hot-tags a:hover .pt-hot-cnt { color: var(--brand); }
.pt-hot-empty { margin: 0; color: var(--muted); font-size: 12.5px; }

/* ------------------------------------------------------------ 双栏主体 */
.pt-body {
  display: grid; gap: 20px; padding-top: 22px; padding-bottom: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 1020px) { .pt-body { grid-template-columns: minmax(0, 1fr) 320px; } }

.pt-main { min-width: 0; }

/* 频道区块 */
.pt-channel {
  margin-bottom: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 16px 14px;
}
.pt-ch-hd {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0 11px; border-bottom: 2px solid #eef1f6;
}
.pt-ch-hd h2 {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 18px; font-weight: 800; color: #1a1d24;
}
.pt-ch-block {
  width: 6px; height: 20px; border-radius: 3px;
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
}
.pt-ch-tabs { display: flex; gap: 4px; }
.pt-ch-tabs a {
  padding: 3px 12px; border-radius: 999px;
  background: #f1f3f8; color: var(--fg-2); font-size: 12px;
}
.pt-ch-tabs a:hover { background: var(--brand-soft); color: #1d4ed8; }
.pt-ch-more { margin-left: auto; color: var(--muted); font-size: 13px; }
.pt-ch-more:hover { color: #1d4ed8; }

/* 海报网格（紧凑） */
.pt-ch-grid {
  display: grid; gap: 12px; padding-top: 14px;
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 560px) { .pt-ch-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .pt-ch-grid { grid-template-columns: repeat(5, 1fr); } }
.pt-ch-grid .card {
  background: transparent; border: 0;
}
.pt-ch-grid .card-pic {
  position: relative; aspect-ratio: 2 / 3;
  border-radius: 5px; overflow: hidden; background: #e8ebf2;
  border: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.pt-ch-grid .card:hover .card-pic { box-shadow: 0 8px 22px rgba(20, 24, 34, .2); }
.pt-ch-grid .card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.pt-ch-grid .card:hover .card-pic img { transform: scale(1.06); }
.pt-ch-grid .card-noimg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #aab; font-size: 22px; font-weight: 800;
}
.pt-ch-grid .card-score {
  position: absolute; right: 6px; bottom: 6px; top: auto;
  padding: 1px 7px; border-radius: 5px;
  background: #ef4444; color: #fff; font-size: 11px; font-weight: 800;
  line-height: 1.6; box-shadow: 0 2px 8px rgba(16, 20, 32, .35);
}
.pt-ch-grid .card-name {
  margin: 7px 1px 1px; font-size: 13px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pt-ch-grid .card-name a { color: var(--fg); }
.pt-ch-grid .card-name a:hover { color: #1d4ed8; }
.pt-ch-grid .card-remarks {
  margin: 1px 1px 0; color: var(--muted); font-size: 11px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 紧凑文字列表（状态前缀） */
.pt-ch-list {
  display: grid; gap: 0; margin-top: 10px;
  grid-template-columns: 1fr;
  border-top: 1px dashed var(--line);
}
@media (min-width: 720px) { .pt-ch-list { grid-template-columns: 1fr 1fr; column-gap: 26px; } }
.pt-ch-list li { border-bottom: 1px dashed var(--line); }
.pt-ch-list a {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 2px; font-size: 13px;
}
.pt-li-state {
  flex: none; padding: 0 6px; border-radius: 3px;
  background: var(--brand-soft); color: #1d4ed8;
  font-size: 11px; line-height: 1.7;
}
.pt-li-name {
  flex: 1; min-width: 0; color: var(--fg-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pt-ch-list a:hover .pt-li-name { color: #1d4ed8; }
.pt-li-year { flex: none; color: #b6bac5; font-size: 12px; }

/* ------------------------------------------------------------ 右侧栏 */
.pt-side { min-width: 0; }
.pt-box {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  margin-bottom: 16px; overflow: hidden;
}
.pt-box-hd {
  display: flex; align-items: center; gap: 9px;
  margin: 0; padding: 12px 16px;
  font-size: 15px; font-weight: 800; color: #1a1d24;
  border-bottom: 1px solid var(--line);
}
.pt-box-fire, .pt-box-block { width: 6px; height: 18px; border-radius: 3px; }
.pt-box-fire { background: linear-gradient(180deg, #ff5a5f, #ef4444); }
.pt-box-block { background: linear-gradient(180deg, #2563eb, #1d4ed8); }

.pt-rank { padding: 6px 8px; }
.pt-rank li {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px; border-radius: 6px;
}
.pt-rank li:hover { background: #f6f8fc; }
.pt-rank-no {
  flex: none; width: 22px; height: 22px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  background: #eef1f6; color: var(--muted);
  font-size: 12px; font-weight: 800; font-style: italic;
}
.pt-rank-no.hot { background: linear-gradient(180deg, #ff5a5f, #ef4444); color: #fff; }
.pt-rank-no.top { background: linear-gradient(180deg, #2563eb, #1d4ed8); color: #fff; }
.pt-rank-name {
  flex: 1; min-width: 0; font-size: 13px; color: var(--fg);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pt-rank-name:hover { color: #1d4ed8; }
.pt-rank-state { flex: none; padding: 0 6px; border-radius: 3px; background: #fdeaea; color: #ef4444; font-size: 11px; line-height: 1.7; }
.pt-rank-hits { flex: none; color: #b6bac5; font-size: 11px; }

.pt-newlist { padding: 6px 8px; }
.pt-newlist li { border-bottom: 1px dashed var(--line); }
.pt-newlist li:last-child { border-bottom: 0; }
.pt-newlist a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; font-size: 13px; }
.pt-newlist a:hover .pt-li-name { color: #1d4ed8; }

.pt-tagcloud { padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.pt-tagcloud a {
  padding: 3px 12px; border-radius: 999px;
  background: #f1f3f8; color: var(--fg-2); font-size: 12px;
}
.pt-tagcloud a:hover { background: var(--brand-soft); color: #1d4ed8; }

/* ------------------------------------------------------------ 资讯 */
.pt-newsblock { padding-bottom: 20px; }
.pt-news { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 16px; }
.pt-news li { border-bottom: 1px dashed var(--line); }
.pt-news li:last-child { border-bottom: 0; }
.pt-news a { display: flex; align-items: center; gap: 12px; padding: 11px 2px; }
.pt-news-name { flex: 1; color: var(--fg-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-news a:hover .pt-news-name { color: #1d4ed8; }
.pt-news-time { flex: none; color: #b6bac5; font-size: 12px; }
.pt-news li::before {
  content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: #c3c9d6;
}

/* ------------------------------------------------------------ 列表页（沿用 base 结构，门户化配色） */
.block-hd h1, .block-hd h2 { color: #1a1d24; }
.block-hd h1::before, .block-hd h2::before { background: linear-gradient(180deg, #2563eb, #1d4ed8); }
.more:hover { color: #1d4ed8; }
.grid { gap: 14px; }
.grid .card { background: transparent; border: 0; }
.grid .card-pic { position: relative; aspect-ratio: 2 / 3; border-radius: 5px; overflow: hidden; background: #e8ebf2; border: 1px solid var(--line); }
/* 评分角标：改到图片右下角（此前右上角在窄卡片下会拉伸成竖条，不好看） */
.grid .card-score { position: absolute; right: 6px; bottom: 6px; top: auto; padding: 2px 8px; border-radius: 5px; background: #ef4444; color: #fff; font-size: 11.5px; font-weight: 800; line-height: 1.5; box-shadow: 0 2px 8px rgba(16,20,32,.35); }
.grid .card-badge { position: absolute; left: 0; bottom: 0; right: 0; padding: 2px 8px; background: rgba(16, 20, 32, .72); color: #fff; font-size: 11px; border-radius: 0; }
.grid .card-name { margin: 8px 1px 2px; font-size: 13px; }
.grid .card-name a { color: var(--fg); }
.grid .card-name a:hover { color: #1d4ed8; }
.grid .card-meta { margin: 0 1px; color: var(--muted); font-size: 12px; }
.filters, .bigsearch { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.filter-label { color: var(--muted); }
.chip { background: #f1f3f8; border-color: transparent; color: var(--fg-2); }
.chip.on, .chip:hover { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.empty { color: var(--muted); }
.pager .pg { background: #fff; border-color: var(--line); color: var(--fg-2); }
.pager .pg:hover { border-color: #1d4ed8; color: #1d4ed8; }
.artcard, .artlist li a { background: #fff; border-color: var(--line); }
.ranks .rank { background: #fff; border: 1px solid var(--line); }
.rank-no { background: #eef1f6; color: #7a8296; }
.rank:nth-child(1) .rank-no { background: linear-gradient(180deg, #ff5a5f, #ef4444); color: #fff; }
.topic { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.topic:hover { border-color: #b9c8f0; box-shadow: var(--shadow-hover); }

/* ------------------------------------------------------------ 详情页 */
/* .pt-detail 必须是定位元素：.pt-backdrop 是 absolute inset:0 的海报模糊背景，
   父级没有 position 时它会相对视口铺满整个首屏 —— 把头部、面包屑全部压在下面
   （头部曾被压到点不到、面包屑点不到），海报模糊层也糊满全页。 */
.pt-detail { position: relative; padding: 20px 0 6px; }
.pt-backdrop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pt-backdrop img { width: 100%; height: 100%; object-fit: cover; filter: blur(40px) brightness(1.06) saturate(120%); opacity: .32; transform: scale(1.2); pointer-events: none; }
.pt-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245, 246, 248, .3), #f5f6f8 80%); }
.pt-panel { position: relative; z-index: 1; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .pt-panel { grid-template-columns: 250px 1fr; } }
.pt-poster { border-radius: 8px; overflow: hidden; aspect-ratio: 2 / 3; border: 1px solid var(--line); background: #e8ebf2; box-shadow: var(--shadow-hover); }
/* 手机端单列布局时海报不能再全宽拉伸（2:3 比例下会占到 440×660，一屏只剩一张图），
   限宽后信息区回到首屏；不支持 aspect-ratio 的老内核也一并被限宽兜住。 */
@media (max-width: 819px) { .pt-poster { width: 160px; } }
.pt-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-poster-no { display: flex; align-items: center; justify-content: center; height: 100%; color: #aab; font-size: 34px; font-weight: 800; }
.pt-info h1 { margin: 0 0 4px; font-size: clamp(22px, 3.6vw, 30px); font-weight: 800; color: #1a1d24; }
.pt-sub { margin: 0 0 12px; color: var(--fg-2); }
.pt-scorebar { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.pt-scorebar .num {
  font-size: 30px; font-weight: 900; color: #ef4444; line-height: 1;
}
.pt-scorebar .stars { color: #ffb400; letter-spacing: 2px; }
.pt-facts {
  display: grid; gap: 0; margin: 0 0 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .pt-facts { grid-template-columns: 1fr 1fr; } }
.pt-facts li { display: flex; gap: 12px; padding: 8px 14px; border-bottom: 1px solid #eef1f6; font-size: 13px; }
.pt-facts li span { flex: none; width: 3.5em; color: var(--muted); }
.pt-facts li strong { color: var(--fg); font-weight: 600; }
.pt-line { margin: 0 0 7px; color: var(--fg-2); font-size: 13px; line-height: 1.8; }
.pt-line .k { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 3px; background: #f1f3f8; color: var(--muted); font-size: 12px; }
.pt-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.pt-acts .hint { color: var(--muted); font-size: 12px; }
.pt-acts .hint a { color: #1d4ed8; }
.btn-main { background: #1d4ed8; border-color: #1d4ed8; }
.btn-main:hover { background: #1e40af; color: #fff; }
.pt-prose {
  position: relative; z-index: 1; margin-top: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px;
}
.pt-prose h2 { margin-bottom: 10px; font-size: 17px; color: #1a1d24; padding-left: 11px; border-left: 4px solid #1d4ed8; }
.pt-prose .prose-body { color: var(--fg-2); }
.ai-note { margin-top: 12px; color: var(--muted); font-size: 12px; }

/* ------------------------------------------------------------ 播放页 */
.play-block { padding-top: 20px; }
.play-title { margin: 0 0 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 21px; font-weight: 800; color: #1a1d24; }
.play-ep { padding: 2px 12px; border-radius: 999px; background: var(--brand-soft); color: #1d4ed8; font-size: 13px; font-weight: 600; }
.pt-playercard { background: #0c0e14; border-radius: 8px; padding: 10px; box-shadow: var(--shadow-hover); }
.pt-playbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 10px; padding: 10px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  color: var(--fg-2); font-size: 13px;
}
.pt-playbar .score { color: #ef4444; font-weight: 800; }
.pt-playbar .spacer { flex: 1; }
.pt-playbar a { color: #1d4ed8; }
.eps-group {
  margin-bottom: 14px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.pt-ephead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 15px; color: #1a1d24; }
.pt-ephead .tag { padding: 1px 8px; border-radius: 3px; background: var(--brand-soft); color: #1d4ed8; font-size: 12px; }
.eps-list { display: flex; flex-wrap: wrap; gap: 8px; }
.eps-list a {
  min-width: 50px; padding: 7px 11px; text-align: center;
  border: 1px solid var(--line); border-radius: 5px;
  background: #f8f9fc; color: var(--fg-2); font-size: 13px;
  transition: all var(--transition);
}
.eps-list a:hover { border-color: #1d4ed8; color: #1d4ed8; }
.eps-list a.on { background: #1d4ed8; border-color: #1d4ed8; color: #fff; font-weight: 700; }

/* ------------------------------------------------------------ 评论区 */
.comments { padding-bottom: 36px; }
.cmt { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 13px 16px; margin-bottom: 10px; }
.cmt-nick { color: #1d4ed8; font-weight: 700; margin-right: 10px; }
.cmt-time { color: var(--muted); font-size: 12px; }
.cmt-body { margin: 8px 0 0; color: var(--fg-2); }
.cmt-form {
  margin-top: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.cmt-form .row { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cmt-form .row { grid-template-columns: 1fr 1fr; } }
.cmt-form input, .cmt-form textarea {
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: #f8f9fc; color: var(--fg);
}
.cmt-form input::placeholder, .cmt-form textarea::placeholder { color: var(--muted); }
.cmt-tip { color: var(--muted); font-size: 12px; }
.player-fallback { color: var(--fg-2); }
.player-fallback .btn { background: transparent; border-color: var(--line); color: var(--fg-2); }

/* ------------------------------------------------------------ 页脚 */
.ftr { background: #ffffff; border-top: 3px solid #1d4ed8; }
.ftr-brand { color: #1a1d24; font-size: 18px; font-weight: 800; }
.ftr-title { color: #1a1d24; font-weight: 700; }
.ftr a { color: var(--fg-2); }
.ftr a:hover { color: #1d4ed8; }
.ftr-note, .ftr-bottom { color: var(--muted); }
.taglist a {
  display: inline-block; padding: 2px 10px; margin: 0 6px 6px 0;
  border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--fg-2);
}
.taglist a:hover { border-color: #1d4ed8; color: #1d4ed8; }

/* ------------------------------------------------------------ 移动端 */
@media (max-width: 899px) {
  body { padding-bottom: 58px; }
  .hdr-in { flex-wrap: wrap; gap: 10px; }
  .hdr .search { order: 3; max-width: none; flex-basis: 100%; }
  .pt-channels-in a { padding: 9px 14px; font-size: 14px; }
  .pt-focus-main { aspect-ratio: 16 / 10; }
  .pt-body { padding-top: 14px; }
  .pt-channel { padding: 0 12px 12px; }
  .tabbar { background: #fff; border-top: 1px solid var(--line); }
  .tabbar a { color: var(--muted); }
  .tabbar a.on { color: #1d4ed8; }
  .pt-side .pt-box:nth-child(n+3) { display: none; }
  }

  /* ------------------------------------------------------------ 页脚（portal 独有：四栏 + 深蓝版权条） */
  .ftr-portal .ftr-bar {
  background: #1d4ed8; color: rgba(255, 255, 255, .85); font-size: 12.5px;
  }
  .ftr-portal .ftr-bar-in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 18px; padding: 12px 0;
  }
  .ftr-portal .ftr-bar a { color: #fff; }
  .ftr-portal .ftr-bar .ftr-note { margin: 0; opacity: .85; }
  @media (min-width: 640px) {
  .ftr-portal .ftr-in { grid-template-columns: 1.6fr 1fr 1.2fr 1fr; }
  }

/* ------------------------------------------------------------ 页脚 v3（三栏横排）
   ① 左：站点简介  ② 中：站内导航（标题与站点名同字号加粗，链接单行居中）
   ③ 右：热门标签（胶囊横向流，大屏靠右） */
.ftr-title { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.ftr-nav { text-align: center; }
.ftr-navlinks {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 4px 10px; margin: 0;
}
.ftr-navlinks a { font-size: 13px; color: var(--fg-2); }
.ftr-navlinks a:hover { color: var(--brand); }
.ftr-navlinks .sep { opacity: .45; }
.ftr-col ul.taglist, .ftr-tags .taglist {
  display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px;
}
@media (min-width: 900px) {
  .ftr-in { grid-template-columns: minmax(240px, 1.35fr) auto minmax(230px, 1fr); align-items: start; }
  .ftr-in .ftr-col:first-child { grid-column: auto; }
  .ftr-tags { justify-self: end; text-align: right; }
  .ftr-tags .taglist { justify-content: flex-end; }
}

/* brand-logo: 本主题专属图标（base64 data URI，叠在渐变色块上）*/
.brand-mark { background: url("/themes/portal/img/logo.png") center / contain no-repeat; } }

/* 页脚品牌 logo：复用头部 brand-mark 蓝色渐变块 + 白圈 */
.ftr-brand::before {
  content: ""; display: inline-block; width: 22px; height: 22px;
  border-radius: 6px; margin-right: 8px; vertical-align: -5px;
  background: url("/themes/portal/img/logo.png") center / contain no-repeat;
}
