/* =========================================================
   MACCMS10 影视模板（第十一套） - style.css
   全新 pj- 命名体系，暖白纸感 × 墨茶赤陶（亮色系）
   PC：左侧固定侧边导航 + 右侧主内容区
   手机：顶部吸顶条（Logo+搜索+汉堡最右）+ 抽屉菜单
   首页焦点区 + 最近更新 + 分类循环 + 三榜并排（最后）
   详情/播放页信息头 + 主栏/侧栏分栏
   含 JSON-LD 结构化数据，利于搜索引擎收录
   所有封面固定尺寸（PC / 手机），响应式
   ========================================================= */

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  background: #f6f3ee;
  color: #3a3229;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
ul, ol { list-style: none; }
.pj-wrap { display: flex; align-items: flex-start; min-height: 100vh; }

/* ---------- 左侧固定侧边导航（仅PC） ---------- */
.pj-side {
  position: sticky; top: 0; flex: 0 0 220px; width: 220px; height: 100vh;
  background: #2f2922; color: #e8e0d3; display: flex; flex-direction: column;
  padding: 26px 18px 18px; overflow: hidden;
}
.pj-logo { font-size: 24px; font-weight: 800; letter-spacing: 2px; color: #f6f3ee; margin-bottom: 26px; display: block; }
.pj-logo::first-letter { color: #d46a2e; }
.pj-side-nav { display: flex; flex-direction: column; gap: 4px; }
.pj-snav { display: block; padding: 10px 14px; font-size: 14px; color: #c9c0b0; border-radius: 8px; transition: all .2s ease; }
.pj-snav:hover { color: #fff; background: rgba(255,255,255,.08); }
.pj-snav.is-on { color: #fff; background: #b3541e; font-weight: 600; }
.pj-side-note { margin-top: auto; font-size: 12px; color: #8f867a; line-height: 1.9; }
.pj-side-copy { margin-top: 10px; font-size: 11px; color: #6f675d; }

/* ---------- 右侧主内容区 ---------- */
.pj-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }

/* ---------- 顶部吸顶条 ---------- */
.pj-top { position: sticky; top: 0; z-index: 100; background: rgba(246,243,238,.95); backdrop-filter: blur(8px); border-bottom: 1px solid #e5dfd6; }
.pj-top-in { display: flex; align-items: center; gap: 14px; max-width: 1240px; margin: 0 auto; padding: 14px 20px; }
.pj-logo-mini { display: none; font-size: 20px; font-weight: 800; letter-spacing: 1px; color: #2f2922; flex: 0 0 auto; }
.pj-logo-mini::first-letter { color: #d46a2e; }
.pj-search { flex: 1 1 auto; display: flex; align-items: center; max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid #e0d8cc; border-radius: 20px; overflow: hidden; box-shadow: 0 2px 10px rgba(58,50,41,.06); }
.pj-search input { flex: 1 1 auto; min-width: 0; height: 38px; border: 0; background: transparent; padding: 0 16px; font-size: 14px; color: #3a3229; outline: none; }
.pj-search input::placeholder { color: #a89e90; }
.pj-search button { flex: 0 0 auto; height: 38px; border: 0; padding: 0 22px; font-size: 14px; cursor: pointer; border-radius: 0 19px 19px 0; background: #b3541e; color: #fff; font-weight: 700; }
.pj-search button:hover { background: #d46a2e; }
.pj-hamburger { width: 40px; height: 38px; border: 0; cursor: pointer; background: #fff; border: 1px solid #e0d8cc; border-radius: 8px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: 0 0 auto; }
.pj-hamburger span { display: block; width: 17px; height: 2px; background: #b3541e; border-radius: 2px; transition: all .25s; }
.pj-hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.pj-hamburger.is-open span:nth-child(2) { opacity: 0; }
.pj-hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 移动端抽屉 ---------- */
.pj-drawer { display: none; background: #fffdf9; border-bottom: 1px solid #e5dfd6; box-shadow: 0 8px 20px rgba(58,50,41,.08); }
.pj-drawer.is-open { display: block; }
.pj-drawer-search { display: flex; align-items: center; gap: 8px; padding: 12px 20px; }
.pj-drawer-search input { flex: 1 1 auto; height: 36px; border: 1px solid #e0d8cc; background: #fff; border-radius: 8px; padding: 0 12px; font-size: 13px; color: #3a3229; outline: none; }
.pj-drawer-search button { flex: 0 0 auto; height: 36px; border: 0; padding: 0 16px; border-radius: 8px; cursor: pointer; background: #b3541e; color: #fff; font-weight: 700; }
.pj-drawer-group { border-bottom: 1px solid #eee7dc; }
.pj-drawer-top { display: block; padding: 12px 20px; color: #b3541e; font-weight: 700; }
.pj-drawer-subs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; }
.pj-drawer-subs a { font-size: 12px; color: #8a8178; padding: 4px 10px; background: #f6f3ee; border-radius: 6px; }
.pj-drawer-subs a:hover { color: #b3541e; }

/* ---------- 内容区 ---------- */
.pj-shell { flex: 1 0 auto; width: 100%; max-width: 1240px; margin: 0 auto; padding: 22px 20px 40px; }

/* ---------- 面包屑（仅详情/播放页） ---------- */
.pj-crumb { font-size: 13px; color: #a89e90; margin: 0 0 16px; }
.pj-crumb a:hover { color: #b3541e; }
.pj-crumb-sep { margin: 0 8px; color: #cfc7ba; }

/* ---------- 焦点区：左轮播 + 右四宫格 ---------- */
.pj-hero { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 16px; margin-bottom: 20px; }
.pj-stage { position: relative; border-radius: 12px; overflow: hidden; height: 470px; background: #2f2922; box-shadow: 0 12px 30px rgba(58,50,41,.14); }
.pj-track { display: flex; height: 100%; transition: transform .6s ease; }
.pj-slide { flex: 0 0 100%; position: relative; }
.pj-slide a { display: block; position: relative; height: 100%; }
.pj-slide img { width: 100%; height: 100%; object-fit: cover; }
.pj-slide-veil { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg,rgba(47,41,34,0),rgba(47,41,34,.95)); }
.pj-slide-cap { position: absolute; left: 26px; right: 26px; bottom: 20px; color: #fff; }
.pj-slide-cap h2 { font-size: 24px; margin-bottom: 6px; }
.pj-slide-cap p { font-size: 13px; color: rgba(255,255,255,.78); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pj-dots { position: absolute; right: 16px; bottom: 14px; display: flex; gap: 6px; background: rgba(47,41,34,.4); padding: 6px 10px; border-radius: 12px; }
.pj-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.pj-dot.is-on { background: #d46a2e; box-shadow: 0 0 8px rgba(212,106,46,.9); }
.pj-quad { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 470px; }
.pj-quaditem { position: relative; display: block; border-radius: 12px; overflow: hidden; min-width: 0; background: #fff; box-shadow: 0 10px 26px rgba(58,50,41,.12); }
.pj-quaditem img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pj-quaditem:hover img { transform: scale(1.06); }
.pj-quad-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10px 6px; font-size: 13px; color: #fff; background: linear-gradient(180deg,rgba(47,41,34,0),rgba(47,41,34,.9)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 三榜并排 ---------- */
.pj-top3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
.pj-top3-card { background: #fffdf9; border: 1px solid #e5dfd6; border-radius: 12px; padding: 16px; min-width: 0; box-shadow: 0 6px 18px rgba(58,50,41,.06); }
.pj-top3-head { margin-bottom: 10px; }
.pj-top3-head h3 { font-size: 15px; color: #2f2922; }
.pj-top3-head h3::before { content: ""; display: inline-block; width: 5px; height: 14px; margin-right: 8px; border-radius: 2px; background: linear-gradient(180deg,#d46a2e,#b3541e); vertical-align: -2px; }
.pj-top3-list { display: flex; flex-direction: column; }
.pj-top3-item { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #e8e1d6; min-width: 0; }
.pj-top3-item:last-child { border-bottom: 0; }
.pj-top3-num { flex: 0 0 auto; width: 18px; font-size: 12px; font-weight: 700; text-align: center; color: #cfc7ba; }
.pj-top3-item:nth-child(1) .pj-top3-num { color: #b3541e; }
.pj-top3-item:nth-child(2) .pj-top3-num { color: #7a9e7e; }
.pj-top3-item:nth-child(3) .pj-top3-num { color: #a89e90; }
.pj-top3-name { flex: 1 1 auto; min-width: 0; font-size: 13px; color: #5a5045; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-top3-name:hover { color: #b3541e; }
.pj-top3-val { flex: 0 0 auto; font-size: 12px; color: #a89e90; }

/* ---------- 卡片 ---------- */
.pj-update { margin-bottom: 24px; }
.pj-card { background: #fffdf9; border: 1px solid #e5dfd6; border-radius: 12px; padding: 18px; box-shadow: 0 6px 18px rgba(58,50,41,.05); }
.pj-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pj-card-title { font-size: 18px; color: #2f2922; }
.pj-card-title::before { content: ""; display: inline-block; width: 5px; height: 16px; margin-right: 8px; border-radius: 2px; background: linear-gradient(180deg,#d46a2e,#b3541e); vertical-align: -2px; }
.pj-card-count { font-size: 13px; color: #a89e90; }
.pj-more a { font-size: 13px; color: #a89e90; }
.pj-more a:hover { color: #b3541e; }

/* ---------- 通用封面网格（固定尺寸） ---------- */
.pj-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.pj-cell { min-width: 0; display: block; transition: transform .25s ease; }
.pj-cell:hover { transform: translateY(-3px); }
.pj-cover { position: relative; display: block; border-radius: 10px; overflow: hidden; height: 210px; background: #efe9e0; box-shadow: 0 8px 20px rgba(58,50,41,.12); }
.pj-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pj-cell:hover .pj-cover img { transform: scale(1.06); }
.pj-flag { position: absolute; left: 8px; top: 8px; z-index: 2; font-size: 11px; padding: 2px 8px; border-radius: 4px; background: rgba(47,41,34,.82); color: #f0d9c4; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-score { position: absolute; right: 8px; top: 8px; z-index: 2; font-size: 13px; font-weight: 700; color: #d46a2e; background: rgba(255,253,249,.88); padding: 1px 6px; border-radius: 4px; }
.pj-mask { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 10px 7px; font-size: 13px; color: #fff; background: linear-gradient(180deg,rgba(47,41,34,0),rgba(47,41,34,.9)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-cell-info { display: block; padding: 8px 2px 0; }
.pj-cell-name { display: block; font-size: 13px; color: #3a3229; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-cell:hover .pj-cell-name { color: #b3541e; }
.pj-cell-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; font-size: 12px; color: #a89e90; }
.pj-cell-hit { color: #7a9e7e; }

/* ---------- 首页分类循环（左更新列表 + 右排行） ---------- */
.pj-block { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 16px; margin-bottom: 24px; align-items: start; }
.pj-block-main { min-width: 0; }
.pj-block-side { min-width: 0; }
.pj-uplist { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.pj-upitem { min-width: 0; }
.pj-upcon { position: relative; }
.pj-upstate { position: absolute; left: 8px; top: 8px; z-index: 2; }
.pj-upstate em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 4px; background: rgba(47,41,34,.82); color: #f0d9c4; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.pj-upthumb { display: block; border-radius: 10px; overflow: hidden; height: 210px; background: #efe9e0; box-shadow: 0 8px 20px rgba(58,50,41,.12); }
.pj-upthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pj-upitem:hover .pj-upthumb img { transform: scale(1.06); }
.pj-upsub { margin-top: 8px; font-size: 13px; color: #3a3229; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-upsub a:hover { color: #b3541e; }
.pj-uplayer { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 14px 10px 10px; font-size: 12px; color: #f6f3ee; background: rgba(47,41,34,.96); border-radius: 0 0 10px 10px; opacity: 0; transition: opacity .3s ease; }
.pj-upitem:hover .pj-uplayer { opacity: 1; }
.pj-uplayer p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 2px 0; }
.pj-uplayer label { color: #f0b58a; }
.pj-rank { display: flex; flex-direction: column; }
.pj-rankitem { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #e8e1d6; min-width: 0; }
.pj-rankitem:last-child { border-bottom: 0; }
.pj-ranknum { flex: 0 0 auto; width: 20px; font-size: 13px; font-weight: 700; text-align: center; color: #cfc7ba; }
.pj-rankitem:nth-child(1) .pj-ranknum { color: #b3541e; }
.pj-rankitem:nth-child(2) .pj-ranknum { color: #7a9e7e; }
.pj-rankitem:nth-child(3) .pj-ranknum { color: #a89e90; }
.pj-rankpic { flex: 0 0 auto; width: 80px; height: 50px; border-radius: 8px; overflow: hidden; background: #efe9e0; }
.pj-rankpic img { width: 100%; height: 100%; object-fit: cover; }
.pj-rankinfo { flex: 1 1 auto; min-width: 0; }
.pj-rankname { display: block; font-size: 13px; color: #3a3229; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-rankname:hover { color: #b3541e; }
.pj-rankhits { display: block; margin-top: 2px; font-size: 12px; color: #a89e90; }

/* ---------- 筛选 ---------- */
.pj-filter { background: #fffdf9; border: 1px solid #e5dfd6; border-radius: 12px; padding: 8px 16px; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(58,50,41,.05); }
.pj-filter-row { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #e8e1d6; }
.pj-filter-row:last-child { border-bottom: 0; }
.pj-filter-key { flex: 0 0 auto; font-size: 13px; color: #a89e90; padding-top: 7px; }
.pj-filter-scroll { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.pj-filter-scroll::-webkit-scrollbar { display: none; }
.pj-chip { flex: 0 0 auto; font-size: 13px; padding: 6px 14px; border-radius: 16px; background: #f6f3ee; color: #5a5045; white-space: nowrap; border: 1px solid #e5dfd6; }
.pj-chip:hover { color: #b3541e; border-color: #d46a2e; }
.pj-chip.is-on { background: #b3541e; color: #fff; font-weight: 600; border-color: transparent; }

/* ---------- 列表布局 ---------- */
.pj-layout { width: 100%; }
.pj-layout-main { min-width: 0; }
.pj-card { margin-bottom: 16px; }

/* ---------- 分页 ---------- */
.pj-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.pj-pagebtn { min-width: 36px; text-align: center; padding: 8px 12px; font-size: 13px; color: #5a5045; background: #fffdf9; border: 1px solid #e0d8cc; border-radius: 8px; transition: all .2s ease; }
.pj-pagebtn:hover { color: #b3541e; border-color: #d46a2e; }
.pj-pagebtn.is-on { background: #b3541e; color: #fff; border-color: transparent; font-weight: 600; }

/* ---------- 详情/播放页 ---------- */
.pj-intro { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: linear-gradient(135deg,#fffdf9,#f3e9db 60%,#efe0cb); border: 1px solid #e5dfd6; box-shadow: 0 12px 30px rgba(58,50,41,.1); }
.pj-intro-body { position: relative; display: flex; gap: 22px; flex-wrap: wrap; padding: 24px; }
.pj-poster { flex: 0 0 auto; width: 220px; height: 310px; border-radius: 10px; overflow: hidden; background: #efe9e0; box-shadow: 0 10px 26px rgba(58,50,41,.18); }
.pj-poster img { width: 100%; height: 100%; object-fit: cover; }
.pj-intro-info { flex: 1 1 260px; min-width: 0; }
.pj-h1 { font-size: 26px; color: #2f2922; margin-bottom: 10px; }
.pj-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pj-tagline { font-size: 12px; color: #8a6a4d; padding: 3px 10px; background: #fff; border-radius: 12px; border: 1px solid #e0d8cc; }
.pj-score-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.pj-score-big { font-size: 32px; font-weight: 800; color: #b3541e; }
.pj-score-label { font-size: 13px; color: #a89e90; }
.pj-summary { font-size: 14px; color: #5a5045; line-height: 1.8; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.pj-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.pj-playbtn { display: inline-block; padding: 10px 28px; border-radius: 8px; font-size: 14px; background: #b3541e; color: #fff; font-weight: 700; box-shadow: 0 6px 16px rgba(179,84,30,.3); }
.pj-playbtn:hover { background: #d46a2e; }
.pj-detailbtn { display: inline-block; padding: 10px 28px; border-radius: 8px; font-size: 14px; background: transparent; color: #8a6a4d; border: 1px solid #cfc7ba; }
.pj-detailbtn:hover { color: #b3541e; border-color: #b3541e; }
.pj-player { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 12px; overflow: hidden; margin: 0 auto 16px; box-shadow: 0 12px 30px rgba(58,50,41,.18); }
@supports (aspect-ratio: 16 / 9) {
  .pj-player { padding-top: 0; aspect-ratio: 16 / 9; }
}
.pj-player iframe, .pj-player video, .pj-player embed, .pj-player object {
  position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border: 0;
}
.pj-player div { position: relative; width: 100% !important; height: 100% !important; }

/* ---------- 播放源与集数（直接显示，多的折叠） ---------- */
.pj-epbox { background: #fffdf9; border: 1px solid #e5dfd6; border-radius: 12px; padding: 16px; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(58,50,41,.05); }
.pj-epline { font-size: 14px; font-weight: 600; color: #b3541e; padding: 4px 0 10px; }
.pj-epbox > .pj-epline:first-child { padding-top: 0; }
.pj-eplist { display: grid; grid-template-columns: repeat(auto-fill,minmax(74px,1fr)); gap: 8px; }
.pj-epitem { display: block; text-align: center; padding: 8px 4px; font-size: 13px; color: #5a5045; background: #f6f3ee; border: 1px solid #e0d8cc; border-radius: 8px; transition: all .2s ease; }
.pj-epitem:hover { color: #b3541e; border-color: #d46a2e; }
.pj-epitem.on { background: #b3541e; color: #fff; border-color: transparent; font-weight: 600; }
.pj-epitem.pj-ep-hidden { display: none; }
.pj-eplist.is-expanded .pj-epitem.pj-ep-hidden { display: block; }
.pj-epmore { display: flex; justify-content: center; margin-top: 12px; }
.pj-epmorebtn { cursor: pointer; border: 1px solid #cfc7ba; background: #f6f3ee; color: #5a5045; padding: 8px 22px; border-radius: 18px; font-size: 13px; }
.pj-epmorebtn:hover { color: #b3541e; border-color: #d46a2e; }

/* ---------- 详情介绍 / 常见问题 / 评论 ---------- */
.pj-faq { background: #fffdf9; border: 1px solid #e5dfd6; border-radius: 12px; padding: 18px; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(58,50,41,.05); }
.pj-faq-title { font-size: 16px; color: #2f2922; margin-bottom: 12px; }
.pj-faq-title::before { content: ""; display: inline-block; width: 5px; height: 15px; margin-right: 8px; border-radius: 2px; background: linear-gradient(180deg,#d46a2e,#b3541e); vertical-align: -2px; }
.pj-spec { font-size: 14px; color: #5a5045; }
.pj-spec dd { padding: 5px 0; word-break: break-all; }
.pj-spec em { font-style: normal; color: #a89e90; margin-right: 4px; }
.pj-spec a { color: #b3541e; }
.pj-spec strong { color: #2f2922; }
.pj-textover { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-hot-tags { font-size: 13px; }
.pj-hot-tags a { display: inline-block; margin: 4px 8px 4px 0; color: #b3541e; }
.pj-faq-body { font-size: 14px; color: #5a5045; }
.pj-faq-body dd { padding: 6px 0; }
.pj-faq-body b { color: #2f2922; font-weight: 600; }
.pj-faq-body p { color: #a89e90; margin-top: 3px; }
.pj-faq-body a { color: #b3541e; }
.pj-comments { background: #fffdf9; border: 1px solid #e5dfd6; border-radius: 12px; padding: 18px; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(58,50,41,.05); }
.pj-comments-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pj-comments-head h2 { font-size: 16px; color: #2f2922; }
.pj-comments-count { font-size: 13px; color: #a89e90; }
.pj-comment { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #e8e1d6; }
.pj-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,#b3541e,#d46a2e); color: #fff; font-size: 16px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.pj-cbody { flex: 1 1 auto; min-width: 0; }
.pj-chead { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.pj-cname { font-size: 13px; color: #b3541e; font-weight: 600; }
.pj-cmark { font-size: 12px; color: #b3541e; background: rgba(179,84,30,.1); padding: 1px 8px; border-radius: 4px; }
.pj-cstars { font-size: 12px; color: #d46a2e; }
.pj-cstars i { font-style: normal; }
.pj-cstars i.pj-staroff { color: #cfc7ba; }
.pj-ctime { font-size: 12px; color: #a89e90; margin-left: auto; }
.pj-ctext { font-size: 14px; color: #3a3229; word-break: break-all; }
.pj-clike { flex: 0 0 auto; font-size: 12px; color: #a89e90; }

/* ---------- 详情/播放页主体：主栏 + 侧栏 ---------- */
.pj-detail { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,1fr); gap: 16px; align-items: start; }
.pj-detail-main { min-width: 0; }
.pj-detail-side { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pj-rel .pj-cover { height: 150px; }
.pj-rel { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.pj-detail-side .pj-rel { grid-template-columns: repeat(2,1fr); gap: 10px; }
.pj-detail-side .pj-cover { height: 132px; }
.pj-detail-side .pj-cell-name { font-size: 12px; }
.pj-detail-side .pj-cell-meta { font-size: 11px; }
.pj-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-tagcloud a { font-size: 12px; color: #5a5045; padding: 4px 12px; background: #f6f3ee; border: 1px solid #e0d8cc; border-radius: 16px; }
.pj-tagcloud a:hover { color: #b3541e; border-color: #d46a2e; }

/* ---------- 空结果 ---------- */
.pj-empty { text-align: center; padding: 60px 20px; color: #a89e90; font-size: 14px; }

/* ---------- 页脚：左关于 + 右三栏 + 版权条 ---------- */
.pj-foot { background: #2f2922; color: #a89e90; margin-top: 30px; }
.pj-foot-in { display: grid; grid-template-columns: minmax(0,2fr) 1fr 1fr 1fr; gap: 28px; max-width: 1240px; margin: 0 auto; padding: 30px 20px 20px; }
.pj-foot-about { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pj-foot-logo { font-size: 20px; font-weight: 800; letter-spacing: 2px; color: #f6f3ee; }
.pj-foot-logo::first-letter { color: #d46a2e; }
.pj-foot-about p { font-size: 12px; line-height: 1.9; color: #8f867a; }
.pj-foot-col { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pj-foot-col h4 { font-size: 15px; color: #f6f3ee; margin-bottom: 4px; }
.pj-foot-col a { font-size: 13px; color: #a89e90; }
.pj-foot-col a:hover { color: #d46a2e; }
.pj-foot-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-foot-tags a { font-size: 12px; color: #c9c0b0; padding: 4px 10px; background: rgba(255,255,255,.06); border-radius: 14px; }
.pj-foot-tags a:hover { color: #f0b58a; }
.pj-foot-copy { border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: 12px; color: #6f675d; padding: 14px 20px 22px; }
.pj-foot-copy p { margin: 3px 0; }
.pj-foot-copy a { color: #a89e90; }

/* ---------- 回到顶部 ---------- */
#pjBackTop { position: fixed; right: 18px; bottom: 26px; width: 44px; height: 44px; border: 0; border-radius: 10px; cursor: pointer; z-index: 999; display: none; background: #b3541e; color: #fff; font-size: 18px; font-weight: 700; box-shadow: 0 8px 20px rgba(179,84,30,.35); }

/* ========== 响应式 ========== */
@media (min-width: 1025px) {
  .pj-detail-side { position: sticky; top: 90px; max-height: calc(100vh - 105px); overflow-y: auto; scrollbar-width: none; }
  .pj-detail-side::-webkit-scrollbar { display: none; }
}
@media (max-width: 1024px) {
  .pj-side { display: none; }
  .pj-logo-mini { display: block; }
  .pj-hero { grid-template-columns: 1fr; }
  .pj-quad { grid-template-columns: repeat(4,1fr); grid-template-rows: none; height: auto; }
  .pj-top3 { grid-template-columns: 1fr 1fr 1fr; }
  .pj-block { grid-template-columns: 1fr; }
  .pj-detail { grid-template-columns: 1fr; }
  .pj-grid, .pj-uplist { grid-template-columns: repeat(4,1fr); gap: 14px; }
  .pj-detail-side .pj-rel { grid-template-columns: repeat(5,1fr); gap: 12px; }
  .pj-detail-side .pj-cover { height: 150px; }
  .pj-foot-in { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .pj-hamburger { display: inline-flex; }
  .pj-quad { display: none; }
  .pj-block-side { display: none; }
  .pj-top3 { grid-template-columns: repeat(3,1fr); overflow-x: auto; scrollbar-width: none; }
  .pj-top3::-webkit-scrollbar { display: none; }
  .pj-top3-card { min-width: 240px; }
  .pj-stage { height: 220px; border-radius: 0; }
  .pj-shell > .pj-hero:first-child { margin-top: -22px; }
  .pj-cover { height: 170px; }
  .pj-upthumb { height: 170px; }
  .pj-poster { width: 118px; height: 165px; }
  .pj-intro-body { padding: 14px; gap: 14px; }
  .pj-h1 { font-size: 21px; }
  .pj-summary { -webkit-line-clamp: 2; font-size: 13px; }
  .pj-btns { gap: 10px; }
  .pj-playbtn, .pj-detailbtn { padding: 9px 20px; font-size: 13px; }
  .pj-card, .pj-faq, .pj-comments, .pj-epbox, .pj-filter { padding: 14px; }
  .pj-card-title { font-size: 16px; }
  .pj-faq-title { font-size: 15px; }
  .pj-epitem { font-size: 12px; padding: 7px 4px; }
  .pj-eplist { grid-template-columns: repeat(auto-fill,minmax(62px,1fr)); gap: 6px; }
  .pj-grid, .pj-uplist { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .pj-rel { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .pj-cell-name { font-size: 12px; }
  .pj-mask { font-size: 12px; padding-top: 12px; }
  .pj-flag, .pj-upstate em { font-size: 10px; }
  .pj-filter { padding: 6px 10px; }
  .pj-filter-key { font-size: 12px; }
  .pj-chip { font-size: 12px; padding: 5px 12px; }
  .pj-detail-side .pj-rel { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .pj-detail-side .pj-cover { height: 150px; }
  .pj-comment { gap: 10px; }
  .pj-avatar { width: 36px; height: 36px; font-size: 15px; }
  .pj-pager { gap: 6px; }
  .pj-foot-in { grid-template-columns: 1fr; }
  .pj-side-note, .pj-side-copy { display: none; }
}
@media (max-width: 480px) {
  .pj-top-in { padding: 12px; gap: 10px; }
  .pj-logo-mini { font-size: 18px; }
  .pj-hamburger { width: 36px; height: 36px; }
  .pj-search input { height: 36px; font-size: 13px; padding: 0 12px; }
  .pj-search button { height: 36px; padding: 0 14px; font-size: 13px; }
  .pj-stage { height: 200px; }
  .pj-shell > .pj-hero:first-child { margin-top: -16px; }
  .pj-slide-cap { left: 16px; right: 16px; bottom: 12px; }
  .pj-slide-cap h2 { font-size: 17px; }
  .pj-slide-cap p { -webkit-line-clamp: 1; }
  .pj-cover { height: 150px; }
  .pj-uplist { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .pj-upthumb { height: 150px; }
  .pj-poster { width: 102px; height: 143px; }
  .pj-score-big { font-size: 26px; }
  .pj-eplist { grid-template-columns: repeat(auto-fill,minmax(54px,1fr)); }
  .pj-pagebtn { padding: 7px 10px; font-size: 12px; min-width: 32px; }
  .pj-avatar { width: 32px; height: 32px; font-size: 14px; }
  .pj-more a { font-size: 12px; }
  .pj-shell { padding: 14px 12px 30px; }
}
