/* ================================
   Modern 主题 - 蓝白简约风格
   参考：蓝色顶部导航 + 彩色分类块 + 产品卡片列表 + 详情页侧边栏
   ================================ */

/* ---- 基础重置 ---- */
*,*::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:#333;background:#f5f6f8}
a{color:#1a73e8;text-decoration:none;transition:color .15s}a:hover{color:#1557b0}
img{max-width:100%;height:auto;display:block}
input,select,textarea{font-family:inherit;font-size:14px}
button{cursor:pointer;font-family:inherit}

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

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

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

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

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

/* ---- 页脚 ---- */
.m-footer{background:#fff;border-top:1px solid #e8eaed;padding:24px 0;margin-top:20px;text-align:center;color:#888;font-size:13px}
.m-footer-links{margin-top:10px;display:flex;justify-content:center;gap:20px;flex-wrap:wrap}
.m-footer-links a{color:#888}.m-footer-links a:hover{color:#1a73e8}
.m-footer-copy{margin-top:10px;color:#999;font-size:12px}

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

/* ---- 分类彩色块（参考图2） ---- */
.m-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}
.m-cat-card{display:flex;align-items:center;justify-content:center;gap:10px;padding:24px 16px;border-radius:8px;color:#fff;font-size:16px;font-weight:600;transition:transform .15s,box-shadow .15s;cursor:pointer}
.m-cat-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.12)}
.m-cat-icon{font-size:20px;opacity:.8}
.m-cat-1{background:linear-gradient(135deg,#ff7e5f,#feb47b)} /* 橙 */
.m-cat-2{background:linear-gradient(135deg,#4facfe,#00f2fe)} /* 蓝 */
.m-cat-3{background:linear-gradient(135deg,#43e97b,#38f9d7)} /* 绿 */
.m-cat-4{background:linear-gradient(135deg,#fa709a,#fee140)} /* 粉黄 */
.m-cat-5{background:linear-gradient(135deg,#a18cd1,#fbc2eb)} /* 紫粉 */
.m-cat-6{background:linear-gradient(135deg,#667eea,#764ba2)} /* 紫 */
.m-cat-7{background:linear-gradient(135deg,#11998e,#38ef7d)} /* 青绿 */
.m-cat-8{background:linear-gradient(135deg,#fc5c7d,#6a82fb)} /* 红紫 */
@media(max-width:768px){.m-cat-grid{grid-template-columns:repeat(2,1fr);gap:12px}.m-cat-card{padding:18px 12px;font-size:14px}}

/* ---- 子分类标签 ---- */
.m-sub-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.m-sub-tag{padding:6px 18px;border-radius:20px;border:1px solid #ddd;background:#fff;color:#555;font-size:13px;transition:all .15s}
.m-sub-tag:hover,.m-sub-tag.active{border-color:#1a73e8;color:#1a73e8;background:#f0f7ff}

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

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

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

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

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

/* ---------- 付费内容区（已解锁绿卡 + 未购提示 + 支付回跳定位高亮） ---------- */
.m-paid-box{border:1px solid #b7ebc0;background:#f6fff8;border-radius:8px;padding:18px 20px;margin-top:20px}
.m-paid-head{display:inline-block;background:#52c41a;color:#fff;font-size:13px;font-weight:600;padding:5px 14px;border-radius:6px;margin-bottom:12px}
.m-paid-body{font-size:14px;line-height:1.8;color:#444;word-break:break-all}
.m-paid-body p{margin-bottom:8px}
.m-paid-copy{margin-top:12px;padding:8px 18px;border:1px solid #52c41a;background:#fff;color:#389e0d;font-size:13px;border-radius:6px;cursor:pointer}
.m-paid-copy:hover{background:#f0fff2}
/* 付费引导卡：居中大价格 + 绿色购买按钮 + 找回订单提示（参考主流资源站样式） */
.m-paid-cta{margin-top:22px;padding:34px 24px 26px;background:linear-gradient(180deg,#f1f2f4,#e9eaec);border-radius:10px;text-align:center}
.m-paid-cta-price{font-size:15px;color:#333;letter-spacing:.5px}
.m-paid-cta-price strong{font-size:30px;font-weight:700;color:#ff6600;margin:0 6px;font-family:Arial,'Microsoft YaHei',sans-serif}
.m-paid-cta-btn{display:inline-block;margin-top:18px;padding:13px 64px;border:none;border-radius:6px;font-size:16px;font-weight:700;color:#fff;letter-spacing:2px;cursor:pointer;background:linear-gradient(135deg,#2fce5f,#17b34a);box-shadow:0 4px 12px rgba(35,190,90,.35);transition:transform .15s,box-shadow .15s,filter .15s}
.m-paid-cta-btn:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 6px 16px rgba(35,190,90,.4)}
.m-paid-cta-btn:active{transform:translateY(0);box-shadow:0 2px 8px rgba(35,190,90,.3)}
.m-paid-cta-tip{margin-top:14px;font-size:13px;color:#9aa3af}
.m-paid-cta-tip a{color:#ff8c00;text-decoration:none}
.m-paid-cta-tip a:hover{text-decoration:underline}
@keyframes m-paid-flash{0%,100%{box-shadow:0 0 0 0 rgba(82,196,26,0)}35%{box-shadow:0 0 0 6px rgba(82,196,26,.35)}}
.m-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,.5);z-index:9999;display:flex;align-items:center;justify-content:center}
.pay-modal{width:364px;max-width:92vw;background:#fff;border-radius:8px;box-shadow:0 12px 40px rgba(0,0,0,.25);padding:0 24px 24px;
  --pay-brand:#07c160;--pay-brand-dk:#06ad56;--pay-brand-bg:#f0f9eb;--pay-brand-bd:#d4efcf;--pay-brand-tx:#5a8a3b}
.pay-modal-ali{--pay-brand:#1677ff;--pay-brand-dk:#0e5fd8;--pay-brand-bg:#eef4ff;--pay-brand-bd:#c9dcff;--pay-brand-tx:#2f5fb3}
.pay-head{display:flex;align-items:center;justify-content:space-between;padding:18px 0 12px;font-size:15px;color:#333}
.pay-amount{color:#ff5722;font-size:16px;font-weight:700;font-style:normal;margin-left:2px}
.pay-modal-ali .pay-amount{color:#1677ff}
.pay-close{font-size:24px;line-height:1;color:#999;cursor:pointer;font-weight:400}
.pay-close:hover{color:#666}
.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:#888;font-size:13.5px;margin-bottom:16px}
.pay-cap-brand{font-weight:700;font-size:16px;padding:0 1px}
.pay-cap-alipay{color:#1677ff}
.pay-cap-wx{color:#07c160}
.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:#e1f3d8;border-color:#b7e08c;color:#3a7a22;font-weight:600}
.pay-status.pay-status-fail{background:#fef0f0;border-color:#fbc4c4;color:#c33}
.pay-status.pay-status-expired{background:#fdf6ec;border-color:#faecd8;color:#b88230}
.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:#fef0f0;border:1px solid #fbc4c4;border-radius:4px;color:#c33;font-size:13px;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 #f0f2f5;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:#f6f9fc}
.pay-method-icon{width:38px;height:38px;flex:none;border-radius:9px;display:block}
.pay-method-name{flex:1;font-size:15px;color:#333;font-weight:500}
.pay-method-arrow{width:16px;height:16px;flex:none}
.m-detail-sidebar{display:flex;flex-direction:column;gap:16px}
.m-sidebar-card{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.m-sidebar-title{font-size:15px;font-weight:600;color:#222;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #f0f2f5}
.m-sidebar-list{list-style:none}
.m-sidebar-list li{padding:8px 0;border-bottom:1px solid #f5f6f8;display:flex;align-items:center;gap:10px}
.m-sidebar-list li:last-child{border-bottom:none}
.m-sidebar-list .s-thumb{width:60px;height:45px;background:#f0f2f5;border-radius:4px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#ccc;font-size:11px;overflow:hidden}
.m-sidebar-list .s-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.m-sidebar-empty{margin:6px 0 0;color:#999;font-size:13px}
.m-sidebar-list .s-info{flex:1;min-width:0}

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

/* ---- 详情页内容 ---- */
.m-detail-title{font-size:24px;font-weight:600;color:#222;margin-bottom:12px}
.m-detail-meta{display:flex;align-items:center;gap:16px;color:#888;font-size:13px;margin-bottom:20px;flex-wrap:wrap}
.m-detail-meta span{display:flex;align-items:center;gap:4px}
.m-detail-price-area{display:flex;align-items:center;gap:20px;margin-bottom:20px;padding:16px;background:#fff8f0;border-radius:8px;border:1px solid #ffe4cc}
.m-detail-price{font-size:28px;font-weight:700;color:#ff6b6b}
.m-detail-price small{font-size:14px;color:#888;font-weight:400}
.m-detail-discount{display:inline-block;padding:3px 10px;background:#ff6b6b;color:#fff;font-size:12px;border-radius:4px}
.m-detail-btns{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}
.m-btn-main{padding:12px 36px;border-radius:6px;border:none;font-size:15px;font-weight:600;color:#fff;background:linear-gradient(135deg,#ff6b6b,#ff8e8e);box-shadow:0 4px 12px rgba(255,107,107,.3)}
.m-btn-main:hover{background:linear-gradient(135deg,#ff5252,#ff7979)}
.m-btn-sec{padding:12px 24px;border-radius:6px;border:1px solid #ddd;background:#fff;color:#555;font-size:15px;display:inline-flex;align-items:center;gap:6px}
.m-btn-sec:hover{border-color:#1a73e8;color:#1a73e8}
/* 开通VIP会员：金色渐变 + 皇冠，与红色支付按钮并排、醒目引导 */
.m-btn-vip{padding:12px 24px;border-radius:6px;border:none;font-size:15px;font-weight:700;color:#fff;background:linear-gradient(135deg,#ffb300,#ff8f00);box-shadow:0 4px 12px rgba(255,179,0,.38);display:inline-flex;align-items:center;gap:6px;cursor:pointer;text-decoration:none;transition:all .15s ease}
.m-btn-vip:hover{background:linear-gradient(135deg,#ffa000,#ff6f00);color:#fff;text-decoration:none;transform:translateY(-1px);box-shadow:0 6px 16px rgba(255,143,0,.45)}
.m-btn-suc{background:#52c41a;color:#fff;border-color:#52c41a}
.m-btn-suc:hover{background:#389e0d;color:#fff;border-color:#389e0d}
.m-detail-content{font-size:15px;line-height:1.8;color:#444}
.m-detail-content p{margin-bottom:14px}
.m-detail-content h2,.m-detail-content h3{margin:24px 0 12px;color:#222}
.m-detail-content img{border-radius:6px;margin:10px 0}
.m-detail-content blockquote{border-left:3px solid #1a73e8;padding-left:14px;color:#666;margin:14px 0;background:#f8fafc;padding:10px 14px;border-radius:0 6px 6px 0}
.m-detail-content ul,.m-detail-content ol{margin:10px 0 10px 24px}
.m-detail-content li{margin:4px 0}
.m-detail-content a{color:#1a73e8;text-decoration:underline}

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

.m-detail-notice{background:#fffbe6;border:1px solid #ffe58f;border-radius:6px;padding:12px 16px;color:#888;font-size:13px;margin:16px 0;line-height:1.6}

/* ---- 购买/会员卡片 ---- */
.m-buy-card{background:#fff;border-radius:12px;padding:26px 28px;box-shadow:0 4px 16px rgba(0,0,0,.07);margin-top:20px;border:1px solid #f0f2f5}
.m-buy-card h3{font-size:17px;font-weight:700;margin:0;color:#222}
.m-buy-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-bottom:14px;border-bottom:1px dashed #eee;margin-bottom:14px}
.m-buy-price{font-size:13px;color:#888;background:#fff7f0;border:1px solid #ffe0cc;border-radius:999px;padding:6px 14px;line-height:1}
.m-buy-price strong{font-size:20px;font-weight:700;color:#ff4d4f;margin:0 2px}
.m-buy-res{color:#888;font-size:13px;margin:0 0 16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-buy-btn{width:100%;padding:14px;font-size:16px;border-radius:8px;cursor:pointer;letter-spacing:2px}
.m-buy-status{padding:14px;background:#f6ffed;border:1px solid #b7eb8f;border-radius:6px;color:#389e0d;font-weight:600;margin-bottom:14px}
.m-form-group{margin-bottom:14px}
.m-form-group label{display:block;margin-bottom:6px;font-size:13px;color:#666;font-weight:500}
.m-form-group input,.m-form-group select{width:100%;padding:10px 14px;border:1px solid #d9d9d9;border-radius:4px;outline:none;font-size:14px;transition:border-color .15s}
.m-form-group input:focus,.m-form-group select:focus{border-color:#1a73e8}

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

.m-topic-card{background:#fff;border-radius:8px;padding:24px;box-shadow:0 2px 8px rgba(0,0,0,.06);border:1px solid #e8eaed;transition:transform .15s,box-shadow .15s}
.m-topic-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.1)}
.m-topic-name{font-size:17px;font-weight:600;color:#222;margin-bottom:8px}
.m-topic-summary{color:#888;font-size:13px;line-height:1.5;margin-bottom:12px}
.m-topic-meta{color:#1a73e8;font-size:13px;font-weight:500}

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

.m-vip-card{background:#fff;border-radius:8px;padding:28px 24px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.06);border:1px solid #e8eaed;position:relative;transition:transform .15s}
.m-vip-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.1)}
.m-vip-card.hot{border-color:#ff6b6b;box-shadow:0 4px 16px rgba(255,107,107,.15)}
.m-vip-flag{position:absolute;top:-1px;right:20px;background:#ff6b6b;color:#fff;font-size:12px;padding:4px 12px;border-radius:0 0 4px 4px}
.m-vip-name{font-size:18px;font-weight:600;margin-bottom:8px}
.m-vip-price{font-size:36px;font-weight:700;color:#ff6b6b;margin:10px 0}
.m-vip-price small{font-size:14px;color:#888;font-weight:400}
.m-vip-days{color:#888;font-size:13px;margin-bottom:20px}

/* ---- 表格 ---- */
.m-table{width:100%;border-collapse:collapse;font-size:14px;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.m-table th{background:#f8fafc;padding:12px 16px;text-align:left;font-weight:600;color:#555;border-bottom:1px solid #e8eaed;white-space:nowrap}
.m-table td{padding:12px 16px;border-bottom:1px solid #f0f2f5;color:#444}
.m-table tr:last-child td{border-bottom:none}
.m-table tr:hover td{background:#f8fafc}

/* ---- 表单 ---- */
.m-form-card{background:#fff;border-radius:8px;padding:28px;box-shadow:0 2px 8px rgba(0,0,0,.06);max-width:480px;margin:0 auto}
.m-form-card h2{font-size:18px;font-weight:600;margin-bottom:20px;text-align:center}
.m-form-card-wide{max-width:640px}
.m-alert{padding:12px 16px;border-radius:6px;margin-bottom:16px;font-size:13px}
.m-alert-error{background:#fff2f0;border:1px solid #ffccc7;color:#cf1322}
.m-alert-success{background:#f6ffed;border:1px solid #b7eb8f;color:#389e0d}

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

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

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

/* ---- 面包屑 ---- */
.m-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:13px;color:#888;flex-wrap:wrap}
.m-breadcrumb a{color:#888}.m-breadcrumb a:hover{color:#1a73e8}
.m-breadcrumb-sep{color:#ccc}

/* ---- 通用分页（{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 #e8eaed;background:#fff;color:#555;font-size:13px;text-decoration:none}
.pagination a:hover{border-color:#1a73e8;color:#1a73e8;background:#f0f7ff}
.pagination .current{background:#1a73e8;color:#fff;border-color:#1a73e8}

/* ---- 首页 SEO 瀑布流（滚动自动加载 3 次 + 「加载更多」按钮，上限 4 次） ---- */
#wfSentinel{height:1px}
.m-wf-bar{display:flex;justify-content:center;align-items:center;min-height:52px;margin:6px 0 2px}
.m-wf-bar span{color:#94a3b8;font-size:13px;letter-spacing:.02em}
.m-wf-btn{padding:10px 38px;border:1px solid #1a73e8;border-radius:6px;background:#fff;color:#1a73e8;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s ease,color .15s ease}
.m-wf-btn:hover{background:#1a73e8;color:#fff}
.m-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){.m-post-card[data-wf]{animation:none}}

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

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

/* ==== 友情链接（六十二期）：首页底部版块 / 全站页脚一行 / 独立页 links.html ==== */
/* 首页底部版块：与 .m-home-seo 同款卡片视觉 */
.m-home-links{background:#fff;border:1px solid #e8eaed;border-radius:8px;padding:18px 22px 20px;margin-top:20px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.m-home-links-title{font-size:15px;font-weight:600;color:#222;margin-bottom:12px}
.m-home-links-body{display:flex;flex-wrap:wrap;gap:8px 10px}
.m-home-link{padding:5px 14px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;color:#475569;font-size:13px;transition:all .15s ease}
.m-home-link:hover{border-color:#1a73e8;background:#f0f7ff;color:#1a73e8}
/* 全站页脚一行：复用 .m-footer-links 的 flex，再允许换行（链接多时不撑破） */
.m-footer-friend{flex-wrap:wrap;gap:8px 16px;line-height:2}
.m-footer-friend-label{color:#aaa}
/* 独立页 /links.html */
.m-links-page{background:#fff;border:1px solid #e8eaed;border-radius:8px;padding:24px 26px 28px;margin-top:16px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.m-links-h1{font-size:20px;font-weight:700;color:#222;margin-bottom:8px}
.m-links-intro{font-size:13px;line-height:1.9;color:#666;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #f0f2f5}
.m-link-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.m-link-card{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #e8eaed;border-radius:8px;background:#fff;transition:all .15s ease}
.m-link-card:hover{border-color:#1a73e8;box-shadow:0 3px 10px rgba(26,115,232,.12);transform:translateY(-1px)}
.m-link-logo{width:26px;height:26px;flex:0 0 26px;object-fit:contain;border-radius:5px;background:#f5f6f8}
.m-link-text{display:flex;flex-direction:column;min-width:0}
.m-link-name{color:#222;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-link-card:hover .m-link-name{color:#1a73e8}
.m-link-desc{color:#94a3b8;font-size:12px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:768px){.m-link-grid{grid-template-columns:1fr}}

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

/* 已登录：导航右上角徽标。与 .m-btn-sm 视觉同高，跟搜索框 / 退出按钮同一基线 */
.m-user-chip{display:inline-flex;align-items:center;gap:8px;padding:3px 12px 3px 3px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#334155;max-width:240px;transition:border-color .15s ease,box-shadow .15s ease}
.m-user-chip:hover{border-color:#1a73e8;box-shadow:0 2px 8px rgba(26,115,232,.14)}
.m-user-avatar{flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#e8eaed;color:#5f6368;font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;line-height:1;user-select:none}
.m-user-avatar.is-vip{background:linear-gradient(135deg,#ff6b6b,#ff8e8e);color:#fff;box-shadow:0 2px 6px rgba(255,107,107,.35)}
.m-user-meta{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.m-user-name{font-size:13px;font-weight:600;color:#222;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}
.m-user-level{font-size:11px;color:#8a94a6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}
.m-user-level.is-vip{color:#ff6b6b;font-weight:600}
.m-sep{margin:0 5px;font-style:normal;color:#cbd5e1}

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

/* 会员页底部引导卡片 */
.m-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 #e8eaed;border-radius:8px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.m-vip-cta-logged{border-color:#ffe2e2;background:linear-gradient(180deg,#fffafa,#fff)}
.m-vip-cta-body{min-width:0}
.m-vip-cta-title{font-size:16px;font-weight:600;color:#222;margin-bottom:6px}
.m-vip-cta-sub{font-size:13px;color:#555;line-height:1.8}
.m-vip-cta-sub b{color:#222}
.m-vip-cta-sub b.is-vip{color:#ff6b6b}
.m-vip-cta-note{font-size:12px;color:#94a3b8;margin-top:6px}
.m-vip-cta-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
/* 登录 = 白底蓝边（次级动作）；立即注册 = 红色主渐变（主行动点，与 .m-btn-main 同款） */
.m-btn-login{display:inline-block;padding:11px 30px;border:1px solid #1a73e8;border-radius:6px;background:#fff;color:#1a73e8;font-size:15px;font-weight:600;transition:all .15s ease}
.m-btn-login:hover{background:#f0f7ff}
.m-btn-reg{display:inline-block;padding:12px 32px;border:1px solid transparent;border-radius:6px;background:linear-gradient(135deg,#ff6b6b,#ff8e8e);color:#fff;font-size:15px;font-weight:600;box-shadow:0 4px 12px rgba(255,107,107,.3);transition:all .15s ease}
.m-btn-reg:hover{background:linear-gradient(135deg,#ff5252,#ff7979)}
/* member.html 空态的次级按钮：此前类名 .m-btn-sec 没有任何样式，「注册账号」是裸文字 */
.m-btn-sec{display:inline-block;padding:10px 24px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#555;font-size:14px;transition:all .15s ease}
.m-btn-sec:hover{border-color:#1a73e8;color:#1a73e8}

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


/* ============================================================
   七十二期 · 会员中心美化
   会员渐变横幅卡 / 订单表格（不换行、状态胶囊、去支付按钮）
   ============================================================ */
.m-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:14px;background:linear-gradient(135deg,#eef4ff,#f8fbff);border:1px solid #dbe7ff;box-sizing:border-box}
.m-member-hero.is-vip{background:linear-gradient(135deg,#ff6b6b,#ff8f6b);border:none;box-shadow:0 8px 22px rgba(255,107,107,.28)}
.m-member-hero-left{display:flex;align-items:center;gap:14px;min-width:0}
.m-member-hero-name{font-size:17px;font-weight:700;color:#1f2937;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.m-member-hero.is-vip .m-member-hero-name{color:#fff}
.m-member-hero-level{font-size:11px;padding:2px 9px;border-radius:999px;background:#e8f0fe;color:#1d4ed8;font-weight:600;flex:none}
.m-member-hero.is-vip .m-member-hero-level{background:rgba(255,255,255,.25);color:#fff}
.m-member-hero-sub{font-size:12.5px;color:#6b7280;margin-top:5px}
.m-member-hero.is-vip .m-member-hero-sub{color:rgba(255,255,255,.88)}
.m-member-hero-warn{display:inline-block;margin-top:8px;padding:3px 10px;border-radius:6px;font-size:12px;background:#fffbeb;color:#b45309}
.m-member-hero.is-vip .m-member-hero-warn{background:rgba(255,255,255,.22);color:#fff}
.m-member-hero-btn{flex:none;padding:10px 24px;border-radius:999px;background:linear-gradient(135deg,#ff6b6b,#ff8e8e);color:#fff;font-weight:700;font-size:14px;text-decoration:none;box-shadow:0 4px 12px rgba(255,107,107,.3)}
.m-member-hero-btn:hover{background:linear-gradient(135deg,#ff5252,#ff7979);color:#fff}
.m-member-hero.is-vip .m-member-hero-btn{background:#fff;color:#ff5a5a;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.m-member-hero.is-vip .m-member-hero-btn:hover{background:#fff5f5}

.m-orders-card{max-width:860px}
.m-orders-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:14px}
.m-orders-head h2{text-align:left;margin-bottom:0;font-size:17px}
.m-orders-count{font-size:12.5px;color:#9ca3af}
.m-orders-scroll{overflow-x:auto}
.m-orders-table td{white-space:nowrap}
.m-orders-table .is-unpaid td{background:#fffdf8}
.m-td-no{font-family:Consolas,Menlo,monospace;font-size:12.5px;color:#6b7280;max-width:168px;overflow:hidden;text-overflow:ellipsis}
.m-td-goods{white-space:normal !important;max-width:250px;font-size:13.5px;color:#374151;line-height:1.5}
.m-goods-tag{display:inline-block;font-size:11px;padding:1px 8px;border-radius:999px;background:#eef4ff;color:#1d4ed8;margin-right:6px;font-weight:600;vertical-align:1px}
.m-td-amount{font-weight:700;color:#ff5a5a}
.m-td-amount small{font-weight:400;color:#9ca3af;font-size:11px}
.m-td-time{color:#9ca3af;font-size:12.5px}
.m-state-pill{display:inline-block;padding:2px 11px;border-radius:999px;font-size:12px;font-weight:600}
.m-state-pill.is-paid{background:#e6f7ee;color:#389e0d}
.m-state-pill.is-unpaid-pill{background:#fff4e6;color:#d46b08}
.m-pay-now{padding:5px 16px;border-radius:6px;border:none;background:linear-gradient(135deg,#ff6b6b,#ff8e8e);color:#fff;font-size:12.5px;font-weight:600;cursor:pointer}
.m-pay-now:hover{background:linear-gradient(135deg,#ff5252,#ff7979)}
.m-pay-now:disabled{opacity:.6;cursor:default}
.m-op-muted{color:#d1d5db}
@media(max-width:768px){
    .m-member-hero{flex-direction:column;align-items:flex-start}
    .m-member-hero-btn{align-self:stretch;text-align:center}
}
