/* ============================================================
   moeduo 主题 · 仿 www.moeduo.com（磨耳朵英语 / zibll 子比白主题定制）
   设计规范（实测 moeduo.com main.css + 内联覆盖提取）：
   - 页面底 #f5f6f7 / 卡片 #fff / 圆角 8px / 阴影 0 0 10px rgba(116,116,116,.08)
   - 标题 #333 / 正文 #4e5358 / 灰阶 #777 #999 #b1b1b1
   - 主色青绿 #16b597（内联覆盖，focus-shadow rgba(22,181,151,.4)）
   - 顶栏纯白（--blur-bg:#ffffff 覆盖毛玻璃）+ 菜单居中带图标 + HOT badge
   - 付费标签 jb-yellow 金渐变；分类标签 c-blue 蓝 / c-yellow
   - 页脚深色 #22292d 文字 #bbbcbd
   - 首页：大轮播(radius8 400/240px) + 通栏公告 + 6 列图形分类卡 +
     「热门资源」横向滚动 + 「最新资源」style3 图上文下卡片流
   注意：pay-* 弹窗类名是 JS 契约不可改；JS 会 inline 设 display:block，
        弹窗内按钮必须自带 width + margin:auto 居中（勿依赖 text-align）
   ============================================================ */

:root {
    --md-red: #16b597;
    --md-red-dk: #0f9c81;
    --md-red-bg: rgba(22, 181, 151, .1);
    --md-bg: #f5f6f7;
    --md-card: #ffffff;
    --md-title: #333333;
    --md-text: #4e5358;
    --md-mut: #777777;
    --md-mut2: #999999;
    --md-mut3: #b1b1b1;
    --md-border: rgba(50, 50, 50, .06);
    --md-radius: 8px;
    --md-shadow: 0 0 10px rgba(116, 116, 116, .08);
    --md-price: #ff6f06;
    --md-gold-txt: #866127;
    --md-jb-blue: linear-gradient(135deg, #59c3fb 10%, #268df7 100%);
    --md-jb-red: linear-gradient(135deg, #fd7a64 10%, #fb2d2d 100%);
    --md-jb-yellow: linear-gradient(135deg, #f59f54 10%, #ff6922 100%);
    --md-jb-vip: linear-gradient(25deg, #eabe7b 10%, #f5e3c7 70%, #edc788 100%);
    --md-head-h: 60px;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--md-text);
    background-color: var(--md-bg);
    /* 固定顶栏占位（zibll body.nav-fixed 同款思路） */
    padding-top: var(--md-head-h);
}

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

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

/* ============ 固定顶栏：白毛玻璃（zibll header） ============ */
.md-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: var(--md-head-h);
    background: #ffffff;
    border-bottom: 1px solid var(--md-border);
}

.md-header-inner {
    height: var(--md-head-h);
    max-width: 1400px; /* 顶栏比正文宽，给长站名+菜单+搜索+登录态留足空间 */
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}

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

/* 主菜单：flex 弹性占位居中（旧版绝对定位居中不参与排版，长站名/搜索框并存时会重叠），黑字，当前项 / 悬停青绿 */
.md-menu {
    display: flex;
    align-items: center;
    justify-content: safe center;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.md-menu .md-mi { font-style: normal; margin-right: 5px; font-size: 14px; color: var(--md-red); }
.md-menu::-webkit-scrollbar { display: none; }
.md-menu a {
    display: block;
    padding: 6px 10px;
    font-size: 14px;
    color: var(--md-title);
    white-space: nowrap;
    border-radius: 6px;
}
.md-menu a:hover { color: var(--md-red); }
.md-menu a.on { color: var(--md-red); font-weight: 600; }

/* 顶栏搜索：浅灰圆角胶囊 */
.md-header-search {
    flex: none;
    display: flex;
    align-items: center;
    background: #f2f3f5;
    border: 1px solid transparent;
    border-radius: 17px;
    padding: 2px 4px 2px 14px;
    transition: .2s;
}
.md-header-search:focus-within {
    background: #fff;
    border-color: var(--md-red);
    box-shadow: 0 0 0 3px var(--md-red-bg);
}
.md-header-search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 128px;
    font-size: 13px;
    color: var(--md-text);
    padding: 5px 0;
}
.md-header-search button {
    border: 0;
    background: var(--md-red);
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 14px;
    cursor: pointer;
}

/* 顶栏右侧：登录态 / 按钮 */
.md-header-auth {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    position: relative;
    z-index: 2;
}
.md-btn-sm {
    display: inline-block;
    padding: 5px 14px;
    font-size: 13px;
    border-radius: 15px;
    border: 1px solid var(--md-border);
    background: #f2f3f5;
    color: var(--md-text);
    cursor: pointer;
    white-space: nowrap;
}
.md-btn-sm:hover { color: var(--md-red); border-color: var(--md-red); background: #fff; }
/* 「开通会员」：zibll jb-red 渐变胶囊 */
.md-btn-sm.md-btn-gold {
    background: var(--md-jb-red);
    border: none;
    color: #fff;
    font-weight: 600;
}
.md-btn-sm.md-btn-gold:hover { color: #fff; filter: brightness(1.06); }
.md-btn-sm.md-btn-white { background: #fff; }

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

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

/* ============ 主体：两栏 ============ */
.md-shell {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 16px 30px;
}
.md-main { flex: 1 1 auto; min-width: 0; }
.md-side { flex: none; width: 300px; }
.md-side-inner { position: sticky; top: calc(var(--md-head-h) + 14px); display: flex; flex-direction: column; gap: 16px; }

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

/* 区块标题行 */
.md-block { padding: 16px 18px 18px; margin-bottom: 20px; }
.md-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px;
    border-bottom: 1px solid var(--md-border);
    padding-bottom: 10px;
}
.md-block-title {
    margin: 0;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.md-block-title i {
    width: 4px; height: 16px;
    background: var(--md-red);
    border-radius: 2px;
    display: inline-block;
}
.md-more { font-size: 12px; color: var(--md-mut2); }

/* ============ 首页「推荐资源」彩序号列表（zibll posts-mini） ============ */
.md-mini { display: block; }
.md-mini-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 2px;
    border-bottom: 1px dashed var(--md-border);
}
.md-mini-item:last-child { border-bottom: none; }
.md-mini-idx {
    flex: none;
    width: 22px; height: 22px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    background: var(--md-mut3);
}
.md-mini-idx.mi-1 { background: #f25d5d; }
.md-mini-idx.mi-2 { background: #f5a623; }
.md-mini-idx.mi-3 { background: #9b59d0; }
.md-mini-idx.mi-4 { background: #3d8ff5; }
.md-mini-idx.mi-5 { background: #2eb872; }
.md-mini-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    color: var(--md-title);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.md-mini-title:hover { color: var(--md-red); }
.md-mini-meta { flex: none; font-size: 12px; color: var(--md-mut3); }

/* ============ 横卡列表（zibll posts-item card：左图右文） ============ */
.md-grids { display: flex; flex-direction: column; gap: 14px; }
.md-grid {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--md-card);
    border-radius: var(--md-radius);
    box-shadow: var(--md-shadow);
    transition: .2s;
    position: relative;
}
.md-grid:hover { box-shadow: 0 4px 16px rgba(116, 116, 116, .14); }
.md-grid-img {
    flex: none;
    width: 190px;
    height: 118px;
    position: relative;
    overflow: hidden;
    border-radius: var(--md-radius);
    background: #f2f3f5;
    display: block;
}
.md-grid-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .2s ease-out;
}
.md-grid:hover .md-grid-img img { transform: scale(1.03); }
.md-noimg {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--md-mut3);
    font-size: 13px;
}
.md-grid-con { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.md-grid-title { margin: 2px 0 6px; font-size: 17px; line-height: 1.45; }
.md-grid-title a {
    color: var(--md-title);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.md-grid-title a:hover { color: var(--md-red); }
.md-grid-ex {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--md-mut2);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.md-grid-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--md-mut2);
}

/* 价格胶囊：付费=金渐变（zibll meta-pay jb-yellow）/ 免费=绿色 */
.md-price, .md-badge-hot {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.md-price { background: var(--md-jb-yellow); color: #fff; }
.md-price.is-free, .md-badge-hot.is-free { background: rgba(46, 184, 114, .1); color: #2eb872; }
.md-badge-hot { background: var(--md-jb-yellow); color: #fff; }

/* 横卡直系角标（栏目/专题/免费）：绝对定位叠缩略图左上（zibll 图片角标风），不占 flex 位 */
.md-grid > .md-badge-hot, .md-grid > .md-badge-cat {
    position: absolute;
    top: 24px; left: 24px;
    z-index: 2;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(0, 0, 0, .55);
    color: #fff;
}
.md-grid > a.md-badge-hot:hover { color: #fff; filter: brightness(1.1); }
.md-grid > .md-badge-hot.is-free { background: rgba(46, 184, 114, .88); color: #fff; }

/* 侧栏 widget：zibll theme-box（标题左侧竖条 + 白卡体） */
.md-widget {
    background: var(--md-card);
    border-radius: var(--md-radius);
    box-shadow: var(--md-shadow);
    padding: 16px;
}
.md-widget-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--md-title);
    padding-left: 12px;
    position: relative;
    margin-bottom: 12px;
}
.md-widget-head i {
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 14px;
    background: var(--md-red);
    border-radius: 2px;
}
.md-widget-body { font-size: 13px; }

/* 热门榜单 */
.md-hotlist { list-style: none; }
.md-hotlist li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--md-border);
}
.md-hotlist li:last-child { border-bottom: none; }
.md-hot-idx {
    flex: none;
    width: 20px; height: 20px;
    border-radius: 6px;
    background: #eef0f2;
    color: var(--md-mut2);
    font-size: 12px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.md-hot-idx.idx-1 { background: #fdecec; color: #f25d5d; }
.md-hot-idx.idx-2 { background: #fdf3e2; color: #f5a623; }
.md-hot-idx.idx-3 { background: #f3ecfb; color: #9b59d0; }
.md-hot-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--md-title);
}
.md-hot-title:hover { color: var(--md-red); }
.md-hot-views { flex: none; font-size: 12px; color: var(--md-mut3); }

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

/* 侧栏 VIP 推广卡：zibll jb-vip1 金渐变 */
.md-vip-promo {
    background: var(--md-jb-vip);
    border-radius: var(--md-radius);
    box-shadow: var(--md-shadow);
    padding: 20px 18px;
    text-align: center;
}
.md-vip-promo-title { font-size: 17px; font-weight: 700; color: var(--md-gold-txt); }
.md-vip-promo-sub { font-size: 12px; color: var(--md-gold-txt); opacity: .85; margin: 4px 0 14px; }
.md-vip-promo-btn {
    display: block;
    background: linear-gradient(135deg, #ff6922 10%, #f59f54 100%);
    color: #fff;
    font-weight: 700;
    padding: 9px 0;
    border-radius: 18px;
    font-size: 14px;
}
.md-vip-promo-btn:hover { color: #fff; filter: brightness(1.05); }
.md-vip-promo-note { font-size: 11px; color: var(--md-gold-txt); opacity: .75; margin-top: 8px; }

/* ============ 面包屑 ============ */
.md-crumb {
    font-size: 13px;
    color: var(--md-mut2);
    padding: 2px 2px 12px;
}
.md-crumb a { color: var(--md-mut2); }
.md-crumb a:hover { color: var(--md-red); }
.md-crumb-sep { margin: 0 6px; color: var(--md-mut3); }

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

.md-hero-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
/* 价格：zibll price-box 橙金大字 */
.md-hero-price { font-size: 30px; font-weight: 700; color: var(--md-price); line-height: 1; }
.md-hero-price small { font-size: 13px; font-weight: 400; margin-left: 2px; }
.md-hero-free-tag {
    display: inline-block;
    background: rgba(46, 184, 114, .1);
    color: #2eb872;
    font-size: 14px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 14px;
}
.md-hero-price-label { font-size: 12px; color: var(--md-mut2); }

/* 付费框：白卡 + 右上角金渐变斜切角标（zibll pay-tag） */
.md-paybox {
    position: relative;
    background: #fbfbfc;
    border: 1px solid var(--md-border);
    border-radius: var(--md-radius);
    padding: 18px;
    overflow: hidden;
}
.md-pay-tag {
    position: absolute;
    top: 0; right: 0;
    background: var(--md-jb-yellow);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    padding: 4px 14px;
    border-radius: 0 0 0 var(--md-radius);  /* zibll 对角圆角标志 */
}
.md-btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ============ 按钮（zibll 渐变体系） ============ */
.md-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 22px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid var(--md-border);
    background: #fff;
    color: var(--md-text);
    cursor: pointer;
    transition: .15s;
    line-height: 1.5;
    white-space: nowrap;
}
.md-btn:hover { color: var(--md-red); }
/* 主操作（购买）：jb-blue 蓝渐变 */
.md-btn.md-btn-orange, .md-btn.md-btn-primary {
    background: var(--md-jb-blue);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 26px;
}
.md-btn.md-btn-orange:hover, .md-btn.md-btn-primary:hover { color: #fff; filter: brightness(1.06); }
/* VIP：jb-vip1 金渐变深金字 */
.md-btn.md-btn-vip {
    background: var(--md-jb-vip);
    border: none;
    color: var(--md-gold-txt);
    font-weight: 700;
    padding: 10px 26px;
}
.md-btn.md-btn-vip:hover { color: var(--md-gold-txt); filter: brightness(1.03); }
/* 成功态 */
.md-btn.md-btn-suc {
    background: rgba(46, 184, 114, .1);
    border-color: rgba(46, 184, 114, .35);
    color: #2eb872;
    font-weight: 600;
}
.md-btn.md-btn-suc:hover { color: #2eb872; }
/* 幽灵按钮 */
.md-btn.md-btn-ghost { background: #fff; }
.md-btn.md-btn-block { display: flex; width: 100%; }

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

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

.md-paid-hint {
    margin-top: 14px;
    background: var(--md-jb-vip);
    color: var(--md-gold-txt);
    border-radius: var(--md-radius);
    padding: 14px 16px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
}
.md-paid-hint-link { text-decoration: underline; }

.md-paid-box { margin-top: 14px; padding: 0 0 16px; overflow: hidden; border: 1px solid rgba(46, 184, 114, .3); }
.md-paid-head {
    background: rgba(46, 184, 114, .08);
    color: #2eb872;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
}
.md-paid-body { padding: 14px 16px 4px; font-size: 14px; line-height: 1.8; word-break: break-all; }
.md-paid-body p { margin: 0 0 8px; }
.md-paid-copy {
    margin: 6px 16px 0;
    background: var(--md-jb-blue);
    border: none;
    color: #fff;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
}
.md-paid-copy:hover { filter: brightness(1.06); }
.paid-flash { animation: paidFlash 1.2s ease; }
@keyframes paidFlash {
    0% { box-shadow: 0 0 0 4px rgba(46, 184, 114, .35); }
    100% { box-shadow: 0 0 0 4px rgba(46, 184, 114, 0); }
}

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

.md-form-card { padding: 26px 24px; }
.md-form-card-wide { max-width: 560px; margin: 0 auto; }
.md-pay-type { display: flex; gap: 10px; }
.md-pay-type-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #e3e5e8;
    border-radius: 6px;
    padding: 9px 0;
    font-size: 14px;
    cursor: pointer;
    transition: .15s;
}
.md-pay-pill {
    display: inline-block;
    background: var(--md-jb-yellow);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
    white-space: nowrap;
}
.md-pay-pill.is-free { background: rgba(46, 184, 114, .1); color: #2eb872; }

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

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

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

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

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

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

.md-alert {
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 12px;
    background: #f2f3f5;
    color: var(--md-text);
}
.md-alert.md-alert-error { background: #fdecec; color: #d43a3a; }
.md-alert.md-alert-success { background: rgba(46, 184, 114, .1); color: #2eb872; }

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

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

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

/* ============ 分页（引擎固定输出 .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: 6px;
    background: var(--md-card);
    box-shadow: var(--md-shadow);
    font-size: 13px;
    color: var(--md-text);
}
.pagination a:hover { color: var(--md-red); }
.pagination span.current {
    background: var(--md-red);
    color: #fff;
    font-weight: 600;
}

/* ============ 页脚（moeduo：深色底 #22292d） ============ */
.md-footer {
    background: #22292d;
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 26px 0 30px;
    font-size: 13px;
    color: #bbbcbd;
}
.md-footer a { color: #bbbcbd; }
.md-footer a:hover { color: #2fd8b6; }
.md-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-bottom: 12px;
}
.md-footer-friend { padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .12); }
.md-footer-friend-label { color: #7d8489; }
.md-footer-center { text-align: center; line-height: 1.8; }

/* ============ 支付弹窗（类名契约固定，勿改） ============ */
.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: 10px;
    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(--md-title);
    margin-bottom: 14px;
}
.pay-amount { color: var(--md-price); margin-left: 4px; }
.pay-close {
    font-size: 22px;
    color: var(--md-mut3);
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}
.pay-close:hover { color: var(--md-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(--md-mut); margin-bottom: 10px; }
.pay-btn-phone {
    display: block;
    width: 100%;
    background: #f2f3f5;
    border: 1px solid var(--md-border);
    color: var(--md-text);
    font-size: 13px;
    padding: 8px 0;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 10px;
}
.pay-btn-phone:hover { color: var(--md-red); border-color: var(--md-red); }
.pay-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--md-mut2);
    margin-bottom: 10px;
    min-height: 18px;
}
.pay-status-ok { color: #2eb872; }
.pay-status-expired { color: #f5a623; }
.pay-status-fail { color: #f25d5d; }
.pay-spinner {
    width: 14px; height: 14px;
    border: 2px solid var(--md-red-bg);
    border-top-color: var(--md-red);
    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(--md-jb-blue);
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 9px 0;
    border-radius: 17px;
    cursor: pointer;
}
.pay-btn-refresh:hover { filter: brightness(1.06); }
.pay-btn-refresh:disabled { opacity: .6; cursor: default; }

/* ============ 响应式 ============ */
@media (max-width: 1020px) {
    .md-header-search input { width: 90px; }
}
@media (max-width: 900px) {
    .md-shell { flex-direction: column; }
    .md-side { width: 100%; }
    .md-side-inner { position: static; }
    .md-menu {
        display: none;
        position: fixed;
        top: var(--md-head-h);
        left: 0; right: 0;
        transform: none;
        max-width: none;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 14px 14px;
        border-bottom: 1px solid var(--md-border);
        box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
        max-height: calc(100vh - var(--md-head-h));
        overflow-y: auto;
    }
    .md-menu.open { display: flex; }
    .md-menu a { padding: 10px 8px; border-radius: 6px; font-size: 14px; }
    .md-nav-toggle { display: flex; }
    .md-user-meta { display: none; }
    .md-vip-grid { grid-template-columns: 1fr; }
    .md-topic-grid, .md-link-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    body { font-size: 13px; }
    .md-header-search { display: none; }
    .md-grid { flex-direction: column; }
    .md-grid-img { width: 100%; height: 200px; }
    .md-hero { flex-direction: column; }
    .md-hero-thumb { width: 100%; }
    .md-btn-row { flex-direction: column; align-items: stretch; }
    .md-btn { width: 100%; }
    .md-page-title { font-size: 18px; }
}

/* ============ 首页大轮播（zibll slide-widget：radius8，桌面 400px / 移动 240px） ============ */
.md-slider {
    position: relative;
    border-radius: var(--md-radius);
    overflow: hidden;
    margin-bottom: 18px;
}
.md-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    height: 400px;
    contain: strict;
}
.md-slider-track::-webkit-scrollbar { display: none; }
.md-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    height: 400px;
    position: relative;
    display: block;
    background: #eef1f3;
}
.md-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}
.md-slide-cap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 40px 24px 16px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55));
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 无封面占位 slide：青绿渐变 + 居中标题 */
.md-slide.is-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #17c3a4 0%, #16b597 45%, #0f9c81 100%);
}
.md-slide-ph-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    padding: 0 30px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============ 通栏公告条（替代 zibll widget_media_image 横幅） ============ */
.md-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--md-red-bg);
    border: 1px solid rgba(22, 181, 151, .16);
    border-radius: var(--md-radius);
    padding: 10px 16px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--md-text);
    overflow: hidden;
    overflow: clip;
}
.md-notice-badge {
    flex: none;
    background: var(--md-red);
    color: #fff;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 4px;
    white-space: nowrap;
}
.md-notice-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 22px;
    overflow: hidden;
    overflow: clip;
    contain: strict;
    white-space: nowrap;
}
.md-notice-text a { color: var(--md-text); }
.md-notice-text a:hover { color: var(--md-red); }

/* ============ 图形分类卡（zibll graphic：6 列 / 移动 3 列，45% 高比） ============ */
.md-graphic-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
a.md-graphic {
    position: relative;
    display: block;
    height: 0;
    padding-bottom: 45%;
    border-radius: var(--md-radius);
    overflow: hidden;
}
.md-graphic img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s;
}
a.md-graphic:hover img { transform: scale(1.06); }
.md-graphic-name {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    background: rgba(20, 22, 27, .26);
    text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
    transition: background .2s;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 6px;
}
a.md-graphic:hover .md-graphic-name { background: rgba(22, 181, 151, .45); }
/* 无封面分类：六色渐变轮换 */
.md-graphic.g1 { background: linear-gradient(135deg, #16b597, #0f9c81); }
.md-graphic.g2 { background: linear-gradient(135deg, #59c3fb, #268df7); }
.md-graphic.g3 { background: linear-gradient(135deg, #ff9f43, #f57c00); }
.md-graphic.g4 { background: linear-gradient(135deg, #5f7bff, #3d5af1); }
.md-graphic.g5 { background: linear-gradient(135deg, #f56a6a, #e6294b); }
.md-graphic.g6 { background: linear-gradient(135deg, #8e7cf3, #6a5ae0); }

/* ============ 区块标题（zibll title-theme + badge） ============ */
.md-tt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px 12px;
    font-size: 17px;
    font-weight: 700;
    color: var(--md-title);
}
.md-tt::before {
    content: '';
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: var(--md-red);
}
.md-badge {
    font-size: 11px;
    font-weight: 400;
    padding: 1px 8px;
    border-radius: 4px;
    color: #fff;
    white-space: nowrap;
}
.md-badge-green { background: #16b597; }
.md-badge-hot { background: linear-gradient(135deg, #f59f54 10%, #ff6922 100%); }
.md-tt-more { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--md-mut2); }
.md-tt-more:hover { color: var(--md-red); }

/* ============ 热门资源横向滚动流（zibll swiper-scroll 免 JS 版） ============ */
.md-hscroll-wrap {
    background: var(--md-card);
    border-radius: var(--md-radius);
    box-shadow: var(--md-shadow);
    margin-bottom: 20px;
    padding-bottom: 14px;
}
.md-hscroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 18px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    height: 252px;
    contain: strict;
}
.md-hscroll::-webkit-scrollbar { display: none; }
.md-hscroll .md-card3 {
    flex: 0 0 200px;
    scroll-snap-align: start;
}

/* ============ style3 卡片（图上文下：封面 + 播放角标 + 标签条） ============ */
.md-grid3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.md-card3 {
    background: var(--md-card);
    border-radius: var(--md-radius);
    overflow: hidden;
    box-shadow: var(--md-shadow);
    transition: .2s;
    display: block;
}
.md-card3:hover {
    box-shadow: 0 4px 18px rgba(22, 181, 151, .16);
    transform: translateY(-2px);
}
.md-card3-thumb {
    position: relative;
    display: block;
    height: 0;
    padding-bottom: 56%;
    overflow: hidden;
    background: #eef1f3;
}
.md-card3-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s;
}
.md-card3:hover .md-card3-thumb img { transform: scale(1.05); }
.md-card3-thumb.is-ph {
    background: linear-gradient(135deg, #e8f7f3, #d5efe9);
}
.md-card3-play {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .85;
}
.md-card3-play::after {
    content: '';
    border-left: 10px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 3px;
}
.md-card3-body { padding: 10px 12px 12px; }
.md-card3-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--md-title);
    line-height: 1.45;
    height: 41px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
a.md-card3-title:hover { color: var(--md-red); }
.md-card3-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    overflow: hidden;
}
.md-tag {
    flex: none;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
    white-space: nowrap;
}
.md-tag-pay { background: var(--md-jb-yellow); }
.md-tag-free { background: var(--md-red); }
.md-tag-cat { background: linear-gradient(135deg, #59c3fb 10%, #268df7 100%); }
.md-tag-cat2 { background: linear-gradient(135deg, #ffc048 10%, #f59f00 100%); }
.md-card3-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--md-mut2);
    font-size: 12px;
}
.md-card3-meta .md-dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--md-mut3); margin: 0 6px; vertical-align: middle; }

/* 白卡内嵌网格（最新资源区） */
.md-hscroll-wrap .md-grid3 { padding: 0 18px 18px; }
.md-hscroll-wrap .md-empty { padding: 6px 18px 20px; }
.md-graphic-name .md-mi { font-style: normal; margin-right: 5px; }

/* moeduo 组件响应式 */
@media (max-width: 1020px) {
    .md-grid3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .md-graphic-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .md-slider-track { height: 240px; }
    .md-slide { height: 240px; }
    .md-slide-ph-title { font-size: 17px; }
    .md-grid3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .md-card3-body { padding: 8px 10px 10px; }
    .md-card3-title { font-size: 13px; height: 38px; }
    .md-graphic-row { gap: 8px; }
    .md-graphic-name { font-size: 12px; }
}

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

/* ---- 116 期 SEO 内链闭环（上下篇 + 相关推荐）：中性配色，明暗主题自适应 ---- */
.seo-pn { margin: 26px 0 10px; padding: 18px 20px; border: 1px solid rgba(127,127,127,.25); border-radius: 8px; background: rgba(127,127,127,.06); font-size: 14px; }
.seo-pn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.seo-pn a { text-decoration: none; color: inherit; flex: 1 1 260px; min-width: 0; display: block; padding: 10px 14px;
    border: 1px solid rgba(127,127,127,.25); border-radius: 6px; background: rgba(127,127,127,.05); transition: border-color .2s; }
.seo-pn a:hover { border-color: currentColor; text-decoration: none; }
.seo-pn a span { display: block; font-size: 12px; opacity: .65; margin-bottom: 4px; }
.seo-pn a b { display: block; font-weight: 600; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seo-pn-empty { flex: 1 1 260px; }
.seo-pn-rel h3 { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.seo-pn-rel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 18px; }
.seo-pn-rel li { min-width: 0; }
.seo-pn-rel a { display: block; padding: 4px 0; border: 0; background: none; border-radius: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seo-pn-rel a::before { content: "\2022  "; opacity: .5; }
.seo-pn-rel a:hover { text-decoration: underline; }
@media (max-width: 560px) { .seo-pn { padding: 14px; } .seo-pn a { flex-basis: 100%; } }
/* ===== polish2: 导航错位修复（amenpapa 反馈）=====
   旧版 .md-menu 绝对定位居中不参与 flex 排版，长站名+搜索框并存时菜单压在搜索框上。
   改为 flex 弹性占位居中；中屏放不下时隐藏顶栏搜索、压缩菜单项。 */
@media (max-width: 1366px) {
    .md-header-search { display: none; }
    .md-logo { font-size: 19px; }
    .md-menu { gap: 0; }
    .md-menu a { padding: 6px 8px; }
}
@media (max-width: 1440px) and (min-width: 1367px) {
    .md-header-search input { width: 100px; }
}
/* 小屏：站名+登录态+汉堡按钮原尺寸放不下（390 宽溢出），压缩头部 */
@media (max-width: 640px) {
    .md-header-inner { gap: 10px; }
    .md-logo { font-size: 17px; }
    .md-btn-sm { padding: 5px 10px; font-size: 12px; }
}
/* moeduo-polish2-end (amenpapa 导航修复) */
/* 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}
