/* ============================================================
   huying 主题 · 仿 huyingshe.com 狐樱社（WordPress 6.9 + B2 主题 5.8.0 紫色二次元写真站）
   设计规范（实测参考站内联定制 CSS + 首页/详情 HTML + PIL 采样）：
   - 主紫 #aa71e2（B2 --b2color）；浅紫 rgba(170,113,226,.1~.2)；radius 4px（--b2radius）
   - 双层 header：banner 顶条 #cbb5dd + 导航条 #c09ee2，深字 #121212
   - 模块标题红 #f04f51（PIL 单点采样）；页面底 #ffffff（.site）；卡片白 + 1px #f0f0f0 边
   - 卡片：b2_gap 四列网格 + post-module-thumb 75% 比例图 + 标题两行省略 + 作者/时间行
   注意：pay-* 弹窗类名是 JS 契约不可改；JS 会 inline 设 display:block，
        弹窗内按钮必须自带 width + margin:auto 居中（勿依赖 text-align）
   ============================================================ */

:root {
    --hy-primary: #aa71e2;
    --hy-primary-dk: #8f5bd8;
    --hy-primary-bg: rgba(170, 113, 226, .1);
    --hy-bg: #ffffff;
    --hy-card: #ffffff;
    --hy-card-border: #f0f0f0;
    --hy-title: #121212;
    --hy-text: #595d69;
    --hy-mut: #a1a1a8;
    --hy-border: #dfe0e5;
    --hy-header-bg: #cbb5dd;
    --hy-header-text: #121212;
    --hy-radius: 4px;
    --hy-shadow: 0 1px 3px rgba(25, 26, 31, .06);
    --hy-red: #f04f51;
    --hy-yellow: #f7c32e;
    --hy-green: #0cbc87;
    --hy-cyan: #4f9ef8;
    --hy-head-h: 106px;
}

* { box-sizing: border-box; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


/* ============================================================
   96 期追加：B2 化区块（仿 huyingshe.com 狐樱社）
   主紫 #aa71e2 / banner #cbb5dd / 导航条 #c09ee2 / 深字 #121212 /
   模块标题红 #f04f51 / radius 4px / 卡片白底 #f0f0f0 边
   ============================================================ */

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

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

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

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

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

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

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

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


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

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

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