/* ============================================================
   蓝警之家游戏下载站风（heqp.com / Z-BlogPHP + Nice 主题 3.2.10）
   100 期自研主题 · template/heqp/ · 前缀 hq-
   主蓝 #4a86e8（站方内联配色统一覆盖）/ 按钮紫 #6e4ff6（btn--primary）
   红价 #ec2546 / 免费绿 #1dc9b7 / VIP 金 #FFC107 / 直角 3px
   ============================================================ */
:root {
    --hq-primary: #4a86e8;
    --hq-primary-dk: #3a6fd8;
    --hq-primary-bg: rgba(74, 134, 232, .1);
    --hq-bg: #f6f6f6;
    --hq-card: #ffffff;
    --hq-card-border: #e6e6e6;
    --hq-title: #34495e;
    --hq-text: #555555;
    --hq-mut: #999999;
    --hq-border: #e6e6e6;
    --hq-header-bg: #4a86e8;
    --hq-header-text: #ffffff;
    --hq-radius: 3px;
    --hq-shadow: 0 1px 4px rgba(52, 73, 94, .08);
    --hq-red: #ec2546;
    --hq-yellow: #FFC107;
    --hq-green: #1dc9b7;
    --hq-cyan: #6e4ff6;
    --hq-purple: #6e4ff6;
    --hq-head-h: 61px;
}

* { 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(--hq-text);
    background-color: var(--hq-bg);
    padding-top: var(--hq-head-h);
    overflow-x: clip;   /* hero 100vw 兜底：桌面端 vw 含滚动条宽，裁掉防横向滚动 */
}

a { color: var(--hq-text); text-decoration: none; transition: color .15s; }
a:hover { color: var(--hq-primary); }
img { max-width: 100%; }
h1, h2, h3, h4 { color: var(--hq-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, .hq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

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

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

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

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

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

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

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

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

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

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

/* 区块标题：ripro 居中式 section-title */
.hq-block { padding: 16px 18px 18px; margin-bottom: 18px; }
.hq-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(--hq-border);
    text-align: center;
}
.hq-block-head { border-bottom: none; padding-bottom: 4px; }
.hq-block-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--hq-title);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hq-block-title i { display: none; }
.hq-more { font-size: 12px; color: var(--hq-mut); margin-top: 4px; }

/* ============ 首页 hero 大搜索（ripro home-search：深色底 + 渐变遮罩 + 居中表单） ============
   全出血：width:100vw + 负边距把 hero 撑出 shell 到视口两缘；
   移动端 100vw == 视口宽（无滚动条），不会触发 ICB 扩张 */
.hq-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(74, 134, 232, .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;
}
.hq-hero-search-title { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 26px; letter-spacing: .5px; }
.hq-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);
}
.hq-hero-search-form select {
    flex: none;
    width: 118px;
    border: 0;
    outline: 0;
    background: #f7f8f9;
    border-right: 1px solid var(--hq-border);
    padding: 0 10px;
    font-size: 13px;
    color: var(--hq-text);
    cursor: pointer;
    border-radius: 0;
}
.hq-hero-search-form input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 13px 14px;
    font-size: 14px;
    color: var(--hq-title);
}
.hq-hero-search-form button {
    flex: none;
    border: 0;
    background: var(--hq-primary);
    color: #fff;
    font-size: 14px;
    padding: 0 26px;
    cursor: pointer;
}
.hq-hero-search-form button:hover { background: var(--hq-primary-dk); }

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

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

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

/* overlay 内价格胶囊：白底蓝字 / 免费 黄底 */
.hq-price, .hq-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;
}
.hq-price { background: var(--hq-primary); color: #fff; }
.hq-price.is-free, .hq-badge-hot.is-free { background: var(--hq-green); color: #fff; }
.hq-badge-hot { background: rgba(255, 255, 255, .2); color: #fff; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ============ 首页 SEO 简介 / 友链 ============ */
.hq-home-seo { padding: 18px 20px; margin-bottom: 18px; }
.hq-home-seo-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--hq-title);
    margin: 0 0 10px;
    padding-left: 11px;
    position: relative;
}
.hq-home-seo-title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 14px;
    background: var(--hq-primary);
    border-radius: 2px;
}
.hq-home-seo-body { font-size: 13px; color: var(--hq-mut); line-height: 1.8; }
.hq-home-links { padding: 18px 20px; margin-bottom: 18px; }
.hq-home-links-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--hq-title);
    margin: 0 0 10px;
    padding-left: 11px;
    position: relative;
}
.hq-home-links-title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 14px;
    background: var(--hq-primary);
    border-radius: 2px;
}
.hq-home-links-body { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
.hq-home-links-body a { color: var(--hq-mut); }
.hq-home-links-body a:hover { color: var(--hq-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(--hq-radius);
    background: var(--hq-card);
    box-shadow: var(--hq-shadow);
    font-size: 13px;
    color: var(--hq-text);
}
.pagination a:hover { color: var(--hq-primary); }
.pagination span.current {
    background: var(--hq-primary);
    color: #fff;
    font-weight: 600;
}

/* ============ 页脚（ripro：白底灰字） ============ */
.hq-footer {
    background: var(--hq-card);
    border-top: 1px solid var(--hq-border);
    padding: 26px 0 30px;
    font-size: 13px;
    color: var(--hq-text);
}
.hq-footer a { color: var(--hq-text); }
.hq-footer a:hover { color: var(--hq-primary); }
.hq-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-bottom: 12px;
}
.hq-footer-friend { padding-top: 12px; border-top: 1px dashed var(--hq-border); }
.hq-footer-friend-label { color: var(--hq-mut); }
.hq-footer-center { text-align: center; line-height: 1.8; color: var(--hq-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(--hq-title);
    margin-bottom: 14px;
}
.pay-amount { color: var(--hq-primary); margin-left: 4px; }
.pay-close {
    font-size: 22px;
    color: var(--hq-mut);
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}
.pay-close:hover { color: var(--hq-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(--hq-text); margin-bottom: 10px; }
.pay-btn-phone {
    display: block;
    width: 100%;
    background: #f0f1f3;
    border: 1px solid var(--hq-border);
    color: var(--hq-text);
    font-size: 13px;
    padding: 8px 0;
    border-radius: var(--hq-radius);
    cursor: pointer;
    margin-bottom: 10px;
}
.pay-btn-phone:hover { color: var(--hq-primary); border-color: var(--hq-primary); }
.pay-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--hq-mut);
    margin-bottom: 10px;
    min-height: 18px;
}
.pay-status-ok { color: var(--hq-green); }
.pay-status-expired { color: #d19b00; }
.pay-status-fail { color: var(--hq-red); }
.pay-spinner {
    width: 14px; height: 14px;
    border: 2px solid var(--hq-primary-bg);
    border-top-color: var(--hq-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(--hq-primary);
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 9px 0;
    border-radius: 6px;
    cursor: pointer;
}
.pay-btn-refresh:hover { background: var(--hq-primary-dk); }
.pay-btn-refresh:disabled { opacity: .6; cursor: default; }

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


/* ============================================================
   96 期追加：B2 化区块（仿 heqp.com.com 狐樱社）
   主紫 #4a86e8 / banner #4a86e8 / 导航条 #4a86e8 / 深字 #34495e /
   模块标题红 #ec2546 / radius 4px / 卡片白底 #f0f0f0 边
   ============================================================ */

/* ---- A. 双层 header：浅紫 banner（logo+搜索+登录态） + 紫导航条（菜单+汉堡） ---- */
.hq-header { height: auto; }
.hq-banner { background: #4a86e8; }
.hq-banner-inner { display: flex; align-items: center; gap: 14px; height: 62px; }
.hq-brand { flex: none; display: flex; align-items: center; }
.hq-logo { font-size: 20px; font-weight: 700; color: #34495e; letter-spacing: .5px; white-space: nowrap; }
.hq-logo:hover { color: #4a86e8; }
.hq-banner-search { flex: 0 1 300px; display: flex; min-width: 0; background: #fff; border: 1px solid rgba(74, 134, 232, .35); border-radius: 4px; overflow: hidden; }
.hq-banner-search input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent; padding: 7px 12px; font-size: 13.5px; color: #34495e; }
.hq-banner-search button { flex: none; border: 0; background: #4a86e8; color: #fff; font-size: 13px; padding: 7px 16px; cursor: pointer; }
.hq-banner-search button:hover { background: #3a6fd8; }
.hq-banner-auth { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.hq-btn-sm { display: inline-block; padding: 5px 12px; font-size: 13px; border-radius: 4px; background: rgba(255, 255, 255, .72); color: #34495e; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.hq-btn-sm:hover { background: #fff; color: #4a86e8; }
.hq-btn-sm.hq-btn-vip { background: #4a86e8; color: #fff; }
.hq-btn-sm.hq-btn-vip:hover { background: #3a6fd8; color: #fff; }
.hq-btn-sm.hq-btn-ghost { background: transparent; border-color: rgba(18, 18, 18, .35); }
.hq-btn-sm.hq-btn-ghost:hover { background: rgba(255, 255, 255, .5); color: #34495e; }
.hq-nav { position: relative; background: #4a86e8; }
.hq-nav-inner { display: flex; align-items: center; gap: 10px; height: 44px; }
.hq-menu { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.hq-menu::-webkit-scrollbar { display: none; }
.hq-menu a { display: block; padding: 5px 13px; font-size: 14px; font-weight: 500; color: rgba(18, 18, 18, .85); white-space: nowrap; border-radius: 4px; }
.hq-menu a:hover { color: #4a86e8; background: #fff; }
.hq-menu a.on { color: #4a86e8; background: #fff; font-weight: 600; }
.hq-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; }
.hq-nav-toggle span { display: block; height: 2px; background: #34495e; border-radius: 2px; }

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

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

/* ---- E. post entry-header（标题 + meta 行 + fields chips + 前往下载钮） ---- */
.hq-entry-header { background: #fff; border: 1px solid #f0f0f0; border-radius: 4px; padding: 20px 22px; margin-bottom: 14px; }
.hq-entry-title { margin: 0 0 12px; font-size: 22px; line-height: 1.4; color: #34495e; }
.hq-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: #8a8f99; }
.hq-post-cat a { display: inline-block; padding: 3px 11px; font-size: 12px; color: #fff; background: #4a86e8; border-radius: 4px; }
.hq-post-cat a:hover { background: #3a6fd8; color: #fff; }
.hq-post-fields { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hq-post-field { padding: 4px 10px; font-size: 12px; color: #5e646e; background: rgba(74, 134, 232, .08); border-radius: 4px; }
.hq-post-field b { color: #4a86e8; font-weight: 600; margin-right: 5px; }
.hq-single-download { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed #eaf1fc; }
.hq-dl-btn { padding: 10px 30px; font-size: 15px; font-weight: 600; color: #4a86e8; background: rgba(74, 134, 232, .08); border: 1px solid #4a86e8; border-radius: 4px; cursor: pointer; transition: all .15s; }
.hq-dl-btn:hover { color: #fff; background: #4a86e8; }
.hq-dl-note { font-size: 12.5px; color: #9b9b9b; }

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

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

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

/* ---- J. 响应式（统一最末；本追加区全部移动端规则集中于此，源序胜出同特异性桌面规则） ---- */
@media (max-width: 1200px) {
    .hq-gap { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .hq-gap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    body { padding-top: 100px; }
    .hq-banner-inner { height: 56px; }
    .hq-banner-search { display: none; }
    .hq-user-meta { display: none; }
    .hq-nav-toggle { display: flex; }
    .hq-quickbar { display: none; }
    .hq-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(18, 18, 18, .12); }
    .hq-menu.open { display: flex; }
    .hq-menu a { padding: 10px 12px; }
    .hq-entry-title { font-size: 19px; }
    .hq-module-title { font-size: 18px; }
}
@media (max-width: 560px) {
    .hq-gap { gap: 10px; }
    .hq-prenext-in { grid-template-columns: 1fr; }
    .hq-prenext-card.is-none { display: none; }
    .hq-entry-header { padding: 16px; }
    .hq-paypanel { padding: 14px 16px; }
}


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

/* ---- 96 期修瑕：≤900 菜单默认横滚内联（覆盖基底 fixed 抽屉规则），.open 才抽屉化；
      侧栏 VIP 卡 B2 紫渐变（贴参考站 quickbar 紫 #4a86e8） ---- */
@media (max-width: 900px) {
    .hq-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; }
    .hq-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(18, 18, 18, .12); max-height: calc(100vh - 100px); overflow-y: auto; }
    .hq-menu a { padding: 5px 10px; font-size: 13.5px; }
}
.hq-vip-promo { background: linear-gradient(135deg, #4a86e8, #3a6fd8); }
.hq-vip-promo .hq-vip-promo-btn { background: #fff; color: #4a86e8; }
.hq-vip-promo .hq-vip-promo-btn:hover { background: rgba(255, 255, 255, .88); color: #3a6fd8; }

/* ============================================================
   100 期追加区 A-J：Nice 游戏下载站形制（蓝通栏 header / hero 大搜索 /
   精选卡 / section-title / 丝带网格卡 / term-bar / services / 深色 footer /
   off-canvas / 响应式）——同特异性后写胜出，覆盖基底 B2 视觉
   ============================================================ */

/* ===== A. header 蓝通栏单层 ===== */
body { background: var(--hq-bg); }
.hq-header { position: static; background: var(--hq-header-bg); box-shadow: none; height: auto; }
.hq-navbar { display: flex; align-items: center; height: 61px; gap: 0; }
.hq-logo-wrap { flex: none; }
.hq-logo { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 21px; font-weight: 700; letter-spacing: .5px; }
.hq-logo-ic { width: 22px; height: 22px; background:
    radial-gradient(circle at 30% 60%, #fff 0 12%, transparent 13%),
    conic-gradient(from 220deg at 50% 50%, #fff 0 40%, transparent 40% 100%);
    clip-path: polygon(0 30%, 62% 30%, 100% 0, 100% 100%, 62% 70%, 0 70%);
    opacity: .95; }
.hq-sep { display: inline-block; width: 1px; height: 26px; background: rgba(255, 255, 255, .28); margin: 0 18px; }
.hq-menu { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; }
.hq-menu a { display: block; color: #fff; font-size: 15px; line-height: 61px; margin: 0 13px; position: relative; white-space: nowrap; }
.hq-menu a:hover { color: #fff; }
.hq-menu a.on { color: #fff; background: transparent; }
.hq-menu a.on::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 9px; width: 22px; height: 2px; background: #cfe0fb; border-radius: 2px; }
.hq-actions { flex: none; display: flex; align-items: center; gap: 12px; margin-left: 10px; }
.hq-search-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; transition: background .15s; }
.hq-search-btn:hover { background: rgba(255, 255, 255, .3); }
.hq-login-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 15px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 16px; color: #fff; font-size: 13px; transition: all .15s; }
.hq-login-pill:hover { background: #fff; color: var(--hq-primary); }
.hq-user-chip { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 13px; }
.hq-user-avatar { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .25); color: #fff; font-size: 13px; font-weight: 700; }
.hq-user-avatar.is-vip { background: var(--hq-yellow); color: #5d4200; }
.hq-logout-link { background: none; border: none; color: rgba(255, 255, 255, .8); font-size: 12px; cursor: pointer; padding: 0; }
.hq-logout-link:hover { color: #fff; }
.hq-burger { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 34px; height: 34px; padding: 0 6px; background: none; border: none; cursor: pointer; }
.hq-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* ===== B. hero 蓝底大搜索（斜纹图案复刻 shape.png） ===== */
.hq-hero { background: linear-gradient(118deg, #3f7ae0 0%, #4a86e8 45%, #5b93ec 100%); position: relative; overflow: hidden; display: block; padding: 68px 0 62px; text-align: center; }
.hq-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 3px, transparent 3px 110px); }
.hq-hero::after { content: ""; position: absolute; left: -5%; bottom: -68%; width: 55%; height: 120%; background: radial-gradient(closest-side, rgba(255, 255, 255, .06), transparent); }
.hq-hero .hq-container { position: relative; z-index: 1; }
.hq-focusbox-title { color: #fff; font-size: 30px; font-weight: 700; letter-spacing: 2px; margin-bottom: 12px; }
.hq-focusbox-desc { color: rgba(255, 255, 255, .82); font-size: 15px; margin-bottom: 26px; }
.hq-hero-form { max-width: 760px; margin: 0 auto; background: rgba(255, 255, 255, .16); border-radius: 4px; padding: 10px; }
.hq-hero-form-row { display: flex; gap: 10px; }
.hq-hero-input { flex: 1 1 auto; }
.hq-home-search-input { width: 100%; height: 46px; border: none; border-radius: 3px; background: #fff; padding: 0 16px; font-size: 14px; color: var(--hq-title); outline: none; }
.hq-home-search-input::placeholder { color: #b0b8c4; }
.hq-hero-submit { flex: 0 0 132px; }
.hq-btn-block { width: 100%; height: 46px; border: none; border-radius: 3px; background: #7ba4ee; color: #fff; font-size: 15px; letter-spacing: 4px; cursor: pointer; transition: background .15s; }
.hq-btn-block:hover { background: #5f90ea; }

/* ===== C. 精选推荐 4 卡（图上黑渐变 + 白字标题 + 右上黑 tag） ===== */
.hq-section { padding: 52px 0; }
.hq-bgfff { background: var(--hq-card); }
.hq-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hq-feature-card { display: block; border-radius: var(--hq-radius); overflow: hidden; box-shadow: var(--hq-shadow); background: #000; }
.hq-feature-media { display: block; position: relative; padding-bottom: 66.67%; overflow: hidden; }
.hq-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hq-feature-card:hover .hq-feature-media img { transform: scale(1.05); }
.hq-feature-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72)); }
.hq-feature-title { position: absolute; left: 14px; right: 14px; bottom: 11px; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.45; z-index: 1; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.hq-feature-tag { position: absolute; top: 10px; right: 10px; z-index: 1; background: rgba(20, 24, 31, .72); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 2px; }
.hq-feature-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .8); font-size: 14px; background: #3b4757; }

/* ===== D. section-title 居中 + 4 列网格 ===== */
.hq-section-title { text-align: center; margin-bottom: 38px; }
.hq-section-title .h1 { font-size: 30px; font-weight: 900; letter-spacing: .2px; color: var(--hq-title); }
.hq-section-title .h1 a { color: inherit; }
.hq-section-title p { color: var(--hq-mut); font-size: 15px; margin-top: 8px; }
.hq-posts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hq-empty { background: var(--hq-card); border: 1px dashed var(--hq-border); border-radius: var(--hq-radius); padding: 46px 20px; text-align: center; color: var(--hq-mut); }

/* ===== E. entry-card 丝带角标卡 ===== */
.hq-entry-card { background: var(--hq-card); border: 1px solid var(--hq-card-border); border-radius: var(--hq-radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.hq-entry-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(52, 73, 94, .13); }
.hq-entry-media { display: block; position: relative; }
.hq-entry-ph { display: block; position: relative; padding-bottom: 66.67%; overflow: hidden; background: #edf0f4; }
.hq-entry-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hq-tips { position: absolute; top: 10px; right: -36px; width: 132px; height: 25px; line-height: 25px; background: var(--hq-primary); color: #fff; font-size: 12px; text-align: center; transform: rotate(45deg); z-index: 1; letter-spacing: 1px; }
.hq-tips.is-free { background: var(--hq-green); }
.hq-entry-body { padding: 12px 14px 13px; }
.hq-entry-title { font-size: 15px; font-weight: 600; line-height: 1.5; height: 23px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hq-entry-title a { color: var(--hq-title); }
.hq-entry-title a:hover { color: var(--hq-primary); }
.hq-entry-foot { display: flex; align-items: center; gap: 12px; margin-top: 9px; font-size: 12px; color: var(--hq-mut); }
.hq-meta-price { margin-left: auto; color: var(--hq-red); font-size: 14px; font-weight: 700; }
.hq-meta-price.is-free { color: var(--hq-green); font-size: 12px; }

/* ===== F. term-bar 蓝条分类头 + 子分类标签 + 再搜条 ===== */
.hq-term-bar { background: linear-gradient(118deg, #3f7ae0, #4a86e8 55%, #5b93ec); padding: 42px 0 46px; text-align: center; position: relative; overflow: hidden; }
.hq-term-bar::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 3px, transparent 3px 110px); }
.hq-term-bar .hq-container { position: relative; z-index: 1; }
.hq-term-title { color: #fff; font-size: 26px; font-weight: 700; letter-spacing: 1px; }
.hq-term-sub { color: rgba(255, 255, 255, .82); font-size: 14px; margin-top: 9px; }
.hq-term-search { display: flex; gap: 10px; max-width: 420px; margin: 20px auto 0; }
.hq-term-search input { flex: 1 1 auto; height: 42px; border: none; border-radius: 3px; background: #fff; padding: 0 14px; font-size: 14px; outline: none; }
.hq-term-search button { flex: 0 0 92px; height: 42px; border: none; border-radius: 3px; background: #7ba4ee; color: #fff; font-size: 14px; letter-spacing: 3px; cursor: pointer; }
.hq-term-search button:hover { background: #5f90ea; }
.hq-sub-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.hq-sub-tag { display: inline-block; background: var(--hq-card); border: 1px solid var(--hq-border); border-radius: var(--hq-radius); padding: 6px 15px; font-size: 13px; color: var(--hq-text); transition: all .15s; }
.hq-sub-tag:hover { background: var(--hq-primary); border-color: var(--hq-primary); color: #fff; }

/* ===== G. services 四卡 + 深色四列 footer ===== */
.hq-service-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.hq-service-single { text-align: center; padding: 10px 6px; }
.hq-service-single span { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--hq-primary-bg); color: var(--hq-primary); font-size: 22px; margin-bottom: 14px; }
.hq-service-single h4 { font-size: 16px; color: var(--hq-title); margin-bottom: 9px; }
.hq-service-single p { font-size: 13px; color: var(--hq-mut); line-height: 1.75; }
.hq-footer { background: #2c3e50; color: rgba(255, 255, 255, .65); margin-top: 26px; }
.hq-footer-widget { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding: 44px 0 36px; }
.hq-footer-logo { color: #fff; font-size: 19px; font-weight: 700; margin-bottom: 13px; }
.hq-fw-about p { font-size: 13px; line-height: 1.8; }
.hq-fw-title h5 { color: #fff; font-size: 15px; margin-bottom: 15px; }
.hq-fw-links ul { list-style: none; }
.hq-fw-links li { margin-bottom: 9px; }
.hq-fw-links a { color: rgba(255, 255, 255, .62); font-size: 13px; }
.hq-fw-links a:hover { color: #fff; }
.hq-footer-friend { border-top: 1px solid rgba(255, 255, 255, .1); padding: 15px 0; font-size: 13px; line-height: 2; }
.hq-footer-friend a { color: rgba(255, 255, 255, .62); margin-right: 13px; }
.hq-footer-friend a:hover { color: #fff; }
.hq-footer-friend-label { color: rgba(255, 255, 255, .45); }
.hq-footer-center { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0 20px; font-size: 12px; color: rgba(255, 255, 255, .42); text-align: center; }
.hq-footer-center a { color: rgba(255, 255, 255, .42); }

/* ===== H. off-canvas 右抽屉（移动端） ===== */
.hq-canvas-mask { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 98; }
.hq-canvas-mask.show { display: block; }
.hq-offcanvas { position: fixed; top: 0; right: 0; width: 300px; max-width: 84vw; height: 100%; background: #fff; z-index: 99; transform: translateX(100%); transition: transform .25s; overflow-y: auto; }
.hq-offcanvas.open { transform: translateX(0); }
.hq-offcanvas-head { display: flex; align-items: center; justify-content: space-between; background: var(--hq-primary); padding: 15px 18px; }
.hq-offcanvas-logo { color: #fff; font-size: 17px; font-weight: 700; }
.hq-canvas-close { background: none; border: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 2px; }
.hq-offcanvas-nav { display: flex; flex-direction: column; }
.hq-offcanvas-nav a { padding: 13px 22px; font-size: 15px; color: var(--hq-title); border-bottom: 1px solid #f0f2f5; }
.hq-offcanvas-nav a:hover { background: #f6f9fe; color: var(--hq-primary); }
.hq-offcanvas-nav a.is-vip { color: var(--hq-red); font-weight: 700; }

/* ===== I. pagination / quickbar / 侧栏 widget / vip promo（widget-pay 形制） ===== */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 13px; border-radius: var(--hq-radius); background: var(--hq-card); border: 1px solid var(--hq-border); color: var(--hq-text); font-size: 14px; }
.pagination a:hover { border-color: var(--hq-primary); color: var(--hq-primary); }
.pagination .active span, .pagination .current span { background: var(--hq-primary); border-color: var(--hq-primary); color: #fff; }
.hq-quickbar { position: fixed; right: 16px; bottom: 88px; display: flex; flex-direction: column; gap: 9px; z-index: 50; }
.hq-qb-btn { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--hq-primary); color: #fff; font-size: 17px; cursor: pointer; box-shadow: 0 3px 10px rgba(74, 134, 232, .35); }
.hq-qb-btn.is-vip { background: var(--hq-yellow); color: #5d4200; }
.hq-qb-btn:hover { opacity: .88; }
.hq-vip-promo { background: var(--hq-card); border: 1px solid var(--hq-card-border); border-radius: var(--hq-radius); padding: 20px 18px; text-align: center; }
.hq-vip-price font { color: var(--hq-red); font-size: 30px; font-weight: 700; }
.hq-vip-rateinfo { margin: 10px 0 15px; }
.hq-vip-desc { display: block; font-size: 12px; color: var(--hq-mut); font-weight: normal; }
.hq-vip-icont { color: var(--hq-yellow); }
.hq-vip-golink { color: var(--hq-primary); margin-left: 6px; text-decoration: underline; }
.hq-vip-promo-btn { display: block; height: 44px; line-height: 44px; border-radius: var(--hq-radius); background: var(--hq-purple); color: #fff; font-size: 15px; font-weight: 700; transition: opacity .15s; }
.hq-vip-promo-btn:hover { opacity: .88; color: #fff; }
.hq-vip-promo-note { margin-top: 11px; font-size: 12px; color: var(--hq-mut); }
.hq-widget { background: var(--hq-card); border: 1px solid var(--hq-card-border); border-radius: var(--hq-radius); overflow: hidden; }
.hq-widget-head { padding: 12px 16px; font-size: 15px; font-weight: 700; color: var(--hq-title); border-bottom: 1px solid var(--hq-card-border); position: relative; padding-left: 26px; }
.hq-widget-head::before { content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 4px; height: 15px; background: var(--hq-primary); border-radius: 2px; }
.hq-hotlist { list-style: none; padding: 8px 16px; }
.hq-hotlist li { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px dashed #f0f2f5; }
.hq-hotlist li:last-child { border-bottom: none; }
.hq-hot-idx { flex: none; width: 19px; height: 19px; line-height: 19px; text-align: center; background: #e3e8ef; color: #98a2b3; font-size: 11px; border-radius: 3px; }
.hq-hot-idx.idx-1 { background: var(--hq-red); color: #fff; }
.hq-hot-idx.idx-2 { background: #f58523; color: #fff; }
.hq-hot-idx.idx-3 { background: var(--hq-primary); color: #fff; }
.hq-hot-title { flex: 1 1 auto; min-width: 0; font-size: 13px; color: var(--hq-title); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hq-hot-title:hover { color: var(--hq-primary); }
.hq-hot-views { flex: none; font-size: 11px; color: var(--hq-mut); }
.hq-navlist { list-style: none; padding: 8px 16px; }
.hq-navlist li { border-bottom: 1px dashed #f0f2f5; }
.hq-navlist li:last-child { border-bottom: none; }
.hq-navlist a { display: block; padding: 9px 0; font-size: 13px; color: var(--hq-text); }
.hq-navlist a:hover { color: var(--hq-primary); }
.hq-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
.hq-chip { display: inline-block; background: #f2f5fa; border-radius: 3px; padding: 5px 12px; font-size: 12px; color: var(--hq-text); }
.hq-chip:hover { background: var(--hq-primary); color: #fff; }

/* ===== J. 响应式 ===== */
@media (max-width: 991px) {
    .hq-menu { display: none; }
    .hq-sep { display: none; }
    .hq-burger { display: flex; }
    .hq-feature-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .hq-posts-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .hq-service-row { grid-template-columns: repeat(2, 1fr); }
    .hq-footer-widget { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .hq-posts-grid { grid-template-columns: repeat(2, 1fr); gap: 13px; }
    .hq-hero { padding: 46px 0 42px; }
    .hq-focusbox-title { font-size: 23px; }
    .hq-hero-form-row { flex-direction: column; }
    .hq-hero-submit { flex: 0 0 auto; }
    .hq-section { padding: 36px 0; }
    .hq-section-title .h1 { font-size: 24px; }
    .hq-term-bar { padding: 34px 0 38px; }
    .hq-term-title { font-size: 22px; }
    .hq-user-chip .hq-user-name, .hq-logout-link { display: none; }
}
@media (max-width: 480px) {
    .hq-feature-grid { grid-template-columns: 1fr; }
    .hq-service-row { grid-template-columns: 1fr; }
    .hq-footer-widget { grid-template-columns: 1fr; }
    .hq-entry-title { font-size: 14px; }
    .hq-login-pill { padding: 0 11px; }
}
/* hq-append-end (100qi) */

/* ===== 100 期 fix：外层钩子类补齐 ===== */
.hq-fw-col { min-width: 0; }
.hq-meta-date, .hq-meta-views { white-space: nowrap; }
.hq-services { background: var(--hq-card); }
/* hq-fix-end (100qi) */

/* ===== 100 期 polish：通栏修正 + 细节 ===== */
/* ① 基底 body padding-top 是 fixed 顶栏补偿，header 已 static —— 清零防顶部白隙 */
body { padding-top: 0; }
/* ② hero/term-bar 通栏：容器内块用负 margin 出血（width:auto + 负 margin = 撑宽，
    非视口不足 1200 时不应用防横滚；body overflow-x:clip 兜底滚动条差） */
@media (min-width: 1200px) {
    .hq-hero, .hq-term-bar {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}
/* ③ 精选卡标题限两行 + 封面渐变减淡提亮 */
.hq-feature-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: initial;
    white-space: normal;
}
.hq-feature-media::after { height: 55%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .58)); }
/* hq-polish-end (100qi) */

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

/* ===== 0929 修瑕：hero/term-bar 搜索按钮对比度 + 对齐（96 期 .hq-btn-block margin-top 残留致按钮低 6px） ===== */
.hq-hero-submit .hq-btn-block { margin-top: 0; background: #fff; color: #3a6fd8; font-weight: 600; letter-spacing: 2px; }
.hq-hero-submit .hq-btn-block:hover { background: #e8f0fd; color: #3a6fd8; }
.hq-term-search button { background: #fff; color: #3a6fd8; font-weight: 600; letter-spacing: 2px; }
.hq-term-search button:hover { background: #e8f0fd; color: #3a6fd8; }
/* hq-ui-fix-end (0929) */
/* 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}

/* ===== 修正：蓝底导航悬停不可见（老版 hover 规则残留：logo 悬停变蓝、菜单悬停白底白字） ===== */
.hq-logo:hover { color: #fff; opacity: .85; }
.hq-menu a:hover, .hq-menu a.on:hover { color: #fff; background: transparent; }
