/* ============================================================
   jianhu 主题 · 仿 jianhuw.com 建虎网（DedeCMS 二次开发建筑资料下载站，GBK 编码）
   设计规范（实测参考站 jianhu_shouye.css/jianhu_arc.css + 首页/详情/列表 HTML + CDP 截图）：
   - 主蓝 #2a7dc9（nav 通栏/按钮/标题）/ 深蓝 #1a6cb9（hover）/ 橙点缀 #ff6b00（签到/强调）
   - 页面底 #f5f5f5；白卡 + 4px 小圆角 + 轻阴影（0 1px 3px）；边线 #eee；文字 #333/#666/#999
   - 三段式头部：白色 topbar 细条 + 白底 header（logo+居中大搜索框+右侧绝对定位蓝钮）
     + 蓝色通栏 nav（hover 深蓝底 + 白色子栏目下拉面板）
   - 首页：hero 大图标语（底部黑渐变+白字）+ 5 快捷通道卡 + 两栏（最新资料 doc-list
     + 右栏热点分类 tag 胶囊云/本周热门）
   - 内页两栏：左列表/详情 + 右 sidebar（点击排行/最近更新/热点分类）
   - 详情：居中大标题 + 灰底 meta 框 + 蓝通栏「进入下载页」+ 资料简介/下载地址灰框
   - footer #333 深灰（免责声明 + Copyright + ICP）
   注意：pay-* 弹窗类名是 JS 契约不可改；JS 会 inline 设 display:block，
        弹窗内按钮必须自带 width + margin:auto 居中（勿依赖 text-align）
   ============================================================ */

:root

:root {
    --jh-primary: #2a7dc9;
    --jh-primary-dk: #1a6cb9;
    --jh-primary-bg: rgba(42, 125, 201, .08);
    --jh-bg: #f5f5f5;
    --jh-card: #ffffff;
    --jh-card-border: #eeeeee;
    --jh-title: #333333;
    --jh-text: #666666;
    --jh-mut: #999999;
    --jh-border: #eeeeee;
    --jh-header-bg: #ffffff;
    --jh-header-text: #333333;
    --jh-radius: 4px;
    --jh-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    --jh-red: #ff6b00;
    --jh-yellow: #ffb300;
    --jh-green: #2a7dc9;
    --jh-cyan: #1a6cb9;
    --jh-head-h: 106px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--jh-text);
    background-color: var(--jh-bg);
    padding-top: var(--jh-head-h);
    overflow-x: clip;   /* hero 100vw 兜底：桌面端 vw 含滚动条宽，裁掉防横向滚动 */
}

a { color: var(--jh-text); text-decoration: none; transition: color .15s; }
a:hover { color: var(--jh-primary); }
img { max-width: 100%; }
h1, h2, h3, h4 { color: var(--jh-title); line-height: 1.4; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.bw-container, .jh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============ 固定顶栏：纯白深灰字（ripro site-header） ============ */
.jh-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: var(--jh-head-h);
    background: var(--jh-header-bg);
    box-shadow: 0 0 30px rgba(0, 0, 0, .07);
}

.jh-header-inner {
    height: var(--jh-head-h);
    display: flex;
    align-items: center;
    gap: 16px;
}

.jh-brand { flex: none; display: flex; align-items: center; }
.jh-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--jh-title);
    letter-spacing: .5px;
    white-space: nowrap;
}
.jh-logo:hover { color: var(--jh-primary); }

/* 主菜单：深灰字，当前项蓝 */
.jh-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.jh-menu::-webkit-scrollbar { display: none; }
.jh-menu a {
    display: block;
    padding: 6px 11px;
    font-size: 14.5px;
    color: var(--jh-header-text);
    white-space: nowrap;
    border-radius: 6px;
}
.jh-menu a:hover { color: var(--jh-primary); background: var(--jh-primary-bg); }
.jh-menu a.on { color: #fff; background: var(--jh-primary); font-weight: 600; }

/* 顶栏搜索：浅灰胶囊 */
.jh-header-search {
    flex: none;
    display: flex;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid var(--jh-border);
    border-radius: 17px;
    padding: 2px 4px 2px 13px;
    transition: .2s;
}
.jh-header-search:focus-within { background: #fff; border-color: var(--jh-primary); }
.jh-header-search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 118px;
    font-size: 13px;
    color: var(--jh-title);
    padding: 5px 0;
}
.jh-header-search input::placeholder { color: var(--jh-mut); }
.jh-header-search button {
    border: 0;
    background: var(--jh-primary);
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 13px;
}

/* 顶栏右侧 */
.jh-header-auth {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.jh-btn-sm {
    display: inline-block;
    padding: 5px 14px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid var(--jh-border);
    background: transparent;
    color: var(--jh-header-text);
    cursor: pointer;
    white-space: nowrap;
}
.jh-btn-sm:hover { color: var(--jh-primary); border-color: var(--jh-primary); }
/* 「VIP」：ripro 主蓝按钮 */
.jh-btn-sm.jh-btn-gold {
    background: var(--jh-primary);
    border: 1px solid var(--jh-primary);
    color: #fff;
    font-weight: 600;
}
.jh-btn-sm.jh-btn-gold:hover { background: var(--jh-primary-dk); color: #fff; }
.jh-btn-sm.jh-btn-white { background: #f9f9f9; }

.jh-user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 6px;
}
.jh-user-chip:hover { background: #f9f9f9; color: var(--jh-primary); }
.jh-user-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--jh-primary);
    color: #fff;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex: none;
}
.jh-user-avatar.is-vip { background: var(--jh-yellow); color: #333333; }
.jh-user-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.jh-user-name { font-size: 13px; font-weight: 600; color: var(--jh-title); max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-user-level { font-size: 11px; color: var(--jh-mut); }
.jh-user-level.is-vip { color: #d19f00; }
.jh-sep { font-style: normal; margin: 0 3px; color: var(--jh-border); }

/* 移动端菜单按钮 */
.jh-nav-toggle {
    display: none;
    flex: none;
    width: 36px; height: 36px;
    border: 1px solid var(--jh-border);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    padding: 8px 7px;
    flex-direction: column;
    justify-content: space-between;
}
.jh-nav-toggle span { display: block; height: 2px; background: var(--jh-header-text); border-radius: 2px; }

/* ============ 主体：两栏 ============ */
.jh-shell {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 16px 30px;
}
.jh-main { flex: 1 1 auto; min-width: 0; }
.jh-side { flex: none; width: 300px; }
.jh-side-inner { position: sticky; top: calc(var(--jh-head-h) + 14px); display: flex; flex-direction: column; gap: 16px; }
/* 首页无侧栏（jianhu home 无 sidebar，网格全宽） */
.jh-shell--full { display: block; }
.jh-shell--full .jh-main { width: 100%; }

/* ============ 白卡通用 ============ */
.jh-block, .jh-content-card, .jh-buy-card,
.jh-form-card, .jh-hero, .jh-paid-box, .jh-home-seo, .jh-home-links {
    background: var(--jh-card);
    border-radius: var(--jh-radius);
    box-shadow: var(--jh-shadow);
}

/* 区块标题：ripro 居中式 section-title */
.jh-block { padding: 16px 18px 18px; margin-bottom: 18px; }
.jh-block-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--jh-border);
    text-align: center;
}
.jh-block-head { border-bottom: none; padding-bottom: 4px; }
.jh-block-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--jh-title);
    display: flex;
    align-items: center;
    gap: 8px;
}
.jh-block-title i { display: none; }
.jh-more { font-size: 12px; color: var(--jh-mut); margin-top: 4px; }

/* ============ 首页 hero 大搜索（ripro home-search：深色底 + 渐变遮罩 + 居中表单） ============
   全出血：width:100vw + 负边距把 hero 撑出 shell 到视口两缘；
   移动端 100vw == 视口宽（无滚动条），不会触发 ICB 扩张 */
.jh-hero-search {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 110px 20px 112px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(ellipse 55% 85% at 18% 12%, rgba(42, 125, 201, .32), transparent 62%),
        radial-gradient(ellipse 45% 75% at 82% 22%, rgba(79, 158, 248, .2), transparent 60%),
        linear-gradient(0deg, rgba(25, 27, 38, .32), rgba(25, 27, 38, .72)),
        #191b26;
}
.jh-hero-search-title { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 26px; letter-spacing: .5px; }
.jh-hero-search-form {
    display: flex;
    align-items: stretch;
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.jh-hero-search-form select {
    flex: none;
    width: 118px;
    border: 0;
    outline: 0;
    background: #f9f9f9;
    border-right: 1px solid var(--jh-border);
    padding: 0 10px;
    font-size: 13px;
    color: var(--jh-text);
    cursor: pointer;
    border-radius: 0;
}
.jh-hero-search-form input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 13px 14px;
    font-size: 14px;
    color: var(--jh-title);
}
.jh-hero-search-form button {
    flex: none;
    border: 0;
    background: var(--jh-primary);
    color: #fff;
    font-size: 14px;
    padding: 0 26px;
    cursor: pointer;
}
.jh-hero-search-form button:hover { background: var(--jh-primary-dk); }

/* ============ 分类彩点说明：jianhu 卡片分类名前 6px 圆点（见网格节） ============ */

/* ============ 封面网格（ripro item-grid：3:2 封面图上文下 + 分类彩点） ============ */

/* ============ 封面 overlay 网格（ripro grid-overlay 标志样式） ============ */
.jh-grids {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.jh-grid {
    position: relative;
    overflow: hidden;
    background: var(--jh-card);
    border: 1px solid var(--jh-card-border);
    border-radius: var(--jh-radius);
    transition: .2s;
}
.jh-grid:hover { box-shadow: 0 6px 20px rgba(51, 51, 51, .12); }
.jh-grid-img {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%;   /* ripro ratio-3x2 */
    overflow: hidden;
    background: #e7e7e7;
}
.jh-grid-img img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s ease-out;
}
.jh-grid:hover .jh-grid-img img { transform: scale(1.05); }
.jh-noimg {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--jh-mut);
    font-size: 13px;
}
/* 图上文下（ripro item-grid entry-wrapper：padding 10px 白底） */
.jh-grid-con {
    padding: 10px;
}
.jh-grid-cat {
    font-size: 12px;
    color: #999999;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.jh-grid-cat::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(42, 125, 201, .75);
}
.jh-grid-cat a { color: #999999; }
.jh-grid-cat a:hover { color: var(--jh-primary); }
.jh-grid-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.jh-grid-title a { color: var(--jh-title); }
.jh-grid-title a:hover { color: var(--jh-primary); }
.jh-grid-ex { display: none; }
.jh-grid-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--jh-mut);
    white-space: nowrap;
}
.jh-grid-meta > span { display: inline-flex; align-items: center; gap: 3px; }

/* overlay 内价格胶囊：白底蓝字 / 免费 黄底 */
.jh-price, .jh-badge-hot {
    display: inline-flex;
    align-items: center;
    padding: 0 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}
.jh-price { background: var(--jh-primary); color: #fff; }
.jh-price.is-free, .jh-badge-hot.is-free { background: var(--jh-green); color: #fff; }
.jh-badge-hot { background: rgba(255, 255, 255, .2); color: #fff; }

/* 卡片直系角标（栏目/专题/免费）：叠左上角 */
.jh-grid > .jh-badge-hot, .jh-grid > .jh-badge-cat {
    position: absolute;
    top: 8px; left: 8px;
    z-index: 2;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(42, 125, 201, .9);
    color: #fff;
    border-radius: 4px;
}
.jh-grid > a.jh-badge-hot:hover { color: #fff; filter: brightness(1.1); }
.jh-grid > .jh-badge-hot.is-free { background: rgba(42, 125, 201, .92); color: #fff; }

/* ============ 侧栏 widget（白卡 + 深色标题） ============ */
.jh-widget {
    background: var(--jh-card);
    border-radius: var(--jh-radius);
    box-shadow: var(--jh-shadow);
    padding: 16px;
}
.jh-widget-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--jh-title);
    padding-left: 11px;
    position: relative;
    margin-bottom: 12px;
}
.jh-widget-head i {
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 14px;
    background: var(--jh-primary);
    border-radius: 2px;
}
.jh-widget-body { font-size: 13px; }

/* 热门榜单 */
.jh-hotlist { list-style: none; }
.jh-hotlist li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--jh-border);
}
.jh-hotlist li:last-child { border-bottom: none; }
.jh-hot-idx {
    flex: none;
    width: 20px; height: 20px;
    border-radius: 4px;
    background: #f9f9f9;
    color: var(--jh-mut);
    font-size: 12px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.jh-hot-idx.idx-1 { background: rgba(214, 41, 62, .1); color: var(--jh-red); }
.jh-hot-idx.idx-2 { background: rgba(247, 195, 46, .15); color: #d19b00; }
.jh-hot-idx.idx-3 { background: rgba(42, 125, 201, .1); color: var(--jh-primary); }
.jh-hot-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--jh-title);
}
.jh-hot-title:hover { color: var(--jh-primary); }
.jh-hot-views { flex: none; font-size: 12px; color: var(--jh-mut); }

/* 栏目导航 / 专题 chips */
.jh-navlist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.jh-navlist a {
    display: inline-block;
    padding: 4px 12px;
    background: #f9f9f9;
    border-radius: 5px;
    font-size: 13px;
    color: var(--jh-text);
}
.jh-navlist a:hover { background: var(--jh-primary-bg); color: var(--jh-primary); }
.jh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jh-chip {
    display: inline-block;
    padding: 4px 12px;
    background: #f9f9f9;
    border-radius: 5px;
    font-size: 13px;
    color: var(--jh-text);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.jh-chip:hover { background: var(--jh-primary-bg); color: var(--jh-primary); }

/* 侧栏 VIP 推广卡：深蓝渐变（ripro 会员风） */
.jh-vip-promo {
    background: linear-gradient(135deg, #2b3548 0%, #1a2230 100%);
    border-radius: var(--jh-radius);
    box-shadow: var(--jh-shadow);
    padding: 20px 18px;
    text-align: center;
    color: #fff;
}
.jh-vip-promo-title { font-size: 17px; font-weight: 700; color: #fff; }
.jh-vip-promo-sub { font-size: 12px; color: rgba(255, 255, 255, .65); margin: 4px 0 14px; }
.jh-vip-promo-btn {
    display: block;
    background: var(--jh-primary);
    color: #fff;
    font-weight: 700;
    padding: 9px 0;
    border-radius: 6px;
    font-size: 14px;
}
.jh-vip-promo-btn:hover { background: var(--jh-primary-dk); color: #fff; }
.jh-vip-promo-note { font-size: 11px; color: rgba(255, 255, 255, .5); margin-top: 8px; }

/* ============ 面包屑 ============ */
.jh-crumb {
    font-size: 13px;
    color: var(--jh-mut);
    padding: 2px 2px 12px;
}
.jh-crumb a { color: var(--jh-mut); }
.jh-crumb a:hover { color: var(--jh-primary); }
.jh-crumb-sep { margin: 0 6px; color: var(--jh-border); }

/* ============ 详情页 Hero 卡 ============ */
.jh-hero { display: flex; gap: 20px; padding: 20px; margin-bottom: 18px; }
.jh-hero-thumb {
    flex: none;
    width: 240px;
    position: relative;
    border-radius: var(--jh-radius);
    overflow: hidden;
    background: #e3e4e8;
    align-self: flex-start;
}
.jh-hero-thumb img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.jh-hero-thumb-bar {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
}
.jh-hero-thumb > span {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 3 / 2;
    color: var(--jh-mut);
    font-size: 13px;
}
.jh-hero-info { flex: 1 1 auto; min-width: 0; }
.jh-page-title { margin: 0 0 8px; font-size: 21px; }
.jh-article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--jh-mut); margin-bottom: 12px; }
.jh-article-meta a { color: var(--jh-mut); }
.jh-article-meta a:hover { color: var(--jh-primary); }
.jh-hero-fields {
    display: flex; flex-wrap: wrap; gap: 6px 18px;
    background: #f9f9f9;
    border-radius: var(--jh-radius);
    padding: 10px 12px;
    font-size: 12px;
    color: var(--jh-text);
    margin-bottom: 12px;
}
.jh-hero-fields b { color: var(--jh-mut); font-weight: 600; }

.jh-hero-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
/* 价格：ripro 主蓝大字 */
.jh-hero-price { font-size: 30px; font-weight: 700; color: var(--jh-primary); line-height: 1; }
.jh-hero-price small { font-size: 13px; font-weight: 400; margin-left: 2px; }
.jh-hero-free-tag {
    display: inline-block;
    background: rgba(42, 125, 201, .12);
    color: var(--jh-green);
    font-size: 14px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 5px;
}
.jh-hero-price-label { font-size: 12px; color: var(--jh-mut); }

/* 付费框：白卡 + 右上蓝角标 */
.jh-paybox {
    position: relative;
    background: #f9f9f9;
    border: 1px solid var(--jh-border);
    border-radius: var(--jh-radius);
    padding: 18px;
    overflow: hidden;
}
.jh-pay-tag {
    position: absolute;
    top: 0; right: 0;
    background: var(--jh-primary);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    padding: 4px 12px;
    border-radius: 0 0 0 var(--jh-radius);
}
.jh-btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ============ 按钮（ripro btn 体系） ============ */
.jh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 22px;
    font-size: 14px;
    border-radius: var(--jh-radius);
    border: 1px solid var(--jh-border);
    background: #fff;
    color: var(--jh-text);
    cursor: pointer;
    transition: .15s;
    line-height: 1.5;
    white-space: nowrap;
}
.jh-btn:hover { color: var(--jh-primary); border-color: var(--jh-primary); }
/* 主操作（购买）：主蓝 */
.jh-btn.jh-btn-orange, .jh-btn.jh-btn-primary {
    background: var(--jh-primary);
    border: 1px solid var(--jh-primary);
    color: #fff;
    font-weight: 600;
    padding: 10px 26px;
}
.jh-btn.jh-btn-orange:hover, .jh-btn.jh-btn-primary:hover {
    background: var(--jh-primary-dk);
    border-color: var(--jh-primary-dk);
    color: #fff;
}
/* VIP：ripro 金黄 */
.jh-btn.jh-btn-vip {
    background: var(--jh-yellow);
    border: 1px solid var(--jh-yellow);
    color: #333333;
    font-weight: 700;
    padding: 10px 26px;
}
.jh-btn.jh-btn-vip:hover { background: #eab61e; border-color: #eab61e; color: #333333; }
/* 成功态 */
.jh-btn.jh-btn-suc {
    background: rgba(42, 125, 201, .1);
    border-color: rgba(42, 125, 201, .4);
    color: var(--jh-green);
    font-weight: 600;
}
.jh-btn.jh-btn-suc:hover { color: var(--jh-green); border-color: var(--jh-green); }
/* 幽灵按钮 */
.jh-btn.jh-btn-ghost { background: #fff; }
.jh-btn.jh-btn-block { display: flex; width: 100%; }

.jh-hero-services {
    display: flex; flex-wrap: wrap; gap: 8px 20px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--jh-mut);
}
.jh-hero-notice {
    margin-top: 12px;
    font-size: 12px;
    color: var(--jh-mut);
    line-height: 1.6;
}

/* ============ 正文卡 / 付费内容 ============ */
.jh-content-card { padding: 20px 22px; }
.jh-detail-content { font-size: 15px; line-height: 1.85; color: var(--jh-text); word-break: break-word; }
.jh-detail-content p { margin: 0 0 12px; }
.jh-detail-content img { border-radius: var(--jh-radius); }
.jh-detail-content h1, .jh-detail-content h2, .jh-detail-content h3 { margin: 18px 0 10px; }
.jh-detail-content pre {
    background: #f9f9f9;
    border: 1px solid var(--jh-border);
    border-radius: var(--jh-radius);
    padding: 12px;
    overflow-x: auto;
    font-size: 13px;
}
.jh-detail-content code { background: #f9f9f9; border-radius: 4px; padding: 1px 5px; font-size: 13px; }
.jh-detail-content pre code { background: transparent; padding: 0; }
.jh-detail-content blockquote {
    margin: 0 0 12px;
    padding: 8px 14px;
    border-left: 3px solid var(--jh-primary);
    background: #f9f9f9;
    color: var(--jh-mut);
}
.jh-detail-content table { border-collapse: collapse; width: 100%; margin-bottom: 12px; }
.jh-detail-content th, .jh-detail-content td { border: 1px solid var(--jh-border); padding: 6px 10px; font-size: 13px; }
.jh-detail-content th { background: #f9f9f9; }

.jh-paid-hint {
    margin-top: 14px;
    background: rgba(42, 125, 201, .06);
    border: 1px dashed var(--jh-primary);
    color: var(--jh-primary);
    border-radius: var(--jh-radius);
    padding: 14px 16px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
}
.jh-paid-hint-link { text-decoration: underline; }

.jh-paid-box { margin-top: 14px; padding: 0 0 16px; overflow: hidden; border: 1px solid rgba(42, 125, 201, .35); }
.jh-paid-head {
    background: rgba(42, 125, 201, .08);
    color: var(--jh-green);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
}
.jh-paid-body { padding: 14px 16px 4px; font-size: 14px; line-height: 1.8; word-break: break-all; }
.jh-paid-body p { margin: 0 0 8px; }
.jh-paid-copy {
    margin: 6px 16px 0;
    background: var(--jh-primary);
    border: none;
    color: #fff;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: var(--jh-radius);
    cursor: pointer;
}
.jh-paid-copy:hover { background: var(--jh-primary-dk); }
.paid-flash { animation: paidFlash 1.2s ease; }
@keyframes paidFlash {
    0% { box-shadow: 0 0 0 4px rgba(42, 125, 201, .35); }
    100% { box-shadow: 0 0 0 4px rgba(42, 125, 201, 0); }
}

/* ============ 购买表单 / 通用表单 ============ */
.jh-buy-card { padding: 18px 20px; margin-top: 10px; }
.jh-buy-card h3 { margin: 0 0 8px; font-size: 16px; }
.jh-form-hint { font-size: 13px; color: var(--jh-mut); margin: 0 0 12px; }
.jh-form-group { margin-bottom: 12px; }
.jh-form-group label { display: block; font-size: 13px; color: var(--jh-mut); margin-bottom: 5px; }
.jh-form-group input, .jh-form-group select, .jh-form-group textarea {
    width: 100%;
    border: 1px solid var(--jh-border);
    border-radius: var(--jh-radius);
    padding: 9px 12px;
    font-size: 14px;
    color: var(--jh-title);
    background: #fff;
    outline: 0;
    transition: .15s;
}
.jh-form-group input:focus, .jh-form-group select:focus, .jh-form-group textarea:focus {
    border-color: var(--jh-primary);
    box-shadow: 0 0 0 3px var(--jh-primary-bg);
}

.jh-form-card { padding: 26px 24px; }
.jh-form-card-wide { max-width: 560px; margin: 0 auto; }
.jh-pay-type { display: flex; gap: 10px; }
.jh-pay-type-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--jh-border);
    border-radius: var(--jh-radius);
    padding: 9px 0;
    font-size: 14px;
    cursor: pointer;
    transition: .15s;
}
.jh-pay-pill {
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    border-radius: 4px;
    background: var(--jh-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}
.jh-pay-pill.is-free { background: var(--jh-green); color: #fff; }

/* ============ 列表页头 / 专题 / 链接页 / CTA / VIP 卡 ============ */
.jh-page-head { margin: 0 0 16px; }
.jh-page-head .jh-page-title { font-size: 20px; }
.jh-page-sub { font-size: 13px; color: var(--jh-mut); margin-top: 2px; }
.jh-cat-head { margin-bottom: 16px; }

.jh-topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.jh-topic-card {
    background: var(--jh-card);
    border-radius: var(--jh-radius);
    box-shadow: var(--jh-shadow);
    padding: 16px;
    transition: .2s;
}
.jh-topic-card:hover { box-shadow: 0 6px 20px rgba(51, 51, 51, .12); }
.jh-topic-name { font-size: 16px; font-weight: 700; color: var(--jh-title); margin-bottom: 4px; }
a.jh-topic-name:hover { color: var(--jh-primary); }
.jh-topic-summary { font-size: 13px; color: var(--jh-mut); margin-bottom: 8px; }
.jh-topic-meta { font-size: 12px; color: var(--jh-mut); }
.jh-sub-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.jh-sub-tag {
    display: inline-block;
    padding: 3px 12px;
    background: #f9f9f9;
    border-radius: 5px;
    font-size: 12px;
    color: var(--jh-text);
}
.jh-sub-tag:hover { background: var(--jh-primary-bg); color: var(--jh-primary); }

.jh-link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.jh-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--jh-card);
    border-radius: var(--jh-radius);
    box-shadow: var(--jh-shadow);
    padding: 14px 16px;
    transition: .2s;
}
.jh-link-card:hover { box-shadow: 0 6px 20px rgba(51, 51, 51, .12); }
.jh-link-logo {
    flex: none;
    width: 42px; height: 42px;
    border-radius: var(--jh-radius);
    background: #f9f9f9;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    color: var(--jh-primary);
    overflow: hidden;
}
.jh-link-desc { font-size: 12px; color: var(--jh-mut); }

.jh-cta {
    background: var(--jh-card);
    border-radius: var(--jh-radius);
    box-shadow: var(--jh-shadow);
    padding: 22px;
    text-align: center;
    margin: 18px 0;
}
.jh-cta-title { font-size: 19px; font-weight: 700; color: var(--jh-title); margin-bottom: 6px; }
.jh-cta-sub { font-size: 13px; color: var(--jh-mut); margin-bottom: 14px; }
.jh-cta-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.jh-cta-note { font-size: 12px; color: var(--jh-mut); margin-top: 10px; }

.jh-vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.jh-vip-card {
    background: var(--jh-card);
    border-radius: var(--jh-radius);
    box-shadow: var(--jh-shadow);
    border: 2px solid transparent;
    padding: 22px 18px;
    text-align: center;
    position: relative;
    transition: .2s;
}
.jh-vip-card:hover { transform: translateY(-2px); }
.jh-vip-card.hot { border-color: var(--jh-primary); }
.jh-vip-flag {
    position: absolute;
    top: -1px; right: -1px;
    background: var(--jh-primary);
    color: #fff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 0 var(--jh-radius) 0 var(--jh-radius);
}
.jh-vip-name { font-size: 16px; font-weight: 700; color: var(--jh-title); }
.jh-vip-price { font-size: 28px; font-weight: 800; color: var(--jh-primary); margin: 8px 0; }
.jh-vip-price small { font-size: 13px; font-weight: 400; }
.jh-vip-days { font-size: 12px; color: var(--jh-mut); margin-bottom: 14px; }

.jh-table { width: 100%; border-collapse: collapse; background: var(--jh-card); font-size: 13px; }
.jh-table th, .jh-table td { border-bottom: 1px solid var(--jh-border); padding: 10px 12px; text-align: left; }
.jh-table th { color: var(--jh-mut); font-weight: 600; background: #f9f9f9; }
.jh-status-ok { color: var(--jh-green); font-weight: 600; }
.jh-status-no { color: var(--jh-red); font-weight: 600; }

.jh-alert {
    border-radius: var(--jh-radius);
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 12px;
    background: #f9f9f9;
    color: var(--jh-text);
}
.jh-alert.jh-alert-error { background: rgba(214, 41, 62, .08); color: var(--jh-red); }
.jh-alert.jh-alert-success { background: rgba(42, 125, 201, .1); color: var(--jh-green); }

.jh-404 { text-align: center; padding: 60px 0; }
.jh-404-num { font-size: 64px; font-weight: 800; color: var(--jh-primary); line-height: 1; }

.jh-empty {
    background: var(--jh-card);
    border-radius: var(--jh-radius);
    box-shadow: var(--jh-shadow);
    text-align: center;
    color: var(--jh-mut);
    padding: 50px 20px;
    font-size: 14px;
}

/* ============ 首页 SEO 简介 / 友链 ============ */
.jh-home-seo { padding: 18px 20px; margin-bottom: 18px; }
.jh-home-seo-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--jh-title);
    margin: 0 0 10px;
    padding-left: 11px;
    position: relative;
}
.jh-home-seo-title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 14px;
    background: var(--jh-primary);
    border-radius: 2px;
}
.jh-home-seo-body { font-size: 13px; color: var(--jh-mut); line-height: 1.8; }
.jh-home-links { padding: 18px 20px; margin-bottom: 18px; }
.jh-home-links-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--jh-title);
    margin: 0 0 10px;
    padding-left: 11px;
    position: relative;
}
.jh-home-links-title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 14px;
    background: var(--jh-primary);
    border-radius: 2px;
}
.jh-home-links-body { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
.jh-home-links-body a { color: var(--jh-mut); }
.jh-home-links-body a:hover { color: var(--jh-primary); }

/* ============ 分页（引擎固定输出 .pagination > a / span.current） ============ */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 22px 0;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: var(--jh-radius);
    background: var(--jh-card);
    box-shadow: var(--jh-shadow);
    font-size: 13px;
    color: var(--jh-text);
}
.pagination a:hover { color: var(--jh-primary); }
.pagination span.current {
    background: var(--jh-primary);
    color: #fff;
    font-weight: 600;
}

/* ============ 页脚（ripro：白底灰字） ============ */
.jh-footer {
    background: var(--jh-card);
    border-top: 1px solid var(--jh-border);
    padding: 26px 0 30px;
    font-size: 13px;
    color: var(--jh-text);
}
.jh-footer a { color: var(--jh-text); }
.jh-footer a:hover { color: var(--jh-primary); }
.jh-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-bottom: 12px;
}
.jh-footer-friend { padding-top: 12px; border-top: 1px dashed var(--jh-border); }
.jh-footer-friend-label { color: var(--jh-mut); }
.jh-footer-center { text-align: center; line-height: 1.8; color: var(--jh-mut); }

/* ============ 支付弹窗（类名契约固定，勿改） ============ */
.pay-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pay-modal {
    background: #fff;
    border-radius: 8px;
    width: 340px;
    max-width: 94vw;
    padding: 18px 20px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
    text-align: center;
}
.pay-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    color: var(--jh-title);
    margin-bottom: 14px;
}
.pay-amount { color: var(--jh-primary); margin-left: 4px; }
.pay-close {
    font-size: 22px;
    color: var(--jh-mut);
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}
.pay-close:hover { color: var(--jh-title); }
.pay-qr-wrap {
    width: 232px;
    height: 232px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.pay-qr-wrap img { width: 232px; height: 232px; display: block; }
.pay-caption { font-size: 13px; color: var(--jh-text); margin-bottom: 10px; }
.pay-btn-phone {
    display: block;
    width: 100%;
    background: #f9f9f9;
    border: 1px solid var(--jh-border);
    color: var(--jh-text);
    font-size: 13px;
    padding: 8px 0;
    border-radius: var(--jh-radius);
    cursor: pointer;
    margin-bottom: 10px;
}
.pay-btn-phone:hover { color: var(--jh-primary); border-color: var(--jh-primary); }
.pay-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--jh-mut);
    margin-bottom: 10px;
    min-height: 18px;
}
.pay-status-ok { color: var(--jh-green); }
.pay-status-expired { color: #d19b00; }
.pay-status-fail { color: var(--jh-red); }
.pay-spinner {
    width: 14px; height: 14px;
    border: 2px solid var(--jh-primary-bg);
    border-top-color: var(--jh-primary);
    border-radius: 50%;
    animation: paySpin .8s linear infinite;
    flex: none;
}
@keyframes paySpin { to { transform: rotate(360deg); } }
/* 契约：JS 会 inline 设 display:block，必须自带宽度 + auto 边距保持居中 */
.pay-btn-refresh {
    display: block;
    width: 200px;
    margin: 4px auto 0;
    background: var(--jh-primary);
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 9px 0;
    border-radius: 6px;
    cursor: pointer;
}
.pay-btn-refresh:hover { background: var(--jh-primary-dk); }
.pay-btn-refresh:disabled { opacity: .6; cursor: default; }

/* ============ 响应式 ============ */
@media (max-width: 1020px) {
    .jh-header-search input { width: 84px; }
}
@media (max-width: 900px) {
    .jh-shell { flex-direction: column; }
    .jh-side { width: 100%; }
    .jh-side-inner { position: static; }
    .jh-menu {
        display: none;
        position: fixed;
        top: var(--jh-head-h);
        left: 0; right: 0;
        background: var(--jh-header-bg);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 14px 14px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
        max-height: calc(100vh - var(--jh-head-h));
        overflow-y: auto;
    }
    .jh-menu.open { display: flex; }
    .jh-menu a { padding: 10px 8px; border-radius: 6px; font-size: 14px; }
    .jh-nav-toggle { display: flex; }
    .jh-user-meta { display: none; }
    .jh-vip-grid { grid-template-columns: 1fr; }
    .jh-topic-grid, .jh-link-grid { grid-template-columns: 1fr; }
    .jh-hero-search { padding: 64px 16px 66px; }
    .jh-hero-search-title { font-size: 22px; margin-bottom: 18px; }
}
@media (max-width: 640px) {
    body { font-size: 14px; }
    .jh-header-search { display: none; }
    .jh-hero-search { padding: 46px 14px 50px; }
    .jh-hero-search-title { font-size: 20px; margin-bottom: 14px; }
    .jh-hero-search-form select { display: none; }
    /* jianhu 移动端 row-cols-2：两列小卡（ripro 同款），塞不下时间项则隐藏 */
    .jh-grids { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .jh-grid-con { padding: 8px; }
    .jh-grid-title { font-size: 13px; }
    .jh-grid-meta { font-size: 10.5px; gap: 6px; }
    .jh-grid-meta > span:first-child { display: none; }
    .jh-btn-row { flex-direction: column; align-items: stretch; }
    .jh-btn { width: 100%; }
    .jh-page-title { font-size: 18px; }
    .jh-hero { flex-direction: column; }
    .jh-hero-thumb { width: 100%; }
}


/* ============================================================
   96 期追加：B2 化区块（仿 jianhushe.com 狐樱社）
   主紫 #2a7dc9 / banner #dfeaf5 / 导航条 #2a7dc9 / 深字 #333333 /
   模块标题红 #ff6b00 / radius 4px / 卡片白底 #f5f5f5 边
   ============================================================ */

/* ---- A. 双层 header：浅紫 banner（logo+搜索+登录态） + 紫导航条（菜单+汉堡） ---- */
.jh-header { height: auto; }
.jh-banner { background: #dfeaf5; }
.jh-banner-inner { display: flex; align-items: center; gap: 14px; height: 62px; }
.jh-brand { flex: none; display: flex; align-items: center; }
.jh-logo { font-size: 20px; font-weight: 700; color: #333333; letter-spacing: .5px; white-space: nowrap; }
.jh-logo:hover { color: #2a7dc9; }
.jh-banner-search { flex: 0 1 300px; display: flex; min-width: 0; background: #fff; border: 1px solid rgba(42, 125, 201, .35); border-radius: 4px; overflow: hidden; }
.jh-banner-search input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent; padding: 7px 12px; font-size: 13.5px; color: #333333; }
.jh-banner-search button { flex: none; border: 0; background: #2a7dc9; color: #fff; font-size: 13px; padding: 7px 16px; cursor: pointer; }
.jh-banner-search button:hover { background: #1a6cb9; }
.jh-banner-auth { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.jh-btn-sm { display: inline-block; padding: 5px 12px; font-size: 13px; border-radius: 4px; background: rgba(255, 255, 255, .72); color: #333333; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.jh-btn-sm:hover { background: #fff; color: #2a7dc9; }
.jh-btn-sm.jh-btn-vip { background: #2a7dc9; color: #fff; }
.jh-btn-sm.jh-btn-vip:hover { background: #1a6cb9; color: #fff; }
.jh-btn-sm.jh-btn-ghost { background: transparent; border-color: rgba(51, 51, 51, .35); }
.jh-btn-sm.jh-btn-ghost:hover { background: rgba(255, 255, 255, .5); color: #333333; }
.jh-nav { position: relative; background: #2a7dc9; }
.jh-nav-inner { display: flex; align-items: center; gap: 10px; height: 44px; }
.jh-menu { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.jh-menu::-webkit-scrollbar { display: none; }
.jh-menu a { display: block; padding: 5px 13px; font-size: 14px; font-weight: 500; color: rgba(51, 51, 51, .85); white-space: nowrap; border-radius: 4px; }
.jh-menu a:hover { color: #2a7dc9; background: #fff; }
.jh-menu a.on { color: #2a7dc9; background: #fff; font-weight: 600; }
.jh-nav-toggle { display: none; flex: none; width: 34px; height: 30px; padding: 6px 7px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: space-between; }
.jh-nav-toggle span { display: block; height: 2px; background: #333333; border-radius: 2px; }

/* ---- B. module-head：红字版块头（B2 #ff6b00 + 红竖条） ---- */
.jh-module-head { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 14px; }
.jh-module-title { position: relative; margin: 0; padding-left: 12px; font-size: 20px; font-weight: 600; line-height: 1.3; color: #ff6b00; }
.jh-module-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: #ff6b00; }
.jh-module-more { margin-left: auto; font-size: 13px; color: #999999; }

/* ---- C. jh-gap 四列卡片网格（b2_gap 形制） + jh-card（75% 比例图 + 两行省略 + 作者/时间行） ---- */
.jh-gap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.jh-card { position: relative; background: #fff; border: 1px solid #f5f5f5; border-radius: 4px; overflow: hidden; transition: box-shadow .18s; }
.jh-card:hover { box-shadow: 0 6px 20px rgba(42, 125, 201, .18); }
.jh-card-thumb { position: relative; display: block; padding-top: 75%; overflow: hidden; background: #f5f3f8; }
.jh-card-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.jh-noimg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; color: #b9b3c4; font-size: 13px; }
.jh-card-flag { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 2px 9px; font-size: 12px; line-height: 1.6; color: #fff; background: #2a7dc9; border-radius: 4px; }
.jh-card-flag.is-free { background: #2a7dc9; }
.jh-card-info { padding: 10px 12px 12px; }
.jh-card-title { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.5; color: #333333; }
.jh-card-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: inherit; }
.jh-card-title a:hover { color: #2a7dc9; }
.jh-card-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; color: #999999; }
.jh-card-author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-card-time, .jh-card-views { flex: none; }

/* ---- E. post entry-header（标题 + meta 行 + fields chips + 前往下载钮） ---- */
.jh-entry-header { background: #fff; border: 1px solid #f5f5f5; border-radius: 4px; padding: 20px 22px; margin-bottom: 14px; }
.jh-entry-title { margin: 0 0 12px; font-size: 22px; line-height: 1.4; color: #333333; }
.jh-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: #999999; }
.jh-post-cat a { display: inline-block; padding: 3px 11px; font-size: 12px; color: #fff; background: #2a7dc9; border-radius: 4px; }
.jh-post-cat a:hover { background: #1a6cb9; color: #fff; }
.jh-post-fields { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.jh-post-field { padding: 4px 10px; font-size: 12px; color: #666666; background: rgba(42, 125, 201, .08); border-radius: 4px; }
.jh-post-field b { color: #2a7dc9; font-weight: 600; margin-right: 5px; }
.jh-single-download { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed #f0f7ff; }
.jh-dl-btn { padding: 10px 30px; font-size: 15px; font-weight: 600; color: #2a7dc9; background: rgba(42, 125, 201, .08); border: 1px solid #2a7dc9; border-radius: 4px; cursor: pointer; transition: all .15s; }
.jh-dl-btn:hover { color: #fff; background: #2a7dc9; }
.jh-dl-note { font-size: 12.5px; color: #999999; }

/* ---- F. paypanel 下载卡（正文后；契约按钮样式沿用基底，仅容器/角标/钮色 B2 化） ---- */
.jh-paypanel { position: relative; background: #fff; border: 1px solid #f5f5f5; border-radius: 4px; padding: 18px 22px; margin: 14px 0; }
/* 95 期教训：absolute 角标会盖住「支付下载」按钮 -> static 化独立成行；金渐变改紫渐变 */
.jh-paypanel .jh-pay-tag { position: static; display: inline-block; margin: 0 0 12px; padding: 4px 14px; font-size: 13px; color: #fff; background: linear-gradient(135deg, #2a7dc9, #1a6cb9); border-radius: 4px; }
.jh-paypanel .jh-pay-tag.is-free { background: linear-gradient(135deg, #2a7dc9, #09a476); }
/* B2 全站紫按钮：支付下载 = 紫渐变实底（主），VIP = 白底紫边（次） */
.jh-paypanel .jh-btn-orange { background: linear-gradient(135deg, #2a7dc9, #1a6cb9); border: 1px solid #2a7dc9; color: #fff; }
.jh-paypanel .jh-btn-vip { background: #fff; border: 1px solid #2a7dc9; color: #2a7dc9; }
.jh-paypanel .jh-btn-vip:hover { background: rgba(42, 125, 201, .08); color: #2a7dc9; }
.jh-paypanel .jh-hero-services { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 12.5px; color: #999999; }
.jh-paypanel .jh-hero-notice { margin-top: 12px; padding: 8px 12px; font-size: 12.5px; color: #a08cb8; background: rgba(42, 125, 201, .06); border-radius: 4px; }
.jh-buy-card { background: #faf8fd; border: 1px solid #f0f7ff; border-radius: 4px; padding: 16px 18px; margin-top: 14px; }
.jh-buy-card h3 { margin: 0 0 8px; font-size: 16px; color: #333333; }
.jh-form-hint { margin: 0 0 12px; font-size: 13px; color: #999999; }
.jh-form-group { margin-bottom: 10px; }
.jh-form-group label { display: block; margin-bottom: 5px; font-size: 13px; color: #666666; }
.jh-form-group select, .jh-form-group input { width: 100%; padding: 8px 10px; font-size: 14px; color: #333333; background: #fff; border: 1px solid #ddd0ec; border-radius: 4px; box-sizing: border-box; }
.jh-btn-block { display: block; width: 100%; margin-top: 6px; }

/* ---- G. prenext 上下篇双卡（B2 post-pre-next 形制） ---- */
.jh-prenext { margin: 14px 0; }
.jh-prenext-in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jh-prenext-card { display: block; background: #fff; border: 1px solid #f5f5f5; border-radius: 4px; padding: 13px 16px; transition: border-color .15s, box-shadow .15s; }
.jh-prenext-card:hover { border-color: #2a7dc9; box-shadow: 0 4px 14px rgba(42, 125, 201, .14); }
.jh-prenext-card.is-none { visibility: hidden; }
.jh-prenext-label { display: block; font-size: 12px; color: #999999; }
.jh-prenext-title { display: block; margin-top: 6px; font-size: 14px; color: #333333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-prenext-card.is-next { text-align: right; }

/* ---- H. quickbar 右缘圆钮组（桌面；参考站紫色快捷条） ---- */
.jh-quickbar { position: fixed; right: 16px; bottom: 90px; z-index: 800; display: flex; flex-direction: column; gap: 10px; }
.jh-qb-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #2a7dc9; background: #fff; border: 1px solid #f0f7ff; border-radius: 50%; box-shadow: 0 4px 14px rgba(42, 125, 201, .22); cursor: pointer; }
.jh-qb-btn:hover { background: #2a7dc9; color: #fff; }
.jh-qb-btn.is-vip { font-size: 20px; color: #fff; background: #2a7dc9; border-color: #2a7dc9; }

/* ---- J. 响应式（统一最末；本追加区全部移动端规则集中于此，源序胜出同特异性桌面规则） ---- */
@media (max-width: 1200px) {
    .jh-gap { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .jh-gap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    body { padding-top: 100px; }
    .jh-banner-inner { height: 56px; }
    .jh-banner-search { display: none; }
    .jh-user-meta { display: none; }
    .jh-nav-toggle { display: flex; }
    .jh-quickbar { display: none; }
    .jh-menu { position: absolute; top: 100%; left: 0; right: 0; z-index: 60; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 12px; background: #fff; box-shadow: 0 10px 24px rgba(51, 51, 51, .12); }
    .jh-menu.open { display: flex; }
    .jh-menu a { padding: 10px 12px; }
    .jh-entry-title { font-size: 19px; }
    .jh-module-title { font-size: 18px; }
}
@media (max-width: 560px) {
    .jh-gap { gap: 10px; }
    .jh-prenext-in { grid-template-columns: 1fr; }
    .jh-prenext-card.is-none { display: none; }
    .jh-entry-header { padding: 16px; }
    .jh-paypanel { padding: 14px 16px; }
}


/* ---- 96 期补：基底欠账类（links 页）+ post meta li 修饰类 ---- */
.jh-links-intro { padding: 14px 18px; font-size: 14px; color: var(--jh-text); background: #fff; border: 1px solid var(--jh-card-border); border-radius: var(--jh-radius); margin-bottom: 16px; }
.jh-link-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jh-link-name { font-size: 14px; font-weight: 600; color: var(--jh-title); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-cta-body { font-size: 13.5px; color: var(--jh-text); line-height: 1.7; }
.jh-post-date, .jh-post-views, .jh-post-update { white-space: nowrap; }

/* ---- 96 期修瑕：≤900 菜单默认横滚内联（覆盖基底 fixed 抽屉规则），.open 才抽屉化；
      侧栏 VIP 卡 B2 紫渐变（贴参考站 quickbar 紫 #2a7dc9） ---- */
@media (max-width: 900px) {
    .jh-menu { position: static; display: flex; flex-direction: row; align-items: center; gap: 2px; background: transparent; padding: 0; box-shadow: none; max-height: none; overflow-y: visible; overflow-x: auto; }
    .jh-menu.open { position: absolute; top: 100%; left: 0; right: 0; z-index: 60; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 12px; background: #fff; box-shadow: 0 10px 24px rgba(51, 51, 51, .12); max-height: calc(100vh - 100px); overflow-y: auto; }
    .jh-menu a { padding: 5px 10px; font-size: 13.5px; }
}
.jh-vip-promo { background: linear-gradient(135deg, #2a7dc9, #1a6cb9); }
.jh-vip-promo .jh-vip-promo-btn { background: #fff; color: #2a7dc9; }
.jh-vip-promo .jh-vip-promo-btn:hover { background: rgba(255, 255, 255, .88); color: #1a6cb9; }

/* ================= jh-append-start ================= */

/* ---------- A. 文档流（参考站 header 非 fixed） ---------- */
body { padding-top: 0 !important; }
.jh-header { position: static !important; }

/* ---------- B. topbar 白色细条（左品牌+slogan / 右快捷链接） ---------- */
.jh-topbar { background: #fff; border-bottom: 1px solid #eee; font-size: 13px; color: #999; }
.jh-topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 15px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.jh-topbar-note { color: #999; display: flex; align-items: center; gap: 8px; min-width: 0; }
.jh-topbar-brand { color: #2a7dc9; font-weight: bold; font-size: 15px; }
.jh-topbar-links { display: flex; align-items: center; gap: 18px; flex: none; }
.jh-topbar-links a { color: #666; font-size: 13px; }
.jh-topbar-links a:hover { color: #2a7dc9; }
.jh-topbar-sign { color: #ff6b00 !important; }

/* ---------- C. banner 白底 header（logo + 居中大搜索框 + auth） ---------- */
.jh-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.jh-banner { background: #fff; padding: 15px 0; }
.jh-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.jh-brand { flex: none; }
.jh-logo { font-size: 30px; font-weight: 800; color: #2a7dc9; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 10px; }
.jh-logo i { color: #ffb300; font-size: 26px; }
.jh-banner-search { flex: 1; max-width: 500px; margin: 0 auto; position: relative; }
.jh-banner-search input { width: 100%; padding: 10px 74px 10px 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; color: #333; background: #fff; outline: none; }
.jh-banner-search input:focus { border-color: #2a7dc9; }
.jh-banner-search button { position: absolute; right: 0; top: 0; height: 100%; width: 60px; padding: 0; background: #2a7dc9; color: #fff; border: none; border-radius: 0 4px 4px 0; font-size: 14px; cursor: pointer; }
.jh-banner-search button:hover { background: #1a6cb9; }
.jh-banner-auth { flex: none; display: flex; align-items: center; gap: 8px; }
.jh-btn-sm { padding: 6px 14px; border-radius: 4px; font-size: 13px; border: 1px solid #ddd; color: #666; background: #fff; }
.jh-btn-sm:hover { color: #2a7dc9; border-color: #2a7dc9; }
.jh-btn-sm.jh-btn-vip { background: #2a7dc9; border-color: #2a7dc9; color: #fff; }
.jh-btn-sm.jh-btn-vip:hover { background: #1a6cb9; }
.jh-user-chip { display: inline-flex; align-items: center; gap: 8px; }
.jh-user-avatar { width: 32px; height: 32px; border-radius: 50%; background: #2a7dc9; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.jh-user-name { font-size: 13px; color: #333; font-weight: 600; display: block; line-height: 1.2; }
.jh-user-level { font-size: 12px; color: #999; display: block; line-height: 1.2; }

/* ---------- D. nav 蓝通栏 + mega 子栏目下拉 ---------- */
.jh-nav { background: #2a7dc9; }
.jh-nav-inner { display: flex; align-items: center; }
.jh-menu { display: flex; align-items: stretch; flex-wrap: nowrap; min-width: 0; }
.jh-menu > a { display: flex; align-items: center; padding: 12px 16px; color: #fff; font-size: 15px; white-space: nowrap; }
.jh-menu > a:hover, .jh-menu > a.on { background: #1a6cb9; }
.jh-nav-item { position: relative; z-index: 100; }
.jh-nav-item > a { display: flex; align-items: center; padding: 12px 16px; color: #fff; font-size: 15px; white-space: nowrap; }
.jh-nav-item:hover > a, .jh-nav-item.on > a { background: #1a6cb9; }
.jh-subnav { position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); border-radius: 0 0 4px 4px; display: none; z-index: 200; padding: 6px 0; }
.jh-nav-item:hover .jh-subnav { display: block; }
.jh-subnav-col { display: flex; flex-direction: column; }
.jh-subnav-col a { display: block; padding: 8px 16px; color: #666; font-size: 14px; white-space: nowrap; transition: all .2s; }
.jh-subnav-col a:hover { background: #f5f5f5; color: #2a7dc9; padding-left: 20px; }
.jh-nav-toggle { display: none; }

/* ---------- E. home 两栏 shell ---------- */
.jh-home-shell { display: flex; gap: 20px; align-items: flex-start; padding-top: 15px; }
.jh-home-main { flex: 1; min-width: 0; }
.jh-home-side { width: 320px; flex: none; }

/* ---------- F. hero 大图标语（桥梁工程照意境：深蓝渐变 + 图纸网格纹理 + 底部黑渐变白字） ---------- */
.jh-hero { height: 400px; border-radius: 4px; overflow: hidden; position: relative; margin-bottom: 15px;
  background:
    linear-gradient(rgba(16, 48, 92, .18), rgba(16, 48, 92, .18)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 2px, transparent 2px 64px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 2px, transparent 2px 52px),
    linear-gradient(135deg, #14568f 0%, #2a7dc9 48%, #5ba3dc 100%);
}
.jh-hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); color: #fff; }
.jh-hero-title { font-size: 28px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.jh-hero-desc { font-size: 16px; max-width: 600px; color: rgba(255,255,255,.88); }

/* ---------- G. quick 5 卡（白卡 + 蓝 icon + 标题 + desc） ---------- */
.jh-quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-bottom: 25px; }
.jh-quick-item { background: #fff; border-radius: 4px; padding: 22px 15px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.1); transition: all .3s; display: block; }
.jh-quick-item:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,.1); }
.jh-quick-icon { font-size: 32px; color: #2a7dc9; margin-bottom: 12px; }
.jh-quick-title { font-size: 16px; font-weight: bold; color: #333; margin-bottom: 8px; }
.jh-quick-desc { font-size: 13px; color: #999; }

/* ---------- H. channel-section 白卡 + section-header ---------- */
.jh-channel-section { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); margin-bottom: 20px; overflow: hidden; }
.jh-section-header { padding: 14px 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; background: #f9f9f9; }
.jh-section-title { font-size: 18px; color: #2a7dc9; font-weight: bold; display: flex; align-items: center; gap: 8px; margin: 0; }
.jh-section-title i { font-size: 18px; }
.jh-section-more { color: #999; font-size: 13px; }
.jh-section-more:hover { color: #2a7dc9; }

/* ---------- I. doc-list / doc-item / jh-btn ---------- */
.jh-doc-list { padding: 5px 0; }
.jh-doc-item { padding: 15px 20px; border-bottom: 1px solid #f0f0f0; display: flex; gap: 15px; align-items: flex-start; transition: background .2s; }
.jh-doc-item:last-child { border-bottom: none; }
.jh-doc-item:hover { background: #f9f9f9; }
.jh-doc-icon { width: 60px; height: 60px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; color: #2a7dc9; font-size: 24px; border-radius: 4px; flex: none; }
.jh-doc-content { flex: 1; min-width: 0; }
.jh-doc-name { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.jh-doc-name a { color: #333; }
.jh-doc-name a:hover { color: #2a7dc9; text-decoration: underline; }
.jh-doc-desc { color: #666; font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jh-doc-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: #999; font-size: 13px; }
.jh-doc-meta i { color: #b9c6d4; margin-right: 3px; }
.jh-doc-action { width: 110px; flex: none; display: flex; align-items: center; justify-content: flex-end; }
.jh-btn { display: inline-block; padding: 8px 20px; background: #2a7dc9; color: #fff; border-radius: 4px; border: none; cursor: pointer; transition: all .3s; font-size: 14px; white-space: nowrap; }
.jh-btn:hover { background: #1a6cb9; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,.1); color: #fff; }

/* ---------- J. sidebar widget / chips / hotlist ---------- */
.jh-widget { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); margin-bottom: 20px; overflow: hidden; }
.jh-widget-head { font-size: 16px; padding: 12px 15px; margin: 0; border-bottom: 1px solid #eee; color: #2a7dc9; font-weight: bold; background: #f9f9f9; display: flex; align-items: center; gap: 8px; }
.jh-widget-head i { font-size: 15px; }
.jh-widget-body { padding: 0; }
.jh-chips { display: flex; flex-wrap: wrap; padding: 15px; gap: 8px; }
.jh-chip { padding: 4px 12px; background: #f0f7ff; color: #2a7dc9; border-radius: 12px; font-size: 12px; transition: all .3s; }
.jh-chip:hover { background: #d9ebff; transform: translateY(-2px); }
.jh-hotlist { list-style: none; margin: 0; padding: 0; }
.jh-hotlist li { display: flex; align-items: center; gap: 10px; padding: 10px 15px; border-bottom: 1px solid #f5f5f5; }
.jh-hotlist li:last-child { border-bottom: none; }
.jh-hot-idx { width: 20px; height: 20px; border-radius: 3px; background: #eef4fb; color: #8fa8c0; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; flex: none; font-style: normal; }
.jh-hot-idx.idx-1, .jh-hot-idx.idx-2, .jh-hot-idx.idx-3 { background: #ff6b00; color: #fff; }
.jh-hot-title { flex: 1; min-width: 0; color: #333; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-hot-title:hover { color: #2a7dc9; }
.jh-hot-views { color: #bbb; font-size: 12px; flex: none; }
.jh-hotlist--plain li { padding: 9px 15px; }
.jh-hotlist--plain a { color: #555; font-size: 14px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-hotlist--plain a:hover { color: #2a7dc9; }
.jh-updatelist a { color: #555; font-size: 14px; display: block; padding: 2px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-updatelist li { border-bottom: 1px dashed #f0f0f0; padding: 7px 15px; }
.jh-updatelist li:last-child { border-bottom: none; }

/* ---------- K. 详情换肤（居中标题 + 灰底 meta 框 + 通栏下载钮 + 蓝标题条） ---------- */
.jh-sec-title { font-size: 17px; color: #2a7dc9; font-weight: bold; display: flex; align-items: center; gap: 8px; padding: 2px 0 10px; }
.jh-sec-title i { font-size: 16px; }
.jh-entry-header { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 22px 20px 20px; text-align: center; margin-bottom: 15px; }
.jh-entry-title { font-size: 22px; color: #333; margin-bottom: 14px; line-height: 1.4; }
.jh-post-meta { list-style: none; margin: 0 auto; padding: 12px 15px; background: #f9f9f9; border-radius: 4px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; color: #666; max-width: 640px; }
.jh-post-meta a { color: #2a7dc9; }
.jh-post-fields { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.jh-post-field { font-size: 12px; color: #666; background: #f0f7ff; border-radius: 3px; padding: 3px 10px; }
.jh-post-field b { color: #2a7dc9; font-weight: 600; margin-right: 4px; }
.jh-single-download { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
.jh-dl-btn { display: block; width: 100%; max-width: 640px; padding: 13px 16px; background: #2a7dc9; color: #fff; font-size: 16px; border: none; border-radius: 4px; cursor: pointer; text-align: center; transition: all .3s; }
.jh-dl-btn:hover { background: #1a6cb9; box-shadow: 0 5px 15px rgba(42,125,201,.35); }
.jh-dl-note { font-size: 12px; color: #999; }
.jh-content-card { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 20px; margin-bottom: 15px; }
.jh-paypanel { background: #fff; border: 1px dashed #d5dee8; border-radius: 4px; padding: 20px; margin-bottom: 15px; }
.jh-btn.jh-btn-orange { background: #2a7dc9; }
.jh-btn.jh-btn-orange:hover { background: #1a6cb9; }
.jh-btn.jh-btn-vip { background: #ff6b00; }
.jh-btn.jh-btn-vip:hover { background: #e05d00; }
.jh-btn.jh-btn-suc { background: #1a6cb9; }
.jh-hero-services { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13px; color: #999; }
.jh-hero-notice { margin-top: 12px; font-size: 12px; color: #bbb; line-height: 1.7; border-top: 1px dashed #eee; padding-top: 12px; }
.jh-buy-card { background: #f9f9f9; border-radius: 4px; padding: 16px; margin-top: 12px; }
.jh-buy-card h3 { font-size: 15px; color: #333; margin-bottom: 8px; }
.jh-paid-hint { margin-top: 15px; background: #f0f7ff; border: 1px dashed #b9d7f2; color: #2a7dc9; border-radius: 4px; padding: 12px 15px; font-size: 14px; cursor: pointer; }
.jh-paid-hint-link { color: #ff6b00; font-weight: 600; }
.jh-paid-box { margin-top: 15px; background: #f0f7ff; border: 1px solid #cfe5f7; border-radius: 4px; padding: 16px; }
.jh-paid-head { color: #1a6cb9; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.jh-paid-body { color: #444; font-size: 14px; line-height: 1.8; word-break: break-all; }
.jh-paid-copy { margin-top: 12px; padding: 8px 18px; background: #2a7dc9; color: #fff; border: none; border-radius: 4px; font-size: 13px; cursor: pointer; width: auto; }
.jh-prenext { margin-bottom: 15px; }
.jh-prenext-in { display: flex; gap: 12px; }
.jh-prenext-card { flex: 1; min-width: 0; background: #fff; border: 1px dashed #d5dee8; border-radius: 4px; padding: 12px 15px; display: flex; flex-direction: column; gap: 5px; }
.jh-prenext-label { font-size: 12px; color: #999; }
.jh-prenext-title { font-size: 14px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-prenext-card:hover .jh-prenext-title { color: #2a7dc9; }

/* ---------- L. points banner 浅蓝 info 条 ---------- */
.jh-points-banner { background: #f0f7ff; border: 1px solid #d9e9f8; border-radius: 4px; padding: 14px 18px; margin-bottom: 20px; }
.jh-points-content { display: flex; align-items: center; gap: 12px; }
.jh-points-content i { color: #ff6b00; font-size: 20px; }
.jh-points-content p { margin: 0; color: #555; font-size: 14px; }
.jh-highlight { color: #ff6b00; font-weight: 600; }

/* ---------- M. home-seo / daohangt / footer 深灰 ---------- */
.jh-home-seo { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 18px 20px; margin-bottom: 20px; }
.jh-home-seo-title { font-size: 17px; color: #2a7dc9; font-weight: bold; display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid #eee; }
.jh-home-seo-body { color: #666; font-size: 14px; line-height: 1.9; }
.jh-daohangt { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 12px 15px; margin-bottom: 20px; font-size: 13px; line-height: 2; }
.jh-daohangt-label { color: #999; }
.jh-daohangt a { color: #666; margin: 0 10px 0 0; }
.jh-daohangt a:hover { color: #2a7dc9; }
.jh-footer { background: #333; color: #999; padding: 30px 0 20px; font-size: 13px; margin-top: 30px; }
.jh-footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; margin-bottom: 16px; }
.jh-footer-links a { color: #ccc; }
.jh-footer-links a:hover { color: #fff; }
.jh-footer-friend { padding-top: 12px; border-top: 1px solid #444; }
.jh-footer-friend-label { color: #888; }
.jh-footer-center { text-align: center; color: #777; line-height: 1.9; border-top: 1px solid #444; padding-top: 16px; }
.jh-footer-notice { max-width: 960px; margin: 0 auto 6px; font-size: 12px; }

/* ---------- N. search-head / cat-head / empty 白卡化 ---------- */
.jh-search-head { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 24px 20px; text-align: center; margin-bottom: 20px; }
.jh-search-title { font-size: 20px; color: #333; margin-bottom: 8px; }
.jh-search-sub { color: #999; font-size: 13px; margin-bottom: 14px; }
.jh-banner-search--light { max-width: 460px; margin: 0 auto; }
.jh-cat-head { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 18px 20px; margin-bottom: 15px; }
.jh-cat-title { font-size: 20px; color: #333; margin-bottom: 6px; }
.jh-cat-sub { color: #999; font-size: 13px; }
.jh-empty { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 50px 20px; text-align: center; color: #999; margin-bottom: 20px; }
.jh-page-head { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 18px 20px; margin-bottom: 15px; }
.jh-page-title { font-size: 18px; color: #333; }

/* ---------- O. crumbbar / subcats / cat-desc ---------- */
.jh-crumbbar { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 12px 15px; font-size: 13px; color: #666; margin-bottom: 15px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.jh-crumb-label { color: #999; }
.jh-crumbbar a { color: #2a7dc9; }
.jh-crumb-sep { color: #ccc; }
.jh-subcats { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 12px 15px; margin-bottom: 15px; display: flex; flex-wrap: wrap; gap: 8px; }
.jh-cat-desc { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 14px 18px; margin-bottom: 15px; color: #666; font-size: 14px; line-height: 1.8; }

/* ---------- 内页 shell / sidebar（基座 hy->jh 形制对齐建虎：白卡轻阴影） ---------- */
.jh-shell { display: flex; gap: 20px; align-items: flex-start; padding-top: 15px; }
.jh-main { flex: 1; min-width: 0; }
.jh-side { width: 320px; flex: none; }
.jh-side-inner { position: sticky; top: 15px; }
.jh-vip-promo { background: linear-gradient(160deg, #2a7dc9, #1a6cb9); border-radius: 4px; color: #fff; text-align: center; padding: 22px 15px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.jh-vip-promo-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.jh-vip-promo-sub { font-size: 13px; color: rgba(255,255,255,.85); margin-bottom: 14px; }
.jh-vip-promo-btn { display: inline-block; background: #ff6b00; color: #fff; font-size: 14px; padding: 8px 26px; border-radius: 4px; }
.jh-vip-promo-btn:hover { background: #e05d00; color: #fff; }
.jh-vip-promo-note { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.6); }
.jh-quickbar { position: fixed; right: 12px; bottom: 90px; display: flex; flex-direction: column; gap: 8px; z-index: 90; }
.jh-qb-btn { width: 40px; height: 40px; border-radius: 50%; background: #2a7dc9; color: #fff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.18); font-size: 15px; }
.jh-qb-btn:hover { background: #1a6cb9; }
.jh-qb-btn.is-vip { background: #ff6b00; }
.jh-qb-btn.is-vip:hover { background: #e05d00; }
.jh-form-card, .jh-vip-card { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.jh-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 15px 0 5px; }
.jh-pagination a, .jh-pagination span { min-width: 32px; height: 32px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #e5e5e5; border-radius: 3px; color: #666; font-size: 13px; }
.jh-pagination a:hover { border-color: #2a7dc9; color: #2a7dc9; }
.jh-pagination span.current { background: #2a7dc9; border-color: #2a7dc9; color: #fff; }

/* ---------- P. 响应式（992 / 768 / 480，贴参考站断点） ---------- */
@media (max-width: 1029px) {
  .jh-home-shell { flex-direction: column; }
  .jh-home-side { width: 100%; }
  .jh-quick-grid { grid-template-columns: repeat(3, 1fr); }
  .jh-side { width: 280px; }
}
@media (max-width: 768px) {
  .jh-topbar-links { gap: 12px; }
  .jh-banner-inner { flex-direction: column; gap: 12px; }
  .jh-banner-search { width: 100%; max-width: 100%; order: 3; }
  .jh-banner-auth { margin: 0 auto; }
  .jh-nav-inner { position: relative; }
  .jh-menu { flex-wrap: wrap; }
  .jh-menu > a { flex: 1 0 21%; text-align: center; justify-content: center; padding: 10px 5px; font-size: 14px; }
  .jh-nav-item { flex: 1 0 21%; }
  .jh-nav-item > a { justify-content: center; padding: 10px 5px; font-size: 14px; }
  .jh-subnav { display: none !important; }
  .jh-hero { height: 230px; }
  .jh-hero-content { padding: 18px; }
  .jh-hero-title { font-size: 21px; }
  .jh-hero-desc { font-size: 13px; }
  .jh-quick-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .jh-doc-item { flex-direction: column; gap: 10px; padding: 14px 15px; }
  .jh-doc-action { width: 100%; justify-content: flex-start; margin-top: 2px; }
  .jh-doc-meta { gap: 4px 12px; }
  .jh-prenext-in { flex-direction: column; }
}
@media (max-width: 480px) {
  .jh-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .jh-quick-item { padding: 16px 10px; }
  .jh-quick-desc { display: none; }
  .jh-hero { height: 190px; }
  .jh-hero-title { font-size: 19px; }
  .jh-topbar-note { flex-basis: 100%; }
}


/* ================= jh-polish-start ================= */

/* ---------- Q1. 详情 meta 分类 pill 显式样式 ---------- */
.jh-post-meta .jh-post-cat { background: #2a7dc9; border-radius: 3px; padding: 2px 10px; }
.jh-post-meta .jh-post-cat a { color: #fff; }
.jh-post-meta .jh-post-cat a:hover { color: #fff; text-decoration: underline; }

/* ---------- Q2. quick 卡视觉收紧 ---------- */
.jh-quick-desc { line-height: 1.5; }
.jh-quick-title { line-height: 1.3; }

/* ---------- Q3. 390 微调 ---------- */
@media (max-width: 768px) {
  .jh-topbar-in { gap: 6px; }
  .jh-topbar-note { justify-content: center; }
  .jh-banner-inner { gap: 10px; }
  .jh-menu { gap: 0; }
  .jh-menu > a, .jh-nav-item > a { border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* ================= jh-polish-end ================= */

/* ================= jh-append-end ================= */

/* 付费引导卡（七十七期：同步主站 m-paid-cta 形态 —— 大号橙价 + 绿色按钮 + 找回订单） */
.jh-paid-cta{background:linear-gradient(180deg,#f1f2f4,#e9eaec);border-radius:10px;padding:22px 16px;text-align:center;margin:18px 0}
.jh-paid-cta-price{font-size:14px;color:#555;margin-bottom:14px}
.jh-paid-cta-price strong{font-size:30px;color:#ff6600;font-weight:700;margin:0 4px;line-height:1.1}
.jh-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}
.jh-paid-cta-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(23,179,74,.36)}
.jh-paid-cta-tip{font-size:13px;color:#888;margin-top:12px}
.jh-paid-cta-tip a{color:#ff8c00;text-decoration:none}
.jh-paid-cta-tip a:hover{text-decoration:underline}
@media (max-width:640px){.jh-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}
