/* ============================================================
   hongyi 主题 · 仿 hongyiguan.cn 周易咨询网（PHPOK CMS 6.x + Bootstrap 5 企业官网）
   设计规范（参考站 tpl/www/assets/css/style.css :root + 首页/列表/详情 HTML 实测）：
   - 主蓝 #1D5595（--bs-primary，导航条/浮钮/active/分页）；点缀橙 #E77717（搜索钮）；价格红 #dc3545
   - 交替分节底 #f8f9fa（--bs-light）；正文 #212529；边框 #dee2e6；摘要 #525252；radius 6px
   - 三段 header：白底欢迎条 + 白底品牌条（logo+搜索胶囊橙钮）+ 深蓝主导航（白字+下拉）
   - 列表页：左侧栏（分类 list-group active 蓝底白字 + 数量 badge）+ 右列 media 文章列表
   注意：pay-* 弹窗类名是 JS 契约不可改；JS 会 inline 设 display:block，
        弹窗内按钮必须自带 width + margin:auto 居中（勿依赖 text-align）
   ============================================================ */

:root {
    --hyg-primary: #1D5595;
    --hyg-primary-dk: #164678;
    --hyg-primary-bg: rgba(29, 85, 149, .1);
    --hyg-bg: #f8f9fa;
    --hyg-card: #ffffff;
    --hyg-card-border: #dee2e6;
    --hyg-title: #212529;
    --hyg-text: #595d69;
    --hyg-mut: #a1a1a8;
    --hyg-border: #dfe0e5;
    --hyg-header-bg: #ffffff;
    --hyg-header-text: #212529;
    --hyg-radius: 6px;
    --hyg-shadow: 0 1px 3px rgba(25, 26, 31, .06);
    --hyg-red: #dc3545;
    --hyg-yellow: #f7c32e;
    --hyg-green: #0cbc87;
    --hyg-cyan: #4f9ef8;
    --hyg-head-h: 174px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ============================================================
   hongyi 追加区 · 仿 hongyiguan.cn 企业官网（PHPOK + Bootstrap 5）
   规范：主蓝 #1D5595 / 深蓝 #164678 / 橙 #E77717 / 价格红 #dc3545 /
        分节底 #f8f9fa / 边框 #dee2e6 / 正文 #212529 / 摘要 #525252 / radius 6px
   ============================================================ */

/* ===== A. 三段式 header ===== */
.hyg-header{display:block;background:none;height:auto;padding:0;border:none;}
/* 段一：欢迎条 */
.hyg-topbar{background:#f8f9fa;border-bottom:1px solid #dee2e6;font-size:13px;color:#6c757d;}
.hyg-topbar-inner{display:flex;align-items:center;justify-content:space-between;min-height:38px;gap:10px;flex-wrap:wrap;padding:4px 0;}
.hyg-topbar-links{display:flex;align-items:center;flex-wrap:wrap;}
.hyg-topbar-links a{color:#495057;text-decoration:none;padding:2px 6px;}
.hyg-topbar-links a:hover{color:#1D5595;}
.hyg-topbar-sep{color:#ced4da;padding:0 2px;}
.hyg-topbar-vip{color:#6c757d;padding:2px 6px;}
.hyg-topbar-vip.is-vip{color:#E77717;font-weight:600;}
.hyg-topbar-btn{background:none;border:none;padding:2px 6px;font-size:13px;color:#495057;cursor:pointer;}
.hyg-topbar-btn:hover{color:#1D5595;}
/* 段二：品牌条 */
.hyg-brandbar{background:#ffffff;border-bottom:1px solid #f1f3f5;}
.hyg-brandbar-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;flex-wrap:wrap;}
.hyg-brand{display:flex;align-items:center;text-decoration:none;}
.hyg-brand::before{content:"";flex:none;width:44px;height:44px;border-radius:8px;background:#1D5595;margin-right:12px;}
.hyg-brand .hyg-logo{font-size:26px;font-weight:700;color:#212529;letter-spacing:1px;display:flex;align-items:center;}
/* 品牌条右：搜索胶囊 + 热词 */
.hyg-brandbar-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px;}
.hyg-search{display:flex;align-items:stretch;width:340px;max-width:100%;border:1px solid #dee2e6;border-radius:6px;overflow:hidden;background:#fff;}
.hyg-search input{flex:1;border:none;outline:none;padding:9px 12px;font-size:14px;color:#212529;background:transparent;min-width:0;}
.hyg-search button{background:#E77717;color:#fff;border:none;padding:9px 20px;font-size:14px;cursor:pointer;white-space:nowrap;}
.hyg-search button:hover{background:#fd7e14;}
.hyg-search:focus-within{border-color:#1D5595;}
.hyg-hotwords{display:flex;align-items:center;gap:2px;color:#6c757d;flex-wrap:wrap;}
.hyg-hotwords a{color:#6c757d;text-decoration:none;padding:1px 5px;}
.hyg-hotwords a:hover{color:#1D5595;}
/* 段三：主导航（深蓝底白字） */
.hyg-nav{background:#1D5595;}
.hyg-nav-inner{display:flex;align-items:center;justify-content:space-between;}
.hyg-menu{display:flex;align-items:center;flex-wrap:wrap;}
.hyg-menu a{display:block;color:#ffffff;font-size:15px;padding:12px 18px;text-decoration:none;white-space:nowrap;}
.hyg-menu a:hover{background:#164678;color:#fff;}
.hyg-menu a.on{background:#164678;color:#fff;}
.hyg-nav-toggle{display:none;background:none;border:1px solid rgba(255,255,255,.5);border-radius:4px;padding:7px 9px;cursor:pointer;}
.hyg-nav-toggle span{display:block;width:18px;height:2px;background:#fff;margin:3px 0;}

/* ===== B. home 分节：hero / numbers / section-head ===== */
.hyg-hero{background:linear-gradient(135deg,#f8f9fa 0%,#eef3f8 55%,#e3ecf5 100%);border-bottom:1px solid #e9ecef;}
.hyg-hero-inner{max-width:1120px;margin:0 auto;padding:56px 16px;text-align:center;}
.hyg-hero-title{font-size:34px;font-weight:700;color:#1D5595;letter-spacing:4px;margin:0 0 12px;}
.hyg-hero-sub{font-size:16px;color:#525252;margin:0 0 22px;}
.hyg-hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;}
.hyg-numbers{background:#f8f9fa;text-align:center;padding:34px 16px 38px;border-bottom:1px solid #eef0f2;}
.hyg-numbers-count{font-size:60px;font-weight:400;color:#1B1B1B;line-height:1.1;}
.hyg-numbers-count sup{font-size:26px;color:#6c757d;vertical-align:top;top:.4em;position:relative;}
.hyg-numbers-title{color:#525252;font-size:17px;margin-top:10px;max-width:900px;margin-left:auto;margin-right:auto;}
.hyg-section-head{display:flex;align-items:center;gap:18px;margin:34px 0 18px;}
.hyg-section-line{flex:1;height:1px;background:rgba(0,0,0,.14);}
.hyg-section-title{text-align:center;font-size:26px;font-weight:600;color:#212529;white-space:nowrap;}
.hyg-section-title small{display:block;font-size:12px;font-weight:400;color:#adb5bd;margin-top:4px;letter-spacing:2px;}

/* ===== C. 卡片网格（四列价格卡） ===== */
.hyg-gap{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.hyg-card{background:#fff;border:1px solid #dee2e6;border-radius:6px;overflow:hidden;transition:box-shadow .2s,transform .2s;}
.hyg-card:hover{box-shadow:0 6px 18px rgba(29,85,149,.12);transform:translateY(-2px);}
.hyg-card-thumb{display:block;position:relative;padding-top:75%;overflow:hidden;background:#eef1f4;}
.hyg-card-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.hyg-card-thumb .hyg-noimg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#adb5bd;font-size:13px;}
.hyg-card-flag{position:absolute;top:10px;left:10px;background:#1D5595;color:#fff;font-size:12px;padding:3px 10px;border-radius:4px;font-weight:600;}
.hyg-card-flag.is-free{background:#198754;}
.hyg-card-info{padding:12px 14px 14px;}
.hyg-card-title{font-size:15px;margin:0 0 8px;line-height:1.4;height:42px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.hyg-card-title a{color:#212529;text-decoration:none;}
.hyg-card-title a:hover{color:#1D5595;}
.hyg-card-meta{display:flex;align-items:center;gap:10px;font-size:12px;color:#8b949e;flex-wrap:wrap;}
.hyg-card-time,.hyg-card-views{white-space:nowrap;}
.hyg-card-price{margin-left:auto;}
.hyg-card-price em{font-style:normal;color:#dc3545;font-weight:700;font-size:14px;}
.hyg-card-price em.is-free{color:#198754;}

/* ===== D. 列表页：通栏横幅 + media 列表 ===== */
.hyg-page-banner{background:#f8f9fa;border:1px solid #eef0f2;border-radius:6px;text-align:center;padding:30px 16px 26px;margin-bottom:14px;}
.hyg-page-banner-title{font-size:26px;font-weight:700;color:#212529;margin:0 0 8px;}
.hyg-page-banner-sub{font-size:14px;color:#6c757d;margin:0;}
.hyg-search-center{margin:14px auto 0;width:420px;max-width:100%;}
.hyg-media-list{list-style:none;margin:0;padding:0;}
.hyg-media{display:flex;gap:16px;background:#fff;border:1px solid #dee2e6;border-radius:6px;padding:14px;margin-bottom:12px;transition:box-shadow .2s;}
.hyg-media:hover{box-shadow:0 4px 14px rgba(29,85,149,.1);}
.hyg-media-thumb{flex:none;width:200px;height:132px;border-radius:4px;overflow:hidden;background:#eef1f4;display:block;}
.hyg-media-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.hyg-media-thumb .hyg-noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#adb5bd;font-size:13px;}
.hyg-media-body{flex:1;min-width:0;display:flex;flex-direction:column;}
.hyg-media-title{font-size:17px;font-weight:600;margin:2px 0 8px;line-height:1.45;}
.hyg-media-title a{color:#212529;text-decoration:none;}
.hyg-media-title a:hover{color:#1D5595;}
.hyg-media-desc{font-size:13px;color:#525252;line-height:1.7;margin:0 0 10px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.hyg-media-meta{margin-top:auto;font-size:12px;color:#8b949e;display:flex;align-items:center;gap:4px;flex-wrap:wrap;}
.hyg-media-meta small{color:#8b949e;}
.hyg-media-price{margin-left:auto;}
.hyg-media-price em{font-style:normal;color:#dc3545;font-weight:700;font-size:14px;}
.hyg-media-price em.is-free{color:#198754;}

/* ===== E. 详情页：post-banner + info-card + tabs ===== */
.hyg-post-banner{background:linear-gradient(135deg,#f8f9fa 0%,#eef3f8 100%);border:1px solid #eef0f2;border-radius:6px;text-align:center;padding:26px 16px 22px;margin-bottom:14px;}
.hyg-post-banner-title{font-size:26px;font-weight:700;color:#212529;margin:0 0 6px;line-height:1.4;}
.hyg-post-banner-sub{font-size:14px;color:#6c757d;margin:0 0 10px;font-weight:400;}
.hyg-post-banner-meta small{display:inline-block;background:rgba(0,0,0,.06);border-radius:4px;padding:6px 14px;color:#495057;font-size:13px;}
.hyg-info-card{background:#fff;border:1px solid #dee2e6;border-radius:6px;padding:6px 18px 18px;margin-bottom:14px;}
.hyg-info-list{list-style:none;margin:0;padding:0;}
.hyg-info-row{display:flex;align-items:baseline;gap:14px;padding:11px 0;border-bottom:1px solid #f1f3f5;font-size:14px;}
.hyg-info-row:last-child{border-bottom:none;}
.hyg-info-label{flex:none;width:64px;color:#6c757d;text-align:justify;text-align-last:justify;}
.hyg-info-value{color:#212529;word-break:break-all;}
.hyg-info-value em{font-style:normal;}
.hyg-info-value em.is-free{color:#198754;font-weight:700;}
.hyg-info-price{color:#dc3545;font-weight:700;font-size:20px;}
.hyg-info-actions{display:flex;gap:12px;margin-top:14px;flex-wrap:wrap;}
.hyg-tabs-nav{display:flex;justify-content:center;gap:8px;border-bottom:1px solid #dee2e6;margin-bottom:16px;flex-wrap:wrap;}
.hyg-tabs-item{display:inline-block;padding:10px 22px;font-size:15px;color:#495057;border-bottom:2px solid transparent;margin-bottom:-1px;}
.hyg-tabs-item.on{color:#1D5595;border-bottom-color:#1D5595;font-weight:600;}

/* ===== F. 侧栏卡片（list-group 风） ===== */
.hyg-side-card{background:#fff;border:1px solid #dee2e6;border-radius:6px;overflow:hidden;margin-bottom:14px;}
.hyg-side-card-head{background:#f8f9fa;border-bottom:1px solid #dee2e6;padding:11px 15px;font-size:15px;font-weight:600;color:#212529;}
.hyg-side-card-body{padding:12px 14px;}
.hyg-side-nav{list-style:none;margin:0;padding:0;}
.hyg-side-nav li{border-bottom:1px solid #f1f3f5;}
.hyg-side-nav li:last-child{border-bottom:none;}
.hyg-side-nav li a{display:block;padding:10px 15px;font-size:14px;color:#495057;text-decoration:none;}
.hyg-side-nav li a i{font-style:normal;color:#adb5bd;margin-right:2px;}
.hyg-side-nav li a:hover{background:#f8f9fa;color:#1D5595;}
.hyg-side-nav li.on a,.hyg-side-nav li.on a:hover{background:#1D5595;color:#fff;}
.hyg-side-nav li.on a i{color:rgba(255,255,255,.7);}
.hyg-about{list-style:none;margin:0;padding:12px 15px;}
.hyg-about li{font-size:14px;color:#495057;padding:4px 0;line-height:1.6;}
.hyg-about-desc{font-size:13px;color:#8b949e;}

/* ===== G. footer 四列（企业风） ===== */
.hyg-footer{background:#f8f9fa;border-top:1px solid #dee2e6;margin-top:26px;padding:34px 0 0;}
.hyg-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:24px;padding-bottom:24px;}
.hyg-footer-col h4{font-size:16px;color:#212529;margin:0 0 12px;padding-bottom:10px;position:relative;}
.hyg-footer-col h4::after{content:"";position:absolute;left:0;bottom:0;width:28px;height:2px;background:#1D5595;}
.hyg-footer-brand p{font-size:13px;color:#6c757d;line-height:1.8;margin:0;}
.hyg-footer-list{list-style:none;margin:0;padding:0;}
.hyg-footer-list li{padding:3px 0;}
.hyg-footer-list a{font-size:13px;color:#6c757d;text-decoration:none;}
.hyg-footer-list a:hover{color:#1D5595;}
.hyg-footer .hyg-footer-links{border-top:1px solid #e9ecef;padding:12px 0;font-size:13px;}
.hyg-footer .hyg-footer-center{border-top:1px solid #e9ecef;padding:14px 0 18px;text-align:center;font-size:13px;color:#8b949e;}
.hyg-footer .hyg-footer-center p{margin:4px 0;}
.hyg-footer .hyg-footer-center a{color:#6c757d;}
.hyg-footer .hyg-footer-center a:hover{color:#1D5595;}

/* ===== H. quickbar（kfonline 蓝方块组） ===== */
.hyg-quickbar{position:fixed;right:14px;bottom:70px;z-index:900;display:flex;flex-direction:column;}
.hyg-qb-btn{width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:#1D5595;color:#fff;border:1px solid rgba(255,255,255,.6);font-size:17px;cursor:pointer;margin-top:-1px;text-decoration:none;}
.hyg-qb-btn:hover{background:#164678;color:#fff;}
.hyg-qb-btn.is-vip{background:#E77717;}
.hyg-qb-btn.is-vip:hover{background:#fd7e14;}

/* ===== I. home-seo 左右分栏（覆盖基座卡片式） ===== */
.hyg-home-seo{background:#f8f9fa;border:1px solid #eef0f2;border-radius:6px;display:flex;gap:26px;padding:26px;margin:8px 0 26px;align-items:flex-start;}
.hyg-home-seo-text{flex:1;min-width:0;}
.hyg-home-seo-title{font-size:22px;color:#212529;margin:0 0 12px;}
.hyg-home-seo-title::before{display:none;}
.hyg-home-seo-body{font-size:14px;color:#525252;line-height:1.9;}
.hyg-home-seo-body p{margin:0 0 10px;}
.hyg-home-seo .hyg-btn{margin-top:14px;display:inline-block;}
.hyg-home-seo-promo{flex:none;width:300px;}
.hyg-home-seo-promo .hyg-vip-promo{margin:0;}
.hyg-home-links-body{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;}
.hyg-home-links-body a{display:block;text-align:center;background:#fff;border:1px solid #dee2e6;border-radius:4px;padding:10px 6px;font-size:13px;color:#495057;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.hyg-home-links-body a:hover{color:#1D5595;border-color:#1D5595;}

/* ===== J. 响应式统一（最末，覆盖基座同断点规则） ===== */
@media (max-width:1200px){
  .hyg-gap{grid-template-columns:repeat(3,1fr);}
  .hyg-home-links-body{grid-template-columns:repeat(4,1fr);}
}
@media (max-width:1020px){
  .hyg-footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:900px){
  /* 覆盖基座菜单抽屉一整套：本期 ≤900 采用参考站「蓝条上 wrap 多列」形态 */
  .hyg-nav-toggle{display:none;}
  .hyg-menu{position:static;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;background:transparent;padding:4px 0 8px;box-shadow:none;max-height:none;overflow-y:visible;top:auto;left:auto;right:auto;width:auto;}
  .hyg-menu.open{position:static;display:flex;flex-direction:row;flex-wrap:wrap;background:transparent;}
  .hyg-menu a{display:inline-block;padding:7px 12px;font-size:14px;}
  .hyg-menu a.on,.hyg-menu a:hover{background:#164678;}
  .hyg-brandbar-inner{flex-direction:column;align-items:stretch;}
  .hyg-brand{justify-content:center;}
  .hyg-brand::after{font-size:22px;}
  .hyg-brandbar-right{align-items:center;}
  .hyg-hotwords{justify-content:center;}
  .hyg-hero-inner{padding:36px 14px;}
  .hyg-hero-title{font-size:26px;letter-spacing:2px;}
  .hyg-numbers-count{font-size:46px;}
  .hyg-numbers-title{font-size:15px;}
  .hyg-home-seo{flex-direction:column;}
  .hyg-home-seo-promo{width:100%;}
}
@media (max-width:768px){
  .hyg-quickbar{display:none;}
  .hyg-footer-grid{grid-template-columns:1fr;gap:18px;}
  .hyg-media-thumb{width:132px;height:92px;}
  .hyg-media-title{font-size:15px;}
  .hyg-post-banner-title,.hyg-page-banner-title{font-size:21px;}
  .hyg-section-title{font-size:20px;}
}
@media (max-width:640px){
  .hyg-gap{grid-template-columns:repeat(2,1fr);}
  .hyg-card-title{font-size:14px;height:40px;}
  .hyg-media{flex-direction:column;}
  .hyg-media-thumb{width:100%;height:170px;}
  .hyg-home-links-body{grid-template-columns:repeat(2,1fr);}
  .hyg-topbar-inner{justify-content:center;}
  .hyg-hero-title{font-size:22px;}
  .hyg-info-actions .hyg-btn{flex:1;text-align:center;}
}

/* ===== hongyi-append-end (97qi) ===== */

/* ===== hongyi-fix (97qi)：校验欠账补齐 ===== */
/* paypanel（下载/支付卡）：白卡 + 角标价签 */
.hyg-paypanel{position:relative;background:#fff;border:1px solid #dee2e6;border-radius:6px;padding:26px 20px 18px;margin:18px 0;}
.hyg-paypanel .hyg-pay-tag{position:static;display:inline-block;background:linear-gradient(135deg,#1D5595,#164678);color:#fff;font-size:14px;font-weight:600;padding:6px 14px;border-radius:4px;margin-bottom:14px;}
.hyg-paypanel .hyg-pay-tag.is-free{background:linear-gradient(135deg,#198754,#14713f);}
/* prenext（上下篇双卡） */
.hyg-prenext{margin:18px 0;}
.hyg-prenext-in{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.hyg-prenext-card{display:block;background:#fff;border:1px solid #dee2e6;border-radius:6px;padding:14px 16px;text-decoration:none;min-height:64px;transition:border-color .2s,box-shadow .2s;}
.hyg-prenext-card:hover{border-color:#1D5595;box-shadow:0 4px 12px rgba(29,85,149,.1);}
.hyg-prenext-card.is-none{visibility:hidden;}
.hyg-prenext-label{display:block;font-size:12px;color:#1D5595;margin-bottom:6px;}
.hyg-prenext-title{display:block;font-size:14px;color:#212529;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.5;}
/* tabs body 包裹层 */
.hyg-tabs-body{display:block;}
/* topbar 欢迎语 */
.hyg-topbar-welcome{color:#6c757d;}
/* links 页欠账 4 类（基底历史遗留） */
.hyg-links-intro{background:#f8f9fa;border:1px solid #eef0f2;border-radius:6px;padding:14px 18px;font-size:14px;color:#525252;line-height:1.8;margin-bottom:16px;}
.hyg-link-text{display:flex;flex-direction:column;min-width:0;}
.hyg-link-name{font-size:15px;font-weight:600;color:#212529;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
a:hover .hyg-link-name{color:#1D5595;}
.hyg-cta-body{background:linear-gradient(135deg,#f8f9fa,#eef3f8);border:1px solid #eef0f2;border-radius:6px;padding:22px;font-size:14px;color:#525252;line-height:1.8;}

/* ===== hongyi-fix-end (97qi) ===== */

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