/* ================================
   id风水玄学网 · xuanxue 主题样式（独立原创设计）
   ================================ */

/* ---- 基础重置 ---- */
*,*::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}

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

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

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

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

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

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

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

/* ---- 分类彩色块（参考图2） ---- */
.xx-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}
.xx-cat-card{display:flex;align-items:center;justify-content:center;gap:10px;padding:24px 16px;border-radius:3px;color:#fff;font-size:16px;font-weight:600;transition:transform .15s,box-shadow .15s;cursor:pointer}
.xx-cat-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,0.12)}
.xx-cat-icon{font-size:20px;opacity:.8}
.xx-cat-1{background:linear-gradient(135deg,#efd16f,#f2d987)} /* 橙 */
.xx-cat-2{background:linear-gradient(135deg,#ecbe61,#24da24)} /* 蓝 */
.xx-cat-3{background:linear-gradient(135deg,#4ae24a,#4fe24f)} /* 绿 */
.xx-cat-4{background:linear-gradient(135deg,#f0d57a,#ecc852)} /* 粉黄 */
.xx-cat-5{background:linear-gradient(135deg,#ba8cd1,#e6c7f6)} /* 紫粉 */
.xx-cat-6{background:linear-gradient(135deg,#eabe66,#854ba2)} /* 紫 */
.xx-cat-7{background:linear-gradient(135deg,#189218,#46e146)} /* 青绿 */
.xx-cat-8{background:linear-gradient(135deg,#eecf6a,#eec677)} /* 红紫 */
@media(max-width:768px){.xx-cat-grid{grid-template-columns:repeat(2,1fr);gap:12px}.xx-cat-card{padding:18px 12px;font-size:14px}}

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

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

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

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

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

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

/* ---------- 付费内容区（已解锁绿卡 + 未购提示 + 支付回跳定位高亮） ---------- */
.xx-paid-box{border:1px solid #b7ebb7;background:#f7fef7;border-radius:3px;padding:18px 20px;margin-top:20px}
.xx-paid-head{display:inline-block;background:#1fbf1f;color:#fff;font-size:14px;font-weight:600;padding:5px 14px;border-radius:2px;margin-bottom:12px}
.xx-paid-body{font-size:14px;line-height:1.8;color:#444444;word-break:break-all}
.xx-paid-body p{margin-bottom:8px}
.xx-paid-copy{margin-top:12px;padding:8px 18px;border:1px solid #1fbf1f;background:#fff;color:#189318;font-size:14px;border-radius:2px;cursor:pointer}
.xx-paid-copy:hover{background:#f2fdf2}
/* 付费引导卡：居中大价格 + 绿色购买按钮 + 找回订单提示（参考主流资源站样式） */
.xx-paid-cta{margin-top:22px;padding:34px 24px 26px;background:linear-gradient(180deg,#f3f3f2,#ecebe9);border-radius:4px;text-align:center}
.xx-paid-cta-price{font-size:15px;color:#333333;letter-spacing:.5px}
.xx-paid-cta-price strong{font-size:30px;font-weight:700;color:#e6b619;margin:0 6px;font-family:Arial,'Microsoft YaHei',sans-serif}
.xx-paid-cta-btn{display:inline-block;margin-top:18px;padding:13px 64px;border:none;border-radius:2px;font-size:16px;font-weight:700;color:#fff;letter-spacing:2px;cursor:pointer;background:linear-gradient(135deg,#2fce2f,#1cae1c);box-shadow:0 4px 12px rgba(35,190,35,0.35);transition:transform .15s,box-shadow .15s,filter .15s}
.xx-paid-cta-btn:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 6px 16px rgba(35,190,35,0.4)}
.xx-paid-cta-btn:active{transform:translateY(0);box-shadow:0 2px 8px rgba(35,190,35,0.3)}
.xx-paid-cta-tip{margin-top:14px;font-size:14px;color:#a9a6a0}
.xx-paid-cta-tip a{color:#e6b619;text-decoration:none}
.xx-paid-cta-tip a:hover{text-decoration:underline}
@keyframes m-paid-flash{0%,100%{box-shadow:0 0 0 0 rgba(31,191,31,0)}35%{box-shadow:0 0 0 6px rgba(31,191,31,0.35)}}
.xx-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:3px;box-shadow:0 12px 40px rgba(0,0,0,0.25);padding:0 24px 24px;
  --pay-brand:#1cac1c;--pay-brand-dk:#199a19;--pay-brand-bg:#ebf9eb;--pay-brand-bd:#cfefcf;--pay-brand-tx:#3b8a3b}
.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:#e9c038;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:#1cac1c}
.pay-btn-phone{display:block;width:200px;margin:0 auto 14px;padding:11px 0;border:none;border-radius:2px;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:2px;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:#d8f3d8;border-color:#8ce08c;color:#227a22;font-weight:600}
.pay-status.pay-status-fail{background:#fdfaf1;border-color:#f9edc6;color:#cca833}
.pay-status.pay-status-expired{background:#fdf9ec;border-color:#faf2d8;color:#b89830}
.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:2px;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:#fdfaf1;border:1px solid #f9edc6;border-radius:2px;color:#cca833;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:4px;display:block}
.pay-method-name{flex:1;font-size:15px;color:#333333;font-weight:500}
.pay-method-arrow{width:16px;height:16px;flex:none}
.xx-detail-sidebar{display:flex;flex-direction:column;gap:16px}
.xx-sidebar-card{background:#fff;border-radius:3px;padding:16px;box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.xx-sidebar-title{font-size:15px;font-weight:600;color:#222222;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #f5f3f0}
.xx-sidebar-list{list-style:none}
.xx-sidebar-list li{padding:8px 0;border-bottom:1px solid #f8f7f5;display:flex;align-items:center;gap:10px}
.xx-sidebar-list li:last-child{border-bottom:none}
.xx-sidebar-list .s-thumb{width:60px;height:45px;background:#f5f3f0;border-radius:2px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#cccccc;font-size:12px;overflow:hidden}
.xx-sidebar-list .s-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.xx-sidebar-empty{margin:6px 0 0;color:#999999;font-size:14px}
.xx-sidebar-list .s-info{flex:1;min-width:0}

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

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

.xx-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}
.xx-detail-services span{display:flex;align-items:center;gap:4px}

.xx-detail-notice{background:#fcf8e8;border:1px solid #f4df9a;border-radius:2px;padding:12px 16px;color:#888888;font-size:14px;margin:16px 0;line-height:1.6}

/* ---- 购买/会员卡片 ---- */
.xx-buy-card{background:#fff;border-radius:5px;padding:26px 28px;box-shadow:0 4px 16px rgba(0,0,0,0.07);margin-top:20px;border:1px solid #f5f3f0}
.xx-buy-card h3{font-size:17px;font-weight:700;margin:0;color:#222222}
.xx-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}
.xx-buy-price{font-size:14px;color:#888888;background:#fdfbf2;border:1px solid #faf0d1;border-radius:400px;padding:6px 14px;line-height:1}
.xx-buy-price strong{font-size:20px;font-weight:700;color:#edcc5f;margin:0 2px}
.xx-buy-res{color:#888888;font-size:14px;margin:0 0 16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xx-buy-btn{width:100%;padding:14px;font-size:16px;border-radius:3px;cursor:pointer;letter-spacing:2px}
.xx-buy-status{padding:14px;background:#f0fcf0;border:1px solid #8feb8f;border-radius:2px;color:#189318;font-weight:600;margin-bottom:14px}
.xx-form-group{margin-bottom:14px}
.xx-form-group label{display:block;margin-bottom:6px;font-size:14px;color:#666666;font-weight:500}
.xx-form-group input,.xx-form-group select{width:100%;padding:10px 14px;border:1px solid #d9d9d9;border-radius:2px;outline:none;font-size:14px;transition:border-color .15s}
.xx-form-group input:focus,.xx-form-group select:focus{border-color:#e3a21f}

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

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

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

.xx-vip-card{background:#fff;border-radius:3px;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}
.xx-vip-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,0.1)}
.xx-vip-card.hot{border-color:#f0d57a;box-shadow:0 4px 16px rgba(240,213,122,0.15)}
.xx-vip-flag{position:absolute;top:-1px;right:20px;background:#f0d57a;color:#fff;font-size:13px;padding:4px 12px;border-radius:0 0 4px 4px}
.xx-vip-name{font-size:18px;font-weight:600;margin-bottom:8px}
.xx-vip-price{font-size:36px;font-weight:700;color:#f0d57a;margin:10px 0}
.xx-vip-price small{font-size:14px;color:#888888;font-weight:400}
.xx-vip-days{color:#888888;font-size:14px;margin-bottom:20px}

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

/* ---- 表单 ---- */
.xx-form-card{background:#fff;border-radius:3px;padding:28px;box-shadow:0 2px 8px rgba(0,0,0,0.06);max-width:480px;margin:0 auto}
.xx-form-card h2{font-size:18px;font-weight:600;margin-bottom:20px;text-align:center}
.xx-form-card-wide{max-width:640px}
.xx-alert{padding:12px 16px;border-radius:2px;margin-bottom:16px;font-size:14px}
.xx-alert-error{background:#fdfbf2;border:1px solid #f9efcd;color:#cba117}
.xx-alert-success{background:#f0fcf0;border:1px solid #8feb8f;color:#189318}

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

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

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

/* ---- 面包屑 ---- */
.xx-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:14px;color:#888888;flex-wrap:wrap}
.xx-breadcrumb a{color:#888888}.xx-breadcrumb a:hover{color:#e3a21f}
.xx-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:2px;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}
.xx-wf-bar{display:flex;justify-content:center;align-items:center;min-height:52px;margin:6px 0 2px}
.xx-wf-bar span{color:#b8ac94;font-size:14px;letter-spacing:.02em}
.xx-wf-btn{padding:10px 38px;border:1px solid #e3a21f;border-radius:2px;background:#fff;color:#e3a21f;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s ease,color .15s ease}
.xx-wf-btn:hover{background:#e3a21f;color:#fff}
.xx-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){.xx-post-card[data-wf]{animation:none}}

/* ---- 首页 SEO 纯文字简介（后台站点设置可编辑，仅首页第 1 页） ---- */
.xx-home-seo{background:#fff;border:1px solid #ecebe9;border-radius:3px;padding:18px 22px 20px;margin-top:28px;box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.xx-home-seo-title{font-size:15px;font-weight:600;color:#222222;margin-bottom:10px}
.xx-home-seo-body{font-size:14px;line-height:1.9;color:#555555;text-align:justify}
/* 六十四期：该版块改为富文本编辑器驱动，补富文本子元素样式（与 .xx-cathero-custom 同口径，字号随 13px 基调） */
.xx-home-seo-body h2{font-size:16px;font-weight:600;color:#4a402b;margin:14px 0 8px;padding-bottom:6px;border-bottom:1px solid #f3efe8}
.xx-home-seo-body h3{font-size:14px;font-weight:600;color:#4f4633;margin:12px 0 6px}
.xx-home-seo-body h2:first-child,.xx-home-seo-body h3:first-child{margin-top:0}
.xx-home-seo-body p{margin:8px 0}
.xx-home-seo-body ul,.xx-home-seo-body ol{padding-left:22px;margin:8px 0}
.xx-home-seo-body li{margin:4px 0}
.xx-home-seo-body blockquote{margin:10px 0;padding:8px 14px;border-left:3px solid #ccbc9d;background:#fcfbfa;color:#7b7770;border-radius:0 6px 6px 0}
.xx-home-seo-body img{max-width:100%;height:auto;border-radius:3px;margin:8px 0}
.xx-home-seo-body a{color:#806a3d;text-decoration:underline}
.xx-home-seo-body table{width:100%;border-collapse:collapse;margin:12px 0;font-size:12.5px}
.xx-home-seo-body td,.xx-home-seo-body th{border:1px solid #f0ece3;padding:7px 10px;text-align:left}
.xx-home-seo-body th{background:#faf8f4;font-weight:600;color:#4f4633}
.xx-home-seo-body hr{border:0;border-top:1px solid #f3efe8;margin:14px 0}
.xx-home-seo-body pre{margin:10px 0;padding:10px 12px;background:#faf8f4;border:1px solid #f0ece3;border-radius:2px;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:400px;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 ==== */
/* 首页底部版块：与 .xx-home-seo 同款卡片视觉 */
.xx-home-links{background:#fff;border:1px solid #ecebe9;border-radius:3px;padding:18px 22px 20px;margin-top:20px;box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.xx-home-links-title{font-size:15px;font-weight:600;color:#222222;margin-bottom:12px}
.xx-home-links-body{display:flex;flex-wrap:wrap;gap:8px 10px}
.xx-home-link{padding:5px 14px;border:1px solid #f0ebe2;border-radius:400px;background:#fcfbf8;color:#695e47;font-size:14px;transition:all .15s ease}
.xx-home-link:hover{border-color:#e3a21f;background:#fdf9f2;color:#e3a21f}
/* 全站页脚一行：复用 .xx-footer-links 的 flex，再允许换行（链接多时不撑破） */
.xx-footer-friend{flex-wrap:wrap;gap:8px 16px;line-height:2}
.xx-footer-friend-label{color:#aaaaaa}
/* 独立页 /links.html */
.xx-links-page{background:#fff;border:1px solid #ecebe9;border-radius:3px;padding:24px 26px 28px;margin-top:16px;box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.xx-links-h1{font-size:20px;font-weight:700;color:#222222;margin-bottom:8px}
.xx-links-intro{font-size:14px;line-height:1.9;color:#666666;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #f5f3f0}
.xx-link-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.xx-link-card{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #ecebe9;border-radius:3px;background:#fff;transition:all .15s ease}
.xx-link-card:hover{border-color:#e3a21f;box-shadow:0 3px 10px rgba(227,162,31,0.12);transform:translateY(-1px)}
.xx-link-logo{width:26px;height:26px;flex:0 0 26px;object-fit:contain;border-radius:2px;background:#f8f7f5}
.xx-link-text{display:flex;flex-direction:column;min-width:0}
.xx-link-name{color:#222222;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xx-link-card:hover .xx-link-name{color:#e3a21f}
.xx-link-desc{color:#b8ac94;font-size:13px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:768px){.xx-link-grid{grid-template-columns:1fr}}

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

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

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

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

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


/* ============================================================
   七十二期 · 会员中心美化
   会员渐变横幅卡 / 订单表格（不换行、状态胶囊、去支付按钮）
   ============================================================ */
.xx-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:6px;background:linear-gradient(135deg,#fdf9f0,#f8fbff);border:1px solid #fbf2df;box-sizing:border-box}
.xx-member-hero.is-vip{background:linear-gradient(135deg,#f0d57a,#f0d57a);border:none;box-shadow:0 8px 22px rgba(240,213,122,0.28)}
.xx-member-hero-left{display:flex;align-items:center;gap:14px;min-width:0}
.xx-member-hero-name{font-size:17px;font-weight:700;color:#372f1f;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.xx-member-hero.is-vip .xx-member-hero-name{color:#fff}
.xx-member-hero-level{font-size:12px;padding:2px 9px;border-radius:400px;background:#fcf6ea;color:#d89a1d;font-weight:600;flex:none}
.xx-member-hero.is-vip .xx-member-hero-level{background:rgba(255,255,255,0.25);color:#fff}
.xx-member-hero-sub{font-size:12.5px;color:#7b7770;margin-top:5px}
.xx-member-hero.is-vip .xx-member-hero-sub{color:rgba(255,255,255,0.88)}
.xx-member-hero-warn{display:inline-block;margin-top:8px;padding:3px 10px;border-radius:2px;font-size:13px;background:#fdf9ed;color:#aa8713}
.xx-member-hero.is-vip .xx-member-hero-warn{background:rgba(255,255,255,0.22);color:#fff}
.xx-member-hero-btn{flex:none;padding:10px 24px;border-radius:400px;background:linear-gradient(135deg,#f0d57a,#f4df99);color:#fff;font-weight:700;font-size:14px;text-decoration:none;box-shadow:0 4px 12px rgba(240,213,122,0.3)}
.xx-member-hero-btn:hover{background:linear-gradient(135deg,#eecd63,#f2d986);color:#fff}
.xx-member-hero.is-vip .xx-member-hero-btn{background:#fff;color:#eed06b;box-shadow:0 4px 12px rgba(0,0,0,0.12)}
.xx-member-hero.is-vip .xx-member-hero-btn:hover{background:#fefcf6}

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

/* ---- 侧栏家族 ---- */
.xx-x-shell{max-width:1240px;margin:0 auto;padding:22px 20px 0;display:grid;grid-template-columns:210px 1fr;gap:24px;align-items:start}
.xx-x-rail{background:#fffdf8;border:1px solid #ddd5c4;border-top:3px solid #3a342b;border-radius:4px;padding:14px 0;position:sticky;top:70px;max-height:calc(100vh - 90px);overflow-y:auto}
.xx-x-railcap{font-size:12px;font-weight:700;color:#7d7464;letter-spacing:2px;padding:8px 18px 6px;text-transform:uppercase}
.xx-x-raillink{display:block;padding:8px 18px;font-size:14px;color:#2a251c;border-left:3px solid transparent}
.xx-x-raillink:hover{background:#2a251e;color:#3a342b;border-left-color:#c9a227}
.xx-x-rmain{min-width:0}
.xx-x-rhead{background:#1c1a17;position:sticky;top:0;z-index:1000}
.xx-x-rheadin{max-width:1240px;margin:0 auto;padding:0 20px;height:56px;display:flex;align-items:center;gap:18px}
.xx-x-rlogo{font-size:17px;font-weight:800;color:#ecd9a0;white-space:nowrap}
.xx-x-rsearch{display:flex;margin-left:12px}
.xx-x-rsearch input{width:220px;padding:7px 12px;border:1px solid rgba(255,255,255,.25);border-radius:3px 0 0 3px;background:rgba(255,255,255,.94);outline:none;font-size:13px}
.xx-x-rsearch button{border:none;background:#c9a227;color:#fff;padding:0 14px;border-radius:0 3px 3px 0;font-size:14px}
.xx-x-rauth{margin-left:auto;display:flex;align-items:center;gap:8px}
.xx-x-act{padding:4px 12px;border:1px solid rgba(255,255,255,.35);border-radius:3px;color:#ecd9a0;font-size:13px}
.xx-x-act:hover{border-color:#fff;color:#fff}
.xx-x-hot{background:#c9a227;border-color:#c9a227;color:#fff}
.xx-x-ava{width:26px;height:26px;border-radius:50%;background:#c9a227;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.xx-x-ava.is-vip{box-shadow:0 0 0 2px #ffd54d}
.xx-x-logout{display:inline}
.xx-x-ghost{background:transparent}
.xx-x-burger{display:none;flex-direction:column;gap:4px;padding:6px;background:none;border:none}
.xx-x-burger span{display:block;width:20px;height:2px;background:#ecd9a0;border-radius:1px}
/* Hero */
.xx-x-rhero{background:linear-gradient(135deg,#201c16,#3a342b);color:#fff;border-radius:6px;padding:26px 30px;margin-bottom:22px;position:relative;overflow:hidden}
.xx-x-rhero::before{content:'';position:absolute;right:24px;bottom:-40px;width:170px;height:170px;border:24px solid rgba(255,255,255,.06);border-radius:50%}
.xx-x-rheroin{position:relative;z-index:1}
.xx-x-rhero h1{font-size:22px;margin-bottom:6px}
.xx-x-rhero p{opacity:.88;font-size:14px}
/* 表格型列表 */
.xx-x-rohead{background:#fffdf8;border:1px solid #ddd5c4;border-left:4px solid #c9a227;border-radius:4px;padding:12px 18px;margin-bottom:0}
.xx-x-rohead h2{font-size:16px;color:#2a251c}
.xx-x-tlist{background:#fffdf8;border:1px solid #ddd5c4;border-top:none;border-radius:0 0 4px 4px;overflow:hidden}
.xx-x-trow{display:flex;align-items:center;gap:14px;padding:12px 18px;border-bottom:1px solid #ddd5c4;font-size:14px}
.xx-x-trow:last-child{border-bottom:none}
.xx-x-trow:hover{background:#2a251e}
.xx-x-ttitle{flex:1;min-width:0;color:#2a251c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xx-x-ttitle:hover{color:#3a342b}
.xx-x-tcat{flex:none;background:#2a251e;color:#3a342b;font-size:12px;padding:2px 9px;border-radius:2px}
.xx-x-tdate{flex:none;color:#7d7464;font-size:13px}
.xx-x-tprice{flex:none;color:#c9a227;font-size:14px}
.xx-x-empty{background:#fffdf8;border:1px dashed #ddd5c4;border-radius:4px;padding:28px 20px;text-align:center;color:#7d7464}
.xx-x-homeseo{background:#fffdf8;border:1px solid #ddd5c4;border-radius:4px;padding:22px 24px;margin-top:24px}
.xx-x-homeseo h2{font-size:16px;margin-bottom:10px;color:#2a251c;padding-left:10px;border-left:3px solid #c9a227}
.xx-x-homeseobody{font-size:14px;color:#7d7464;line-height:1.9}
.xx-x-homelinks{margin-top:22px;background:#fffdf8;border:1px solid #ddd5c4;border-radius:4px;padding:18px 22px}
.xx-x-homelinks h2{font-size:14px;color:#2a251c;margin-bottom:10px}
.xx-x-homelinksbody{display:flex;flex-wrap:wrap;gap:8px 18px}
.xx-x-homelinksbody a{font-size:14px;color:#7d7464}
.xx-x-homelinksbody a:hover{color:#3a342b}
.xx-x-rfoot{background:#1c1a17;color:#ecd9a0;margin-top:44px}
.xx-x-rfootin{max-width:1240px;margin:0 auto;padding:30px 20px 18px}
.xx-x-rfootin>p{font-size:13px;opacity:.7;line-height:1.8}
.xx-x-rfootnav{display:flex;gap:20px;margin:14px 0;flex-wrap:wrap}
.xx-x-rfootnav a{font-size:14px;opacity:.8;color:#ecd9a0}
.xx-x-rcopy{border-top:1px solid rgba(255,255,255,.12);padding-top:14px;font-size:13px;opacity:.6}
@media(max-width:900px){
.xx-x-shell{grid-template-columns:1fr;padding:14px 12px 0}
.xx-x-rail{position:static;max-height:none;display:none}
.xx-x-rail.open{display:block}
.xx-x-rsearch input{width:130px}
.xx-x-tcat{display:none}
}
/* ---- 品牌基调 ---- */
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:#3a342b;}a:hover{color:#201c16;}
::selection{background:#c9a227;color:#fff;}
body{background:#f6f4ef;color:#2a251c;}
/* 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}
