:root{
  --pri:#ff8fab;
  --pri-d:#fb6f92;
  --pri-soft:#ffe0e9;
  --sec:#c8b6ff;
  --ink:#3d2f3a;
  --muted:#9d8b96;
  --line:rgba(255,255,255,.65);
  --panel:rgba(255,255,255,.82);
  --shadow:0 6px 24px rgba(214,120,150,.18);
  --r:16px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  color:var(--ink);
  font-size:15px;
  line-height:1.6;
  background:#f0f0f3;
}
body::before{
  content:"";position:fixed;inset:0;z-index:-2;
  background:#f0f0f3;
}
@media(max-width:899px){
  body::before{background:#f0f0f3}
}
body::after{
  content:"";position:fixed;inset:0;z-index:-1;
  background:#f0f0f3;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none}
img{display:block;max-width:100%}
.hidden{display:none!important}

/* ---------- 顶部导航 ---------- */
.topbar{
  position:sticky;top:0;z-index:40;
  display:flex;flex-direction:column;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.7);
  box-shadow:0 2px 14px rgba(214,120,150,.10);
}
.tb-row{display:flex;align-items:center;gap:16px;padding:0 26px}
.tb-row1{height:58px}
.tb-row2{height:44px;border-top:1px solid rgba(240,195,210,.4);gap:6px}
.tb-quick{margin-left:auto;display:flex;align-items:center;gap:2px}
.qk{display:flex;align-items:center;gap:5px;padding:6px 10px;border-radius:10px;font-size:13px;color:#6d5a67;white-space:nowrap;transition:all .15s}
.qk svg{width:16px;height:16px;flex-shrink:0}
.qk:hover,.qk.on{background:var(--pri-soft);color:#e5486f;font-weight:600}
.qk-caret{font-size:10px;opacity:.65;margin-left:-1px}
.kefu{position:relative;display:flex}
.kefu-menu{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid #ffdfe8;border-radius:14px;box-shadow:0 12px 32px rgba(214,120,150,.2);padding:6px;min-width:212px;display:none;z-index:50}
.kefu-menu.open{display:block}
.kefu-menu a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px}
.kefu-menu a:hover{background:#fff5f8}
.kefu-ico{width:30px;height:30px;border-radius:9px;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.kefu-ico.qq{background:#12b7f5}
.kefu-ico.tg{background:#2aabee}
.kefu-txt{display:flex;flex-direction:column;line-height:1.35}
.kefu-txt strong{font-size:13px;color:#3d2f3a}
.kefu-txt small{font-size:11px;color:#a98f9e}
.tb-cat-btn,.tb-ai{display:flex;align-items:center;gap:6px;padding:6px 12px;border-radius:10px;font-size:13.5px;color:#6d5a67}
.tb-cat-btn svg,.tb-ai svg{width:15px;height:15px}
.tb-cat-btn:hover,.tb-ai:hover{background:var(--pri-soft);color:#e5486f}
.tb-ai{color:#e5486f;font-weight:600}
.tb-caret{font-size:10px;opacity:.65}
.tb-menu-btn{display:none;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:42px;height:40px;border-radius:10px;color:#6d5a67;font-size:9px;line-height:1}
.tb-menu-btn svg{width:18px;height:18px}
.tb-menu-btn:hover{background:var(--pri-soft);color:#e5486f}
.sb-mask{display:none;position:fixed;inset:0;background:rgba(74,59,71,.45);z-index:38;backdrop-filter:blur(2px)}
.brand{display:flex;align-items:center;gap:9px;flex-shrink:0}
.brand-badge{
  width:34px;height:34px;border-radius:11px;
  background:linear-gradient(135deg,var(--pri),var(--sec));
  color:#fff;font-weight:800;font-size:15px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 12px rgba(251,111,146,.35);
}
.brand-name{font-weight:800;font-size:17px;letter-spacing:.5px;white-space:nowrap}
.topnav{display:flex;gap:4px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}
.topnav::-webkit-scrollbar{display:none}
.topnav a{
  display:flex;align-items:center;gap:5px;white-space:nowrap;
  padding:6px 14px;border-radius:10px;font-size:14px;color:#6d5a67;
  transition:all .15s;
}
.topnav a.on,.topnav a:hover{background:var(--pri-soft);color:#e5486f;font-weight:600}
.top-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.ta-link{
  display:flex;align-items:center;gap:5px;white-space:nowrap;
  padding:6px 12px;border-radius:10px;font-size:13.5px;color:#6d5a67;
}
.ta-link svg{width:16px;height:16px}
.ta-link:hover{background:var(--pri-soft);color:#e5486f}
.ta-lang{
  width:30px;height:30px;border-radius:50%;border:1.5px solid #ecc3d1;
  display:flex;align-items:center;justify-content:center;font-size:12.5px;color:#b2506f;
}

/* ---------- 布局 ---------- */
.layout{
  max-width:1180px;margin:0 auto;padding:18px 16px 40px;
  display:flex;gap:18px;align-items:flex-start;
}

/* ---------- 左侧分类边栏 ---------- */
.sidebar{
  width:228px;flex-shrink:0;
  background:var(--panel);backdrop-filter:blur(12px);
  border:1px solid var(--line);border-radius:18px;
  padding:16px 12px;
  position:sticky;top:78px;
  max-height:calc(100vh - 96px);
  overflow-y:auto;
  box-shadow:var(--shadow);
  scrollbar-width:thin;
}
.sidebar::-webkit-scrollbar{width:4px}
.sidebar::-webkit-scrollbar-thumb{background:#f0c3d2;border-radius:2px}
.sb-title{
  font-size:15px;font-weight:800;padding:2px 8px 12px;
  display:flex;align-items:center;gap:8px;
}
.sb-title::before{content:"";width:5px;height:16px;border-radius:3px;background:linear-gradient(var(--pri),var(--sec))}
.sb-item{
  display:flex;align-items:center;gap:9px;
  padding:9px 12px;border-radius:12px;font-size:13.5px;color:#6d5a67;
  cursor:pointer;transition:all .15s;margin-bottom:2px;
}
.sb-item:hover{background:rgba(255,224,233,.6);color:#e5486f}
.sb-item.on{
  background:linear-gradient(135deg,var(--pri),var(--pri-d));
  color:#fff;font-weight:700;
  box-shadow:0 4px 12px rgba(251,111,146,.35);
}
.sb-ic{
  width:24px;height:24px;border-radius:8px;flex-shrink:0;
  background:linear-gradient(135deg,#ffd6e2,#e6dcff);
  color:#b2506f;font-size:12px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.sb-item.on .sb-ic{background:rgba(255,255,255,.25);color:#fff}
.sb-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 二级分类树 */
.sb-parent{font-weight:700}
.sb-parent .sb-name{flex:1;min-width:0}
.sb-arrow{margin-left:auto;flex-shrink:0;color:#d8a7b8;font-size:15px;transition:transform .15s}
.sb-parent.on .sb-arrow{color:#fff}
.sb-parent.open .sb-arrow{transform:rotate(90deg)}
.sb-kids{display:none;padding:2px 0 4px}
.sb-kids.show{display:block}
.sb-kid{
  padding:7px 10px 7px 16px;margin:1px 0 1px 10px;border-radius:10px;
  font-size:12.5px;color:#7c6575;cursor:pointer;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  border-left:2px solid #f6dbe5;transition:all .15s;
}
.sb-kid:hover{background:rgba(255,224,233,.6);color:#e5486f}
.sb-kid.on{background:var(--pri-soft);color:#e5486f;font-weight:700;border-left-color:var(--pri-d)}
.chips-sub{padding-top:0;margin-top:-4px}
.chips-sub .chip{font-size:12px;padding:5px 11px;background:rgba(255,255,255,.6)}

/* ---------- 主区 ---------- */
.page{flex:1;min-width:0}

/* 搜索条 */
.searchbox{
  display:flex;align-items:center;gap:9px;
  background:var(--panel);backdrop-filter:blur(12px);
  border:1px solid var(--line);border-radius:14px;
  padding:11px 16px;margin-bottom:14px;
  box-shadow:var(--shadow);
}
.searchbox .ic{width:17px;height:17px;color:var(--pri-d);flex-shrink:0}
.searchbox input{
  border:none;outline:none;flex:1;font-size:14px;background:transparent;color:var(--ink);min-width:0;
}
.searchbox input::placeholder{color:var(--muted)}

/* 移动端分类 chips（桌面隐藏） */
.chips{display:none;gap:8px;overflow-x:auto;padding:2px 2px 10px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{
  flex-shrink:0;padding:7px 14px;border-radius:999px;font-size:13px;
  background:var(--panel);border:1px solid var(--line);color:#7c6575;
}
.chip.on{background:linear-gradient(135deg,var(--pri),var(--pri-d));color:#fff;border-color:transparent}

/* 区块标题 */
.sec-title{display:flex;align-items:center;gap:8px;margin:4px 2px 12px}
.sec-title .bar{width:5px;height:17px;border-radius:3px;background:linear-gradient(var(--pri),var(--sec))}
.sec-title h2{font-size:16.5px;font-weight:800}
.sec-title .cnt{font-size:12.5px;color:var(--muted);margin-left:2px}

/* ---------- 商品行（mfhubs 列表式） ---------- */
.plist{display:flex;flex-direction:column;gap:10px}
.prow{
  display:flex;align-items:center;gap:14px;
  background:var(--panel);backdrop-filter:blur(12px);
  border:1px solid var(--line);border-radius:14px;
  padding:12px 16px 12px 12px;
  box-shadow:0 3px 12px rgba(214,120,150,.10);
  transition:transform .15s,box-shadow .15s;
}
.prow:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.prow-thumb{
  width:62px;height:62px;border-radius:11px;flex-shrink:0;
  background:linear-gradient(135deg,#fff0f4,#f3edff);
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  border:1px solid rgba(255,224,233,.8);
}
.prow-thumb img{max-width:80%;max-height:80%;object-fit:contain}
.prow-thumb .noimg{font-size:24px;color:var(--pri)}
.prow-mid{flex:1;min-width:0}
.prow-title{
  font-size:14.5px;font-weight:700;color:var(--ink);line-height:1.35;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;word-break:break-word;
}
.prow-meta{
  display:flex;align-items:center;gap:12px;margin-top:4px;
  font-size:12px;color:#7c9484;flex-wrap:wrap;
}
.prow-meta .m{display:flex;align-items:center;gap:4px;white-space:nowrap}
.dot{width:6px;height:6px;border-radius:50%;background:#4db88a;display:inline-block}
.dot.g{background:#b6a5e8}
.prow-right{display:flex;align-items:center;gap:14px;flex-shrink:0}
.prow-price{font-size:16.5px;font-weight:800;color:var(--ink);white-space:nowrap}
.prow-cart{
  width:34px;height:34px;border-radius:10px;
  background:linear-gradient(135deg,var(--pri),var(--pri-d));
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 10px rgba(251,111,146,.35);
  transition:transform .15s;
}
.prow-cart:active{transform:scale(.9)}
.prow-cart svg{width:17px;height:17px;color:#fff}
.prow-arrow{color:#d8a7b8;font-size:20px;font-weight:300}
.prow.out{opacity:.62}
.prow.out .prow-cart{background:#d9c8d0;box-shadow:none}
.tag-out{font-size:11px;color:#a08e9b;background:#f1e6ea;border-radius:999px;padding:2px 8px}

.loadmore{text-align:center;color:var(--muted);font-size:13px;padding:18px 0 6px}
.skel{height:88px;border-radius:14px;background:linear-gradient(100deg,rgba(255,255,255,.7) 30%,#ffeef3 50%,rgba(255,255,255,.7) 70%);background-size:200% 100%;animation:sk 1.2s infinite}
@keyframes sk{to{background-position:-200% 0}}
.empty{
  text-align:center;color:var(--muted);padding:60px 0;font-size:14px;
  background:var(--panel);border-radius:14px;border:1px solid var(--line);
}

/* ---------- 详情页 ---------- */
.detail{background:var(--panel);backdrop-filter:blur(12px);border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow)}
.detail-img{background:linear-gradient(135deg,#fff0f4,#f3edff);padding:30px;display:flex;justify-content:center}
.detail-img img{max-height:180px;object-fit:contain}
.detail-body{padding:20px}
.detail-body h1{font-size:19px;line-height:1.5;margin-bottom:8px}
.detail-price{display:flex;align-items:baseline;gap:10px;margin:10px 0}
.detail-price .price{font-size:27px;color:#e5486f;font-weight:800}
.detail-price .price small{font-size:14px;margin-right:1px}
.stock-line{font-size:12.5px;color:var(--muted);margin-bottom:12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.badge{padding:2px 9px;border-radius:999px;font-size:11.5px}
.badge.ok{background:#dff5e9;color:#1d9e63}
.badge.warn{background:#fff3d6;color:#c98a04}
.badge.out{background:#f1e6ea;color:#a08e9b}
.sku-row{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 14px}
.sku{padding:7px 14px;border-radius:10px;border:1.5px solid #f3cfdd;background:rgba(255,255,255,.7);font-size:13px}
.sku.on{border-color:var(--pri-d);color:#e5486f;background:#fff2f6;font-weight:700}
.qty-row{display:flex;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.qty-min{font-size:12px;color:#e5486f;background:#fff0f4;border:1px solid #ffd9e4;border-radius:999px;padding:2px 9px}
.qty{display:flex;align-items:center;border:1px solid #f3cfdd;border-radius:10px;overflow:hidden;background:#fff}
.qty button{width:34px;height:34px;font-size:17px;color:var(--pri-d)}
.qty span{width:44px;text-align:center;font-weight:700}
.detail-desc{margin-top:8px;line-height:1.85;white-space:pre-wrap;word-break:break-word}
.detail-content{margin-top:16px;border-top:1px dashed #f3cfdd;padding-top:14px;font-size:14px;color:#6d5a67;word-break:break-word;white-space:pre-line}
.detail-content img{max-width:100%;border-radius:10px;margin:8px 0}
.buybar{
  position:sticky;bottom:16px;margin-top:16px;
  display:flex;gap:10px;align-items:center;
  background:rgba(255,255,255,.94);backdrop-filter:blur(10px);
  border:1px solid var(--line);border-radius:16px;padding:10px 14px;box-shadow:var(--shadow);
}
.buybar .total{flex:1}
.buybar .total b{color:#e5486f;font-size:20px}
.btn-primary{
  background:linear-gradient(135deg,var(--pri),var(--pri-d));color:#fff;
  border-radius:999px;padding:11px 26px;font-size:15px;font-weight:700;
  box-shadow:0 6px 16px rgba(251,111,146,.4);
}
.btn-primary:active{transform:scale(.96)}
.btn-block{width:100%;margin-top:14px}
.btn-ghost{background:rgba(255,255,255,.85);border:1px solid #f3cfdd;color:#7c6575;border-radius:999px;padding:9px 18px;font-size:13px}
.backlink{display:inline-flex;align-items:center;gap:4px;color:var(--pri-d);font-size:13.5px;margin-bottom:12px}

/* ---------- 工具/教程/我的 ---------- */
.tool-grid{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:700px){.tool-grid{grid-template-columns:1fr 1fr}}
.tool-card{
  background:var(--panel);backdrop-filter:blur(12px);border:1px solid var(--line);
  border-radius:18px;padding:18px;display:flex;gap:14px;align-items:flex-start;
  box-shadow:0 3px 12px rgba(214,120,150,.10);
}
.tool-ic{width:46px;height:46px;border-radius:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.tool-ic svg{width:24px;height:24px;color:#fff}
.tool-ic.pink{background:linear-gradient(135deg,var(--pri),var(--pri-d))}
.tool-ic.purple{background:linear-gradient(135deg,#b39ddb,var(--sec))}
.tool-card h3{font-size:15.5px;margin-bottom:4px}
.tool-card p{font-size:12.5px;color:var(--muted)}
.panel{background:var(--panel);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:var(--shadow)}
.panel h3{font-size:16px;margin-bottom:12px}
.field label{display:block;font-size:13px;color:#7c6575;margin-bottom:6px}
.field input{width:100%;border:1px solid #f3cfdd;border-radius:12px;padding:11px 14px;font-size:14px;outline:none;background:rgba(255,255,255,.8);color:var(--ink)}
.field input:focus{border-color:var(--pri)}
.field{margin-bottom:14px}
.otp-display{text-align:center;padding:22px 0 8px}
.otp-code{font-size:40px;font-weight:800;letter-spacing:8px;color:#e5486f;font-variant-numeric:tabular-nums}
.otp-next{font-size:13px;color:var(--muted);margin-top:8px;font-variant-numeric:tabular-nums}
.otp-bar{height:6px;border-radius:3px;background:#ffe9f0;margin:14px 0;overflow:hidden}
.otp-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--pri),var(--sec));border-radius:3px;transition:width 1s linear}
.otp-actions{display:flex;gap:10px;justify-content:center;margin-top:8px}

/* ---------- 2FA 工具 ---------- */
.btn-mini{
  background:linear-gradient(135deg,var(--pri),var(--pri-d));color:#fff;
  border-radius:999px;padding:7px 15px;font-size:12.5px;font-weight:700;
  box-shadow:0 3px 10px rgba(251,111,146,.3);white-space:nowrap;
}
.btn-mini.ghost{background:rgba(255,255,255,.9);color:#b2506f;border:1px solid #f3cfdd;box-shadow:none}
.tfa-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.tfa-head h3{font-size:17px;margin-bottom:3px}
.tfa-head .sub{font-size:12.5px;color:var(--muted)}
.tfa textarea{
  width:100%;border:1px solid #f3cfdd;border-radius:12px;padding:11px 14px;
  font-size:13.5px;line-height:1.6;outline:none;resize:vertical;
  background:rgba(255,255,255,.85);color:var(--ink);font-family:inherit;
}
.tfa textarea:focus{border-color:var(--pri)}
.tfa-opts{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.tfa-opt{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tfa-opt .k{font-size:12.5px;color:#7c6575;width:38px;flex-shrink:0}
.seg{
  padding:6px 14px;border-radius:999px;font-size:12.5px;color:#7c6575;
  background:rgba(255,255,255,.8);border:1px solid #f3cfdd;transition:all .15s;
}
.seg.on{background:linear-gradient(135deg,var(--pri),var(--pri-d));color:#fff;border-color:transparent;font-weight:700}
.tfa-list{display:flex;flex-direction:column;gap:10px}
.tfa-item{
  border:1px solid #f7dfe8;border-radius:14px;padding:12px 14px;
  background:linear-gradient(180deg,rgba(255,247,250,.95),rgba(255,240,245,.9));
}
.tfa-item-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.tfa-label{font-size:12.5px;color:#8b7381;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tfa-tag{font-size:11px;color:#b2506f;background:#ffe3ec;border-radius:999px;padding:1px 8px;flex-shrink:0}
.tfa-code-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tfa-code{font-size:32px;font-weight:800;letter-spacing:6px;color:#e5486f;font-variant-numeric:tabular-nums}
.tfa-next{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.tfa-empty{
  text-align:center;color:var(--muted);font-size:13px;padding:32px 12px;
  border:1px dashed #f3cfdd;border-radius:14px;background:rgba(255,255,255,.6);
}
.tfa-note{font-size:11.5px;color:var(--muted);margin-top:12px;line-height:1.7}

/* ---------- 教程中心 ---------- */
.chips.show{display:flex}
.tut-notice{
  background:linear-gradient(135deg,#fff3f7,#f6efff);border:1px solid #f7dfe8;
  border-radius:14px;padding:11px 14px;font-size:12.5px;color:#a0567a;margin-bottom:12px;line-height:1.7;
}
.tut-grid{display:grid;grid-template-columns:1fr;gap:10px}
@media(min-width:760px){.tut-grid{grid-template-columns:1fr 1fr}}
.tut-card{
  display:flex;align-items:center;gap:12px;
  background:var(--panel);backdrop-filter:blur(12px);
  border:1px solid var(--line);border-radius:14px;padding:13px 15px;
  box-shadow:0 3px 12px rgba(214,120,150,.10);transition:transform .15s,box-shadow .15s;
}
.tut-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.tut-ic{
  width:38px;height:38px;border-radius:12px;flex-shrink:0;
  background:linear-gradient(135deg,#ffd6e2,#e6dcff);color:#b2506f;
  font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;
}
.tut-main{flex:1;min-width:0}
.tut-t{display:block;font-size:14px;font-weight:700;line-height:1.45;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;word-break:break-word}
.tut-s{display:block;font-size:11.5px;color:var(--muted);margin-top:3px}
.tut-arrow{color:#d8a7b8;font-size:20px;font-weight:300}
.tut-detail{
  background:var(--panel);backdrop-filter:blur(12px);border:1px solid var(--line);
  border-radius:18px;padding:20px;box-shadow:var(--shadow);
}
.tut-detail-head{border-bottom:1px dashed #f3cfdd;padding-bottom:12px;margin-bottom:14px}
.tut-tag{display:inline-block;font-size:11.5px;color:#b2506f;background:#ffe3ec;border-radius:999px;padding:2px 10px;margin-bottom:8px}
.tut-detail-head h2{font-size:18px;line-height:1.5}
.tut-sum{font-size:13px;color:#7c6575;margin-top:6px}
.tut-meta{font-size:11.5px;color:var(--muted);margin-top:6px}
.tut-detail video{width:100%;border-radius:14px;margin-bottom:12px;background:#000}
.tut-detail img{max-width:100%;border-radius:12px;margin:8px 0}
.tut-body{font-size:13.5px;color:#6d5a67;line-height:1.85;word-break:break-word}
.tut-body.rich *{max-width:100%}
.tut-body.rich p{margin:6px 0}
.tut-body.rich b,.tut-body.rich strong{color:#3d2f3a}
.tut-body.rich a{color:#e5486f;text-decoration:underline;word-break:break-all}
.tut-foot{display:flex;gap:10px;margin-top:18px;border-top:1px dashed #f3cfdd;padding-top:14px;flex-wrap:wrap}
.tut-empty{font-size:13px;color:var(--muted)}
.me-card{background:var(--panel);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:18px;padding:18px;margin-bottom:12px}
.me-card h3{font-size:15px;margin-bottom:8px}
.me-card p{font-size:13px;color:#6d5a67}
.me-card a.mail{color:#e5486f;font-weight:700}

/* ---------- 底部导航（移动端） ---------- */
.bottomnav{display:none}

/* ---------- 弹窗/提示 ---------- */
.mask{position:fixed;inset:0;z-index:60;background:rgba(74,59,71,.45);display:flex;align-items:center;justify-content:center;padding:22px}
.modal{background:#fff;border-radius:20px;padding:22px;max-width:420px;width:100%;box-shadow:0 20px 60px rgba(0,0,0,.2);border:2px solid var(--pri-soft)}
.modal h3{font-size:17px;margin-bottom:12px;color:#3d2f3a}
.modal ul{padding-left:18px;font-size:13.5px;color:#6d5a67}
.modal li{margin-bottom:8px}
.toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%);background:rgba(61,47,58,.92);color:#fff;font-size:13.5px;padding:10px 20px;border-radius:999px;z-index:70;max-width:86%;box-shadow:0 8px 24px rgba(0,0,0,.25)}

/* ---------- 下单弹层 ---------- */
.ck-modal{max-width:400px}
.ck-item{display:flex;align-items:center;gap:8px;background:#fff6f9;border:1px solid #ffe0e9;border-radius:12px;padding:10px 14px;margin-bottom:14px;font-size:13.5px}
.ck-item .ck-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.ck-item .ck-qty{color:var(--muted);flex-shrink:0}
.ck-item .ck-price{color:#e5486f;font-weight:800;flex-shrink:0}
.ck-user{background:#fff6f9;border:1px dashed #ffd3e0;border-radius:12px;padding:10px 14px;margin-bottom:12px;font-size:12.8px;color:#7c6575;line-height:1.7}
.ck-user b{color:#e5486f}
.ck-payline{display:flex;align-items:center;justify-content:space-between;margin:4px 0 6px}
.ck-paytag{display:inline-flex;align-items:center;gap:6px;background:#1677ff;color:#fff;font-size:12.5px;font-weight:700;border-radius:8px;padding:4px 10px}
.ck-total{font-size:13.5px;color:#7c6575}
.ck-total b{color:#e5486f;font-size:18px}
.ck-err{background:#fff0f0;color:#d33;font-size:12.5px;border-radius:10px;padding:8px 12px;margin-bottom:10px}

/* ---------- 支付页 ---------- */
.pay-panel{max-width:440px;margin:0 auto;text-align:center}
.pay-amount{font-size:32px;font-weight:800;color:#e5486f;margin:6px 0 2px}
.pay-order{font-size:12px;color:var(--muted);margin-bottom:14px;word-break:break-all}
.pay-qr{width:240px;min-height:240px;margin:0 auto;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #ffe0e9;border-radius:16px;padding:10px;overflow:hidden}
.pay-qr svg{width:100%;height:auto;display:block}
.pay-tip{font-size:13.5px;color:#6d5a67;margin-top:12px}
.pay-expire{font-size:12.5px;color:#c98a04;margin-top:6px;font-variant-numeric:tabular-nums}
.pay-panel .btn-primary{margin-top:14px;border-radius:12px;padding:11px}
.pay-panel .btn-ghost{border-radius:12px;padding:10px}

/* ---------- 订单详情 ---------- */
.order-panel{max-width:560px;margin:0 auto}
.od-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.od-head h3{margin:0}
.od-line{display:flex;justify-content:space-between;gap:12px;font-size:13.5px;padding:6px 0;color:#7c6575}
.od-line b{color:var(--ink);font-weight:600;text-align:right;word-break:break-all}
.od-amount{color:#e5486f!important}
.od-items{border-top:1px dashed #f3cfdd;margin-top:10px;padding-top:10px}
.od-item{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;padding:4px 0}
.od-item span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.od-note{font-size:12.5px;color:var(--muted);margin-top:14px;border-top:1px dashed #f3cfdd;padding-top:12px}
.od-note .mail{color:#e5486f}

/* ---------- 交付内容 ---------- */
.ff-wrap{margin-top:16px;border-top:1px dashed #f3cfdd;padding-top:12px}
.ff-wrap h4{font-size:14.5px;margin-bottom:10px;color:#3d2f3a}
.ff-block{background:#fff6f9;border:1px solid #ffe0e9;border-radius:12px;padding:12px 14px;margin-bottom:10px}
.ff-title{font-size:13px;font-weight:700;margin-bottom:8px;color:#6d5a67}
.ff-line{display:flex;align-items:center;gap:8px;font-size:13px;padding:4px 0;word-break:break-all}
.ff-line span{flex:1;min-width:0;font-family:Consolas,Monaco,monospace;font-size:12.5px}
.ff-copy{flex-shrink:0;font-size:11.5px;color:#e5486f;background:#ffe9f0;border-radius:8px;padding:3px 10px}

/* ---------- 查单列表 ---------- */
.olist{display:flex;flex-direction:column;gap:10px}
.orow{display:block;background:#fff;border:1px solid #ffe0e9;border-radius:12px;padding:12px 14px}
.orow:hover{border-color:var(--pri)}
.orow-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.orow-title{font-size:13.5px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.orow-sub{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:5px}
.orow-amt{color:#e5486f;font-weight:700}

/* ---------- 登录 / 注册 ---------- */
.auth-card{
  max-width:420px;margin:0 auto;
  background:var(--panel);backdrop-filter:blur(12px);
  border:1px solid var(--line);border-radius:20px;padding:24px 22px;
  box-shadow:var(--shadow);
}
.auth-head h2{font-size:19px;margin-bottom:6px}
.auth-head p{font-size:12.5px;color:var(--muted);margin-bottom:16px}
.auth-tabs{display:flex;gap:6px;background:#fff6f9;border:1px solid #ffe0e9;border-radius:12px;padding:4px;margin-bottom:18px}
.auth-tab{
  flex:1;text-align:center;padding:8px 0;border-radius:9px;font-size:13.5px;color:#7c6575;
  transition:all .15s;
}
.auth-tab.on{background:linear-gradient(135deg,var(--pri),var(--pri-d));color:#fff;font-weight:700;box-shadow:0 4px 12px rgba(251,111,146,.3)}
.auth-agree{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#7c6575;line-height:1.5;margin:2px 0 6px;cursor:pointer}
.auth-agree input{margin-top:3px;accent-color:var(--pri-d);flex-shrink:0}
.auth-foot{text-align:center;font-size:12.5px;color:var(--muted);margin-top:14px}
.auth-foot a{color:#e5486f;font-weight:700}
.auth-foot.guest{margin-top:8px}
.auth-foot.guest a{font-weight:400;color:#9d8b96}

/* ---------- 个人中心 ---------- */
.me-cta .cta-btns{display:flex;gap:10px;margin-top:14px}
.me-cta .cta-btns a{flex:1;text-align:center;display:block;margin:0;border-radius:999px;padding:10px 0;font-size:13px}
.me-head{display:flex;align-items:center;gap:14px}
.me-avatar{
  width:52px;height:52px;border-radius:50%;flex-shrink:0;
  background:linear-gradient(135deg,var(--pri),var(--sec));color:#fff;
  font-size:20px;font-weight:800;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 12px rgba(251,111,146,.3);
}
.me-id{flex:1;min-width:0}
.me-id h3{font-size:16px;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.me-id p{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.me-head .btn-ghost{flex-shrink:0;font-size:12.5px;padding:7px 14px}
.me-stats{display:flex;gap:10px;margin-bottom:12px}
.me-stats .stat{
  flex:1;background:var(--panel);backdrop-filter:blur(12px);
  border:1px solid var(--line);border-radius:16px;padding:14px 10px;text-align:center;
  box-shadow:0 3px 12px rgba(214,120,150,.08);
}
.me-stats .stat b{display:block;font-size:17px;color:#e5486f;line-height:1.3}
.me-stats .stat span{font-size:11.5px;color:var(--muted)}
.me-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.me-card-head h3{margin:0}
.mini-btn{font-size:12px;color:#e5486f;background:#ffe9f0;border-radius:999px;padding:4px 12px}
.mini-btn:hover{background:#ffd9e6}

/* ---------- 移动端适配 ---------- */
@media(max-width:899px){
  body{padding-bottom:66px}
  .tb-row{padding:0 10px;gap:6px}
  .tb-row1{height:54px}
  .tb-row2{display:none}
  .brand-name{font-size:15px}
  .brand-badge{width:30px;height:30px;font-size:13px}
  .tb-quick{margin-left:auto;gap:0}
  .qk{padding:5px 6px;font-size:11.5px;gap:3px}
  .qk svg{width:14px;height:14px}
  .qk-order,.qk-alive,.qk-lottery{display:none}
  .qk-2fa .qk-text,.qk-tut .qk-text{display:inline}
  .top-actions{gap:2px;margin-left:0}
  .ta-link{padding:5px 5px;font-size:11.5px}
  .ta-link svg{display:none}
  .top-actions .ta-link:first-child{display:none}
  .topnav{display:none}
  .ta-lang{display:none}
  .layout{padding:12px 10px 30px;display:block}
  .sidebar{display:none}
  body.sb-open .sidebar{
    display:block;position:fixed;left:0;top:0;bottom:0;width:78%;max-width:320px;
    z-index:41;border-radius:0 18px 18px 0;max-height:none;overflow-y:auto;
  }
  body.sb-open .sb-mask{display:block}
  body.sb-open{overflow:hidden}
  .chips{display:flex}
  .prow{padding:10px 12px 10px 10px;gap:10px}
  .prow-thumb{width:52px;height:52px}
  .prow-title{font-size:13.5px}
  .prow-meta{gap:8px;font-size:11px}
  .prow-price{font-size:15px}
  .prow-right{gap:8px}
  .prow-arrow{display:none}
  .bottomnav{
    position:fixed;left:0;right:0;bottom:0;z-index:40;
    display:flex;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);
    border-top:1px solid #f6d9e3;padding-bottom:env(safe-area-inset-bottom);
  }
  .bottomnav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0 6px;color:#b39aa9;font-size:11px}
  .bottomnav a svg{width:22px;height:22px}
  .bottomnav a.on{color:var(--pri-d);font-weight:700}
  .buybar{bottom:76px}
}

/* ---------- 分类浮层（桌面 + 移动，贴左侧抽屉） ---------- */
body.sb-open .sidebar{
  position:fixed;left:0;top:0;bottom:0;width:300px;max-height:none;
  z-index:41;border-radius:0 18px 18px 0;overflow-y:auto;
  box-shadow:8px 0 40px rgba(120,70,95,.22);
}
body.sb-open .sb-mask{display:block}
body.sb-open{overflow:hidden}
