/* ==========================================================================
   极客学堂 · 前台样式（对齐易优「在线知识付费」模板：白底、浅灰分区、四列资源卡）
   ========================================================================== */
:root{
  --ink:#22262b;
  --ink-2:#3a4048;
  --muted:#8b9199;
  --muted-2:#aab0b8;
  --line:#e8eaee;
  --bg:#f5f6f8;
  --paper:#ffffff;
  --brand:#2f4e66;
  --brand-2:#22384a;
  --brand-soft:#eef3f7;
  --orange:#ff7a1a;
  --price:#ff8a00;
  --teal:#1fb6a6;
  --ok:#1c8a5f;
  --warn:#c97614;
  --bad:#c0392b;
  --shadow:0 10px 30px rgba(28,40,54,.10);
  --shadow-sm:0 2px 10px rgba(28,40,54,.06);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font:15px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
}
a{color:inherit;text-decoration:none}
a:hover{color:var(--brand)}
img{max-width:100%;display:block}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--brand-soft);padding:1px 6px;border-radius:4px;font-size:13px}
h1,h2,h3,h4{margin:0;line-height:1.35;letter-spacing:.2px}
p{margin:0}
.wrap{max-width:1220px;margin:0 auto;padding:0 24px}
.narrow{max-width:900px}
.page-pad{padding-top:28px;padding-bottom:60px}
.muted{color:var(--muted)}
.inline-form{display:inline}
.link-btn{background:none;border:0;color:var(--brand);cursor:pointer;font-size:13px;padding:0 4px;font-family:inherit}
.link-btn:hover{text-decoration:underline}

/* ---------- 按钮 ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;border-radius:3px;
  padding:10px 22px;font-size:14px;font-weight:500;cursor:pointer;transition:.18s;white-space:nowrap;font-family:inherit}
.btn-primary{background:var(--brand);color:#fff;border-color:var(--brand)}
.btn-primary:hover{background:var(--brand-2);color:#fff}
.btn-outline{background:#fff;color:var(--brand);border-color:#cfd8de}
.btn-outline:hover{background:var(--brand-soft);color:var(--brand)}
.btn-ghost{background:#f2f4f6;color:var(--ink-2);border-color:var(--line)}
.btn-ghost:hover{background:#e9edf0;color:var(--brand)}
.btn-block{width:100%}
.btn-sm{padding:7px 14px;font-size:13px;border-radius:2px}

/* ---------- 页头 ---------- */
.site-header{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid var(--line)}
.header-inner{max-width:1220px;margin:0 auto;padding:0 24px;height:78px;display:flex;align-items:center;gap:0}
.logo{display:flex;align-items:center;gap:10px;color:var(--ink);padding-right:26px;margin-right:26px;border-right:1px solid var(--line);height:38px}
.logo img{width:38px;height:38px}
.logo-text{display:flex;flex-direction:column;line-height:1.1}
.logo-text strong{font-size:20px;letter-spacing:1px;font-weight:600}
.logo-text small{font-size:10px;color:var(--muted);letter-spacing:1.5px;margin-top:3px;font-weight:400}
.site-nav{display:flex;gap:2px}
.nav-link{padding:6px 14px;color:var(--ink-2);font-size:15px;white-space:nowrap}
.nav-link:hover{color:var(--brand)}
.nav-link.is-active{color:var(--ink);font-weight:600}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:12px}
.login-pill{display:inline-flex;align-items:center;gap:6px;background:#f3f5f6;color:var(--ink-2);font-size:13px;padding:7px 16px;border-radius:3px}
.login-pill:hover{background:#e9edf0;color:var(--brand)}
.icon-btn{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  color:var(--ink-2);font-size:15px;cursor:pointer;border:0;background:transparent}
.icon-btn:hover{background:#f2f4f6;color:var(--brand)}
.icon-btn.dark{background:#2b2f36;color:#fff}
.icon-btn.dark:hover{background:#1c2025;color:#fff}
.cart-link{position:relative;width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--ink-2);font-size:17px}
.cart-link:hover{background:#f2f4f6}
.cart-badge{position:absolute;top:-2px;right:-2px;background:var(--orange);color:#fff;font-size:10px;border-radius:999px;padding:0 5px;line-height:15px}
.announce{background:#fbf7ef;border-top:1px solid #f3ecdf;font-size:13px;color:#9a7a45;text-align:center;padding:6px 16px}
.announce .dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--orange);margin-right:8px;vertical-align:2px}

/* ---------- 首屏 ---------- */
.hero{position:relative;height:400px;background:#8e9aa6 url('../img/banner.jpg') center/cover no-repeat;display:flex;align-items:center;justify-content:center}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(120,134,150,.34),rgba(98,112,128,.42))}
.hero-inner{position:relative;z-index:2;max-width:860px;width:100%;margin:0 auto;padding:0 24px;text-align:center;color:#fff}
.hero-kicker{font-size:12px;letter-spacing:3px;color:rgba(255,255,255,.86);margin-bottom:14px}
.hero h1{font-size:36px;font-weight:400;letter-spacing:7px;color:#fff;text-shadow:0 2px 14px rgba(30,40,52,.25)}
.hero-sub{font-size:14px;color:rgba(255,255,255,.88);margin-top:12px;letter-spacing:2px}
.hero-search{display:flex;align-items:center;gap:0;max-width:700px;margin:30px auto 0;background:rgba(255,255,255,.16);padding:7px;border-radius:2px}
.hero-search input{flex:1;height:46px;border:0;outline:0;padding:0 16px;font-size:14px;background:#fff;color:var(--ink);font-family:inherit;border-radius:1px}
.hero-search button{height:46px;border:0;background:var(--brand);color:#fff;padding:0 34px;font-size:14px;cursor:pointer;border-radius:1px;letter-spacing:2px}
.hero-search button:hover{background:var(--brand-2)}
.hero-stats{display:flex;justify-content:center;gap:36px;margin-top:22px;color:rgba(255,255,255,.85);font-size:12px;flex-wrap:wrap}
.hero-stats strong{color:#fff;font-size:15px;margin-right:4px}

/* ---------- 分类条 ---------- */
.cat-strip{background:#fff;border-bottom:1px solid var(--line)}
.cat-strip .wrap{display:flex;gap:10px;padding:14px 24px;overflow-x:auto}
.cat-chip{padding:5px 16px;border-radius:2px;background:#f4f6f7;color:var(--ink-2);font-size:13px;white-space:nowrap}
.cat-chip:hover{background:var(--brand);color:#fff}

/* ---------- 分区 ---------- */
.section{padding:0 0 6px}
.section-alt{background:transparent}
.sec-head{display:flex;align-items:center;margin:40px 0 22px}
.sec-title{display:flex;align-items:center;gap:9px;background:#fff;padding:8px 18px;font-size:16px;font-weight:600;color:var(--ink);box-shadow:0 1px 4px rgba(20,30,40,.04)}
.sec-title .ico{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;color:#9aa1a9;font-size:14px}
.sec-line{flex:1;height:1px;background:#e3e6ea}
.sec-more{font-size:13px;color:var(--muted);margin-left:14px;white-space:nowrap}
.sec-more:hover{color:var(--brand)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px;gap:12px}
.section-head h2{font-size:22px}
.more{font-size:13px;color:var(--muted)}
.more:hover{color:var(--brand)}

/* ---------- 资源卡片 ---------- */
.res-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.grid-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.card{background:#fff;border:0;border-radius:2px;overflow:hidden;transition:.22s;display:flex;flex-direction:column;box-shadow:0 1px 2px rgba(25,35,45,.03)}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.card-cover{position:relative;display:block;aspect-ratio:16/9;background:#eef1f3;overflow:hidden}
.card-cover img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.card:hover .card-cover img{transform:scale(1.03)}
.card-cover::after{content:"";position:absolute;left:-6%;right:-6%;bottom:-22px;height:32px;background:#fff;border-radius:50% 50% 0 0}
.card-lock{position:absolute;left:0;top:0;z-index:2;width:34px;height:34px;background:rgba(30,34,40,.82);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;border-radius:0 0 4px 0}
.card-body{padding:16px 18px 14px;display:flex;flex-direction:column;gap:9px;flex:1;position:relative;z-index:3}
.card-meta{display:flex;align-items:center;gap:10px;font-size:12px}
.card-cat{color:var(--orange);font-weight:400;display:inline-flex;align-items:center;gap:5px}
.card-cat::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--orange);display:inline-block}
.card-level{color:var(--muted-2);font-size:11.5px}
.card-body h3{font-size:16px;line-height:1.55;font-weight:600;min-height:49px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-body h3 a{color:var(--ink)}
.card-sub{display:none}
.card-foot{margin-top:auto;display:flex;align-items:center;gap:10px;padding-top:12px;border-top:1px solid #f1f3f5;font-size:12px;color:var(--muted)}
.card-foot .date::before{content:"◷";margin-right:4px;font-size:12px}
.card-sales{margin-left:auto;color:var(--muted)}
.card-sales::before{content:"◉";margin-right:4px;font-size:12px}
.card-price{margin-left:auto;background:var(--price);color:#fff;font-size:12px;padding:3px 8px;border-radius:2px;font-weight:600}
.card .price{display:none}
.price{color:var(--price);font-weight:700;font-size:19px}
.price.big{font-size:30px}
.price-old{color:var(--muted);text-decoration:line-through;font-size:13px}

/* 横向资源条（网络资源） */
.res-rows{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}
.res-row{display:flex;gap:0;background:#fff;box-shadow:0 1px 2px rgba(25,35,45,.03);transition:.2s}
.res-row:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.res-row-cover{width:230px;flex:0 0 230px;aspect-ratio:16/9;overflow:hidden;background:#eef1f3}
.res-row-cover img{width:100%;height:100%;object-fit:cover}
.res-row-body{flex:1;padding:14px 18px 10px;display:flex;flex-direction:column;min-width:0}
.res-user{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin-bottom:8px}
.res-avatar{width:18px;height:18px;border-radius:50%;background:#dfe4e8;display:inline-flex;align-items:center;justify-content:center;font-size:10px;color:#8b9199}
.res-row h3{font-size:15px;line-height:1.5;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.res-row-foot{margin-top:auto;display:flex;justify-content:space-between;font-size:12px;color:var(--muted);border-top:1px solid #f1f3f5;padding-top:8px}
.load-more{display:flex;justify-content:center;margin:34px 0 6px}
.load-more a{display:inline-flex;align-items:center;justify-content:center;background:var(--brand);color:#fff;font-size:14px;padding:12px 0;width:250px;letter-spacing:2px}
.load-more a:hover{background:var(--brand-2);color:#fff}

/* ---------- 信任条 ---------- */
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.trust-item{background:#fff;border:1px solid var(--line);border-radius:2px;padding:22px}
.trust-item strong{display:block;font-size:14px;margin-bottom:6px;color:var(--brand);font-weight:600}
.trust-item p{color:var(--muted);font-size:12.5px;line-height:1.75}

/* ---------- 文章 ---------- */
.grid-articles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.article-card{background:#fff;border:1px solid var(--line);border-radius:2px;padding:22px;display:flex;flex-direction:column;gap:8px;transition:.18s}
.article-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.article-tag{font-size:11px;color:var(--orange);font-weight:600;letter-spacing:1px}
.article-card h3{font-size:16px;color:var(--ink)}
.article-card p{color:var(--muted);font-size:13px;flex:1}
.article-more{font-size:13px;color:var(--brand)}
.article-list{display:flex;flex-direction:column;gap:0;border-top:1px solid var(--line)}
.article-row{display:flex;justify-content:space-between;gap:20px;padding:20px 4px;border-bottom:1px solid var(--line);color:var(--ink)}
.article-row:hover{background:#fff}
.article-row h3{font-size:17px;margin-bottom:6px}
.article-row p{color:var(--muted);font-size:13px}
.article-row > span{color:var(--muted);font-size:12px;white-space:nowrap}

/* ---------- 会员/社群条 ---------- */
.vip-band{background:#2b2f36;color:#fff;padding:56px 0;text-align:center;position:relative;overflow:hidden}
.vip-band::before{content:"";position:absolute;inset:0;background:radial-gradient(700px 300px at 20% 0%,rgba(255,255,255,.07),transparent 60%)}
.vip-inner{position:relative;z-index:1}
.vip-band h2{font-size:24px;font-weight:400;letter-spacing:1px}
.vip-band p{color:rgba(255,255,255,.65);font-size:13px;margin-top:8px}
.vip-actions{display:flex;justify-content:center;gap:16px;margin-top:24px;flex-wrap:wrap}
.vip-stat{display:inline-flex;align-items:center;justify-content:center;min-width:240px;height:42px;background:rgba(255,255,255,.14);color:rgba(255,255,255,.82);font-size:13px}
.vip-btn{display:inline-flex;align-items:center;justify-content:center;min-width:140px;height:42px;border:1px solid rgba(255,255,255,.45);color:#fff;font-size:13px;background:transparent}
.vip-btn:hover{background:rgba(255,255,255,.12);color:#fff}
.cta{background:#2b2f36;color:#fff;padding:44px 0}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.cta h2{font-size:22px;margin-bottom:8px;font-weight:400}
.cta p{color:rgba(255,255,255,.65);font-size:13px}
.cta-actions{display:flex;gap:10px;align-items:center}
.cta .btn-primary{background:#fff;color:var(--brand);border-color:#fff}
.cta .btn-primary:hover{background:#eef3f7;color:var(--brand)}
.cta .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
.cta .btn-ghost:hover{background:rgba(255,255,255,.12);color:#fff}

/* ---------- 列表页 ---------- */
.breadcrumb{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);margin-bottom:18px;flex-wrap:wrap}
.breadcrumb a{color:var(--muted)}
.breadcrumb .current{color:var(--ink)}
.page-head{margin-bottom:22px}
.page-head h1{font-size:28px;font-weight:600}
.page-head p{color:var(--muted);margin-top:6px;font-size:13px}
.filters{background:#fff;border:1px solid var(--line);border-radius:2px;padding:14px 18px;margin-bottom:26px;display:flex;flex-direction:column;gap:10px}
.filter-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.chip{padding:5px 14px;border-radius:2px;background:#f4f6f7;border:1px solid transparent;font-size:13px;color:var(--ink-2)}
.chip:hover{border-color:#cfd8de;color:var(--brand)}
.chip.on{background:var(--brand);color:#fff;border-color:var(--brand)}
.sort{font-size:13px;color:var(--muted);padding:4px 10px;border-radius:2px}
.sort:hover{color:var(--brand);background:#f4f6f7}
.sort.on{color:var(--brand);font-weight:600;background:#fff;border:1px solid #cfd8de}
.sort-row{border-top:1px dashed var(--line);padding-top:10px}
.pager{display:flex;gap:6px;justify-content:center;margin-top:34px;flex-wrap:wrap}
.pager-btn{min-width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--line);border-radius:2px;font-size:13px;color:var(--ink-2);background:#fff}
.pager-btn:hover{border-color:var(--brand);color:var(--brand)}
.pager-btn.is-active{background:var(--brand);color:#fff;border-color:var(--brand)}
.pager-btn.disabled{color:#c3cad1;background:#f2f4f6}
.pager-gap{color:var(--muted);padding:0 4px;align-self:center}
.empty{text-align:center;padding:64px 20px;border:1px dashed var(--line);border-radius:2px;background:#fff}
.empty h3{font-size:20px;margin-bottom:8px}
.empty p{color:var(--muted);margin-bottom:16px}

/* ---------- 详情页 ---------- */
.product-layout{display:grid;grid-template-columns:1fr 340px;gap:32px;align-items:start}
.product-main{background:#fff;padding:0 0 8px}
.product-hero{overflow:hidden;aspect-ratio:16/9;background:#eef1f3}
.product-hero img{width:100%;height:100%;object-fit:cover}
.product-head{padding:24px 28px 8px}
.product-tags{display:flex;gap:8px;margin-bottom:12px}
.tag{background:var(--brand-soft);color:var(--brand);font-size:12px;padding:3px 10px;border-radius:2px}
.tag.ghost{background:#f4f6f7;color:var(--muted)}
.product-head h1{font-size:28px;margin-bottom:8px}
.product-sub{color:var(--muted);font-size:14px}
.product-meta{display:flex;gap:22px;margin-top:14px;font-size:13px;color:var(--muted);flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid var(--line)}
.block{padding:26px 28px;border-top:1px solid var(--line)}
.block h2{font-size:19px;margin-bottom:14px}
.long-text{color:var(--ink-2);font-size:14.5px;line-height:1.95}
.outline{margin:0;padding-left:20px;color:var(--ink-2);font-size:14px}
.outline li{margin-bottom:8px}
.deliver-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.deliver-item{border:1px solid var(--line);border-radius:2px;padding:16px;background:#fff}
.deliver-item strong{display:block;color:var(--brand);font-size:14px;margin-bottom:6px}
.deliver-item p{color:var(--muted);font-size:13px;margin-bottom:8px}
.faq-mini{display:grid;gap:14px}
.faq-mini strong{display:block;margin-bottom:4px;font-size:14.5px}
.faq-mini p{color:var(--muted);font-size:13.5px}
.buy-card{position:sticky;top:96px;border:1px solid var(--line);border-radius:2px;background:#fff;box-shadow:var(--shadow-sm)}
.buy-card-body{padding:24px}
.buy-price{display:flex;align-items:baseline;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.buy-sales{color:var(--muted);font-size:12px;margin-left:auto}
.buy-title{font-size:14px;color:var(--ink-2);margin-bottom:14px}
.buy-points{list-style:none;margin:0 0 18px;padding:0;font-size:13px;color:var(--ink-2)}
.buy-points li{margin-bottom:6px;color:var(--muted)}
.buy-card form{margin-bottom:10px}
.buy-support{margin-top:16px;padding-top:16px;border-top:1px dashed var(--line);font-size:12.5px;color:var(--muted);display:grid;gap:8px}
.buy-note{font-size:12px;color:var(--muted);margin-top:12px;line-height:1.6}

/* ---------- 微信组件 ---------- */
.wx-link{display:inline-flex}
.wx-missing{color:var(--muted);font-size:12px}
.wx-card{display:flex;gap:18px;align-items:flex-start;border:1px solid var(--line);border-radius:2px;padding:16px;background:#f7f8fa}
.wx-card-empty{display:block;color:var(--muted);font-size:13px}
.wx-card-compact{background:#fff;border-style:dashed}
.wx-card-qr{width:150px;height:150px;border-radius:4px;border:1px solid var(--line);background:#fff;object-fit:cover}
.wx-card-qr-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);font-size:12px;text-align:center;gap:4px}
.wx-card-main{display:flex;flex-direction:column;gap:6px;min-width:0}
.wx-card-label{font-size:12px;color:var(--muted)}
.wx-card-id{display:flex;align-items:center;gap:8px;font-size:15px}
.wx-card-id code{font-size:14px;background:#fff;border:1px solid var(--line)}
.wx-card-tip{font-size:12px;color:var(--muted);line-height:1.6}
.wx-ico{font-size:13px}
.wx-modal[hidden]{display:none}
.wx-modal{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:20px}
.wx-modal-mask{position:absolute;inset:0;background:rgba(16,26,42,.55);backdrop-filter:blur(3px)}
.wx-modal-card{position:relative;width:100%;max-width:380px;background:#fff;border-radius:4px;padding:26px 24px 22px;box-shadow:0 24px 60px rgba(0,0,0,.25);text-align:center}
.wx-modal-card h3{font-size:18px;margin-bottom:6px}
.wx-modal-sub{font-size:12.5px;color:var(--muted);margin-bottom:16px}
.wx-modal-close{position:absolute;right:12px;top:10px;border:0;background:none;font-size:22px;color:var(--muted);cursor:pointer;line-height:1}
.wx-modal-qr{width:180px;height:180px;margin:0 auto 16px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff}
.wx-modal-qr img{width:100%;height:100%;object-fit:contain}
.wx-modal-qr .qr-fallback{font-size:12px;color:var(--muted);padding:12px;line-height:1.7;word-break:break-word}
.wx-modal-id{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:var(--muted);margin-bottom:14px}
.wx-modal-id code{font-size:15px;color:var(--ink)}
.wx-modal-tip{font-size:11.5px;color:var(--muted);margin-top:12px;line-height:1.7;text-align:left}
.wx-modal-toast{position:fixed;left:50%;bottom:40px;transform:translateX(-50%);background:rgba(34,38,43,.94);color:#fff;padding:9px 18px;border-radius:2px;font-size:13px;z-index:300}

/* ---------- 购物车 / 结算 ---------- */
.cart-box{border:1px solid var(--line);border-radius:2px;overflow:hidden;background:#fff}
.cart-row{display:flex;align-items:center;gap:16px;padding:14px 16px;border-bottom:1px solid var(--line);background:#fff}
.cart-row:last-child{border-bottom:0}
.cart-row img{width:110px;aspect-ratio:16/9;object-fit:cover;border-radius:2px}
.cart-main{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.cart-main a{font-size:14px;color:var(--ink);font-weight:600}
.cart-main span{font-size:12px;color:var(--muted)}
.cart-qty{display:flex;align-items:center;gap:6px}
.cart-qty button{width:26px;height:26px;border:1px solid var(--line);background:#fff;border-radius:2px;cursor:pointer;font-size:14px}
.cart-qty button:disabled{color:#c3cedd;cursor:not-allowed}
.cart-qty span{min-width:18px;text-align:center;font-size:13px}
.cart-price{font-weight:600;min-width:80px;text-align:right;color:var(--price)}
.cart-total{display:flex;align-items:center;justify-content:flex-end;gap:20px;margin-top:20px;padding:16px 18px;border:1px solid var(--line);border-radius:2px;background:#fff}
.cart-total strong{font-size:22px;color:var(--price)}
.checkout-grid{display:grid;grid-template-columns:1fr 360px;gap:24px;align-items:start}
.panel{border:1px solid var(--line);border-radius:2px;background:#fff;padding:24px}
.panel h2{font-size:18px;margin-bottom:16px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;font-size:13px}
.field > span{color:var(--muted);font-size:12.5px}
.field input,.field select,.field textarea{border:1px solid var(--line);border-radius:2px;padding:10px 12px;font-size:14px;font-family:inherit;color:var(--ink);background:#fff;outline:0}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(47,78,102,.10)}
.field-tip{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.6}
.pay-methods{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.pay-method{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:2px;padding:12px;cursor:pointer;font-size:14px}
.pay-method:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}
.pay-method span{display:flex;flex-direction:column}
.pay-method small{font-size:11px;color:var(--muted)}
.order-summary .oi-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;font-size:13.5px;border-bottom:1px dashed var(--line)}
.oi-title em{color:var(--muted);font-style:normal;margin-left:6px;font-size:12px}
.oi-total{border-bottom:0;padding-top:14px;align-items:baseline}
.oi-total strong{font-size:22px;color:var(--price)}
.coupon-box{margin:12px 0}
.coupon-box form{display:flex;gap:8px}
.coupon-box input{flex:1;border:1px solid var(--line);border-radius:2px;padding:8px 12px;font-size:13px}
.coupon-ok{color:var(--ok);font-size:12px;margin-top:6px}
.coupon-err{color:var(--bad);font-size:12px;margin-top:6px}
.green{color:var(--ok)}
.order-help{margin-top:16px;font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:8px;flex-wrap:wrap}

/* ---------- 支付页 ---------- */
.pay-page{max-width:880px;margin:0 auto;background:#fff;padding:28px;border:1px solid var(--line)}
.pay-head{text-align:center;margin-bottom:24px}
.pay-badge{display:inline-block;font-size:12px;background:var(--brand-soft);color:var(--brand);padding:3px 12px;border-radius:2px;margin-bottom:10px}
.pay-head h1{font-size:24px}
.pay-head p{color:var(--muted);font-size:13px;margin-top:6px}
.pay-main{display:grid;grid-template-columns:300px 1fr;gap:28px;align-items:start}
.qr-wrap{text-align:center}
.qr-box{width:220px;height:220px;margin:0 auto;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden}
.qr-box img{width:100%;height:100%;object-fit:contain}
.qr-box canvas{width:100%;height:100%}
.qr-tip{font-size:12.5px;color:var(--muted);margin-top:10px}
.pay-count{font-size:13px;color:var(--muted);margin-bottom:10px}
.pay-count strong{color:var(--warn);font-variant-numeric:tabular-nums}
.pay-side .oi-row{border-bottom:1px dashed var(--line)}

/* ---------- 订单 ---------- */
.order-list{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);border-radius:2px;overflow:hidden;background:#fff}
.order-row{display:grid;grid-template-columns:1fr auto auto auto;gap:16px;align-items:center;padding:16px;background:#fff;border-bottom:1px solid var(--line)}
.order-row:last-child{border-bottom:0}
.order-no{font-size:14px;font-weight:600;color:var(--ink)}
.order-row p{font-size:12px;color:var(--muted);margin-top:2px}
.status{font-size:12px;padding:3px 10px;border-radius:2px;background:#f4f6f7;color:var(--muted);white-space:nowrap}
.status.ok{background:#e7f6ee;color:var(--ok)}
.status.warn{background:#fdf1e0;color:var(--warn)}
.status.muted{background:#f1f3f5;color:var(--muted)}
.order-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.order-head h1{font-size:22px;margin-top:8px}
.order-amount{font-size:24px;color:var(--price)}
.meta-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.meta-grid > div{display:flex;flex-direction:column;gap:2px}
.meta-grid span{font-size:12px;color:var(--muted)}
.meta-grid strong{font-size:13.5px;font-weight:600}
.delivery-card{border:1px solid var(--line);padding:14px;margin-bottom:10px;background:#f7f8fa}
.dc-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px;font-size:14px}
.dc-line{font-size:12.5px;color:var(--muted)}
.order-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.order-wx .wx-card{margin-top:6px}

/* ---------- 我的 / 交付 ---------- */
.my-list{display:flex;flex-direction:column;gap:10px}
.my-card{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid var(--line);background:#fff;padding:16px}
.my-card strong{font-size:15px}
.my-card p{font-size:12.5px;color:var(--muted);margin-top:3px}
.file-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px;border:1px solid var(--line);margin-bottom:10px;background:#fff}
.file-row strong{display:block;font-size:14px}
.file-row span{font-size:12px;color:var(--muted)}
.card-key{display:flex;align-items:center;gap:10px;font-size:18px}
.card-key code{font-size:16px;background:var(--brand-soft);padding:4px 12px}
.group-block{margin-top:16px;padding-top:14px;border-top:1px dashed var(--line)}
.group-label{font-size:12.5px;color:var(--muted);margin-bottom:8px}
.group-qr{width:150px;height:150px;border-radius:2px;border:1px solid var(--line);object-fit:cover}
.group-block .qr-box{width:150px;height:150px}

/* ---------- 登录 ---------- */
.auth-card{max-width:420px;margin:36px auto;padding:32px;background:#fff;border:1px solid var(--line)}
.auth-card h1{font-size:24px;margin-bottom:6px}
.auth-card .muted{font-size:13px;margin-bottom:18px}
.auth-alt{text-align:center;font-size:13px;color:var(--muted);margin-top:14px}

/* ---------- 文章正文 / 静态页 ---------- */
.article{background:#fff;padding:32px;border:1px solid var(--line)}
.article h1{font-size:28px;margin-bottom:10px}
.article-meta{font-size:12px;color:var(--muted);margin-bottom:22px}
.article-body{font-size:15.5px;line-height:1.95;color:var(--ink-2)}
.article-foot{display:flex;gap:10px;margin-top:30px;padding-top:20px;border-top:1px solid var(--line);flex-wrap:wrap}
.static-item{padding:18px 0;border-bottom:1px solid var(--line)}
.static-item h2{font-size:17px;margin-bottom:8px}
.static-item p{color:var(--muted);font-size:14px}
.contact-box{margin-top:28px;border:1px solid var(--line);padding:22px;background:#fff}
.contact-box h3{font-size:17px;margin-bottom:8px}
.contact-box > p{font-size:13px;color:var(--muted);margin-bottom:14px}
.about-block p{font-size:14.5px;color:var(--ink-2);line-height:1.95;margin-bottom:14px}

/* ---------- flash ---------- */
.flash{border-radius:2px;padding:10px 16px;font-size:13px;margin-bottom:16px}
.flash-ok{background:#e7f6ee;color:#12643f;border:1px solid #c4e8d7}
.flash-err{background:#fdeceb;color:#992d22;border:1px solid #f3cbc7}

/* ---------- 商品页 AI 客服 ---------- */
.shop-ai-card{margin-top:16px;border:1px solid rgba(47,78,102,.16);border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 20px 44px -34px rgba(20,40,58,.55)}
.shop-ai-head{display:flex;align-items:center;gap:10px;padding:13px 14px;background:
  radial-gradient(120% 140% at 100% 0%,rgba(45,212,191,.25),transparent 58%),
  linear-gradient(135deg,#132536,#2f4e66 58%,#1d6b70);color:#fff}
.shop-ai-avatar{width:32px;height:32px;flex:0 0 32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;color:#08312c;background:linear-gradient(145deg,#7ef2df,#19b8a6);box-shadow:0 8px 18px -10px rgba(45,212,191,.9)}
.shop-ai-id{min-width:0;flex:1}
.shop-ai-id strong{display:block;font-size:13.5px;font-weight:600;letter-spacing:.01em}
.shop-ai-status{display:flex;align-items:center;gap:5px;margin-top:3px;font-size:10.5px;color:rgba(255,255,255,.62)}
.shop-ai-status i{width:5px;height:5px;border-radius:50%;background:#5eead4;box-shadow:0 0 0 3px rgba(94,234,212,.16)}
.shop-ai-tag{font-size:9px;letter-spacing:.14em;color:rgba(255,255,255,.68);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:3px 7px}
.shop-ai-log{max-height:188px;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;background:linear-gradient(180deg,#f8fcfd,#fff)}
.shop-ai-bubble{font-size:12px;line-height:1.75;padding:9px 11px;border-radius:10px;max-width:94%;white-space:pre-line;word-break:break-word}
.shop-ai-bubble.bot{align-self:flex-start;background:#fff;border:1px solid #e4edf2;color:#3d4b57;border-bottom-left-radius:3px}
.shop-ai-bubble.user{align-self:flex-end;background:linear-gradient(135deg,#2f4e66,#35757c);color:#fff;border-bottom-right-radius:3px}
.shop-ai-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 10px;background:#fff}
.shop-ai-chips button{border:1px solid #dbe7ee;background:#f8fbfd;color:#2f4e66;font-size:10.5px;line-height:1;padding:6px 9px;border-radius:999px;cursor:pointer;font-family:inherit;transition:.18s}
.shop-ai-chips button:hover{border-color:#0d9488;color:#0d7a70;background:#effbfa}
.shop-ai-form{display:flex;align-items:center;gap:6px;margin:0 12px;border:1px solid #dbe5ec;border-radius:11px;background:#fff;padding:4px 4px 4px 11px;transition:.18s}
.shop-ai-form:focus-within{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.12)}
.shop-ai-form input{flex:1;min-width:0;height:32px;border:0;outline:0;background:transparent;font-size:11.5px;color:var(--ink);font-family:inherit}
.shop-ai-form input::placeholder{color:#9aa8b4}
.shop-ai-form button{width:30px;height:30px;flex:0 0 30px;border:0;border-radius:8px;background:linear-gradient(135deg,#0d9488,#14b8a6);color:#fff;font-size:15px;line-height:1;cursor:pointer}
.shop-ai-form button:disabled{opacity:.5;cursor:default}
.shop-ai-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 13px 11px;font-size:10px;color:#93a0ac}
.shop-ai-human{border:0;background:none;padding:0;color:#0d7a70;font-size:10.5px;font-weight:600;cursor:pointer;font-family:inherit}
.shop-ai-human:hover{text-decoration:underline}
.shop-ai-human.is-off{color:#aab3bd;font-weight:400;cursor:default;text-decoration:none}
html[data-theme="dark"] .shop-ai-card{background:#141b23;border-color:#2c3540;box-shadow:0 20px 44px -34px #000}
html[data-theme="dark"] .shop-ai-log{background:linear-gradient(180deg,#161f28,#141b23)}
html[data-theme="dark"] .shop-ai-bubble.bot{background:#1b242e;border-color:#303b47;color:#c9d2dc}
html[data-theme="dark"] .shop-ai-chips{background:#141b23}
html[data-theme="dark"] .shop-ai-chips button{background:#1b242e;border-color:#303b47;color:#9fc3d2}
html[data-theme="dark"] .shop-ai-chips button:hover{border-color:#2dd4bf;color:#5eead4;background:#182a2c}
html[data-theme="dark"] .shop-ai-form{background:#1b242e;border-color:#303b47}
html[data-theme="dark"] .shop-ai-form input{color:#e7eaee}
html[data-theme="dark"] .shop-ai-form input::placeholder{color:#788693}
html[data-theme="dark"] .shop-ai-foot{border-color:#2c3540;color:#7d8b98}
html[data-theme="dark"] .shop-ai-human{color:#5eead4}

/* ---------- 页脚 ---------- */
.site-footer{background:#fff;color:#666;margin-top:0;border-top:1px solid var(--line)}
.footer-inner{max-width:1220px;margin:0 auto;padding:48px 24px 34px;display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:48px}
.footer-logo{display:flex;align-items:center;gap:10px;color:var(--ink);margin-bottom:14px}
.footer-logo img{width:34px;height:34px}
.footer-logo strong{font-size:18px;letter-spacing:1px}
.footer-brand p{font-size:13px;color:#8b9199;line-height:1.9;margin-bottom:14px}
.footer-contact{display:flex;flex-direction:column;gap:8px;font-size:12.5px;color:#8b9199;align-items:flex-start}
.footer-wx-btn{background:#f4f6f7;border-color:var(--line);color:var(--ink-2)}
.footer-wx-btn:hover{background:#eef3f7;color:var(--brand)}
.footer-social{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.social-link{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#8b9199;background:#f4f6f7;padding:5px 11px;border-radius:2px;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.social-link:hover{background:#eef3f7;color:var(--brand)}
.social-static{cursor:default}
.footer-col h4{font-size:14px;color:var(--ink);margin-bottom:16px;font-weight:500}
.footer-col a{display:block;font-size:13px;color:#777;padding:5px 0}
.footer-col a:hover{color:var(--brand)}
.footer-search{width:100%;border:1px solid var(--line);padding:9px 12px;font-size:13px;margin-bottom:14px;font-family:inherit}
.footer-bottom{border-top:1px solid var(--line);max-width:1220px;margin:0 auto;padding:16px 24px;display:flex;justify-content:center;gap:12px;font-size:12px;color:#999;flex-wrap:wrap}

/* ---------- 响应式 ---------- */
@media (max-width:1080px){
  .res-grid,.grid-cards{grid-template-columns:repeat(3,1fr);gap:22px}
  .header-inner{gap:0}
  .logo{padding-right:16px;margin-right:16px}
}
@media (max-width:980px){
  .grid-cards,.res-grid{grid-template-columns:repeat(2,1fr)}
  .grid-articles{grid-template-columns:1fr}
  .trust-grid{grid-template-columns:1fr 1fr}
  .product-layout{grid-template-columns:1fr}
  .buy-card{position:static}
  .checkout-grid{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr 1fr;gap:28px}
  .hero h1{font-size:30px}
  .pay-main{grid-template-columns:1fr}
  .meta-grid{grid-template-columns:1fr 1fr}
  .site-nav{overflow-x:auto}
}
@media (max-width:680px){
  .header-inner{flex-wrap:wrap;gap:10px;height:auto;padding:10px 14px}
  .logo{border-right:0;width:100%;justify-content:center}
  .site-nav{order:3;width:100%;justify-content:center;margin-left:0}
  .header-actions{margin-left:auto}
  .hero{height:300px}
  .hero h1{font-size:24px;letter-spacing:3px}
  .grid-cards,.res-grid{grid-template-columns:1fr}
  .trust-grid{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr}
  .deliver-grid{grid-template-columns:1fr}
  .order-row{grid-template-columns:1fr auto;gap:8px}
  .wx-card{flex-direction:column}
  .wx-modal-qr{width:150px;height:150px}
  .cart-row{flex-wrap:wrap}
  .cart-row img{width:80px}
  .res-row{flex-direction:column}
  .res-row-cover{width:100%;flex:none}
  .product-head,.block{padding-left:18px;padding-right:18px}
  .wrap{padding:0 16px}
}

/* ================= 登录 / 注册 ================= */
.auth-wrap{max-width:1020px;margin:36px auto;display:grid;grid-template-columns:1.05fr .95fr;background:#fff;border:1px solid var(--line);min-height:480px;box-shadow:0 10px 34px rgba(24,36,48,.06)}
.auth-side{position:relative;padding:46px 42px 36px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(180deg,rgba(18,30,41,.35),rgba(18,30,41,.9)),url('../img/banner.jpg') center/cover no-repeat;overflow:hidden}
.auth-side::after{content:"";position:absolute;right:-70px;top:-70px;width:220px;height:220px;border:1px solid rgba(255,255,255,.18);border-radius:50%}
.auth-kicker{position:absolute;left:42px;top:38px;font-size:12px;letter-spacing:.22em;color:rgba(255,255,255,.72)}
.auth-side h2{font-size:26px;line-height:1.45;margin:0 0 20px;font-weight:600;max-width:360px}
.auth-points{list-style:none;padding:0;margin:0 0 26px;display:grid;gap:10px}
.auth-points li{font-size:13.5px;color:rgba(255,255,255,.86);padding-left:18px;position:relative}
.auth-points li::before{content:"";position:absolute;left:0;top:7px;width:6px;height:6px;border-radius:50%;background:var(--orange)}
.auth-side-foot{font-size:12px;color:rgba(255,255,255,.62);margin:0}
.auth-form{padding:52px 46px;display:flex;flex-direction:column;justify-content:center}
.auth-form h1{font-size:24px;margin:0 0 6px}
.auth-form .muted{font-size:13px;margin:0 0 20px;color:var(--muted)}
.auth-form .field{margin-bottom:14px}
.auth-form .btn-block{margin-top:8px}
@media(max-width:820px){.auth-wrap{grid-template-columns:1fr;min-height:0}.auth-side{min-height:230px;padding:34px 26px 26px}.auth-kicker{left:26px;top:24px}.auth-side h2{font-size:20px}.auth-points{display:none}.auth-form{padding:32px 26px}}

/* ================= 夜间模式 ================= */
.theme-toggle .ic-sun{display:none}
html[data-theme="dark"]{color-scheme:dark;--ink:#e7ecf2;--ink-2:#bcc5cf;--muted:#8a94a0;--muted-2:#6f7883;--line:#2a313a;--bg:#11161c;--paper:#191f26;--brand:#84afcb}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .theme-toggle .ic-moon{display:none}
html[data-theme="dark"] .theme-toggle .ic-sun{display:block}
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .cat-strip,
html[data-theme="dark"] .sec-title,
html[data-theme="dark"] .card,
html[data-theme="dark"] .res-row,
html[data-theme="dark"] .trust-item,
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .filters,
html[data-theme="dark"] .empty,
html[data-theme="dark"] .product-main,
html[data-theme="dark"] .deliver-item,
html[data-theme="dark"] .buy-card,
html[data-theme="dark"] .cart-box,
html[data-theme="dark"] .cart-row,
html[data-theme="dark"] .cart-total,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .pay-page,
html[data-theme="dark"] .order-row,
html[data-theme="dark"] .my-card,
html[data-theme="dark"] .article,
html[data-theme="dark"] .auth-wrap,
html[data-theme="dark"] .auth-form,
html[data-theme="dark"] .wx-modal-card,
html[data-theme="dark"] .wx-card,
html[data-theme="dark"] .static-item{background:var(--paper);border-color:var(--line)}
html[data-theme="dark"] .site-footer{background:#141a21;border-color:var(--line)}
html[data-theme="dark"] .card-cover::after{background:var(--paper)}
html[data-theme="dark"] .card-title a,
html[data-theme="dark"] .card h3 a,
html[data-theme="dark"] .article-card h3,
html[data-theme="dark"] .res-row h3,
html[data-theme="dark"] .product-main h1,
html[data-theme="dark"] .product-main h2,
html[data-theme="dark"] .panel h2,
html[data-theme="dark"] .article h1,
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .auth-form h1,
html[data-theme="dark"] .page-head h1{color:var(--ink)}
html[data-theme="dark"] .long-text,
html[data-theme="dark"] .article-body,
html[data-theme="dark"] .product-sub,
html[data-theme="dark"] .footer-col a,
html[data-theme="dark"] .res-row p,
html[data-theme="dark"] .article-card p{color:var(--ink-2)}
html[data-theme="dark"] .btn-outline{background:#1d242c;border-color:#36414c;color:var(--brand)}
html[data-theme="dark"] .btn-ghost{background:#232b34;color:var(--ink-2)}
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .coupon-box input,
html[data-theme="dark"] .footer-search,
html[data-theme="dark"] .cart-qty button{background:#12181f;border-color:#36414c;color:var(--ink)}
html[data-theme="dark"] .hero-search input{background:#fff;color:#22262b}
html[data-theme="dark"] .cat-chip,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .sort,
html[data-theme="dark"] .tag.ghost,
html[data-theme="dark"] .login-pill,
html[data-theme="dark"] .social-link,
html[data-theme="dark"] .icon-btn{background:#232b34;color:var(--ink-2);border-color:#36414c}
html[data-theme="dark"] .sort.on{background:#1c242d;border-color:#41505e;color:var(--brand)}
html[data-theme="dark"] .tag{background:#22313c;color:#9cc4dd}
html[data-theme="dark"] .card-foot,
html[data-theme="dark"] .res-meta,
html[data-theme="dark"] .product-meta,
html[data-theme="dark"] .breadcrumb,
html[data-theme="dark"] .footer-bottom{border-color:#28313a;color:var(--muted)}
html[data-theme="dark"] .card-price{background:var(--price)}
html[data-theme="dark"] .vip-band{background:#1a2027;border-color:#2a313a}
html[data-theme="dark"] .vip-band .vip-search{background:#12181f;border-color:#36414c;color:var(--ink)}
html[data-theme="dark"] .qr-box,
html[data-theme="dark"] .wx-modal-qr,
html[data-theme="dark"] .wx-card-id code{background:#12181f;border-color:#36414c}
html[data-theme="dark"] .wx-modal-mask{background:rgba(0,0,0,.7)}
html[data-theme="dark"] .flash-ok{background:#16281f;border-color:#24503a;color:#a8e0bf}
html[data-theme="dark"] .flash-err{background:#2a1a1a;border-color:#5a2d2d;color:#f0b4b4}
html[data-theme="dark"] .price-old{color:#7c8691}
html[data-theme="dark"] .res-avatar{background:#313b45;color:#aab3bd}
html[data-theme="dark"] .auth-side{background:linear-gradient(180deg,rgba(12,20,28,.45),rgba(12,20,28,.92)),url('../img/banner.jpg') center/cover no-repeat}

/* ================= 付费正文解锁 ================= */
.block-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.block-head h2{margin:0;font-size:18px}
.paid-badge{font-size:12px;color:#1f8a5b;background:#eaf7f0;border:1px solid #c8e8d8;padding:3px 10px;border-radius:999px;white-space:nowrap}
.lock-badge{font-size:12px;color:#b5650b;background:#fff5e6;border:1px solid #ffe0b2;padding:3px 10px;border-radius:999px;white-space:nowrap}
.course-reading .reading-h3{font-size:15px;font-weight:600;margin:22px 0 8px;color:var(--ink)}
.paid-lock{display:flex;align-items:center;gap:16px;border:1px dashed #f0c98a;background:#fffaf0;padding:18px 20px;margin-top:18px;border-radius:3px;flex-wrap:wrap}
.paid-lock-icon{font-size:22px}
.paid-lock h3{margin:0 0 4px;font-size:15px}
.paid-lock p{margin:0;font-size:12.5px;color:#8a6a3a;max-width:460px}
.paid-lock .btn{margin-left:auto}
.my-card-actions{display:flex;gap:8px;flex-wrap:wrap}
html[data-theme="dark"] .paid-lock{background:#241f16;border-color:#5b4726}
html[data-theme="dark"] .paid-lock p{color:#c9ab7d}
html[data-theme="dark"] .paid-badge{background:#16291f;border-color:#2c5a41;color:#9fd7b7}
html[data-theme="dark"] .lock-badge{background:#2a2115;border-color:#5b4726;color:#e0b87a}

/* ================= 买家用户中心 ================= */
.account-wrap{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start}
.account-side{background:#fff;border:1px solid var(--line);border-radius:4px;padding:20px 16px 14px;position:sticky;top:96px}
.account-user{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.account-avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(145deg,#2f4e66,#1d3345);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;flex:none}
.account-user-info{min-width:0}
.account-user-info strong{display:block;font-size:15px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-user-info p{font-size:11.5px;color:var(--muted);margin:2px 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-vip{display:inline-flex;font-size:10.5px;padding:2px 8px;border-radius:999px;background:#f2f4f6;color:#7a8590}
.account-vip.on{background:#fff3e4;color:#b5650b;border:1px solid #ffddb0}
.account-nav{display:flex;flex-direction:column;padding:12px 0 8px}
.account-nav-link{padding:10px 12px;border-radius:4px;font-size:13.5px;color:var(--ink-2);position:relative}
.account-nav-link:hover{background:#f6f8fa;color:var(--ink)}
.account-nav-link.is-active{background:#f1f5f8;color:var(--ink);font-weight:600}
.account-nav-link.is-active::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:2px;background:var(--orange)}
.account-logout{padding:10px 12px 0;border-top:1px solid var(--line);margin-top:4px}
.account-main{min-width:0}
.account-head{margin-bottom:18px}
.account-head h1{font-size:26px;margin:0 0 6px;letter-spacing:-.02em}
.account-head p{margin:0;color:var(--muted);font-size:13px}
.account-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:4px;padding:16px 18px}
.stat-card span{display:block;font-size:11.5px;color:var(--muted);margin-bottom:4px}
.stat-card strong{font-size:24px;letter-spacing:-.02em;color:var(--ink)}
.stat-card em{font-style:normal;font-size:11px;color:var(--muted);margin-left:4px}
.account-section{background:#fff;border:1px solid var(--line);border-radius:4px;padding:18px 20px;margin-bottom:18px}
.account-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.account-section-head h2{font-size:16px;margin:0}
.account-section-head a{font-size:12.5px;color:var(--muted)}
.account-section-head a:hover{color:var(--brand)}
.my-list{display:flex;flex-direction:column}
.my-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--line);flex-wrap:wrap}
.my-card:first-child{border-top:0;padding-top:4px}
.my-card strong{font-size:14px;color:var(--ink);display:block;margin-bottom:3px}
.my-card p{font-size:12px;color:var(--muted);margin:0}
.account-orders{display:flex;flex-direction:column}
.account-order-row{display:grid;grid-template-columns:1fr auto auto auto;gap:14px;align-items:center;padding:11px 0;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.account-order-row:first-child{border-top:0;padding-top:4px}
.account-order-row a{color:var(--ink);font-size:12.5px}
.account-order-row strong{color:var(--ink);font-size:13.5px}
.account-order-row .status,.order-row .status{font-size:11px;padding:2px 8px;border-radius:999px;white-space:nowrap}
.status.ok{background:#eaf7f0;color:#1f8a5b}
.status.warn{background:#fff4e5;color:#b5650b}
.status.muted{background:#f2f4f6;color:#7a8590}
.member-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#2b2f36,#1f2329);color:#fff;border-radius:4px;padding:20px 22px;margin-bottom:18px;flex-wrap:wrap}
.member-banner.is-on{background:linear-gradient(135deg,#2f4e66,#20394d)}
.member-kicker{font-size:10px;letter-spacing:.2em;color:rgba(255,255,255,.55)}
.member-banner h3{font-size:17px;margin:4px 0 4px}
.member-banner p{font-size:12px;color:rgba(255,255,255,.65);margin:0;max-width:560px}
.member-banner .btn-outline{border-color:rgba(255,255,255,.35);color:#fff;background:transparent}
.btn-sm{height:34px;padding:0 14px;font-size:12.5px}
.empty.compact{padding:26px 16px;border:0;background:transparent}
.panel{background:#fff;border:1px solid var(--line);border-radius:4px;padding:20px 22px;margin-bottom:18px}
.panel h2{font-size:16px;margin:0 0 14px}
.account-profile .fg-2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.account-profile .form-actions{margin-top:8px}

/* ================= 会员中心 ================= */
.member-hero{background:radial-gradient(90% 120% at 100% 0,rgba(255,138,0,.22),transparent 55%),linear-gradient(135deg,#2f4e66,#1d3345);color:#fff;border-radius:4px;padding:38px 40px;margin-bottom:20px}
.member-hero .member-kicker{color:rgba(255,255,255,.6)}
.member-hero h1{font-size:32px;letter-spacing:-.02em;margin:8px 0 10px}
.member-hero p{margin:0;max-width:640px;font-size:13.5px;color:rgba(255,255,255,.68);line-height:1.8}
.member-status{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid var(--line);border-radius:4px;padding:18px 20px;margin-bottom:20px;flex-wrap:wrap}
.member-status.on{border-left:4px solid var(--orange)}
.member-status h2{font-size:18px;margin:4px 0 3px}
.member-status p{font-size:12.5px;color:var(--muted);margin:0}
.member-status .member-kicker{color:var(--muted)}
.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}
.plan-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:4px;padding:24px 22px;display:flex;flex-direction:column}
.plan-card.is-hot{border-color:#2f4e66;box-shadow:0 10px 30px -20px rgba(47,78,102,.6);transform:translateY(-4px)}
.plan-hot{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:var(--orange);color:#fff;font-size:11px;padding:3px 12px;border-radius:999px;white-space:nowrap}
.plan-card h3{font-size:19px;margin:0 0 4px}
.plan-sub{font-size:12px;color:var(--muted);margin:0 0 16px;min-height:34px}
.plan-price{display:flex;align-items:baseline;gap:8px;color:var(--price);font-size:30px;font-weight:700;letter-spacing:-.02em}
.plan-orig{font-style:normal;font-size:12px;color:#a9b1ba;text-decoration:line-through;font-weight:400}
.plan-days{font-size:11.5px;color:var(--muted);margin:2px 0 16px}
.plan-benefits{list-style:none;padding:14px 0 0;margin:0 0 20px;border-top:1px solid var(--line);display:grid;gap:9px;flex:1}
.plan-benefits li{font-size:12.5px;color:var(--ink-2)}
.plan-benefits li::first-letter{color:var(--orange)}
.plan-card .btn-block{width:100%}
.member-benefits{background:#fff;border:1px solid var(--line);border-radius:4px;padding:22px;margin-bottom:16px}
.member-benefits h2{font-size:18px;margin:0 0 16px}
.member-benefits .trust-grid{grid-template-columns:repeat(4,1fr);gap:14px}
.member-benefits .trust-item{padding:18px}
.member-note{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 30px}

html[data-theme="dark"] .account-side,html[data-theme="dark"] .account-section,html[data-theme="dark"] .stat-card,html[data-theme="dark"] .panel,html[data-theme="dark"] .plan-card,html[data-theme="dark"] .member-status,html[data-theme="dark"] .member-benefits{background:#1a2027;border-color:#2c3540}
html[data-theme="dark"] .account-head h1,html[data-theme="dark"] .account-section-head h2,html[data-theme="dark"] .my-card strong,html[data-theme="dark"] .stat-card strong,html[data-theme="dark"] .account-order-row a,html[data-theme="dark"] .account-order-row strong,html[data-theme="dark"] .plan-card h3,html[data-theme="dark"] .member-status h2{color:#e7eaee}
html[data-theme="dark"] .account-nav-link{color:#aab3bd}
html[data-theme="dark"] .account-nav-link:hover,html[data-theme="dark"] .account-nav-link.is-active{background:#222a33;color:#fff}
html[data-theme="dark"] .plan-price{color:#ffa04d}
html[data-theme="dark"] .member-hero{background:radial-gradient(90% 120% at 100% 0,rgba(255,138,0,.18),transparent 55%),linear-gradient(135deg,#24323e,#151d24)}
html[data-theme="dark"] .member-banner{background:linear-gradient(135deg,#22272e,#171b20)}
html[data-theme="dark"] .member-banner.is-on{background:linear-gradient(135deg,#24333f,#17242d)}
html[data-theme="dark"] .btn-outline{color:#e7eaee;border-color:#3a4652}
html[data-theme="dark"] .btn-primary{background:#3d7f9f;border-color:#3d7f9f;color:#fff}
html[data-theme="dark"] .btn-primary:hover{background:#34718f;border-color:#34718f;color:#fff}

@media (max-width:900px){.account-wrap{grid-template-columns:1fr}.account-side{position:static}.account-stats{grid-template-columns:repeat(2,1fr)}.plan-grid{grid-template-columns:1fr}.plan-card.is-hot{transform:none}.member-benefits .trust-grid{grid-template-columns:repeat(2,1fr)}.account-profile .fg-2{grid-template-columns:1fr}}
@media (max-width:560px){.account-stats{grid-template-columns:1fr 1fr;gap:8px}.member-hero{padding:28px 22px}.member-hero h1{font-size:25px}.account-order-row{grid-template-columns:1fr auto}.account-order-row strong{justify-self:end}}
.login-pill .vip-tag{display:inline-flex;align-items:center;height:15px;padding:0 5px;margin-left:5px;border-radius:3px;background:#ffedd5;color:#b45309;font-size:9.5px;font-weight:600;letter-spacing:.04em}
html[data-theme="dark"] .login-pill .vip-tag{background:#3a2a17;color:#f3c58c}

/* 产品相册 + 客服名片 */
.product-gallery-block .gallery-count{font-size:11.5px;color:var(--muted)}
.product-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.product-gallery a{display:block;aspect-ratio:16/10;border:1px solid var(--line);border-radius:4px;overflow:hidden;background:#fff;transition:.2s}
.product-gallery a:hover{border-color:var(--brand);box-shadow:0 10px 26px -18px rgba(47,78,102,.7)}
.product-gallery img{width:100%;height:100%;object-fit:cover;display:block}
.shop-support-card{margin-top:16px;padding:14px;border:1px solid var(--line);border-radius:4px;background:#fafbfc;display:flex;gap:13px;align-items:center}
.shop-support-card.is-empty{display:block;font-size:12px;color:var(--muted)}
.shop-support-qr{width:86px;height:86px;flex:0 0 86px;border:1px solid var(--line);border-radius:4px;background:#fff;overflow:hidden}
.shop-support-qr img{width:100%;height:100%;object-fit:cover}
.shop-support-main{min-width:0}
.shop-support-main .support-kicker{display:block;font-size:9px;letter-spacing:.16em;color:var(--orange);margin-bottom:3px}
.shop-support-main strong{display:block;font-size:14px;color:var(--ink);margin-bottom:4px}
.shop-support-main p{font-size:11.5px;color:var(--muted);margin:0 0 3px;overflow-wrap:anywhere}
.shop-support-main code{font-size:11.5px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:3px;padding:1px 5px}
.shop-support-main a{color:var(--brand)}
.shop-support-actions{margin-top:8px}
@media (max-width:760px){.product-gallery{grid-template-columns:repeat(2,1fr)}.shop-support-card{align-items:flex-start}.shop-support-qr{width:72px;height:72px;flex-basis:72px}}
html[data-theme="dark"] .product-gallery a,html[data-theme="dark"] .shop-support-card{background:#1a2027;border-color:#2c3540}
html[data-theme="dark"] .shop-support-main strong{color:#e7eaee}
html[data-theme="dark"] .shop-support-main code{background:#222a33;border-color:#3a4652;color:#e7eaee}

/* ===== 登录 / 注册：参考 aiwetin 双栏风格 ===== */
.auth-page-body{margin:0;background:#fff;color:#241a2b;overflow-x:hidden;color-scheme:light}
.authx-shell{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff;font-family:var(--font,"Inter","PingFang SC","Microsoft YaHei",sans-serif)}
.authx-side{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;padding:44px 56px 30px;background:#2b1038;color:#fff;overflow:hidden}
.authx-side::before{content:"";position:absolute;inset:0;background:radial-gradient(760px 460px at 8% 0%,rgba(116,52,146,.30),transparent 66%),radial-gradient(500px 500px at 96% 92%,rgba(87,30,112,.35),transparent 68%);pointer-events:none}
.authx-side::after{content:"";position:absolute;left:-170px;bottom:-190px;width:480px;height:480px;border:1px solid rgba(255,255,255,.08);border-radius:50%;pointer-events:none}
.authx-brand,.authx-copy,.authx-bottom{position:relative;z-index:1}
.authx-brand strong{display:block;font-size:29px;line-height:1;letter-spacing:-.045em;font-weight:700;color:#fff}
.authx-brand strong span{color:#fff}
.authx-brand small{display:block;margin-top:8px;font-size:9.5px;line-height:1.4;letter-spacing:.17em;color:rgba(255,255,255,.46);text-transform:uppercase}
.authx-copy{max-width:560px;padding:54px 0 42px}
.authx-kicker{display:inline-flex;align-items:center;height:28px;padding:0 13px;border:1px solid rgba(255,255,255,.34);border-radius:999px;font-size:9.5px;letter-spacing:.17em;color:rgba(255,255,255,.78);text-transform:uppercase}
.authx-copy h1{margin:22px 0 18px;font-size:47px;line-height:1.09;letter-spacing:-.045em;font-weight:700;color:#fff}
.authx-copy>p{margin:0 0 28px;max-width:460px;font-size:14.5px;line-height:1.8;color:rgba(255,255,255,.62)}
.authx-points{display:grid;gap:14px;max-width:470px}
.authx-point{display:flex;align-items:center;gap:14px}
.authx-ico{width:40px;height:40px;flex:0 0 40px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.075);color:rgba(255,255,255,.86)}
.authx-ico svg{width:19px;height:19px}
.authx-point strong{display:block;font-size:12.5px;line-height:1.4;font-weight:600;color:#fff}
.authx-point small{display:block;margin-top:3px;font-size:11px;line-height:1.4;color:rgba(255,255,255,.46)}
.authx-bottom{padding-top:18px}
.authx-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:18px 0 18px;border-top:1px solid rgba(255,255,255,.14)}
.authx-stats strong{display:block;font-size:24px;line-height:1.1;font-weight:600;letter-spacing:-.02em;color:#fff}
.authx-stats span{display:block;margin-top:4px;font-size:10.5px;color:rgba(255,255,255,.46)}
.authx-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:6px}
.authx-help{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 15px;border-radius:999px;background:#fff;color:#2b1038;font-size:11.5px;font-weight:600}
.authx-help i{width:7px;height:7px;border-radius:50%;background:#7c3aed;display:block}
.authx-badge{display:inline-flex;align-items:center;height:30px;padding:0 10px;border:1px solid rgba(255,255,255,.2);border-radius:6px;font-size:9.5px;color:rgba(255,255,255,.48)}
.authx-panel{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:90px 48px 54px;background:#fff}
.authx-topbar{position:absolute;left:0;right:0;top:0;height:78px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#8f8398}
.authx-topbar a{color:#8f8398;text-decoration:none}
.authx-topbar a:hover{color:#2b1038}
.authx-inner{width:min(430px,100%)}
.authx-head{margin-bottom:30px}
.authx-head>span{display:block;font-size:9.8px;letter-spacing:.17em;color:#8e8098;text-transform:uppercase}
.authx-head h2{margin:13px 0 10px;font-size:34px;line-height:1.18;letter-spacing:-.035em;font-weight:700;color:#241a2b}
.authx-head p{margin:0;font-size:13.5px;line-height:1.7;color:#6f6378}
.authx-field{display:block;margin:0 0 17px}
.authx-field>span{display:block;margin-bottom:7px;font-size:11.5px;line-height:1.4;color:#6f6378}
.authx-input{position:relative;display:flex;align-items:center;height:54px;border:1px solid #e3dae9;border-radius:12px;background:#fff;transition:border-color .18s,box-shadow .18s}
.authx-input:focus-within{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.08)}
.authx-input-ico{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#a398ab;display:flex;align-items:center;justify-content:center;pointer-events:none}
.authx-input-ico svg{width:18px;height:18px}
.authx-input input{width:100%;height:100%;padding:0 46px 0 46px;border:0;border-radius:12px;background:transparent;font-size:14px;color:#241a2b;outline:none;box-shadow:none}
.authx-input input::placeholder{color:#a79dac}
.authx-pw{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:8px;background:transparent;color:#a398ab;display:flex;align-items:center;justify-content:center;cursor:pointer}
.authx-pw:hover{color:#2b1038;background:#f7f3f9}
.authx-pw svg{width:18px;height:18px}
.authx-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 22px;font-size:11.5px;color:#8f8398}
.authx-row a{color:#6d3a8a;text-decoration:none;font-weight:500;white-space:nowrap}
.authx-row a:hover{text-decoration:underline}
.authx-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:54px;border:0;border-radius:10px;background:#2b1038;color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:background .18s,transform .18s}
.authx-submit:hover{background:#3d1750}
.authx-submit:active{transform:translateY(1px)}
.authx-submit span{font-size:17px;line-height:1;transition:transform .18s}
.authx-submit:hover span{transform:translateX(3px)}
.authx-secure{display:flex;align-items:center;justify-content:center;gap:6px;margin:18px 0 0;font-size:11px;line-height:1.6;color:#9a90a4;text-align:center}
.authx-secure svg{width:13px;height:13px;flex:0 0 13px}
.authx-inner .flash{margin:0 0 16px;border-radius:10px;font-size:12px}
html[data-theme="dark"] .auth-page-body,
html[data-theme="dark"] .authx-panel{background:#fff;color:#241a2b}
html[data-theme="dark"] .authx-head h2{color:#241a2b}
@media(max-width:960px){.authx-shell{grid-template-columns:1fr}.authx-side{min-height:250px;padding:30px 28px 24px}.authx-copy{padding:30px 0 24px}.authx-copy h1{font-size:32px;margin:16px 0 12px}.authx-copy>p{font-size:12.5px;margin-bottom:0}.authx-points,.authx-stats{display:none}.authx-bottom{padding:0}.authx-foot{padding-top:0}.authx-panel{min-height:620px;padding:96px 24px 44px}.authx-topbar{padding:0 24px;height:64px}.authx-head h2{font-size:29px}}
@media(max-width:520px){.authx-side{min-height:210px;padding:26px 20px 22px}.authx-brand strong{font-size:25px}.authx-copy h1{font-size:27px}.authx-panel{padding:82px 20px 38px;min-height:560px}.authx-inner{width:100%}.authx-head h2{font-size:27px}.authx-row{font-size:10.5px}}
.authx-copy>p{max-width:500px}

/* 产品主图多图切换 */
.product-hero{position:relative}
.hero-thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.hero-thumb{width:72px;height:54px;padding:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fff;cursor:pointer;opacity:.62;transition:opacity .18s,border-color .18s}
.hero-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.hero-thumb:hover,.hero-thumb.on{opacity:1;border-color:var(--teal,#0d9488)}
/* 文章付费阅读 */
.article-preview{position:relative;margin-bottom:0}
.article-preview::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:70px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff);pointer-events:none}
.article-paywall{margin:20px 0 0;align-items:center}
.article-paywall .btn{flex:0 0 auto}
.article-unlock-tip{margin-top:12px}
.article-meta .paid-badge{margin-left:8px}
@media(max-width:620px){.article-paywall{display:block}.article-paywall .btn{margin-top:12px}.hero-thumb{width:58px;height:44px}}

/* ===== 前台登录/注册：沿用商城深海军蓝 + 青绿品牌色 ===== */
.auth-page-body{background:#f5f6f8;color:#22262b}
.authx-shell{background:#fff}
.authx-side{background:#102a3a;background-image:radial-gradient(760px 480px at 10% 2%,rgba(47,78,102,.72),transparent 68%),radial-gradient(520px 480px at 94% 92%,rgba(13,148,136,.26),transparent 66%)}
.authx-side::before{background:radial-gradient(620px 420px at 6% 12%,rgba(94,234,212,.10),transparent 64%),radial-gradient(440px 440px at 92% 86%,rgba(255,122,26,.055),transparent 66%)}
.authx-side::after{border-color:rgba(255,255,255,.07)}
.authx-kicker{border-color:rgba(153,246,228,.30);color:rgba(204,251,241,.78)}
.authx-help{background:#0f766e;color:#fff;text-decoration:none}
.authx-help i{background:#5eead4}
.authx-help:hover{background:#115e59}
.authx-topbar{color:#7b8790}
.authx-topbar a:hover{color:#0f766e}
.authx-head>span{color:#0f766e}
.authx-head h2{color:#1c2a33}
.authx-head p{color:#64727b}
.authx-field>span{color:#64727b}
.authx-input{border-color:#dfe7ec;background:#fff}
.authx-input:focus-within{border-color:#0f766e;box-shadow:0 0 0 3px rgba(15,118,110,.10)}
.authx-input-ico{color:#8fa1ab}
.authx-input input{color:#1c2a33}
.authx-pw{color:#8fa1ab}
.authx-pw:hover{color:#2f4e66;background:#f1f5f7}
.authx-row a{color:#0f766e}
.authx-submit{background:#2f4e66}
.authx-submit:hover{background:#22384a}
.authx-secure{color:#8b9199}
.authx-help,.authx-topbar a{text-decoration:none}

/* ===== 前台账号中心：商城页头页脚之间的登录/注册 ===== */
.store-auth{padding:54px 0 88px;background:linear-gradient(180deg,#f2f5f7 0%,#fff 42%)}
.store-auth-panel{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:44% 56%;background:#fff;border:1px solid #e4e9ed;border-radius:22px;overflow:hidden;box-shadow:0 28px 70px -42px rgba(16,42,58,.30)}
.store-auth-intro{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:560px;padding:42px 46px 30px;color:#fff;background:#102a3a;background-image:radial-gradient(580px 420px at 4% 0%,rgba(47,78,102,.74),transparent 68%),radial-gradient(420px 400px at 98% 96%,rgba(13,148,136,.28),transparent 66%);overflow:hidden}
.store-auth-intro::after{content:"";position:absolute;left:-130px;bottom:-160px;width:420px;height:420px;border:1px solid rgba(255,255,255,.07);border-radius:50%;pointer-events:none}
.store-auth-brand,.store-auth-copy,.store-auth-foot{position:relative;z-index:1}
.store-auth-brand strong{display:block;font-size:27px;line-height:1;letter-spacing:-.045em;font-weight:700;color:#fff}
.store-auth-brand small{display:block;margin-top:8px;font-size:9.5px;letter-spacing:.17em;color:rgba(255,255,255,.45);text-transform:uppercase}
.store-auth-copy{padding:44px 0 34px}
.store-auth-kicker{display:inline-flex;align-items:center;height:27px;padding:0 12px;border:1px solid rgba(153,246,228,.28);border-radius:999px;font-size:9px;letter-spacing:.15em;color:rgba(204,251,241,.82);text-transform:uppercase}
.store-auth-copy h1{margin:20px 0 16px;font-size:40px;line-height:1.12;letter-spacing:-.045em;font-weight:700;color:#fff}
.store-auth-copy>p{margin:0 0 26px;font-size:13.5px;line-height:1.8;color:rgba(255,255,255,.60)}
.store-auth-points{display:grid;gap:13px}
.store-auth-point{display:flex;align-items:center;gap:13px}
.store-auth-ico{width:38px;height:38px;flex:0 0 38px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.07);color:rgba(255,255,255,.86)}
.store-auth-ico svg{width:18px;height:18px}
.store-auth-point strong{display:block;font-size:12.5px;font-weight:600;color:#fff}
.store-auth-point small{display:block;margin-top:3px;font-size:10.5px;color:rgba(255,255,255,.45)}
.store-auth-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:22px;border-top:1px solid rgba(255,255,255,.12)}
.store-auth-help{display:inline-flex;align-items:center;gap:7px;height:33px;padding:0 14px;border-radius:999px;background:#0f766e;color:#fff;font-size:11px;font-weight:600;text-decoration:none}
.store-auth-help i{width:7px;height:7px;border-radius:50%;background:#5eead4;display:block}
.store-auth-help:hover{background:#115e59}
.store-auth-foot>span{display:inline-flex;align-items:center;height:28px;padding:0 9px;border:1px solid rgba(255,255,255,.18);border-radius:6px;font-size:9px;color:rgba(255,255,255,.46)}
.store-auth-form{display:flex;flex-direction:column;justify-content:center;padding:46px 52px 30px;background:#fff}
.store-auth-form .authx-head{margin-bottom:26px}
.store-auth-form .authx-head>span{color:#0f766e}
.store-auth-form .authx-head h2{color:#1c2a33;font-size:31px}
.store-auth-form .authx-head p{color:#64727b}
@media(max-width:900px){.store-auth{padding:28px 0 56px}.store-auth-panel{grid-template-columns:1fr;border-radius:16px}.store-auth-intro{min-height:0;padding:28px 26px 22px}.store-auth-copy{padding:26px 0 24px}.store-auth-copy h1{font-size:31px}.store-auth-points{display:none}.store-auth-form{padding:30px 24px 26px}.store-auth-form .authx-head h2{font-size:27px}}
