:root{
  --view-theme:#2D8CF0;
  --view-theme-2:#1E88E5;
  --view-priceColor:#2D8CF0;
  --view-minorColor:#FF7E3E;
  --bg:#f5f5f5;
  --card:#ffffff;
  --text:#282828;
  --text-2:#666;
  --text-3:#999;
  --line:#f0f0f0;
  --radius:12px;
  --footer-h:56px;
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;}
html,body{height:100%;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue",Arial,sans-serif;
  background:#e9eef3;color:var(--text);font-size:14px;line-height:1.4;
  display:flex;justify-content:center;align-items:center;min-height:100vh;overflow:hidden;
}
#phone{
  position:relative;width:min(390px,96vw);height:min(844px,96vh);background:var(--bg);
  border-radius:42px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.25);
  border:10px solid #111;
}
.statusbar{
  position:absolute;top:0;left:0;right:0;height:30px;z-index:30;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 22px;font-size:13px;font-weight:600;color:#fff;mix-blend-mode:difference;
}
.sb-right i{font-style:normal;margin-left:5px;font-size:11px;}
#main{position:absolute;top:0;left:0;right:0;bottom:var(--footer-h);overflow-y:auto;overflow-x:hidden;}
.footer{position:absolute;bottom:0;left:0;right:0;height:var(--footer-h);background:#fff;
  display:flex;border-top:1px solid var(--line);z-index:20;}
.footer .tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  color:var(--text-3);font-size:11px;gap:3px;cursor:pointer;}
.footer .tab .ic{width:22px;height:22px;fill:currentColor;}
.footer .tab.active{color:var(--view-theme);font-weight:600;}
.footer .tab .badge{position:absolute;top:4px;margin-left:14px;background:var(--view-minorColor);
  color:#fff;font-size:10px;min-width:16px;height:16px;border-radius:9px;padding:0 4px;
  display:flex;align-items:center;justify-content:center;font-weight:600;}

/* page generic */
.page{display:none;min-height:100%;}
.page.show{display:block;padding-bottom:12px;}

/* 页面顶部导航栏（小程序风格，含状态栏占位） */
.navbar{position:relative;z-index:12;background:#fff;padding-top:30px;height:74px;display:flex;
  align-items:center;justify-content:center;font-size:17px;font-weight:600;color:var(--text);
  border-bottom:1px solid var(--line);flex-shrink:0;}
.navbar .nb-right{position:absolute;right:14px;font-size:13px;color:var(--view-theme);font-weight:400;cursor:pointer;}
.navbar .nb-back{position:absolute;left:10px;width:24px;height:24px;fill:var(--text);cursor:pointer;}
.page-col{height:100%;}
.page-col.show{display:flex;flex-direction:column;}
.page-scroll{flex:1;overflow-y:auto;overflow-x:hidden;padding-bottom:12px;}
.section-title{display:flex;align-items:center;justify-content:space-between;padding:16px 14px 8px;font-size:16px;font-weight:700;}
.section-title .more{font-size:12px;color:var(--text-3);font-weight:400;}

/* gradient header (CRMEB 首页/我的风格) */
.grad-head{background:linear-gradient(135deg,var(--view-theme-2),var(--view-theme));
  padding:38px 14px 64px;color:#fff;position:relative;}
.grad-head .gh-top{display:flex;align-items:center;justify-content:space-between;font-size:13px;}
.grad-head .gh-loc{display:flex;align-items:center;gap:4px;font-weight:600;}
.grad-head .gh-actions{display:flex;gap:16px;}
.grad-head .gh-actions .ic{width:20px;height:20px;fill:#fff;}
.search-pill{margin-top:14px;background:rgba(255,255,255,.95);border-radius:20px;height:36px;
  display:flex;align-items:center;padding:0 14px;color:var(--text-3);font-size:13px;gap:6px;}
.search-pill .ic{width:16px;height:16px;fill:var(--text-3);}

/* home body overlapping */
.home-body{margin-top:-48px;padding:0 12px;position:relative;z-index:2;}
.nav-grid{background:var(--card);border-radius:var(--radius);padding:14px 6px;display:grid;
  grid-template-columns:repeat(4,1fr);gap:14px 0;}
.nav-grid .ng{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:var(--text);cursor:pointer;}
.nav-grid .ng .icwrap{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#e8f2ff,#d6e8ff);}
.nav-grid .ng .ic{width:22px;height:22px;fill:var(--view-theme);}
.banner{margin-top:12px;border-radius:var(--radius);height:90px;overflow:hidden;
  background:linear-gradient(120deg,#bfe0ff,#8cc6ff);display:flex;align-items:center;padding:0 18px;color:#0a4f96;font-weight:700;}
.banner .b-t{font-size:18px;}.banner .b-s{font-size:12px;font-weight:400;margin-top:4px;}

/* goods grid (CRMEB 推荐商品) */
.goods-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px;}
.goods-card{background:var(--card);border-radius:var(--radius);overflow:hidden;cursor:pointer;
  display:flex;flex-direction:column;}
.goods-card .g-img{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;font-size:46px;}
.goods-card .g-body{padding:8px 10px 10px;}
.goods-card .g-title{font-size:13px;color:var(--text);line-height:1.35;height:36px;overflow:hidden;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.goods-card .g-tag{display:inline-block;margin-top:6px;font-size:10px;color:#fff;background:var(--view-minorColor);
  border-radius:4px;padding:1px 5px;}
.goods-card .g-row{display:flex;align-items:center;justify-content:space-between;margin-top:6px;}
.goods-card .g-price{color:var(--view-priceColor);font-weight:700;font-size:16px;}
.goods-card .g-price i{font-style:normal;font-size:11px;font-weight:600;}
.goods-card .g-price .ot{color:var(--text-3);font-size:11px;font-weight:400;text-decoration:line-through;margin-left:4px;}
.goods-card .g-sales{font-size:11px;color:var(--text-3);}
.goods-card .g-cart{width:26px;height:26px;border-radius:50%;background:var(--view-theme);
  color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;margin-left:6px;}

/* 分类页 */
.cate-wrap{display:flex;flex:1;overflow:hidden;}
.cate-side{width:88px;background:#fff;flex-shrink:0;border-right:1px solid var(--line);}
.cate-side .cs{height:50px;display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--text-2);position:relative;}
.cate-side .cs.active{color:var(--view-theme);font-weight:700;background:var(--bg);}
.cate-side .cs.active::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:2px;background:var(--view-theme);}
.cate-main{flex:1;padding:8px 10px;overflow-y:auto;}
.cate-banner{height:72px;border-radius:10px;margin-bottom:10px;background:linear-gradient(120deg,#cfe6ff,#9fd0ff);
  display:flex;align-items:center;padding:0 14px;color:#0a4f96;font-weight:700;}
.cate-sec-title{font-size:13px;font-weight:700;color:var(--text);margin:8px 2px;}

/* 购物车 */
.cart-item{background:#fff;border-radius:10px;margin:0 12px 10px;padding:10px;display:flex;align-items:center;gap:10px;}
.cart-item .ck{width:20px;height:20px;border-radius:50%;border:2px solid #ccc;flex-shrink:0;}
.cart-item .ck.on{background:var(--view-theme);border-color:var(--view-theme);position:relative;}
.cart-item .ck.on::after{content:"";position:absolute;left:6px;top:3px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);}
.cart-item .ci-img{width:64px;height:64px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:30px;flex-shrink:0;}
.cart-item .ci-info{flex:1;min-width:0;}
.cart-item .ci-name{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.cart-item .ci-price{color:var(--view-priceColor);font-weight:700;margin-top:4px;}
.stepper{display:flex;align-items:center;gap:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;}
.stepper button{width:26px;height:26px;border:none;background:#fafafa;font-size:16px;color:var(--text-2);}
.stepper input{width:34px;height:26px;border:none;text-align:center;font-size:13px;}
.settle-bar{position:absolute;left:0;right:0;bottom:var(--footer-h);height:52px;background:#fff;
  display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-top:1px solid var(--line);z-index:10;}
.settle-bar .total{font-size:15px;color:var(--view-priceColor);font-weight:700;}
.settle-bar .btn{background:var(--view-theme);color:#fff;height:38px;padding:0 26px;border-radius:19px;line-height:38px;font-size:14px;font-weight:600;}

/* 消息中心 */
.msg-item{background:#fff;display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);cursor:pointer;}
.msg-item .m-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#d6e8ff,#bfe0ff);
  display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0;position:relative;}
.msg-item .m-avatar .ub{position:absolute;right:-2px;top:-2px;background:var(--view-minorColor);color:#fff;font-size:10px;min-width:16px;height:16px;border-radius:9px;padding:0 4px;text-align:center;font-weight:600;border:2px solid #fff;}
.msg-item .m-body{flex:1;min-width:0;}
.msg-item .m-name{font-size:14px;font-weight:600;display:flex;justify-content:space-between;}
.msg-item .m-name .t{font-size:11px;color:var(--text-3);font-weight:400;}
.msg-item .m-last{font-size:12px;color:var(--text-3);margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.empty{text-align:center;color:var(--text-3);padding:60px 0;font-size:13px;}

/* 我的 */
.u-head{background:linear-gradient(135deg,var(--view-theme-2),var(--view-theme));padding:40px 16px 70px;color:#fff;position:relative;}
.u-head .uh-top{display:flex;justify-content:flex-end;gap:18px;}
.u-head .uh-top .ic{width:22px;height:22px;fill:#fff;}
.u-profile{display:flex;align-items:center;gap:14px;margin-top:10px;}
.u-profile .avatar{width:62px;height:62px;border-radius:50%;border:2px solid rgba(255,255,255,.7);background:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;}
.u-profile .u-name{font-size:18px;font-weight:700;display:flex;align-items:center;gap:8px;}
.u-profile .vip{font-size:11px;background:rgba(255,255,255,.25);padding:2px 8px;border-radius:10px;font-weight:400;}
.u-profile .u-id{font-size:12px;opacity:.85;margin-top:4px;}
.u-assets{margin-top:-46px;margin-left:12px;margin-right:12px;background:#fff;border-radius:var(--radius);
  display:flex;padding:14px 0;position:relative;z-index:2;box-shadow:0 4px 16px rgba(0,0,0,.05);}
.u-assets .ua{flex:1;text-align:center;font-size:13px;color:var(--text-2);}
.u-assets .ua b{display:block;font-size:17px;color:var(--text);margin-bottom:2px;}
.u-orders{margin:12px;background:#fff;border-radius:var(--radius);padding:14px;}
.u-orders .uo-head{display:flex;justify-content:space-between;font-size:14px;font-weight:700;margin-bottom:12px;}
.u-orders .uo-head .more{font-size:12px;color:var(--text-3);font-weight:400;}
.u-orders .uo-row{display:flex;}
.u-orders .uo{flex:1;text-align:center;font-size:12px;color:var(--text-2);cursor:pointer;position:relative;}
.u-orders .uo .icwrap{width:36px;height:36px;margin:0 auto 5px;border-radius:50%;background:#eef6ff;display:flex;align-items:center;justify-content:center;}
.u-orders .uo .ic{width:20px;height:20px;fill:var(--view-theme);}
.u-orders .uo .ub{position:absolute;top:0;left:60%;background:var(--view-minorColor);color:#fff;font-size:10px;min-width:16px;height:16px;border-radius:9px;padding:0 4px;}
.u-menu{margin:0 12px 12px;background:#fff;border-radius:var(--radius);padding:6px 0;}
.u-menu .um{display:flex;align-items:center;gap:10px;padding:13px 14px;border-bottom:1px solid var(--line);font-size:14px;cursor:pointer;}
.u-menu .um:last-child{border-bottom:none;}
.u-menu .um .ic{width:20px;height:20px;fill:var(--view-theme);}
.u-menu .um .arrow{margin-left:auto;color:var(--text-3);}
.switch-mode{margin:14px 12px;text-align:center;color:var(--view-theme);font-size:13px;cursor:pointer;}

/* 店长版首页 */
.m-head{background:linear-gradient(135deg,var(--view-theme-2),var(--view-theme));padding:36px 16px 18px;color:#fff;}
.m-head .m-stats{margin:16px 0 0;background:transparent;}
.m-head .m-stats .ms b,.m-head .m-stats .ms span{color:#fff;}
.user-block{background:#fff;margin:12px;border-radius:var(--radius);padding:14px;}
.user-block .ub-top{display:flex;align-items:center;gap:12px;}
.user-block .ub-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#e8f2ff,#cfe6ff);display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0;}
.user-block .ub-name{font-size:15px;font-weight:700;}
.user-block .ub-role{font-size:11px;background:var(--view-theme);color:#fff;padding:1px 8px;border-radius:10px;margin-left:8px;font-weight:400;}
.user-block .ub-sub{font-size:12px;color:var(--text-3);margin-top:3px;}
.m-user-head{background:linear-gradient(135deg,var(--view-theme-2),var(--view-theme));padding:40px 16px 26px;color:#fff;}
.m-user-head .muh-profile{display:flex;align-items:center;gap:14px;}
.m-user-head .avatar{width:62px;height:62px;border-radius:50%;border:2px solid rgba(255,255,255,.7);background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:30px;flex-shrink:0;}
.m-user-head .mu-name{font-size:18px;font-weight:700;display:flex;align-items:center;gap:8px;}
.m-user-head .mu-role{font-size:11px;background:rgba(255,255,255,.28);padding:2px 8px;border-radius:10px;font-weight:400;}
.m-user-head .mu-sub{font-size:12px;opacity:.85;margin-top:5px;}
.m-user-body{background:var(--bg);padding:12px;}
.m-user-body .ub-switch{background:#fff;border-radius:var(--radius);padding:14px;text-align:center;color:var(--view-theme);font-size:14px;font-weight:600;cursor:pointer;margin-bottom:12px;}
.ub-logout{background:#fff;color:var(--view-theme);text-align:center;height:46px;line-height:46px;border-radius:var(--radius);font-size:15px;font-weight:600;cursor:pointer;margin-top:14px;}
.m-head .mh-top{display:flex;align-items:center;gap:12px;}
.m-head .mh-logo{width:46px;height:46px;border-radius:12px;background:rgba(255,255,255,.25);display:flex;align-items:center;justify-content:center;font-size:24px;}
.m-head .mh-name{font-size:17px;font-weight:700;}
.m-head .mh-sub{font-size:12px;opacity:.85;margin-top:2px;}
.m-head .mh-status{margin-left:auto;font-size:12px;background:rgba(255,255,255,.25);padding:4px 10px;border-radius:12px;display:flex;align-items:center;gap:5px;}
.m-head .mh-status .dot{width:7px;height:7px;border-radius:50%;background:#7CFC00;}
.m-stats{background:#fff;margin:12px;border-radius:var(--radius);padding:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px 0;}
.m-stats .ms{text-align:center;}
.m-stats .ms b{display:block;font-size:20px;color:var(--view-theme);}
.m-stats .ms span{font-size:12px;color:var(--text-2);}
.m-grid{background:#fff;margin:12px;border-radius:var(--radius);padding:14px 6px;display:grid;grid-template-columns:repeat(4,1fr);gap:16px 0;}
.m-grid .mg{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:var(--text);cursor:pointer;}
.m-grid .mg .icwrap{width:44px;height:44px;border-radius:12px;background:#eef6ff;display:flex;align-items:center;justify-content:center;}
.m-grid .mg .ic{width:23px;height:23px;fill:var(--view-theme);}
.m-pending{background:#fff;margin:12px;border-radius:var(--radius);padding:4px 0;}
.m-pending .mp{display:flex;align-items:center;padding:13px 14px;border-bottom:1px solid var(--line);font-size:14px;cursor:pointer;}
.m-pending .mp:last-child{border-bottom:none;}
.m-pending .mp .ic{width:20px;height:20px;fill:var(--view-theme);margin-right:10px;}
.m-pending .mp .arrow{margin-left:auto;color:var(--text-3);}
.m-pending .mp .ub{margin-left:auto;background:var(--view-minorColor);color:#fff;font-size:11px;padding:1px 7px;border-radius:9px;margin-right:8px;}

/* 店长版 商品/订单列表筛选 */
.filterbar{display:flex;gap:8px;padding:10px 12px;overflow-x:auto;background:var(--bg);position:sticky;top:0;z-index:5;}
.filterbar .f{flex-shrink:0;font-size:12px;color:var(--text-2);background:#fff;border-radius:14px;padding:5px 14px;border:1px solid transparent;}
.filterbar .f.active{color:var(--view-theme);background:#eef6ff;border-color:var(--view-theme);font-weight:600;}
.list-item{background:#fff;margin:0 12px 10px;border-radius:10px;padding:12px;cursor:pointer;}
.list-item .li-top{display:flex;gap:10px;}
.list-item .li-img{width:56px;height:56px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:26px;flex-shrink:0;}
.list-item .li-name{font-size:13px;flex:1;}
.list-item .li-price{color:var(--view-priceColor);font-weight:700;font-size:14px;}
.list-item .li-meta{font-size:11px;color:var(--text-3);margin-top:4px;}
.tag-status{font-size:11px;padding:1px 8px;border-radius:9px;}
.tag-status.up{color:#1aa260;background:#e6f7ee;}
.tag-status.down{color:#999;background:#f2f2f2;}

/* 子页面 */
.sub{position:absolute;top:0;left:0;right:0;bottom:0;background:var(--bg);z-index:50;display:none;flex-direction:column;}
.sub.show{display:flex;}
.sub-head{height:50px;background:#fff;display:flex;align-items:center;padding:0 12px;border-bottom:1px solid var(--line);flex-shrink:0;}
.sub-head .back{width:24px;height:24px;fill:var(--text);cursor:pointer;}
.sub-head .title{font-size:16px;font-weight:600;flex:1;text-align:center;}
.sub-head .act{font-size:13px;color:var(--view-theme);cursor:pointer;}
.sub-body{flex:1;overflow-y:auto;padding-bottom:16px;}

/* 商品详情 */
.detail-img{height:300px;display:flex;align-items:center;justify-content:center;font-size:120px;background:linear-gradient(160deg,#e8f2ff,#cfe6ff);}
.detail-info{padding:14px;background:#fff;}
.detail-info .d-name{font-size:16px;font-weight:600;}
.detail-info .d-price{color:var(--view-priceColor);font-weight:700;font-size:22px;margin-top:8px;}
.detail-info .d-price i{font-style:normal;font-size:13px;font-weight:600;}
.detail-info .d-price .ot{color:var(--text-3);font-size:13px;font-weight:400;text-decoration:line-through;margin-left:8px;}
.detail-info .d-meta{font-size:12px;color:var(--text-3);margin-top:8px;display:flex;gap:16px;}
.detail-btns{position:absolute;left:0;right:0;bottom:0;height:54px;display:flex;}
.detail-btns .db{flex:1;display:flex;align-items:center;justify-content:center;color:#fff;font-size:15px;font-weight:600;cursor:pointer;}
.detail-btns .cart{background:#ffb02e;}
.detail-btns .buy{background:var(--view-theme);}
.detail-btns .merch{flex:1;background:var(--view-theme);}
.detail-btns .merch.alt{background:#8c8c8c;}

/* 聊天 */
.chat-body{flex:1;overflow-y:auto;padding:14px;background:var(--bg);display:flex;flex-direction:column;gap:12px;}
.bubble{max-width:72%;padding:9px 12px;border-radius:12px;font-size:14px;line-height:1.5;word-wrap:break-word;}
.bubble.them{align-self:flex-start;background:#fff;border-top-left-radius:2px;}
.bubble.me{align-self:flex-end;background:var(--view-theme);color:#fff;border-top-right-radius:2px;}
.chat-input{background:#fff;border-top:1px solid var(--line);padding:8px 10px;display:flex;gap:8px;align-items:center;flex-shrink:0;}
.chat-input input{flex:1;height:36px;border:none;background:var(--bg);border-radius:18px;padding:0 14px;font-size:14px;}
.chat-input .send{background:var(--view-theme);color:#fff;height:36px;padding:0 18px;border-radius:18px;font-size:14px;font-weight:600;cursor:pointer;}
.quick-reply{display:flex;gap:8px;padding:8px 10px;overflow-x:auto;background:#fff;border-top:1px solid var(--line);flex-shrink:0;}
.quick-reply .qr{flex-shrink:0;font-size:12px;background:#eef6ff;color:var(--view-theme);border-radius:14px;padding:5px 12px;cursor:pointer;white-space:nowrap;}
.chat-tools{display:flex;gap:8px;padding:8px 12px;background:#fff;border-top:1px solid var(--line);align-items:center;}
.chat-tools .ct{flex:0 0 auto;font-size:12px;color:var(--text-2);border:1px solid var(--line);border-radius:14px;padding:5px 12px;cursor:pointer;display:flex;align-items:center;gap:3px;}
.chat-tools .ct .ic{width:14px;height:14px;fill:var(--text-2);}

/* 表单类子页面 */
.form-card{background:#fff;margin:12px;border-radius:10px;padding:4px 14px;}
.form-row{display:flex;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);}
.form-row:last-child{border-bottom:none;}
.form-row .lab{width:84px;font-size:14px;color:var(--text-2);}
.form-row input,.form-row select{flex:1;border:none;font-size:14px;outline:none;background:transparent;}
.switch{width:46px;height:26px;border-radius:13px;background:#ccc;position:relative;cursor:pointer;transition:.2s;}
.switch.on{background:var(--view-theme);}
.switch::after{content:"";position:absolute;width:22px;height:22px;border-radius:50%;background:#fff;top:2px;left:2px;transition:.2s;}
.switch.on::after{left:22px;}
.save-btn{margin:18px 12px;background:var(--view-theme);color:#fff;text-align:center;height:46px;line-height:46px;border-radius:23px;font-size:15px;font-weight:600;cursor:pointer;}
.btn-row{display:flex;gap:12px;margin:18px 12px;}
.btn-row .bb{flex:1;text-align:center;height:44px;line-height:44px;border-radius:22px;font-size:14px;font-weight:600;cursor:pointer;}
.btn-row .primary{background:var(--view-theme);color:#fff;}
.btn-row .ghost{background:#fff;color:var(--text-2);border:1px solid var(--line);}
.btn-row .danger{background:#fff;color:#e64340;border:1px solid #f3c2c0;}

/* 数据统计柱状图 */
.chart{background:#fff;margin:12px;border-radius:10px;padding:16px;display:flex;align-items:flex-end;gap:10px;height:200px;}
.chart .bar{flex:1;background:linear-gradient(180deg,var(--view-theme),#bfe0ff);border-radius:6px 6px 0 0;position:relative;min-height:6px;}
.chart .bar span{position:absolute;top:-18px;left:0;right:0;text-align:center;font-size:11px;color:var(--text-2);}
.chart .bar em{position:absolute;bottom:-20px;left:0;right:0;text-align:center;font-size:11px;color:var(--text-3);font-style:normal;}

/* toast */
.toast{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(0,0,0,.78);color:#fff;
  padding:10px 18px;border-radius:8px;font-size:14px;z-index:99;display:none;max-width:70%;text-align:center;}

/* 通用工具类 */
.hidden{display:none!important;}
.line2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
