/* ============================================================
   qgxue 主题 · 仿 www.qgxue.com 气功学（自研 CMS 传统内容门户）
   第 26 套 · 第 94 期
   特征：80px fixed 白底头（logo + 红药丸导航 = nav.png 背景图渐变复刻）
        + 主交互蓝 #0084ff（按钮/链接/分页）+ 页底浅灰 #f8f8f8
        + 首页：CSS 纯动画轮播 + 今日头条图卡网格（c-title 红竖条）
        + 最新文章横卡（左图右文 + data 行）+ 侧栏热点排行 widget
        + post art-main 白卡（art-title + head-info）+ 暗底抽屉 #323841
   前缀：qgx- · 基底：cyz
   注意：pay-* 弹窗类名是 JS 契约不可改；JS 会 inline 设 display:block，
        弹窗内按钮必须自带 width + margin:auto 居中（勿依赖 text-align）
   ============================================================ */

/* ============ 1. tokens & base ============ */
:root {
  --qgx-blue: #0084ff;          /* 主交互蓝（气功学识别色，47 处高频） */
  --qgx-blue-h: #0072e0;        /* 按钮/链接 hover 深蓝 */
  --qgx-blue-l: #44aeff;        /* footer 链接亮蓝 */
  --qgx-blue-side: #51a5ff;     /* 侧浮块浅蓝 */
  --qgx-orange: #ff5e33;        /* 角标橙红（bq 标签） */
  --qgx-red: #f33;              /* 红点缀（view 数/强调，参考站 #f33） */
  --qgx-gold: #f7b570;          /* 推荐卡 hover 金 */
  --qgx-green: #2eb872;         /* 免费绿 */
  --qgx-ink: #333333;           /* 主文字 */
  --qgx-txt: #545454;           /* 列表/正文（参考站列表链接色） */
  --qgx-gray: #666666;          /* 次级灰 */
  --qgx-mute: #999999;          /* 弱灰 */
  --qgx-line: #e6e6e6;          /* 分隔线 */
  --qgx-line2: #efefef;         /* 卡片细边 */
  --qgx-graybg: #f5f5f5;        /* topbar 底 */
  --qgx-pg: #fafafa;            /* 内页底 */
  --qgx-block: #f2f2f2;         /* 灰块（子分类 tag） */
  --qgx-grad: linear-gradient(135deg, #0090ff, #0062cc);
  --qgx-btn: var(--qgx-blue);
  --qgx-btn-h: #0072e0;
  --qgx-radius: 2px;            /* 参考站方直风 */
  --qgx-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--qgx-ink);
  font: 14px/1.8 "Microsoft YaHei", "PingFang SC", SimSun, Tahoma, Verdana, Arial, sans-serif;
  background: #fff;
  overflow-x: hidden;
}
a { color: var(--qgx-txt); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--qgx-blue); }
img { max-width: 100%; border: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font-family: inherit; }
.qgx-container { width: 1200px; max-width: calc(100% - 24px); margin: 0 auto; }

/* ============ 2. topbar（浅灰 29px 顶条） ============ */
.qgx-topbar {
  background: var(--qgx-graybg);
  height: 29px;
  line-height: 29px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 13px;
  color: var(--qgx-gray);
}
.qgx-topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.qgx-topbar-site { color: var(--qgx-gray); }
.qgx-topbar-site:hover { color: var(--qgx-blue); }
.qgx-topbar-right { display: flex; align-items: center; gap: 10px; }
.qgx-topbar-right a { color: var(--qgx-gray); }
.qgx-topbar-right a:hover { color: var(--qgx-blue); }
.qgx-topbar-user { color: var(--qgx-blue); }
.qgx-topbar-vip { color: var(--qgx-orange) !important; }
.qgx-topbar-out {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--qgx-gray); font-size: 13px; line-height: 29px;
}
.qgx-topbar-out:hover { color: var(--qgx-blue); }
.qgx-topbar-sep { color: #ddd; font-style: normal; }

/* ============ 3. header（白底 130px：绿圆太极标 + 两行站名 + 蓝边搜索框） ============ */
.qgx-header { background: #fff; }
.qgx-header-inner { display: flex; align-items: center; height: 130px; gap: 30px; }
.qgx-brand { display: flex; align-items: center; gap: 14px; flex: none; }
.qgx-logo-mark {
  width: 58px; height: 58px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #5fae4e, #2e7d32 70%);
  color: #fff; font-size: 30px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35);
}
.qgx-logo-txt { display: flex; flex-direction: column; line-height: 1.35; }
.qgx-logo-txt strong { font-size: 24px; color: var(--qgx-blue); font-weight: 700; }
.qgx-logo-txt em { font-style: normal; font-size: 15px; color: var(--qgx-gray); font-weight: normal; }
.qgx-head-search {
  margin-left: auto; width: 570px; max-width: 46%;
  height: 38px; display: flex; border: 1px solid var(--qgx-blue); background: #fff;
}
.qgx-head-search input {
  flex: 1; min-width: 0; border: 0; outline: none; padding: 0 12px;
  font-size: 14px; color: #444;
}
.qgx-head-search button {
  width: 93px; flex: none; border: 0; cursor: pointer;
  background: var(--qgx-blue); color: #fff; font-size: 17px;
}
.qgx-head-search button:hover { background: var(--qgx-blue-h); }

/* ============ 4. 全宽导航条（蓝底白字 50px，当前/hover 深蓝） ============ */
.qgx-nav { background: var(--qgx-blue); height: 50px; }
.qgx-nav-inner { display: flex; }
.qgx-nav-inner a {
  flex: 1 1 auto; max-width: 148px; min-width: 84px;
  text-align: center; line-height: 50px; font-size: 18px; color: #fff;
  padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qgx-nav-inner a:hover, .qgx-nav-inner a.on { background: var(--qgx-blue-h); color: #fff; }

/* 移动菜单：默认抽屉由 display:none 方案控制 */
.qgx-nav-toggle { display: none; }
.qgx-burger { display: block; width: 22px; }
.qgx-burger span { display: block; height: 2px; background: var(--qgx-ink); margin: 5px 0; border-radius: 2px; }

/* ============ 5. 首页 banner（水墨风浅底 + 大字 + 易字水印） ============ */
.qgx-banner {
  background: linear-gradient(180deg, #f7f5f0 0%, #efece6 100%);
  border-bottom: 1px solid var(--qgx-line);
  overflow: hidden; position: relative;
}
.qgx-banner-inner { position: relative; padding: 58px 20px 54px; text-align: center; }
.qgx-banner-inner h2 { font-size: 34px; letter-spacing: 6px; color: var(--qgx-ink); font-weight: 700; }
.qgx-banner-inner p { margin-top: 10px; font-size: 16px; color: var(--qgx-gray); letter-spacing: 3px; }
.qgx-banner-mark {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  font-size: 150px; line-height: 1; font-weight: 700;
  color: rgba(0, 132, 255, 0.10); pointer-events: none; font-family: "KaiTi", "STKaiti", serif;
}

/* ============ 6. 内页面包屑条（当前位置：首页 › xx） ============ */
.qgx-crumb-bar { background: var(--qgx-pg); border-bottom: 1px solid var(--qgx-line); }
.qgx-crumb { padding: 13px 0; font-size: 15px; color: var(--qgx-mute); }
.qgx-crumb a { color: var(--qgx-ink); }
.qgx-crumb a:hover { color: var(--qgx-blue); }
.qgx-crumb i { color: var(--qgx-blue); font-style: normal; margin: 0 6px; }

/* ============ 7. 标题条（art_gytit：蓝方块 + 蓝字 + 2px 蓝下边） ============ */
.qgx-tit {
  height: 37px; line-height: 34px;
  border-bottom: 2px solid var(--qgx-blue);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.qgx-tit em {
  width: 14px; height: 14px; background: var(--qgx-blue);
  display: inline-block; flex: none; margin-top: -3px;
  box-shadow: -3px 3px 0 rgba(0, 132, 255, 0.25);
}
.qgx-tit h2 { font-size: 20px; color: var(--qgx-ink); font-weight: 700; white-space: nowrap; }
.qgx-tit h1 { font-size: 20px; color: var(--qgx-blue); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qgx-tit-sub { font-size: 13px; color: var(--qgx-mute); font-weight: normal; margin-left: auto; white-space: nowrap; }

/* ============ 8. 三栏首屏（左大图卡 320 / 中列表 430 / 右推荐 370） ============ */
.qgx-tri { display: flex; gap: 25px; margin-top: 20px; }
.qgx-tri-l { width: 320px; flex: none; }
.qgx-tri-c { flex: 1 1 auto; min-width: 0; }
.qgx-tri-r { width: 370px; flex: none; }
.qgx-focus { position: relative; height: 240px; overflow: hidden; margin-bottom: 12px; background: #16324f; }
.qgx-focus a { display: block; height: 100%; color: #fff; }
.qgx-focus img, .qgx-focus-ph {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s ease;
}
.qgx-focus-ph {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .55); font-size: 64px; font-weight: 700;
  font-family: "KaiTi", "STKaiti", serif;
}
.qgx-focus a:hover img, .qgx-focus a:hover .qgx-focus-ph { transform: scale(1.06); }
.qgx-focus-mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
}
.qgx-focus-tit {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 10px 16px; font-size: 15px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qgx-newlist li {
  height: 34px; line-height: 34px; font-size: 15px;
  display: flex; align-items: center; overflow: hidden;
}
.qgx-newlist li a {
  flex: 1 1 auto; min-width: 0; position: relative; padding-left: 12px;
  color: var(--qgx-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qgx-newlist li a em {
  position: absolute; left: 0; top: 50%; margin-top: -3px;
  border-width: 4px; border-style: solid; border-color: transparent transparent transparent var(--qgx-blue);
}
.qgx-newlist li a:hover { color: var(--qgx-blue); }
.qgx-new-time { flex: none; margin-left: 12px; font-size: 14px; color: var(--qgx-mute); }

/* 右栏精彩推荐：hd 大卡（橙角标）+ bd 蓝底白字 num 卡 */
.qgx-rec-hd { position: relative; height: 130px; background: var(--qgx-grad); overflow: hidden; margin-bottom: 10px; }
.qgx-rec-hd a { display: block; height: 100%; padding: 0 18px; display: flex; align-items: center; }
.qgx-rec-bq {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: 70px; height: 24px; line-height: 24px; text-align: center;
  background: var(--qgx-orange); color: #fff; font-size: 13px;
}
.qgx-rec-hd-tit {
  color: #fff; font-size: 17px; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qgx-rec-bd { margin-bottom: 9px; }
.qgx-rec-bd a {
  display: flex; align-items: center; gap: 12px;
  background: var(--qgx-blue); padding: 14px 16px; color: #fff;
  min-height: 64px;
}
.qgx-rec-bd a:hover { background: var(--qgx-blue-h); }
.qgx-rec-num {
  flex: none; width: 26px; height: 26px; line-height: 26px; text-align: center;
  background: rgba(255, 255, 255, .22); color: #fff;
  font-size: 14px; font-weight: 700; font-style: italic;
}
.qgx-rec-num.num-2 { background: rgba(255, 255, 255, .16); }
.qgx-rec-num.num-3 { background: rgba(255, 255, 255, .12); }
.qgx-rec-num.num-4 { background: rgba(255, 255, 255, .08); }
.qgx-rec-num.num-5 { background: rgba(255, 255, 255, .08); }
.qgx-rec-txt { min-width: 0; display: flex; flex-direction: column; }
.qgx-rec-txt b {
  font-size: 15px; color: #fff; line-height: 22px; height: 22px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qgx-rec-txt i {
  font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .78);
  line-height: 18px; height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============ 9. 全宽栏目组（listArt：3 列 dl 蓝底白字标题条） ============ */
.qgx-cats { display: flex; flex-wrap: wrap; margin-top: 26px; gap: 0 15px; }
.qgx-cats-dl { width: calc((100% - 30px) / 3); min-width: 0; margin-bottom: 22px; }
.qgx-cats-dl dt {
  height: 42px; line-height: 42px; padding: 0 14px;
  background: var(--qgx-blue); display: flex; align-items: center; justify-content: space-between;
}
.qgx-cats-dl dt h3 { font-size: 18px; font-weight: normal; }
.qgx-cats-dl dt h3 a { color: #fff; }
.qgx-cats-dl dt h3 a:hover { color: #fff; text-decoration: underline; }
.qgx-cats-dl dt span a { color: rgba(255, 255, 255, .88); font-size: 13px; }
.qgx-cats-dl dt span a:hover { color: #fff; text-decoration: underline; }
.qgx-cats-dl dd { padding: 12px 4px 0; }
.qgx-cats-dl dd li {
  height: 40px; line-height: 40px; display: flex; align-items: center; overflow: hidden;
}
.qgx-cats-dl dd li a {
  flex: 1 1 auto; min-width: 0; font-size: 15px; color: var(--qgx-txt);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qgx-cats-dl dd li a::before {
  content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--qgx-mute); margin-right: 8px; margin-bottom: 3px;
}
.qgx-cats-dl dd li a:hover { color: var(--qgx-blue); }
.qgx-cats-dl dd li a:hover::before { background: var(--qgx-blue); }
.qgx-cats-dl dd li span { flex: none; margin-left: 10px; font-size: 13px; color: var(--qgx-mute); }

/* ============ 10. 列表页：artItem 左图右文卡流 ============ */
.qgx-page-desc {
  background: #fff; border: 1px solid var(--qgx-line2);
  padding: 12px 16px; color: var(--qgx-gray); font-size: 14px; margin-bottom: 14px;
}
.qgx-subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.qgx-subnav a {
  background: var(--qgx-block); color: #565656; font-size: 14px;
  padding: 7px 18px; min-width: 96px; text-align: center;
}
.qgx-subnav a:hover { background: var(--qgx-blue); color: #fff; }
.qgx-artitems { background: transparent; }
.qgx-artitem {
  display: flex; gap: 20px; padding: 24px 0;
  border-bottom: 1px solid var(--qgx-line); background: transparent;
}
.qgx-artitem-pic {
  flex: none; width: 195px; height: 135px; overflow: hidden;
  background: #16324f; display: block;
}
.qgx-artitem-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.qgx-artitem-pic:hover img { transform: scale(1.05); }
.qgx-artitem-ph {
  display: flex; width: 100%; height: 100%; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .5); font-size: 44px; font-weight: 700;
  font-family: "KaiTi", "STKaiti", serif;
}
.qgx-artitem-tit { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.qgx-artitem-tit h4 { font-size: 18px; line-height: 30px; height: 30px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.qgx-artitem-tit h4 a { color: var(--qgx-txt); font-weight: normal; }
.qgx-artitem-tit h4 a:hover { color: var(--qgx-blue); }
.qgx-artitem-intro {
  color: var(--qgx-mute); font-size: 14px; line-height: 150%;
  margin: 4px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qgx-artitem-meta { display: flex; align-items: center; gap: 18px; color: var(--qgx-mute); font-size: 13px; }
.qgx-artitem-meta .is-free { color: var(--qgx-green); }
.qgx-artitem-price { color: var(--qgx-red); font-weight: 700; }
.qgx-artitem-btn {
  margin-top: auto; align-self: flex-start;
  display: inline-block; width: 99px; line-height: 34px; text-align: center;
  background: var(--qgx-blue); color: #fff !important; font-size: 14px;
}
.qgx-artitem-btn:hover { background: var(--qgx-blue-h); }

/* 搜索页再搜条 */
.qgx-research { display: flex; height: 40px; margin-bottom: 18px; max-width: 640px; }
.qgx-research input {
  flex: 1; min-width: 0; border: 1px solid var(--qgx-blue); border-right: 0;
  outline: none; padding: 0 12px; font-size: 14px; background: #fff;
}
.qgx-research button {
  width: 93px; border: 0; cursor: pointer; background: var(--qgx-blue); color: #fff; font-size: 15px;
}
.qgx-research button:hover { background: var(--qgx-blue-h); }

/* 分页（参考站 pages：方角蓝底当前页） */
.pagination { text-align: center; margin: 26px 0 10px; }
.pagination a, .pagination span.current {
  display: inline-block; margin: 0 2px; padding: 7px 12px;
  border: 1px solid #ccc; border-radius: 3px; background: #fff; color: #444; font-size: 14px;
}
.pagination a:hover, .pagination span.current { background: var(--qgx-blue); border-color: var(--qgx-blue); color: #fff; }

/* ============ 11. 内页双栏 shell（#fafafa 底 800+320） ============ */
.qgx-shellwrap { background: var(--qgx-pg); padding: 20px 0 30px; margin-top: 0; }
.qgx-shell { display: flex; gap: 20px; align-items: flex-start; }
.qgx-main { flex: 1 1 auto; min-width: 0; background: #fff; padding: 20px 18px; }
.qgx-side { width: 320px; flex: none; display: flex; flex-direction: column; gap: 14px; }

/* 首页全宽流 */
.qgx-main-full { min-width: 0; }

/* 侧栏卡（side_r 的 listArt dl：蓝底白字标题条） */
.qgx-scard { background: #fff; border: 1px solid var(--qgx-line2); }
.qgx-scard-head {
  height: 42px; line-height: 42px; padding: 0 14px;
  background: var(--qgx-blue); color: #fff; font-size: 16px; font-weight: 700;
}
.qgx-slist { padding: 6px 14px; }
.qgx-slist li {
  height: 38px; line-height: 38px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px dashed var(--qgx-line2); overflow: hidden;
}
.qgx-slist li:last-child { border-bottom: 0; }
.qgx-slist li a {
  flex: 1 1 auto; min-width: 0; font-size: 14px; color: var(--qgx-txt);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qgx-hot-idx {
  flex: none; width: 20px; height: 20px; line-height: 20px; text-align: center;
  background: #dfe8f5; color: #8aa3c4; font-size: 12px; font-weight: 700;
}
.qgx-hot-idx.idx-1 { background: var(--qgx-blue); color: #fff; }
.qgx-hot-idx.idx-2 { background: #3391ff; color: #fff; }
.qgx-hot-idx.idx-3 { background: #66aaff; color: #fff; }
.qgx-slist-dot li a { color: var(--qgx-txt); }
.qgx-slist-dot li a::before {
  content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--qgx-mute); margin-right: 8px; margin-bottom: 3px;
}
.qgx-slist-dot li a:hover::before { background: var(--qgx-blue); }

/* 侧栏 VIP 渐变蓝卡 */
.qgx-vipcard { background: var(--qgx-grad); border: 0; padding: 4px; }
.qgx-vipcard-in { background: rgba(255, 255, 255, 0.08); padding: 18px 16px; text-align: center; }
.qgx-vipcard-in strong { display: block; font-size: 18px; color: #fff; margin-bottom: 6px; }
.qgx-vipcard-in span { display: block; font-size: 13px; color: rgba(255, 255, 255, .82); margin-bottom: 12px; }
.qgx-vipcard-in a {
  display: inline-block; padding: 8px 30px; background: #fff;
  color: var(--qgx-blue) !important; font-size: 14px; font-weight: 700;
}
.qgx-vipcard-in a:hover { background: var(--qgx-graybg); }

/* 侧栏栏目速查：两列灰块 */
.qgx-catlist { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
.qgx-catlist a {
  width: calc((100% - 8px) / 2); text-align: center; line-height: 35px;
  background: var(--qgx-block); color: #565656; font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px;
}
.qgx-catlist a:hover { background: var(--qgx-blue); color: #fff; }

/* ============ 12. 文章页（artpage / artinfo / art_next） ============ */
.qgx-artpage { background: #fff; padding: 6px 0 20px; }
.qgx-artinfo { padding-bottom: 12px; border-bottom: 1px dashed var(--qgx-mute); }
.qgx-artinfo dt { padding: 8px 0 10px; }
.qgx-artinfo dt h1 { font-size: 26px; font-weight: normal; color: var(--qgx-txt); line-height: 1.5; }
.qgx-artinfo dd { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; color: #888; }
.qgx-artinfo dd a { color: #888; }
.qgx-artinfo dd a:hover { color: var(--qgx-blue); }

.qgx-detail-content {
  padding: 18px 0 6px; line-height: 180%; font-size: 15px;
  color: var(--qgx-txt); word-break: break-word; overflow: hidden;
}
.qgx-detail-content p { margin-bottom: 12px; }
.qgx-detail-content img { height: auto; margin: 5px auto; }
.qgx-detail-content a { color: var(--qgx-blue); }
.qgx-detail-content h1, .qgx-detail-content h2, .qgx-detail-content h3 {
  margin: 16px 0 10px; color: var(--qgx-ink); font-size: 18px;
}

.qgx-art-next {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid #ddd;
  display: flex; gap: 20px; font-size: 14px; line-height: 1.7;
}
.qgx-art-next span { flex: 1 1 0; min-width: 0; color: var(--qgx-mute); }
.qgx-art-next-l { text-align: left; }
.qgx-art-next-r { text-align: right; }
.qgx-art-next b { font-weight: normal; }
.qgx-art-next a { color: var(--qgx-ink); }
.qgx-art-next a:hover { color: var(--qgx-blue); }

/* ============ 13. 通用卡片 / 表单 / 按钮（沿用页契约） ============ */
.qgx-card { background: #fff; border: 1px solid var(--qgx-line2); }
.qgx-empty { padding: 46px 0; text-align: center; color: var(--qgx-mute); font-size: 14px; }

.qgx-page-head { margin-bottom: 16px; }
.qgx-page-title { font-size: 22px; color: var(--qgx-blue); font-weight: 700; margin-bottom: 4px; }
.qgx-page-sub { color: var(--qgx-mute); font-size: 13px; }

.qgx-btn {
  display: inline-block; padding: 9px 22px; font-size: 14px; line-height: 1.6;
  border: 1px solid var(--qgx-blue); cursor: pointer; text-align: center;
  background: var(--qgx-blue); color: #fff !important; border-radius: var(--qgx-radius);
}
.qgx-btn:hover { background: var(--qgx-btn-h); border-color: var(--qgx-btn-h); }
.qgx-btn-primary { background: var(--qgx-blue); border-color: var(--qgx-blue); color: #fff !important; }
.qgx-btn-orange { background: var(--qgx-orange); border-color: var(--qgx-orange); color: #fff !important; }
.qgx-btn-orange:hover { background: #e84a20; border-color: #e84a20; }
.qgx-btn-ghost { background: #fff; color: var(--qgx-blue) !important; }
.qgx-btn-ghost:hover { background: var(--qgx-blue); color: #fff !important; }
.qgx-btn-vip { background: var(--qgx-gold); border-color: var(--qgx-gold); color: #7a4a00 !important; }
.qgx-btn-vip:hover { background: #efa54f; border-color: #efa54f; color: #7a4a00 !important; }
.qgx-btn-suc { background: var(--qgx-green); border-color: var(--qgx-green); color: #fff !important; }
.qgx-btn-suc:hover { background: #27995d; border-color: #27995d; }
.qgx-btn-block { display: block; width: 100%; }

.qgx-alert { padding: 10px 14px; font-size: 13px; margin-bottom: 14px; background: #eef5ff; border: 1px solid #bcd8fb; color: #2a5d9f; }
.qgx-alert-error { background: #fdeeee; border-color: #f5c2c2; color: #b23030; }
.qgx-alert-success { background: #ecf8f1; border-color: #bfe6cd; color: #2b7a4b; }

.qgx-form-card { background: #fff; border: 1px solid var(--qgx-line2); padding: 26px 28px; }
.qgx-form-card-wide { max-width: 640px; margin: 0 auto; }
.qgx-form-group { margin-bottom: 14px; }
.qgx-form-group label { display: block; font-size: 13px; color: var(--qgx-gray); margin-bottom: 6px; }
.qgx-form-group input, .qgx-form-group select {
  width: 100%; padding: 9px 12px; font-size: 14px;
  border: 1px solid var(--qgx-line); outline: none; background: #fff;
}
.qgx-form-group input:focus, .qgx-form-group select:focus { border-color: var(--qgx-blue); }
.qgx-form-hint { font-size: 13px; color: var(--qgx-mute); margin-bottom: 14px; }
.qgx-buy-card { background: var(--qgx-pg); border: 1px solid var(--qgx-line2); padding: 20px 22px; margin-top: 16px; }
.qgx-buy-card h3 { font-size: 16px; margin-bottom: 10px; color: var(--qgx-ink); }

.qgx-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.qgx-table th, .qgx-table td { border: 1px solid var(--qgx-line2); padding: 9px 12px; text-align: left; }
.qgx-table th { background: var(--qgx-graybg); font-weight: 700; }

.qgx-sep { font-style: normal; margin: 0 6px; color: #ccc; }

/* 订单状态 */
.qgx-status-ok { color: var(--qgx-green); font-weight: 700; }
.qgx-status-no { color: var(--qgx-red); font-weight: 700; }

/* ============ 14. order_create 横排卡（qgx-res-hero 组件保留） ============ */
.qgx-res-hero { display: flex; gap: 22px; background: #fff; border: 1px solid var(--qgx-line2); padding: 20px; }
.qgx-res-hero-thumb { flex: none; width: 240px; min-height: 180px; background: #16324f; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.qgx-res-hero-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qgx-res-hero-thumb span { color: rgba(255, 255, 255, .5); font-size: 15px; }
.qgx-res-hero-thumb-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 12px; text-align: center; padding: 4px 0;
}
.qgx-res-hero-info { flex: 1 1 auto; min-width: 0; }
.qgx-res-hero-info .qgx-page-title { font-size: 24px; color: var(--qgx-txt); font-weight: 700; margin-bottom: 10px; }
.qgx-article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: #888; font-size: 13px; margin-bottom: 12px; }
.qgx-article-meta a { color: #888; }
.qgx-article-meta a:hover { color: var(--qgx-blue); }
.qgx-res-hero-fields { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--qgx-gray); margin-bottom: 12px; }
.qgx-res-hero-fields b { font-weight: normal; color: var(--qgx-mute); }
.qgx-res-hero-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.qgx-res-hero-price { color: var(--qgx-red); font-size: 30px; font-weight: 800; }
.qgx-res-hero-price small { font-size: 14px; font-weight: normal; }
.qgx-res-hero-price-label { color: var(--qgx-mute); font-size: 13px; }
.qgx-res-hero-free-tag {
  display: inline-block; padding: 2px 10px; background: rgba(46, 184, 114, 0.12);
  color: var(--qgx-green); font-size: 13px; font-weight: 700; border: 1px solid rgba(46, 184, 114, 0.4);
}
.qgx-res-hero-notice { margin-top: 14px; font-size: 12px; color: var(--qgx-mute); background: var(--qgx-graybg); padding: 8px 12px; }

/* 付费框（蓝系角标 + 按钮组 + 服务行） */
.qgx-paybox { position: relative; border: 1px solid var(--qgx-line); background: #fbfdff; padding: 18px 18px 14px; margin: 14px 0; }
.qgx-pay-tag {
  position: absolute; top: -1px; right: -1px;
  background: var(--qgx-orange); color: #fff; font-size: 13px; font-weight: 700;
  padding: 4px 14px;
}
.qgx-btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.qgx-res-hero-services { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 12px; color: var(--qgx-mute); }
.qgx-res-hero-services span::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--qgx-blue); margin-right: 6px; margin-bottom: 2px; }

/* 付费内容解锁区 */
.qgx-paid-hint {
  margin-top: 14px; padding: 14px 16px; text-align: center; cursor: pointer;
  background: var(--qgx-graybg); border: 1px dashed var(--qgx-line); color: var(--qgx-gray); font-size: 14px;
}
.qgx-paid-hint-link { color: var(--qgx-blue); font-weight: 700; text-decoration: underline; }
.qgx-paid-box { margin-top: 16px; border: 1px solid var(--qgx-line); background: #f6faff; padding: 16px 18px; }
.qgx-paid-box.paid-flash { animation: qgxueFlash 1.2s ease; }
@keyframes qgxueFlash {
  0% { background: #dcecfd; box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.4); }
  100% { background: #f6faff; box-shadow: 0 0 0 0 rgba(0, 132, 255, 0); }
}
.qgx-paid-head { color: var(--qgx-blue); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.qgx-paid-body { font-size: 15px; line-height: 1.8; }
.qgx-paid-body p { margin-bottom: 10px; word-break: break-all; }
.qgx-paid-copy {
  margin-top: 10px; width: 160px; display: block; margin-left: auto; margin-right: auto;
  padding: 8px 0; cursor: pointer; border: 0;
  background: var(--qgx-blue); color: #fff; font-size: 14px;
}
.qgx-paid-copy:hover { background: var(--qgx-btn-h); }

/* ============ 15. 支付弹窗（pay-* JS 契约，样式按蓝系适配） ============ */
.pay-mask {
  position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.pay-modal { width: 320px; max-width: 100%; background: #fff; padding: 18px 20px 20px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2); }
.pay-head { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; color: var(--qgx-ink); }
.pay-amount { color: var(--qgx-red); }
.pay-close { font-size: 24px; line-height: 1; color: var(--qgx-mute); cursor: pointer; background: none; border: 0; }
.pay-close:hover { color: var(--qgx-red); }
.pay-qr-wrap { margin: 16px auto 0; width: 232px; height: 232px; }
.pay-qr-wrap img { width: 232px; height: 232px; }
.pay-caption { font-size: 13px; color: var(--qgx-gray); margin-top: 10px; text-align: center; }
.pay-btn-phone {
  margin: 12px auto 0; display: block; width: 100%; padding: 8px 0; cursor: pointer;
  background: #fff; border: 1px solid var(--qgx-blue); color: var(--qgx-blue); font-size: 13px;
}
.pay-btn-phone:hover { background: var(--qgx-blue); color: #fff; }
.pay-status {
  margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px; color: var(--qgx-gray);
}
.pay-status-ok { color: var(--qgx-green); }
.pay-status-expired, .pay-status-fail { color: var(--qgx-red); }
.pay-spinner {
  width: 13px; height: 13px; flex: none;
  border: 2px solid var(--qgx-line); border-top-color: var(--qgx-blue); border-radius: 50%;
  animation: qgxueSpin 0.8s linear infinite;
}
@keyframes qgxueSpin { to { transform: rotate(360deg); } }
.pay-btn-refresh {
  margin: 12px auto 0; display: block; width: 100%; padding: 8px 0; cursor: pointer;
  background: var(--qgx-blue); border: 0; color: #fff; font-size: 14px;
}
.pay-btn-refresh:hover { background: var(--qgx-btn-h); }
.pay-btn-refresh:disabled { opacity: .6; cursor: wait; }

/* ============ 16. 页脚（蓝底白字方角） ============ */
.qgx-footer { background: var(--qgx-blue); color: #fff; padding: 22px 0 26px; margin-top: 34px; }
.qgx-footer a { color: #fff; }
.qgx-footer a:hover { color: #fff; text-decoration: underline; }
.qgx-ft-nav { text-align: center; font-size: 14px; color: var(--qgx-blue-l); line-height: 2; margin: 0 0 6px; }
.qgx-ft-nav a { padding: 0 14px; }
.qgx-ft-friend { margin-bottom: 6px; }
.qgx-ft-friend-label { color: rgba(255, 255, 255, .85); padding: 0 8px 0 0; }
.qgx-ft-friend a { padding: 0 8px; }
.qgx-ft-note { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .85); line-height: 1.9; margin: 8px auto 0; max-width: 900px; }
.qgx-ft-copy { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .85); line-height: 2; margin-top: 4px; }

/* 返回顶部（70x60 灰方块 hover 蓝） */
.qgx-backtop {
  position: fixed; right: 14px; bottom: 90px; z-index: 90;
  width: 52px; height: 52px; background: #ccc; color: #fff !important;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.qgx-backtop:hover { background: var(--qgx-blue); }

/* ============ 17. 沿用页组件（member/vip/topics/links/page/auth） ============ */
.qgx-widget { background: #fff; border: 1px solid var(--qgx-line2); margin-bottom: 16px; }
.qgx-widget-head {
  height: 42px; line-height: 42px; padding: 0 14px;
  background: var(--qgx-blue); color: #fff; font-size: 16px; font-weight: 700;
}
.qgx-widget-body { padding: 14px; font-size: 14px; color: var(--qgx-txt); }

.qgx-user-avatar, .qgx-chips, .qgx-chip { display: inline-block; }
.qgx-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
.qgx-chip { padding: 4px 14px; background: var(--qgx-block); color: #565656; font-size: 13px; }
.qgx-chip:hover { background: var(--qgx-blue); color: #fff; }

/* VIP 页 */
.qgx-vip-card { background: #fff; border: 1px solid var(--qgx-line2); padding: 20px; text-align: center; }
.qgx-vip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 14px; }
.qgx-vip-name { font-size: 17px; font-weight: 700; color: var(--qgx-ink); margin-bottom: 6px; }
.qgx-vip-price { color: var(--qgx-red); font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.qgx-vip-days { color: var(--qgx-mute); font-size: 13px; margin-bottom: 12px; }
.qgx-vip-flag {
  display: inline-block; padding: 1px 8px; background: rgba(247, 181, 112, 0.18);
  color: #b06f1e; font-size: 12px;
}
.qgx-cta {
  background: #fff; border: 1px solid var(--qgx-line2); padding: 22px; text-align: center; margin-bottom: 16px;
}
.qgx-cta-title { font-size: 20px; font-weight: 700; color: var(--qgx-ink); margin-bottom: 6px; }
.qgx-cta-sub { color: var(--qgx-mute); font-size: 13px; margin-bottom: 14px; }
.qgx-cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.qgx-cta-note { margin-top: 12px; font-size: 12px; color: var(--qgx-mute); }
.qgx-cta-body { font-size: 14px; color: var(--qgx-txt); line-height: 1.9; text-align: left; }

/* 热门榜行（sitemap 页 / 通用列表行） */
.qgx-hotlist { padding: 6px 14px; }
.qgx-hotlist li {
  height: 38px; line-height: 38px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px dashed var(--qgx-line2); overflow: hidden;
}
.qgx-hotlist li:last-child { border-bottom: 0; }
.qgx-hot-title {
  flex: 1 1 auto; min-width: 0; font-size: 14px; color: var(--qgx-txt);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qgx-hot-views { flex: none; font-size: 13px; color: var(--qgx-red); }
.qgx-pay-pill {
  display: inline-block; padding: 4px 16px; background: #eef5ff;
  border: 1px solid #bcd8fb; color: #2a5d9f; font-size: 13px; margin: 0 4px;
}
.qgx-pay-type-label { font-size: 13px; color: var(--qgx-gray); margin-bottom: 6px; display: block; }
.qgx-pay-type { margin-bottom: 14px; }

/* 专题页 */
.qgx-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.qgx-topic-card { background: #fff; border: 1px solid var(--qgx-line2); padding: 18px; }
.qgx-topic-name { font-size: 16px; font-weight: 700; color: var(--qgx-blue); margin-bottom: 6px; }
.qgx-topic-summary { color: var(--qgx-mute); font-size: 13px; line-height: 1.7; }
.qgx-topic-meta { margin-top: 8px; font-size: 12px; color: var(--qgx-mute); }

/* 友链页 */
.qgx-links-intro { color: var(--qgx-mute); font-size: 13px; margin-bottom: 16px; }
.qgx-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.qgx-link-card {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--qgx-line2); padding: 12px 14px; min-width: 0;
}
.qgx-link-logo { flex: none; width: 40px; height: 40px; background: var(--qgx-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.qgx-link-text { min-width: 0; display: flex; flex-direction: column; }
.qgx-link-name { font-size: 14px; color: var(--qgx-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qgx-link-desc { font-size: 12px; color: var(--qgx-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 会员页用户块 */
.qgx-user-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--qgx-blue);
  color: #fff; font-size: 18px; font-weight: 700;
  align-items: center; justify-content: center; display: inline-flex;
}

/* auth 登录注册 */
.qgx-content-card { background: #fff; border: 1px solid var(--qgx-line2); padding: 20px; }

/* 首页 SEO 简介 / 友链版块 */
.qgx-home-seo { margin-top: 28px; }
.qgx-tit-seo h2 { color: var(--qgx-blue); }
.qgx-home-seo-body { font-size: 14px; color: var(--qgx-txt); line-height: 1.9; }
.qgx-home-links { margin-top: 10px; margin-bottom: 6px; }
.qgx-home-links-body { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0 6px; }
.qgx-home-links-body a {
  padding: 6px 16px; background: var(--qgx-block); color: #565656; font-size: 13px;
}
.qgx-home-links-body a:hover { background: var(--qgx-blue); color: #fff; }

/* ============ 18. 响应式（1080 / 999.98 / 689.98 三断点） ============ */
@media (max-width: 1080px) {
  .qgx-tri { gap: 16px; }
  .qgx-tri-l { width: 262px; }
  .qgx-tri-r { width: 300px; }
  .qgx-focus { height: 200px; }
  .qgx-cats-dl { width: calc((100% - 15px) / 2); }
  .qgx-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qgx-nav-inner a { font-size: 16px; min-width: 0; padding: 0 10px; }
}

@media (max-width: 999.98px) {
  .qgx-header-inner { height: 92px; gap: 14px; }
  .qgx-logo-mark { width: 46px; height: 46px; font-size: 24px; }
  .qgx-logo-txt strong { font-size: 19px; }
  .qgx-logo-txt em { font-size: 12px; }
  .qgx-head-search { max-width: 52%; }

  /* 导航变抽屉：白面板下拉（display:none 方案） */
  .qgx-nav-toggle {
    display: block; margin-left: 10px; background: none; border: 1px solid var(--qgx-line);
    padding: 7px 9px; cursor: pointer; flex: none;
  }
  .qgx-nav { display: none; height: auto; max-height: 62vh; overflow-y: auto; }
  .qgx-nav.open { display: block; }
  .qgx-nav-inner { display: block; }
  .qgx-nav-inner a {
    display: block; max-width: none; line-height: 44px; height: 44px;
    font-size: 15px; border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: left; padding: 0 16px;
  }

  .qgx-tri { display: block; }
  .qgx-tri-l { width: auto; }
  .qgx-focus { height: 220px; }
  .qgx-tri-c { margin-top: 24px; }
  .qgx-tri-r { width: auto; margin-top: 24px; }
  .qgx-shell { display: block; }
  .qgx-side { width: auto; margin-top: 20px; }
  .qgx-banner-inner h2 { font-size: 26px; letter-spacing: 4px; }
  .qgx-banner-mark { font-size: 110px; }
}

@media (max-width: 689.98px) {
  .qgx-topbar { height: auto; line-height: 1.6; padding: 4px 0; }
  .qgx-topbar-inner { flex-wrap: wrap; gap: 2px 10px; }
  .qgx-header-inner { height: 74px; }
  .qgx-head-search { width: auto; flex: 1 1 auto; min-width: 0; max-width: none; margin-left: 0; }
  .qgx-logo-txt em { display: none; }
  .qgx-logo-txt strong { font-size: 17px; }
  .qgx-banner-inner { padding: 36px 14px 32px; }
  .qgx-banner-inner h2 { font-size: 22px; letter-spacing: 3px; }
  .qgx-banner-inner p { font-size: 13px; letter-spacing: 1px; }
  .qgx-banner-mark { font-size: 84px; }

  .qgx-cats-dl { width: 100%; }
  .qgx-focus { height: 180px; }
  .qgx-rec-hd { height: 96px; }
  .qgx-rec-hd a { padding: 0 14px; }
  .qgx-newlist li { height: 36px; line-height: 36px; font-size: 14px; }

  .qgx-artitem { gap: 12px; padding: 16px 0; }
  .qgx-artitem-pic { width: 128px; height: 92px; flex: none; }
  .qgx-artitem-ph { font-size: 30px; }
  .qgx-artitem-tit h4 { font-size: 16px; line-height: 24px; height: 24px; }
  .qgx-artitem-btn { width: 88px; line-height: 30px; font-size: 13px; }

  .qgx-res-hero { flex-direction: column; padding: 14px; }
  .qgx-res-hero-thumb { width: 100%; min-height: 150px; }
  .qgx-res-hero-info .qgx-page-title { font-size: 19px; }
  .qgx-res-hero-price { font-size: 24px; }
  .qgx-btn-row .qgx-btn { flex: 1 1 100%; }
  .qgx-art-next { flex-direction: column; gap: 4px; }
  .qgx-art-next-r { text-align: left; }
  .qgx-artinfo dt h1 { font-size: 20px; }
  .qgx-artinfo dd { gap: 12px; font-size: 13px; }
  .qgx-detail-content { font-size: 14px; }

  .qgx-topic-grid { grid-template-columns: 1fr; }
  .qgx-link-grid { grid-template-columns: 1fr; }
  .qgx-ft-nav a { padding: 0 8px; }
  .qgx-backtop { right: 10px; bottom: 70px; width: 44px; height: 44px; }
}


/* ============================================================
   94 期追加：气功学参考站区块（80px fixed 头 + 红药丸导航 +
   纯 CSS 轮播 + 今日头条图卡 + 横卡流 + 热点 widget + art-main 白卡）
   ============================================================ */

/* ---- 0. 页面基调：浅灰页底 + fixed 头让位 ---- */
body { background: #f8f8f8; padding-top: 80px; }

/* ---- 1. 80px fixed 白底头 ---- */
.qgx-hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.qgx-hd-in { display: flex; align-items: center; gap: 18px; height: 80px; }
.qgx-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.qgx-logo-mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(180deg, #e05a50, #bf3b33);
  color: #fff; font-size: 20px; font-weight: 700; font-style: normal;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.qgx-logo-name { font-size: 20px; font-weight: 700; color: #333; white-space: nowrap; }

/* ---- 2. 红药丸导航（参考站 nav.png 背景图 → CSS 渐变复刻） ---- */
.qgx-pillnav { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.qgx-pillnav a {
  max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 7px 16px; border-radius: 999px;
  background: linear-gradient(180deg, #e05a50, #c33d36);
  color: #fff; font-size: 14px; line-height: 1.5;
  transition: background .15s ease, box-shadow .15s ease;
}
.qgx-pillnav a:hover { background: linear-gradient(180deg, #c74b42, #a83226); color: #fff; }
.qgx-pillnav a.on {
  background: linear-gradient(180deg, #c74b42, #a83226);
  box-shadow: 0 2px 6px rgba(191, 59, 51, 0.35);
}
.qgx-pillnav-vip { background: linear-gradient(135deg, #f0a13c, #e07b1f) !important; }
.qgx-pillnav-vip:hover { background: linear-gradient(135deg, #e0912c, #c96c12) !important; }
.qgx-pillnav-user { background: linear-gradient(180deg, #2b9bff, #0084ff) !important; }
.qgx-pillnav-user:hover { background: linear-gradient(180deg, #1b8bf0, #0072e0) !important; }
.qgx-pillnav-auth { background: #fff !important; color: #666 !important; border: 1px solid #ddd; padding: 6px 15px; }
.qgx-pillnav-auth:hover { color: #e05a50 !important; border-color: #e05a50; background: #fff !important; }

/* 移动菜单按钮（桌面隐藏） */
.qgx-hd-toggle { display: none; }

/* ---- 3. 红竖条标题（参考站 c-title） ---- */
.qgx-ctit { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.qgx-ctit::before {
  content: ''; width: 4px; height: 18px; flex: none;
  background: #e05a50; border-radius: 2px;
}
.qgx-ctit h2 { font-size: 18px; font-weight: 700; color: #333; white-space: nowrap; }
.qgx-ctit h3 { font-size: 16px; font-weight: 700; color: #333; white-space: nowrap; }
.qgx-ctit h1 { font-size: 20px; font-weight: 700; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qgx-ctit-more { margin-left: auto; font-size: 13px; color: #999; }
.qgx-ctit-more:hover { color: var(--qgx-blue); }
.qgx-ctit-sub { margin-left: auto; font-size: 13px; color: #999; font-weight: normal; white-space: nowrap; }
.qgx-scard > .qgx-ctit { padding: 14px 14px 0; margin-bottom: 8px; }
.qgx-scard { border-radius: 8px; overflow: hidden; }

/* ---- 4. 纯 CSS 轮播（4 张 absolute 叠放 keyframes 轮换） ---- */
.qgx-carousel {
  position: relative; height: 340px; margin-bottom: 18px;
  border-radius: 8px; overflow: hidden; background: #3d4451;
}
.qgx-slide { position: absolute; inset: 0; opacity: 0; animation: qgxfade 16s linear infinite; }
.qgx-slide:nth-child(1) { animation-delay: 0s; }
.qgx-slide:nth-child(2) { animation-delay: 4s; }
.qgx-slide:nth-child(3) { animation-delay: 8s; }
.qgx-slide:nth-child(4) { animation-delay: 12s; }
@keyframes qgxfade {
  0% { opacity: 0; } 3% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; } 100% { opacity: 0; }
}
.qgx-slide a { display: block; height: 100%; position: relative; }
.qgx-slide img, .qgx-slide-ph {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s ease;
}
.qgx-slide-ph {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.5); font-size: 64px; font-weight: 700;
  font-family: "KaiTi", "STKaiti", serif;
}
.qgx-slide a:hover img, .qgx-slide a:hover .qgx-slide-ph { transform: scale(1.04); }
.qgx-slide-mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
}
.qgx-slide-tit {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 12px 18px; font-size: 17px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---- 5. 白卡盒（参考站 sb 白卡体系） ---- */
.qgx-rbox {
  background: #fff; border-radius: 8px; padding: 18px 20px;
  margin-bottom: 18px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.qgx-main-home { background: transparent; padding: 0; }

/* ---- 6. 今日头条：2 列图卡网格（recommend-a） ---- */
.qgx-hgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.qgx-hitem { min-width: 0; }
.qgx-hthumb {
  display: block; position: relative; height: 150px;
  border-radius: 6px; overflow: hidden; background: #3d4451;
}
.qgx-hthumb img, .qgx-hph {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease;
}
.qgx-hph { display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.5); font-size: 40px; font-weight: 700; font-family: "KaiTi", "STKaiti", serif; }
.qgx-hitem:hover .qgx-hthumb img, .qgx-hitem:hover .qgx-hph { transform: scale(1.05); }
.qgx-hcat {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  padding: 2px 10px; border-radius: 999px;
  background: rgba(224, 90, 80, 0.92); color: #fff; font-size: 12px;
  max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qgx-htit {
  margin-top: 10px; font-size: 15px; line-height: 22px; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qgx-htit a { color: #333; }
.qgx-htit a:hover { color: var(--qgx-blue); }
.qgx-hmeta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; font-size: 12px; color: #999; }
.qgx-hview { color: var(--qgx-red); }

/* ---- 7. 广告位通栏 ---- */
.qgx-ad {
  height: 80px; margin-bottom: 18px;
  border: 1px dashed #ddd; border-radius: 8px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: #bbb; font-size: 15px; letter-spacing: 4px;
}

/* ---- 8. 最新文章横卡流（article-list） ---- */
.qgx-alist { padding-top: 2px; }
.qgx-aitem { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.qgx-aitem:last-child { border-bottom: 0; padding-bottom: 6px; }
.qgx-afig {
  flex: none; width: 220px; height: 140px;
  border-radius: 6px; overflow: hidden; background: #3d4451; display: block;
}
.qgx-afig img, .qgx-aph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.qgx-aph { display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.5); font-size: 40px; font-weight: 700; font-family: "KaiTi", "STKaiti", serif; }
.qgx-aitem:hover .qgx-afig img, .qgx-aitem:hover .qgx-aph { transform: scale(1.05); }
.qgx-acon { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.qgx-atit { font-size: 17px; line-height: 26px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qgx-atit a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #333; }
.qgx-atit a:hover { color: var(--qgx-blue); }
.qgx-aintro {
  width: 100%; min-width: 0;
  margin: 8px 0 0; color: #999; font-size: 13px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qgx-adat { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: #999; }
.qgx-aview { color: var(--qgx-red); }
.qgx-acat { padding: 1px 8px; background: #f1f3f5; border-radius: 3px; color: #666; }
.qgx-afree { color: #4abd96; font-weight: 700; }
.qgx-aprice { color: var(--qgx-red); font-weight: 700; }
.qgx-amore {
  align-self: flex-start; margin-top: 10px; padding: 5px 16px;
  border: 1px solid var(--qgx-blue); color: var(--qgx-blue) !important;
  border-radius: 999px; font-size: 13px; line-height: 1.5;
}
.qgx-amore:hover { background: var(--qgx-blue); color: #fff !important; }

/* ---- 9. 侧栏热点排行 widget（左小图 + 右文） ---- */
.qgx-hotw-list { padding: 2px 14px 12px; }
.qgx-hotw-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.qgx-hotw-item:last-child { border-bottom: 0; padding-bottom: 2px; }
.qgx-hotw-img {
  flex: none; width: 96px; height: 64px;
  border-radius: 4px; overflow: hidden; background: #3d4451; display: block;
}
.qgx-hotw-img img, .qgx-hotw-ph { width: 100%; height: 100%; object-fit: cover; }
.qgx-hotw-ph { display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.55); font-size: 22px; font-weight: 700; font-family: "KaiTi", "STKaiti", serif; }
.qgx-hotw-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.qgx-hotw-tit {
  width: 100%; min-width: 0; max-width: 100%;
  font-size: 14px; line-height: 20px; max-height: 40px; color: #333;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qgx-hotw-tit:hover { color: var(--qgx-blue); }
.qgx-hotw-info { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #999; }
.qgx-hotw-view { color: var(--qgx-red); }

/* ---- 10. 文章页 art-main 白卡 ---- */
.qgx-rbox.qgx-amain { padding: 24px 26px; }
.qgx-ahead { padding-bottom: 14px; border-bottom: 1px solid #f0f0f0; }
.qgx-atitle { font-size: 26px; line-height: 1.5; color: #333; font-weight: 700; }
.qgx-ainfo { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: #999; }
.qgx-ainfo a { color: var(--qgx-blue); }
.qgx-ainfo-view { color: var(--qgx-red); }

/* ---- 11. 栏目组（白卡三列 dl） ---- */
.qgx-catsgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 28px; }
.qgx-catsdl { min-width: 0; }
.qgx-catsdl dt {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 15px; font-weight: 700;
}
.qgx-catsdl dt a { color: #333; }
.qgx-catsdl dt a:hover { color: var(--qgx-blue); }
.qgx-catsdl dt span a { font-size: 12px; color: #999; font-weight: normal; }
.qgx-catsdl dd li { height: 34px; line-height: 34px; display: flex; align-items: center; overflow: hidden; }
.qgx-catsdl dd li a {
  flex: 1 1 auto; min-width: 0; font-size: 14px; color: #555;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qgx-catsdl dd li a::before {
  content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: #ccc; margin-right: 8px; margin-bottom: 3px;
}
.qgx-catsdl dd li a:hover { color: var(--qgx-blue); }
.qgx-catsdl dd li a:hover::before { background: var(--qgx-blue); }
.qgx-catsdl dd li span { flex: none; margin-left: 10px; font-size: 12px; color: #999; }

/* ---- 12. 页脚覆盖：白底灰字上边框（参考站 footer 形制） ---- */
.qgx-footer { background: #fff; color: #999; border-top: 1px solid #eee; margin-top: 0; padding: 20px 0 24px; }
.qgx-footer a { color: #666; }
.qgx-footer a:hover { color: var(--qgx-blue); text-decoration: none; }
.qgx-ft-nav { color: #ddd; }
.qgx-ft-note, .qgx-ft-copy { color: #999; }
.qgx-ft-friend-label { color: #999; }

/* ---- 13. 首页 SEO / 友链版块归位（外壳已是白卡，去掉旧间距） ---- */
.qgx-home-seo { margin-top: 0; }
.qgx-home-links { margin-top: 0; margin-bottom: 0; }
.qgx-cathead { margin-bottom: 18px; }
.qgx-cathead .qgx-page-desc { margin: 0 0 12px; background: #f8f9fa; border: 0; }
.qgx-cathead .qgx-subnav { margin-bottom: 0; }

/* ---- 14. 付费提示 / 解锁盒套白卡（置于灰底独立显示） ---- */
.qgx-paid-hint {
  background: #fff; border: 1px dashed #e0b4b0; border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.qgx-paid-box {
  background: #fff; border: 1px solid #f0f0f0; border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* ---- 15. 响应式补丁 ---- */
@media (max-width: 1080px) {
  .qgx-carousel { height: 300px; }
  .qgx-afig { width: 180px; height: 120px; }
  .qgx-pillnav { gap: 8px; }
  .qgx-pillnav a { padding: 6px 12px; }
}

@media (max-width: 999.98px) {
  body { padding-top: 60px; }
  .qgx-hd-in { height: 60px; gap: 10px; }
  .qgx-logo-mark { width: 32px; height: 32px; font-size: 17px; }
  .qgx-logo-name { font-size: 17px; }

  /* 红药丸导航转暗底抽屉（参考站 #323841，hover/当前 主蓝） */
  .qgx-hd-toggle {
    display: block; margin-left: 4px; background: #fff;
    border: 1px solid var(--qgx-line); border-radius: 6px;
    padding: 7px 9px; cursor: pointer; flex: none;
  }
  .qgx-pillnav {
    display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
    background: #323841; flex-direction: column; align-items: stretch;
    padding: 10px 14px 14px; gap: 2px;
    max-height: 62vh; overflow-y: auto;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  }
  .qgx-pillnav.open { display: flex; }
  .qgx-pillnav a {
    display: block; max-width: none; border-radius: 6px;
    background: transparent; color: #c8cdd4;
    padding: 11px 12px; font-size: 15px; line-height: 1.5;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .qgx-pillnav a:first-child { border-top: 0; }
  .qgx-pillnav a:hover, .qgx-pillnav a.on { background: var(--qgx-blue); color: #fff; }
  .qgx-pillnav-vip { background: linear-gradient(135deg, #f0a13c, #e07b1f) !important; }
  .qgx-pillnav-user { background: transparent !important; }
  .qgx-pillnav-user:hover { background: var(--qgx-blue) !important; }
  .qgx-pillnav-auth { background: transparent !important; border: 0; color: #c8cdd4 !important; }
  .qgx-pillnav-auth:hover { color: #fff !important; }

  .qgx-carousel { height: 260px; }
  .qgx-hgrid { gap: 14px; }
  .qgx-catsgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
}

@media (max-width: 689.98px) {
  .qgx-hd-in { gap: 8px; }
  .qgx-logo-mark { width: 30px; height: 30px; font-size: 16px; border-radius: 7px; }
  .qgx-logo-name { font-size: 16px; }

  .qgx-rbox { padding: 14px 14px 12px; }
  .qgx-carousel { height: 200px; margin-bottom: 14px; }
  .qgx-slide-tit { font-size: 15px; padding: 10px 14px; }
  .qgx-ad { height: 64px; font-size: 13px; margin-bottom: 14px; }

  .qgx-hgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .qgx-hthumb { height: 104px; }
  .qgx-htit { font-size: 14px; line-height: 20px; }
  .qgx-hmeta { font-size: 11px; }

  .qgx-aitem { gap: 10px; padding: 14px 0; }
  .qgx-afig { width: 116px; height: 78px; }
  .qgx-aph { font-size: 28px; }
  .qgx-atit { font-size: 15px; line-height: 22px; }
  .qgx-aintro { display: none; }
  .qgx-adat { gap: 4px 10px; }
  .qgx-amore { margin-top: 8px; padding: 4px 12px; font-size: 12px; }

  .qgx-hotw-img { width: 84px; height: 56px; }
  .qgx-catsgrid { grid-template-columns: 1fr; gap: 0; }
  .qgx-catsdl { margin-bottom: 8px; }

  .qgx-rbox.qgx-amain { padding: 16px; }
  .qgx-atitle { font-size: 20px; }
  .qgx-ainfo { gap: 4px 12px; font-size: 12px; }
  .qgx-btn-row .qgx-btn { flex: 1 1 100%; }
  .qgx-art-next { flex-direction: column; gap: 4px; }
  .qgx-art-next-r { text-align: left; }
  .qgx-backtop { right: 10px; bottom: 70px; width: 44px; height: 44px; }
}

/* ---- 16. 补遗：404 页 / 横卡与 info 行小类 / 栏目组外壳 ---- */
.qgx-404 { padding: 70px 0 60px; text-align: center; }
.qgx-404-num {
  font-size: 110px; line-height: 1; font-weight: 800; color: #e05a50;
  letter-spacing: 6px; margin-bottom: 18px;
}
.qgx-aauthor { color: #666; }
.qgx-atime { color: #999; }
.qgx-htime { color: #999; }
.qgx-ainfo-author { color: #666; }
.qgx-catsbox { padding-bottom: 10px; }

/* 付费引导卡（七十七期：同步主站 m-paid-cta 形态 —— 大号橙价 + 绿色按钮 + 找回订单） */
.qgx-paid-cta{background:linear-gradient(180deg,#f1f2f4,#e9eaec);border-radius:10px;padding:22px 16px;text-align:center;margin:18px 0}
.qgx-paid-cta-price{font-size:14px;color:#555;margin-bottom:14px}
.qgx-paid-cta-price strong{font-size:30px;color:#ff6600;font-weight:700;margin:0 4px;line-height:1.1}
.qgx-paid-cta-btn{display:inline-block;border:0;cursor:pointer;padding:13px 64px;border-radius:8px;color:#fff;font-size:16px;font-weight:600;background:linear-gradient(180deg,#2fce5f,#17b34a);box-shadow:0 4px 12px rgba(23,179,74,.28);transition:transform .18s,box-shadow .18s}
.qgx-paid-cta-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(23,179,74,.36)}
.qgx-paid-cta-tip{font-size:13px;color:#888;margin-top:12px}
.qgx-paid-cta-tip a{color:#ff8c00;text-decoration:none}
.qgx-paid-cta-tip a:hover{text-decoration:underline}
@media (max-width:640px){.qgx-paid-cta-btn{width:100%;padding:13px 0}}
/* thumb-full-override 2026-10-09 */
[class*="-post-thumb"] img,[class*="-hero-thumb"] img,[class*="-cathero-media"] img,[class*="s-thumb"] img{object-fit:contain}
