/* ============================================================
   byq 主题 · 仿 xsbyqc.com 润生变压器厂（DedeCMS 工业企业门户）
   设计规范（参考站 style.css + index.css + page.css 三件实测，合计约 20KB）：
   - 深蓝 #034697（55px 主导航/44px bottomNav，等宽白字块 hover #062852）
   - 亮蓝 #0a5cc0（左栏分类条/关于我们蓝底/搜索钮/热线块）；中蓝 #075ac4（新闻 tab 条）
   - 正红 #E70012（价格/红底标题条）；logo 深蓝 #0c44aa；绿 #148d01（电话）
   - 正文 #494949；小字 #505050；灰边 #d5d5d5（内页灰框圆角 4px）；虚线行 #bababa
   - 三段 header：30px 公告条（#ccc 底边）+ 73px 品牌条（48px 大字站名 + Impact 热线）+ 55px 深蓝导航
   - 内页：main_left 280（leftitem 灰框：蓝白标题条 + 分类蓝条）+ main_right 890（sitemap 面包屑 + content 白卡）
   注意：pay-* 弹窗类名是 JS 契约不可改；JS 会 inline 设 display:block，
        弹窗内按钮必须自带 width + margin:auto 居中（勿依赖 text-align）
   ============================================================ */

:root {
    --byq-primary: #034697;
    --byq-primary-dk: #062852;
    --byq-primary-bg: rgba(3, 70, 151, .08);
    --byq-blue: #0a5cc0;
    --byq-blue-dk: #084a9c;
    --byq-bg: #ffffff;
    --byq-card: #ffffff;
    --byq-card-border: #d5d5d5;
    --byq-title: #494949;
    --byq-text: #666666;
    --byq-mut: #9a9a9a;
    --byq-border: #d5d5d5;
    --byq-header-bg: #ffffff;
    --byq-header-text: #494949;
    --byq-radius: 4px;
    --byq-shadow: 0 1px 3px rgba(25, 26, 31, .06);
    --byq-red: #E70012;
    --byq-yellow: #f7c32e;
    --byq-green: #148d01;
    --byq-cyan: #0a5cc0;
    --byq-head-h: 158px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ============================================================
   byq 追加区 · 仿 byqguan.cn 企业官网（PHPOK + Bootstrap 5）
   规范：主蓝 #034697 / 深蓝 #062852 / 橙 #0a5cc0 / 价格红 #E70012 /
        分节底 #f8f9fa / 边框 #d5d5d5 / 正文 #494949 / 摘要 #525252 / radius 6px
   ============================================================ */

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

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

/* ===== C. 卡片网格（四列价格卡） ===== */
.byq-gap{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.byq-card{background:#fff;border:1px solid #d5d5d5;border-radius:6px;overflow:hidden;transition:box-shadow .2s,transform .2s;}
.byq-card:hover{box-shadow:0 6px 18px rgba(3,70,151,.12);transform:translateY(-2px);}
.byq-card-thumb{display:block;position:relative;padding-top:75%;overflow:hidden;background:#eef1f4;}
.byq-card-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.byq-card-thumb .byq-noimg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#adb5bd;font-size:13px;}
.byq-card-flag{position:absolute;top:10px;left:10px;background:#034697;color:#fff;font-size:12px;padding:3px 10px;border-radius:4px;font-weight:600;}
.byq-card-flag.is-free{background:#198754;}
.byq-card-info{padding:12px 14px 14px;}
.byq-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;}
.byq-card-title a{color:#494949;text-decoration:none;}
.byq-card-title a:hover{color:#034697;}
.byq-card-meta{display:flex;align-items:center;gap:10px;font-size:12px;color:#8b949e;flex-wrap:wrap;}
.byq-card-time,.byq-card-views{white-space:nowrap;}
.byq-card-price{margin-left:auto;}
.byq-card-price em{font-style:normal;color:#E70012;font-weight:700;font-size:14px;}
.byq-card-price em.is-free{color:#198754;}

/* ===== D. 列表页：通栏横幅 + media 列表 ===== */
.byq-page-banner{background:#f8f9fa;border:1px solid #eef0f2;border-radius:6px;text-align:center;padding:30px 16px 26px;margin-bottom:14px;}
.byq-page-banner-title{font-size:26px;font-weight:700;color:#494949;margin:0 0 8px;}
.byq-page-banner-sub{font-size:14px;color:#6c757d;margin:0;}
.byq-search-center{margin:14px auto 0;width:420px;max-width:100%;}
.byq-media-list{list-style:none;margin:0;padding:0;}
.byq-media{display:flex;gap:16px;background:#fff;border:1px solid #d5d5d5;border-radius:6px;padding:14px;margin-bottom:12px;transition:box-shadow .2s;}
.byq-media:hover{box-shadow:0 4px 14px rgba(3,70,151,.1);}
.byq-media-thumb{flex:none;width:200px;height:132px;border-radius:4px;overflow:hidden;background:#eef1f4;display:block;}
.byq-media-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.byq-media-thumb .byq-noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#adb5bd;font-size:13px;}
.byq-media-body{flex:1;min-width:0;display:flex;flex-direction:column;}
.byq-media-title{font-size:17px;font-weight:600;margin:2px 0 8px;line-height:1.45;}
.byq-media-title a{color:#494949;text-decoration:none;}
.byq-media-title a:hover{color:#034697;}
.byq-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;}
.byq-media-meta{margin-top:auto;font-size:12px;color:#8b949e;display:flex;align-items:center;gap:4px;flex-wrap:wrap;}
.byq-media-meta small{color:#8b949e;}
.byq-media-price{margin-left:auto;}
.byq-media-price em{font-style:normal;color:#E70012;font-weight:700;font-size:14px;}
.byq-media-price em.is-free{color:#198754;}

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

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

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

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

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

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

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

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

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

/* ============================================================
   99 期追加区（仿 xsbyqc.com 润生变压器）：A header 三段 / B 内页双栏
   C 面包屑+灰框列表 / D 首页分节 / E 详情 / F 页脚 / G 响应式
   ============================================================ */

/* ===== A. header 三段（30px 公告条 / 73px 品牌条 / 55px 深蓝导航） ===== */
body { padding-top: 0; }
.by-top { width: 1180px; max-width: 96%; margin: 0 auto; }
.by-topbar { height: 30px; border-bottom: 1px solid #cccccc; background: #fff; }
.by-topbar-inner { overflow: hidden; line-height: 30px; height: 30px; }
.by-topbar-notice { float: left; width: 70%; height: 30px; overflow: hidden; color: #999; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.by-topbar-links { float: right; font-size: 12px; color: #999; }
.by-topbar-links a { margin: 0 5px; color: #494949; }
.by-topbar-links a:hover { color: var(--byq-primary); text-decoration: underline; }
.by-topbar-vip { margin: 0 5px; color: #E70012; font-weight: 600; }
.by-topbar-btn { background: none; border: 0; color: #494949; font-size: 12px; cursor: pointer; margin: 0 5px; }
.by-topbar-btn:hover { color: var(--byq-primary); }
.by-brandbar { background: #fff; }
.by-brandbar-inner { height: 73px; margin: 26px auto; overflow: hidden; }
.by-brand { float: left; margin: 0; }
.by-brand a { display: inline-block; margin-top: 8px; height: 60px; line-height: 44px; color: #0c44aa; font-size: 40px; font-weight: 700; letter-spacing: 1px; }
.by-brandbar-right { float: right; display: flex; align-items: center; gap: 22px; margin-top: 15px; }
.by-search { display: flex; }
.by-search input { width: 300px; height: 38px; line-height: 38px; border: 2px solid #0a5cc0; border-right: 0; padding: 0 12px; font-size: 14px; color: #494949; outline: none; background: #fff; }
.by-search button { width: 84px; height: 38px; line-height: 38px; background: #0a5cc0; color: #fff; border: 0; font-size: 15px; cursor: pointer; }
.by-search button:hover { background: #084a9c; }
.by-hotline { display: flex; align-items: center; gap: 8px; }
.by-hotline i { font-style: normal; font-size: 30px; color: #0c44aa; line-height: 1; }
.by-hotline-txt small { display: block; color: #999; font-size: 12px; line-height: 18px; }
.by-hotline-txt span { display: block; font-family: Impact, "Arial Black", sans-serif; font-size: 24px; color: #0c44aa; line-height: 28px; letter-spacing: .5px; }
.by-menu { height: 55px; background: #034697; clear: both; position: relative; }
.by-nav { width: 1180px; max-width: 96%; margin: 0 auto; overflow: hidden; display: flex; }
.by-nav a { display: block; flex: 1 1 auto; text-align: center; min-width: 110px; height: 55px; line-height: 55px; color: #fff; font-size: 16px; padding: 0 14px; }
.by-nav a:hover, .by-nav a.on { background: #062852; }
.by-nav-toggle { display: none; position: absolute; right: 12px; top: 10px; width: 36px; height: 34px; background: rgba(255,255,255,.14); border: 0; border-radius: 4px; cursor: pointer; }
.by-nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; }

/* ===== B. 内页双栏（mainleft 280 leftitem 灰框 / mainright 自适应） ===== */
.by-wrap { width: 1180px; max-width: 96%; margin: 0 auto; padding-top: 20px; overflow: hidden; }
.by-wrap--full { width: 1180px; }
.by-mainleft { float: left; width: 280px; }
.by-side-inner { }
.by-mainright { float: right; width: 880px; overflow: hidden; margin-bottom: 20px; }
.by-leftitem { border: 1px solid #d5d5d5; border-radius: 4px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.by-tit { height: 42px; line-height: 42px; font-size: 16px; font-weight: bold; color: #fff; text-indent: 14px; background: linear-gradient(180deg, #0d63c8, #0a5cc0); }
.by-cates { padding: 12px 10px; }
.by-cate-link { display: block; height: 30px; line-height: 30px; margin-bottom: 6px; border-radius: 2px; background: #0a5cc0; color: #fff; font-size: 15px; text-align: center; overflow: hidden; }
.by-cate-link:hover, .by-cate-link.on { background: #2a2a2a; color: #fff; }
.by-hotlist { padding: 8px 12px; }
.by-hotlist li { height: 30px; line-height: 30px; overflow: hidden; border-bottom: 1px dashed #e5e5e5; display: flex; align-items: center; gap: 8px; }
.by-hotlist li:last-child { border-bottom: 0; }
.by-hot-idx { flex: none; width: 18px; height: 18px; line-height: 18px; text-align: center; background: #c9c9c9; color: #fff; font-size: 12px; border-radius: 2px; }
.by-hot-idx.idx-1 { background: #E70012; }
.by-hot-idx.idx-2 { background: #ff7300; }
.by-hot-idx.idx-3 { background: #0a5cc0; }
.by-hot-title { flex: 1 1 auto; color: #494949; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.by-hot-title:hover { color: #E70012; }
.by-hot-views { flex: none; color: #9a9a9a; font-size: 12px; }
.by-lianxi { padding: 12px 14px; }
.by-telx { font-size: 20px; font-weight: bold; color: #E70012; font-family: Impact, "Arial Black", sans-serif; margin-bottom: 6px; word-break: break-all; }
.by-lianxi dl dd { line-height: 24px; color: #666; font-size: 13px; }
.by-vip-promo { border-radius: 4px; background: linear-gradient(150deg, #0a5cc0, #034697); color: #fff; padding: 18px 16px; margin-bottom: 12px; text-align: center; }
.by-vip-promo-title { font-size: 18px; font-weight: 700; }
.by-vip-promo-sub { font-size: 12px; opacity: .85; margin: 8px 0 12px; }
.by-vip-promo-btn { display: block; width: 130px; height: 38px; line-height: 38px; margin: 0 auto; background: #E70012; color: #fff; border-radius: 2px; font-size: 15px; }
.by-vip-promo-btn:hover { background: #c5000f; color: #fff; }
.by-vip-promo-note { font-size: 12px; opacity: .75; margin-top: 10px; }
.by-side-body { padding: 12px; }
.by-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.by-chip { display: inline-block; padding: 4px 10px; background: #f2f6fb; border: 1px solid #d5e3f2; border-radius: 2px; color: #0a5cc0; font-size: 13px; }
.by-chip:hover { background: #0a5cc0; border-color: #0a5cc0; color: #fff; }

/* ===== C. sitemap 面包屑 + 子分类 + cateslist 灰框四列卡 ===== */
.by-sitemap { border: 1px solid #d5d5d5; border-radius: 4px; height: 36px; line-height: 36px; padding: 0 12px; background: #fff; color: #666; font-size: 13px; }
.by-sitemap a { color: #494949; }
.by-sitemap a:hover { color: #E70012; }
.by-sitemap-sep { margin: 0 6px; color: #999; }
.by-sitemap .is-cur { color: #888; }
.by-subtags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.by-subtag { display: inline-block; padding: 5px 14px; background: #0a5cc0; color: #fff; border-radius: 2px; font-size: 14px; }
.by-subtag:hover { background: #2a2a2a; color: #fff; }
.by-cateslist { margin-top: 12px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; overflow: hidden; }
.by-cates-tit { height: 38px; line-height: 38px; padding: 0 12px; color: #fff; font-weight: bold; font-size: 15px; background: linear-gradient(180deg, #0d63c8, #0a5cc0); }
.by-cates-tit small { float: right; font-weight: normal; font-size: 12px; opacity: .85; }
.by-cates-grid { display: flex; flex-wrap: wrap; padding: 6px 0; }
.by-cates-grid li { width: 200px; margin: 12px 10px; }
.by-cc-img { display: block; width: 200px; height: 150px; background: #f2f4f6; overflow: hidden; }
.by-cc-img img { display: block; width: 190px; height: 140px; padding: 5px; border: 1px solid #2a2a2a; object-fit: cover; background: #fff; }
.by-cc-img:hover img { border-color: #ff0000; }
.by-cc-noimg { display: flex; width: 190px; height: 140px; margin: 5px; border: 1px solid #2a2a2a; align-items: center; justify-content: center; color: #9a9a9a; font-size: 13px; background: #f7f8fa; }
.by-cc-txt { margin-top: 8px; }
.by-cc-txt h2 { font-size: 13px; font-weight: normal; line-height: 20px; height: 20px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.by-cc-txt h2 a { color: #333; }
.by-cc-txt h2 a:hover { color: #E70012; }
.by-cc-meta { display: flex; gap: 8px; align-items: center; margin-top: 4px; font-size: 12px; color: #9a9a9a; }
.by-cc-meta em { font-style: normal; color: #E70012; }
.by-cc-meta em.is-free { color: #148d01; }
.by-empty { border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; padding: 40px 0; text-align: center; color: #9a9a9a; margin-top: 12px; }
.by-research { margin-top: 12px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; padding: 16px; }
.by-research-tip { margin-top: 10px; color: #9a9a9a; font-size: 13px; }
.by-search-center input { width: 420px; max-width: 70%; }
.pagination { margin: 20px 0; }

/* ===== D. 首页分节（banner / 产品直通车 / section-head / 关于蓝底 / 新闻双栏） ===== */
.by-banner { clear: both; margin-top: 3px; width: 100%; background: #fff; }
.by-banner-frame { position: relative; height: 480px; overflow: hidden; background: linear-gradient(105deg, #0b3a72 0%, #0d4f96 42%, #0a5cc0 100%); }
.by-banner-frame::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 90px); }
.by-banner-slogan { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; z-index: 2; }
.by-banner-slogan h2 { font-size: 52px; letter-spacing: 8px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.by-banner-slogan p { margin-top: 18px; font-size: 22px; letter-spacing: 3px; }
.by-banner-slogan p b { display: inline-block; background: #E70012; padding: 2px 10px; margin-right: 8px; }
.by-banner-rib { position: absolute; background: #cf0f16; opacity: .92; }
.by-banner-rib1 { width: 340px; height: 22px; right: -60px; top: 26%; transform: rotate(-32deg); }
.by-banner-rib2 { width: 420px; height: 26px; right: -80px; bottom: 22%; transform: rotate(-32deg); }
.by-banner-hd { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; z-index: 2; }
.by-banner-hd ul { display: inline-block; }
.by-banner-hd li { display: inline-block; width: 40px; height: 10px; margin: 0 5px; background: rgba(255,255,255,.35); cursor: pointer; }
.by-banner-hd li.on { background: #fff; }
.by-promain { margin-top: 12px; padding: 24px 0 30px; background: linear-gradient(180deg, #eaf2fb 0%, #f6f9fd 100%); clear: both; }
.by-pro { width: 1180px; max-width: 96%; margin: 0 auto; overflow: hidden; }
.by-leftPro { float: left; width: 220px; }
.by-proTitle { height: 86px; padding: 16px 0 0 18px; color: #fff; font-size: 20px; font-weight: 700; background: linear-gradient(135deg, #0d4f96, #0a5cc0); border-radius: 4px 4px 0 0; }
.by-proTitle small { display: block; margin-top: 6px; font-size: 12px; font-weight: normal; opacity: .8; letter-spacing: 1px; }
.by-proCon { background: #fff; padding: 6px; border: 1px solid #e2e8f0; border-top: 0; }
.by-proCon dd a { display: block; width: 100%; height: 36px; margin: 3px 0; background: #0a5cc0; color: #fff; font-size: 15px; text-align: center; line-height: 36px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 6px; }
.by-proCon dd a:hover { background: #2a2a2a; color: #fff; }
.by-proPhone { background: #0a5cc0; margin-top: 4px; padding: 18px 16px; color: #fff; }
.by-proPhone p { font-size: 15px; margin-bottom: 6px; }
.by-proPhone span { font-family: Impact, "Arial Black", sans-serif; font-size: 22px; letter-spacing: .5px; word-break: break-all; }
.by-rightPro { float: right; width: 934px; background: #fff; border-top: 1px solid #e6e6e6; border-left: 1px solid #e6e6e6; margin: 0; padding: 0; }
.by-rightPro li { float: left; width: 310px; height: 280px; border-bottom: 1px solid #e6e6e6; border-right: 1px solid #e6e6e6; overflow: hidden; list-style: none; }
.by-rp-img { display: block; width: 309px; height: 218px; background: #f2f4f6; overflow: hidden; }
.by-rp-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.by-rp-img:hover img { opacity: .92; }
.by-rp-noimg { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #9a9a9a; font-size: 14px; }
.by-rightPro dl { text-align: center; margin-top: 6px; }
.by-rightPro dl dt a { display: block; height: 22px; line-height: 22px; color: #333; font-size: 14px; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.by-rightPro dl dt a:hover { color: #E70012; }
.by-rp-meta { display: flex; justify-content: center; gap: 10px; font-size: 12px; color: #9a9a9a; margin-top: 2px; }
.by-rp-meta em { font-style: normal; color: #E70012; }
.by-rp-meta em.is-free { color: #148d01; }
.by-homegrid { float: none; width: 100%; background: #fff; border: 1px solid #e6e6e6; border-top: 0; overflow: hidden; margin-bottom: 10px; }
.by-homegrid li { width: 33.28%; height: 300px; }
.by-homegrid .by-rp-img { height: 232px; }
.by-section-head { clear: both; margin: 34px 0 0; border-bottom: 2px solid #0a5cc0; }
.by-section-title { display: inline-block; background: #0a5cc0; color: #fff; font-size: 18px; font-weight: 700; line-height: 44px; padding: 0 26px; border-radius: 4px 4px 0 0; }
.by-section-title small { margin-left: 10px; font-size: 12px; font-weight: normal; opacity: .8; letter-spacing: 1px; }
.by-jianjie { padding: 34px 0 38px; margin-top: 30px; background: #0a5cc0; color: #fff; clear: both; }
.by-about { width: 1180px; max-width: 96%; margin: 0 auto; }
.by-about dl { overflow: hidden; }
.by-about dt { float: left; width: 46%; background: #fff; border: 1px solid #d0d0d0; padding: 10px; }
.by-about-mark { display: flex; width: 100%; height: 330px; align-items: center; justify-content: center; background: linear-gradient(135deg, #eaf2fb, #d8e8f8); color: #0c44aa; font-size: 34px; font-weight: 700; text-align: center; padding: 20px; word-break: break-all; }
.by-about dd { float: right; width: 50%; }
.by-about dd h5 { height: 56px; line-height: 56px; font-size: 24px; border-bottom: 1px solid rgba(255,255,255,.4); }
.by-about-body { margin-top: 16px; line-height: 28px; font-size: 14px; max-height: 260px; overflow: hidden; opacity: .95; }
.by-about-btn { display: inline-block; width: 130px; height: 40px; line-height: 40px; text-align: center; background: #E70012; color: #fff; font-size: 16px; margin-top: 16px; }
.by-about-btn:hover { background: #292828; color: #fff; }
.by-mainhome { width: 1180px; max-width: 96%; margin: 40px auto 0; clear: both; overflow: hidden; }
.by-leftNew { float: left; width: 700px; }
.by-rightNew { float: right; width: 440px; }
.by-leftNT, .by-rightNT { height: 46px; line-height: 46px; background: #075ac4; color: #fff; margin-bottom: 16px; overflow: hidden; }
.by-leftNT ul { float: left; display: flex; }
.by-leftNT ul li { width: 130px; text-align: center; color: #fff; font-size: 16px; cursor: pointer; }
.by-leftNT ul li.by-speciLi { background: #ea0315; }
.by-leftNT a, .by-rightNT a { float: right; color: #fff; margin-right: 12px; font-size: 12px; opacity: .9; }
.by-rightNT h3 { float: left; width: 130px; text-align: center; color: #fff; font-size: 16px; font-weight: normal; }
.by-newsList { background: #fff; border: 1px solid #e6e6e6; border-radius: 4px; padding: 4px 14px; }
.by-newsList li { height: 40px; line-height: 40px; border-bottom: 1px dashed #bababa; overflow: hidden; display: flex; align-items: center; }
.by-newsList li:last-child { border-bottom: 0; }
.by-newsList li i { font-style: normal; color: #0a5cc0; font-size: 10px; }
.by-newsList li a { flex: 1 1 auto; margin-left: 10px; color: #494949; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.by-newsList li a:hover { color: #E70012; }
.by-newsList li p { float: right; flex: none; color: #9a9a9a; font-size: 12px; margin-left: 10px; }
.by-newsCTE { display: none; margin-top: -1px; }
.by-newsBotm { background: #fff; border: 1px solid #e6e6e6; border-radius: 4px; padding: 6px 14px; }
.by-technical li { overflow: hidden; }
.by-technical .by-ask { height: 28px; line-height: 28px; margin-top: 10px; }
.by-technical .by-ask a { color: #ea0315; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.by-technical .by-answer { line-height: 22px; max-height: 44px; overflow: hidden; margin: 2px 0 6px; border-bottom: 1px dashed #e5e5e5; padding-bottom: 8px; }
.by-technical li:last-child .by-answer { border-bottom: 0; }
.by-technical .by-answer a { color: #777; font-size: 13px; }

/* ===== E. 详情（prohead 双列 / 红底标题条 / rexian / b4 / fanye） ===== */
.by-content { border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; padding: 20px; margin-top: 12px; font-size: 14px; line-height: 28px; }
.by-procontent-card { }
.by-prohead { overflow: hidden; }
.by-hleft { float: left; width: 330px; }
.by-cover { display: block; width: 330px; aspect-ratio: 1 / 1; background: #f2f4f6; border: 1px solid #e2e2e2; overflow: hidden; }
.by-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.by-cover-noimg { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #b9c2cc; font-size: 16px; padding: 20px; text-align: center; word-break: break-all; }
.by-hright { float: right; width: 500px; }
.by-hright h1 { font-size: 22px; line-height: 34px; color: #333; }
.by-hright h2 { font-size: 15px; color: #ff7300; font-weight: normal; margin-top: 4px; }
.by-proinfo { border-bottom: 1px solid #ddd; padding: 10px 0 12px; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 18px; color: #888; font-size: 13px; }
.by-proinfo em { font-style: normal; }
.by-proinfo em.is-free { color: #148d01; }
.by-proinfo-price em { color: #E70012; font-weight: 700; }
.by-fields { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.by-fields li { font-size: 13px; color: #666; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.by-fields li b { color: #999; font-weight: normal; margin-right: 6px; }
.by-btns { padding: 14px 0 4px; display: flex; gap: 12px; }
.by-btn { display: inline-block; height: 42px; line-height: 42px; padding: 0 26px; border: 0; border-radius: 2px; font-size: 16px; cursor: pointer; text-align: center; }
.by-btn-primary { background: #0a5cc0; color: #fff; }
.by-btn-primary:hover { background: #084a9c; color: #fff; }
.by-btn-red { background: #E70012; color: #fff; }
.by-btn-red:hover { background: #c5000f; color: #fff; }
.by-rexian { margin-top: 14px; height: 52px; line-height: 52px; color: #FF0000; font-size: 20px; font-family: "Microsoft Yahei", sans-serif; border-top: 1px solid #999; border-bottom: 1px solid #999; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.by-procontent { margin-top: 22px; }
.by-protit { height: 40px; line-height: 40px; border-bottom: 2px solid #E70012; }
.by-protit dt { float: left; width: 160px; height: 40px; line-height: 40px; color: #fff; background: #E70012; text-align: center; font-weight: bold; font-size: 18px; }
.by-detail { margin-top: 18px; }
.by-detail-content { line-height: 28px; color: #494949; word-break: break-word; }
.by-detail-content img { max-width: 100%; height: auto; }
.by-b4 { margin-top: 16px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; padding: 14px 0 8px; }
.by-b4-tit { font-size: 16px; font-weight: bold; color: #494949; padding: 0 16px 10px; border-bottom: 1px dashed #e2e2e2; margin: 0 16px 6px; }
.by-b4 ul { padding: 0 16px; overflow: hidden; }
.by-b4 li { float: left; width: 25%; line-height: 30px; height: 30px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.by-b4 li a { color: #666; font-size: 13px; }
.by-b4 li a:hover { color: #a30c01; }
.by-fanye { width: 100%; overflow: hidden; margin: 16px 0 6px; }
.by-fanye li { float: left; width: 50%; line-height: 26px; font-size: 13px; overflow: hidden; padding: 4px 0; }
.by-fanye li.is-next { text-align: right; }
.by-fanye li a { color: #494949; }
.by-fanye li a:hover { color: #E70012; }

/* ===== F. 页脚（友链灰盒 / bottomNav / bottom） ===== */
.by-footer { margin-top: 40px; }
.by-footlinks { clear: both; width: 1180px; max-width: 96%; margin: 0 auto; }
.by-linkName { height: 39px; line-height: 39px; color: #fff; font-size: 15px; font-weight: bold; text-align: center; background: linear-gradient(180deg, #0d63c8, #0a5cc0); border-radius: 4px 4px 0 0; }
.by-linkCon { border: 1px solid #2a2a2a; border-top: 0; border-radius: 0 0 4px 4px; background: #fff; padding: 8px 20px 10px; }
.by-linkCon p { line-height: 30px; font-size: 13px; }
.by-linkCon p a { margin: 0 6px; color: #494949; }
.by-linkCon p a:hover { color: #E70012; }
.by-bottomNav { height: 44px; line-height: 44px; background: #034697; text-align: center; margin-top: 30px; overflow: hidden; }
.by-bottomNav p { color: #fff; font-size: 14px; }
.by-bottomNav p a { color: #fff; margin: 0 10px; }
.by-bottomNav p a:hover { text-decoration: underline; }
.by-bottom { width: 1180px; max-width: 96%; margin: 26px auto; overflow: hidden; }
.by-bottom-logo { float: left; color: #0c44aa; font-size: 24px; font-weight: 700; margin-top: 4px; }
.by-bottom-text { float: left; margin-left: 60px; color: #888; font-size: 13px; line-height: 26px; }
.by-bottom-text p a { color: #888; }
.by-bottom-text p a:hover { color: var(--byq-primary); }

/* ===== G. 响应式 ===== */
@media (max-width: 1200px) {
    .by-rightPro li { width: 33.3%; height: auto; padding-bottom: 10px; }
    .by-rightPro { width: calc(100% - 240px); }
    .by-rp-img { width: 100%; height: 200px; }
    .by-homegrid li { width: 33.3%; }
}
@media (max-width: 1020px) {
    .by-brandbar-inner { height: auto; margin: 16px auto; }
    .by-brand a { margin-top: 0; height: auto; line-height: 40px; font-size: 30px; }
    .by-brandbar-right { float: none; margin-top: 10px; flex-wrap: wrap; }
    .by-search input { width: 220px; }
    .by-mainleft { width: 240px; }
    .by-mainright { width: calc(100% - 252px); }
    .by-leftNew, .by-rightNew { float: none; width: 100%; }
    .by-rightNew { margin-top: 24px; }
    .by-banner-frame { height: 380px; }
    .by-banner-slogan h2 { font-size: 40px; }
    .by-hleft { width: 260px; }
    .by-cover { width: 260px; }
    .by-hright { width: calc(100% - 280px); }
}
@media (max-width: 900px) {
    /* 菜单抽屉：全属性覆盖基座（98 期教训：没写的属性照样用基座值） */
    .by-nav { position: static; display: none; flex-direction: column; flex-wrap: nowrap; width: 100%; max-width: none; background: #034697; padding: 0; box-shadow: none; max-height: none; overflow-y: visible; top: auto; left: auto; right: auto; }
    .by-nav.open { display: block; }
    .by-nav a { flex: none; min-width: 0; width: 100%; text-align: left; padding: 0 18px; height: 46px; line-height: 46px; border-top: 1px solid rgba(255,255,255,.08); }
    .by-nav-toggle { display: block; }
    .by-menu { height: auto; min-height: 55px; padding: 0; }
    .by-mainleft { float: none; width: 100%; }
    .by-mainright { float: none; width: 100%; margin-top: 16px; }
    .by-leftPro { float: none; width: 100%; }
    .by-proCon dd a { display: inline-block; width: auto; padding: 0 14px; margin: 3px 4px; border-radius: 2px; }
    .by-rightPro { float: none; width: 100%; margin-top: 14px; }
    .by-rightPro li { width: 50%; }
    .by-homegrid li { width: 50%; }
    .by-about dt { float: none; width: 100%; }
    .by-about dd { float: none; width: 100%; margin-top: 16px; }
    .by-prohead .by-hleft { float: none; width: 100%; }
    .by-cover { width: 100%; max-width: 360px; }
    .by-prohead .by-hright { float: none; width: 100%; margin-top: 14px; }
    .by-banner-frame { height: 300px; }
}
@media (max-width: 640px) {
    .by-topbar-notice { width: 52%; }
    .by-search input { width: 150px; }
    .by-hotline { display: none; }
    .by-nav a { font-size: 15px; }
    .by-rightPro li, .by-homegrid li { width: 100%; }
    .by-rp-img { height: 210px; }
    .by-banner-slogan h2 { font-size: 30px; letter-spacing: 4px; }
    .by-banner-slogan p { font-size: 16px; }
    .by-btns { flex-wrap: wrap; }
    .by-btn { padding: 0 18px; height: 40px; line-height: 40px; font-size: 15px; }
    .by-rexian { font-size: 16px; height: 44px; line-height: 44px; }
    .by-fields { grid-template-columns: 1fr; }
    .by-b4 li { width: 50%; }
    .by-fanye li { width: 100%; float: none; text-align: left; }
    .by-fanye li.is-next { text-align: left; }
    .by-bottom-logo { float: none; }
    .by-bottom-text { float: none; margin-left: 0; margin-top: 8px; }
    .by-about-mark { height: 200px; font-size: 24px; }
    .by-banner-frame { height: 240px; }
    .by-leftNT ul li { width: 108px; font-size: 14px; }
}

/* byq-append-end (99qi) */

/* ===== 99 期 fix：外层钩子类补齐 ===== */
.by-header { background: #fff; }
.by-links { clear: both; }
.by-paypanel { position: relative; background: #fff; border: 1px solid #d5d5d5; border-radius: 4px; padding: 24px 18px 18px; margin: 16px 0; }
.by-quickbar { position: fixed; right: 14px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 8px; }
.by-qb-btn { display: block; width: 42px; height: 42px; line-height: 42px; text-align: center; background: #0a5cc0; color: #fff; font-size: 18px; border: 0; border-radius: 4px; cursor: pointer; opacity: .88; }
.by-qb-btn:hover { opacity: 1; }
.by-qb-btn.is-vip { background: #E70012; }
.by-catecard { position: relative; }
.by-tab-new { margin-top: 0; }
.by-tab-hot { margin-top: -1px; }

/* byq-fix-end (99qi) */

/* ===== 99 期 polish：390 溢出修复 ===== */
/* 根因1：基座无 dd/h5/ul UA-margin reset——浮动形制下无感，堆叠后 40px 左距暴露溢出 */
.by-about dl, .by-about dt, .by-about dd, .by-about dd h5 { margin: 0; }
.by-proCon dl, .by-proCon dd, .by-lianxi dl, .by-lianxi dd { margin: 0; }
.by-fanye, .by-fanye li, .by-b4 ul, .by-cates-grid, .by-cates-grid li,
.by-rightPro, .by-rightPro li, .by-banner-hd ul, .by-banner-hd li,
.by-leftNT ul, .by-leftNT ul li, .by-newsList, .by-newsList li,
.by-technical, .by-technical li, .by-fields, .by-fields li { margin: 0; padding: 0; list-style: none; }
/* 重补被上面清掉的容器内边距设计 */
.by-cates-grid { padding: 6px 0; }
.by-b4 ul { padding: 0 16px; }
.by-fields { gap: 4px 14px; }
/* 根因2：390 品牌条右侧 219px 装不下搜索框——移动端搜索独立成行 */
@media (max-width: 640px) {
    .by-brandbar-right { float: none; width: 100%; margin-top: 10px; flex-wrap: wrap; }
    .by-banner-rib { display: none; }
}

/* byq-polish-end (99qi) */

/* ===== 99 期 polish2：banner 全宽（仅大屏；小屏保持容器内防横滚） ===== */
.by-banner-slogan h2 { white-space: nowrap; }
.by-banner-slogan p { white-space: nowrap; }
@media (min-width: 1200px) {
    .by-banner { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
}

/* byq-polish2-end (99qi) */

/* ===== byq polish3: 首页 mainright 880 限宽根因修复（banner 全宽前置条件） ===== */
/* 首页 wrap 放开裁剪：banner 负 margin 全宽需溢出 wrap 可视，小屏无负 margin 不受影响 */
.by-wrap--full { overflow: visible; }
/* 首页内容区解除 880 右栏形制：分节流直接占满 1180 容器 */
.by-wrap--full .by-mainright { float: none; width: 100%; overflow: visible; margin-bottom: 0; }
/* width:100% 固定时负 margin 只平移不撑宽 —— 放开为 auto 让两侧 -93 参与宽度计算（1180+186=1366 全宽） */
@media (min-width: 1200px) {
    .by-wrap--full .by-banner { width: auto; }
}
/* 基座 line57 全局 h1-h4 颜色污染 banner 标语（应为白字） */
.by-banner-slogan h2 { color: #fff; }
/* byq-polish3-end (99qi) */

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

/* ===== byq polish4: 首页双栏浮动掉行修复（mney 反馈「很多地方错位」） ===== */
/* 根因：容器 width:1180px + max-width:96%（父级 wrap 1180 时实宽 1133px），
   内部栏目仍是固定像素（220+934 / 700+440 / 325+60+1120），放不下 → 右栏浮动整体掉行。 */
/* 1) 资源产品直通车：右栏改随容器收缩，三列卡片改百分比 */
.by-rightPro { width: calc(100% - 240px); }
.by-rightPro li { width: 33.33%; height: auto; padding-bottom: 10px; }
.by-rp-img { width: 100%; }
/* 2) 最新发布/下载排行双栏：百分比栏宽，任何容器宽都不掉行 */
.by-leftNew { width: 59.3%; }
.by-rightNew { width: 37.3%; }
/* 3) 页脚：容器与其余区块对齐（补 max-width），logo/文本改百分比一行排布 */
.by-bottom { max-width: 96%; }
.by-bottom-logo { max-width: 28%; }
.by-bottom-text { margin-left: 3%; width: 68%; box-sizing: border-box; }
/* 4) 关于我们：flex 等高，白卡与右侧文字底部对齐 */
.by-about dl { display: flex; align-items: stretch; }
.by-about dt { float: none; width: 46%; display: flex; }
.by-about dd { float: none; width: 52%; margin-left: 2%; }
.by-about-mark { height: auto; min-height: 330px; }
/* 5) 移动端复位：≤1020 双栏堆叠 / ≤900 关于堆叠 / ≤640 页脚堆叠 + 长站名换行 */
@media (max-width: 1020px) {
    .by-leftNew, .by-rightNew { float: none; width: 100%; }
    .by-rightNew { margin-top: 24px; }
}
@media (max-width: 900px) {
    .by-about dl { flex-direction: column; }
    .by-about dt, .by-about dd { width: 100%; margin-left: 0; }
    .by-about dd { margin-top: 16px; }
}
@media (max-width: 640px) {
    .by-bottom-logo, .by-bottom-text { float: none; width: auto; max-width: 100%; margin-left: 0; }
    .by-bottom-text { margin-top: 8px; }
    .by-brand a { font-size: 22px; line-height: 32px; height: auto; white-space: normal; word-break: break-all; }
    .by-banner-slogan h2 { white-space: normal; font-size: 26px; letter-spacing: 2px; }
    .by-about-mark { font-size: 20px; padding: 14px; }
}
/* 6) 顶栏公告 nowrap 文本作为 flex 子项把 body 撑宽（≤900 溢出裁切的根因） */
@media (max-width: 1020px) {
    .by-topbar-notice { flex: 1 1 0%; min-width: 0; width: auto; }
}
/* byq-polish4-end (mney 修复) */
