/* ================================
   华夏堪舆学 · huaxia 主题样式（独立原创设计）
   ================================ */

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

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

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

/* ---- Hero 搜索区（蓝色大背景） ---- */
.hx-hero{background:linear-gradient(135deg,#4aa5a5 0%,#6baeae 100%);padding:50px 0;text-align:center;color:#fff}
.hx-hero-title{font-size:32px;font-weight:600;margin-bottom:20px;letter-spacing:2px}
.hx-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)}
.hx-hero-search input{flex:1;padding:14px 20px;border:none;font-size:15px;outline:none}
.hx-hero-search button{padding:14px 32px;border:none;background:#3d8080;color:#fff;font-size:15px;font-weight:500}
.hx-hero-search button:hover{background:#2d6f6f}
@media(max-width:768px){.hx-hero{padding:35px 0}.hx-hero-title{font-size:24px}.hx-hero-search input{padding:12px 16px}.hx-hero-search button{padding:12px 20px}}

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

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

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

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

/* ---- 分类彩色块（参考图2） ---- */
.hx-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}
.hx-cat-card{display:flex;align-items:center;justify-content:center;gap:10px;padding:24px 16px;border-radius:6px;color:#fff;font-size:16px;font-weight:600;transition:transform .15s,box-shadow .15s;cursor:pointer}
.hx-cat-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,0.12)}
.hx-cat-icon{font-size:20px;opacity:.8}
.hx-cat-1{background:linear-gradient(135deg,#efa96f,#f2b787)} /* 橙 */
.hx-cat-2{background:linear-gradient(135deg,#61ecec,#24dada)} /* 蓝 */
.hx-cat-3{background:linear-gradient(135deg,#4ae2e2,#4fe2e2)} /* 绿 */
.hx-cat-4{background:linear-gradient(135deg,#f0af7a,#ec9752)} /* 粉黄 */
.hx-cat-5{background:linear-gradient(135deg,#a58cd1,#d8c7f6)} /* 紫粉 */
.hx-cat-6{background:linear-gradient(135deg,#66eaea,#6b4ba2)} /* 紫 */
.hx-cat-7{background:linear-gradient(135deg,#189292,#46e1e1)} /* 青绿 */
.hx-cat-8{background:linear-gradient(135deg,#eea56a,#77eeee)} /* 红紫 */
@media(max-width:768px){.hx-cat-grid{grid-template-columns:repeat(2,1fr);gap:12px}.hx-cat-card{padding:18px 12px;font-size:14px}}

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

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

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

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

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

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

/* ---------- 付费内容区（已解锁绿卡 + 未购提示 + 支付回跳定位高亮） ---------- */
.hx-paid-box{border:1px solid #b7ebeb;background:#f7fefe;border-radius:6px;padding:18px 20px;margin-top:20px}
.hx-paid-head{display:inline-block;background:#1fbfbf;color:#fff;font-size:14px;font-weight:600;padding:5px 14px;border-radius:5px;margin-bottom:12px}
.hx-paid-body{font-size:14px;line-height:1.8;color:#444444;word-break:break-all}
.hx-paid-body p{margin-bottom:8px}
.hx-paid-copy{margin-top:12px;padding:8px 18px;border:1px solid #1fbfbf;background:#fff;color:#189393;font-size:14px;border-radius:5px;cursor:pointer}
.hx-paid-copy:hover{background:#f2fdfd}
/* 付费引导卡：居中大价格 + 绿色购买按钮 + 找回订单提示（参考主流资源站样式） */
.hx-paid-cta{margin-top:22px;padding:34px 24px 26px;background:linear-gradient(180deg,#f2f3f3,#e9ecec);border-radius:8px;text-align:center}
.hx-paid-cta-price{font-size:15px;color:#333333;letter-spacing:.5px}
.hx-paid-cta-price strong{font-size:30px;font-weight:700;color:#e67519;margin:0 6px;font-family:Arial,'Microsoft YaHei',sans-serif}
.hx-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,#2fcece,#1caeae);box-shadow:0 4px 12px rgba(35,190,190,0.35);transition:transform .15s,box-shadow .15s,filter .15s}
.hx-paid-cta-btn:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 6px 16px rgba(35,190,190,0.4)}
.hx-paid-cta-btn:active{transform:translateY(0);box-shadow:0 2px 8px rgba(35,190,190,0.3)}
.hx-paid-cta-tip{margin-top:14px;font-size:14px;color:#a0a9a9}
.hx-paid-cta-tip a{color:#e67519;text-decoration:none}
.hx-paid-cta-tip a:hover{text-decoration:underline}
@keyframes m-paid-flash{0%,100%{box-shadow:0 0 0 0 rgba(31,191,191,0)}35%{box-shadow:0 0 0 6px rgba(31,191,191,0.35)}}
.hx-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:6px;box-shadow:0 12px 40px rgba(0,0,0,0.25);padding:0 24px 24px;
  --pay-brand:#1cacac;--pay-brand-dk:#199a9a;--pay-brand-bg:#ebf9f9;--pay-brand-bd:#cfefef;--pay-brand-tx:#3b8a8a}
.pay-modal-ali{--pay-brand:#30e5e5;--pay-brand-dk:#19cdcd;--pay-brand-bg:#f0fdfd;--pay-brand-bd:#cff9f9;--pay-brand-tx:#2fb3b3}
.pay-head{display:flex;align-items:center;justify-content:space-between;padding:18px 0 12px;font-size:15px;color:#333333}
.pay-amount{color:#e98838;font-size:16px;font-weight:700;font-style:normal;margin-left:2px}
.pay-modal-ali .pay-amount{color:#30e5e5}
.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:#30e5e5}
.pay-cap-wx{color:#1cacac}
.pay-btn-phone{display:block;width:200px;margin:0 auto 14px;padding:11px 0;border:none;border-radius:3px;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:3px;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:#d8f3f3;border-color:#8ce0e0;color:#227a7a;font-weight:600}
.pay-status.pay-status-fail{background:#fdf6f1;border-color:#f9ddc6;color:#cc7833}
.pay-status.pay-status-expired{background:#fdf4ec;border-color:#fae7d8;color:#b86d30}
.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:3px;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 #f9ddc6;border-radius:3px;color:#cc7833;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 #f0f5f5;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:#f6fcfc}
.pay-method-icon{width:38px;height:38px;flex:none;border-radius:7px;display:block}
.pay-method-name{flex:1;font-size:15px;color:#333333;font-weight:500}
.pay-method-arrow{width:16px;height:16px;flex:none}
.hx-detail-sidebar{display:flex;flex-direction:column;gap:16px}
.hx-sidebar-card{background:#fff;border-radius:6px;padding:16px;box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.hx-sidebar-title{font-size:15px;font-weight:600;color:#222222;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #f0f5f5}
.hx-sidebar-list{list-style:none}
.hx-sidebar-list li{padding:8px 0;border-bottom:1px solid #f5f8f8;display:flex;align-items:center;gap:10px}
.hx-sidebar-list li:last-child{border-bottom:none}
.hx-sidebar-list .s-thumb{width:60px;height:45px;background:#f0f5f5;border-radius:3px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#cccccc;font-size:12px;overflow:hidden}
.hx-sidebar-list .s-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.hx-sidebar-empty{margin:6px 0 0;color:#999999;font-size:14px}
.hx-sidebar-list .s-info{flex:1;min-width:0}

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

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

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

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

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

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

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

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

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

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

/* ---- 表单 ---- */
.hx-form-card{background:#fff;border-radius:6px;padding:28px;box-shadow:0 2px 8px rgba(0,0,0,0.06);max-width:480px;margin:0 auto}
.hx-form-card h2{font-size:18px;font-weight:600;margin-bottom:20px;text-align:center}
.hx-form-card-wide{max-width:640px}
.hx-alert{padding:12px 16px;border-radius:5px;margin-bottom:16px;font-size:14px}
.hx-alert-error{background:#fdf7f2;border:1px solid #f9e1cd;color:#cb6817}
.hx-alert-success{background:#f0fcfc;border:1px solid #8febeb;color:#189393}

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

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

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

/* ---- 面包屑 ---- */
.hx-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:14px;color:#888888;flex-wrap:wrap}
.hx-breadcrumb a{color:#888888}.hx-breadcrumb a:hover{color:#1fe3e3}
.hx-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:3px;border:1px solid #e9ecec;background:#fff;color:#555555;font-size:14px;text-decoration:none}
.pagination a:hover{border-color:#1fe3e3;color:#1fe3e3;background:#f2fdfd}
.pagination .current{background:#1fe3e3;color:#fff;border-color:#1fe3e3}

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

/* ---- 首页 SEO 纯文字简介（后台站点设置可编辑，仅首页第 1 页） ---- */
.hx-home-seo{background:#fff;border:1px solid #e9ecec;border-radius:6px;padding:18px 22px 20px;margin-top:28px;box-shadow:0 2px 8px rgba(0,0,0,0.06)}
.hx-home-seo-title{font-size:15px;font-weight:600;color:#222222;margin-bottom:10px}
.hx-home-seo-body{font-size:14px;line-height:1.9;color:#555555;text-align:justify}
/* 六十四期：该版块改为富文本编辑器驱动，补富文本子元素样式（与 .hx-cathero-custom 同口径，字号随 13px 基调） */
.hx-home-seo-body h2{font-size:16px;font-weight:600;color:#2b4a4a;margin:14px 0 8px;padding-bottom:6px;border-bottom:1px solid #e8f3f3}
.hx-home-seo-body h3{font-size:14px;font-weight:600;color:#334f4f;margin:12px 0 6px}
.hx-home-seo-body h2:first-child,.hx-home-seo-body h3:first-child{margin-top:0}
.hx-home-seo-body p{margin:8px 0}
.hx-home-seo-body ul,.hx-home-seo-body ol{padding-left:22px;margin:8px 0}
.hx-home-seo-body li{margin:4px 0}
.hx-home-seo-body blockquote{margin:10px 0;padding:8px 14px;border-left:3px solid #9dcccc;background:#fafcfc;color:#707b7b;border-radius:0 6px 6px 0}
.hx-home-seo-body img{max-width:100%;height:auto;border-radius:6px;margin:8px 0}
.hx-home-seo-body a{color:#3d8080;text-decoration:underline}
.hx-home-seo-body table{width:100%;border-collapse:collapse;margin:12px 0;font-size:12.5px}
.hx-home-seo-body td,.hx-home-seo-body th{border:1px solid #e3f0f0;padding:7px 10px;text-align:left}
.hx-home-seo-body th{background:#f4fafa;font-weight:600;color:#334f4f}
.hx-home-seo-body hr{border:0;border-top:1px solid #e8f3f3;margin:14px 0}
.hx-home-seo-body pre{margin:10px 0;padding:10px 12px;background:#f4fafa;border:1px solid #e3f0f0;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:#648b8b;flex-wrap:wrap}
.m-pay-type-label{color:#648b8b}
.m-pay-pill{padding:6px 20px;border:1px solid #e2f0f0;border-radius:799px;background:#fff;color:#648b8b;font-size:14px;cursor:pointer;transition:all .15s ease}
.m-pay-pill:hover{border-color:#1fe3e3;color:#1fe3e3}
.m-pay-pill.active{border-color:#1fe3e3;color:#1fe3e3;background:#f2fdfd;font-weight:600}

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

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

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

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

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

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


/* ============================================================
   七十二期 · 会员中心美化
   会员渐变横幅卡 / 订单表格（不换行、状态胶囊、去支付按钮）
   ============================================================ */
.hx-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:11px;background:linear-gradient(135deg,#f0fdfd,#f8fbff);border:1px solid #dffbfb;box-sizing:border-box}
.hx-member-hero.is-vip{background:linear-gradient(135deg,#f0af7a,#f0af7a);border:none;box-shadow:0 8px 22px rgba(240,175,122,0.28)}
.hx-member-hero-left{display:flex;align-items:center;gap:14px;min-width:0}
.hx-member-hero-name{font-size:17px;font-weight:700;color:#1f3737;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hx-member-hero.is-vip .hx-member-hero-name{color:#fff}
.hx-member-hero-level{font-size:12px;padding:2px 9px;border-radius:799px;background:#eafcfc;color:#1dd8d8;font-weight:600;flex:none}
.hx-member-hero.is-vip .hx-member-hero-level{background:rgba(255,255,255,0.25);color:#fff}
.hx-member-hero-sub{font-size:12.5px;color:#707b7b;margin-top:5px}
.hx-member-hero.is-vip .hx-member-hero-sub{color:rgba(255,255,255,0.88)}
.hx-member-hero-warn{display:inline-block;margin-top:8px;padding:3px 10px;border-radius:5px;font-size:13px;background:#fdf4ed;color:#aa5713}
.hx-member-hero.is-vip .hx-member-hero-warn{background:rgba(255,255,255,0.22);color:#fff}
.hx-member-hero-btn{flex:none;padding:10px 24px;border-radius:799px;background:linear-gradient(135deg,#f0af7a,#f4c299);color:#fff;font-weight:700;font-size:14px;text-decoration:none;box-shadow:0 4px 12px rgba(240,175,122,0.3)}
.hx-member-hero-btn:hover{background:linear-gradient(135deg,#eea263,#f2b786);color:#fff}
.hx-member-hero.is-vip .hx-member-hero-btn{background:#fff;color:#eea66b;box-shadow:0 4px 12px rgba(0,0,0,0.12)}
.hx-member-hero.is-vip .hx-member-hero-btn:hover{background:#fefaf6}

.hx-orders-card{max-width:860px}
.hx-orders-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:14px}
.hx-orders-head h2{text-align:left;margin-bottom:0;font-size:17px}
.hx-orders-count{font-size:12.5px;color:#a1aaaa}
.hx-orders-scroll{overflow-x:auto}
.hx-orders-table td{white-space:nowrap}
.hx-orders-table .is-unpaid td{background:#fffdf8}
.hx-td-no{font-family:Consolas,Menlo,monospace;font-size:12.5px;color:#707b7b;max-width:168px;overflow:hidden;text-overflow:ellipsis}
.hx-td-goods{white-space:normal !important;max-width:250px;font-size:13.5px;color:#375151;line-height:1.5}
.hx-goods-tag{display:inline-block;font-size:12px;padding:1px 8px;border-radius:799px;background:#f0fdfd;color:#1dd8d8;margin-right:6px;font-weight:600;vertical-align:1px}
.hx-td-amount{font-weight:700;color:#eea66b}
.hx-td-amount small{font-weight:400;color:#a1aaaa;font-size:12px}
.hx-td-time{color:#a1aaaa;font-size:12.5px}
.hx-state-pill{display:inline-block;padding:2px 11px;border-radius:799px;font-size:13px;font-weight:600}
.hx-state-pill.is-paid{background:#e6f7f7;color:#189393}
.hx-state-pill.is-unpaid-pill{background:#fcf2e8;color:#c66516}
.m-pay-now{padding:5px 16px;border-radius:5px;border:none;background:linear-gradient(135deg,#f0af7a,#f4c299);color:#fff;font-size:12.5px;font-weight:600;cursor:pointer}
.m-pay-now:hover{background:linear-gradient(135deg,#eea263,#f2b786)}
.m-pay-now:disabled{opacity:.6;cursor:default}
.hx-op-muted{color:#d4d8d8}
@media(max-width:768px){
    .hx-member-hero{flex-direction:column;align-items:flex-start}
    .hx-member-hero-btn{align-self:stretch;text-align:center}
}

/* ---- 居中式家族 ---- */
.hx-x-chead{background:#fff;border-bottom:3px double #cfdbd8;text-align:center}
.hx-x-cheadmain{max-width:1000px;margin:0 auto;padding:20px 16px 8px;position:relative}
.hx-x-clogo{font-size:27px;font-weight:800;color:#1d4a4a;letter-spacing:3px}
.hx-x-cslogan{font-size:13px;color:#66776f;letter-spacing:2px;margin-top:4px}
.hx-x-cauth{position:absolute;right:16px;top:20px;display:flex;align-items:center;gap:8px}
.hx-x-act{padding:4px 13px;border:1px solid #cfdbd8;border-radius:3px;color:#1f2c2b;font-size:13px;background:#fff}
.hx-x-act:hover{border-color:#2e6b6b;color:#2e6b6b}
.hx-x-hot{background:#1d4a4a;border-color:#1d4a4a;color:#fff}
.hx-x-ava{width:26px;height:26px;border-radius:50%;background:#b06a2c;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.hx-x-ava.is-vip{box-shadow:0 0 0 2px #ffd54d}
.hx-x-logout{display:inline}
.hx-x-ghost{background:transparent;border:none}
.hx-x-cnav{display:flex;justify-content:center;gap:4px;flex-wrap:wrap;padding:10px 14px 12px;max-width:1100px;margin:0 auto}
.hx-x-cnav a{padding:5px 14px;color:#1f2c2b;font-size:14px;letter-spacing:1px;position:relative}
.hx-x-cnav a:hover{color:#2e6b6b}
.hx-x-cnav a::after{content:'';position:absolute;left:50%;bottom:0;width:0;height:2px;background:#b06a2c;transition:.2s;transform:translateX(-50%)}
.hx-x-cnav a:hover::after{width:60%}
.hx-x-csearchrow{display:flex;justify-content:center;gap:8px;padding:0 14px 16px}
.hx-x-csearch{display:flex}
.hx-x-csearch input{width:300px;padding:8px 14px;border:1px solid #cfdbd8;border-radius:3px 0 0 3px;outline:none;font-size:14px}
.hx-x-csearch button{padding:8px 22px;border:none;background:#b06a2c;color:#fff;border-radius:0 3px 3px 0;font-size:14px}
.hx-x-burger{display:none;flex-direction:column;gap:4px;padding:7px;background:none;border:none}
.hx-x-burger span{display:block;width:21px;height:2px;background:#1d4a4a;border-radius:1px}
/* Hero */
.hx-x-chero{background:linear-gradient(135deg,#1d4a4a,#2e6b6b);color:#fff;text-align:center;padding:34px 18px;border-bottom:4px solid #b06a2c}
.hx-x-cheroin{max-width:680px;margin:0 auto}
.hx-x-chero h1{font-size:26px;letter-spacing:3px;margin:0 0 8px}
.hx-x-chero p{opacity:.9;font-size:14px}
/* 页脚 */
.hx-x-cfoot{background:#1d4a4a;color:#f0e8ea;text-align:center;margin-top:46px}
.hx-x-cfootin{max-width:900px;margin:0 auto;padding:36px 20px 20px}
.hx-x-cfootin strong{font-size:17px;letter-spacing:2px;display:block;margin-bottom:10px}
.hx-x-cfootin>p{font-size:13px;opacity:.7;line-height:1.8;max-width:640px;margin:0 auto}
.hx-x-cfootnav{display:flex;justify-content:center;gap:22px;margin:18px 0;flex-wrap:wrap}
.hx-x-cfootnav a{font-size:14px;opacity:.8;color:#f0e8ea}
.hx-x-ccopy{border-top:1px solid rgba(255,255,255,.15);padding-top:16px;font-size:13px;opacity:.6}
/* 首页列表 */
.hx-x-chips{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-bottom:24px}
.hx-x-chip{display:inline-flex;align-items:center;gap:6px;padding:9px 20px;border:1px solid #cfdbd8;background:#ffffff;color:#1f2c2b;font-size:14px;font-weight:600;border-radius:3px}
.hx-x-chip:hover{border-color:#2e6b6b;color:#2e6b6b}
.hx-x-chip span{color:#b06a2c;font-size:12px}
.hx-x-sechead{text-align:center;margin:26px 0 18px}
.hx-x-sechead h2{font-size:20px;color:#1f2c2b;letter-spacing:2px;display:inline-block;position:relative;padding:0 18px}
.hx-x-sechead h2::before,.hx-x-sechead h2::after{content:'—';color:#b06a2c;margin:0 10px;opacity:.6}
.hx-x-sechead span{display:block;font-size:13px;color:#66776f;margin-top:4px}
.hx-x-empty{background:#ffffff;border:1px dashed #cfdbd8;padding:28px 20px;text-align:center;color:#66776f}
.hx-x-vlist{max-width:860px;margin:0 auto;background:#ffffff;border:1px solid #cfdbd8;border-radius:6px;overflow:hidden}
.hx-x-vitem{display:flex;align-items:center;gap:14px;padding:14px 18px;border-bottom:1px solid #cfdbd8}
.hx-x-vitem:last-child{border-bottom:none}
.hx-x-vitem:hover{background:#e9f2f1}
.hx-x-vno{width:22px;height:22px;border-radius:50%;background:#e9f2f1;color:#2e6b6b;font-size:13px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.hx-x-vbody{flex:1;min-width:0}
.hx-x-vbody h3{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hx-x-vbody h3 a{color:#1f2c2b}
.hx-x-vbody h3 a:hover{color:#2e6b6b}
.hx-x-vmeta{display:flex;gap:12px;font-size:13px;color:#66776f;margin-top:3px;align-items:center}
.hx-x-vprice{color:#b06a2c;font-size:14px;flex:none}
.hx-x-homeseo{background:#ffffff;border:1px solid #cfdbd8;border-radius:6px;padding:22px 24px;margin-top:30px;max-width:860px;margin-left:auto;margin-right:auto}
.hx-x-homeseo h2{font-size:17px;margin-bottom:10px;color:#1f2c2b;text-align:center;letter-spacing:1px}
.hx-x-homeseobody{font-size:14px;color:#66776f;line-height:1.9}
.hx-x-homelinks{margin-top:26px;background:#ffffff;border:1px solid #cfdbd8;border-radius:6px;padding:18px 22px;max-width:860px;margin-left:auto;margin-right:auto}
.hx-x-homelinks h2{font-size:14px;color:#1f2c2b;margin-bottom:10px;text-align:center}
.hx-x-homelinksbody{display:flex;flex-wrap:wrap;gap:8px 18px;justify-content:center}
.hx-x-homelinksbody a{font-size:14px;color:#66776f}
.hx-x-homelinksbody a:hover{color:#2e6b6b}
@media(max-width:768px){
.hx-x-cauth{position:static;justify-content:center;margin-top:10px}
.hx-x-csearchrow{flex-wrap:wrap}
.hx-x-csearch input{width:200px}
.hx-x-cnav{display:none}
.hx-x-cnav.open{display:flex;flex-direction:column}
.hx-x-csearchrow .hx-x-burger{display:flex}
.hx-x-chero h1{font-size:22px}
}
/* ---- 品牌基调 ---- */
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:#2e6b6b;}a:hover{color:#1d4a4a;}
::selection{background:#b06a2c;color:#fff;}
body{background:#f3f6f5;color:#1f2c2b;}
