/* =========================================================
   MACCMS10 影视模板（第二十七套） - style.css
   石墨·柠檬「极简编辑部」风（qj- 语义化命名）
   深色顶栏+白底导航条 topline/navbar
   首页左右分栏 layout（左主栏 column + 右固定栏 rail）
   双焦点卡 featureduo / 分类入口 gateway / 板块 issue
   网格 lattice+cell / 三榜 chart / 筛选 filter / 档案 dossier
   银幕 monitor / 章节 chapters / 评论 discuss / 页脚 foundation
   石墨黑 × 柠檬黄 × 白，编辑部极简质感
   所有封面固定尺寸（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: #f4f4f2;
  color: #232323;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
ul, ol { list-style: none; }
.qj-lazy { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 深色顶栏 + 白底导航条 ---------- */
.qj-topline { position: sticky; top: 0; z-index: 100; background: #1a1a1a; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.qj-topline-in { max-width: 1180px; margin: 0 auto; padding: 6px 18px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #9a9a9a; border-bottom: 1px solid #2c2c2c; }
.qj-slogan { flex: 0 0 auto; color: #c9c9c9; }
.qj-meta-links { display: flex; align-items: center; gap: 4px; }
.qj-meta-links a { color: #9a9a9a; }
.qj-meta-links a:hover { color: #f5c518; }
.qj-meta-links i { font-style: normal; margin: 0 5px; color: #454545; }
.qj-navbar { background: #fff; }
.qj-navbar-in { position: relative; max-width: 1180px; margin: 0 auto; padding: 9px 18px; display: flex; align-items: center; gap: 18px; }
.qj-logomark { flex: 0 0 auto; font-size: 23px; font-weight: 800; letter-spacing: 1px; color: #1a1a1a; }
.qj-logomark::before { content: "▮"; color: #f5c518; margin-right: 6px; font-size: 18px; }
.qj-navigation { flex: 0 1 auto; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.qj-navigation::-webkit-scrollbar { display: none; }
.qj-navlink { display: block; padding: 9px 12px; font-size: 14px; color: #555; white-space: nowrap; border-bottom: 2px solid transparent; }
.qj-navlink:hover { color: #1a1a1a; border-bottom-color: #f5c518; }
.qj-navhome { color: #1a1a1a; font-weight: 700; border-bottom-color: #f5c518; }
.qj-navhome::before { content: "⌂ "; font-size: 15px; }
.qj-searchbox { flex: 1 1 auto; display: flex; align-items: center; max-width: 240px; margin: 0 auto; background: #f4f4f2; border: 1px solid #e2e2e0; border-radius: 6px; overflow: hidden; }
.qj-searchfield { flex: 1 1 auto; min-width: 0; height: 38px; border: 0; background: transparent; padding: 0 12px; font-size: 14px; color: #232323; outline: none; }
.qj-searchfield::placeholder { color: #999; }
.qj-searchsubmit { flex: 0 0 auto; height: 38px; border: 0; padding: 0 15px; font-size: 13px; cursor: pointer; background: #1a1a1a; color: #f5c518; font-weight: 700; }
.qj-searchsubmit:hover { background: #f5c518; color: #1a1a1a; }
.qj-burger { width: 40px; height: 40px; border: 0; border-radius: 6px; cursor: pointer; background: #f4f4f2; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: 0 0 auto; }
.qj-burger span { display: block; width: 17px; height: 2px; background: #1a1a1a; border-radius: 2px; transition: all .25s; }
.qj-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.qj-burger.is-open span:nth-child(2) { opacity: 0; }
.qj-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 移动端悬浮抽屉（header 内） */
.qj-drawer { position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; z-index: 99; display: none; background: #fff; border: 1px solid #e2e2e0; border-radius: 12px; box-shadow: 0 18px 44px rgba(0,0,0,.22); max-height: calc(100vh - 90px); overflow-y: auto; scrollbar-width: none; }
.qj-drawer::-webkit-scrollbar { display: none; }
.qj-drawer.is-open { display: block; }
.qj-drawer-set { border-bottom: 1px solid #f0f0ee; }
.qj-drawer-entry { display: block; padding: 12px 18px; color: #1a1a1a; font-weight: 700; border-bottom: 1px solid #f0f0ee; }
.qj-drawer-sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 18px 14px; }
.qj-drawer-sub a { font-size: 12px; color: #777; padding: 4px 12px; background: #f4f4f2; border-radius: 6px; }
.qj-drawer-sub a:hover { color: #1a1a1a; }

/* ---------- 内容区 ---------- */
.qj-body { width: 100%; max-width: 1180px; margin: 0 auto; padding: 18px 18px 40px; }

/* ---------- 面包屑（仅详情/播放页） ---------- */
.qj-route { font-size: 13px; color: #999; margin: 0 0 14px; }
.qj-route a:hover { color: #1a1a1a; }
.qj-route-sep { margin: 0 8px; color: #ccc; }

/* ---------- 首页左右分栏 ---------- */
.qj-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 16px; align-items: start; }
.qj-column { min-width: 0; }
.qj-rail { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* ---------- 双焦点卡横排 ---------- */
.qj-featureduo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.qj-featurecard { position: relative; display: block; min-width: 0; border-radius: 12px; overflow: hidden; background: #1a1a1a; box-shadow: 0 12px 26px rgba(0,0,0,.2); height: 260px; }
.qj-featurepic { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.qj-featurepic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.qj-featurecard:hover .qj-featurepic img { transform: scale(1.05); }
.qj-featuretag { position: absolute; left: 10px; top: 10px; z-index: 2; display: inline-block; font-size: 11px; padding: 2px 10px; background: #f5c518; color: #1a1a1a; font-weight: 700; border-radius: 4px; }
.qj-featurecopy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 44px 14px 12px; background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.92)); }
.qj-featurename { display: block; font-size: 19px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qj-featurenote { display: block; margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.82); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qj-featureaction { display: inline-block; margin-top: 8px; padding: 6px 16px; background: #f5c518; color: #1a1a1a; font-size: 12px; font-weight: 700; border-radius: 4px; }

/* ---------- 分类入口（编号大卡） ---------- */
.qj-gateway { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 16px; }
.qj-gateway-card { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 66px; border-radius: 10px; padding: 10px 12px; background: #fff; border: 1px solid #e2e2e0; transition: all .2s ease; }
.qj-gateway-card:hover { border-color: #f5c518; box-shadow: 0 8px 20px rgba(245,197,24,.2); }
.qj-gateway-no { flex: 0 0 auto; font-size: 26px; font-weight: 800; color: #e2e2e0; }
.qj-gateway-card:hover .qj-gateway-no { color: #f5c518; }
.qj-gateway-copy { flex: 1 1 auto; min-width: 0; }
.qj-gateway-name { display: block; font-size: 15px; color: #232323; }
.qj-gateway-note { display: block; font-style: normal; font-size: 11px; color: #999; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qj-gateway-go { flex: 0 0 auto; font-style: normal; font-size: 12px; color: #bbb; }
.qj-gateway-card:hover .qj-gateway-go { color: #f5c518; }

/* ---------- 板块 ---------- */
.qj-issue { background: #fff; border: 1px solid #e2e2e0; border-radius: 12px; padding: 16px; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.qj-issue-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.qj-issue-title { font-size: 17px; color: #232323; }
.qj-issue-title::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 7px; background: #f5c518; vertical-align: -1px; }
.qj-issue-note { font-size: 13px; color: #999; }
.qj-issue-more { font-size: 13px; color: #999; }
.qj-issue-more:hover { color: #f5c518; }

/* ---------- 网格（固定尺寸） ---------- */
.qj-lattice { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.qj-cell { min-width: 0; display: block; transition: transform .25s ease; }
.qj-cell:hover { transform: translateY(-3px); }
.qj-cell-pic { position: relative; display: block; height: 210px; border-radius: 10px; overflow: hidden; background: #e8e8e6; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.qj-cell-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.qj-cell:hover .qj-cell-pic img { transform: scale(1.06); }
.qj-cell-flag { position: absolute; left: 8px; top: 8px; z-index: 2; font-size: 11px; padding: 2px 9px; border-radius: 4px; background: rgba(26,26,26,.9); color: #f5c518; max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qj-cell-score { position: absolute; right: 8px; top: 8px; z-index: 2; font-size: 13px; font-weight: 800; color: #1a1a1a; background: #f5c518; padding: 1px 8px; border-radius: 4px; }
.qj-cell-fade { 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(0,0,0,0),rgba(0,0,0,.9)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qj-cell-caption { display: block; padding: 8px 2px 0; }
.qj-cell-name { display: block; font-size: 13px; color: #232323; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qj-cell:hover .qj-cell-name { color: #1a1a1a; }
.qj-cell-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; font-size: 12px; color: #999; }

/* ---------- 三榜并排 ---------- */
.qj-chart { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 8px; }
.qj-chart-card { min-width: 0; }
.qj-chart-list { display: flex; flex-direction: column; }
.qj-chart-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #e2e2e0; min-width: 0; }
.qj-chart-row:last-child { border-bottom: 0; }
.qj-chart-no { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 4px; font-size: 12px; font-weight: 800; text-align: center; line-height: 22px; background: #f0f0ee; color: #999; }
.qj-chart-row:nth-child(1) .qj-chart-no { background: #f5c518; color: #1a1a1a; }
.qj-chart-row:nth-child(2) .qj-chart-no { background: #1a1a1a; color: #f5c518; }
.qj-chart-row:nth-child(3) .qj-chart-no { background: #bbb; color: #fff; }
.qj-chart-name { flex: 1 1 auto; min-width: 0; font-size: 13px; color: #232323; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qj-chart-name:hover { color: #1a1a1a; }
.qj-chart-val { flex: 0 0 auto; font-size: 12px; color: #999; }

/* ---------- 人气飙升轨道（右栏） ---------- */
.qj-surge { overflow-x: auto; scrollbar-width: none; }
.qj-surge::-webkit-scrollbar { display: none; }
.qj-surge-track { display: flex; gap: 10px; min-width: max-content; }
.qj-surge-card { flex: 0 0 150px; display: block; }
.qj-surge-card img { width: 150px; height: 200px; object-fit: cover; border-radius: 8px; background: #e8e8e6; box-shadow: 0 8px 18px rgba(0,0,0,.14); transition: transform .3s ease; }
.qj-surge-card:hover img { transform: translateY(-3px); }
.qj-surge-copy { display: block; padding-top: 6px; }
.qj-surge-copy b { display: block; font-size: 12px; color: #232323; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qj-surge-copy i { display: block; font-style: normal; font-size: 11px; color: #999; margin-top: 2px; }
.qj-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.qj-tagcloud a { font-size: 12px; color: #777; padding: 4px 12px; background: #f4f4f2; border: 1px solid #e2e2e0; border-radius: 4px; }
.qj-tagcloud a:hover { color: #1a1a1a; border-color: #f5c518; }

/* ---------- 筛选 ---------- */
.qj-filter { background: #fff; border: 1px solid #e2e2e0; border-radius: 12px; padding: 8px 16px; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.qj-filter-row { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #e2e2e0; }
.qj-filter-row:last-child { border-bottom: 0; }
.qj-filter-key { flex: 0 0 auto; font-size: 13px; color: #999; padding-top: 7px; }
.qj-filter-scroll { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.qj-filter-scroll::-webkit-scrollbar { display: none; }
.qj-filter-chip { flex: 0 0 auto; font-size: 13px; padding: 6px 14px; border-radius: 4px; background: #f4f4f2; color: #777; white-space: nowrap; border: 1px solid #e2e2e0; }
.qj-filter-chip:hover { color: #1a1a1a; border-color: #f5c518; }
.qj-filter-chip.is-on { background: #1a1a1a; color: #f5c518; border-color: #1a1a1a; font-weight: 600; }

/* ---------- 目录 ---------- */
.qj-catalog { width: 100%; }
.qj-catalog-main { min-width: 0; }

/* ---------- 分页 ---------- */
.qj-turn { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.qj-turn-btn { min-width: 36px; text-align: center; padding: 8px 12px; font-size: 13px; color: #777; background: #fff; border: 1px solid #e2e2e0; border-radius: 6px; transition: all .2s ease; }
.qj-turn-btn:hover { color: #1a1a1a; border-color: #f5c518; }
.qj-turn-btn.is-on { background: #1a1a1a; color: #f5c518; border-color: #1a1a1a; font-weight: 600; }

/* ---------- 档案 ---------- */
.qj-dossier { background: #fff; border: 1px solid #e2e2e0; border-radius: 16px; box-shadow: 0 10px 26px rgba(0,0,0,.1); margin-bottom: 16px; overflow: hidden; }
.qj-dossier-body { display: flex; gap: 22px; flex-wrap: wrap; padding: 22px; }
.qj-dossier-poster { flex: 0 0 auto; width: 200px; height: 282px; border-radius: 10px; overflow: hidden; background: #e8e8e6; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.qj-dossier-poster img { width: 100%; height: 100%; object-fit: cover; }
.qj-dossier-copy { flex: 1 1 240px; min-width: 0; }
.qj-dossier-name { font-size: 26px; color: #232323; margin-bottom: 10px; }
.qj-dossier-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.qj-tag { font-size: 12px; color: #1a1a1a; padding: 3px 10px; background: #f4f4f2; border: 1px solid #e2e2e0; border-radius: 4px; }
.qj-dossier-rating { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.qj-dossier-ratenum { font-size: 34px; font-weight: 800; color: #f5c518; }
.qj-dossier-ratenote { font-size: 13px; color: #999; }
.qj-dossier-synopsis { font-size: 14px; color: #777; line-height: 1.8; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.qj-dossier-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.qj-action-main { display: inline-block; padding: 10px 28px; border-radius: 6px; font-size: 14px; background: #1a1a1a; color: #f5c518; font-weight: 700; }
.qj-action-main:hover { background: #f5c518; color: #1a1a1a; }
.qj-action-ghost { display: inline-block; padding: 10px 28px; border-radius: 6px; font-size: 14px; background: #fff; color: #777; border: 1px solid #e2e2e0; }
.qj-action-ghost:hover { color: #1a1a1a; border-color: #1a1a1a; }

/* ---------- 银幕（播放器 16:9 全屏居中） ---------- */
.qj-monitor { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 12px; overflow: hidden; margin: 0 auto 16px; box-shadow: 0 14px 30px rgba(0,0,0,.22); }
@supports (aspect-ratio: 16 / 9) {
  .qj-monitor { padding-top: 0; aspect-ratio: 16 / 9; }
}
.qj-monitor iframe, .qj-monitor video, .qj-monitor embed, .qj-monitor object {
  position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border: 0;
}
.qj-monitor div { position: relative; width: 100% !important; height: 100% !important; }

/* ---------- 章节 ---------- */
.qj-chapters { background: #fff; border: 1px solid #e2e2e0; border-radius: 12px; padding: 16px; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.qj-chapters-head { font-size: 14px; font-weight: 600; color: #1a1a1a; padding: 4px 0 10px; }
.qj-chapters > .qj-chapters-head:first-child { padding-top: 0; }
.qj-chapters-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(70px,1fr)); gap: 8px; }
.qj-chapters-key { display: block; text-align: center; padding: 8px 4px; font-size: 13px; color: #777; background: #f4f4f2; border: 1px solid #e2e2e0; border-radius: 6px; transition: all .2s ease; }
.qj-chapters-key:hover { color: #1a1a1a; border-color: #f5c518; }
.qj-chapters-key.is-on { background: #1a1a1a; color: #f5c518; border-color: #1a1a1a; font-weight: 600; }
.qj-chapters-key.qj-ep-hidden { display: none; }
.qj-chapters-grid.is-expanded .qj-chapters-key.qj-ep-hidden { display: block; }
.qj-chapters-more { display: flex; justify-content: center; margin-top: 12px; }
.qj-chapters-morebtn { cursor: pointer; border: 1px solid #e2e2e0; background: #f4f4f2; color: #777; padding: 8px 22px; border-radius: 6px; font-size: 13px; }
.qj-chapters-morebtn:hover { color: #1a1a1a; border-color: #f5c518; }

/* ---------- 主体 ---------- */
.qj-spread { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 16px; align-items: start; }
.qj-spread-main { min-width: 0; }
.qj-aside { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.qj-similar { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.qj-similar .qj-cell-pic { height: 118px; }
.qj-aside .qj-similar { grid-template-columns: repeat(2,1fr); gap: 10px; }
.qj-aside .qj-cell-pic { height: 118px; }
.qj-aside .qj-cell-name { font-size: 12px; }
.qj-aside .qj-cell-meta { font-size: 11px; }

/* ---------- 详情介绍 ---------- */
.qj-specs { font-size: 14px; color: #777; }
.qj-specs dd { padding: 5px 0; word-break: break-all; }
.qj-specs em { font-style: normal; color: #999; margin-right: 4px; }
.qj-specs a { color: #1a1a1a; }
.qj-specs strong { color: #232323; }
.qj-specs-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qj-searchlinks { font-size: 13px; }
.qj-searchlinks a { display: inline-block; margin: 4px 8px 4px 0; color: #1a1a1a; }

/* ---------- 常见问题 ---------- */
.qj-faq { font-size: 14px; color: #777; }
.qj-faq-pair { padding: 6px 0; }
.qj-faq-q { color: #232323; font-weight: 600; }
.qj-faq-a { color: #999; margin-top: 3px; }
.qj-faq-a a { color: #1a1a1a; }

/* ---------- 评论 ---------- */
.qj-discuss-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #e2e2e0; }
.qj-discuss-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: #1a1a1a; color: #f5c518; font-size: 16px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.qj-discuss-body { flex: 1 1 auto; min-width: 0; }
.qj-discuss-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.qj-discuss-user { font-size: 13px; color: #1a1a1a; font-weight: 600; }
.qj-discuss-seen { font-size: 12px; color: #1a1a1a; background: #f5c518; padding: 1px 8px; border-radius: 4px; }
.qj-discuss-stars { font-size: 12px; color: #ffc93c; }
.qj-discuss-stars i { font-style: normal; }
.qj-discuss-stars i.qj-star-off { color: #e2e2e0; }
.qj-discuss-time { font-size: 12px; color: #999; margin-left: auto; }
.qj-discuss-text { font-size: 14px; color: #777; word-break: break-all; }
.qj-upvote { flex: 0 0 auto; font-size: 12px; color: #999; }

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

/* ---------- 页脚（石墨四列） ---------- */
.qj-foundation { background: #1a1a1a; color: #999; margin-top: 30px; border-radius: 14px 14px 0 0; }
.qj-foundation-in { max-width: 1180px; margin: 0 auto; padding: 32px 20px 20px; }
.qj-foundation-brand { text-align: center; margin-bottom: 18px; }
.qj-foundation-logo { font-size: 26px; font-weight: 800; letter-spacing: 1px; color: #fff; }
.qj-foundation-logo::before { content: "▮"; color: #f5c518; margin-right: 6px; }
.qj-foundation-desc { font-size: 13px; color: #999; margin-top: 6px; max-width: 720px; margin-left: auto; margin-right: auto; }
.qj-foundation-cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 26px; border-top: 1px solid #333; padding-top: 18px; }
.qj-foundation-col { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.qj-foundation-title { font-size: 15px; color: #fff; margin-bottom: 2px; }
.qj-foundation-links { display: flex; flex-wrap: wrap; gap: 7px; font-size: 13px; }
.qj-foundation-links a { color: #999; }
.qj-foundation-links a:hover { color: #f5c518; }
.qj-maprow i { font-style: normal; color: #555; }
.qj-foundation-about { color: #777; line-height: 1.7; }
.qj-foundation-copy { border-top: 1px solid #333; text-align: center; font-size: 12px; color: #777; padding: 14px 20px 22px; max-width: 1180px; margin: 0 auto; }
.qj-foundation-copy p { margin: 3px 0; }
.qj-foundation-copy a { color: #999; }

/* ---------- 回到顶部 ---------- */
#qjBackTop { position: fixed; right: 18px; bottom: 26px; width: 44px; height: 44px; border: 0; border-radius: 8px; cursor: pointer; z-index: 999; display: none; background: #1a1a1a; color: #f5c518; font-size: 18px; font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,.3); }

/* ========== 响应式 ========== */
@media (min-width: 1025px) {
  .qj-rail { position: sticky; top: 90px; max-height: calc(100vh - 104px); overflow-y: auto; scrollbar-width: none; }
  .qj-rail::-webkit-scrollbar { display: none; }
  .qj-aside { position: sticky; top: 90px; max-height: calc(100vh - 104px); overflow-y: auto; scrollbar-width: none; }
  .qj-aside::-webkit-scrollbar { display: none; }
}
@media (max-width: 1024px) {
  .qj-spread { grid-template-columns: 1fr; }
  .qj-layout { grid-template-columns: 1fr; }
  .qj-lattice { grid-template-columns: repeat(5,1fr); gap: 14px; }
  .qj-aside .qj-similar { grid-template-columns: repeat(5,1fr); gap: 12px; }
  .qj-aside .qj-cell-pic { height: 118px; }
  .qj-chart { grid-template-columns: 1fr 1fr 1fr; }
  .qj-gateway { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 768px) {
  .qj-topline-in { display: none; }
  .qj-burger { display: inline-flex; }
  .qj-navigation { display: none; }
  .qj-navbar-in { padding: 9px 12px; gap: 10px; }
  .qj-logomark { font-size: 19px; }
  .qj-searchbox { max-width: 100%; flex: 1 1 auto; }
  .qj-body { padding: 14px 12px 30px; }
  .qj-featureduo { grid-template-columns: 1fr; }
  .qj-featurecard { height: 200px; }
  .qj-gateway { display: flex; overflow-x: auto; scrollbar-width: none; }
  .qj-gateway::-webkit-scrollbar { display: none; }
  .qj-gateway-card { min-width: 190px; }
  .qj-chart { display: flex; overflow-x: auto; scrollbar-width: none; }
  .qj-chart::-webkit-scrollbar { display: none; }
  .qj-chart-card { min-width: 230px; }
  .qj-lattice { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .qj-cell-pic { height: 165px; }
  .qj-similar { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .qj-similar .qj-cell-pic { height: 118px; }
  .qj-aside .qj-similar { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .qj-aside .qj-cell-pic { height: 118px; }
  .qj-dossier-poster { width: 116px; height: 163px; }
  .qj-dossier-body { padding: 14px; gap: 14px; }
  .qj-dossier-name { font-size: 21px; }
  .qj-dossier-synopsis { -webkit-line-clamp: 2; font-size: 13px; }
  .qj-action-main, .qj-action-ghost { padding: 9px 20px; font-size: 13px; }
  .qj-chapters-key { font-size: 12px; padding: 7px 4px; }
  .qj-chapters-grid { grid-template-columns: repeat(auto-fill,minmax(60px,1fr)); gap: 6px; }
  .qj-discuss-item { gap: 10px; }
  .qj-discuss-avatar { width: 36px; height: 36px; font-size: 15px; }
  .qj-turn { gap: 6px; }
  .qj-foundation-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .qj-logomark { font-size: 17px; }
  .qj-searchfield { height: 36px; font-size: 13px; padding: 0 10px; }
  .qj-searchsubmit { height: 36px; padding: 0 12px; font-size: 13px; }
  .qj-featurecard { height: 180px; }
  .qj-dossier-poster { width: 100px; height: 140px; }
  .qj-dossier-ratenum { font-size: 26px; }
  .qj-cell-pic { height: 145px; }
  .qj-chapters-grid { grid-template-columns: repeat(auto-fill,minmax(52px,1fr)); }
  .qj-turn-btn { padding: 7px 10px; font-size: 12px; min-width: 32px; }
  .qj-discuss-avatar { width: 32px; height: 32px; font-size: 14px; }
  .qj-issue, .qj-filter, .qj-chapters { padding: 12px; }
  .qj-issue-title { font-size: 16px; }
  .qj-foundation-cols { grid-template-columns: 1fr; }
}
