/* =========================================================
   易喜鹊易货 · 页面样式
   ========================================================= */

/* ==================== 首页 ==================== */
.home-head{background:#fff;padding:calc(10px + var(--safe-t)) 16px 12px;border-bottom:1px solid #F7F8FA;position:relative;z-index:5}
.home-head .hh-row{display:flex;align-items:center;gap:10px;height:36px}
.loc-pill{display:flex;align-items:center;gap:4px;padding:5px 8px 5px 6px;border-radius:16px;background:#F6F7F9;flex:none;max-width:132px}
.loc-pill .ic{width:16px;height:16px;font-size:16px}
.loc-pill span{font-size:13px;font-weight:600;max-width:76px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.loc-pill .ic.arrow{width:12px;height:12px;font-size:12px;opacity:.8}
.hh-title{flex:1;font-size:20px;font-weight:800;letter-spacing:1px;background:linear-gradient(90deg,#FF5A1F,#FF9A5C);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.hh-actions{display:flex;gap:6px;flex:none}
.home-floatnav{position:fixed;top:0;left:50%;transform:translateX(-50%) translateY(-10px);width:100%;max-width:560px;z-index:60;display:flex;align-items:center;gap:10px;padding:calc(7px + var(--safe-t)) 16px 7px;background:#fff;border-bottom:1px solid rgba(20,24,31,.06);box-shadow:0 6px 20px rgba(20,24,31,.06);opacity:0;pointer-events:none;transition:opacity .18s linear,transform .24s ease}
.home-floatnav.show{opacity:1;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.home-floatnav .hfn-title{flex:1;text-align:center;font-size:17px;font-weight:800;color:#15181D;letter-spacing:1.2px}
.home-floatnav .loc-pill{background:#F4F5F7}
.home-floatnav .icon-btn{background:#F4F5F7}
.icon-btn{width:34px;height:34px;flex:none;border-radius:50%;background:#F6F7F9;display:flex;align-items:center;justify-content:center;position:relative}
.icon-btn:active{background:#EFF0F3}
.icon-btn .ic{width:18px;height:18px;font-size:18px}
.icon-btn .dot-badge{position:absolute;top:5px;right:5px;width:6px;height:6px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 2px #fff}

.search-hero{margin-top:11px;height:42px;border-radius:21px;background:#F5F6F8;display:flex;align-items:center;gap:8px;
  padding:0 6px 0 14px;color:#A9AEB7;font-size:13px}
.search-hero .ic{width:18px;height:18px;font-size:18px}
.search-hero .sph-txt{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search-hero .sph-btn{height:30px;padding:0 12px;border-radius:15px;background:var(--brand);color:#fff;font-size:12.5px;
  font-weight:600;display:flex;align-items:center}

.banner{margin:14px 14px 0;border-radius:var(--r-l);overflow:hidden;position:relative;
  background:linear-gradient(120deg,#FFF4EC 0%,#FFE7D8 58%,#FFDCC7 100%);
  display:flex;min-height:150px;box-shadow:0 8px 22px rgba(255,120,50,.12)}
.banner-copy{flex:1;min-width:0;padding:16px 4px 14px 16px;position:relative;z-index:2}
.banner-kicker{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:#B2591F;
  background:rgba(255,255,255,.65);border-radius:10px;padding:3px 8px;font-weight:600}
.banner-title{font-size:21px;font-weight:800;line-height:1.28;color:#3B1E0D;margin-top:9px;letter-spacing:.5px}
.banner-desc{font-size:12px;color:#8A5A3C;margin-top:6px;line-height:1.5}
.banner-cta{display:inline-flex;align-items:center;gap:5px;margin-top:11px;background:#fff;color:var(--brand-deep);
  font-size:12px;font-weight:700;padding:7px 12px;border-radius:16px;box-shadow:0 4px 12px rgba(255,90,31,.16)}
.banner-visual{width:44%;max-width:212px;position:relative;flex:none}
.banner-visual img{position:absolute;right:-10px;bottom:0;width:118%;height:100%;object-fit:cover;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 26%);
  mask-image:linear-gradient(90deg,transparent 0,#000 26%)}

.stats-strip{display:flex;margin:12px 12px 0;background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px 0}
.stats-strip .st{flex:1;text-align:center;position:relative}
.stats-strip .st+.st::before{content:'';position:absolute;left:0;top:4px;bottom:4px;width:1px;background:var(--line)}
.stats-strip strong{display:block;font-size:16px;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums}
.stats-strip strong em{font-size:12px;font-style:normal;color:var(--sub);font-weight:600;margin-left:1px}
.stats-strip span{font-size:12px;color:var(--sub);margin-top:2px;display:block}

.cat-menu{margin:14px 14px 0;background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px 6px 6px}
.cat-grid5{display:grid;grid-template-columns:repeat(5,1fr);gap:15px 0}
.cat-tile{display:flex;flex-direction:column;align-items:center;gap:7px;padding:1px 0}
.cat-ic{position:relative;width:46px;height:46px;border-radius:14px}
.cat-ic img{width:46px;height:46px;border-radius:14px}
.cat-tile img{width:46px;height:46px;border-radius:14px;object-fit:cover;box-shadow:0 3px 8px rgba(20,26,36,.08);transition:transform .15s}
.cat-tile:active img{transform:scale(.93)}
.cat-tile span{font-size:12px;color:#41464E;font-weight:500}
.cat-tile.hot{position:relative}

.home-seg{margin:14px 14px 0;background:#fff;border-radius:var(--r);box-shadow:var(--sh);overflow:hidden}
.tabs-line.inside{padding:0 12px}
.home-seg-body{padding:12px 12px 4px}
.filter-chips{display:flex;gap:7px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}
.filter-chips::-webkit-scrollbar{display:none}
.filter-chips .chip{padding:6px 12px;font-size:12px}

/* 商品卡 */
.goods-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.goods-grid .loadmore{grid-column:1/-1}
.g-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 3px 14px rgba(19,24,32,.06);cursor:pointer;
  border:0;transition:transform .12s}
.g-card:active{transform:scale(.985)}
.g-media{position:relative;aspect-ratio:1/1;background:#F2F3F5;overflow:hidden}
.g-media img{width:100%;height:100%;object-fit:cover}
.g-media .g-flag{position:absolute;left:8px;top:8px;background:rgba(255,255,255,.94);color:#E8480F;
  font-size:11px;font-weight:700;padding:3px 7px;border-radius:6px;backdrop-filter:blur(4px);box-shadow:0 2px 6px rgba(20,24,31,.08)}
.g-media .g-flag.dark{background:rgba(20,24,31,.62);color:#fff;font-weight:500}
.g-body{padding:9px 10px 11px}
.g-title{font-size:13px;line-height:1.38;color:#20252C;height:36px;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:600;letter-spacing:-.1px}
.g-price-row{display:flex;align-items:baseline;gap:7px;margin-top:7px}
.g-price{font-size:18px;font-weight:800;color:#FF4D12;line-height:1;letter-spacing:-.4px}
.g-price em{font-size:11px;font-style:normal;font-weight:600;margin-left:1px}
.g-old{font-size:11px;color:#B7BCC5;text-decoration:line-through}
.g-foot{display:flex;align-items:center;justify-content:space-between;margin-top:8px;padding-top:7px;border-top:1px solid #F5F6F8;font-size:11px;color:#9AA0AA}
.g-foot .shop{display:flex;align-items:center;gap:3px;min-width:0}
.g-foot .shop img{width:13px;height:13px;border-radius:50%;object-fit:cover;flex:none}
.g-foot .shop span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:76px}
.g-foot .dist{color:#B7BCC5;flex:none}

/* 商家卡（列表） */
.m-card{display:flex;gap:11px;background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:11px;margin-bottom:10px;
  cursor:pointer;border:1px solid #F8F8FA}
.m-card:active{transform:scale(.99)}
.m-cover{width:86px;height:86px;border-radius:12px;object-fit:cover;flex:none;background:#F0F1F4}
.m-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.m-name{font-size:14px;font-weight:700;display:flex;align-items:center;gap:5px;min-width:0}
.m-name .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-name .vrf{color:var(--info);font-size:11px;background:var(--info-soft);padding:2px 5px;border-radius:5px;flex:none;font-weight:500}
.m-tags{display:flex;gap:4px;flex-wrap:wrap}
.m-tags .tag{font-size:11px;padding:3px 6px}
.m-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--sub);flex-wrap:wrap}
.m-meta .star{color:var(--warn);font-weight:700}
.m-meta .open{color:var(--ok);display:inline-flex;align-items:center;gap:3px}
.m-meta .open::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--ok)}

/* 供求小卡 */
.t-mini{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px;margin-bottom:10px;cursor:pointer;
  border:1px solid #F8F8FA}
.t-mini-top{display:flex;align-items:flex-start;gap:8px}
.t-type{flex:none;font-size:11px;font-weight:700;padding:3px 6px;border-radius:6px;line-height:1.2;margin-top:1px}
.t-type.supply{background:var(--ok-soft);color:var(--ok)}
.t-type.demand{background:var(--info-soft);color:var(--info)}
.t-type.bounty{background:linear-gradient(135deg,#FFEDDD,#FFE3CC);color:#C4560F}
.t-mini .tm-title{flex:1;font-size:13.5px;font-weight:600;line-height:1.45;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tm-reward{margin-top:9px;display:flex;align-items:center;gap:6px;background:#FFF9F4;border:1px dashed #FFD8BF;
  border-radius:9px;padding:7px 9px}
.tm-reward .num{font-size:15px;font-weight:800;color:var(--brand)}
.tm-reward .lb{font-size:11.5px;color:#A9582A}
.tm-meta{display:flex;align-items:center;justify-content:space-between;margin-top:8px;font-size:12px;color:var(--sub)}

/* ==================== 区域选择 ==================== */
.rp-hero{background:#fff;padding:calc(8px + var(--safe-t)) 16px 14px}
.rp-locate{display:flex;align-items:center;gap:12px;background:linear-gradient(120deg,#FFF7F2,#FFF1E8);
  border:1px solid #FFE4D4;border-radius:var(--r);padding:13px 14px;margin-top:4px}
.rp-locate .pin-wrap{width:38px;height:38px;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;flex:none;
  box-shadow:0 3px 9px rgba(255,90,31,.12)}
.rp-locate .pin-wrap .ic{width:19px;height:19px;font-size:19px}
.rp-locate .rp-loc-main{flex:1;min-width:0}
.rp-locate .lb{font-size:11.5px;color:#B8703F;letter-spacing:.3px}
.rp-locate .city{font-size:16px;font-weight:800;color:#43210C;margin-top:2px;display:flex;align-items:center;gap:6px}
.rp-locate .coord{font-size:11.5px;color:#A57655;margin-top:2px;font-variant-numeric:tabular-nums}
.rp-relocate{flex:none;height:34px;padding:0 12px;border-radius:17px;background:#fff;color:var(--brand);
  font-size:12px;font-weight:600;display:flex;align-items:center;gap:4px;box-shadow:0 3px 10px rgba(255,90,31,.12)}
.rp-relocate:active{transform:scale(.97)}
.rp-relocate .ic{width:15px;height:15px;font-size:15px}
.rp-relocate.loading .ic{animation:spin .8s linear infinite}

.rp-search{display:flex;align-items:center;gap:8px;height:42px;border-radius:21px;background:#F5F6F8;
  padding:0 12px;margin-top:12px}
.rp-search .ic{width:17px;height:17px;font-size:17px}
.rp-search input{flex:1;border:0;background:transparent;outline:none;font-size:13.5px}
.rp-search .clr{width:22px;height:22px;display:flex;align-items:center;justify-content:center}
.rp-search .clr .ic{width:14px;height:14px;font-size:14px}

.rp-search-panel{margin:12px 12px 0;background:#fff;border-radius:var(--r);box-shadow:var(--sh);overflow:hidden}
.rp-sr-item{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line)}
.rp-sr-item:last-child{border-bottom:0}
.rp-sr-item .ic{width:16px;height:16px}
.rp-sr-item .path{flex:1;min-width:0;font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rp-sr-item .path em{font-style:normal;color:var(--brand)}
.rp-sr-item .lv{font-size:11px;color:var(--sub);background:#F3F4F6;padding:3px 6px;border-radius:5px;flex:none}
.rp-sr-empty{padding:26px;text-align:center;font-size:12.5px;color:var(--sub)}

.rp-levelbar{display:flex;align-items:center;gap:4px;padding:12px 16px 4px;font-size:12.5px;color:var(--sub)}
.rp-levelbar .lv{cursor:pointer;padding:3px 5px;border-radius:6px}
.rp-levelbar .lv.on{color:var(--brand);font-weight:600}
.rp-levelbar .lv:active{background:#EEF0F3}
.rp-levelbar .sep{color:#D0D4DA}
.rp-levelbar .cnt{margin-left:auto;font-size:12px;color:var(--sub-2)}

.rp-panel{margin:8px 14px 0;background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:6px}
.prov-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px 6px 14px}
.prov-item{background:#F8F9FB;border:1px solid #F0F1F4;border-radius:11px;padding:11px 9px;text-align:center;
  font-size:13px;font-weight:500;color:#3C4148;position:relative}
.prov-item:active{background:#F2F3F6}
.prov-item .c{display:block;font-size:11px;color:var(--sub-2);margin-top:3px;font-weight:400}
.prov-item.cur{border-color:var(--brand-line);background:var(--brand-soft);color:var(--brand);font-weight:700}
.city-row{display:flex;align-items:center;padding:12px 12px;border-bottom:1px solid var(--line-2);gap:10px}
.city-row:last-child{border-bottom:0}
.city-row .nm{flex:1;font-size:14px;font-weight:500}
.city-row .meta{font-size:12px;color:var(--sub-2)}
.city-row .cur-tag{font-size:11px;color:var(--brand);background:var(--brand-soft);padding:2px 6px;border-radius:5px}
.city-row:active{background:#FAFBFC}
.city-row .arrow .ic{width:14px;height:14px;font-size:14px}
.city-row .go{font-size:12px;color:var(--brand);font-weight:600;padding:4px 10px;border:1px solid #FFD8C6;border-radius:9px;background:#FFF7F2}
.dist-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 8px 16px}
.dist-item{text-align:center;padding:11px 6px;border-radius:10px;background:#F8F9FB;font-size:12.5px;color:#3C4148;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dist-item:active{background:#F1F2F5}
.dist-item.cur{background:var(--brand-soft);color:var(--brand);font-weight:700}
.rp-all{display:flex;align-items:center;justify-content:center;gap:5px;margin:4px 14px 14px;padding:12px;border-radius:12px;
  background:#fff;box-shadow:var(--sh);font-size:13px;color:var(--ink-2);font-weight:500}
.rp-all:active{background:#FAFBFC}

/* ==================== 附近 ==================== */
.page-head{padding:calc(14px + var(--safe-t)) 16px 12px;background:#fff}
.page-head h2{font-size:20px;font-weight:800;letter-spacing:.3px}
.page-head p{font-size:12px;color:var(--sub);margin-top:4px}
.loc-line{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:12px;color:var(--sub)}
.loc-line .ic{width:14px;height:14px;font-size:14px}
.loc-line strong{color:var(--ink-2);font-weight:600}
.loc-refresh{margin-left:auto;font-size:12px;color:var(--brand);display:flex;align-items:center;gap:4px;
  background:var(--brand-soft);padding:4px 9px;border-radius:12px}
.loc-refresh .ic{width:13px;height:13px;font-size:13px}
.loc-refresh.loading .ic{animation:spin .8s linear infinite}

.nearby-card{background:#fff;border-radius:var(--r-l);box-shadow:var(--sh);overflow:hidden;margin-bottom:12px;cursor:pointer}
.nearby-card:active{transform:scale(.993)}
.nc-cover{position:relative;height:142px;background:#EEE}
.nc-cover img{width:100%;height:100%;object-fit:cover}
.nc-cover .grad{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.18) 0,rgba(0,0,0,0) 34%,rgba(0,0,0,.42) 100%)}
.nc-cover .dist{position:absolute;left:12px;bottom:11px;color:#fff;font-size:12px;display:flex;align-items:center;gap:4px;
  background:rgba(0,0,0,.32);padding:4px 8px;border-radius:11px;backdrop-filter:blur(6px)}
.nc-cover .dist .ic{width:12px;height:12px;font-size:12px}
.nc-cover .status{position:absolute;right:10px;top:10px;background:rgba(255,255,255,.93);color:var(--ok);
  font-size:11.5px;font-weight:600;padding:4px 8px;border-radius:10px;display:flex;align-items:center;gap:4px}
.nc-cover .status::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--ok)}
.nc-body{padding:12px 13px 13px}
.nc-top{display:flex;align-items:center;gap:9px}
.nc-logo{width:40px;height:40px;border-radius:11px;object-fit:cover;flex:none;background:#F0F1F4}
.nc-name{flex:1;min-width:0}
.nc-name h3{font-size:14.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;gap:5px}
.nc-name h3 .vrf{font-size:11px;color:var(--info);background:var(--info-soft);padding:2px 5px;border-radius:4px;font-weight:500;flex:none}
.nc-name .rate{font-size:12px;color:var(--sub);margin-top:3px;display:flex;align-items:center;gap:6px}
.nc-name .rate .s{color:var(--warn);font-weight:700}
.nc-name .rate .lv{color:#A46B24}
.nc-tags{display:flex;gap:4px;margin-top:9px;flex-wrap:wrap}
.nc-tags .tag{font-size:11px;padding:3px 6px}
.nc-metrics{display:flex;margin-top:10px;padding-top:10px;border-top:1px solid var(--line-2)}
.nc-metrics .mt{flex:1;min-width:0}
.nc-metrics .mt+.mt{padding-left:10px;border-left:1px solid var(--line-2)}
.nc-metrics .k{font-size:11px;color:var(--sub-2)}
.nc-metrics .v{font-size:12px;color:var(--ink-2);font-weight:600;margin-top:2px;line-height:1.35;word-break:break-word}

/* ==================== 供求市场 ==================== */
.trade-hero{background:linear-gradient(140deg,#FFF7F1 0%,#FFEADC 100%);padding:calc(16px + var(--safe-t)) 16px 16px;
  position:relative;overflow:hidden}
.trade-hero::after{content:'';position:absolute;right:-46px;top:-40px;width:170px;height:170px;border-radius:50%;
  background:rgba(255,255,255,.5)}
.trade-hero h2{font-size:21px;font-weight:800;color:#3B1B09;position:relative;z-index:2}
.trade-hero p{font-size:12px;color:#9A6040;margin-top:5px;position:relative;z-index:2}
.trade-hero .hero-stats{display:flex;gap:0;margin-top:14px;position:relative;z-index:2}
.trade-hero .hero-stats .hs{flex:1}
.trade-hero .hero-stats .hs+.hs{padding-left:12px;border-left:1px solid rgba(212,120,70,.22)}
.trade-hero .hero-stats strong{font-size:18px;font-weight:800;color:#642C0A;display:block;line-height:1}
.trade-hero .hero-stats strong em{font-size:11px;font-style:normal;color:#9A6040;margin-left:1px}
.trade-hero .hero-stats span{font-size:11.5px;color:#9A6040;margin-top:3px;display:block}
.trade-hero .pub-btn{position:absolute;right:16px;top:calc(16px + var(--safe-t));height:34px;padding:0 13px;border-radius:17px;
  background:#fff;color:var(--brand);font-size:12.5px;font-weight:700;display:flex;align-items:center;gap:4px;
  box-shadow:0 4px 12px rgba(255,90,31,.14);z-index:3}
.trade-hero .pub-btn .ic{width:14px;height:14px;font-size:14px}

.trade-bread{margin:8px 14px 0;background:#fff;border-radius:12px;padding:8px 10px;box-shadow:var(--sh);
  display:flex;align-items:center;gap:2px;font-size:12px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.trade-bread::-webkit-scrollbar{display:none}
.trade-bread .c{padding:4px 7px;border-radius:7px;color:var(--sub)}
.trade-bread .c.on{color:var(--brand);font-weight:600;background:var(--brand-soft)}
.trade-bread .sep{color:#D2D6DC;font-size:11px}
.trade-bread .c:active{background:#F2F3F6}

.trade-list{padding:12px 14px 0}
.tr-card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:13px;margin-bottom:11px;
  border:1px solid #F8F8FA;cursor:pointer}
.tr-card:active{transform:scale(.994)}
.tr-head{display:flex;gap:9px;align-items:flex-start}
.tr-title{flex:1;font-size:14.5px;font-weight:700;line-height:1.45}
.tr-badge{flex:none;font-size:11px;font-weight:700;padding:4px 7px;border-radius:6px}
.tr-badge.demand{background:var(--info-soft);color:var(--info)}
.tr-badge.supply{background:var(--ok-soft);color:var(--ok)}
.tr-badge.bounty{background:#FFF0DF;color:#B85B11}
.tr-desc{font-size:12.5px;color:#6C717A;line-height:1.6;margin-top:7px;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tr-bounty{display:flex;align-items:center;gap:9px;margin-top:10px;padding:9px 11px;border-radius:10px;
  background:linear-gradient(100deg,#FFF8F2,#FFF1E6);border:1px dashed #FFD5BC}
.tr-bounty .egg-ic{width:30px;height:30px;border-radius:50%;background:#FFE9DB;display:flex;align-items:center;justify-content:center;flex:none}
.tr-bounty .egg-ic .ic{width:17px;height:17px;font-size:17px}
.tr-bounty .bt{flex:1;min-width:0}
.tr-bounty .bt b{font-size:17px;color:var(--brand);font-weight:800}
.tr-bounty .bt b em{font-size:11px;font-style:normal;margin-left:1px}
.tr-bounty .bt span{display:block;font-size:11.5px;color:#A3623A;margin-top:1px}
.tr-bounty .apply{font-size:12px;color:#A3623A;background:#fff;padding:5px 9px;border-radius:11px;flex:none}
.tr-foot{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding-top:9px;border-top:1px solid var(--line-2)}
.tr-user{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--sub);min-width:0}
.tr-user  .ic{width:18px;height:18px;border-radius:50%;object-fit:cover;font-size:18px}
.tr-user .u{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:90px}
.tr-user .vf{color:var(--info);font-size:11px;background:var(--info-soft);padding:2px 4px;border-radius:4px}
.tr-actions{display:flex;gap:7px;align-items:center;flex:none}
.tr-actions .pay{font-size:12px;color:var(--brand);display:flex;align-items:center;gap:3px}
.tr-actions .pay .ic{width:12px;height:12px;font-size:12px}

/* 供求详情 */
.td-hero{background:#fff;padding:16px 16px 14px;margin-top:0}
.td-top{display:flex;align-items:flex-start;gap:8px}
.td-top h1{flex:1;font-size:19px;font-weight:800;line-height:1.4}
.td-bounty{margin-top:12px;background:linear-gradient(115deg,#FFF7F0,#FFEDDD);border-radius:13px;padding:13px;
  display:flex;align-items:center;gap:11px;border:1px solid #FFE1CC}
.td-bounty .val{font-size:26px;font-weight:800;color:var(--brand);line-height:1}
.td-bounty .val em{font-size:12px;font-style:normal;margin-left:2px}
.td-bounty .lb{flex:1;font-size:12px;color:#A35C31;line-height:1.5}
.td-bounty .escrow{font-size:11px;color:var(--ok);background:var(--ok-soft);padding:4px 7px;border-radius:6px;flex:none;font-weight:600}
.td-meta{display:flex;gap:12px;margin-top:11px;font-size:12px;color:var(--sub);flex-wrap:wrap}
.td-body{padding:12px 16px}
.td-section{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px;margin-bottom:11px}
.td-section h3{font-size:14.5px;font-weight:700;margin-bottom:10px}
.td-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.td-gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px}
.td-gallery:has(img:only-child){grid-template-columns:1fr}
.td-gallery img:only-child{aspect-ratio:16/9;max-height:240px}
.td-text{font-size:13.5px;line-height:1.85;color:#3A3F47;white-space:pre-wrap}
.td-rule{display:flex;gap:9px;padding:9px 0;border-bottom:1px solid var(--line-2);font-size:12.5px}
.td-rule:last-child{border-bottom:0}
.td-rule .k{color:var(--sub);width:82px;flex:none}
.td-rule .v{flex:1;color:var(--ink-2)}
.td-pub{display:flex;align-items:center;gap:11px}
.td-pub img{width:42px;height:42px;border-radius:50%;object-fit:cover}
.td-pub .nm{font-size:14px;font-weight:600;display:flex;align-items:center;gap:5px}
.td-pub .ds{font-size:12px;color:var(--sub);margin-top:3px}
.td-contact{margin-top:11px;background:#F8F9FB;border-radius:10px;padding:11px;font-size:13px;color:var(--ink-2);
  display:flex;align-items:center;gap:8px}
.td-contact .lock{flex:1;color:var(--sub);font-size:12px}
.td-contact .unlock{font-size:12px;color:var(--brand);font-weight:600}

/* ==================== 分类 ==================== */
.cat-banner{border-radius:12px;overflow:hidden;position:relative;height:86px;background:#F4F5F7}
.cat-banner img{width:100%;height:100%;object-fit:cover}
.cat-banner .mask{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.72) 0,rgba(0,0,0,.38) 55%,rgba(0,0,0,.05) 100%)}
.cat-banner .txt{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#fff;z-index:2;text-shadow:0 1px 3px rgba(0,0,0,.35)}
.cat-banner .txt b{font-size:14px;display:block}
.cat-banner .txt span{font-size:11.5px;opacity:.9;margin-top:3px;display:block}
.cat-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 9px;margin-top:14px}
.cat-tiles .ct{text-align:center}
.cat-tiles .ct img{width:100%;aspect-ratio:1;border-radius:10px;object-fit:cover;margin-bottom:5px;background:#F3F4F6}
.cat-tiles .ct span{font-size:12px;color:#4A4F57}
/* ==================== 商家主页 ==================== */
.ms-cover{height:212px;position:relative;background:#EDEFF2;overflow:hidden}
.ms-cover img{width:100%;height:100%;object-fit:cover;will-change:transform;transition:transform .18s ease-out}
.ms-cover .ov{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.28) 0,rgba(0,0,0,0) 38%,rgba(0,0,0,.34) 100%)}
.ms-cover .status{position:absolute;right:14px;bottom:44px;display:flex;align-items:center;gap:5px;
  background:rgba(255,255,255,.94);color:var(--ok);font-size:12px;font-weight:600;padding:5px 9px;border-radius:11px}
.ms-cover .status::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--ok)}

.ms-card{margin:-26px 14px 0;background:#fff;border-radius:var(--r-l);box-shadow:var(--sh-2);padding:12px;position:relative;z-index:3}
.ms-top{display:flex;gap:11px;align-items:flex-start}
.ms-logo{width:52px;height:52px;border-radius:13px;object-fit:cover;flex:none;border:2px solid #fff;
  box-shadow:0 3px 10px rgba(20,26,36,.12);margin-top:-34px;background:#F0F1F4}
.ms-name{flex:1;min-width:0}
.ms-name h1{font-size:18px;font-weight:800;line-height:1.3;display:flex;align-items:center;gap:6px}
.ms-name .vrf{font-size:11px;font-weight:500;color:var(--info);background:var(--info-soft);padding:3px 6px;border-radius:5px;flex:none}
.ms-name .rate{font-size:12px;color:var(--sub);margin-top:4px;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ms-name .rate .s{color:var(--warn);font-weight:700}
.ms-name .rate .lv{color:#A46B24;background:#FFF6E6;padding:2px 6px;border-radius:5px;font-size:11px}
.ms-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}
.ms-tags .tag{font-size:11.5px}
.ms-metrics{display:flex;margin-top:13px;padding-top:12px;border-top:1px solid var(--line)}
.ms-metrics .mm{flex:1;min-width:0}
.ms-metrics .mm+.mm{padding-left:9px;border-left:1px solid var(--line-2)}
.ms-metrics .k{font-size:11px;color:var(--sub-2);display:flex;align-items:center;gap:3px}
.ms-metrics .k .ic{width:11px;height:11px;font-size:11px}
.ms-metrics .v{font-size:13px;font-weight:700;color:var(--ink);margin-top:3px;line-height:1.4}
.ms-metrics .v small{font-size:11px;font-weight:500;color:var(--sub)}
.ms-addr{display:flex;align-items:center;gap:7px;margin-top:12px;padding-top:11px;border-top:1px solid var(--line-2);
  font-size:12px;color:#5A5F68}
.ms-addr .ic{width:15px;height:15px;font-size:15px;flex:none}
.ms-addr span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ms-addr .navi{flex:none;font-size:12px;color:var(--brand);background:var(--brand-soft);padding:4px 9px;border-radius:11px}

.ms-tabs{margin:12px 12px 0;background:#fff;border-radius:var(--r);box-shadow:var(--sh);overflow:hidden}
.ms-tabs .tabs-line{padding:0 6px;gap:0;border-bottom:0}
.ms-tabs .tl-item{flex:1;text-align:center}
.ms-body{padding:12px 14px 0}

.ms-goods{display:flex;gap:11px;background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:11px;margin-bottom:10px;cursor:pointer}
.ms-goods img{width:78px;height:78px;border-radius:11px;object-fit:cover;flex:none}
.ms-goods .info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between}
.ms-goods .info h3{font-size:13.5px;font-weight:600;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ms-goods .info .ft{display:flex;align-items:flex-end;justify-content:space-between;margin-top:6px}
.ms-goods .info .ft .sales{font-size:11.5px;color:var(--sub-2)}

.ms-review{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:13px;margin-bottom:10px}
.ms-review .rh{display:flex;align-items:center;gap:9px}
.ms-review .rh img{width:34px;height:34px;border-radius:50%;object-fit:cover}
.ms-review .rh .nm{font-size:12.5px;font-weight:600}
.ms-review .rh .stars{font-size:12px;color:var(--warn);margin-top:2px;letter-spacing:1px}
.ms-review .rh .time{font-size:11.5px;color:var(--sub-2)}
.ms-review p{font-size:12.5px;color:#5A5F68;line-height:1.7;margin-top:8px}
.ms-review .imgs{display:flex;gap:6px;margin-top:8px}
.ms-review .imgs img{width:66px;height:66px;border-radius:8px;object-fit:cover}

.ms-info-row{display:flex;align-items:flex-start;gap:9px;padding:12px 0;border-bottom:1px solid var(--line-2);font-size:13px}
.ms-info-row:last-child{border-bottom:0}
.ms-info-row .k{width:78px;color:var(--sub);flex:none;font-size:12px}
.ms-info-row .v{flex:1;color:var(--ink-2);line-height:1.6}
.ms-info-row .v .ln{display:block}
.ms-info-card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:4px 14px;margin-bottom:11px}
.ms-info-card h3{font-size:14.5px;font-weight:700;padding:12px 0 4px}
.ratio-box{background:#FFF9F4;border:1px solid #FFEBDE;border-radius:10px;padding:11px;margin:8px 0 4px}
.ratio-box .rr{display:flex;align-items:center;justify-content:space-between;font-size:12.5px;padding:4px 0;color:#6B4B37}
.ratio-box .rr b{color:var(--brand);font-weight:700}
.ms-desc{font-size:12.5px;color:#5A5F68;line-height:1.85;padding:6px 0 12px}

/* ==================== 商品详情 ==================== */
.gd-hero{position:relative;aspect-ratio:1/1;background:#F2F3F5;overflow:hidden}
.gd-hero img{width:100%;height:100%;object-fit:cover}
.gd-hero .idx{position:absolute;right:12px;bottom:12px;background:rgba(0,0,0,.4);color:#fff;font-size:11.5px;
  padding:3px 9px;border-radius:10px;backdrop-filter:blur(6px)}
.gd-info{margin:-18px 14px 0;background:#fff;border-radius:var(--r-l);padding:12px;position:relative;z-index:3;box-shadow:var(--sh-2)}
.gd-price-row{display:flex;align-items:flex-end;gap:8px}
.gd-price{font-size:27px;font-weight:800;color:var(--brand);line-height:1;display:flex;align-items:baseline;gap:2px}
.gd-price em{font-size:12px;font-style:normal}
.gd-old{font-size:12px;color:var(--sub-2);text-decoration:line-through;margin-bottom:1px}
.gd-title{font-size:16px;font-weight:700;line-height:1.5;margin-top:9px}
.gd-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}
.gd-stats{display:flex;align-items:center;justify-content:space-between;margin-top:11px;padding-top:10px;border-top:1px solid var(--line-2);font-size:12px;color:var(--sub)}
.gd-sec{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px;margin:11px 14px 0}
.gd-sec h3{font-size:14px;font-weight:700;margin-bottom:9px}
.gd-merchant{display:flex;align-items:center;gap:11px}
.gd-merchant img{width:44px;height:44px;border-radius:11px;object-fit:cover}
.gd-merchant .nm{font-size:14px;font-weight:600}
.gd-merchant .ds{font-size:12px;color:var(--sub);margin-top:3px}
.gd-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line-2);font-size:13px}
.gd-row:last-child{border-bottom:0}
.gd-row .k{color:var(--sub);font-size:12px}
.gd-detail{font-size:13px;line-height:1.9;color:#3A3F47;white-space:pre-wrap}
.gd-review{display:flex;gap:9px}
.gd-review img{width:32px;height:32px;border-radius:50%;object-fit:cover}
.gd-review .rv{flex:1}
.gd-review .rv .t{font-size:12.5px;font-weight:600;display:flex;align-items:center;gap:6px}
.gd-review .rv .stars{font-size:11.5px;color:var(--warn)}
.gd-review .rv p{font-size:12.5px;color:#5A5F68;line-height:1.65;margin-top:4px}
.gd-review-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:2px}
.gd-review-head h3{margin:0}
.gd-review-more{border:0;background:none;color:var(--sub);font-size:11.5px;display:flex;align-items:center;gap:2px;padding:2px 0;flex:none}
.gd-review-more .ic{width:13px;height:13px;font-size:13px}

/* v2.6 买家评价独立页 */
.rv-summary-card{display:flex;align-items:center;gap:14px;background:#fff;border-radius:15px;box-shadow:var(--sh);padding:15px 14px;position:relative}
.rv-score{width:78px;flex:none;text-align:center;border-right:1px solid #F0F1F4}
.rv-score b{display:block;font-size:30px;line-height:1;font-weight:800;color:var(--brand);font-variant-numeric:tabular-nums}
.rv-score span{display:block;font-size:10.5px;color:#9AA0AA;margin-top:6px}
.rv-summary-main{flex:1;min-width:0}
.rv-summary-title{font-size:14px;font-weight:800;color:#252A32;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:58px}
.rv-summary-meta{font-size:11px;color:#8D939D;margin-top:5px}
.rv-stars-line{display:flex;gap:2px;margin-top:5px}
.rv-stars-line span{opacity:.25}
.rv-stars-line span.on{opacity:1}
.rv-stars-line .ic{color:var(--warn);width:13px;height:13px;font-size:13px}
.rv-manage-tag{position:absolute;right:12px;top:12px;display:inline-flex;align-items:center;gap:3px;font-size:9.5px;color:#8C641F;background:#FFF5E3;border-radius:6px;padding:4px 6px;white-space:nowrap}
.rv-card{background:#fff;border-radius:14px;box-shadow:var(--sh);padding:13px 13px 11px;margin-bottom:10px}
.rv-card-head{display:flex;align-items:center;gap:9px}
.rv-card-head img{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:none}
.rv-user{flex:1;min-width:0}
.rv-user b{display:block;font-size:12.5px;color:#30353D;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rv-user span{display:flex;gap:1px;margin-top:3px}
.rv-user .ic{color:var(--warn);width:11px;height:11px;font-size:11px}
.rv-time{font-size:10.5px;color:#A4AAB3;flex:none}
.rv-text{font-size:12.5px;color:#515760;line-height:1.72;margin-top:9px}
.rv-imgs{display:flex;gap:6px;margin-top:8px;overflow-x:auto;scrollbar-width:none}
.rv-imgs::-webkit-scrollbar{display:none}
.rv-imgs img{width:66px;height:66px;border-radius:8px;object-fit:cover;flex:none;background:#F3F4F6}
.rv-actions{display:flex;justify-content:flex-end;margin-top:6px;padding-top:7px;border-top:1px solid #F4F5F7}
.rv-actions .btn{height:26px;font-size:10.5px;color:#9AA0AA}
.rv-actions .ic{color:#B3B8C0}

/* v2.6 商家入驻保证金（后台开关控制） */
.deposit-brief{display:flex;align-items:center;gap:9px;background:#FFF9F4;border:1px solid #FFE4D3;border-radius:12px;padding:11px 12px;margin:10px 0}
.db-ic{width:31px;height:31px;border-radius:9px;background:#FFF0E5;display:flex;align-items:center;justify-content:center;flex:none}
.db-ic .ic{color:#E95720;font-size:17px}
.deposit-brief b{font-size:12.5px;color:#2B3038;display:block}
.deposit-brief span{display:block;font-size:10.5px;color:#9A7461;line-height:1.5;margin-top:3px}

.deposit-card{background:#FFF9F4;border:1px solid #FFE0CB;border-radius:14px;padding:13px;margin:2px 0 14px}
.dp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.dp-head b{font-size:13.5px;color:#2B3038;display:block}
.dp-head span{display:block;font-size:10.5px;color:#9A7461;line-height:1.5;margin-top:3px}
.dp-state{flex:none;font-style:normal;font-size:10.5px;color:#B36B24;background:#FFF0DF;border-radius:6px;padding:4px 7px;font-weight:700}
.dp-state.paid{color:#0E8F50;background:#EAF9F0}
.dp-amount{display:flex;align-items:baseline;gap:2px;margin-top:11px;color:#E95720}
.dp-amount span{font-size:13px;font-weight:700}
.dp-amount b{font-size:29px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums}
.dp-amount em{font-size:10.5px;font-style:normal;color:#A27D69;margin-left:5px}
.dp-note{display:flex;align-items:flex-start;gap:4px;font-size:10.5px;color:#9A7461;line-height:1.55;margin:9px 0 10px}
.dp-note .ic{flex:none;margin-top:1px}
.deposit-card .btn{width:100%;height:39px;background:#fff;border:1px solid #FFD7C0;color:#D95822;font-weight:700}
.deposit-card .btn.disabled{background:#F4FBF7;border-color:#DDF0E5;color:#0E8F50;pointer-events:none}
.deposit-pay-line{display:flex;align-items:center;justify-content:space-between;padding:7px 0;border-bottom:1px solid #F3F4F6;font-size:12.5px;color:#606670}
.deposit-pay-line:last-of-type{border-bottom:0}
.deposit-pay-line b{color:#2B3038}

/* ==================== 我的 ==================== */
.pf-hero{background:linear-gradient(150deg,#FF7A3D 0%,#FF5A1F 58%,#F04A10 100%);
  padding:calc(22px + var(--safe-t)) 18px 52px;position:relative;overflow:hidden;color:#fff}
.pf-hero::before{content:'';position:absolute;right:-52px;top:-58px;width:190px;height:190px;border-radius:50%;
  background:rgba(255,255,255,.1)}
.pf-hero::after{content:'';position:absolute;left:-40px;bottom:-70px;width:160px;height:160px;border-radius:50%;
  background:rgba(255,255,255,.06)}
.pf-row{display:flex;align-items:center;gap:13px;position:relative;z-index:3}
.pf-avatar{width:58px;height:58px;border-radius:50%;object-fit:cover;flex:none;border:2px solid rgba(255,255,255,.7);background:#fff}
.pf-name{flex:1;min-width:0}
.pf-name h2{font-size:18px;font-weight:800;display:flex;align-items:center;gap:7px}
.pf-name .vrf{font-size:11px;font-weight:500;background:rgba(255,255,255,.24);padding:3px 7px;border-radius:9px}
.pf-name .id{font-size:12px;opacity:.86;margin-top:4px}
.pf-set{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center}
.pf-set  .ic{width:17px;height:17px;font-size:17px}
.pf-vip{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;background:rgba(255,255,255,.2);
  padding:3px 8px;border-radius:9px;margin-top:6px}

.pf-wallet{margin:-38px 14px 0;background:#fff;border-radius:var(--r-l);box-shadow:var(--sh-2);
  display:flex;padding:15px 0;position:relative;z-index:4}
.pf-wallet .wi{flex:1;text-align:center;position:relative}
.pf-wallet .wi+.wi::before{content:'';position:absolute;left:0;top:5px;bottom:5px;width:1px;background:var(--line)}
.pf-wallet .wi span{display:block;font-size:11.5px;color:var(--sub)}
.pf-wallet .wi strong{display:block;font-size:19px;font-weight:800;color:var(--brand);margin-top:4px;line-height:1;font-variant-numeric:tabular-nums}
.pf-wallet .wi strong em{font-size:12px;font-style:normal;font-weight:600;margin-left:1px}
.pf-wallet .wi strong.gray{font-size:12px;color:#5A5F68;font-weight:500}

.pf-orders{margin:12px 12px 0;background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:6px 0 12px}
.pf-orders .oh{display:flex;align-items:center;justify-content:space-between;padding:10px 14px 4px}
.pf-orders .oh h3{font-size:14.5px;font-weight:700}
.pf-orders .oh .more{font-size:12px;color:var(--sub);display:flex;align-items:center;gap:2px}
.pf-orders .og{display:flex;padding-top:4px}
.pf-orders .oi{flex:1;text-align:center;position:relative;padding-top:4px}
.pf-orders .oi  .ic{width:24px;height:24px;margin:0 auto 6px;font-size:24px}
.pf-orders .oi span{font-size:12px;color:#4A4F57}
.pf-orders .oi .badge{position:absolute;top:0;right:50%;margin-right:-24px}
.pf-service{margin:12px 12px 0;background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px 0 6px}
.pf-service h3{font-size:14.5px;font-weight:700;padding:2px 14px 10px}
.pf-service .svc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px 0}
.pf-service .svc{text-align:center;padding:2px 0}
.pf-service .svc  .ic{width:25px;height:25px;margin:0 auto 7px;font-size:25px}
.pf-service .svc span{font-size:12px;color:#4A4F57}

.pf-role{margin:12px 12px 0;background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px}
.pf-role .rh{display:flex;align-items:center;justify-content:space-between}
.pf-role .rh h3{font-size:14.5px;font-weight:700;display:flex;align-items:center;gap:6px}
.pf-role .rh h3::before{content:'';width:3px;height:13px;border-radius:2px;background:var(--brand)}
.pf-role .role-switch{display:flex;gap:5px;background:#F4F5F7;padding:3px;border-radius:10px}
.pf-role .rs{font-size:12px;padding:5px 9px;border-radius:8px;color:var(--sub)}
.pf-role .rs.on{background:#fff;color:var(--brand);font-weight:700;box-shadow:0 2px 6px rgba(20,26,36,.07)}
.pf-role .role-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px 0;margin-top:14px}
.pf-role .rg{text-align:center}
.pf-role .rg  .ic{width:24px;height:24px;margin:0 auto 7px;font-size:24px}
.pf-role .rg span{font-size:12px;color:#4A4F57}
.pf-cells{margin:12px 12px 0}

/* ==================== 账户/登录 ==================== */

.auth-logo{width:66px;height:66px;border-radius:18px;margin:6px auto 14px;box-shadow:0 8px 18px rgba(255,90,31,.24)}
.auth-title{text-align:center;font-size:24px;font-weight:800;letter-spacing:.5px}
.auth-sub{text-align:center;font-size:12px;color:var(--sub);margin-top:6px}
.auth-tabs{display:flex;gap:24px;margin:26px 0 18px;border-bottom:1px solid var(--line)}
.auth-tabs div{padding:0 0 10px;font-size:14px;color:var(--sub);position:relative}
.auth-tabs div.on{color:var(--ink);font-weight:700}
.auth-tabs div.on::after{content:'';position:absolute;left:50%;bottom:-1px;transform:translateX(-50%);
  width:22px;height:3px;border-radius:2px;background:var(--brand)}
.auth-field{display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line);padding:13px 2px}
.auth-field  .ic{width:18px;height:18px;font-size:18px}
.auth-field input{flex:1;border:0;outline:none;background:transparent;font-size:14.5px}
.auth-field .code-btn{font-size:12px;color:var(--brand);padding:5px 9px;border-radius:11px;background:var(--brand-soft);flex:none}
.auth-field .code-btn.dis{color:var(--sub);background:#F3F4F6}
.auth-field .eye{width:28px;height:28px;display:flex;align-items:center;justify-content:center}
.auth-field .eye  .ic{width:17px;height:17px;font-size:17px}
.auth-agree{margin-top:18px}
.auth-submit{margin-top:20px}
.auth-extra{display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-size:12px;color:var(--sub)}
.auth-extra a{color:var(--brand)}
.auth-alt{margin-top:34px}
.auth-alt .tt{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--sub-2)}
.auth-alt .tt::before,.auth-alt .tt::after{content:'';flex:1;height:1px;background:var(--line)}
.auth-alt .icons{display:flex;justify-content:center;gap:26px;margin-top:16px}
.auth-alt .icons div{display:flex;flex-direction:column;align-items:center;gap:6px}
.auth-alt .icons .ic{width:42px;height:42px;font-size:24px;border-radius:50%;background:#F5F6F8;padding:10px;box-sizing:border-box}
.auth-alt .icons small{font-size:11.5px;color:var(--sub)}
.auth-guest{text-align:center;margin-top:26px;font-size:12px;color:var(--sub)}
.auth-foot{text-align:center;font-size:11.5px;color:var(--sub-2);margin-top:30px;line-height:1.8}

/* 实名认证 */
.rn-status{background:linear-gradient(120deg,#F0FAF4,#E7F7EF);border:1px solid #D4EFDF;border-radius:var(--r);
  padding:12px;display:flex;align-items:center;gap:11px;margin-bottom:12px}
.rn-status  .ic{width:34px;height:34px;font-size:34px}
.rn-status .t{flex:1}
.rn-status .t b{font-size:14px;display:block}
.rn-status .t span{font-size:12px;color:#4C8A68;margin-top:3px;display:block}
.rn-status .badge-ok{font-size:11px;color:var(--ok);background:#fff;padding:4px 8px;border-radius:8px}
.rn-done-note{display:flex;gap:8px;align-items:flex-start;background:#FFF9F3;border:1px solid #FFE7CC;border-radius:12px;padding:12px;font-size:12px;color:#8A6338;line-height:1.6}
.rn-done-note  .ic{width:14px;height:14px;flex:none;margin-top:3px;font-size:14px}
.rn-steps{display:flex;margin:4px 0 18px}
.rn-steps .st{flex:1;text-align:center;position:relative;font-size:12px;color:var(--sub)}
.rn-steps .st .n{width:22px;height:22px;border-radius:50%;background:#F2F3F5;color:var(--sub);
  margin:0 auto 6px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
.rn-steps .st.on .n{background:var(--brand);color:#fff}
.rn-steps .st.done .n{background:var(--ok-soft);color:var(--ok)}
.rn-steps .st::after{content:'';position:absolute;left:50%;top:11px;width:100%;height:1px;background:var(--line);z-index:-1}
.rn-steps .st:last-child::after{display:none}
.rn-id-card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px}
.rn-id-card .up2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rn-id-slot{aspect-ratio:1.6/1;border-radius:11px;border:1.5px dashed #DDE1E6;background:#FBFCFD;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#AEB4BD;font-size:12px;overflow:hidden;position:relative}
.rn-id-slot  .ic{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.rn-id-slot .ph{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:6px}
.rn-id-slot .ph  .ic{width:22px;height:22px;position:static;font-size:22px}
.face-box{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:16px;text-align:center}
.face-box .face-ring{width:96px;height:96px;border-radius:50%;background:linear-gradient(135deg,#FFF2EA,#FFE2D3);
  margin:4px auto 12px;display:flex;align-items:center;justify-content:center;border:3px solid #fff;box-shadow:0 0 0 1px #FFE1D2}
.face-box  .ic{width:44px;height:44px;font-size:44px}

/* ==================== 订单 ==================== */
.order-tabs{display:flex;background:#fff;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--line);
  padding:0 4px}
.order-tabs::-webkit-scrollbar{display:none}
.order-tabs div{flex:none;padding:13px 14px 11px;font-size:13px;color:#5A5F68;position:relative;white-space:nowrap}
.order-tabs div.on{color:var(--brand);font-weight:700}
.order-tabs div.on::after{content:'';position:absolute;left:50%;bottom:0;transform:translateX(-50%);
  width:20px;height:2.5px;border-radius:2px;background:var(--brand)}
.order-card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:13px;margin-bottom:11px}
.order-card .oh{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}
.order-card .oh .no{font-size:11.5px;color:var(--sub-2)}
.order-card .oh .st{font-size:12px;font-weight:600;color:var(--brand)}
.order-card .oh .st.gray{color:var(--sub)}
.order-goods{display:flex;gap:11px}
.order-goods  .ic,.order-goods img{width:72px;height:72px;border-radius:10px;object-fit:cover;flex:none;font-size:72px;background:#F4F5F7}
.order-goods .info{flex:1;min-width:0}
.order-goods .info h3{font-size:13px;font-weight:600;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.order-goods .info .meta{font-size:11.5px;color:var(--sub);margin-top:4px}
.order-goods .info .fp{display:flex;align-items:flex-end;justify-content:space-between;margin-top:5px}
.order-ft{display:flex;justify-content:flex-end;gap:9px;margin-top:11px;padding-top:10px;border-top:1px solid var(--line-2)}
.order-status-hero{background:linear-gradient(120deg,var(--brand),var(--brand-2));color:#fff;border-radius:var(--r);
  padding:18px;margin:14px}
.order-status-hero h2{font-size:19px;font-weight:800}
.order-status-hero p{font-size:12px;opacity:.9;margin-top:5px}
.order-block{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px;margin:12px 12px 0}
.order-block h3{font-size:14px;font-weight:700;margin-bottom:10px}
.order-line{display:flex;justify-content:space-between;font-size:13px;padding:7px 0}
.order-line .k{color:var(--sub)}
.order-line.all{font-size:13px}
.order-line.all .k{color:var(--ink-2);font-weight:600}
.order-line.all .v{color:var(--brand);font-weight:800;font-size:17px}

/* 核销码 */
.code-box{background:#fff;border-radius:var(--r-l);box-shadow:var(--sh);margin:14px;padding:22px 18px;text-align:center}
.code-box .qr{width:196px;height:196px;margin:0 auto 14px;border-radius:14px;overflow:hidden;background:#F7F8FA;
  display:flex;align-items:center;justify-content:center}
.code-box .qr  .ic{width:100%;height:100%;object-fit:contain}
.code-box .code{font-size:20px;font-weight:800;letter-spacing:3px;color:var(--ink)}
.code-box .tip{font-size:12px;color:var(--sub);margin-top:6px}
.code-count{font-size:12px;color:var(--brand);margin-top:10px}

/* ==================== 商家中心 ==================== */
.mk-head{background:#fff;padding:calc(14px + var(--safe-t)) 16px 12px;border-bottom:1px solid var(--line)}
.mk-head h2{font-size:20px;font-weight:800}
.mk-head p{font-size:12px;color:var(--sub);margin-top:3px}
.goods-manage-card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px;margin-bottom:10px}
.gm-top{display:flex;gap:11px}
.gm-top  .ic,.gm-top img{width:72px;height:72px;border-radius:10px;object-fit:cover;flex:none;font-size:72px;background:#F4F5F7}
.gm-top .info{flex:1;min-width:0}
.gm-top .info h3{font-size:13.5px;font-weight:600;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gm-top .info .row{display:flex;align-items:flex-end;justify-content:space-between;margin-top:7px}
.gm-top .info .stock{font-size:11.5px;color:var(--sub)}
.gm-ft{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding-top:10px;border-top:1px solid var(--line-2)}
.gm-ft .sw{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--sub)}
.gm-ft .acts{display:flex;gap:7px}
.staff-card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:13px;margin-bottom:10px}
.staff-top{display:flex;align-items:center;gap:11px}
.staff-top  .ic{width:40px;height:40px;border-radius:50%;object-fit:cover;font-size:40px}
.staff-top .info{flex:1}
.staff-top .info h3{font-size:13.5px;font-weight:600}
.staff-top .info span{font-size:12px;color:var(--sub);margin-top:3px;display:block}
.staff-ft{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding-top:10px;border-top:1px solid var(--line-2)}
.staff-ft .role{font-size:12px;color:var(--sub)}
.verify-hero{background:#fff;border-radius:var(--r);box-shadow:var(--sh);margin:14px;padding:20px;text-align:center}
.verify-hero .qr-mini{width:150px;height:150px;margin:0 auto 12px;background:#F7F8FA;border-radius:12px;padding:8px}
.verify-hero .qr-mini  .ic{width:100%;height:100%;object-fit:contain}
.verify-records{background:#fff;border-radius:var(--r);box-shadow:var(--sh);margin:0 12px 14px;padding:6px 14px 10px}
.verify-records h3{font-size:14px;font-weight:700;padding:12px 0 8px}

/* ==================== 表单页 / 入驻 ==================== */
.form-head-note{display:flex;gap:8px;background:var(--brand-soft);border-radius:10px;padding:10px 12px;font-size:12px;
  color:#B65A22;line-height:1.6;margin-bottom:14px}
.form-head-note  .ic{width:15px;height:15px;flex:none;margin-top:1px;font-size:15px}
.fee-box{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px;margin-bottom:12px}
.fee-box h3{font-size:13.5px;font-weight:700;margin-bottom:8px}
.fee-line{display:flex;align-items:center;justify-content:space-between;font-size:12.5px;padding:5px 0;color:#5A5F68}
.fee-line b{color:var(--brand);font-weight:700;font-variant-numeric:tabular-nums}
.fee-line.total{border-top:1px dashed #E6E8EC;margin-top:7px;padding-top:9px}
.fee-line.total b{font-size:16px}
.form-card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px;margin-bottom:12px}
.form-card .fh{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.form-card .fh h3{font-size:14px;font-weight:700}
.form-card .fh .cnt{font-size:11.5px;color:var(--sub-2)}
.form-card .field:last-child{margin-bottom:0}

.wizard-progress{display:flex;align-items:center;justify-content:center;gap:0;padding:12px 16px;background:#fff;
  border-bottom:1px solid var(--line)}
.wizard-progress .wp{display:flex;align-items:center;gap:6px}
.wizard-progress .wp .n{width:20px;height:20px;border-radius:50%;background:#F2F3F5;color:var(--sub);
  font-size:11.5px;display:flex;align-items:center;justify-content:center;font-weight:700}
.wizard-progress .wp.on .n{background:var(--brand);color:#fff}
.wizard-progress .wp.done .n{background:var(--ok-soft);color:var(--ok)}
.wizard-progress .wp .t{font-size:12px;color:var(--sub)}
.wizard-progress .wp.on .t{color:var(--ink);font-weight:600}
.wizard-progress .line{width:26px;height:1px;background:var(--line);margin:0 8px}

.apply-hero{background:linear-gradient(140deg,#FFF6F0,#FFE9DB);padding:20px 18px 18px}
.apply-hero h2{font-size:20px;font-weight:800;color:#3E1F0C}
.apply-hero p{font-size:12px;color:#93603F;margin-top:4px}
.apply-benefits{display:flex;gap:10px;margin-top:14px}
.apply-benefits .ab{flex:1;background:rgba(255,255,255,.7);border-radius:10px;padding:9px 8px;text-align:center}
.apply-benefits .ab b{font-size:12px;display:block;color:#552B0F}
.apply-benefits .ab span{font-size:11px;color:#9A6A49;margin-top:2px;display:block}
.cat-select{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.cat-select .cs{text-align:center;padding:9px 4px;border-radius:9px;background:#F8F9FB;border:1px solid #F0F1F4;
  font-size:12px;color:#4A4F57}
.cat-select .cs.on{background:var(--brand-soft);border-color:var(--brand-line);color:var(--brand);font-weight:600}

/* ==================== 消息 / 聊天 ==================== */
.msg-item{display:flex;gap:11px;padding:12px;background:#fff;border-bottom:1px solid var(--line-2)}
.msg-item .ic-box{width:42px;height:42px;border-radius:12px;background:#F7F8FA;display:flex;align-items:center;justify-content:center;flex:none}
.msg-item .ic-box .ic{width:20px;height:20px;font-size:20px}
.msg-item .mm{flex:1;min-width:0}
.msg-item .mm .top{display:flex;align-items:center;gap:7px}
.msg-item .mm .top b{font-size:13.5px;font-weight:600}
.msg-item .mm .top .time{margin-left:auto;font-size:11.5px;color:var(--sub-2)}
.msg-item .mm p{font-size:12px;color:var(--sub);margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msg-item.unread .mm .top b::after{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;
  background:var(--brand);vertical-align:middle;margin-left:5px}

.chat-screen{background:#F4F5F7}
.chat-body{padding:12px 14px 88px;display:flex;flex-direction:column;gap:12px}
.chat-msg{display:flex;gap:8px;max-width:82%}
.chat-msg.me{align-self:flex-end;flex-direction:row-reverse}
.chat-msg  .ic{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none;font-size:32px}
.chat-msg .bub{background:#fff;padding:9px 12px;border-radius:4px 12px 12px 12px;font-size:13.5px;line-height:1.6;
  box-shadow:var(--sh);color:#2A2E35}
.chat-msg.me .bub{background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;border-radius:12px 4px 12px 12px}
.chat-time{text-align:center;font-size:11.5px;color:var(--sub-2);margin:4px 0}
.chat-input{position:fixed;left:0;right:0;bottom:0;max-width:560px;margin:0 auto;display:flex;gap:8px;align-items:center;
  padding:9px 12px calc(9px + var(--safe-b));background:#fff;box-shadow:var(--sh-up)}
.chat-input input{flex:1;height:38px;border:0;background:#F4F5F7;border-radius:19px;padding:0 12px;outline:none;font-size:13.5px}
.chat-input button{height:36px;padding:0 16px;border-radius:18px;background:var(--brand);color:#fff;font-size:13px;font-weight:600}

/* ==================== 通用工具页 ==================== */
.wallet-hero{margin:14px;border-radius:var(--r-l);padding:20px;color:#fff;
  background:linear-gradient(135deg,#FF7A3D,#FF5A1F 60%,#EF4A10);box-shadow:0 10px 24px rgba(255,90,31,.24)}
.wallet-hero .lb{font-size:12px;opacity:.9}
.wallet-hero .amount{font-size:34px;font-weight:800;margin-top:8px;line-height:1;font-variant-numeric:tabular-nums}
.wallet-hero .amount em{font-size:12px;font-style:normal;font-weight:600;margin-left:2px}
.wallet-hero .acts{display:flex;gap:9px;margin-top:18px}
.wallet-hero .acts .btn{height:36px;font-size:12.5px;border-radius:18px;flex:1;width:auto}
.sign-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-top:14px}
.sign-day{background:#F7F8FA;border-radius:9px;padding:9px 0;text-align:center;font-size:11px;color:var(--sub)}
.sign-day .d{font-size:12px;font-weight:600;color:#4A4F57;margin-bottom:4px}
.sign-day.ok{background:var(--brand-soft);color:var(--brand)}
.sign-day.ok .d{color:var(--brand)}
.sign-day .egg-ic{width:18px;height:18px;margin:2px auto 0}
.sign-day .egg-ic  .ic{width:18px;height:18px;font-size:18px}
.bill-row{display:flex;align-items:center;gap:11px;padding:13px 14px;background:#fff;border-bottom:1px solid var(--line-2)}
.bill-row .bi{width:34px;height:34px;border-radius:10px;background:#F7F8FA;display:flex;align-items:center;justify-content:center;flex:none}
.bill-row .bi  .ic{width:17px;height:17px;font-size:17px}
.bill-row .bm{flex:1;min-width:0}
.bill-row .bm b{font-size:13.5px;font-weight:500;display:block}
.bill-row .bm span{font-size:11.5px;color:var(--sub-2);margin-top:2px;display:block}
.bill-row .amt{font-size:14.5px;font-weight:700}
.bill-row .amt.in{color:var(--ok)}
.settings-group{margin:12px 12px 0}
.settings-foot{text-align:center;font-size:12px;color:var(--sub-2);padding:22px 0 30px;line-height:1.8}
.qr-page{margin:14px;background:#fff;border-radius:var(--r-l);box-shadow:var(--sh);padding:22px;text-align:center}
.qr-page .qr-wrap{width:210px;height:210px;margin:4px auto 12px;padding:10px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.qr-page .qr-wrap canvas,.qr-page .qr-wrap  .ic{width:100%;height:100%;object-fit:contain}
.qr-page .nm{font-size:15px;font-weight:700}
.qr-page .tip{font-size:12px;color:var(--sub);margin-top:4px}
.about-hero{background:#fff;border-radius:var(--r);box-shadow:var(--sh);margin:14px;padding:24px 16px;text-align:center}
.about-hero img{width:64px;height:64px;border-radius:16px;margin:0 auto 12px}
.about-hero h2{font-size:17px;font-weight:800}
.about-hero .ver{font-size:12px;color:var(--sub);margin-top:4px}
.about-hero p{font-size:12px;color:var(--sub);line-height:1.8;margin-top:10px}
.doc-page{background:#fff;border-radius:var(--r);box-shadow:var(--sh);margin:14px;padding:18px 16px}
.doc-page h1{font-size:17px;font-weight:800;margin-bottom:4px}
.doc-page .date{font-size:11.5px;color:var(--sub-2);margin-bottom:14px}
.doc-page p{font-size:13px;line-height:2;color:#3A3F47;white-space:pre-wrap}

/* 分享 */
.share-card{margin:14px 12px 0;background:#fff;border-radius:16px;box-shadow:0 8px 28px rgba(20,24,31,.09);overflow:hidden;text-align:center}
.share-card .sc-head{background:#FF5A1F;padding:18px 16px 14px;color:#fff;text-align:left;position:relative;overflow:hidden}
.share-card .sc-head .sc-logo{width:40px;height:40px;border-radius:11px;background:#fff;object-fit:cover}
.share-card .sc-head b{display:block;font-size:16px;font-weight:800;margin-top:9px}
.share-card .sc-head span{display:block;font-size:11px;color:rgba(255,255,255,.8);margin-top:3px}
.share-card .sc-body{padding:16px}
.share-card .qr{width:172px;height:172px;margin:0 auto 10px;padding:6px;background:#F7F8FA;border-radius:12px}
.share-card .qr  .ic{width:100%;height:100%;object-fit:contain}
.share-card .code{font-size:22px;font-weight:800;letter-spacing:3px;color:var(--brand);margin-top:4px}
.share-card .tip{font-size:12px;color:var(--sub);margin-top:4px;line-height:1.6}
.link-row{display:flex;gap:8px;margin-top:14px}
.link-row .input{flex:1;font-size:12px;color:var(--sub)}
.share-acts{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:14px}
.share-acts .btn{height:42px;font-size:12.5px}

/* 亲属卡/伙伴 */
.fc-card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px;margin-bottom:10px}
.fc-top{display:flex;align-items:center;gap:11px}
.fc-top  .ic{width:40px;height:40px;border-radius:50%;object-fit:cover;font-size:40px}
.fc-top .nm{font-size:13.5px;font-weight:600}
.fc-top .rs{font-size:12px;color:var(--sub);margin-top:3px}
.fc-bar{height:6px;border-radius:3px;background:#F1F2F5;overflow:hidden;margin-top:11px}
.fc-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--brand),var(--brand-2));border-radius:3px}
.fc-ft{display:flex;justify-content:flex-end;gap:16px;margin-top:10px;font-size:12px;color:var(--brand)}
.partner-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px}
.partner-stats .ps{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:13px 8px;text-align:center}
.partner-stats .ps b{font-size:18px;color:var(--brand);display:block;font-weight:800}
.partner-stats .ps span{font-size:11.5px;color:var(--sub);margin-top:3px;display:block}
.region-stat{display:flex;background:#fff;border-radius:var(--r);box-shadow:var(--sh);margin:14px;padding:15px 0;text-align:center}
.region-stat .rs{flex:1;position:relative}
.region-stat .rs+.rs::before{content:'';position:absolute;left:0;top:3px;bottom:3px;width:1px;background:var(--line)}
.region-stat .rs b{font-size:19px;color:var(--brand);font-weight:800;display:block}
.region-stat .rs span{font-size:11.5px;color:var(--sub);margin-top:3px;display:block}

/* 档位 / 权益 */
.level-card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:12px;margin-bottom:10px;
  display:flex;align-items:center;gap:12px}
.level-card .lv-ic{width:42px;height:42px;border-radius:12px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;flex:none}
.level-card .lv-ic  .ic{width:22px;height:22px;font-size:22px}
.level-card .info{flex:1}
.level-card .info h3{font-size:14px;font-weight:700}
.level-card .info p{font-size:12px;color:var(--sub);margin-top:3px}
.level-card .fee{font-size:18px;font-weight:800;color:var(--brand)}

/* 扫码页 */
.scan-page{background:#101215;height:100%;color:#fff}
.scan-page .scan-head{padding:calc(12px + var(--safe-t)) 16px 10px;display:flex;align-items:center;gap:12px}
.scan-page .scan-head  .ic{width:22px;height:22px;font-size:22px}
.scan-page .scan-head h2{font-size:17px;font-weight:700;flex:1}
.scan-video-wrap{position:relative;flex:1;overflow:hidden;background:#000}
.scan-video-wrap video{width:100%;height:100%;object-fit:cover}
.scan-frame{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:230px;height:230px;
  border-radius:16px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.03);box-shadow:0 0 0 100vmax rgba(0,0,0,.46)}
.scan-frame .corner{position:absolute;width:40px;height:40px;border:0 solid var(--brand);border-radius:5px}
.scan-frame .corner.tl{left:-1px;top:-1px;border-left-width:3px;border-top-width:3px;border-top-left-radius:10px}
.scan-frame .corner.tr{right:-1px;top:-1px;border-right-width:3px;border-top-width:3px;border-top-right-radius:10px}
.scan-frame .corner.bl{left:-1px;bottom:-1px;border-left-width:3px;border-bottom-width:3px;border-bottom-left-radius:10px}
.scan-frame .corner.br{right:-1px;bottom:-1px;border-right-width:3px;border-bottom-width:3px;border-bottom-right-radius:10px}
.scan-line{position:absolute;left:8px;right:8px;top:10%;height:2px;background:linear-gradient(90deg,transparent,var(--brand),transparent);
  animation:scanline 2.2s ease-in-out infinite}
@keyframes scanline{0%,100%{top:10%}50%{top:76%}}
.scan-tip{position:absolute;left:0;right:0;bottom:26%;text-align:center;font-size:12px;color:rgba(255,255,255,.8)}
.scan-actions{position:absolute;left:0;right:0;bottom:0;padding:16px 20px calc(20px + var(--safe-b));display:flex;justify-content:center;gap:26px}
.scan-actions .sa{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:#fff}
.scan-actions .sa  .ic{width:24px;height:24px;font-size:24px}

/* 广告投放 */
.ad-page{padding-top:4px}
.ad-intro{display:flex;align-items:center;gap:11px;background:var(--brand-soft);border:1px solid #FFE3D2;border-radius:14px;padding:13px 14px;margin:10px 0 12px}
.ad-intro-ic{width:38px;height:38px;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.ad-intro-ic .ic{width:22px;height:22px;font-size:22px;color:var(--brand)}
.ad-intro b{display:block;font-size:14px;color:#5B2B12}
.ad-intro span{display:block;font-size:11px;line-height:1.55;color:#986A52;margin-top:3px}
.ad-form .field{margin-bottom:14px}
.ad-uploader{grid-template-columns:1fr}
.ad-uploader .up-add,.ad-uploader .up-item{aspect-ratio:2.4/1;border-radius:12px}
.ad-uploader .up-add{border-color:#E2D5CC;background:#FCFAF8}
.ad-spec{margin-top:10px;background:#FAFBFC;border:1px solid #F0F1F4;border-radius:12px;padding:11px 12px}
.ad-spec-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ad-spec-head b{font-size:12.5px;color:var(--ink-2)}
.ad-spec-head span{font-size:11px;color:var(--brand);font-weight:700;background:var(--brand-soft);border-radius:5px;padding:2px 6px}
.ad-spec-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.ad-spec-chips span{font-size:10.5px;color:#7C828C;background:#fff;border:1px solid #EEF0F3;border-radius:5px;padding:3px 6px}
.ad-spec-note{font-size:10.5px;line-height:1.6;color:#9AA0A9;margin-top:8px}
.ad-target-box{display:flex;align-items:center;gap:9px;background:#F8F9FA;border:1px solid #EEF0F3;border-radius:12px;padding:10px;margin-top:9px}
.ad-target-box img{width:36px;height:36px;border-radius:9px;object-fit:cover;flex:none;background:#fff}
.ad-target-box>div{flex:1;min-width:0}
.ad-target-box b{display:block;font-size:12.5px;color:var(--ink)}
.ad-target-box span{display:block;font-size:10.5px;color:var(--sub);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ad-external{display:block;padding:9px 10px}
.ad-url-field{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #EEF0F3;border-radius:9px;padding:0 9px;height:38px}
.ad-url-field .ic{width:15px;height:15px;font-size:15px;color:var(--sub-2);flex:none}
.ad-url-field input{flex:1;min-width:0;border:0;outline:none;background:transparent;font-size:12.5px;color:var(--ink)}
.ad-external .tiny{margin-top:6px;line-height:1.5}
.ad-sec-hd{margin:16px 0 8px}
.ad-preview{position:relative;border-radius:14px;overflow:hidden;background:#F7F8FA;border:1px solid #EEF0F3;aspect-ratio:2.4/1;display:block;box-shadow:0 3px 12px rgba(20,26,36,.05)}
.ad-preview-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;color:var(--sub-2)}
.ad-preview-empty-ic{width:34px;height:34px;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:2px}
.ad-preview-empty-ic .ic{width:19px;height:19px;font-size:19px;color:#B2B7C0}
.ad-preview-empty b{font-size:12.5px;color:#7C828C}
.ad-preview-empty span{font-size:10.5px;color:#A7ADB6}
.ad-preview-card,.ad-modal-preview{position:absolute;inset:0;overflow:hidden}
.ad-preview-card img,.ad-modal-preview img{display:block;width:100%;height:100%;object-fit:cover}
.ad-preview-shade{position:absolute;left:0;right:0;bottom:0;height:44%;background:rgba(12,15,20,.48)}
.ad-preview-copy{position:absolute;left:10px;right:10px;bottom:9px;color:#fff;display:flex;align-items:center;gap:6px;min-width:0}
.ad-tag{font-size:9px;line-height:1;background:var(--brand);color:#fff;border-radius:4px;padding:3px 4px;flex:none}
.ad-preview-copy b{font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}
.ad-preview-copy small{font-size:9.5px;color:rgba(255,255,255,.82);white-space:nowrap;flex:none}
.ad-preview-tip{font-size:10.5px;line-height:1.6;color:#A4A9B2;display:flex;align-items:center;gap:4px;margin-top:7px}
.ad-review-note{display:flex;align-items:flex-start;gap:9px;background:#FFF9F1;border:1px solid #FFE5C9;border-radius:12px;padding:11px 12px;margin:12px 0}
.arn-ic{width:30px;height:30px;border-radius:9px;background:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.arn-ic .ic{width:18px;height:18px;font-size:18px;color:var(--brand)}
.ad-review-note b{display:block;font-size:12.5px;color:#6A3B20}
.ad-review-note span{display:block;font-size:10.5px;line-height:1.6;color:#9A7055;margin-top:3px}
.ad-submit{width:100%;margin-bottom:4px}
.ad-queue-hd{margin-top:20px}
.ad-queue-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 6px;font-size:11px;color:var(--sub)}
.ad-queue-label span{font-weight:700;color:var(--ink-2)}
.ad-queue-label em{font-style:normal;color:#A4A9B2;font-size:10.5px}
.ad-queue-card{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #F0F1F4;border-radius:12px;padding:9px 10px;margin-bottom:7px}
.ad-queue-card.live{border-color:#FFDDC9;background:#FFF9F4}
.ad-queue-card img{width:48px;height:48px;object-fit:cover;border-radius:8px;flex:none;background:#F5F6F8}
.aq-rank{width:20px;height:20px;border-radius:50%;background:#F2F3F5;color:var(--sub);font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
.ad-queue-card .aq-main{flex:1;min-width:0}
.aq-main b{display:block;font-size:12px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aq-main span{display:block;font-size:10px;color:var(--sub);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aq-main small{display:block;font-size:10px;color:#A7ADB6;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aq-badge{font-size:10px;border-radius:5px;padding:3px 5px;flex:none;white-space:nowrap}
.aq-badge.live{display:none}
.ad-queue-card.live .aq-badge{display:inline-block;color:var(--brand);background:#FFEBDD}
.ad-queue-card.queue .aq-badge{color:#8A6338;background:#FFF4E5}
.ad-queue-card.pending .aq-badge{color:#7A7F87;background:#F2F3F5}
.ad-queue-empty{background:#FAFBFC;border:1px dashed #E8EBEF;border-radius:11px;padding:14px;text-align:center;font-size:11.5px;color:#A4A9B2}
.ad-modal-preview{position:relative;width:100%;aspect-ratio:2.4/1;border-radius:11px;overflow:hidden;background:#F7F8FA;margin:0 auto}

/* 会员权益 */
.benefit-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:12px 12px 0}
.benefit-list .bl{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:13px}
.benefit-list .bl  .ic{width:22px;height:22px;margin-bottom:7px;font-size:22px}
.benefit-list .bl h3{font-size:13px;font-weight:600}
.benefit-list .bl p{font-size:11.5px;color:var(--sub);margin-top:3px;line-height:1.5}

/* 搜索 */
.search-head{display:flex;gap:9px;align-items:center;padding:calc(12px + var(--safe-t)) 14px 12px;background:#fff;position:sticky;top:0;z-index:50}
.search-head .box{flex:1;display:flex;align-items:center;gap:8px;height:38px;background:#F4F5F7;border-radius:19px;padding:0 13px}
.search-head .box  .ic{width:16px;height:16px;font-size:16px}
.search-head .box input{flex:1;border:0;background:transparent;outline:none;font-size:13.5px}
.search-head .go{font-size:13px;color:var(--brand);font-weight:600;flex:none}
.search-block{padding:12px}
.search-block h3{font-size:13.5px;font-weight:700;margin-bottom:10px;display:flex;align-items:center;justify-content:space-between}
.search-block h3 .clr{font-size:12px;color:var(--sub);font-weight:400}
.search-chips{display:flex;flex-wrap:wrap;gap:9px}
.search-res{padding:0 12px 14px}
.search-tabs{display:flex;gap:18px;padding:10px 14px 0;border-bottom:1px solid var(--line);background:#fff}
.search-tabs div{padding:8px 0 10px;font-size:13px;color:var(--sub);position:relative}
.search-tabs div.on{color:var(--brand);font-weight:700}
.search-tabs div.on::after{content:'';position:absolute;left:50%;bottom:0;transform:translateX(-50%);
  width:18px;height:2.5px;border-radius:2px;background:var(--brand)}

/* 区域选择：当前城市快捷条 */
.rp-current{display:flex;align-items:center;gap:10px;margin:10px 12px 2px;padding:11px 13px;background:#fff;border-radius:12px;box-shadow:var(--sh);cursor:pointer}
.rp-current .ic{width:18px;height:18px;flex:none}
.rp-current .txt{flex:1;min-width:0;font-size:12.5px;color:var(--ink-2)}
.rp-current .txt b{font-size:13.5px;color:var(--ink);margin-right:6px}
.rp-current .go{font-size:12px;color:var(--brand);background:var(--brand-soft);padding:5px 10px;border-radius:20px;flex:none}

/* 评分星标（真实 PNG 图标，避免文字符号） */
.rate .s{display:inline-flex;align-items:center;gap:2px}
.rate .s .ic,.stars .ic{width:11px;height:11px;font-size:11px}
.stars{display:inline-flex;gap:2px;vertical-align:middle}

/* ============ 第三轮改版（25 项需求） ============ */
/* 6. 统一板块间距：外边距 12px，内边距 10px */
.pad{padding:12px}
.pad-x{padding-left:12px;padding-right:12px}
.section{margin:12px 12px 0}
.banner,.cat-menu,.home-seg{margin-left:12px;margin-right:12px}
.pf-wallet,.pf-orders,.pf-service,.pf-role,.pf-cells,.settings-group{margin-left:12px;margin-right:12px}
.pf-wallet{margin-top:-38px}
.trade-hero{padding-left:14px;padding-right:14px}
.trade-bread{margin-left:12px;margin-right:12px}
.cell{padding:12px}
.panel-pad{padding:12px}
.form-card{padding:12px}
.cell-group .cell{padding-left:12px;padding-right:12px}

/* 5. 商品详情透明顶栏留白、内容不再压住大图 */
.topbar.transparent{padding:calc(8px + var(--safe-t)) 12px 8px;height:auto;min-height:calc(52px + var(--safe-t))}
.topbar.transparent .tb-back{width:36px;height:36px}
.gd-hero{margin:0 0 0}
.gd-info{margin:12px 12px 0;padding:12px}
.gd-sec{margin:12px 12px 0;padding:12px}
.gd-merchant .nm{font-size:14.5px}
.gd-merchant .ds{font-size:12px;margin-top:4px;line-height:1.5}
.gd-sec .gd-tags{margin-top:10px}

/* 4. 首页三个页签均分 */
.tabs-line.inside{padding:0}
.tabs-line.inside .tl-item{flex:1;width:33.33%;justify-content:center;text-align:center;padding-left:0;padding-right:0}
.tabs-line.inside{display:flex;align-items:center}

/* 9. 底部平台信息 */
.platform-foot{display:flex;align-items:center;justify-content:center;gap:9px;margin:18px 12px 0;padding:12px 8px;
  color:var(--sub);font-size:11.5px;text-align:left}
.platform-foot  .ic{width:26px;height:26px;border-radius:8px;opacity:.9;font-size:26px}
.platform-foot b{display:block;font-size:12px;color:#5A5F68;font-weight:600}
.platform-foot span{display:block;margin-top:2px;font-size:11px;color:var(--sub-2)}

/* 14. 我的订单角标：白字深色胶囊 */
.pf-orders .oi .badge{background:var(--brand);color:#fff;height:16px;min-width:16px;padding:0 4px;font-size:11px;
  top:-1px;right:50%;margin-right:-26px;box-shadow:0 3px 8px rgba(255,90,31,.22)}

/* 11. 商家导航按钮更醒目 */
.ms-addr .navi{padding:8px 15px;border-radius:18px;background:var(--brand);color:#fff;font-size:12.5px;font-weight:700;
  box-shadow:0 4px 10px rgba(255,90,31,.25);margin-left:8px}
.ms-addr .navi:active{opacity:.86}
.ms-info-row .ln span[onclick]{padding:7px 12px;border-radius:16px;background:var(--brand-soft);font-size:12px;font-weight:600}

/* 12. 分类页重构：搜索 + 侧栏 + 单列顶部大图 */
.cat-head{background:#fff;padding:calc(14px + var(--safe-t)) 12px 12px}
.cat-head h2{font-size:20px;font-weight:800}
.cat-head-note{font-size:11.5px;color:var(--sub)}
.cat-search{margin-top:11px;height:40px;border-radius:20px;background:#F4F5F7;display:flex;align-items:center;gap:8px;padding:0 6px 0 13px}
.cat-search  .ic{width:16px;height:16px;font-size:16px}
.cat-search input{flex:1;border:0;background:transparent;outline:none;font-size:13px;color:var(--ink)}
.cat-search .clr{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff}
.cat-search .clr  .ic{width:13px;height:13px;font-size:13px}
.cat-layout{height:calc(100vh - 228px - var(--safe-t) - var(--tab-h) - var(--safe-b));height:calc(100dvh - 228px - var(--safe-t) - var(--tab-h) - var(--safe-b));display:flex;background:#fff}
.cat-rail{width:92px;flex:none;background:#F7F8FA;overflow-y:auto;padding:6px 0 40px;scrollbar-width:none}
.cat-rail::-webkit-scrollbar{display:none}
.cat-rail .ri{padding:12px 4px;text-align:center;font-size:12.5px;color:#5A5F68;position:relative;transition:.15s;border-radius:0}
.cat-rail .ri.on{background:#fff;color:var(--brand);font-weight:700}
.cat-main{flex:1;min-width:0;overflow-y:auto;padding:12px 10px 28px;scrollbar-width:none;
  background:#F7F8FA}
.cat-main::-webkit-scrollbar{display:none}
.cat-main .cat-banner{height:104px;border-radius:12px}
.cat-banner-copy{background:linear-gradient(120deg,#FFF4EC,#FFE6D6);border-radius:12px;padding:18px 16px;height:104px;
  display:flex;flex-direction:column;justify-content:center;border:1px solid #FFE1CE}
.cat-banner-copy b{font-size:20px;font-weight:800;color:#3B1B09}
.cat-banner-copy span{font-size:12px;color:#9A6040;margin-top:6px}
.cat-main .sub-title{font-size:13px;font-weight:700;margin:14px 2px 9px}
.cat-main .goods-grid{gap:9px}
.cl-wrap{padding:10px 12px 0}
.cl-wrap .goods-grid{gap:10px}
.cat-main .g-card{border-radius:12px}

/* 详情页底部滚动不被遮挡 */
.screen.has-actionbar{padding-bottom:calc(94px + var(--safe-b))}

/* 登录半屏弹窗 */
.login-sheet{width:100%;max-width:560px;background:#fff;border-radius:22px 22px 0 0;padding:0;
  max-height:86vh;overflow:hidden;display:flex;flex-direction:column;animation:sheetIn .28s cubic-bezier(.2,.8,.3,1)}
.login-sheet-bd{padding:10px 16px calc(16px + var(--safe-b));overflow-y:auto}
.login-grip{display:none}
.login-sheet h2{font-size:21px;font-weight:800;color:var(--ink)}
.login-sheet .lg-sub{font-size:12px;color:var(--sub);margin-top:5px}
.login-sheet .auth-field{margin-top:10px}
.login-sheet .check{margin:12px 0}
.login-sheet .btn-p{width:100%;height:46px}
.login-sheet .lg-tip{font-size:11px;color:#A4A9B2;line-height:1.6;margin-top:10px;text-align:center}
.login-sheet .auth-tabs{margin:4px 0 12px}

/* 实名认证新版 */
.rn-hero{background:linear-gradient(135deg,#FFF3EA,#FFE3D2);border-radius:16px;padding:16px;display:flex;gap:12px;align-items:center;margin-bottom:12px}
.rn-hero .ic{width:44px;height:44px;flex:none}
.rn-hero b{font-size:16px;color:#3B1B09;display:block}
.rn-hero span{font-size:11.5px;color:#94603C;display:block;margin-top:4px;line-height:1.5}
.rn-steps{display:flex;background:#fff;border-radius:14px;padding:12px 4px;margin:0 0 12px;box-shadow:var(--sh)}
.rn-steps .st{flex:1;text-align:center;font-size:11px;color:var(--sub);position:relative}
.rn-steps .st .n{width:20px;height:20px;border-radius:50%;background:#F2F3F5;color:var(--sub);margin:0 auto 5px;
  display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}
.rn-steps .st.on .n,.rn-steps .st.done .n{background:var(--brand);color:#fff}
.rn-steps .st.done .n{font-size:0}
.rn-steps .st.done .n::after{content:'✓';font-size:12px}
.rn-steps .st.on{color:var(--brand);font-weight:600}
.rn-id-card,.rn-done-card{background:#fff;border-radius:14px;padding:12px;box-shadow:var(--sh);margin-bottom:12px}
.rn-done-card{display:flex;gap:10px;align-items:center;background:#F3FBF6;border:1px solid #D8F0E2}
.rn-done-card  .ic{width:34px;height:34px;flex:none;font-size:34px}
.rn-done-card b{font-size:15px;display:block;color:#167A46}
.rn-done-card span{font-size:11.5px;color:#4C8A68;display:block;margin-top:2px}

/* 亲属卡操作按钮 */
.fc-ft{display:flex;gap:8px;margin-top:10px}
.fc-ft span{flex:1;text-align:center;font-size:11.5px;padding:8px 0;border-radius:9px;background:#F7F8FA;color:#4A4F57}
.fc-ft span:active{background:#F0F1F4}
.fc-ft span.danger{color:var(--red);background:#FFF2F0}
.fc-pending{background:#FFF9F0;border:1px solid #FFE2C2;border-radius:10px;padding:9px 10px;font-size:11.5px;color:#8A6338;margin-top:8px}

/* 帮助中心重构 */
.help-hero{background:linear-gradient(135deg,#FFF4EC,#FFE4D4);border-radius:16px;padding:17px;margin:12px}
.help-hero b{font-size:20px;font-weight:800;color:#3B1B09}
.help-hero p{font-size:12px;color:#94603C;margin-top:5px;line-height:1.5}
.help-search{margin-top:12px;height:40px;border-radius:20px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 12px}
.help-search  .ic{width:16px;height:16px;font-size:16px}
.help-search input{flex:1;border:0;outline:none;font-size:13px;background:transparent}
.help-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 12px}
.help-cat{background:#fff;border-radius:12px;padding:12px 6px;text-align:center;box-shadow:var(--sh)}
.help-cat  .ic{width:23px;height:23px;margin:0 auto 6px;display:block;font-size:23px}
.help-cat span{font-size:11px;color:#4A4F57}
.help-faq{margin:12px;background:#fff;border-radius:14px;box-shadow:var(--sh);overflow:hidden}
.help-faq .qa{padding:13px 12px;border-bottom:1px solid var(--line-2)}
.help-faq .qa:last-child{border-bottom:0}
.help-faq .q{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink)}
.help-faq .q  .ic{width:12px;height:12px;margin-left:auto;transition:.2s;font-size:12px}
.help-faq .a{display:none;font-size:12px;color:var(--sub);line-height:1.7;margin-top:8px;padding-left:2px}
.help-faq .qa.open .a{display:block}
.help-faq .qa.open .q  .ic{transform:rotate(90deg)}

/* 商品/服务统一交付方式选择 */
.fulfill-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.fulfill-choice{border:1.5px solid var(--line);border-radius:11px;padding:10px;text-align:center;background:#FAFBFC}
.fulfill-choice  .ic{width:22px;height:22px;margin:0 auto 4px;display:block;font-size:22px}
.fulfill-choice b{font-size:12px;color:var(--ink);display:block}
.fulfill-choice span{font-size:11.5px;color:var(--sub);display:block;margin-top:2px}
.fulfill-choice.on{border-color:var(--brand);background:var(--brand-soft)}
.fulfill-choice.on b{color:var(--brand)}

/* 结算页 */
.co-item{display:flex;gap:11px;background:#fff;border-radius:14px;padding:12px;box-shadow:var(--sh);margin:12px}
.co-item  .ic,.co-item img{width:74px;height:74px;border-radius:10px;object-fit:cover;flex:none;font-size:74px;background:#F4F5F7}
.co-item h3{font-size:13.5px;line-height:1.45}
.co-item .m{font-size:11.5px;color:var(--sub);margin-top:4px}
.co-item .p{margin-top:7px;color:var(--brand);font-weight:800;font-size:16px}
.co-block{background:#fff;border-radius:14px;padding:12px;box-shadow:var(--sh);margin:12px}
.co-block h3{font-size:13.5px;font-weight:700;margin-bottom:10px}
.co-addr{border:1px solid var(--line-2);border-radius:10px;padding:10px;margin-bottom:8px}
.co-addr.on{border-color:var(--brand);background:var(--brand-soft)}
.co-own-tip{display:flex;align-items:center;gap:6px;margin:12px 12px 0;padding:10px 11px;border-radius:11px;background:#FFF4E8;border:1px solid #FFDFC2;color:#B45A12;font-size:11.5px;line-height:1.5}

/* v2.6 商家订单管理 */
.shop-order-summary{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:13px;padding:12px 4px;box-shadow:var(--sh);margin-bottom:12px}
.shop-order-summary div{text-align:center;position:relative}
.shop-order-summary div+div::before{content:'';position:absolute;left:0;top:5px;bottom:5px;width:1px;background:#F0F1F4}
.shop-order-summary b{display:block;font-size:18px;font-weight:800;color:#20252D;line-height:1.2}
.shop-order-summary span{display:block;font-size:10.5px;color:#9AA0AA;margin-top:4px}
.shop-order-card .shop-order-status{font-size:10.5px;font-weight:700}
.shop-order-status.st-shipping{color:#C47A16}
.shop-order-status.st-verify{color:var(--brand)}
.shop-order-status.st-refunded{color:#9AA0AA}
.shop-order-status.st-done{color:#12A35A}
.shop-order-card .gm-ft .acts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.co-addr b{font-size:13px}
.co-addr span{display:block;font-size:11.5px;color:var(--sub);margin-top:3px}
.co-empty{font-size:12px;color:var(--sub);text-align:center;padding:12px 0}
.date-chips,.time-chips{display:flex;gap:7px;overflow-x:auto;padding-bottom:4px}
.date-chips div,.time-chips div{flex:none;padding:8px 12px;border-radius:9px;background:#F5F6F8;font-size:12px;color:#5A5F68}
.date-chips div.on,.time-chips div.on{background:var(--brand-soft);color:var(--brand);font-weight:700}
.co-bar{position:fixed;left:0;right:0;bottom:0;z-index:70;max-width:560px;margin:0 auto;background:#fff;
  padding:10px 14px calc(10px + var(--safe-b));box-shadow:var(--sh-up);display:flex;align-items:center;gap:12px}
.co-bar .total{flex:1;font-size:12px;color:var(--sub)}
.co-bar .total b{font-size:20px;color:var(--brand);font-weight:800;margin-left:3px}
.co-bar .btn{width:auto;flex:none;padding:0 26px}
/* 1. 省/直辖市一行一个 + 返回上一级 */
.rp-levelbar{padding:12px 12px 4px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.rp-levelbar::-webkit-scrollbar{display:none}
.rp-levelbar .lv-back{flex:none;font-size:12px;color:var(--brand);background:var(--brand-soft);border-radius:8px;padding:4px 8px;margin-right:4px;font-weight:600}
.rp-panel{margin:8px 12px 0;padding:0;border-radius:14px}
.prov-list{padding:0}
.prov-row{display:flex;align-items:center;gap:8px;padding:12px 12px;border-bottom:1px solid var(--line-2)}
.prov-row:last-child{border-bottom:0}
.prov-row .nm{flex:1;font-size:13.5px;font-weight:500;color:var(--ink)}
.prov-row .c{font-size:11.5px;color:var(--sub-2)}
.prov-row .cur-tag{font-size:11.5px;color:var(--brand);background:var(--brand-soft);padding:3px 6px;border-radius:6px}
.prov-row .ic-xs{width:13px;height:13px;opacity:.6}
.prov-row:active{background:#FAFBFC}
.prov-row.cur .nm{color:var(--brand);font-weight:700}

/* 16. 未登录态 / 工作台身份标识 */
.guest-hero{background:linear-gradient(150deg,#FF6A2B,#FF8A3D);padding:calc(38px + var(--safe-t)) 24px 30px;color:#fff;text-align:center}
.guest-hero> .ic{width:76px;height:76px;border-radius:50%;border:3px solid rgba(255,255,255,.55);margin:0 auto 12px;display:block;background:#fff;font-size:76px}
.guest-hero h2{font-size:21px;font-weight:800}
.guest-hero p{font-size:12.5px;opacity:.9;margin-top:6px}
.guest-hero .btn-p{background:#fff;color:var(--brand);box-shadow:0 8px 20px rgba(120,50,10,.18)}
.guest-benefits{display:flex;margin:-18px 12px 0;background:#fff;border-radius:14px;box-shadow:var(--sh);padding:12px 4px;position:relative}
.guest-benefits>div{flex:1;text-align:center}
.guest-benefits  .ic{width:24px;height:24px;margin:0 auto 6px;display:block;font-size:24px}
.guest-benefits b{font-size:12px;display:block;color:var(--ink)}
.guest-benefits span{font-size:11.5px;color:var(--sub);display:block;margin-top:2px}
.role-badge{font-size:11.5px;color:var(--brand);background:var(--brand-soft);padding:3px 8px;border-radius:8px;font-weight:600}

/* 17. 亲属卡 */
.fc-hero{display:flex;gap:11px;align-items:center;background:linear-gradient(135deg,#FFF4EC,#FFE3D3);border-radius:14px;padding:13px;margin-bottom:12px}
.fc-hero  .ic{width:36px;height:36px;flex:none;font-size:36px}
.fc-hero b{font-size:14px;color:#3B1B09;display:block}
.fc-hero span{font-size:11.5px;color:#8A6044;display:block;margin-top:3px;line-height:1.5}
.fc-rel{font-size:11.5px;color:var(--sub);background:#F2F3F5;padding:2px 6px;border-radius:6px;font-weight:400}

/* 18. 帮助中心联系卡片 */
.help-contact{margin:12px;background:#fff;border-radius:14px;box-shadow:var(--sh);padding:12px;display:flex;align-items:center;gap:10px}
.help-contact>div{display:flex;align-items:center;gap:9px;flex:1}
.help-contact  .ic{width:30px;height:30px;font-size:30px}
.help-contact b{display:block;font-size:12.5px;color:var(--ink)}
.help-contact span{display:block;font-size:11.5px;color:var(--sub);margin-top:2px}
.help-empty{text-align:center;color:var(--sub);font-size:12px;padding:22px 0}
.section-hd{display:flex;align-items:center;justify-content:space-between}
.section-hd h3{font-size:14px;font-weight:700}

/* 15. 商品/服务发布页 */
.fulfill-choice{transition:.15s}
.fulfill-choice  .ic{width:24px;height:24px;font-size:24px}

/* 22. 修改密码验证码按钮宽度 */
.code-btn{min-width:84px;text-align:center}

/* 25. 顶栏右侧功能迁移到页面内 */
.inline-search{margin:0 12px;height:38px;border-radius:19px;background:#F4F5F7;display:flex;align-items:center;padding:0 12px}
.inline-search span{display:flex;align-items:center;gap:7px;width:100%;color:var(--sub);font-size:12.5px}
.inline-search  .ic{width:16px;height:16px;font-size:16px}
.inline-search em{font-style:normal}
.msg-tools{display:flex;justify-content:flex-end;padding:8px 14px 0;font-size:12px;color:var(--sub)}
.msg-tools span{display:flex;align-items:center;gap:4px}

/* 细节修补 */
.gd-sec .gd-tags{display:flex;gap:6px;flex-wrap:wrap}
.gd-info .gd-title{margin-top:0}
.ms-addr{display:flex;align-items:center;gap:7px}
.ms-addr .navi{margin-left:auto;flex:none}
.fc-card .fc-top .nm{font-size:14px;font-weight:700}
.fc-card .fc-top .rs{font-size:11.5px;color:var(--sub);margin-top:3px}
.fc-card .fc-bar{height:5px;border-radius:3px;background:#F1F2F5;margin-top:10px;overflow:hidden}
.fc-card .fc-bar i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#FF8A3D,#FF5A1F)}
.fc-ft span{font-size:11.5px;padding:8px 0;border-radius:9px;background:#F7F8FA;color:#4A4F57}
.fc-ft span:active{background:#F0F1F4}
.fc-ft span.danger{color:var(--red);background:#FFF2F0}
.fc-pending{background:#FFF9F0;border:1px solid #FFE2C2;border-radius:10px;padding:9px 10px;font-size:11.5px;color:#8A6338;margin-top:8px}
.help-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 12px}
.help-contact{background:#fff;border:1px solid var(--line-2)}
.help-faq .qa.open .a{display:block}
.login-sheet .role-card{cursor:pointer}
.login-sheet .auth-field{display:flex;align-items:center;gap:8px;background:#F5F6F8;border-radius:11px;padding:0 12px;height:46px}
.login-sheet .auth-field  .ic{width:18px;height:18px;font-size:18px}
.login-sheet .auth-field input{flex:1;border:0;background:transparent;outline:none;font-size:13.5px}
.login-sheet .auth-field .code-btn{font-size:12px;color:var(--brand);font-weight:600;white-space:nowrap}
.login-sheet .check{font-size:11.5px;color:var(--sub);line-height:1.5}
.login-sheet .check a,.login-sheet .lg-alt a{color:var(--brand)}
.guest-list{margin:12px;background:#fff;border-radius:14px;box-shadow:var(--sh);padding:4px 12px}
.guest-list>div{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line-2)}
.guest-list>div:last-child{border-bottom:0}
.guest-list span{width:34px;height:34px;border-radius:10px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;flex:none}
.guest-list span  .ic{width:18px;height:18px;font-size:18px}
.guest-list b{font-size:12.5px;color:var(--ink);display:block}
.guest-list em{font-size:11.5px;color:var(--sub);font-style:normal;display:block;margin-top:2px}
/* 6. 板块内边距统一 10px（标题与外边距保持 12px） */
.gd-sec,.gd-info,.form-card,.co-block,.order-block,.card,.settings-group>.cell-group{padding:10px}
.cell{padding:10px 12px}
.tabs-line.inside{gap:0}
.banner,.cat-menu,.home-seg{margin:12px 12px 0}
.pad-x{padding-left:12px;padding-right:12px}
.gd-merchant .ic{width:13px;height:13px;opacity:.65}
.trade-hero .pub-btn{position:static;width:100%;justify-content:center;margin-top:12px;height:40px;border-radius:12px;background:var(--brand);color:#fff;font-size:13.5px;box-shadow:0 6px 16px rgba(255,90,31,.28)}
.trade-hero .pub-btn .ic{width:15px;height:15px;font-size:15px;color:#fff}
.rp-panel,.trade-bread,.ms-card,.gd-sec,.pf-wallet,.wallet-hero,.code-box,.verify-hero,.verify-records,.qr-page,.about-hero,.doc-page,.share-card,.share-acts,.order-block{margin-left:12px;margin-right:12px}

/* ==================== 富文本编辑器 ==================== */
.rich-editor{border:1px solid #E9EBEF;border-radius:12px;overflow:hidden;background:#fff}
.rich-toolbar{display:flex;align-items:center;gap:5px;padding:7px 8px;background:#FAFBFC;border-bottom:1px solid #F0F1F4;overflow-x:auto;scrollbar-width:none}
.rich-toolbar::-webkit-scrollbar{display:none}
.rt-btn{width:30px;height:29px;flex:none;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:#3D424B;background:#fff;border:1px solid #ECEEF2}
.rt-btn:active{background:var(--brand-soft);color:var(--brand)}
.rt-size{height:29px;flex:none;border:1px solid #ECEEF2;border-radius:7px;padding:0 5px;font-size:11.5px;color:#3D424B;background:#fff;outline:none}
.rt-colors{display:flex;align-items:center;gap:5px;flex:none;margin-left:2px}
.rt-colors span{width:19px;height:19px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #E4E6EA;cursor:pointer}
.rt-colors span.on{box-shadow:0 0 0 2px var(--brand)}
.rt-img{position:relative;overflow:hidden}
.rich-area{min-height:154px;max-height:360px;overflow-y:auto;padding:12px 12px 14px;font-size:14px;line-height:1.72;color:#3D424B;outline:none;word-break:break-word}
.rich-area:empty::before{content:attr(data-placeholder);color:#B6BBC4}
.rich-area img{max-width:100%;height:auto;border-radius:8px;margin:8px 0;display:block}
.rich-area h3{font-size:17px;line-height:1.45;color:var(--ink);margin:0 0 6px}
.rich-area ul,.rich-area ol{padding-left:18px;list-style:disc;margin:8px 0}
.rich-area li{margin:3px 0}
.rich-foot{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;border-top:1px solid #F4F5F7;background:#FCFCFD;font-size:11px;color:#A4A9B2}
.ai-row{display:flex;align-items:center;gap:8px;margin-top:9px;flex-wrap:wrap}
.ai-row .btn{width:auto;flex:none;height:32px;font-size:12px}
.ai-row>span{font-size:11px;color:#A4A9B2}

/* ==================== 收款比例 ==================== */
.fee-hero{background:var(--brand);border-radius:18px;padding:18px;color:#fff;position:relative;overflow:hidden;margin-bottom:14px;box-shadow:0 10px 24px rgba(255,90,31,.18)}
.fee-hero::after{content:'';position:absolute;right:-38px;top:-45px;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.18),rgba(255,255,255,0) 68%)}
.fh-kicker{display:flex;align-items:center;gap:5px;font-size:11px;color:rgba(255,255,255,.88);letter-spacing:.4px}
.fh-row{display:flex;align-items:flex-end;gap:8px;margin-top:14px;position:relative;z-index:1}
.fh-row>div>b{font-size:26px;line-height:1;font-weight:800;letter-spacing:-.5px;color:#fff}
.fh-row>div>span{display:block;font-size:11px;color:rgba(255,255,255,.72);margin-top:5px}
.fh-eq,.fh-plus{font-size:16px;color:rgba(255,255,255,.58);padding-bottom:13px}
.fee-bar{display:flex;height:5px;border-radius:3px;overflow:hidden;background:rgba(255,255,255,.22);margin-top:16px}
.fee-bar i{background:#fff;transition:width .2s}
.fee-bar em{background:#FFE0A3;transition:width .2s}
.fh-tip{font-size:11px;line-height:1.6;color:rgba(255,255,255,.82);margin-top:10px;position:relative;z-index:1}
.fee-slider-row{display:flex;align-items:center;gap:9px}
.fee-slider-row input[type=range]{flex:1;accent-color:var(--brand);height:20px}
.fee-num{width:64px;flex:none;text-align:center;padding:9px 8px}
.fee-slider-row>span{font-size:13px;color:var(--sub);flex:none}
.fee-presets{display:flex;gap:7px;flex-wrap:wrap;margin-top:-2px}
.fee-presets .chip{height:30px;padding:0 11px}

/* ==================== 我的团队 ==================== */
.team-hero{background:#FFF4EC;color:#2A1A10;padding:calc(18px + var(--safe-t)) 18px 18px;border-radius:0;position:relative;overflow:hidden}
.th-top{display:flex;align-items:flex-start;justify-content:space-between;position:relative;z-index:1}
.th-kicker{font-size:11px;letter-spacing:2px;color:#E8480F;font-weight:700}
.th-top h2{font-size:24px;line-height:1.2;margin-top:4px;font-weight:800;letter-spacing:.5px}
.th-top p{font-size:11px;color:#9A6B52;margin-top:6px;line-height:1.55}
.th-ic{width:42px;height:42px;border-radius:13px;background:#FFE2D0;display:flex;align-items:center;justify-content:center}
.th-ic .ic{font-size:22px}
.th-stats{display:flex;margin-top:18px;padding-top:14px;border-top:1px solid #F0DCCD;position:relative;z-index:1}
.th-stats>div{flex:1;min-width:0}
.th-stats>div+div{border-left:1px solid #F0DCCD;padding-left:10px}
.th-stats b{display:block;font-size:15px;font-weight:800;letter-spacing:-.3px;color:#2A1A10}
.th-stats span{display:block;font-size:10.5px;color:#9A6B52;margin-top:4px;white-space:nowrap}
.team-tabs{display:flex;gap:4px;background:#fff;margin:12px;padding:4px;border-radius:12px;box-shadow:var(--sh)}
.team-tabs>div{flex:1;text-align:center;height:38px;line-height:38px;border-radius:9px;font-size:13px;color:#6F757F;font-weight:600}
.team-tabs>div.on{background:var(--brand-soft);color:var(--brand);font-weight:700}
.team-body{padding:0 12px 18px}
.team-note{display:flex;gap:6px;align-items:flex-start;font-size:11px;line-height:1.6;color:#8B919B;background:#fff;border-radius:11px;padding:10px 11px;margin-bottom:10px}
.team-note .ic{margin-top:2px}
.tm-root{background:linear-gradient(100deg,#FFF4EC,#FFF9F5);border:1px solid #FFE6D7;border-radius:14px;padding:12px;display:flex;align-items:center;gap:11px;margin-bottom:10px}
.tm-root-avatar img{width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 2px 8px rgba(255,90,31,.15)}
.tm-root-main{flex:1;min-width:0}
.tm-root-name{font-size:15px;font-weight:800;display:flex;align-items:center;gap:6px}
.tm-me{font-size:11px;background:var(--brand);color:#fff;border-radius:4px;padding:2px 5px;font-weight:600}
.tm-root-sub{font-size:11px;color:#9A6B52;margin-top:4px}
.tm-root-total{text-align:right}
.tm-root-total b{display:block;font-size:14px;color:var(--brand);font-weight:800}
.tm-root-total span{font-size:11px;color:#A98C7B}
.team-tree{border-radius:14px}
.tm-node{position:relative;margin:8px 0}
.tm-kids{margin-left:15px;padding-left:13px;border-left:1px dashed #E2E5EA;margin-top:8px}
.tm-line{position:absolute;left:-13px;top:25px;width:13px;height:1px;border-top:1px dashed #E2E5EA}
.tm-card{background:#fff;border-radius:12px;padding:11px 10px;display:flex;align-items:center;gap:9px;box-shadow:var(--sh)}
.tm-card:active{background:#FBFBFC}
.tm-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:none}
.tm-main{flex:1;min-width:0}
.tm-name{font-size:13px;font-weight:700;display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden}
.tm-role{font-size:11px;background:#F3F4F6;color:#737A84;padding:2px 5px;border-radius:4px;font-weight:500}
.tm-sub{font-size:11px;color:#A0A5AE;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tm-metrics{display:flex;gap:7px;margin-top:4px;font-size:11px;color:#8B919B}
.tm-metrics span:first-child{color:var(--brand)}
.tm-money{text-align:right;flex:none}
.tm-money b{display:block;font-size:12.5px;color:var(--brand);font-weight:800}
.tm-money span{font-size:11px;color:#ABB0B8}
.tm-money em{display:block;font-size:11px;color:#ABB0B8;font-style:normal;margin-top:2px}
.tm-chev{flex:none;margin-left:-2px}
.tm-detail-head{display:flex;align-items:center;gap:10px;padding:4px 0 12px;border-bottom:1px solid #F1F2F4;margin-bottom:12px}
.tm-detail-head img{width:42px;height:42px;border-radius:50%}
.tm-detail-head b{display:block;font-size:14px;color:var(--ink)}
.tm-detail-head span{font-size:11px;color:var(--sub)}
.tm-detail-grid{display:flex}
.tm-detail-grid>div{flex:1;text-align:center;border-right:1px solid #F1F2F4}
.tm-detail-grid>div:last-child{border:0}
.tm-detail-grid b{display:block;font-size:15px;color:var(--ink)}
.tm-detail-grid span{font-size:11px;color:var(--sub)}
.team-summary{display:flex;background:#fff;border-radius:12px;margin-top:10px;padding:11px 0}
.team-summary>div{flex:1;text-align:center}
.team-summary b{display:block;font-size:16px;font-weight:800}
.team-summary span{font-size:11px;color:var(--sub)}
.commission-list{background:#fff;border-radius:13px;overflow:hidden}
.cm-row{display:flex;align-items:center;gap:9px;padding:11px 12px;border-bottom:1px solid #F5F6F8}
.cm-row:last-child{border:0}
.cm-ic{width:32px;height:32px;border-radius:9px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;flex:none}
.cm-main{flex:1;min-width:0}
.cm-title{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-sub{font-size:11px;color:#A4A9B2;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-right{text-align:right;flex:none}
.cm-right b{display:block;font-size:13px;color:var(--brand);font-weight:800}
.cm-right span{display:block;font-size:11px;color:#ABB0B8;margin-top:2px}
.commission-rule{background:#fff;border-radius:13px;padding:13px;margin-top:10px}
.cr-t{font-size:13px;font-weight:700;margin-bottom:9px}
.cr-row{display:flex;justify-content:space-between;font-size:11.5px;color:#6F757F;padding:7px 0;border-bottom:1px dashed #F1F2F4}
.cr-row:last-of-type{border:0}
.cr-row b{color:var(--ink);font-weight:700}
.cr-tip{font-size:11px;line-height:1.6;color:#ABB0B8;margin-top:7px}

/* ==================== 品牌商家 ==================== */
.brand-hero{margin:0;border-radius:0;background:#FF5A1F;color:#fff;padding:18px 16px 16px;position:relative;overflow:hidden}
.bh-kicker{display:flex;align-items:center;gap:5px;font-size:11px;color:rgba(255,255,255,.86);letter-spacing:.8px;position:relative;z-index:1}
.brand-hero h2{font-size:23px;font-weight:800;margin-top:7px;letter-spacing:.5px;position:relative;z-index:1}
.brand-hero p{font-size:11px;color:rgba(255,255,255,.78);margin-top:5px;position:relative;z-index:1}
.bh-stats{display:flex;margin-top:15px;padding-top:12px;border-top:1px solid rgba(255,255,255,.18);position:relative;z-index:1}
.bh-stats>div{flex:1;min-width:0}
.bh-stats>div+div{border-left:1px solid rgba(255,255,255,.18);padding-left:13px}
.bh-stats b{display:block;font-size:16px;font-weight:800}
.bh-stats span{display:block;font-size:10.5px;color:rgba(255,255,255,.74);margin-top:3px}
.brand-tabs{display:flex;gap:4px;background:#fff;margin:0 12px 10px;padding:4px;border-radius:12px;box-shadow:var(--sh)}
.brand-tabs>div{flex:1;text-align:center;height:38px;line-height:38px;font-size:13px;color:#6F757F;border-radius:9px;font-weight:600}
.brand-tabs>div.on{background:var(--brand-soft);color:var(--brand);font-weight:700}
.brand-tabs em{font-style:normal;font-size:11px;opacity:.75;margin-left:2px}
.brand-search{margin:0 12px 10px;height:40px;border-radius:20px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 13px;box-shadow:var(--sh)}
.brand-search .ic{color:#A4A9B2}
.brand-search input{flex:1;border:0;outline:none;background:transparent;font-size:13px;min-width:0}
.brand-list{padding:0 12px 12px;display:flex;flex-direction:column;gap:9px}
.brand-card{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;padding:12px;box-shadow:var(--sh)}
.brand-card:active{background:#FBFBFC}
.bc-logo{width:54px;height:54px;border-radius:13px;overflow:hidden;flex:none;background:#F2F3F5}
.bc-logo img{width:100%;height:100%;object-fit:cover}
.bc-main{flex:1;min-width:0}
.bc-name{font-size:13.5px;font-weight:700;display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bc-badge{font-size:11px;color:var(--ok);background:var(--ok-soft);border-radius:4px;padding:2px 5px;font-weight:600;flex:none}
.bc-badge.gray{color:#858B95;background:#F2F3F5}
.bc-sub{font-size:11px;color:#9399A3;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bc-meta{display:flex;align-items:center;gap:7px;font-size:11px;color:#ABB0B8;margin-top:5px;white-space:nowrap;overflow:hidden}
.bc-star{color:var(--brand);display:inline-flex;align-items:center;gap:2px;font-weight:600}
.bc-arrow{flex:none}
.bc-join{flex:none;width:auto!important;height:30px;font-size:11px;padding:0 10px}
.prospect-tip{font-size:11px;line-height:1.6;color:#9A6B52;background:#FFF8F3;border-radius:9px;padding:8px 10px;display:flex;gap:5px;align-items:flex-start}
.brand-claim{margin:2px 12px 18px;background:#fff;border-radius:14px;padding:15px;text-align:center;box-shadow:var(--sh)}
.bc-t{font-size:13.5px;font-weight:700}
.bc-s{font-size:11px;color:#9399A3;margin-top:4px}
.brand-claim .btn{width:auto;margin:11px auto 0;padding:0 22px}

/* ==================== 区域代理 / 辖区 ==================== */
.agent-hero{background:#191C22;color:#fff;padding:calc(17px + var(--safe-t)) 18px 16px;border-radius:0 0 20px 20px;position:relative;overflow:hidden}
.agent-hero::before{content:'';position:absolute;right:-55px;bottom:-75px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(255,90,31,.3),transparent 68%)}
.ah-top{display:flex;align-items:flex-start;justify-content:space-between;position:relative;z-index:1}
.ah-kicker{font-size:11px;letter-spacing:1.5px;color:#FFB596;font-weight:700}
.ah-top h2{font-size:24px;font-weight:800;margin-top:4px;letter-spacing:.4px}
.ah-top p{font-size:11px;color:rgba(255,255,255,.55);margin-top:5px}
.ah-badge{display:flex;align-items:center;gap:4px;font-size:11px;color:#FFD5C3;background:rgba(255,255,255,.1);padding:6px 9px;border-radius:10px}
.ah-badge .ic{font-size:13px;width:13px;height:13px}
.ah-stats{display:flex;margin-top:16px;padding-top:13px;border-top:1px solid rgba(255,255,255,.1);position:relative;z-index:1}
.ah-stats>div{flex:1}
.ah-stats>div+div{border-left:1px solid rgba(255,255,255,.1);padding-left:13px}
.ah-stats b{display:block;font-size:17px;font-weight:800}
.ah-stats span{display:block;font-size:11px;color:rgba(255,255,255,.5);margin-top:3px}
.agent-note{display:flex;align-items:flex-start;gap:6px;font-size:11px;line-height:1.6;color:#8B6A58;background:#FFF7F2;border:1px solid #FFE8DA;border-radius:10px;padding:9px 10px;margin:12px 0}
.agent-note .ic{margin-top:1px}
.agent-scope{display:flex;gap:9px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
.agent-scope::-webkit-scrollbar{display:none}
.as-item{flex:none;min-width:94px;background:#fff;border-radius:12px;padding:11px 12px;box-shadow:var(--sh);border:1px solid transparent}
.as-item.on{border-color:#FFD9C8;background:#FFF9F5}
.as-item b{display:block;font-size:12.5px;font-weight:700}
.as-item span{display:block;font-size:11px;color:#A4A9B2;margin-top:3px}
.agent-comm{background:#fff;border-radius:13px;overflow:hidden}
.ac-row{display:flex;align-items:center;gap:9px;padding:11px 12px;border-bottom:1px solid #F5F6F8}
.ac-row:last-child{border:0}
.ac-ic{width:32px;height:32px;border-radius:9px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;flex:none}
.ac-main{flex:1;min-width:0}
.ac-title{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-sub{font-size:11px;color:#A4A9B2;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-right{text-align:right;flex:none}
.ac-right b{display:block;font-size:12.5px;color:var(--brand);font-weight:800}
.ac-right span{font-size:11px;color:#ABB0B8;margin-top:2px;display:block}
.agent-row{display:flex;align-items:center;gap:10px;background:#fff;border-radius:12px;padding:11px 12px;margin-bottom:8px;box-shadow:var(--sh)}
.ar-logo{width:44px;height:44px;border-radius:11px;object-fit:cover;flex:none}
.ar-avatar{width:44px;height:44px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;flex:none}
.ar-main{flex:1;min-width:0}
.ar-name{font-size:12.5px;font-weight:700;display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden}
.ar-sub{font-size:11px;color:#9AA0AA;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.agent-row .btn{width:auto!important;flex:none;height:29px;font-size:11px;padding:0 9px}

/* ==================== 经营地址 / 地图 ==================== */
.addr-region-row{display:grid;grid-template-columns:1.1fr 1.1fr 0.9fr;gap:6px}
.addr-region-row .select{padding:10px 6px;font-size:11.5px;border-radius:9px;min-width:0}
.addr-search{margin-top:10px;height:39px;border-radius:10px;background:#F7F8FA;display:flex;align-items:center;gap:7px;padding:0 6px 0 11px}
.addr-search .ic{color:#9AA0AA}
.addr-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font-size:12.5px}
.addr-search-btn{height:29px;padding:0 12px;border-radius:8px;background:var(--brand);color:#fff;font-size:11.5px;font-weight:600;flex:none}
.addr-results{background:#fff;border:1px solid #EDEFF3;border-radius:10px;margin-top:7px;max-height:180px;overflow-y:auto;box-shadow:0 6px 18px rgba(20,24,31,.08);position:relative;z-index:20}
.addr-result-item{display:flex;align-items:flex-start;gap:8px;padding:10px 11px;border-bottom:1px solid #F4F5F7}
.addr-result-item:last-child{border:0}
.addr-result-item .ic{font-size:16px;width:16px;height:16px;margin-top:1px}
.addr-result-item b{display:block;font-size:12px;font-weight:600;color:#252A31}
.addr-result-item span{display:block;font-size:11px;line-height:1.4;color:#9AA0AA;margin-top:2px}
.addr-result-empty,.addr-result-loading{display:flex;align-items:center;gap:7px;padding:12px;font-size:11px;color:#9AA0AA}
.addr-map{height:212px;border-radius:12px;overflow:hidden;margin-top:8px;background:#EFF1F4;position:relative}
.addr-map .leaflet-container{height:100%;width:100%;font-family:inherit}
.map-provider-note{position:absolute;left:8px;top:8px;z-index:600;background:rgba(255,255,255,.92);color:#8B6A58;font-size:11px;padding:4px 7px;border-radius:6px;pointer-events:none;box-shadow:0 2px 7px rgba(20,24,31,.08)}
.map-provider-note.ok{color:#247B52;background:rgba(255,255,255,.94)}
.map-pin-icon{background:transparent;border:0}
.map-pin-icon .mp-pin{width:26px;height:34px;background:var(--brand);border-radius:50% 50% 50% 4px;transform:rotate(-45deg);position:relative;box-shadow:0 5px 12px rgba(255,90,31,.35);margin:2px auto}
.map-pin-icon .mp-pin span{position:absolute;width:10px;height:10px;border-radius:50%;background:#fff;left:8px;top:8px}
.map-unavailable{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#8B919B;font-size:11px}
.map-unavailable .ic{font-size:26px;width:26px;height:26px;color:#A4A9B2;margin-bottom:3px}
.map-unavailable b{font-size:12px;color:#3D424B}
.addr-picked{display:flex;align-items:flex-start;gap:5px;font-size:11px;line-height:1.55;color:#8B6A58;background:#FFF9F5;border-radius:8px;padding:8px 9px;margin-top:8px}
.addr-picked .ic{margin-top:1px}

/* ==================== 分享海报 ==================== */
.poster-page{padding:10px 14px 24px}
.poster-tip{display:flex;align-items:center;gap:5px;font-size:11px;color:#8B919B;margin:2px 2px 10px}
.poster-frame{background:#fff;border-radius:16px;padding:8px;box-shadow:0 8px 30px rgba(20,24,31,.1);max-width:330px;margin:0 auto}
.poster-frame img{width:100%;border-radius:11px;display:block}
.poster-actions{display:flex;gap:10px;margin-top:14px}
.poster-actions .btn{width:auto;flex:1}
.poster-url{margin-top:10px;font-size:11px;line-height:1.55;color:#A4A9B2;word-break:break-all;text-align:center;background:#fff;border-radius:9px;padding:8px 10px}
.rich-content{white-space:normal!important}
.rich-content p{margin:0 0 8px}
.rich-content img{max-width:100%!important;height:auto;border-radius:9px;margin:8px 0}
.rich-content h1,.rich-content h2,.rich-content h3,.rich-content h4{margin:10px 0 6px;font-weight:700;color:#252A31}
.rich-content ul,.rich-content ol{padding-left:19px;margin:7px 0;list-style:disc}
.rich-content li{margin:3px 0}

/* 首页分类：第三方字体图标（不使用图片） */
.cat-ic{display:flex;align-items:center;justify-content:center;background:#FFF2EA}
.cat-ic .ic{font-size:23px;width:23px;height:23px;color:var(--brand)}
.cat-ic.brand{background:#1B1E24}.cat-ic.brand .ic{color:#fff}
.cat-ic.showcase{background:#FFF1E7}.cat-ic.showcase .ic{color:#F06A28}
.cat-ic.local{background:#EAF5FF}.cat-ic.local .ic{color:#2A6BE0}
.cat-ic.food{background:#FFF2E6}.cat-ic.food .ic{color:#E8792A}
.cat-ic.fun{background:#F0EDFF}.cat-ic.fun .ic{color:#7557D9}
.cat-ic.hair{background:#FFF0F4}.cat-ic.hair .ic{color:#D9527A}
.cat-ic.service{background:#EAF7F0}.cat-ic.service .ic{color:#0E9D55}
.cat-ic.auto{background:#EDF2FF}.cat-ic.auto .ic{color:#3C63C7}
.cat-ic.digital{background:#F1F3F8}.cat-ic.digital .ic{color:#3D444F}
.cat-ic.more{background:#FFF7E8}.cat-ic.more .ic{color:#C28A24}

/* 我的页面：订单/服务/角色入口垂直居中、单行标签 */
.pf-orders .og{display:grid;grid-template-columns:repeat(6,1fr);padding:5px 3px 0}
.pf-orders .oi{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;padding-top:2px}
.pf-orders .oi .ic{margin:0;width:23px;height:23px;font-size:23px}
.pf-orders .oi span:not(.badge){font-size:11.5px;line-height:1.25;white-space:nowrap;letter-spacing:0}
.pf-orders .oi .badge{top:0;right:calc(50% - 25px);margin:0;transform:scale(.88);transform-origin:top right}
.pf-service .svc{display:flex;flex-direction:column;align-items:center;min-width:0}
.pf-service .svc .ic{margin:0 auto 6px}
.pf-service .svc span{display:block;white-space:nowrap;font-size:11.5px;line-height:1.3;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.pf-role .rg{display:flex;flex-direction:column;align-items:center;min-width:0}
.pf-role .rg .ic{margin:0 auto 6px}
.pf-role .rg span{display:block;white-space:nowrap;font-size:11.5px;line-height:1.3;max-width:100%;overflow:hidden;text-overflow:ellipsis}

/* ===== 34. 底部地区选择 / 商家分类筛选 / 团队直邀列表 ===== */
/* 地区选择固定半屏高度：切换省/市/区时高度不变 */
.region-picker{height:68vh;max-height:68vh;min-height:0}
.region-picker .half-hd{flex:none}
.region-picker .half-bd{padding:0 0 calc(8px + var(--safe-b));flex:1;min-height:0}
.region-bar{display:flex;align-items:center;gap:8px;padding:10px 14px 8px;border-bottom:1px solid #F4F5F7;flex:none}
.region-back{width:30px;height:30px;border-radius:50%;background:#F5F6F8;display:flex;align-items:center;justify-content:center;flex:none;color:#6F757F}
.region-crumb{display:flex;align-items:center;gap:5px;min-width:0;overflow-x:auto;font-size:12px;color:#9AA0A9;white-space:nowrap;scrollbar-width:none}
.region-crumb::-webkit-scrollbar{display:none}
.region-crumb span{padding:3px 5px;border-radius:5px}
.region-crumb span.on{color:var(--brand);background:var(--brand-soft);font-weight:700}
.region-crumb .ic{width:11px;height:11px;flex:none;opacity:.5}
.region-list{flex:1;min-height:0;max-height:none;overflow-y:auto;padding:0 2px}
.region-hint{font-size:11px;color:#A7ADB6;padding:10px 12px 3px}
.region-row{display:flex;align-items:center;gap:9px;padding:13px 12px;border-bottom:1px solid #F5F6F8;font-size:14px;color:var(--ink)}
.region-row:active{background:#FAFBFC}
.region-row .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.region-row .cur-tag{font-size:11px;color:var(--brand);background:var(--brand-soft);padding:2px 6px;border-radius:5px}
.region-row.cur{color:var(--brand);font-weight:700}
.region-row .ic-xs{opacity:.45;width:12px;height:12px}

.brand-cats,.near-cats{display:flex;gap:7px;overflow-x:auto;padding:0 12px 2px;margin:0 0 10px;scrollbar-width:none}
.brand-cats{margin:12px 0 10px}
.brand-cats::-webkit-scrollbar,.near-cats::-webkit-scrollbar{display:none}
.brand-cats .chip,.near-cats .chip{flex:none}
.near-cats{padding:10px 14px 2px;margin-bottom:0;background:#fff;border-bottom:1px solid var(--line-2)}

/* 团队：直邀 / 间邀，扁平列表 */
.team-section{margin-bottom:12px}
.team-sec-h{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 8px}
.team-sec-h h3{font-size:14.5px;font-weight:800;color:var(--ink)}
.team-sec-h span{font-size:11px;color:var(--sub)}
.team-flat{background:#fff;border-radius:14px;box-shadow:var(--sh);overflow:hidden}
.tf-row{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #F5F6F8}
.tf-row:last-child{border-bottom:0}
.tf-row:active{background:#FAFBFC}
.tf-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none;background:#F2F3F5}
.tf-main{flex:1;min-width:0}
.tf-name{font-size:13.5px;font-weight:700;display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tf-sub{font-size:11px;color:#A4A9B2;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tf-money{text-align:right;flex:none}
.tf-money b{font-size:13px;color:var(--brand);font-weight:800;display:block}
.tf-money span{font-size:10.5px;color:#ABB0B8}
.team-direct-tip{display:flex;align-items:flex-start;gap:6px;font-size:11px;line-height:1.65;color:#8B919B;background:#fff;border-radius:11px;padding:10px 11px;margin-bottom:10px}
.team-direct-tip .ic{margin-top:2px}

/* ===== 35. 登录 / 结算 / 订单图片 / 地区 ===== */
.quick-login-card{background:#F7FBF8;border:1px solid #DDF0E5;border-radius:16px;padding:16px;text-align:center;margin-top:4px}
.quick-login-card .ql-ic{width:48px;height:48px;border-radius:50%;background:#E7F7EE;display:flex;align-items:center;justify-content:center;margin:0 auto 8px}
.quick-login-card .ql-ic .ic{font-size:26px;color:#12A35A}
.quick-login-card h3{font-size:15px;font-weight:800;color:#12351F}
.quick-login-card p{font-size:11.5px;color:#6F8A79;margin-top:4px}
.auth-mini{font-size:11px;color:#A4A9B2;line-height:1.6;text-align:center;margin-top:10px}
.auth-tabs #loginTabs{display:flex}
.login-sheet .auth-tabs>div,.auth-tabs>div{cursor:pointer}

.co-sec h3{font-size:13.5px;font-weight:700;margin-bottom:10px}
.co-divider{height:1px;background:#F2F3F6;margin:13px 0}
.co-addr-pick{display:flex;align-items:center;gap:8px;border:1px solid #F0F1F4;border-radius:12px;padding:11px 10px;background:#FAFBFC}
.co-addr-pick.has{background:#FFF9F4;border-color:#FFE2C8}
.co-addr-pick .cap-main{flex:1;min-width:0}
.co-addr-pick .cap-main b{font-size:13px;display:block}
.co-addr-pick .cap-main b span{font-size:11.5px;color:var(--sub);font-weight:400;margin-left:6px}
.co-addr-pick .cap-main p{font-size:11.5px;color:var(--sub);line-height:1.55;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.co-addr-pick .cap-empty{flex:1;font-size:13px;color:var(--brand);display:flex;align-items:center;gap:5px;font-weight:600}
.fee-tag{font-size:10px;color:#12A35A;background:#EAF9F0;border-radius:4px;padding:1px 4px;margin-left:3px;font-weight:500}
.co-fee{font-size:11px;color:#12A35A}
.wx-pay-box{display:flex;align-items:center;gap:9px;background:#F4FBF7;border:1px solid #DDF0E5;border-radius:12px;padding:12px;margin-bottom:9px}
.wx-pay-box .ic{width:30px;height:30px;font-size:30px;color:#12A35A;flex:none}
.wx-pay-box b{font-size:14px;color:#12351F;display:block}
.wx-pay-box span{font-size:11px;color:#6F8A79;display:block;margin-top:2px}
.wx-pay-lines{display:flex;flex-direction:column;gap:5px;background:#FAFBFC;border-radius:10px;padding:10px 11px}
.wx-pay-lines>div{display:flex;justify-content:space-between;font-size:12px;color:var(--sub)}
.wx-pay-lines b{color:var(--ink-2)}
.dist-row.cur{color:var(--brand);font-weight:700;background:var(--brand-soft)}
.dist-list .city-row:last-child{border-bottom:0}

/* 顶部板块：底部不做左右圆角 */
.brand-hero,.team-hero{border-bottom-left-radius:0;border-bottom-right-radius:0}
.brand-tabs{margin-top:10px}
.team-body{padding-top:10px}

/* =========================================================
   v2.3.0 — v2.9.0 · 页面与交互修正
   ========================================================= */

/* 3 / 25 首页标题居中、城市省略、吸顶导航渐显 */
.home-head .hh-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px}
.home-head .loc-pill{justify-self:start;width:max-content;max-width:none}
.hh-title{grid-column:2;justify-self:center;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin:0}
.hh-actions{grid-column:3;justify-self:end}
.loc-pill span{flex:none;max-width:3.2em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-floatnav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;
  box-shadow:0 4px 14px rgba(20,24,31,.07),0 1px 0 rgba(20,24,31,.04)}
.home-floatnav .hfn-title{grid-column:2;justify-self:center;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin:0}
.home-floatnav .loc-pill{justify-self:start;width:max-content;max-width:none}
.home-floatnav .loc-pill.static{cursor:default}
.home-floatnav .loc-pill.static .ic{color:var(--sub)}
.hfn-actions{display:flex;align-items:center;gap:6px;justify-self:end}
.home-floatnav .hfn-actions .icon-btn{width:32px;height:32px}
.tabbar{box-shadow:0 -3px 12px rgba(20,24,31,.055)}

/* 11 平台公告：单条纵向上滚 */
.notice-section{margin-top:12px}
.notice-ticker{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;box-shadow:var(--sh);padding:10px 12px;min-height:50px;cursor:pointer}
.nt-icon{width:32px;height:32px;border-radius:10px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;flex:none}
.nt-icon .ic{font-size:17px}
.nt-viewport{flex:1;min-width:0;height:34px;overflow:hidden}
.nt-track{animation:noticeUp 18s linear infinite}
.nt-item{height:34px;display:flex;align-items:center;gap:7px;min-width:0}
.nt-tag{flex:none;font-size:9px;line-height:1;padding:4px 5px;border-radius:5px;font-weight:700;white-space:nowrap}
.nt-title{flex:1;min-width:0;font-size:12.5px;color:var(--ink-2);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nt-date{font-size:10.5px;color:var(--sub-2);flex:none;font-variant-numeric:tabular-nums}
.nt-item .ic{flex:none;color:#B4B9C1}
/* 平台公告颜色标识：首页滚动条 + 公告列表共用 */
.nt-tag.tone-orange,.notice-badge.tone-orange{color:#D95822;background:#FFF0E5}
.nt-tag.tone-blue,.notice-badge.tone-blue{color:#2A6BE0;background:#EAF2FF}
.nt-tag.tone-red,.notice-badge.tone-red{color:#D64545;background:#FDECEC}
.nt-tag.tone-green,.notice-badge.tone-green{color:#0E8F50;background:#EAF9F0}
.nt-tag.tone-gray,.notice-badge.tone-gray{color:#6B7280;background:#F1F3F6}
.notice-card{position:relative;overflow:hidden}
.notice-card.tone-orange{border-left:3px solid #FF8A54}
.notice-card.tone-blue{border-left:3px solid #6D9EF5}
.notice-card.tone-red{border-left:3px solid #E86C6C}
.notice-card.tone-green{border-left:3px solid #3CBF80}
.notice-card.tone-gray{border-left:3px solid #C8CDD5}
.notice-line{display:flex;align-items:flex-start;gap:6px}
.notice-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;font-size:9.5px;line-height:1;padding:4px 6px;border-radius:5px;font-weight:700;white-space:nowrap}
.notice-card-title{flex:1;min-width:0;font-size:14px;font-weight:600;line-height:1.5;color:#252A32}
.notice-detail-meta{display:flex;align-items:center;gap:6px}
@keyframes noticeUp{
  0%,16%{transform:translateY(0)}
  20%,36%{transform:translateY(-34px)}
  40%,56%{transform:translateY(-68px)}
  60%,76%{transform:translateY(-102px)}
  80%,96%{transform:translateY(-136px)}
  100%{transform:translateY(-170px)}
}

/* 10 底部平台信息：去掉 logo，文字居中 */
.platform-foot{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:0}
.platform-foot b,.platform-foot span{text-align:center}

/* 12 附近商家：左头像，右信息 */
.nearby-card{display:flex;align-items:flex-start;gap:12px;padding:13px 13px 12px}
.nc-cover{display:none}
.nc-metrics{display:none}
.nc-avatar{width:56px;height:56px;border-radius:14px;object-fit:cover;flex:none;background:#F0F1F4;box-shadow:0 2px 8px rgba(20,24,31,.05)}
.nc-body{padding:0;flex:1;min-width:0}
.nc-name-row{display:flex;align-items:center;gap:6px;min-width:0}
.nc-name-row h3{flex:1;min-width:0;font-size:14.5px;font-weight:700;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}
.nc-open{font-size:10.5px;color:var(--ok);background:var(--ok-soft);border-radius:5px;padding:2px 5px;flex:none;font-weight:600}
.nc-open.off{color:#858B95;background:#F2F3F5}
.nc-rate{font-size:11.5px;color:var(--sub);display:flex;align-items:center;gap:7px;margin-top:5px;white-space:nowrap;overflow:hidden}
.nc-rate .s{color:var(--warn);font-weight:700}
.nc-rate .lv{color:#A46B24}
.nc-cat{color:#9AA0AA;margin-left:auto}
.nc-tags{display:flex;align-items:center;gap:5px;margin-top:8px;min-width:0}
.nc-tags .tag{font-size:10.5px;padding:2px 5px;max-width:76px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nc-dist{margin-left:auto;display:flex;align-items:center;gap:2px;color:var(--sub);font-size:11px;flex:none;white-space:nowrap}
.nc-dist .ic{color:#AEB4BD}
.nc-arrow{align-self:center;color:#C1C6CE;flex:none;margin-left:-4px}

/* 13 供求市场视觉与信息卡 */
.trade-hero::after{display:none!important}
.trade-hero{background:#FFF7F1;border-bottom:1px solid #FFE8D7;padding-bottom:14px}
.th-kicker{display:inline-flex;align-items:center;font-size:10px;font-weight:800;letter-spacing:1.8px;color:#E06A37;background:#FFE9DC;border-radius:5px;padding:3px 6px}
.trade-hero h2{font-size:25px;font-weight:800;color:#231A15;margin-top:7px;letter-spacing:.4px}
.trade-hero p{font-size:11.5px;color:#9A7461;line-height:1.6;margin-top:4px;max-width:88%}
.hero-stats{margin-top:14px}
.tr-card{background:#fff;border:1px solid #F0F1F4;border-radius:16px;padding:13px 13px 11px;margin-bottom:11px;box-shadow:0 3px 12px rgba(20,24,31,.045)}
.tr-card:active{transform:scale(.995)}
.tr-head{display:flex;align-items:center;gap:5px;min-width:0}
.tr-title{font-size:14px;font-weight:700;line-height:1.45;color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tr-badge{flex:none;font-size:10px;font-weight:700;border-radius:5px;padding:2px 5px;line-height:1.4}
.tr-badge.bounty{background:#FFF0E6;color:#E8480F}
.tr-badge.supply{background:#EAF9F0;color:var(--ok)}
.tr-badge.demand{background:#EEF4FF;color:var(--info)}
.tr-top{flex:none;font-size:9.5px;font-weight:700;color:#fff;background:var(--brand);border-radius:4px;padding:1px 4px}
.tr-desc{font-size:11.5px;color:#8B919B;line-height:1.55;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tr-value{display:flex;align-items:baseline;gap:6px;margin-top:8px;padding:7px 9px;border-radius:9px;background:#FFF9F4}
.tr-value .v{font-size:20px;line-height:1;font-weight:800;color:var(--brand);letter-spacing:-.5px}
.tr-value .v em{font-size:10px;font-style:normal;font-weight:600;margin-left:1px}
.tr-value .lb{font-size:10px;color:#B28770}
.tr-value .applicants{margin-left:auto;font-size:10.5px;color:#A8ADB6;white-space:nowrap}
.tr-value.price{background:#F7F8FA}
.tr-value.price .v{color:#2A2E35}
.tr-foot{display:flex;align-items:center;gap:8px;margin-top:8px;padding-top:8px;border-top:1px solid #F5F6F8}
.tr-user{display:flex;align-items:center;gap:4px;font-size:10.5px;color:#9AA0AA;min-width:0;flex:1}
.tr-user img{width:20px;height:20px;border-radius:50%;object-fit:cover;flex:none}
.tr-user .u{max-width:76px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tr-user .vf{font-size:9.5px;color:var(--info);background:var(--info-soft);padding:1px 4px;border-radius:3px;flex:none}
.tr-actions .pay{font-size:10px;color:#A46B24;display:flex;align-items:center;gap:2px;white-space:nowrap}
.tr-actions .pay .ic{width:11px;height:11px;font-size:11px}

/* 5 发布悬赏：置顶、双方收费 */
.top-chips{display:flex;gap:7px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
.top-chips::-webkit-scrollbar{display:none}
.top-chip{flex:none;min-width:65px;padding:8px 9px;border:1px solid #ECEEF2;border-radius:10px;background:#fff;text-align:center}
.top-chip b{display:block;font-size:11.5px;font-weight:700;color:#4A505A}
.top-chip span{display:block;font-size:10px;color:#A9AEB7;margin-top:2px}
.top-chip.on{border-color:var(--brand);background:var(--brand-soft)}
.top-chip.on b,.top-chip.on span{color:var(--brand)}

/* 6 我的伙伴 / 16 选项卡 + 分享与佣金 */
.team-lock{padding:52px 28px 20px;text-align:center}
.tl-ic{width:68px;height:68px;border-radius:22px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.tl-ic .ic{font-size:32px}
.team-lock h2{font-size:18px;font-weight:800;color:var(--ink)}
.team-lock p{font-size:12.5px;color:var(--sub);line-height:1.7;margin:9px 0 16px}
.team-lock .btn{width:100%;max-width:260px}
.tl-note{font-size:11px;color:#A9AEB7;margin-top:13px;display:flex;align-items:center;justify-content:center;gap:3px}
.tf-row{display:flex;align-items:center;gap:9px;padding:11px 11px 10px;border-bottom:1px solid #F4F5F7}
.tf-row:last-child{border:0}
.tf-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:none}
.tf-main{flex:1;min-width:0}
.tf-name{font-size:12.5px;font-weight:700;display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden}
.tf-sub{font-size:10.5px;color:#A4A9B2;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tf-money{text-align:right;flex:none}
.tf-money b{display:block;font-size:12px;color:var(--brand);font-weight:800}
.tf-money span{display:block;font-size:9.5px;color:#ABB0B8;margin-top:2px}
.tf-chev{margin-left:-2px;flex:none}
.team-acts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 12px}
.team-act{background:#fff;border:1px solid #F0F1F4;border-radius:14px;padding:12px;text-align:left;box-shadow:var(--sh);display:flex;flex-direction:column;gap:3px;min-height:92px}
.team-act .ic{font-size:20px;margin-bottom:3px}
.team-act span{font-size:13px;font-weight:700;color:var(--ink)}
.team-act em{font-size:10.5px;color:#A4A9B2;font-style:normal}
.team-tabs{margin:0 0 10px;box-shadow:none;border:1px solid #F0F1F4;background:#F7F8FA}
.team-only-one{font-size:11px;color:#A4A9B2;background:#fff;border-radius:10px;padding:10px;margin-bottom:10px}
.team-section{margin-bottom:12px}
.tf-row .tag{gap:2px}
.team-lock .btn .ic{width:16px;height:16px}

/* 17 代理 hero 使用主题色，去掉光晕 */
.agent-hero{background:var(--brand);color:#fff;border-radius:0;box-shadow:none}
.agent-hero::before{display:none!important}
.agent-hero .ah-kicker{color:rgba(255,255,255,.78)}
.agent-hero .ah-top p{color:rgba(255,255,255,.72)}
.agent-hero .ah-badge{background:rgba(255,255,255,.16);color:#fff}
.agent-hero .ah-stats{border-top-color:rgba(255,255,255,.22)}
.agent-hero .ah-stats>div+div{border-left-color:rgba(255,255,255,.22)}
.agent-hero .ah-stats span{color:rgba(255,255,255,.7)}

/* 7 / 21 / 23 代理工作台、辖区独立页 */
.agent-data-strip{display:flex;background:#fff;border-radius:13px;padding:11px 0;margin:12px 0 10px;box-shadow:var(--sh)}
.agent-data-strip>div{flex:1;text-align:center;min-width:0}
.agent-data-strip>div+div{border-left:1px solid #F2F3F5}
.agent-data-strip b{display:block;font-size:13px;font-weight:800;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.agent-data-strip span{display:block;font-size:10px;color:#A4A9B2;margin-top:3px}
.agent-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.agent-action{background:#fff;border-radius:13px;padding:12px;text-align:left;box-shadow:var(--sh);border:1px solid #F5F6F8;min-height:88px}
.agent-action .ic{font-size:18px;margin-bottom:5px}
.agent-action b{display:block;font-size:12.5px;color:var(--ink)}
.agent-action span{display:block;font-size:10px;color:#A4A9B2;margin-top:3px;line-height:1.4}
.agent-action.wide{grid-column:1/-1;min-height:auto;display:flex;align-items:center;gap:8px}
.agent-action.wide .ic{margin:0}
.agent-action.wide b{margin:0}
.agent-action.wide span{margin-left:auto;text-align:right}
.agent-headline{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:14px;padding:13px 14px;box-shadow:var(--sh);margin-bottom:10px}
.agent-headline h2{font-size:18px;font-weight:800}
.agent-headline p{font-size:11px;color:#A4A9B2;margin-top:3px}
.ah-mini{width:40px;height:40px;border-radius:12px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center}
.agent-list{display:flex;flex-direction:column;gap:9px}
.agent-card{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;padding:10px 12px;box-shadow:var(--sh)}
.agent-card-logo{width:46px;height:46px;border-radius:11px;object-fit:cover;flex:none;background:#F0F1F4}
.agent-card-avatar{width:42px;height:42px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;flex:none}
.agent-card-main{flex:1;min-width:0}
.agent-card-name{font-size:12.5px;font-weight:700;display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden}
.agent-card-sub{font-size:10.5px;color:#A4A9B2;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agent-card-meta{display:flex;align-items:center;gap:9px;margin-top:5px;font-size:10px;color:#8B919B}
.agent-card-arrow{flex:none;color:#C1C6CE}
.agent-profile-card{background:#fff;border-radius:16px;padding:18px 14px 15px;text-align:center;box-shadow:var(--sh)}
.agent-profile-logo{width:72px;height:72px;border-radius:16px;object-fit:cover;margin:0 auto 8px;display:block;background:#F0F1F4}
.agent-profile-avatar{width:68px;height:68px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center;font-size:23px;font-weight:800;margin:0 auto 8px}
.agent-profile-card h2{font-size:17px;font-weight:800}
.agent-profile-tags{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:7px;flex-wrap:wrap}
.agent-profile-rating{display:flex;align-items:center;justify-content:center;gap:4px;font-size:11.5px;color:#9AA0AA;margin-top:7px}
.agent-kv{background:#fff;border-radius:14px;margin-top:10px;padding:4px 13px;box-shadow:var(--sh)}
.kv-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #F5F6F8;font-size:11.5px}
.kv-row:last-child{border:0}
.kv-row span{color:#9AA0AA;flex:none}
.kv-row b{font-weight:600;color:#4A505A;text-align:right;line-height:1.55;max-width:75%}
.agent-detail-actions{display:flex;gap:9px;margin-top:11px}
.agent-detail-actions .btn{flex:1;width:auto}
.agent-order-list{background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--sh)}
.agent-order{display:flex;align-items:center;gap:9px;padding:11px 11px 10px;border-bottom:1px solid #F4F5F7}
.agent-order:last-child{border:0}
.ao-ic{width:31px;height:31px;border-radius:9px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;flex:none}
.ao-main{flex:1;min-width:0}
.ao-title{font-size:11.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ao-sub{font-size:10px;color:#A4A9B2;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ao-meta{font-size:9.5px;color:#B4B9C1;margin-top:3px}
.ao-right{text-align:right;flex:none}
.ao-right b{display:block;font-size:11.5px;font-weight:800;color:var(--ink)}
.ao-right span{display:block;font-size:9.5px;color:#A4A9B2;margin-top:2px}
.ao-right em{display:block;font-size:9.5px;font-style:normal;color:var(--ok);margin-top:2px}
.agent-order-hero{background:var(--brand);color:#fff;border-radius:15px;padding:18px;box-shadow:0 8px 18px rgba(255,90,31,.16);text-align:center}
.agent-order-hero span{font-size:11px;opacity:.8}
.agent-order-hero b{display:block;font-size:31px;font-weight:800;margin-top:4px}
.agent-order-hero small{display:block;font-size:10px;opacity:.7;margin-top:5px}
.agent-note .ic{color:var(--brand)}
.commission-hero{background:linear-gradient(135deg,#FF7A3D,#FF5A1F);border-radius:16px;padding:17px;color:#fff;box-shadow:0 8px 20px rgba(255,90,31,.16)}
.commission-hero span{font-size:11.5px;opacity:.82}
.commission-hero b{display:block;font-size:31px;font-weight:800;margin-top:5px;letter-spacing:-.5px}
.commission-hero small{display:block;font-size:10.5px;opacity:.72;margin-top:5px}
.commission-formula{background:#fff;border-radius:14px;margin-top:10px;padding:13px;box-shadow:var(--sh)}
.cf-title{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:700;color:var(--ink);margin-bottom:6px}
.cf-row{display:flex;justify-content:space-between;font-size:11px;padding:5px 0;border-bottom:1px dashed #F1F2F4;color:#8B919B}
.cf-row:last-of-type{border:0}
.cf-row b{color:#4A505A}
.cf-sub{padding-left:10px;color:var(--sub)}
.cf-sub b{font-weight:600;color:var(--ink-2)}
.cf-tip{font-size:10px;line-height:1.6;color:#ABB0B8;margin-top:7px}
.district-list{display:flex;flex-direction:column;gap:9px}
.district-card{background:#fff;border-radius:14px;padding:12px;box-shadow:var(--sh)}
.dc-head{display:flex;align-items:center;justify-content:space-between}
.dc-head b{font-size:13.5px;font-weight:800;margin-right:6px}
.dc-head span{font-size:10px;color:#A4A9B2}
.dc-head span.on{color:var(--ok)}
.dc-main{margin:10px 0}
.dc-agent{display:flex;align-items:center;gap:9px}
.dc-avatar{width:34px;height:34px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800}
.dc-agent b{display:block;font-size:12px}
.dc-agent span{display:block;font-size:10px;color:#A4A9B2;margin-top:2px}
.dc-vacant{font-size:11px;color:#A4A9B2;background:#F7F8FA;border-radius:8px;padding:9px 10px}
.district-card .btn{width:100%;height:36px;font-size:12px}
.learn-hero{display:flex;align-items:center;gap:10px;background:#FFF7F1;border:1px solid #FFE8D8;border-radius:14px;padding:14px;margin-bottom:10px}
.learn-hero .ic{font-size:26px;color:var(--brand)}
.learn-hero b{display:block;font-size:14px;font-weight:800}
.learn-hero span{display:block;font-size:10.5px;color:#9A7461;margin-top:3px}
.learn-list{background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--sh)}
.learn-item{display:flex;align-items:center;gap:9px;padding:12px 12px;border-bottom:1px solid #F4F5F7}
.learn-item:last-child{border:0}
.li-no{font-size:11px;font-weight:800;color:var(--brand);width:22px;flex:none}
.li-main{flex:1;min-width:0}
.li-main b{display:block;font-size:12.5px}
.li-main span{display:block;font-size:10.5px;color:#A4A9B2;line-height:1.45;margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* 18 / 19 半屏弹层：去掉英文 kicker，增加顶部标识 */
.half-sheet{position:relative;padding-top:8px}
.half-sheet::before{content:'';position:absolute;top:8px;left:50%;transform:translateX(-50%);width:36px;height:4px;border-radius:3px;background:#E3E6EB;z-index:2}
.half-hd{padding-top:19px}
.sheet-panel .half-hd,.pick-sheet .half-hd{padding-top:20px}

/* 8 消息工具条底部留白 */
.msg-tools{padding-bottom:10px}

/* 20 消息详情 */
.msg-detail{margin:12px;background:#fff;border-radius:16px;padding:18px 16px 16px;box-shadow:var(--sh)}
.md-top{text-align:center;padding-bottom:14px;border-bottom:1px solid #F3F4F6}
.md-ic{width:50px;height:50px;border-radius:16px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;margin:0 auto 9px}
.md-ic .ic{font-size:23px}
.md-title{font-size:16px;font-weight:800;line-height:1.4}
.md-time{font-size:10.5px;color:#A4A9B2;margin-top:5px}
.md-type{display:inline-block;font-size:10.5px;color:var(--brand);background:var(--brand-soft);border-radius:5px;padding:3px 7px;margin-top:7px}
.md-meta{display:flex;flex-direction:column;background:#FAFBFC;border:1px solid #F2F3F6;border-radius:11px;padding:2px 11px;margin:12px 0 14px}
.md-meta-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #F2F3F6;font-size:11.5px}
.md-meta-row:last-child{border-bottom:0}
.md-meta-row span{color:#A4A9B2;flex:none}
.md-meta-row b{font-weight:600;color:var(--ink-2);text-align:right;min-width:0;line-height:1.5}
.md-content-label{font-size:11px;color:#A4A9B2;margin-bottom:5px}
.md-body{font-size:13px;line-height:1.8;color:#4A505A;padding:0 0 4px;white-space:pre-wrap}
.md-note{font-size:10.5px;color:#A4A9B2;line-height:1.6;background:#F8F9FA;border-radius:9px;padding:9px 10px;display:flex;align-items:flex-start;gap:4px}
.msg-detail .btn{width:100%;margin-top:13px}

/* 9 聊天头像与图片消息 */
.chat-msg .chat-avatar{width:34px;height:34px;border-radius:8px;object-fit:cover;flex:none;background:#F2F3F5}
.chat-msg .bub.chat-img{padding:0;background:transparent;box-shadow:none;border-radius:12px;overflow:hidden}
.chat-msg .bub.chat-img img{display:block;max-width:180px;max-height:230px;object-fit:cover;border-radius:10px;cursor:zoom-in}
.chat-input .chat-image-btn{width:36px;height:36px;padding:0;border-radius:50%;background:#F4F5F7;color:var(--brand);display:flex;align-items:center;justify-content:center;flex:none}
.chat-input .chat-image-btn .ic{font-size:18px}
.chat-input .hide{display:none!important}
.chat-msg .chat-avatar{box-shadow:0 1px 2px rgba(20,24,31,.05)}

/* 4 搜索页：按钮收进搜索框 */
.search-head .search-live{flex:1;margin:0;height:38px;padding:0 4px 0 12px;background:#F4F5F7}
.search-live .sph-btn{height:30px;padding:0 12px;border-radius:15px;background:var(--brand);color:#fff;font-size:12px;font-weight:600;display:flex;align-items:center;flex:none}
.search-live input{flex:1;min-width:0;border:0;background:transparent;outline:none;font-size:13px;padding:0}
.search-cancel{font-size:12.5px;color:#6F757F;flex:none;padding:0 2px}
.search-head .go{display:none}

/* 14 分类页热门商家：5 个一屏，自动滑一次 */
.cat-hot{background:#fff;padding:9px 12px 11px;border-bottom:1px solid #F4F5F7}
.cat-hot-scroll{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--hot-cols,5) - 1) * 7px) / var(--hot-cols,5));gap:7px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:1px}
.cat-hot-scroll::-webkit-scrollbar{display:none}
.hot-shop{scroll-snap-align:start;text-align:center;min-width:0;padding:4px 1px 2px}
.hs-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;display:block;margin:0 auto 5px;background:#F0F1F4;border:2px solid #fff;box-shadow:0 2px 7px rgba(20,24,31,.07)}
.hs-name{font-size:10.5px;font-weight:700;color:#4A505A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-trade{font-size:9.5px;color:#9AA0AA;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-dist{font-size:9.5px;color:#ABB0B8;margin-top:2px;display:flex;align-items:center;justify-content:center;gap:1px;white-space:nowrap}
.hs-dist .ic{width:10px;height:10px;font-size:10px}

/* 15 所有头像 / logo 统一尺寸，避免原图撑大 */
img.avatar{width:42px;height:42px;border-radius:50%;object-fit:cover}
.profile-hero .guest-hero>img{width:76px;height:76px;border-radius:50%;object-fit:cover;margin:0 auto 12px;display:block;border:3px solid rgba(255,255,255,.55);background:#fff}
.guest-hero>img{width:76px;height:76px;border-radius:50%;object-fit:cover;margin:0 auto 12px;display:block;border:3px solid rgba(255,255,255,.55);background:#fff}
.staff-top img{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none;background:#F2F3F5}
.fc-top img{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none;background:#F2F3F5}
.tr-user img{width:20px;height:20px;border-radius:50%;object-fit:cover;flex:none}
.td-pub img{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:none}
.tm-detail-head img,.tm-detail-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:none}
.sc-logo{width:42px;height:42px;border-radius:12px;object-fit:cover}
.about-hero img{width:64px;height:64px;border-radius:16px;object-fit:cover}
.bc-logo img{width:100%;height:100%;object-fit:cover}
.agent-card-logo,.agent-profile-logo,.nc-avatar,.tf-avatar,.chat-avatar,.hs-avatar{background:#F1F2F5}
.badge{height:18px;min-width:18px;padding:0 5px;font-size:10px;line-height:18px;font-weight:700}

/* 所有板块光晕圆圈全部关闭 */
.trade-hero::after,.pf-hero::before,.pf-hero::after,.fee-hero::after,.agent-hero::before,.team-hero::before,.team-hero::after{display:none!important}

/* ================= v2.3.1 预约 / 核销 / 交互 / 登录 / 收款码 ================= */

/* 全站可点击元素统一手型焦点 */
[onclick], button, a, .tab, .chip, .sheet-item, .pick-row, .cell, .rg,
.icon-btn, .cat-tile, .g-card, .order-goods, .wi, .oi, .half-close,
.hot-shop, .agent-card, .msg-item, .t-mini, .order-card,
.box, .check, .ri, .top-chip, .tl-item, .fulfill-choice, .seg-item,
.svc, .role-grid .rg, .sim-select, .sim-field, .loc-pill, .banner-cta,
.more, .pick-row, .tab, .scan-actions .sa, .report-cell, .staff-ft span,
.addr-picked, .addr-result, .addr-search-btn, input[type=range] { cursor: pointer; }
button:disabled, .btn:disabled, .dis { cursor: not-allowed; }

/* 预约日期 / 时间：未来 7 天，今天按当前时间过滤 */
.date-chips{scroll-snap-type:x proximity}
.date-chips div.dis{opacity:.38;background:#FAFBFC;color:#B7BCC5;pointer-events:none}
.time-empty{font-size:11.5px;color:#A4A9B2;background:#F7F8FA;border-radius:9px;padding:9px 11px;white-space:nowrap}
.appt-tip{font-size:11px;color:var(--brand);font-weight:600;margin-top:8px}

/* v2.6 预约组件：医院/平台式日期卡 + 时段网格 */
.appt-calendar{display:flex;gap:8px;overflow-x:auto;padding:2px 0 5px;scrollbar-width:none;scroll-snap-type:x proximity}
.appt-calendar::-webkit-scrollbar{display:none}
.appt-date{flex:0 0 62px;min-width:62px;padding:9px 5px 8px;border:1px solid #F0F1F4;border-radius:13px;background:#FAFBFC;color:#606670;display:flex;flex-direction:column;align-items:center;gap:3px;scroll-snap-align:start;transition:border-color .15s,background .15s}
.appt-date .ad-week{font-size:11px;line-height:1.2;color:#8A909A;font-weight:600}
.appt-date b{font-size:15px;line-height:1.15;font-weight:800;font-variant-numeric:tabular-nums;color:#2B3038}
.appt-date em{font-size:9.5px;font-style:normal;line-height:1.2;color:#A4AAB3;white-space:nowrap}
.appt-date.on{background:#FFF4EE;border-color:#FF5A1F;box-shadow:0 3px 9px rgba(255,90,31,.12)}
.appt-date.on .ad-week,.appt-date.on b,.appt-date.on em{color:#E95720}
.appt-date.dis{opacity:.45;background:#F7F8FA;pointer-events:none}
.appt-time-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:13px}
.appt-time-hd h4{font-size:12.5px;font-weight:800;color:#2B3038}
.appt-time-hd p{font-size:10.5px;color:#9AA0AA;margin-top:3px;line-height:1.45}
.appt-time-hd>span{flex:none;font-size:10.5px;color:#A4AAB3;font-variant-numeric:tabular-nums}
.appt-times{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:9px}
.appt-time{height:51px;border:1px solid #ECEEF2;border-radius:11px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#343A43}
.appt-time b{font-size:13px;line-height:1.1;font-weight:800;font-variant-numeric:tabular-nums}
.appt-time span{font-size:9.5px;line-height:1.2;color:#A4AAB3}
.appt-time.on{background:#FF5A1F;border-color:#FF5A1F;box-shadow:0 4px 10px rgba(255,90,31,.18)}
.appt-time.on b,.appt-time.on span{color:#fff}
.appt-empty{grid-column:1 / -1;font-size:11.5px;color:#9AA0AA;background:#F7F8FA;border-radius:10px;padding:14px 12px;text-align:center}
.appt-selected{display:flex;align-items:center;gap:7px;margin-top:10px;background:#FFF9F4;border:1px solid #FFE4D3;border-radius:10px;padding:9px 10px;font-size:11.5px;color:#D95822;font-weight:700}
.appt-selected::before{content:'';width:6px;height:6px;border-radius:50%;background:#FF5A1F;flex:none}

/* 订单详情内的到店核销二维码 */
.verify-order-block{padding:14px 12px 13px;text-align:center}
.vq-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.vq-head h3{margin:0;font-size:13.5px;font-weight:700}
.verify-order-qr{width:156px;height:156px;margin:0 auto;border-radius:14px;background:#F7F8FA;padding:8px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.verify-order-qr canvas,.verify-order-qr img,.verify-order-qr .ic{width:100%;height:100%;object-fit:contain;display:block;border-radius:10px}
.verify-order-code{font-size:19px;font-weight:800;letter-spacing:3px;color:var(--brand);margin-top:8px}
.vq-tip{font-size:11px;color:var(--sub);margin-top:5px;display:flex;align-items:center;justify-content:center;gap:3px}
.vq-tip .ic{width:12px;height:12px;font-size:12px}

/* 二维码放大弹层 */
.qr-big{width:260px;height:260px;max-width:72vw;max-height:72vw;margin:6px auto 10px;background:#fff;border-radius:14px;padding:8px;display:flex;align-items:center;justify-content:center}
.qr-big canvas,.qr-big img,.qr-big .ic{width:100%;height:100%;object-fit:contain;display:block}
.qr-big-code{text-align:center;font-size:17px;font-weight:800;letter-spacing:3px;color:var(--brand)}
.qr-big-tip{text-align:center;font-size:11.5px;color:var(--sub);margin-top:5px}

/* 解锁联系方式支付半屏 */
.pay-sheet .pay-sub{font-size:11.5px;color:var(--sub);font-weight:400;margin:4px 0 0}
.pay-list{padding:12px 16px calc(18px + var(--safe-b))}
.pay-option{display:flex;align-items:center;gap:11px;width:100%;background:#fff;border:1px solid #EEF0F3;border-radius:14px;padding:12px;margin-bottom:9px;text-align:left;box-shadow:0 3px 10px rgba(20,24,31,.04)}
.pay-option:active{transform:scale(.99);background:#FAFBFC}
.po-icon{width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex:none;background:#EAF9EF;color:#12A35A}
.po-icon.egg{background:var(--brand-soft);color:var(--brand)}
.po-icon .ic{font-size:22px;width:22px;height:22px}
.po-main{flex:1;min-width:0}
.po-main b{display:block;font-size:14px;color:var(--ink);font-weight:700}
.po-main small{display:block;font-size:10.5px;color:var(--sub-2);margin-top:3px}
.po-price{font-size:17px;font-weight:800;color:#12A35A;flex:none;font-variant-numeric:tabular-nums}
.pay-option.egg .po-price{color:var(--brand)}
.po-price em{font-style:normal;font-size:11px;margin-left:2px;color:var(--sub)}
.pay-safe{display:flex;align-items:center;justify-content:center;gap:3px;font-size:10.5px;color:#A4A9B2;margin-top:2px}
.pay-safe .ic{width:12px;height:12px;font-size:12px;color:var(--ok)}

/* 商家收款码 / 顾客付款核销页 */
.collect-hero{display:flex;align-items:center;gap:11px;background:#fff;border-radius:14px;box-shadow:var(--sh);padding:13px;margin-bottom:12px}
.collect-hero img{width:50px;height:50px;border-radius:13px;object-fit:cover;flex:none;background:#F1F2F5}
.collect-hero h2{font-size:15px;font-weight:800;color:var(--ink)}
.collect-hero p{font-size:10.5px;color:var(--sub);margin-top:3px;line-height:1.4}
.collect-hero .tag{margin-top:5px;display:inline-flex}
.collect-amount{display:flex;align-items:center;gap:8px;background:#FAFBFC;border:1px solid #EEF0F3;border-radius:11px;padding:0 12px}
.collect-amount .input{border:0;background:transparent;font-size:20px;font-weight:800;padding:10px 0;box-shadow:none;flex:1;min-width:0}
.collect-amount span{font-size:12px;color:var(--sub);font-weight:600}
.collect-orders{background:#fff;border-radius:14px;box-shadow:var(--sh);overflow:hidden;margin-bottom:2px}
.collect-order{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;border-bottom:1px solid #F4F5F7}
.collect-order:last-child{border-bottom:0}
.collect-order div{min-width:0}
.collect-order b{display:block;font-size:12.5px;color:var(--ink-2);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.collect-order span{display:block;font-size:10.5px;color:var(--sub-2);margin-top:3px}

/* 快捷登录卡片：横向层次 */
.quick-login-card{display:flex;align-items:center;gap:12px;text-align:left;padding:14px;background:#F7FBF8;border:1px solid #DFF0E6;border-radius:15px;box-shadow:0 6px 16px rgba(14,120,66,.05)}
.quick-login-card .ql-ic{width:48px;height:48px;border-radius:14px;background:#E5F7EC;display:flex;align-items:center;justify-content:center;flex:none;margin:0}
.quick-login-card .ql-ic .ic{font-size:25px;color:#12A35A}
.quick-login-card .ql-main{flex:1;min-width:0}
.quick-login-card h3{font-size:15px;font-weight:800;color:#12351F;text-align:left}
.quick-login-card p{font-size:11.5px;color:#6F8A79;margin-top:4px;text-align:left;line-height:1.45}
.quick-login-card .ql-side{width:22px;height:22px;border-radius:50%;background:#DFF3E7;display:flex;align-items:center;justify-content:center;flex:none;color:#12A35A}
.quick-login-card .ql-side .ic{width:13px;height:13px;font-size:13px}
.auth-demo{font-size:10.5px;color:#A4A9B2;line-height:1.6;text-align:center;margin-top:10px}
.collect-tip{font-size:11.5px;color:#6F757F;line-height:1.7}
.collect-safe-tip{display:flex;align-items:center;justify-content:center;gap:4px;font-size:10.5px;color:#A4A9B2;margin-top:12px}
.collect-safe-tip .ic{width:12px;height:12px;font-size:12px;color:var(--ok)}

/* ================= v3.0 商家工作台 / 商家信息 ================= */
.mh-profile{display:flex;align-items:center;gap:12px;background:#fff;border-radius:16px;padding:15px;box-shadow:var(--sh);margin-bottom:12px}
.mh-avatar{width:58px;height:58px;border-radius:16px;object-fit:cover;flex:none;background:#F3F4F6;border:2px solid #fff;box-shadow:0 4px 14px rgba(20,26,36,.1)}
.mh-main{flex:1;min-width:0}
.mh-main h2{font-size:17px;font-weight:800;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mh-main p{font-size:11.5px;color:var(--sub);margin-top:4px}
.mh-status{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--ok);background:var(--ok-soft);border-radius:7px;padding:3px 7px;margin-top:6px}
.mh-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px 0}
.mh-grid .rg{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;font-size:12.5px;color:#4A505A}
.mh-grid .rg .ic{font-size:23px;width:23px;height:23px}
.mh-grid .rg:active{opacity:.7}
.mo-today{display:flex;align-items:center;gap:8px;background:#FFF7F1;border:1px solid #FFE3D1;border-radius:12px;padding:10px 12px;margin-bottom:10px;font-size:12px;color:#8B4A1F}
.mo-today b{color:var(--brand);font-size:16px;margin:0 2px}
.mo-today button{margin-left:auto;color:var(--brand);font-size:12px;font-weight:700}
.crumbs .sep{color:#C3C7CE;padding:0 1px}
.ms-gallery{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}
.ms-gallery::-webkit-scrollbar{display:none}
.ms-gallery img{width:112px;height:82px;border-radius:10px;object-fit:cover;flex:none;background:#F3F4F6}
.gd-benefits{display:flex;flex-wrap:wrap;gap:7px;padding:2px 0 2px}
.gd-benefit{display:inline-flex;align-items:center;gap:4px;background:#FFF6EF;color:#B34B15;border:1px solid #FFE2CC;border-radius:8px;padding:6px 9px;font-size:11.5px}
.gd-value{font-size:11.5px;color:var(--sub);margin-left:8px}
.ship-box{border:1px solid var(--line);background:#FAFBFC;border-radius:11px;padding:10px 12px;margin-top:8px}
.ship-line{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#4A505A}
.ship-line .input{flex:1;margin:0;padding:8px 10px;font-size:12px}
.order-tabs div i{font-style:normal;display:inline-block;margin-left:3px;padding:1px 4px;border-radius:5px;background:#FFF0E8;color:var(--brand);font-size:9px;line-height:1.3;vertical-align:1px}
.order-tabs div.on i{background:var(--brand);color:#fff}

/* ================= v3.1 顶部高度稳定 / 钱包 / 支付密码 / 订单详情 ================= */

/* 顶部区域固定高度，避免不同浏览器 safe-area 计算差异导致页面跳动或被遮挡 */
.home-floatnav{
  height:calc(46px + var(--safe-t));
  padding:0 16px;
  padding-top:var(--safe-t);
  box-sizing:border-box;
  overflow:hidden;
}
.page-head{
  height:calc(62px + var(--safe-t));
  padding:var(--safe-t) 16px 0;
  box-sizing:border-box;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.cat-head{
  height:calc(106px + var(--safe-t));
  padding:var(--safe-t) 12px 12px;
  box-sizing:border-box;
  overflow:hidden;
}
.trade-hero{
  min-height:calc(190px + var(--safe-t));
  padding:calc(14px + var(--safe-t)) 16px 14px;
  box-sizing:border-box;
}
.home-head{
  height:calc(112px + var(--safe-t));
  padding:var(--safe-t) 16px 0;
  box-sizing:border-box;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
@media (max-width:360px){
  .trade-hero{min-height:calc(198px + var(--safe-t))}
  .home-floatnav{padding-left:12px;padding-right:12px}
}

/* 我的钱包：双余额 */
.wallet-hero .wallet-balances{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:relative;z-index:2}
.wallet-hero .wb-cell{min-width:0}
.wallet-hero .wb-cell+.wb-cell{padding-left:12px;border-left:1px solid rgba(255,255,255,.2)}
.wallet-hero .wb-label{font-size:11.5px;opacity:.84;letter-spacing:.2px}
.wallet-hero .wb-amount{font-size:30px;font-weight:800;line-height:1.15;margin-top:4px;font-variant-numeric:tabular-nums;letter-spacing:-.6px}
.wallet-hero .wb-amount small{font-size:12px;font-weight:600;margin-left:3px;opacity:.9}
.wallet-hero .wb-commission{font-size:13px;font-weight:700;line-height:1.35;margin-top:4px;font-variant-numeric:tabular-nums}
.wallet-hero .wb-sub{font-size:11px;opacity:.72;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wallet-hero .acts{display:flex;gap:10px;margin-top:15px;position:relative;z-index:2}
.wallet-hero .acts .btn{flex:1;height:38px;border:1px solid rgba(255,255,255,.24);font-size:13px;font-weight:700}
.wallet-hero .acts .btn.light{background:#fff;color:var(--brand);border-color:#fff}
.wallet-hero .acts .btn.ghost{background:rgba(255,255,255,.14);color:#fff}
.wallet-hero .wallet-note{position:relative;z-index:2;display:flex;align-items:center;gap:5px;font-size:10.5px;opacity:.76;margin-top:10px}

/* 钱包规则页 */
.rule-page .rule-hero{background:linear-gradient(135deg,#FFF7F1,#FFEDE2);border-radius:16px;padding:16px;position:relative;overflow:hidden}
.rule-page .rule-hero .rh-kicker{font-size:10.5px;letter-spacing:1.2px;color:#B35C28;font-weight:700}
.rule-page .rule-hero h2{font-size:22px;font-weight:800;color:#3B1B09;margin-top:5px}
.rule-page .rule-hero p{font-size:12px;color:#8C5838;line-height:1.7;margin-top:6px}
.rule-page .rule-hero .rh-egg{position:absolute;right:14px;top:14px;width:46px;height:46px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(255,90,31,.14);font-size:26px;color:var(--brand)}
.rule-card{background:#fff;border-radius:14px;box-shadow:var(--sh);padding:14px;margin-top:12px}
.rule-card h3{font-size:14px;font-weight:800;display:flex;align-items:center;gap:7px}
.rule-card h3 i{width:27px;height:27px;border-radius:8px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--brand)}
.rule-card .rule-lines{margin-top:10px}
.rule-card .rule-line{display:flex;gap:9px;font-size:12.5px;color:#4A505A;line-height:1.75;padding:5px 0}
.rule-card .rule-line b{color:var(--ink);flex:none;font-weight:700;min-width:56px}
.rule-card .rule-tip{background:#F8F9FB;border-radius:10px;padding:9px 10px;font-size:11.5px;color:#7B828C;line-height:1.65;margin-top:6px}
.rule-card .rule-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:10px}
.rule-card .rf{background:#FFF8F4;border:1px solid #FFE7D9;border-radius:10px;padding:9px 5px;text-align:center}
.rule-card .rf b{display:block;width:21px;height:21px;line-height:21px;border-radius:50%;background:var(--brand);color:#fff;font-size:11px;margin:0 auto 4px}
.rule-card .rf span{font-size:10.5px;color:#9A6040;line-height:1.45;display:block}
.rule-page .rule-foot{font-size:10.5px;color:#A4AAB3;text-align:center;line-height:1.7;margin:16px 6px 2px}

/* 转账页 */
.transfer-page .tf-hero{background:linear-gradient(135deg,#2B211C,#443126);border-radius:18px;padding:17px 16px;color:#fff;position:relative;overflow:hidden}
.transfer-page .tf-hero::after{content:'';position:absolute;right:-30px;top:-46px;width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.06)}
.transfer-page .tf-hero span{font-size:11.5px;opacity:.72}
.transfer-page .tf-hero b{display:block;font-size:28px;font-weight:800;line-height:1.2;margin-top:5px}
.transfer-page .tf-hero small{font-size:12px;opacity:.8;display:block;margin-top:5px}
.transfer-page .tf-form{margin-top:12px;background:#fff;border-radius:15px;box-shadow:var(--sh);padding:14px}
.transfer-page .tf-form .field{margin-bottom:14px}
.transfer-page .tf-form .field:last-child{margin-bottom:0}
.transfer-page .tf-recipient{position:relative}
.transfer-page .tf-recipient .input{padding-right:46px}
.transfer-page .tf-recipient .scan-mini{position:absolute;right:7px;top:7px;width:34px;height:34px;border-radius:50%;background:#FFF4EE;display:flex;align-items:center;justify-content:center;color:var(--brand)}
.transfer-page .tf-amount{position:relative}
.transfer-page .tf-amount .input{height:58px;font-size:26px;font-weight:800;padding-right:70px;letter-spacing:-.5px}
.transfer-page .tf-amount .unit{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12px;color:var(--sub)}
.transfer-page .tf-amount .all{position:absolute;right:10px;bottom:-18px;font-size:11px;color:var(--brand);font-weight:600}
.transfer-page .tf-recents{margin-top:8px}
.transfer-page .tf-recents .tf-recent{display:inline-flex;align-items:center;gap:5px;background:#F7F8FA;border:1px solid #EEF0F3;border-radius:16px;padding:5px 9px;margin:0 7px 7px 0;font-size:11.5px;color:#5B616B}
.transfer-page .tf-recents .tf-recent img{width:20px;height:20px;border-radius:50%;object-fit:cover}
.transfer-page .tf-fee{background:#F8F9FB;border-radius:11px;padding:11px;margin-top:6px}
.transfer-page .tf-fee .line{display:flex;justify-content:space-between;font-size:12px;color:#6D737D;line-height:1.9}
.transfer-page .tf-fee .line.total{font-size:13px;color:var(--ink);font-weight:700;border-top:1px dashed #E7E9ED;padding-top:8px;margin-top:5px}
.transfer-page .tf-fee .line.total b{color:var(--brand);font-size:17px}
.transfer-page .tf-foot{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(244,245,247,0),#F4F5F7 30%);padding:12px 0 0;margin-top:10px}
.transfer-page .tf-foot .btn{height:46px;border-radius:14px}
.transfer-page .tf-safe{font-size:10.5px;color:#A4AAB3;text-align:center;line-height:1.7;margin-top:9px}

/* 支付密码底部数字键盘 */
.pay-sheet{position:relative;background:#fff;border-radius:20px 20px 0 0;overflow:hidden;padding-bottom:var(--safe-b)}
.pay-sheet .pay-hd{position:relative;text-align:center;padding:16px 52px 10px}
.pay-sheet .pay-hd h3{font-size:17px;font-weight:800;color:var(--ink)}
.pay-sheet .pay-hd p{font-size:11.5px;color:var(--sub);margin-top:5px;line-height:1.5}
.pay-sheet .pay-close{position:absolute;right:12px;top:11px;width:32px;height:32px;border-radius:50%;background:#F6F7F9;display:flex;align-items:center;justify-content:center}
.pay-sheet .pay-money{text-align:center;font-size:26px;font-weight:800;color:var(--brand);line-height:1.2;margin:4px 0 8px;letter-spacing:-.5px}
.pay-sheet .pay-money small{font-size:12px;color:var(--sub);font-weight:600;margin-left:3px}
.pay-sheet .pay-dots{display:flex;justify-content:center;gap:9px;padding:8px 0 16px}
.pay-sheet .pay-dot{width:42px;height:42px;border-radius:10px;background:#F5F6F8;border:1px solid #EFF1F4;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--ink);font-weight:800}
.pay-sheet .pay-dot.on{background:#FFF4EE;border-color:#FFD9C5;color:var(--brand)}
.pay-sheet .pay-tip{text-align:center;font-size:12px;color:#E5484D;min-height:17px;padding:0 16px 4px}
.pay-sheet .pay-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#F0F1F4;border-top:1px solid #F0F1F4}
.pay-sheet .pay-key{background:#fff;height:52px;font-size:22px;font-weight:600;color:var(--ink);display:flex;align-items:center;justify-content:center;user-select:none;-webkit-user-select:none}
.pay-sheet .pay-key:active{background:#F4F5F7}
.pay-sheet .pay-key.fn{font-size:13px;color:#6D737D;background:#F8F9FB}
.pay-sheet .pay-key.del .ic{font-size:22px}
.pay-sheet .pay-key.blank{background:#F8F9FB;pointer-events:none}

/* 地址选择：底部卡片式，替换原生长文本 */
.addr-sheet{background:#fff;border-radius:20px 20px 0 0;max-height:76vh;display:flex;flex-direction:column;overflow:hidden}
.addr-sheet .addr-hd{display:flex;align-items:flex-start;justify-content:space-between;padding:16px 16px 10px}
.addr-sheet .addr-hd h3{font-size:17px;font-weight:800}
.addr-sheet .addr-hd p{font-size:11.5px;color:var(--sub);margin-top:4px}
.addr-sheet .addr-hd button{width:32px;height:32px;border-radius:50%;background:#F6F7F9;display:flex;align-items:center;justify-content:center;flex:none;margin-left:10px}
.addr-sheet .addr-list{flex:1;overflow-y:auto;padding:2px 12px 6px;scrollbar-width:none}
.addr-sheet .addr-list::-webkit-scrollbar{display:none}
.addr-sheet .addr-item{display:flex;align-items:flex-start;gap:10px;border:1px solid #EFF1F4;background:#FAFBFC;border-radius:13px;padding:12px;margin-bottom:9px;cursor:pointer}
.addr-sheet .addr-item.on{background:#FFF8F4;border-color:#FFD7C4;box-shadow:0 3px 12px rgba(255,90,31,.08)}
.addr-sheet .addr-radio{width:20px;height:20px;border-radius:50%;border:1.5px solid #D9DDE3;flex:none;margin-top:2px;display:flex;align-items:center;justify-content:center}
.addr-sheet .addr-item.on .addr-radio{border-color:var(--brand);background:var(--brand);color:#fff}
.addr-sheet .addr-main{flex:1;min-width:0}
.addr-sheet .addr-name{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:13.5px;font-weight:700;color:var(--ink)}
.addr-sheet .addr-name span{font-size:11.5px;font-weight:400;color:#6D737D}
.addr-sheet .addr-name .tag{font-size:10px;padding:2px 5px;border-radius:5px;background:#FFF1E8;color:var(--brand);font-weight:600}
.addr-sheet .addr-detail{font-size:11.5px;color:#7A808A;line-height:1.6;margin-top:5px}
.addr-sheet .addr-edit{font-size:11px;color:var(--brand);font-weight:600;flex:none;padding:2px 0 2px 6px}
.addr-sheet .addr-add{flex:none;padding:10px 14px calc(12px + var(--safe-b));border-top:1px solid #F0F1F4;display:flex;gap:9px;background:#fff}
.addr-sheet .addr-add .btn{flex:1;height:42px;font-size:13px}
.addr-sheet .addr-empty{text-align:center;padding:26px 20px;color:var(--sub);font-size:12.5px;line-height:1.8}

/* 商家标签底部多选 */
.tag-sheet{background:#fff;border-radius:20px 20px 0 0;padding-bottom:var(--safe-b);max-height:76vh;display:flex;flex-direction:column}
.tag-sheet .tag-hd{display:flex;align-items:flex-start;justify-content:space-between;padding:16px 16px 8px}
.tag-sheet .tag-hd h3{font-size:17px;font-weight:800}
.tag-sheet .tag-hd p{font-size:11.5px;color:var(--sub);margin-top:4px}
.tag-sheet .tag-hd button{width:32px;height:32px;border-radius:50%;background:#F6F7F9;display:flex;align-items:center;justify-content:center;flex:none}
.tag-sheet .tag-list{display:flex;flex-wrap:wrap;gap:9px;padding:8px 16px 12px;overflow-y:auto}
.tag-sheet .tag-opt{border:1px solid #E8EBEF;background:#FAFBFC;color:#5D636D;border-radius:20px;padding:8px 13px;font-size:12.5px;cursor:pointer}
.tag-sheet .tag-opt.on{background:#FFF4EE;border-color:#FF8C5A;color:var(--brand);font-weight:700;box-shadow:0 3px 10px rgba(255,90,31,.1)}
.tag-sheet .tag-count{font-size:11.5px;color:var(--sub);padding:0 16px 8px}
.tag-sheet .tag-foot{padding:10px 16px calc(12px + var(--safe-b));border-top:1px solid #F0F1F4}
.tag-sheet .tag-foot .btn{height:44px;border-radius:13px}

/* 我的伙伴统计居中 + K 显示 */
.th-stats>div{text-align:center;padding-left:0!important;border-left:1px solid #F0DCCD}
.th-stats>div:first-child{border-left:0}
.th-stats b{display:flex;justify-content:center;align-items:baseline;text-align:center;font-variant-numeric:tabular-nums;font-size:15px;line-height:1.25}
.th-stats b.num-sm{font-size:13.5px}
.th-stats b.num-xs{font-size:12px}
.th-stats b em{font-size:10px;font-style:normal;font-weight:500;color:#9A6B52;margin-left:1px}
.th-stats span{text-align:center}
.team-summary{display:none!important}

/* 亲属卡消费记录 */
.fc-bills .fc-bill-hero{background:linear-gradient(135deg,#FFF8F3,#FFECE1);border-radius:16px;padding:15px;display:flex;align-items:center;gap:11px;position:relative;overflow:hidden}
.fc-bills .fc-bill-hero img{width:46px;height:46px;border-radius:13px;object-fit:cover;flex:none}
.fc-bills .fc-bill-hero .nm{font-size:15px;font-weight:800;display:flex;align-items:center;gap:6px}
.fc-bills .fc-bill-hero .sub{font-size:11.5px;color:#8C6350;margin-top:4px}
.fc-bills .fc-bill-hero .used{margin-left:auto;text-align:right;flex:none}
.fc-bills .fc-bill-hero .used b{display:block;font-size:21px;color:var(--brand);font-weight:800;line-height:1.1}
.fc-bills .fc-bill-hero .used span{font-size:10.5px;color:#9A6B52}
.fc-bills .fc-search{margin-top:12px;height:42px;background:#fff;border:1px solid #EEF0F3;border-radius:12px;display:flex;align-items:center;gap:8px;padding:0 12px;box-shadow:var(--sh)}
.fc-bills .fc-search input{flex:1;border:0;background:transparent;outline:none;font-size:12.5px}
.fc-bills .fc-list{margin-top:10px;background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--sh)}
.fc-bills .fc-bill{display:flex;align-items:center;gap:10px;padding:13px 13px;border-bottom:1px solid #F3F4F6;cursor:pointer}
.fc-bills .fc-bill:last-child{border-bottom:0}
.fc-bills .fc-bill .bi{width:38px;height:38px;border-radius:10px;background:#FFF4EE;display:flex;align-items:center;justify-content:center;flex:none;font-size:18px;color:var(--brand)}
.fc-bills .fc-bill .bm{flex:1;min-width:0}
.fc-bills .fc-bill .bm b{font-size:13px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fc-bills .fc-bill .bm span{font-size:11px;color:#8B919B;display:block;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fc-bills .fc-bill .amt{font-size:14px;font-weight:800;color:var(--ink);flex:none}
.fc-bills .fc-load{width:100%;height:43px;border-top:1px solid #F2F3F5;font-size:12px;color:#7C828C;background:#fff;display:flex;align-items:center;justify-content:center;gap:5px}
.fc-bills .fc-load:active{background:#FAFBFC}
.fc-bills .fc-load.done{color:#B0B5BE}
.fc-bills .fc-empty{padding:30px 12px;text-align:center;color:#9AA0A9;font-size:12px}
.fc-bill-detail .fbd-hero{background:#fff;border-radius:16px;padding:18px 16px;text-align:center;box-shadow:var(--sh)}
.fc-bill-detail .fbd-hero .ic{width:44px;height:44px;border-radius:50%;background:#FFF4EE;color:var(--brand);display:flex;align-items:center;justify-content:center;margin:0 auto 8px;font-size:22px}
.fc-bill-detail .fbd-hero b{display:block;font-size:28px;font-weight:800;line-height:1.2}
.fc-bill-detail .fbd-hero span{display:block;font-size:11.5px;color:#8B919B;margin-top:5px}
.fc-bill-detail .fbd-lines{margin-top:12px;background:#fff;border-radius:14px;padding:4px 14px;box-shadow:var(--sh)}
.fc-bill-detail .fbd-line{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #F4F5F7;font-size:12.5px}
.fc-bill-detail .fbd-line:last-child{border-bottom:0}
.fc-bill-detail .fbd-line span{color:#8B919B;flex:none}
.fc-bill-detail .fbd-line b{color:#3D424B;font-weight:600;text-align:right;line-height:1.5}

/* 佣金明细详情 */
.commission-detail .cd-hero{background:linear-gradient(135deg,#FFF7F1,#FFEADF);border-radius:17px;padding:19px 16px;text-align:center;position:relative;overflow:hidden}
.commission-detail .cd-hero span{font-size:11.5px;color:#9A6040}
.commission-detail .cd-hero b{display:block;font-size:34px;font-weight:800;color:var(--brand);line-height:1.25;margin-top:5px;letter-spacing:-.8px}
.commission-detail .cd-hero .stat{display:inline-flex;align-items:center;gap:5px;background:rgba(255,255,255,.68);border-radius:12px;padding:4px 9px;font-size:11px;color:#8C5838;margin-top:7px}
.commission-detail .cd-lines{margin-top:12px;background:#fff;border-radius:14px;padding:4px 14px;box-shadow:var(--sh)}
.commission-detail .cd-line{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #F4F5F7;font-size:12.5px}
.commission-detail .cd-line:last-child{border-bottom:0}
.commission-detail .cd-line span{color:#8B919B;flex:none}
.commission-detail .cd-line b{color:#3D424B;font-weight:600;text-align:right;line-height:1.5}
.commission-detail .cd-note{background:#F8F9FB;border-radius:12px;padding:11px 12px;font-size:11.5px;color:#7A808A;line-height:1.7;margin-top:12px}
.commission-detail .cd-timeline{margin-top:12px;background:#fff;border-radius:14px;padding:13px 14px;box-shadow:var(--sh)}
.commission-detail .cd-timeline h4{font-size:13px;font-weight:800;margin-bottom:9px}
.commission-detail .cd-step{display:flex;gap:10px;position:relative;padding-bottom:14px}
.commission-detail .cd-step:last-child{padding-bottom:0}
.commission-detail .cd-step::before{content:'';position:absolute;left:6px;top:16px;bottom:0;width:1px;background:#EEF0F3}
.commission-detail .cd-step:last-child::before{display:none}
.commission-detail .cd-dot{width:13px;height:13px;border-radius:50%;background:#E8EBEF;flex:none;margin-top:2px;position:relative;z-index:1}
.commission-detail .cd-step.on .cd-dot{background:var(--brand);box-shadow:0 0 0 3px #FFF0E8}
.commission-detail .cd-step b{font-size:12px;font-weight:700;display:block}
.commission-detail .cd-step span{font-size:11px;color:#8B919B;display:block;margin-top:2px}

/* 我的资料 */
.profile-edit .pe-head{background:#fff;border-radius:16px;padding:18px 16px 14px;text-align:center;box-shadow:var(--sh)}
.profile-edit .pe-avatar-wrap{position:relative;width:82px;height:82px;margin:0 auto}
.profile-edit .pe-avatar{width:82px;height:82px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 6px 20px rgba(20,26,36,.12);background:#F3F4F6}
.profile-edit .pe-camera{position:absolute;right:-2px;bottom:-2px;width:28px;height:28px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(255,90,31,.3);font-size:14px}
.profile-edit .pe-head h2{font-size:17px;font-weight:800;margin-top:9px}
.profile-edit .pe-head p{font-size:11.5px;color:var(--sub);margin-top:3px}
.profile-edit .pe-group{margin-top:12px;background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--sh)}
.profile-edit .pe-cell{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #F4F5F7;min-height:48px;cursor:pointer}
.profile-edit .pe-cell:last-child{border-bottom:0}
.profile-edit .pe-cell .label{font-size:12.5px;color:#4A505A;flex:none;min-width:60px}
.profile-edit .pe-cell .value{flex:1;text-align:right;font-size:12.5px;color:#8B919B;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-edit .pe-cell .value.ink{color:var(--ink);font-weight:600}
.profile-edit .pe-cell .ic-r{color:#C5C9D0;font-size:14px;flex:none}
.profile-edit .pe-cell input{flex:1;text-align:right;border:0;outline:none;background:transparent;font-size:12.5px;color:var(--ink);min-width:0}
.profile-edit .pe-cell textarea{flex:1;border:0;outline:none;background:#F8F9FB;border-radius:9px;padding:8px;font-size:12px;line-height:1.5;height:56px;resize:none}
.profile-edit .pe-cell.col{display:block}
.profile-edit .pe-cell.col .label{margin-bottom:7px}
.profile-edit .pe-foot{margin-top:16px}
.profile-edit .pe-foot .btn{height:46px;border-radius:14px}
.profile-edit .pe-switch{flex:none;margin-left:auto}
.profile-edit .pe-note{font-size:10.5px;color:#A4AAB3;text-align:center;line-height:1.7;margin:10px 10px 2px}

/* 代理学习详情 */
.learn-detail .ld-hero{background:#fff;border-radius:16px;box-shadow:var(--sh);overflow:hidden}
.learn-detail .ld-cover{height:154px;position:relative;background:#201813}
.learn-detail .ld-cover img{width:100%;height:100%;object-fit:cover;opacity:.82}
.learn-detail .ld-cover .ld-num{position:absolute;left:14px;top:12px;background:rgba(255,90,31,.92);color:#fff;border-radius:9px;padding:4px 8px;font-size:11px;font-weight:700}
.learn-detail .ld-body{padding:15px}
.learn-detail .ld-body .kicker{font-size:10.5px;letter-spacing:1px;color:#B35C28;font-weight:700}
.learn-detail .ld-body h1{font-size:20px;font-weight:800;line-height:1.35;margin-top:5px}
.learn-detail .ld-body .meta{display:flex;gap:9px;flex-wrap:wrap;font-size:10.5px;color:#8B919B;margin-top:7px}
.learn-detail .ld-body .meta span{display:inline-flex;align-items:center;gap:3px}
.learn-detail .ld-rich{padding:0 15px 16px;font-size:13.5px;line-height:1.85;color:#424850}
.learn-detail .ld-rich p{margin-top:10px}
.learn-detail .ld-rich b{color:var(--ink)}
.learn-detail .ld-rich img{width:100%;border-radius:12px;margin:10px 0}
.learn-detail .ld-video{margin-top:12px;background:#1E1713;border-radius:14px;overflow:hidden}
.learn-detail .ld-video video{width:100%;display:block;max-height:245px;background:#1E1713}
.learn-detail .ld-video .cap{padding:9px 12px;color:#fff;font-size:11.5px;background:#2A211C;display:flex;align-items:center;gap:5px}
.learn-detail .ld-tip{background:#FFF8F3;border:1px solid #FFE5D5;border-radius:12px;padding:10px 12px;font-size:11.5px;color:#8B5838;line-height:1.7;margin-top:12px}
.learn-detail .ld-foot{margin-top:14px;display:flex;gap:9px}
.learn-detail .ld-foot .btn{flex:1;height:43px}

/* 商家订单详情 */
.merchant-order-detail .mod-hero{padding:20px 16px;border-radius:16px;background:linear-gradient(135deg,#FFF4EC,#FFE5D4);color:#5B2A0F}
.merchant-order-detail .mod-hero .status{display:inline-flex;align-items:center;gap:5px;border-radius:10px;background:rgba(255,255,255,.7);padding:4px 9px;font-size:11px;font-weight:700}
.merchant-order-detail .mod-hero h2{font-size:21px;font-weight:800;margin-top:8px}
.merchant-order-detail .mod-hero p{font-size:11.5px;color:#8D5838;margin-top:5px}
.merchant-order-detail .mod-card{background:#fff;border-radius:14px;padding:13px;margin-top:11px;box-shadow:var(--sh)}
.merchant-order-detail .mod-goods{display:flex;gap:11px}
.merchant-order-detail .mod-goods img{width:72px;height:72px;border-radius:11px;object-fit:cover;flex:none}
.merchant-order-detail .mod-goods h3{font-size:13.5px;font-weight:700;line-height:1.45}
.merchant-order-detail .mod-goods .sub{font-size:11px;color:#8B919B;margin-top:4px}
.merchant-order-detail .mod-goods .price{font-size:18px;font-weight:800;color:var(--brand);margin-top:5px}
.merchant-order-detail .mod-lines .line{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid #F4F5F7;font-size:12.5px}
.merchant-order-detail .mod-lines .line:last-child{border-bottom:0}
.merchant-order-detail .mod-lines .line span{color:#8B919B;flex:none}
.merchant-order-detail .mod-lines .line b{font-weight:600;text-align:right;line-height:1.5}
.merchant-order-detail .mod-step{display:flex;gap:10px;padding-bottom:13px;position:relative}
.merchant-order-detail .mod-step:last-child{padding-bottom:0}
.merchant-order-detail .mod-step::before{content:'';position:absolute;left:5px;top:14px;bottom:0;width:1px;background:#EEF0F3}
.merchant-order-detail .mod-step:last-child::before{display:none}
.merchant-order-detail .mod-dot{width:11px;height:11px;border-radius:50%;background:#E1E4E9;margin-top:3px;flex:none;position:relative;z-index:1}
.merchant-order-detail .mod-step.on .mod-dot{background:var(--brand)}
.merchant-order-detail .mod-step b{font-size:12px;display:block}
.merchant-order-detail .mod-step span{font-size:10.5px;color:#8B919B;display:block;margin-top:2px}
.merchant-order-detail .mod-bar{position:sticky;bottom:0;display:flex;gap:9px;padding:10px 0 calc(10px + var(--safe-b));background:linear-gradient(180deg,rgba(244,245,247,0),#F4F5F7 33%)}
.merchant-order-detail .mod-bar .btn{flex:1;height:44px}

/* 评价管理 */
.mr-page .mr-hero{background:#fff;border-radius:16px;padding:15px;box-shadow:var(--sh);display:flex;align-items:center;gap:13px}
.mr-page .mr-score{text-align:center;flex:none;min-width:72px}
.mr-page .mr-score b{font-size:29px;font-weight:800;color:var(--brand);display:block;line-height:1.15}
.mr-page .mr-score span{font-size:10.5px;color:#8B919B}
.mr-page .mr-sum{flex:1;min-width:0}
.mr-page .mr-sum h2{font-size:15px;font-weight:800}
.mr-page .mr-sum p{font-size:11.5px;color:#8B919B;margin-top:4px}
.mr-page .mr-bar{height:6px;border-radius:3px;background:#F0F2F5;margin-top:8px;overflow:hidden}
.mr-page .mr-bar i{display:block;height:100%;background:linear-gradient(90deg,#FF7A3D,#FFB15C);border-radius:3px}
.mr-page .mr-tabs{margin-top:12px;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.mr-page .mr-tabs::-webkit-scrollbar{display:none}
.mr-page .mr-tab{flex:none;padding:6px 11px;border-radius:15px;background:#fff;color:#6D737D;font-size:11.5px;border:1px solid #EEF0F3}
.mr-page .mr-tab.on{background:var(--brand-soft);border-color:#FFD6C2;color:var(--brand);font-weight:700}
.mr-page .mr-item{background:#fff;border-radius:14px;padding:13px;margin-top:10px;box-shadow:var(--sh)}
.mr-page .mr-head{display:flex;align-items:center;gap:9px}
.mr-page .mr-head img{width:34px;height:34px;border-radius:50%;object-fit:cover}
.mr-page .mr-head .nm{flex:1;min-width:0}
.mr-page .mr-head .nm b{font-size:12.5px;display:block}
.mr-page .mr-head .nm span{font-size:10.5px;color:#A4AAB3;display:block;margin-top:2px}
.mr-page .mr-head .stars{font-size:11px;color:var(--brand);flex:none}
.mr-page .mr-text{font-size:12.5px;color:#4A505A;line-height:1.7;margin-top:9px}
.mr-page .mr-imgs{display:flex;gap:7px;margin-top:8px}
.mr-page .mr-imgs img{width:66px;height:66px;border-radius:8px;object-fit:cover}
.mr-page .mr-actions{display:flex;justify-content:flex-end;margin-top:8px}
.mr-page .mr-actions button{font-size:11px;color:#A4AAB3;display:flex;align-items:center;gap:3px}

/* 通用详情样式补丁 */
.detail-section-gap{height:12px}
.order-detail-head{font-size:12px;color:#8B919B;padding:0 2px 6px}

/* 到店时间：横向滑动，避免全部平铺 */
.appt-times{
  display:flex!important;
  grid-template-columns:none!important;
  gap:8px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 0 6px;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
}
.appt-times::-webkit-scrollbar{display:none}
.appt-times .appt-time{flex:0 0 92px;min-width:92px;scroll-snap-align:start}
.appt-times .appt-empty{flex:1 0 100%;min-width:100%}

/* 扫一扫页面定位胶囊 */
.scan-loc-pill{
  position:absolute;left:50%;transform:translateX(-50%);top:calc(56px + var(--safe-t));z-index:8;
  display:inline-flex;align-items:center;gap:4px;max-width:calc(100% - 32px);
  padding:6px 11px;border-radius:18px;background:rgba(15,18,24,.55);backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);color:#fff;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.scan-loc-pill .ic{flex:none;width:12px;height:12px;font-size:12px}
.profile-edit .pe-cell.col .label{display:block;margin-bottom:7px}
.profile-edit .pe-cell.col textarea{display:block;width:100%}
.transfer-page .tf-hero b small{display:inline!important;font-size:12px!important;font-weight:600!important;opacity:.9;margin-top:0!important}
.mh-grid{grid-template-columns:repeat(5,1fr);gap:17px 0}
.mh-grid .rg{font-size:11.5px}


/* v3.1 支付密码键盘适配小屏 / 旧浏览器 */
.pay-sheet .pay-hd{padding:14px 50px 8px}
.pay-sheet .pay-dot{width:38px;height:38px;font-size:17px}
.pay-sheet .pay-dots{padding:6px 0 12px;gap:8px}
.pay-sheet .pay-key{height:46px;font-size:20px}
@media (max-width:340px){
  .banner-kicker{font-size:10px;white-space:nowrap}
  .banner-title{font-size:19px}
  .banner-visual{width:40%}
  .mh-grid{grid-template-columns:repeat(5,1fr);gap:14px 0;padding:0 2px}
  .mh-grid .rg{font-size:10px;gap:6px}
  .mh-grid .rg .ic{font-size:21px;width:21px;height:21px}
  .mh-grid .rg span{white-space:nowrap}
}

/* 商家工作台数据区 */
.mh-kpi{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:14px;box-shadow:var(--sh);padding:14px 6px;margin-top:12px}
.mh-kpi>div{text-align:center;border-right:1px solid #F2F3F6}
.mh-kpi>div:last-child{border-right:0}
.mh-kpi b{display:block;font-size:20px;font-weight:800;color:var(--ink);line-height:1.2}
.mh-kpi span{display:block;font-size:11px;color:var(--sub);margin-top:4px}
.mh-todo{display:flex;align-items:center;gap:10px;background:#FFF9F5;border:1px solid #FFE6D6;border-radius:13px;padding:12px;margin-top:12px;cursor:pointer}
.mt-ic{width:34px;height:34px;border-radius:10px;background:#FFEADC;display:flex;align-items:center;justify-content:center;color:var(--brand);flex:none}
.mt-main{flex:1;min-width:0}
.mt-main b{display:block;font-size:13px;color:#6B3214}
.mt-main span{display:block;font-size:11px;color:#A56A45;margin-top:2px}
.mh-todo button{display:inline-flex;align-items:center;gap:2px;font-size:12px;font-weight:700;color:var(--brand);white-space:nowrap}
.mh-orders{background:#fff;border-radius:14px;box-shadow:var(--sh);overflow:hidden}
.mh-order{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #F3F4F7;cursor:pointer}
.mh-order:last-child{border-bottom:0}
.mh-order .mo-ic{width:36px;height:36px;border-radius:10px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;color:var(--brand);flex:none}
.mo-main{flex:1;min-width:0}
.mo-main b{display:block;font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mo-main span{display:block;font-size:10.5px;color:var(--sub);margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mo-right{text-align:right;flex:none}
.mo-right strong{display:block;font-size:13px;color:var(--brand);font-weight:800}
.mo-right em{display:block;font-style:normal;font-size:10.5px;color:var(--sub);margin-top:3px}
.mo-right em.warn{color:#E9832E;font-weight:700}
.mh-tip{display:flex;align-items:center;gap:5px;font-size:11px;color:#A17A62;background:#FFFBF7;border-radius:10px;padding:9px 11px;margin-top:12px;cursor:pointer}
.mh-tip .ic{color:var(--brand);flex:none}
@media (max-width:340px){.mh-kpi b{font-size:18px}.mh-kpi span{font-size:10px}.mh-todo{padding:10px}.mt-main span{font-size:10px}}

/* 320 小屏附近商家信息压缩 */
@media (max-width:360px){
  .nc-rate{font-size:10.5px;gap:5px}
  .nc-rate .lv{display:none}
  .nc-cat{max-width:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .nc-tags .tag{max-width:62px}
  .nc-avatar{width:50px;height:50px}
  .nearby-card{gap:10px;padding:12px 11px}
}

/* 附近商家：独立排序工具条，区别于分类胶囊 */
.nv-filterbar{display:flex;align-items:center;gap:8px;padding:9px 12px;margin:10px 14px 0;background:#fff;border:1px solid #F0F1F4;border-radius:13px;box-shadow:0 3px 12px rgba(20,24,31,.045);overflow:hidden}
.nv-filter-label{display:inline-flex;align-items:center;gap:3px;font-size:11px;color:#A4A9B2;flex:none;white-space:nowrap}
.nv-filter-label .ic{font-size:12px;width:12px;height:12px}
.nv-sort-list{display:flex;align-items:center;gap:12px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}
.nv-sort-list::-webkit-scrollbar{display:none}
.nv-sort{flex:none;position:relative;padding:3px 0 5px;font-size:12px;color:#6D737D;white-space:nowrap;cursor:pointer}
.nv-sort.on{color:var(--brand);font-weight:800}
.nv-sort.on::after{content:'';position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:15px;height:2px;border-radius:2px;background:var(--brand)}
.nv-egg{flex:none;display:inline-flex;align-items:center;gap:3px;height:26px;padding:0 8px;border-radius:13px;border:1px solid #FFE0D0;background:#FFF8F4;color:#B95B2E;font-size:10.5px;font-weight:600;white-space:nowrap}
.nv-egg .ic{font-size:12px;width:12px;height:12px}
.nv-egg.on{background:var(--brand);border-color:var(--brand);color:#fff}
.nv-egg.on .ic{color:#fff}
@media (max-width:340px){
  .nv-filterbar{margin:8px 12px 0;padding:8px 9px;gap:6px}
  .nv-sort-list{gap:9px}
  .nv-sort{font-size:11px}
  .nv-egg{font-size:10px;padding:0 6px}
}

/* 商品详情：图文实拍 + 平台免责声明 */
.gd-gallery{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.gd-photo{margin:0;background:#fff;border-radius:12px;overflow:hidden;border:1px solid #F1F2F5}
.gd-photo img{display:block;width:100%!important;max-width:100%!important;height:auto;object-fit:cover}
.gd-photo figcaption{font-size:10.5px;color:#A4A9B2;padding:8px 10px;background:#FAFBFC}
.gd-detail img,.rich-content img{width:100%!important;max-width:100%!important;height:auto!important;border-radius:10px}
.gd-disclaimer{margin:0 12px 10px;background:#FBFCFD;border:1px solid #EEF0F3;border-radius:13px;padding:13px 14px}
.gd-disclaim-h{display:flex;align-items:center;gap:5px;font-size:12.5px;font-weight:800;color:#4A505A;margin-bottom:7px}
.gd-disclaim-h .ic{color:#8B919B;font-size:13px;width:13px;height:13px}
.gd-disclaimer p{font-size:11px;line-height:1.75;color:#8B919B;margin:0 0 5px}
.gd-disclaimer p:last-child{margin-bottom:0}

/* 分享底部弹窗：预览 + 双行动卡 */
.share-sheet{position:relative;background:#fff;border-radius:22px 22px 0 0;padding:8px 16px calc(16px + var(--safe-b));max-height:88vh;overflow-y:auto;overscroll-behavior:contain}
.ss-grab{width:36px;height:4px;border-radius:2px;background:#E6E8EC;margin:0 auto 8px}
.ss-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:2px 0 10px}
.ss-hd h3{font-size:17px;font-weight:800;color:var(--ink)}
.ss-hd p{font-size:11px;color:var(--sub);margin-top:4px}
.ss-close{width:30px;height:30px;border-radius:50%;background:#F5F6F8;display:flex;align-items:center;justify-content:center;flex:none;color:#8B919B}
.ss-preview{display:flex;align-items:center;gap:10px;padding:10px;background:#FAFBFC;border:1px solid #F0F1F4;border-radius:14px;margin-bottom:12px}
.ss-cover{width:48px;height:48px;border-radius:10px;overflow:hidden;background:#FFF1E8;display:flex;align-items:center;justify-content:center;color:var(--brand);flex:none}
.ss-cover img{width:100%;height:100%;object-fit:cover}
.ss-pt{flex:1;min-width:0}
.ss-pt b{display:block;font-size:12.5px;line-height:1.4;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ss-pt span{display:block;font-size:10.5px;color:var(--sub);margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ss-badge{flex:none;font-size:10px;color:#B45A1E;background:#FFF0E3;border-radius:6px;padding:3px 6px;font-weight:700}
.ss-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ss-act{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px;border-radius:14px;background:#fff;border:1px solid #EFF1F4;text-align:left;min-height:86px;box-shadow:0 3px 12px rgba(20,24,31,.04)}
.ss-act:active{transform:scale(.985)}
.ss-act.primary{background:linear-gradient(135deg,#FF6B34,#FF4D12);border-color:transparent;color:#fff;box-shadow:0 6px 18px rgba(255,90,31,.22)}
.ss-act-ic{width:30px;height:30px;border-radius:9px;background:#FFF2EA;color:var(--brand);display:flex;align-items:center;justify-content:center;font-size:16px}
.ss-act.primary .ss-act-ic{background:rgba(255,255,255,.2);color:#fff}
.ss-act b{display:block;font-size:12.5px;font-weight:800;margin-top:2px}
.ss-act small{display:block;font-size:9.5px;color:#A4A9B2;line-height:1.35}
.ss-act.primary small{color:rgba(255,255,255,.76)}
.ss-link{display:flex;align-items:center;gap:6px;background:#F7F8FA;border-radius:10px;padding:8px 9px;margin-top:12px}
.ss-link span{display:inline-flex;align-items:center;gap:2px;font-size:10.5px;color:#8B919B;flex:none;white-space:nowrap}
.ss-link em{flex:1;min-width:0;font-style:normal;font-size:10px;color:#7C828B;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ss-link button{flex:none;font-size:10.5px;font-weight:700;color:var(--brand);padding:2px 4px}
.ss-tip{display:flex;align-items:center;gap:4px;font-size:10px;color:#A4A9B2;margin-top:9px;line-height:1.5}
.ss-tip .ic{flex:none;font-size:12px;width:12px;height:12px}
@media (max-width:340px){.share-sheet{padding-left:12px;padding-right:12px}.ss-act{padding:10px;min-height:80px}.ss-act b{font-size:12px}}

/* 确认订单商品信息：价值/销量/库存 */
.co-subinfo{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:10.5px;color:#9AA0AA;flex-wrap:wrap}
.co-subinfo b{color:#5A5F68;font-weight:700}
.co-subinfo i{width:1px;height:9px;background:#E8EAED;display:inline-block}

/* 代理数据条：长金额缩小，避免换行/错位 */
.agent-data-strip b{font-size:12.5px}
.agent-data-strip b.long{font-size:11.5px}
@media (max-width:340px){.agent-data-strip b{font-size:11.5px}}

/* 区代管理：按账号搜索授权，不预置用户列表 */
.district-list{display:flex;flex-direction:column;gap:10px}
.district-card{background:#fff;border-radius:14px;padding:13px;box-shadow:var(--sh);border:1px solid #F3F4F7}
.dc-head{display:flex;align-items:center;justify-content:space-between}
.dc-head>div{display:flex;align-items:center;gap:7px}
.dc-head b{font-size:14px}
.dc-head span{font-size:10px;color:#9AA0AA;background:#F4F5F7;border-radius:6px;padding:2px 6px}
.dc-head span.on{color:#0E9D55;background:#EAF9F0}
.dc-main{margin-top:9px}
.dc-agent{display:flex;align-items:center;gap:9px;background:#FAFBFC;border-radius:10px;padding:9px}
.dc-avatar{width:34px;height:34px;border-radius:50%;background:#FFF1E8;color:var(--brand);display:flex;align-items:center;justify-content:center;flex:none}
.dc-agent b{display:block;font-size:12.5px}
.dc-agent span{display:block;font-size:10.5px;color:#9AA0AA;margin-top:3px}
.dc-vacant{background:#FAFBFC;border-radius:10px;padding:10px;font-size:11px;color:#9AA0AA;text-align:center}
.dc-invite{display:flex;align-items:flex-start;gap:4px;background:#FFF8F2;border:1px dashed #FFD9C0;border-radius:9px;padding:8px;margin-top:7px;font-size:10.5px;color:#B65E27;line-height:1.55}
.dc-invite .ic{flex:none;margin-top:1px}
.dc-acts{display:flex;gap:7px;margin-top:10px}
.dc-acts .btn{flex:1;height:34px;font-size:12px}
.district-pick-sheet{background:#fff;border-radius:22px 22px 0 0;padding:8px 16px calc(18px + var(--safe-b));max-height:82vh;overflow-y:auto}
.dp-grab{width:36px;height:4px;border-radius:2px;background:#E6E8EC;margin:0 auto 8px}
.dp-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:2px 0 8px}
.dp-hd h3{font-size:17px;font-weight:800}
.dp-hd p{font-size:11px;color:var(--sub);margin-top:4px}
.dp-close{width:30px;height:30px;border-radius:50%;background:#F5F6F8;color:#8B919B;display:flex;align-items:center;justify-content:center;flex:none}
.dp-note{display:flex;align-items:flex-start;gap:4px;background:#FFF9F4;border:1px solid #FFE6D6;border-radius:10px;padding:8px 9px;font-size:10.5px;line-height:1.55;color:#A15F33;margin-bottom:10px}
.dp-note .ic{flex:none;margin-top:1px;font-size:12px}
.dp-search{display:flex;gap:8px}
.dp-search input{flex:1;height:42px;border:1px solid #E8EAED;border-radius:10px;padding:0 12px;font-size:13px;outline:none;background:#FAFBFC;min-width:0}
.dp-search input:focus{border-color:#FFC9AE;background:#fff}
.dp-search button{flex:none;width:66px;height:42px;border-radius:10px;background:var(--brand);color:#fff;font-size:12.5px;font-weight:700}
.dp-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px 10px 22px;color:#A4A9B2}
.dp-empty .ic{font-size:24px;width:24px;height:24px;color:#C6CBD2}
.dp-empty p{font-size:11px;text-align:center}
.dp-result{display:flex;align-items:center;gap:10px;margin-top:12px;background:#FAFBFC;border:1px solid #EEF0F3;border-radius:12px;padding:11px}
.dp-avatar{width:42px;height:42px;border-radius:50%;background:#FFF0E4;color:var(--brand);display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;flex:none}
.dp-main{flex:1;min-width:0}
.dp-main b{display:block;font-size:13.5px}
.dp-main span{display:block;font-size:10.5px;color:#8B919B;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dp-main em{display:block;font-style:normal;font-size:10px;color:#A4A9B2;margin-top:3px}
.dp-invite{flex:none;height:32px;padding:0 10px;border-radius:9px;background:var(--brand);color:#fff;font-size:11px;font-weight:700}
.dp-invite:disabled{background:#F1F2F5;color:#A4A9B2}
.dp-foot{display:flex;align-items:flex-start;gap:4px;font-size:10px;line-height:1.5;color:#A4A9B2;margin-top:12px}
.dp-foot .ic{flex:none;margin-top:1px;font-size:12px}
@media (max-width:340px){.dp-search button{width:56px}.dp-result{gap:7px}.dp-avatar{width:36px;height:36px}}

/* 转账手续费分配 */
.tf-split{background:#FFF9F5;border:1px solid #FFE7D8;border-radius:11px;padding:10px;margin-top:9px}
.tf-split-h{display:flex;align-items:center;gap:4px;font-size:10.5px;color:#9A6040;font-weight:700;margin-bottom:5px}
.tf-split-h em{font-style:normal;font-weight:400;color:#B58A74;margin-left:auto;font-size:9.5px}
.tf-split-h .ic{font-size:12px;width:12px;height:12px;color:var(--brand)}
.tf-part{display:flex;justify-content:space-between;font-size:10.5px;color:#8B6A57;line-height:1.8}
.tf-part b{color:#7B3C1C;font-weight:700}

/* 订单服务费分配 */
.order-split{display:flex;gap:5px;margin:6px 0 0;flex-wrap:wrap}
.order-split span{font-size:9.5px;color:#9A6040;background:#FFF6EF;border:1px solid #FFE6D5;border-radius:6px;padding:3px 6px;line-height:1.4}
.order-split b{font-weight:700;color:#7B3C1C}

/* 320 窄屏：确认订单底栏 */
@media (max-width:360px){
  .co-bar{padding:8px 10px calc(8px + var(--safe-b));gap:7px}
  .co-bar .total{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  .co-bar .total b{font-size:16px}
  .co-bar .btn{padding:0 14px;min-width:96px;height:38px;font-size:12px}
  .cb-bal{display:none}
}

/* 小屏转账：底部按钮改为随内容，避免遮挡手续费分配 */
@media (max-width:360px){
  .transfer-page .tf-foot{position:static;margin-top:12px;padding-bottom:8px;background:none}
  .transfer-page .tf-foot .btn{height:44px}
}

/* 消息详情：区代授权确认 */
.msg-confirm-btn{width:100%;height:44px;margin-top:18px;border-radius:12px}
