/* ================================
   古籍善本网 · shanben 主题样式（独立原创设计）
   ================================ */

/* ---- 基础重置 ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:14px;-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;line-height:1.6;color:#333333;background:#f8f7f5}
a{color:#e3a21f;text-decoration:none;transition:color .15s}a:hover{color:#af7c16}
img{max-width:100%;height:auto;display:block}
input,select,textarea{font-family:inherit;font-size:14px}
button{cursor:pointer;font-family:inherit}

/* ---- 容器 ---- */
.sb-container{max-width:1200px;margin:0 auto;padding:0 20px}
@media(max-width:768px){.sb-container{padding:0 12px}}

/* ---- 顶部导航栏（白底+底部边框） ---- */
.sb-header{background:#fff;border-bottom:1px solid #ecebe9;position:sticky;top:0;z-index:1000}
.sb-header-inner{display:flex;align-items:center;height:56px;gap:24px}
.sb-logo{font-size:18px;font-weight:700;color:#e3a21f;white-space:nowrap}
.sb-nav{display:flex;align-items:center;gap:4px;flex:1}
.sb-nav a{padding:6px 14px;border-radius:4px;color:#555555;font-size:14px;white-space:nowrap}
.sb-nav a:hover{background:#fdf9f2;color:#e3a21f}
.sb-header-right{display:flex;align-items:center;gap:10px;margin-left:auto}
.sb-btn-sm{padding:5px 14px;border-radius:4px;font-size:14px;border:1px solid #dddddd;background:#fff;color:#555555;display:inline-flex;align-items:center;gap:4px}
.sb-btn-sm:hover{border-color:#e3a21f;color:#e3a21f}
.sb-btn-primary{background:#e3a21f;color:#fff;border-color:#e3a21f}
.sb-btn-primary:hover{background:#af7c16;color:#fff;border-color:#af7c16}
.sb-btn-ghost{background:transparent}
.sb-icon{font-style:normal;font-size:13px}
.sb-search-mini{display:flex;align-items:center;border:1px solid #dddddd;border-radius:4px;overflow:hidden;background:#fff}
.sb-search-mini input{border:none;padding:5px 10px;width:140px;outline:none;font-size:14px}
.sb-search-mini button{border:none;background:#f8f7f5;padding:5px 10px;color:#666666;font-size:14px}
.sb-search-mini button:hover{background:#ecebe9}
.sb-nav-toggle{display:none;flex-direction:column;gap:4px;padding:6px;border:none;background:none}
.sb-nav-toggle span{display:block;width:22px;height:2px;background:#333333;border-radius:1px}
@media(max-width:768px){
    .sb-nav-toggle{display:flex}
    .sb-nav{position:absolute;top:56px;left:0;right:0;background:#fff;border-bottom:1px solid #ecebe9;flex-direction:column;padding:8px 20px;display:none;box-shadow:0 4px 12px rgba(0,0,0,0.06)}
    .sb-nav.open{display:flex}
    .sb-search-mini input{width:100px}
}

/* ---- Hero 搜索区（蓝色大背景） ---- */
.sb-hero{background:linear-gradient(135deg,#a5874a 0%,#ae986b 100%);padding:50px 0;text-align:center;color:#fff}
.sb-hero-title{font-size:32px;font-weight:600;margin-bottom:20px;letter-spacing:2px}
.sb-hero-search{max-width:640px;margin:0 auto;display:flex;gap:0;border-radius:5px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,0.2)}
.sb-hero-search input{flex:1;padding:14px 20px;border:none;font-size:15px;outline:none}
.sb-hero-search button{padding:14px 32px;border:none;background:#806a3d;color:#fff;font-size:15px;font-weight:500}
.sb-hero-search button:hover{background:#6f592d}
@media(max-width:768px){.sb-hero{padding:35px 0}.sb-hero-title{font-size:24px}.sb-hero-search input{padding:12px 16px}.sb-hero-search button{padding:12px 20px}}

/* ---- 栏目描述版块（六十一期：替代栏目页的搜索横幅） ----
   数据来源：后台「栏目管理 → 栏目 SEO / 栏目自定义内容」
     $cat_image   栏目图片（选填，留空则单栏铺满）
     $cat_desc    栏目描述（= 后台的栏目 SEO 描述）
     $cat_content 栏目自定义内容（富文本 HTML，入库已过 XSS 过滤）
   自定义内容里的 h2/h3/p/ul/table/img 都做了前台级排版复位，
   因为编辑器产出的标签直接进到前台，不能依赖后台样式。 */
.sb-cathero{background:linear-gradient(135deg,#f9f5ee 0%,#fcfaf7 100%);border-bottom:1px solid #f0ece3;padding:32px 0}
.sb-cathero-inner{display:flex;gap:26px;align-items:flex-start}
.sb-cathero-inner.has-img .sb-cathero-media{flex:0 0 280px;max-width:280px}
.sb-cathero-media img{display:block;width:100%;height:180px;object-fit:cover;border-radius:9px;border:1px solid #f0ece3;background:#fff}
.sb-cathero-body{flex:1;min-width:0}
.sb-cathero-kicker{display:inline-block;font-size:13px;letter-spacing:1px;color:#ae986b;background:#fff;border:1px solid #f0ece3;border-radius:899px;padding:3px 10px;margin-bottom:10px}
.sb-cathero-title{font-size:26px;font-weight:600;color:#4a402b;margin:0 0 12px;letter-spacing:1px}
.sb-cathero-desc{font-size:14px;line-height:1.9;color:#6d6960}
.sb-cathero-meta{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}
.sb-cathero-chip{font-size:13px;color:#ae986b;background:#fff;border:1px solid #f0ece3;border-radius:899px;padding:3px 10px}
.sb-cathero-custom{margin-top:18px;padding-top:16px;border-top:1px dashed #ece7dd;font-size:14px;line-height:1.9;color:#5c5952}
.sb-cathero-custom h2{font-size:17px;font-weight:600;color:#4a402b;margin:16px 0 8px;padding-bottom:6px;border-bottom:1px solid #f3efe8}
.sb-cathero-custom h3{font-size:15px;font-weight:600;color:#4f4633;margin:12px 0 6px}
.sb-cathero-custom h2:first-child,.sb-cathero-custom h3:first-child{margin-top:0}
.sb-cathero-custom p{margin:8px 0}
.sb-cathero-custom ul,.sb-cathero-custom ol{padding-left:22px;margin:8px 0}
.sb-cathero-custom li{margin:4px 0}
.sb-cathero-custom blockquote{margin:10px 0;padding:8px 14px;border-left:3px solid #ccbc9d;background:#fff;color:#7d786e;border-radius:0 6px 6px 0}
.sb-cathero-custom img{max-width:100%;height:auto;border-radius:7px;margin:8px 0}
.sb-cathero-custom a{color:#806a3d;text-decoration:underline}
.sb-cathero-custom table{width:100%;border-collapse:collapse;margin:12px 0;font-size:14px}
.sb-cathero-custom td,.sb-cathero-custom th{border:1px solid #f0ece3;padding:7px 10px;text-align:left}
.sb-cathero-custom th{background:#faf8f4;font-weight:600;color:#4f4633}
.sb-cathero-custom hr{border:0;border-top:1px solid #f3efe8;margin:14px 0}
.sb-cathero-custom pre{margin:10px 0;padding:10px 12px;background:#faf8f4;border:1px solid #f0ece3;border-radius:5px;overflow-x:auto;font-size:12.5px}
@media(max-width:768px){
  .sb-cathero{padding:22px 0}
  .sb-cathero-inner{flex-direction:column;gap:16px}
  .sb-cathero-inner.has-img .sb-cathero-media{flex:1 1 auto;max-width:100%}
  .sb-cathero-media img{height:150px}
  .sb-cathero-title{font-size:21px}
}

/* ---- 主内容区 ---- */
.sb-main{padding:30px 0;min-height:400px}
@media(max-width:768px){.sb-main{padding:20px 0}}

/* ---- 页脚 ---- */
.sb-footer{background:#fff;border-top:1px solid #ecebe9;padding:24px 0;margin-top:20px;text-align:center;color:#888888;font-size:14px}
.sb-footer-links{margin-top:10px;display:flex;justify-content:center;gap:20px;flex-wrap:wrap}
.sb-footer-links a{color:#888888}.sb-footer-links a:hover{color:#e3a21f}
.sb-footer-copy{margin-top:10px;color:#999999;font-size:13px}

/* ---- 页面标题区 ---- */
.sb-page-head{padding:0 0 20px;border-bottom:1px solid #ecebe9;margin-bottom:24px}
.sb-page-title{font-size:22px;font-weight:600;color:#222222;margin-bottom:6px}
.sb-page-sub{color:#888888;font-size:14px}

/* ---- 分类彩色块（参考图2） ---- */
.sb-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}
.sb-cat-card{display:flex;align-items:center;justify-content:center;gap:10px;padding:24px 16px;border-radius:7px;color:#fff;font-size:16px;font-weight:600;transition:transform .15s,box-shadow .15s;cursor:pointer}
.sb-cat-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,0.12)}
.sb-cat-icon{font-size:20px;opacity:.8}
.sb-cat-1{background:linear-gradient(135deg,#efa26f,#f2b287)} /* 橙 */
.sb-cat-2{background:linear-gradient(135deg,#ecbe61,#42da24)} /* 蓝 */
.sb-cat-3{background:linear-gradient(135deg,#64e24a,#67e24f)} /* 绿 */
.sb-cat-4{background:linear-gradient(135deg,#f0a97a,#ec9052)} /* 粉黄 */
.sb-cat-5{background:linear-gradient(135deg,#a58cd1,#d8c7f6)} /* 紫粉 */
.sb-cat-6{background:linear-gradient(135deg,#eabe66,#6b4ba2)} /* 紫 */
.sb-cat-7{background:linear-gradient(135deg,#2c9218,#60e146)} /* 青绿 */
.sb-cat-8{background:linear-gradient(135deg,#ee9f6a,#eec677)} /* 红紫 */
@media(max-width:768px){.sb-cat-grid{grid-template-columns:repeat(2,1fr);gap:12px}.sb-cat-card{padding:18px 12px;font-size:14px}}

/* ---- 子分类标签 ---- */
.sb-sub-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.sb-sub-tag{padding:6px 18px;border-radius:18px;border:1px solid #dddddd;background:#fff;color:#555555;font-size:14px;transition:all .15s}
.sb-sub-tag:hover,.sb-sub-tag.active{border-color:#e3a21f;color:#e3a21f;background:#fdf9f2}

/* ---- 产品卡片列表（参考图2/3） ---- */
.sb-post-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
@media(max-width:1100px){.sb-post-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:768px){.sb-post-grid{grid-template-columns:repeat(2,1fr);gap:14px}}
@media(max-width:480px){.sb-post-grid{grid-template-columns:1fr}}

.sb-post-card{background:#fff;border-radius:7px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.06);transition:transform .15s,box-shadow .15s;border:1px solid #ecebe9}
.sb-post-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,0.1)}
.sb-post-thumb{height:180px;background:#f5f3f0;display:flex;align-items:center;justify-content:center;color:#bbbbbb;font-size:14px;position:relative;overflow:hidden}
.sb-post-thumb img{width:100%;height:100%;object-fit:cover}
/* 六十八期：缩略图整块可点 → 内容详情页（无图占位文字也可点） */
.sb-post-thumb a{display:block;width:100%;height:100%;color:inherit;text-decoration:none}
.sb-post-thumb a:hover img{opacity:.88}
.sb-post-body{padding:14px 16px}
.sb-post-cat{color:#f0a97a;font-size:13px;margin-bottom:6px;display:flex;align-items:center;gap:4px}
.sb-post-cat::before{content:"";width:6px;height:6px;border-radius:50%;background:#f0a97a;display:inline-block}
/* 六十八期：分类标签可点（专题 > 栏目），继承红字配色，悬停提示可跳 */
.sb-post-cat a{color:inherit;text-decoration:none}
.sb-post-cat a:hover{color:#e3a21f;text-decoration:underline}
.sb-post-title{font-size:15px;font-weight:600;color:#222222;line-height:1.4;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sb-post-title a{color:#222222}.sb-post-title a:hover{color:#e3a21f}
.sb-post-meta{display:flex;align-items:center;justify-content:space-between;color:#999999;font-size:13px;margin-top:8px;padding-top:10px;border-top:1px solid #f5f3f0}
.sb-post-date{display:flex;align-items:center;gap:4px}
.sb-post-price{display:flex;align-items:center;gap:4px;color:#f0a97a;font-weight:600;font-size:14px}
.sb-post-price::before{content:"💰";font-size:13px}
@media(max-width:768px){.sb-post-thumb{height:140px}.sb-post-body{padding:12px}}

/* ---- 详情页两栏布局（参考图3） ---- */
.sb-detail-wrap{display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:start}
@media(max-width:900px){.sb-detail-wrap{grid-template-columns:1fr}}

.sb-detail-main{display:flex;flex-direction:column;gap:20px;background:transparent;padding:0;border-radius:0;box-shadow:none}

/* ---------- 资源信息横排卡片（左图右信息，内容页/支付页共用） ---------- */
.sb-post-hero{background:#fff;border-radius:7px;padding:24px;box-shadow:0 2px 8px rgba(0,0,0,0.06);display:flex;gap:24px;align-items:stretch}
.sb-hero-thumb{width:230px;min-height:290px;background:linear-gradient(180deg,#faf9f7,#f3f1ec);border-radius:5px;position:relative;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#cdcbc7;font-size:14px;overflow:hidden}
/* 六十三期：hero 封面图（详情页 / 下单页共用）——绝对定位铺满，底部「最近更新」浮层压在其上 */
.sb-hero-thumb img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover}
.sb-hero-thumb-bar{position:absolute;left:0;right:0;bottom:0;background:rgba(49,47,43,0.72);color:#fff;font-size:13px;padding:7px 10px;text-align:center;letter-spacing:.5px}
.sb-hero-info{flex:1;min-width:0;display:flex;flex-direction:column}
.sb-hero-info .sb-detail-title{font-size:22px;margin-bottom:10px}
.sb-hero-info .sb-detail-meta{margin-bottom:14px}
.sb-hero-fields{margin-bottom:14px}
.sb-hero-fields span{display:inline-block;margin-right:16px;color:#888888;font-size:14px}
.sb-hero-fields b{color:#555555;font-weight:600}
.sb-hero-price-row{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:12px 16px;background:#fdf6f2;border:1px solid #fae1d1;border-radius:7px;flex-wrap:wrap}
.sb-hero-price-label{color:#999999;font-size:14px}
.sb-hero-services{display:flex;gap:18px;flex-wrap:wrap;color:#888888;font-size:14px;margin:0 0 10px}
.sb-hero-services span{display:flex;align-items:center;gap:4px}
.sb-hero-notice{color:#aca8a1;font-size:12.5px;line-height:1.7}
.sb-post-body-card{background:#fff;border-radius:7px;padding:24px;box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.sb-order-wrap{max-width:760px;margin:0 auto}
.sb-post-hero .sb-buy-card{border:1px solid #f3f1ee;margin:0 0 14px}
@media(max-width:700px){.sb-post-hero{flex-direction:column}.sb-hero-thumb{width:100%;min-height:180px}}

/* ---------- 付费内容区（已解锁绿卡 + 未购提示 + 支付回跳定位高亮） ---------- */
.sb-paid-box{border:1px solid #c0ebb7;background:#f8fef7;border-radius:7px;padding:18px 20px;margin-top:20px}
.sb-paid-head{display:inline-block;background:#3abf1f;color:#fff;font-size:14px;font-weight:600;padding:5px 14px;border-radius:5px;margin-bottom:12px}
.sb-paid-body{font-size:14px;line-height:1.8;color:#444444;word-break:break-all}
.sb-paid-body p{margin-bottom:8px}
.sb-paid-copy{margin-top:12px;padding:8px 18px;border:1px solid #3abf1f;background:#fff;color:#2c9318;font-size:14px;border-radius:5px;cursor:pointer}
.sb-paid-copy:hover{background:#f4fdf2}
/* 付费引导卡：居中大价格 + 绿色购买按钮 + 找回订单提示（参考主流资源站样式） */
.sb-paid-cta{margin-top:22px;padding:34px 24px 26px;background:linear-gradient(180deg,#f3f3f2,#ecebe9);border-radius:9px;text-align:center}
.sb-paid-cta-price{font-size:15px;color:#333333;letter-spacing:.5px}
.sb-paid-cta-price strong{font-size:30px;font-weight:700;color:#e66b19;margin:0 6px;font-family:Arial,'Microsoft YaHei',sans-serif}
.sb-paid-cta-btn{display:inline-block;margin-top:18px;padding:13px 64px;border:none;border-radius:5px;font-size:16px;font-weight:700;color:#fff;letter-spacing:2px;cursor:pointer;background:linear-gradient(135deg,#4ace2f,#35ae1c);box-shadow:0 4px 12px rgba(61,190,35,0.35);transition:transform .15s,box-shadow .15s,filter .15s}
.sb-paid-cta-btn:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 6px 16px rgba(61,190,35,0.4)}
.sb-paid-cta-btn:active{transform:translateY(0);box-shadow:0 2px 8px rgba(61,190,35,0.3)}
.sb-paid-cta-tip{margin-top:14px;font-size:14px;color:#aaa69f}
.sb-paid-cta-tip a{color:#e66b19;text-decoration:none}
.sb-paid-cta-tip a:hover{text-decoration:underline}
@keyframes m-paid-flash{0%,100%{box-shadow:0 0 0 0 rgba(58,191,31,0)}35%{box-shadow:0 0 0 6px rgba(58,191,31,0.35)}}
.sb-paid-box.paid-flash{animation:m-paid-flash 1.6s ease 2}

/* ---- 扫码支付弹窗（内容页「支付下载」点击后弹出，参考微信原生收银台）
        主题变量：默认微信绿；.pay-modal-ali 切支付宝蓝（pay.js 按所选方式切换） ---- */
.pay-mask{position:fixed;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,0.5);z-index:9999;display:flex;align-items:center;justify-content:center}
.pay-modal{width:364px;max-width:92vw;background:#fff;border-radius:7px;box-shadow:0 12px 40px rgba(0,0,0,0.25);padding:0 24px 24px;
  --pay-brand:#34ac1c;--pay-brand-dk:#2f9a19;--pay-brand-bg:#edf9eb;--pay-brand-bd:#d4efcf;--pay-brand-tx:#488a3b}
.pay-modal-ali{--pay-brand:#e5a930;--pay-brand-dk:#cd9119;--pay-brand-bg:#fdf9f0;--pay-brand-bd:#f9ebcf;--pay-brand-tx:#b3872f}
.pay-head{display:flex;align-items:center;justify-content:space-between;padding:18px 0 12px;font-size:15px;color:#333333}
.pay-amount{color:#e97f38;font-size:16px;font-weight:700;font-style:normal;margin-left:2px}
.pay-modal-ali .pay-amount{color:#e5a930}
.pay-close{font-size:24px;line-height:1;color:#999999;cursor:pointer;font-weight:400}
.pay-close:hover{color:#666666}
.pay-qr-wrap{display:flex;align-items:center;justify-content:center;margin-bottom:12px;min-height:232px}
.pay-qr-wrap img,.pay-qr-wrap canvas{display:block;width:232px;height:232px;background:#fff;object-fit:contain}
.pay-caption{text-align:center;color:#888888;font-size:13.5px;margin-bottom:16px}
.pay-cap-brand{font-weight:700;font-size:16px;padding:0 1px}
.pay-cap-alipay{color:#e5a930}
.pay-cap-wx{color:#34ac1c}
.pay-btn-phone{display:block;width:200px;margin:0 auto 14px;padding:11px 0;border:none;border-radius:4px;background:var(--pay-brand);color:#fff;font-size:14px;font-weight:600;cursor:pointer}
.pay-btn-phone:hover{background:var(--pay-brand-dk)}
.pay-status{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--pay-brand-bg);border:1px solid var(--pay-brand-bd);border-radius:4px;color:var(--pay-brand-tx);font-size:14px;line-height:1.5;padding:10px 14px;margin:12px 0 8px;text-align:center}
.pay-status.pay-status-ok{background:#dcf3d8;border-color:#9ae08c;color:#317a22;font-weight:600}
.pay-status.pay-status-fail{background:#fdf6f1;border-color:#f9dac6;color:#cc7033}
.pay-status.pay-status-expired{background:#fdf3ec;border-color:#fae6d8;color:#b86630}
.pay-spinner{width:14px;height:14px;border:2px solid var(--pay-brand-bd);border-top-color:var(--pay-brand-tx);border-radius:50%;animation:pay-spin .8s linear infinite;display:inline-block;flex:none}
@keyframes pay-spin{to{transform:rotate(360deg)}}
.pay-btn-refresh{display:block;width:200px;margin:0 auto;padding:10px 0;border:1px solid var(--pay-brand);border-radius:4px;background:#fff;color:var(--pay-brand);font-size:13.5px;cursor:pointer;transition:background .15s ease,color .15s ease}
.pay-btn-refresh:hover{background:var(--pay-brand);color:#fff}
.pay-btn-refresh:disabled{opacity:.5;cursor:not-allowed}

/* ---- 支付方式选择弹窗（点「支付下载」先选支付接口，参考收银台样式） ---- */
.pay-method-modal{padding-bottom:14px}
.pay-method-msg{display:none;margin:4px 0 2px;padding:9px 12px;background:#fdf6f1;border:1px solid #f9dac6;border-radius:4px;color:#cc7033;font-size:14px;line-height:1.5}
.pay-method-list{display:flex;flex-direction:column;margin-top:2px}
.pay-method-item{display:flex;align-items:center;gap:14px;width:100%;padding:15px 6px;background:none;border:none;border-bottom:1px solid #f5f3f0;cursor:pointer;text-align:left;font-family:inherit;transition:background .12s ease}
.pay-method-item:last-child{border-bottom:none}
.pay-method-item:hover{background:#fcfaf6}
.pay-method-icon{width:38px;height:38px;flex:none;border-radius:8px;display:block}
.pay-method-name{flex:1;font-size:15px;color:#333333;font-weight:500}
.pay-method-arrow{width:16px;height:16px;flex:none}
.sb-detail-sidebar{display:flex;flex-direction:column;gap:16px}
.sb-sidebar-card{background:#fff;border-radius:7px;padding:16px;box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.sb-sidebar-title{font-size:15px;font-weight:600;color:#222222;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #f5f3f0}
.sb-sidebar-list{list-style:none}
.sb-sidebar-list li{padding:8px 0;border-bottom:1px solid #f8f7f5;display:flex;align-items:center;gap:10px}
.sb-sidebar-list li:last-child{border-bottom:none}
.sb-sidebar-list .s-thumb{width:60px;height:45px;background:#f5f3f0;border-radius:4px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#cccccc;font-size:12px;overflow:hidden}
.sb-sidebar-list .s-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.sb-sidebar-empty{margin:6px 0 0;color:#999999;font-size:14px}
.sb-sidebar-list .s-info{flex:1;min-width:0}

/* 七十五期：详情页「上一篇 / 下一篇」内链模块（正文/购买区下方） */
.sb-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sb-post-nav-item{background:#fff;border-radius:7px;padding:14px 16px;box-shadow:0 2px 8px rgba(0,0,0,0.06);display:flex;flex-direction:column;gap:6px;min-width:0}
.sb-post-nav-item-next{text-align:right}
.sb-post-nav-label{font-size:13px;color:#aaa69f;letter-spacing:.5px}
.sb-post-nav-item a{color:#e3a21f;font-size:14px;line-height:1.6;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sb-post-nav-item a:hover{text-decoration:underline}
.sb-post-nav-none{color:#cdcbc7;font-size:13.5px}
@media(max-width:700px){.sb-post-nav{grid-template-columns:1fr}.sb-post-nav-item-next{text-align:left}}
.sb-sidebar-list .s-title{font-size:14px;color:#333333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-sidebar-list .s-title a{color:#333333}.sb-sidebar-list .s-title a:hover{color:#e3a21f}
.sb-sidebar-list .s-price{color:#f0a97a;font-size:13px;font-weight:600;margin-top:2px}

/* ---- 详情页内容 ---- */
.sb-detail-title{font-size:24px;font-weight:600;color:#222222;margin-bottom:12px}
.sb-detail-meta{display:flex;align-items:center;gap:16px;color:#888888;font-size:14px;margin-bottom:20px;flex-wrap:wrap}
.sb-detail-meta span{display:flex;align-items:center;gap:4px}
.sb-detail-price-area{display:flex;align-items:center;gap:20px;margin-bottom:20px;padding:16px;background:#fdf6f2;border-radius:7px;border:1px solid #fae1d1}
.sb-detail-price{font-size:28px;font-weight:700;color:#f0a97a}
.sb-detail-price small{font-size:14px;color:#888888;font-weight:400}
.sb-detail-discount{display:inline-block;padding:3px 10px;background:#f0a97a;color:#fff;font-size:13px;border-radius:4px}
.sb-detail-btns{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}
.sb-btn-main{padding:12px 36px;border-radius:5px;border:none;font-size:15px;font-weight:600;color:#fff;background:linear-gradient(135deg,#f0a97a,#f4bd99);box-shadow:0 4px 12px rgba(240,169,122,0.3)}
.sb-btn-main:hover{background:linear-gradient(135deg,#ee9b63,#f2b186)}
.sb-btn-sec{padding:12px 24px;border-radius:5px;border:1px solid #dddddd;background:#fff;color:#555555;font-size:15px;display:inline-flex;align-items:center;gap:6px}
.sb-btn-sec:hover{border-color:#e3a21f;color:#e3a21f}
/* 开通VIP会员：金色渐变 + 皇冠，与红色支付按钮并排、醒目引导 */
.sb-btn-vip{padding:12px 24px;border-radius:5px;border:none;font-size:15px;font-weight:700;color:#fff;background:linear-gradient(135deg,#e66b19,#e66b19);box-shadow:0 4px 12px rgba(230,107,25,0.38);display:inline-flex;align-items:center;gap:6px;cursor:pointer;text-decoration:none;transition:all .15s ease}
.sb-btn-vip:hover{background:linear-gradient(135deg,#e66b19,#e66b19);color:#fff;text-decoration:none;transform:translateY(-1px);box-shadow:0 6px 16px rgba(230,107,25,0.45)}
.sb-btn-suc{background:#3abf1f;color:#fff;border-color:#3abf1f}
.sb-btn-suc:hover{background:#2c9318;color:#fff;border-color:#2c9318}
.sb-detail-content{font-size:15px;line-height:1.8;color:#444444}
.sb-detail-content p{margin-bottom:14px}
.sb-detail-content h2,.sb-detail-content h3{margin:24px 0 12px;color:#222222}
.sb-detail-content img{border-radius:5px;margin:10px 0}
.sb-detail-content blockquote{border-left:3px solid #e3a21f;padding-left:14px;color:#666666;margin:14px 0;background:#fcfbf8;padding:10px 14px;border-radius:0 6px 6px 0}
.sb-detail-content ul,.sb-detail-content ol{margin:10px 0 10px 24px}
.sb-detail-content li{margin:4px 0}
.sb-detail-content a{color:#e3a21f;text-decoration:underline}

.sb-detail-services{display:flex;gap:20px;margin:20px 0;padding:14px 0;border-top:1px dashed #ecebe9;border-bottom:1px dashed #ecebe9;flex-wrap:wrap;color:#888888;font-size:14px}
.sb-detail-services span{display:flex;align-items:center;gap:4px}

.sb-detail-notice{background:#fcf0e8;border:1px solid #f4be9a;border-radius:5px;padding:12px 16px;color:#888888;font-size:14px;margin:16px 0;line-height:1.6}

/* ---- 购买/会员卡片 ---- */
.sb-buy-card{background:#fff;border-radius:11px;padding:26px 28px;box-shadow:0 4px 16px rgba(0,0,0,0.07);margin-top:20px;border:1px solid #f5f3f0}
.sb-buy-card h3{font-size:17px;font-weight:700;margin:0;color:#222222}
.sb-buy-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-bottom:14px;border-bottom:1px dashed #eeeeee;margin-bottom:14px}
.sb-buy-price{font-size:14px;color:#888888;background:#fdf6f2;border:1px solid #fae1d1;border-radius:899px;padding:6px 14px;line-height:1}
.sb-buy-price strong{font-size:20px;font-weight:700;color:#ed985f;margin:0 2px}
.sb-buy-res{color:#888888;font-size:14px;margin:0 0 16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sb-buy-btn{width:100%;padding:14px;font-size:16px;border-radius:7px;cursor:pointer;letter-spacing:2px}
.sb-buy-status{padding:14px;background:#f2fcf0;border:1px solid #9eeb8f;border-radius:5px;color:#2c9318;font-weight:600;margin-bottom:14px}
.sb-form-group{margin-bottom:14px}
.sb-form-group label{display:block;margin-bottom:6px;font-size:14px;color:#666666;font-weight:500}
.sb-form-group input,.sb-form-group select{width:100%;padding:10px 14px;border:1px solid #d9d9d9;border-radius:4px;outline:none;font-size:14px;transition:border-color .15s}
.sb-form-group input:focus,.sb-form-group select:focus{border-color:#e3a21f}

/* ---- 专题 ---- */
.sb-topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:768px){.sb-topic-grid{grid-template-columns:repeat(2,1fr);gap:14px}}
@media(max-width:480px){.sb-topic-grid{grid-template-columns:1fr}}

.sb-topic-card{background:#fff;border-radius:7px;padding:24px;box-shadow:0 2px 8px rgba(0,0,0,0.06);border:1px solid #ecebe9;transition:transform .15s,box-shadow .15s}
.sb-topic-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,0.1)}
.sb-topic-name{font-size:17px;font-weight:600;color:#222222;margin-bottom:8px}
.sb-topic-summary{color:#888888;font-size:14px;line-height:1.5;margin-bottom:12px}
.sb-topic-meta{color:#e3a21f;font-size:14px;font-weight:500}

/* ---- 会员套餐 ---- */
.sb-vip-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:900px;margin:0 auto}
@media(max-width:768px){.sb-vip-grid{grid-template-columns:1fr;max-width:400px}}

.sb-vip-card{background:#fff;border-radius:7px;padding:28px 24px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,0.06);border:1px solid #ecebe9;position:relative;transition:transform .15s}
.sb-vip-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,0.1)}
.sb-vip-card.hot{border-color:#f0a97a;box-shadow:0 4px 16px rgba(240,169,122,0.15)}
.sb-vip-flag{position:absolute;top:-1px;right:20px;background:#f0a97a;color:#fff;font-size:13px;padding:4px 12px;border-radius:0 0 4px 4px}
.sb-vip-name{font-size:18px;font-weight:600;margin-bottom:8px}
.sb-vip-price{font-size:36px;font-weight:700;color:#f0a97a;margin:10px 0}
.sb-vip-price small{font-size:14px;color:#888888;font-weight:400}
.sb-vip-days{color:#888888;font-size:14px;margin-bottom:20px}

/* ---- 表格 ---- */
.sb-table{width:100%;border-collapse:collapse;font-size:14px;background:#fff;border-radius:7px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.sb-table th{background:#fcfbf8;padding:12px 16px;text-align:left;font-weight:600;color:#555555;border-bottom:1px solid #ecebe9;white-space:nowrap}
.sb-table td{padding:12px 16px;border-bottom:1px solid #f5f3f0;color:#444444}
.sb-table tr:last-child td{border-bottom:none}
.sb-table tr:hover td{background:#fcfbf8}

/* ---- 表单 ---- */
.sb-form-card{background:#fff;border-radius:7px;padding:28px;box-shadow:0 2px 8px rgba(0,0,0,0.06);max-width:480px;margin:0 auto}
.sb-form-card h2{font-size:18px;font-weight:600;margin-bottom:20px;text-align:center}
.sb-form-card-wide{max-width:640px}
.sb-alert{padding:12px 16px;border-radius:5px;margin-bottom:16px;font-size:14px}
.sb-alert-error{background:#fdf6f2;border:1px solid #f9dfcd;color:#cb5f17}
.sb-alert-success{background:#f2fcf0;border:1px solid #9eeb8f;color:#2c9318}

/* ---- 空状态 ---- */
.sb-empty{text-align:center;padding:60px 20px;color:#bbbbbb}
.sb-empty p{font-size:15px}

/* ---- 分页 ---- */
.sb-pagination{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:28px;flex-wrap:wrap}
.sb-pagination a,.sb-pagination span{padding:8px 14px;border-radius:4px;border:1px solid #ecebe9;background:#fff;color:#555555;font-size:14px}
.sb-pagination a:hover{border-color:#e3a21f;color:#e3a21f;background:#fdf9f2}
.sb-pagination .current{background:#e3a21f;color:#fff;border-color:#e3a21f}

/* ---- 通用按钮 ---- */
.sb-btn{padding:10px 24px;border-radius:4px;border:1px solid #dddddd;background:#fff;color:#555555;font-size:14px;display:inline-block;text-align:center}
.sb-btn:hover{border-color:#e3a21f;color:#e3a21f}
.sb-btn-block{display:block;width:100%}

/* ---- 面包屑 ---- */
.sb-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:14px;color:#888888;flex-wrap:wrap}
.sb-breadcrumb a{color:#888888}.sb-breadcrumb a:hover{color:#e3a21f}
.sb-breadcrumb-sep{color:#cccccc}

/* ---- 通用分页（{pagination} 输出 .pagination，爬虫与无 JS 用户的兜底入口） ---- */
.pagination{display:flex;justify-content:center;align-items:center;gap:6px;margin:26px 0 6px;flex-wrap:wrap}
.pagination a,.pagination span{padding:8px 14px;border-radius:4px;border:1px solid #ecebe9;background:#fff;color:#555555;font-size:14px;text-decoration:none}
.pagination a:hover{border-color:#e3a21f;color:#e3a21f;background:#fdf9f2}
.pagination .current{background:#e3a21f;color:#fff;border-color:#e3a21f}

/* ---- 首页 SEO 瀑布流（滚动自动加载 3 次 + 「加载更多」按钮，上限 4 次） ---- */
#wfSentinel{height:1px}
.sb-wf-bar{display:flex;justify-content:center;align-items:center;min-height:52px;margin:6px 0 2px}
.sb-wf-bar span{color:#b8ac94;font-size:14px;letter-spacing:.02em}
.sb-wf-btn{padding:10px 38px;border:1px solid #e3a21f;border-radius:5px;background:#fff;color:#e3a21f;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s ease,color .15s ease}
.sb-wf-btn:hover{background:#e3a21f;color:#fff}
.sb-post-card[data-wf]{animation:mWfIn .35s ease both}
@keyframes mWfIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.sb-post-card[data-wf]{animation:none}}

/* ---- 首页 SEO 纯文字简介（后台站点设置可编辑，仅首页第 1 页） ---- */
.sb-home-seo{background:#fff;border:1px solid #ecebe9;border-radius:7px;padding:18px 22px 20px;margin-top:28px;box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.sb-home-seo-title{font-size:15px;font-weight:600;color:#222222;margin-bottom:10px}
.sb-home-seo-body{font-size:14px;line-height:1.9;color:#555555;text-align:justify}
/* 六十四期：该版块改为富文本编辑器驱动，补富文本子元素样式（与 .sb-cathero-custom 同口径，字号随 13px 基调） */
.sb-home-seo-body h2{font-size:16px;font-weight:600;color:#4a402b;margin:14px 0 8px;padding-bottom:6px;border-bottom:1px solid #f3efe8}
.sb-home-seo-body h3{font-size:14px;font-weight:600;color:#4f4633;margin:12px 0 6px}
.sb-home-seo-body h2:first-child,.sb-home-seo-body h3:first-child{margin-top:0}
.sb-home-seo-body p{margin:8px 0}
.sb-home-seo-body ul,.sb-home-seo-body ol{padding-left:22px;margin:8px 0}
.sb-home-seo-body li{margin:4px 0}
.sb-home-seo-body blockquote{margin:10px 0;padding:8px 14px;border-left:3px solid #ccbc9d;background:#fcfbfa;color:#7d786e;border-radius:0 6px 6px 0}
.sb-home-seo-body img{max-width:100%;height:auto;border-radius:7px;margin:8px 0}
.sb-home-seo-body a{color:#806a3d;text-decoration:underline}
.sb-home-seo-body table{width:100%;border-collapse:collapse;margin:12px 0;font-size:12.5px}
.sb-home-seo-body td,.sb-home-seo-body th{border:1px solid #f0ece3;padding:7px 10px;text-align:left}
.sb-home-seo-body th{background:#faf8f4;font-weight:600;color:#4f4633}
.sb-home-seo-body hr{border:0;border-top:1px solid #f3efe8;margin:14px 0}
.sb-home-seo-body pre{margin:10px 0;padding:10px 12px;background:#faf8f4;border:1px solid #f0ece3;border-radius:5px;overflow-x:auto;font-size:13px}

/* ---- 会员页支付方式胶囊（登录后显示） ---- */
.m-pay-type{display:flex;justify-content:center;align-items:center;gap:8px;margin:0 0 18px;font-size:14px;color:#8b7e64;flex-wrap:wrap}
.m-pay-type-label{color:#8b7e64}
.m-pay-pill{padding:6px 20px;border:1px solid #f0ebe2;border-radius:899px;background:#fff;color:#8b7e64;font-size:14px;cursor:pointer;transition:all .15s ease}
.m-pay-pill:hover{border-color:#e3a21f;color:#e3a21f}
.m-pay-pill.active{border-color:#e3a21f;color:#e3a21f;background:#fdf9f2;font-weight:600}

/* ==== 友情链接（六十二期）：首页底部版块 / 全站页脚一行 / 独立页 links.html ==== */
/* 首页底部版块：与 .sb-home-seo 同款卡片视觉 */
.sb-home-links{background:#fff;border:1px solid #ecebe9;border-radius:7px;padding:18px 22px 20px;margin-top:20px;box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.sb-home-links-title{font-size:15px;font-weight:600;color:#222222;margin-bottom:12px}
.sb-home-links-body{display:flex;flex-wrap:wrap;gap:8px 10px}
.sb-home-link{padding:5px 14px;border:1px solid #f0ebe2;border-radius:899px;background:#fcfbf8;color:#695e47;font-size:14px;transition:all .15s ease}
.sb-home-link:hover{border-color:#e3a21f;background:#fdf9f2;color:#e3a21f}
/* 全站页脚一行：复用 .sb-footer-links 的 flex，再允许换行（链接多时不撑破） */
.sb-footer-friend{flex-wrap:wrap;gap:8px 16px;line-height:2}
.sb-footer-friend-label{color:#aaaaaa}
/* 独立页 /links.html */
.sb-links-page{background:#fff;border:1px solid #ecebe9;border-radius:7px;padding:24px 26px 28px;margin-top:16px;box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.sb-links-h1{font-size:20px;font-weight:700;color:#222222;margin-bottom:8px}
.sb-links-intro{font-size:14px;line-height:1.9;color:#666666;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #f5f3f0}
.sb-link-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.sb-link-card{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #ecebe9;border-radius:7px;background:#fff;transition:all .15s ease}
.sb-link-card:hover{border-color:#e3a21f;box-shadow:0 3px 10px rgba(227,162,31,0.12);transform:translateY(-1px)}
.sb-link-logo{width:26px;height:26px;flex:0 0 26px;object-fit:contain;border-radius:4px;background:#f8f7f5}
.sb-link-text{display:flex;flex-direction:column;min-width:0}
.sb-link-name{color:#222222;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sb-link-card:hover .sb-link-name{color:#e3a21f}
.sb-link-desc{color:#b8ac94;font-size:13px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:768px){.sb-link-grid{grid-template-columns:1fr}}

/* ==== 六十六期：前台全站登录态 ====
   导航右上角「头像 + 用户名 + 会员级别」，以及会员页底部的登录 / 注册引导卡片。
   登录态判断在 本主题 layout.html（所有前台页共用该布局），这里只管样式。 */

/* 已登录：导航右上角徽标。与 .sb-btn-sm 视觉同高，跟搜索框 / 退出按钮同一基线 */
.sb-user-chip{display:inline-flex;align-items:center;gap:8px;padding:3px 12px 3px 3px;border:1px solid #f0ebe2;border-radius:899px;background:#fff;color:#554a33;max-width:240px;transition:border-color .15s ease,box-shadow .15s ease}
.sb-user-chip:hover{border-color:#e3a21f;box-shadow:0 2px 8px rgba(227,162,31,0.14)}
.sb-user-avatar{flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#ecebe9;color:#68655f;font-size:14px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;line-height:1;user-select:none}
.sb-user-avatar.is-vip{background:linear-gradient(135deg,#f0a97a,#f4bd99);color:#fff;box-shadow:0 2px 6px rgba(240,169,122,0.35)}
.sb-user-meta{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.sb-user-name{font-size:14px;font-weight:600;color:#222222;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}
.sb-user-level{font-size:12px;color:#9e9a92;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}
.sb-user-level.is-vip{color:#f0a97a;font-weight:600}
.sb-sep{margin:0 5px;font-style:normal;color:#e1dacb}

/* 会员中心页头：大头像 + 用户名 + 级别 */
.sb-member-id{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sb-user-avatar-lg{flex:0 0 34px;width:34px;height:34px;font-size:15px}
.sb-member-name{font-size:15px;font-weight:600;color:#222222}
.sb-member-level{color:#9e9a92}
.sb-member-level.is-vip{color:#f0a97a;font-weight:600}

/* 会员页底部引导卡片 */
.sb-vip-cta{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;max-width:900px;margin:26px auto 0;padding:22px 26px;border:1px solid #ecebe9;border-radius:7px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.sb-vip-cta-logged{border-color:#fceee5;background:linear-gradient(180deg,#fffafa,#fff)}
.sb-vip-cta-body{min-width:0}
.sb-vip-cta-title{font-size:16px;font-weight:600;color:#222222;margin-bottom:6px}
.sb-vip-cta-sub{font-size:14px;color:#555555;line-height:1.8}
.sb-vip-cta-sub b{color:#222222}
.sb-vip-cta-sub b.is-vip{color:#f0a97a}
.sb-vip-cta-note{font-size:13px;color:#b8ac94;margin-top:6px}
.sb-vip-cta-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
/* 登录 = 白底蓝边（次级动作）；立即注册 = 红色主渐变（主行动点，与 .sb-btn-main 同款） */
.sb-btn-login{display:inline-block;padding:11px 30px;border:1px solid #e3a21f;border-radius:5px;background:#fff;color:#e3a21f;font-size:15px;font-weight:600;transition:all .15s ease}
.sb-btn-login:hover{background:#fdf9f2}
.sb-btn-reg{display:inline-block;padding:12px 32px;border:1px solid transparent;border-radius:5px;background:linear-gradient(135deg,#f0a97a,#f4bd99);color:#fff;font-size:15px;font-weight:600;box-shadow:0 4px 12px rgba(240,169,122,0.3);transition:all .15s ease}
.sb-btn-reg:hover{background:linear-gradient(135deg,#ee9b63,#f2b186)}
/* member.html 空态的次级按钮：此前类名 .sb-btn-sec 没有任何样式，「注册账号」是裸文字 */
.sb-btn-sec{display:inline-block;padding:10px 24px;border:1px solid #dddddd;border-radius:4px;background:#fff;color:#555555;font-size:14px;transition:all .15s ease}
.sb-btn-sec:hover{border-color:#e3a21f;color:#e3a21f}

/* 响应式：中窄屏先收掉徽标里的文字（留头像），再让底部卡片竖排 */
@media(max-width:900px){
    .sb-user-meta{display:none}
    .sb-user-chip{padding:3px}
    .sb-user-chip .sb-user-avatar{flex:0 0 30px;width:30px;height:30px}
}
@media(max-width:768px){
    .sb-vip-cta{flex-direction:column;align-items:stretch;text-align:center;padding:20px}
    .sb-vip-cta-actions{justify-content:center}
}


/* ============================================================
   七十二期 · 会员中心美化
   会员渐变横幅卡 / 订单表格（不换行、状态胶囊、去支付按钮）
   ============================================================ */
.sb-member-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:760px;margin:0 auto 20px;padding:22px 26px;border-radius:13px;background:linear-gradient(135deg,#fdf9f0,#f8fbff);border:1px solid #fbf2df;box-sizing:border-box}
.sb-member-hero.is-vip{background:linear-gradient(135deg,#f0a97a,#f0a97a);border:none;box-shadow:0 8px 22px rgba(240,169,122,0.28)}
.sb-member-hero-left{display:flex;align-items:center;gap:14px;min-width:0}
.sb-member-hero-name{font-size:17px;font-weight:700;color:#372f1f;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sb-member-hero.is-vip .sb-member-hero-name{color:#fff}
.sb-member-hero-level{font-size:12px;padding:2px 9px;border-radius:899px;background:#fcf6ea;color:#d89a1d;font-weight:600;flex:none}
.sb-member-hero.is-vip .sb-member-hero-level{background:rgba(255,255,255,0.25);color:#fff}
.sb-member-hero-sub{font-size:12.5px;color:#7d786e;margin-top:5px}
.sb-member-hero.is-vip .sb-member-hero-sub{color:rgba(255,255,255,0.88)}
.sb-member-hero-warn{display:inline-block;margin-top:8px;padding:3px 10px;border-radius:5px;font-size:13px;background:#fdf3ed;color:#aa4f13}
.sb-member-hero.is-vip .sb-member-hero-warn{background:rgba(255,255,255,0.22);color:#fff}
.sb-member-hero-btn{flex:none;padding:10px 24px;border-radius:899px;background:linear-gradient(135deg,#f0a97a,#f4bd99);color:#fff;font-weight:700;font-size:14px;text-decoration:none;box-shadow:0 4px 12px rgba(240,169,122,0.3)}
.sb-member-hero-btn:hover{background:linear-gradient(135deg,#ee9b63,#f2b186);color:#fff}
.sb-member-hero.is-vip .sb-member-hero-btn{background:#fff;color:#ee9f6b;box-shadow:0 4px 12px rgba(0,0,0,0.12)}
.sb-member-hero.is-vip .sb-member-hero-btn:hover{background:#fef9f6}

.sb-orders-card{max-width:860px}
.sb-orders-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:14px}
.sb-orders-head h2{text-align:left;margin-bottom:0;font-size:17px}
.sb-orders-count{font-size:12.5px;color:#aba7a0}
.sb-orders-scroll{overflow-x:auto}
.sb-orders-table td{white-space:nowrap}
.sb-orders-table .is-unpaid td{background:#fffdf8}
.sb-td-no{font-family:Consolas,Menlo,monospace;font-size:12.5px;color:#7d786e;max-width:168px;overflow:hidden;text-overflow:ellipsis}
.sb-td-goods{white-space:normal !important;max-width:250px;font-size:13.5px;color:#514837;line-height:1.5}
.sb-goods-tag{display:inline-block;font-size:12px;padding:1px 8px;border-radius:899px;background:#fdf9f0;color:#d89a1d;margin-right:6px;font-weight:600;vertical-align:1px}
.sb-td-amount{font-weight:700;color:#ee9f6b}
.sb-td-amount small{font-weight:400;color:#aba7a0;font-size:12px}
.sb-td-time{color:#aba7a0;font-size:12.5px}
.sb-state-pill{display:inline-block;padding:2px 11px;border-radius:899px;font-size:13px;font-weight:600}
.sb-state-pill.is-paid{background:#e9f7e6;color:#2c9318}
.sb-state-pill.is-unpaid-pill{background:#fcf0e8;color:#c65c16}
.m-pay-now{padding:5px 16px;border-radius:5px;border:none;background:linear-gradient(135deg,#f0a97a,#f4bd99);color:#fff;font-size:12.5px;font-weight:600;cursor:pointer}
.m-pay-now:hover{background:linear-gradient(135deg,#ee9b63,#f2b186)}
.m-pay-now:disabled{opacity:.6;cursor:default}
.sb-op-muted{color:#d8d7d4}
@media(max-width:768px){
    .sb-member-hero{flex-direction:column;align-items:flex-start}
    .sb-member-hero-btn{align-self:stretch;text-align:center}
}

/* ---- 杂志式家族 ---- */
.sb-x-mhead{background:#fff;border-bottom:1px solid #e0d5bd}
.sb-x-mheadin{max-width:1180px;margin:0 auto;padding:16px 20px 10px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.sb-x-mbrand{font-size:26px;font-weight:800;color:#63501f;letter-spacing:1px}
.sb-x-mbrand::first-letter{color:#7a4a2a}
.sb-x-mauth{display:flex;align-items:center;gap:8px}
.sb-x-act{padding:4px 13px;border:1px solid #e0d5bd;border-radius:99px;color:#33291b;font-size:13px;background:#fff}
.sb-x-act:hover{border-color:#8a6b3a;color:#8a6b3a}
.sb-x-hot{background:#7a4a2a;border-color:#7a4a2a;color:#fff}
.sb-x-ava{width:26px;height:26px;border-radius:50%;background:#8a6b3a;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.sb-x-ava.is-vip{box-shadow:0 0 0 2px #ffd54d}
.sb-x-logout{display:inline}
.sb-x-ghost{background:transparent;border:none}
.sb-x-mmini{display:flex;border:1px solid #e0d5bd;border-radius:99px;overflow:hidden}
.sb-x-mmini input{width:150px;border:none;padding:6px 14px;outline:none;font-size:13px}
.sb-x-mmini button{border:none;background:#63501f;color:#fff;padding:6px 14px;font-size:12px;letter-spacing:1px}
.sb-x-mnav{max-width:1180px;margin:0 auto;padding:0 20px;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;border-top:1px solid #e0d5bd}
.sb-x-mnav::-webkit-scrollbar{display:none}
.sb-x-mnav a{padding:11px 13px;color:#33291b;font-size:14px;white-space:nowrap;position:relative}
.sb-x-mnav a:hover{color:#8a6b3a}
.sb-x-mnav a::after{content:'';position:absolute;left:13px;right:13px;bottom:6px;height:2px;background:#7a4a2a;transform:scaleX(0);transition:.18s;transform-origin:left}
.sb-x-mnav a:hover::after{transform:scaleX(1)}
.sb-x-burger{display:none;flex-direction:column;gap:4px;padding:7px;background:none;border:none}
.sb-x-burger span{display:block;width:21px;height:2px;background:#63501f;border-radius:1px}
/* Hero */
.sb-x-mhero{background:linear-gradient(110deg,#63501f 0%,#8a6b3a 60%,#eee2cb 130%);color:#fff;padding:38px 20px 42px;position:relative;overflow:hidden}
.sb-x-mhero::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 82% 30%,rgba(255,255,255,.14) 0 2px,transparent 3px),radial-gradient(circle at 68% 62%,rgba(255,255,255,.1) 0 2px,transparent 3px),radial-gradient(circle at 90% 74%,rgba(255,255,255,.12) 0 1.6px,transparent 2.6px),radial-gradient(circle at 12% 22%,rgba(255,255,255,.1) 0 1.6px,transparent 2.6px)}
.sb-x-mheroin{max-width:1180px;margin:0 auto;position:relative;z-index:1}
.sb-x-mherotag{display:inline-block;font-size:14px;letter-spacing:2px;background:rgba(255,255,255,.16);padding:5px 16px;border-radius:99px;margin-bottom:12px}
.sb-x-mhero h1{font-size:28px;letter-spacing:2px;margin-bottom:0}
/* 杂志列表 */
.sb-x-chips{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 6px}
.sb-x-chip{display:inline-flex;align-items:center;gap:6px;padding:8px 17px;border-radius:4px;color:#fff;font-size:14px;font-weight:600}
.sb-x-chip span{opacity:.75;font-size:12px}
.sb-x-cc1{background:linear-gradient(135deg,#8a6b3a,#63501f)}
.sb-x-cc2{background:linear-gradient(135deg,#7a4a2a,#63501f)}
.sb-x-cc3{background:linear-gradient(135deg,#eee2cb,#8a6b3a)}
.sb-x-cc4{background:linear-gradient(135deg,#7a4a2a,#eee2cb)}
.sb-x-sechead{display:flex;align-items:baseline;gap:12px;margin:24px 0 16px;border-bottom:2px solid #33291b;padding-bottom:8px}
.sb-x-sechead h2{font-size:19px;color:#33291b}
.sb-x-sechead span{font-size:13px;color:#857a63;margin-left:auto}
.sb-x-empty{background:#fff;border:1px dashed #e0d5bd;border-radius:10px;padding:28px 20px;text-align:center;color:#857a63}
.sb-x-maglist{display:flex;flex-direction:column;gap:16px}
.sb-x-magrow{display:flex;gap:18px;background:#fffdf7;border:1px solid #e0d5bd;border-radius:10px;overflow:hidden}
.sb-x-magrow:hover{border-color:#8a6b3a}
.sb-x-magimg{flex:0 0 250px;min-height:150px;background:#f7f0e2;position:relative;overflow:hidden}
.sb-x-magimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sb-x-magimg span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:40px;color:#8a6b3a;opacity:.3}
.sb-x-magbody{padding:16px 18px 14px 0;display:flex;flex-direction:column;gap:8px;min-width:0}
.sb-x-magbody h3{font-size:17px;line-height:1.5}
.sb-x-magbody h3 a{color:#33291b}
.sb-x-magbody h3 a:hover{color:#8a6b3a}
.sb-x-magmeta{margin-top:auto;font-size:13px;color:#857a63;display:flex;gap:14px}
.sb-x-magmeta b{color:#7a4a2a}
.sb-x-cardcat{font-size:12px;color:#7a4a2a;font-weight:700;letter-spacing:.5px}
.sb-x-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:15px}
.sb-x-card{background:#fffdf7;border:1px solid #e0d5bd;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;transition:transform .15s}
.sb-x-card:hover{transform:translateY(-3px)}
.sb-x-cardimg{display:block;height:125px;background:#f7f0e2;overflow:hidden;position:relative}
.sb-x-cardimg img{width:100%;height:100%;object-fit:cover}
.sb-x-noimg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:32px;color:#8a6b3a;opacity:.32;font-style:normal}
.sb-x-cardtitle{font-size:14px;color:#33291b;line-height:1.5;margin:8px 13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}
.sb-x-cardmeta{margin-top:auto;display:flex;justify-content:space-between;padding:9px 13px;font-size:13px;color:#857a63;border-top:1px dashed #e0d5bd}
.sb-x-cardmeta b{color:#7a4a2a}
.sb-x-homeseo{background:#fffdf7;border:1px solid #e0d5bd;border-radius:10px;padding:22px 24px;margin-top:28px}
.sb-x-homeseo h2{font-size:17px;margin-bottom:10px;color:#33291b;display:inline-block;border-bottom:3px solid #7a4a2a;padding-bottom:4px}
.sb-x-homeseobody{font-size:14px;color:#857a63;line-height:1.9}
.sb-x-homelinks{margin-top:26px;background:#fffdf7;border:1px solid #e0d5bd;border-radius:10px;padding:18px 22px}
.sb-x-homelinks h2{font-size:14px;color:#33291b;margin-bottom:10px}
.sb-x-homelinksbody{display:flex;flex-wrap:wrap;gap:8px 18px}
.sb-x-homelinksbody a{font-size:14px;color:#857a63}
.sb-x-homelinksbody a:hover{color:#8a6b3a}
.sb-x-mfoot{background:#f7f0e2;border-top:3px solid #7a4a2a;margin-top:46px}
.sb-x-mfootin{max-width:1180px;margin:0 auto;padding:32px 20px;display:flex;gap:40px;flex-wrap:wrap}
.sb-x-mfootbrand{flex:1;min-width:260px}
.sb-x-mfootbrand strong{font-size:16px;display:block;margin-bottom:8px;color:#63501f}
.sb-x-mfootbrand p{font-size:13px;color:#857a63;line-height:1.8}
.sb-x-mfootnav{display:flex;flex-direction:column;gap:8px}
.sb-x-mfootnav a{font-size:14px;color:#857a63}
.sb-x-mfootnav a:hover{color:#8a6b3a}
.sb-x-mcopy{text-align:center;padding:14px;font-size:13px;color:#857a63;border-top:1px solid #e0d5bd}
@media(max-width:768px){
.sb-x-mheadin{padding:12px;gap:10px}
.sb-x-mbrand{font-size:19px}
.sb-x-mmini{display:none}
.sb-x-mnav{display:none}
.sb-x-mnav.open{display:flex;flex-direction:column}
.sb-x-burger{display:flex}
.sb-x-mhero h1{font-size:23px}
.sb-x-magimg{flex:none;height:160px}
.sb-x-magbody{padding:14px}
.sb-x-mfootin{flex-direction:column;gap:16px}
}
/* ---- 品牌基调 ---- */
body{font-family:"-apple-system","Segoe UI","Microsoft YaHei","PingFang SC","Helvetica Neue",Arial,sans-serif;font-size:15px;line-height:1.7;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
h1,h2,h3,h4{font-family:"Noto Serif SC","Source Han Serif SC","STSong","SimSun",serif;line-height:1.35;}
input,button,textarea,select{font-family:"-apple-system","Segoe UI","Microsoft YaHei","PingFang SC","Helvetica Neue",Arial,sans-serif;}
input,button{font-size:14px;}
a{color:#8a6b3a;}a:hover{color:#63501f;}
::selection{background:#7a4a2a;color:#fff;}
body{background:#f7f3e9;color:#33291b;}
