/* =========================================================
   拼拼有礼 · 复刻版样式
   主题：#ff4d2d 橙红 / #ff8a00 橙 / #f7c948 金
   ========================================================= */
:root{
  --main:#ff4d2d;
  --main-2:#ff8a00;
  --gold:#f7c948;
  --gold-2:#ffb300;
  --text:#1f2129;
  --sub:#8b8f9c;
  --line:#eef0f4;
  --bg:#f5f6f8;
  --card:#fff;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tab-h: 56px;
  --nav-h: 46px;
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:#e9ebf0;color:var(--text);font-size:14px;line-height:1.45;
  display:flex;align-items:center;justify-content:center;
}
img{display:block;max-width:100%}
button{font-family:inherit;border:0;background:none;cursor:pointer;color:inherit}
input{font-family:inherit;border:0;outline:0;background:none;color:inherit}
ul,ol{list-style:none}
a{color:inherit;text-decoration:none}

/* ---------- 手机外壳 ---------- */
#phone{
  position:relative;width:390px;height:844px;max-height:100vh;
  background:var(--bg);overflow:hidden;
  box-shadow:0 24px 80px rgba(20,25,40,.28);
  display:flex;flex-direction:column;
}
@media (max-width:520px){
  body{display:block}
  #phone{width:100%;height:100vh;max-height:none;box-shadow:none}
}
#statusbar{
  height:38px;flex:0 0 38px;display:flex;align-items:center;justify-content:space-between;
  padding:0 18px;font-size:12px;font-weight:600;letter-spacing:.4px;
  background:var(--main);color:#fff;position:relative;z-index:5;
}
#statusbar.light{background:transparent;color:#fff}
.sb-right{display:flex;gap:4px;align-items:center}
.dot{width:5px;height:5px;border-radius:50%;background:#fff;display:block}
.bat{width:20px;height:10px;border:1.4px solid #fff;border-radius:3px;position:relative;display:block}
.bat::after{content:"";position:absolute;left:1.4px;top:1.4px;bottom:1.4px;width:12px;background:#fff;border-radius:1px}

#view{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding-bottom:calc(var(--tab-h) + var(--safe-bottom))}
#view.no-tab{padding-bottom:0}

/* ---------- 底部 Tab ---------- */
#tabbar{
  position:absolute;left:0;right:0;bottom:0;height:calc(var(--tab-h) + var(--safe-bottom));
  padding-bottom:var(--safe-bottom);background:#fff;border-top:1px solid var(--line);
  display:flex;z-index:20;
}
#tabbar.hide{display:none}
#tabbar .tab{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  font-size:10px;color:#9aa0ad;position:relative;
}
#tabbar .tab .ico{font-size:19px;line-height:1;filter:grayscale(1);opacity:.55}
#tabbar .tab.on{color:var(--main);font-weight:600}
#tabbar .tab.on .ico{filter:none;opacity:1;transform:translateY(-1px)}
#tabbar .tab.mid{justify-content:flex-end;padding-bottom:4px}
#tabbar .tab.mid .ico{
  width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--main),var(--main-2));color:#fff;font-size:22px;
  margin-top:-26px;box-shadow:0 6px 16px rgba(255,77,45,.45);filter:none;opacity:1;
  border:3px solid #fff;
}
#tabbar .tab .badge{position:absolute;top:6px;right:calc(50% - 18px);background:#ff2d55;color:#fff;font-size:9px;padding:0 4px;border-radius:8px;line-height:14px;height:14px}

/* ---------- 顶栏 ---------- */
.navbar{
  height:var(--nav-h);display:flex;align-items:center;padding:0 12px;position:sticky;top:0;z-index:10;
  background:linear-gradient(135deg,var(--main),var(--main-2));color:#fff;
  font-size:16px;font-weight:600;
}
.navbar.plain{background:#fff;color:var(--text);border-bottom:1px solid var(--line)}
.navbar .back{width:32px;font-size:20px;line-height:1;text-align:left}
.navbar .title{flex:1;text-align:center;padding-right:32px}
.navbar .title.left{text-align:left;padding-right:0;font-size:17px}
.navbar .right{font-size:12px;font-weight:400;opacity:.95}

/* ---------- 通用 ---------- */
.sec-title{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 8px}
.sec-title h3{font-size:16px;display:flex;align-items:center;gap:6px}
.sec-title h3::before{content:"";width:3px;height:14px;border-radius:2px;background:linear-gradient(var(--main),var(--main-2))}
.sec-title .more{font-size:11px;color:var(--sub)}
.card{background:var(--card);border-radius:12px;margin:10px 12px;overflow:hidden}
.price{color:var(--main);font-weight:700}
.price small{font-size:11px;font-weight:600}
.price-origin{color:#b8bcc7;text-decoration:line-through;font-size:11px;margin-left:4px}
.btn{display:flex;align-items:center;justify-content:center;border-radius:22px;font-weight:600;font-size:15px;height:46px}
.btn-main{background:linear-gradient(135deg,var(--main),var(--main-2));color:#fff;box-shadow:0 8px 18px rgba(255,77,45,.32)}
.btn-gold{background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#7a4b00;box-shadow:0 8px 18px rgba(247,201,72,.4)}
.btn-ghost{background:#fff;color:var(--main);border:1px solid #ffd3c9}
.btn-sm{height:30px;padding:0 14px;font-size:12px;border-radius:15px;display:inline-flex}
.btn[disabled],.btn.disabled{opacity:.45;box-shadow:none}
.cell{display:flex;align-items:center;gap:10px;padding:14px;border-bottom:1px solid var(--line);font-size:14px}
.cell:last-child{border-bottom:0}
.cell .ico{width:22px;text-align:center;font-size:16px}
.cell .arrow{margin-left:auto;color:#c3c7d1;font-size:14px}
.cell .val{margin-left:auto;color:var(--sub);font-size:13px}
.pill{display:inline-flex;align-items:center;gap:3px;padding:1px 7px;border-radius:9px;font-size:10px;line-height:16px}
.pill-red{background:#ffece8;color:var(--main)}
.pill-gold{background:#fff6dd;color:#b3810a}
.pill-gray{background:#f1f3f7;color:#8b8f9c}
.empty{text-align:center;color:#b6bac4;font-size:12px;padding:40px 0}

/* ---------- 登录 ---------- */
.login{
  min-height:100%;background:
    radial-gradient(120% 60% at 50% 0%,#ff7043 0%,#ff4d2d 38%,#e8381b 62%,#c92c12 100%);
  color:#fff;padding:0 28px 30px;position:relative;overflow:hidden;
}
.login::before,.login::after{
  content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.09);
}
.login::before{width:320px;height:320px;top:-140px;right:-120px}
.login::after{width:220px;height:220px;bottom:-90px;left:-90px}
.login-top{padding-top:52px;position:relative;z-index:2}
.logo-box{display:flex;align-items:center;gap:10px}
.logo{
  width:56px;height:56px;border-radius:16px;background:#fff;
  display:flex;align-items:center;justify-content:center;font-size:30px;
  box-shadow:0 10px 24px rgba(120,20,0,.35);
}
.logo-text{font-size:24px;font-weight:800;letter-spacing:1px}
.logo-text small{display:block;font-size:10px;font-weight:400;letter-spacing:3px;opacity:.85;margin-top:2px}
.slogan{margin-top:22px;font-size:13px;opacity:.9;letter-spacing:.5px}
.slogan b{font-size:19px;display:block;margin-bottom:6px;letter-spacing:1px}
.login-card{
  position:relative;z-index:2;margin-top:30px;background:#fff;border-radius:18px;padding:20px 18px 18px;
  box-shadow:0 18px 40px rgba(120,20,0,.28);color:var(--text);
}
.login-tabs{display:flex;gap:22px;font-size:15px;color:#9aa0ad;margin-bottom:18px}
.login-tabs span{position:relative;padding-bottom:6px;font-weight:600}
.login-tabs span.on{color:var(--text);font-size:17px}
.login-tabs span.on::after{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:0;width:20px;height:3px;border-radius:2px;background:linear-gradient(90deg,var(--main),var(--main-2))}
.field{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:10px 0}
.field .pre{font-size:14px;color:#5b606e;font-weight:600;padding-right:8px;border-right:1px solid var(--line);margin-right:2px}
.field input{flex:1;font-size:15px;height:26px}
.field input::placeholder{color:#bcc0ca;font-size:14px}
.field .act{font-size:12px;color:var(--main);white-space:nowrap;padding-left:8px}
.field .act.off{color:#bcc0ca}
.captcha-img{
  width:82px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(100deg,#eef3ff,#ffe9e3);font-weight:800;letter-spacing:3px;
  font-size:16px;color:#3c4a6b;font-style:italic;user-select:none;
}
.agree{display:flex;align-items:flex-start;gap:7px;font-size:11px;color:#8b8f9c;margin-top:16px;line-height:1.5}
.agree .box{
  width:15px;height:15px;border-radius:50%;border:1.4px solid #cfd3dc;flex:0 0 15px;margin-top:1px;
  display:flex;align-items:center;justify-content:center;font-size:10px;color:#fff;
}
.agree .box.on{background:var(--main);border-color:var(--main)}
.agree a{color:var(--main)}
.login-btn{margin-top:18px;height:48px;border-radius:24px;font-size:17px;letter-spacing:2px}
.login-foot{text-align:center;color:rgba(255,255,255,.8);font-size:11px;margin-top:26px;position:relative;z-index:2;line-height:2}
.third{display:flex;justify-content:center;gap:26px;margin-top:18px}
.third div{width:40px;height:40px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:0 6px 14px rgba(0,0,0,.12)}

/* ---------- 首页 ---------- */
.home-head{
  background:linear-gradient(160deg,#ff6a3d 0%,var(--main) 45%,#f03a1c 100%);
  padding:6px 14px 46px;color:#fff;position:relative;
}
.home-head .row{display:flex;align-items:center;gap:10px;height:34px}
.home-head .loc{font-size:12px;display:flex;align-items:center;gap:3px;flex:0 0 auto}
.home-head .search{
  flex:1;height:32px;border-radius:16px;background:rgba(255,255,255,.22);
  display:flex;align-items:center;gap:6px;padding:0 12px;font-size:12.5px;color:rgba(255,255,255,.9);
}
.home-head .bell{font-size:18px;position:relative}
.home-head .bell::after{content:"";position:absolute;top:0;right:1px;width:6px;height:6px;background:#ffe066;border-radius:50%}
.home-veil{position:absolute;left:0;right:0;bottom:0;height:18px;background:var(--bg);border-radius:18px 18px 0 0;z-index:1}
.home-head .row{position:relative;z-index:2}
.income-bar{
  position:relative;z-index:2;margin:-38px 12px 0;background:#fff;border-radius:14px;
  padding:14px 12px;display:flex;box-shadow:0 8px 22px rgba(20,25,40,.08);
}
.income-bar .it{flex:1;text-align:center;position:relative}
.income-bar .it+.it::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:1px;background:var(--line)}
.income-bar .n{font-size:18px;font-weight:800;color:var(--main);font-family:-apple-system,"DIN Alternate",sans-serif}
.income-bar .n.gold{color:#c98a00}
.income-bar .l{font-size:10.5px;color:var(--sub);margin-top:3px}

.banner{margin:12px;height:118px;border-radius:14px;overflow:hidden;position:relative;color:#fff;display:flex;align-items:center;padding:0 18px}
.banner .txt h4{font-size:19px;font-weight:800;letter-spacing:.5px}
.banner .txt p{font-size:11.5px;opacity:.9;margin-top:5px}
.banner .go{margin-top:9px;display:inline-flex;padding:3px 12px;border-radius:12px;background:rgba(255,255,255,.92);color:#7a2b00;font-size:11px;font-weight:700}
.banner .b-emoji{position:absolute;right:14px;bottom:-8px;font-size:78px;filter:drop-shadow(0 8px 16px rgba(0,0,0,.2))}
.dots{position:absolute;bottom:8px;left:18px;display:flex;gap:4px}
.dots i{width:12px;height:3px;border-radius:2px;background:rgba(255,255,255,.45)}
.dots i.on{background:#fff;width:16px}

.kingkong{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:#fff;border-radius:14px;margin:0 12px;padding:14px 6px}
.kk{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11px;color:#4c5160}
.kk .k{
  width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  font-size:22px;background:linear-gradient(160deg,#fff1ec,#ffe2d8);
}
.kk:nth-child(2) .k{background:linear-gradient(160deg,#fff7dd,#ffedb8)}
.kk:nth-child(3) .k{background:linear-gradient(160deg,#eaf3ff,#d9e8ff)}
.kk:nth-child(4) .k{background:linear-gradient(160deg,#eefbf1,#d8f5df)}

.notice{
  display:flex;align-items:center;gap:8px;margin:10px 12px 0;background:#fff8e9;border-radius:10px;
  padding:8px 12px;font-size:11.5px;color:#a06a00;
}
.notice .tag{background:#ffb300;color:#fff;font-size:9px;padding:1px 5px;border-radius:4px;flex:0 0 auto}
.notice .txt{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* 商品网格 */
.goods-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:4px 12px 16px}
.goods{background:#fff;border-radius:12px;overflow:hidden;position:relative;display:flex;flex-direction:column}
.goods .pic{
  height:130px;position:relative;display:flex;align-items:center;justify-content:center;font-size:56px;
}
.goods .pic .tag{
  position:absolute;left:6px;top:6px;background:rgba(0,0,0,.42);color:#fff;font-size:9.5px;
  padding:1px 6px;border-radius:8px;backdrop-filter:blur(4px);
}
.goods .pic .live{
  position:absolute;right:6px;top:6px;display:flex;align-items:center;gap:3px;
  background:rgba(255,255,255,.86);color:var(--main);font-size:9.5px;padding:1px 6px;border-radius:8px;font-weight:700;
}
.goods .pic .live i{width:4px;height:4px;border-radius:50%;background:var(--main);display:block;animation:blink 1.2s infinite}
@keyframes blink{50%{opacity:.25}}
.goods .info{padding:8px 8px 10px;display:flex;flex-direction:column;gap:5px}
.goods .name{font-size:12.5px;line-height:1.35;height:34px;overflow:hidden;color:#2b2f3a;font-weight:500}
.goods .row1{display:flex;align-items:baseline;gap:3px}
.goods .row1 .pp{color:var(--main);font-weight:800;font-size:16px}
.goods .row1 .unit{font-size:10px;color:var(--main);font-weight:700}
.goods .row1 .orig{font-size:10px;color:#b8bcc7;text-decoration:line-through;margin-left:auto}
.bar{height:5px;background:#f0f2f6;border-radius:3px;overflow:hidden;position:relative}
.bar>i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#ff8a00,var(--main));transition:width .5s}
.bar-txt{display:flex;justify-content:space-between;font-size:9.5px;color:#9aa0ad;margin-top:2px}
.bar-txt b{color:var(--main)}
.goods .join{
  margin-top:2px;height:30px;border-radius:15px;background:linear-gradient(135deg,var(--main),var(--main-2));
  color:#fff;font-size:12.5px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:3px;
  box-shadow:0 5px 12px rgba(255,77,45,.3);
}
.countdown{font-size:10px;color:#ff7a00;display:flex;align-items:center;gap:3px}
.countdown b{background:#fff3e6;border-radius:3px;padding:0 3px;font-family:"DIN Alternate",sans-serif}

/* ---------- 商品详情 ---------- */
.detail-pic{height:250px;position:relative;display:flex;align-items:center;justify-content:center;font-size:100px}
.detail-body{background:#fff;border-radius:14px 14px 0 0;margin-top:-14px;position:relative;padding:16px 14px 0}
.detail-body .pt{display:flex;align-items:flex-end;gap:6px}
.detail-body .pt .big{font-size:30px;font-weight:800;color:var(--main);line-height:1}
.detail-body .pt .big small{font-size:14px}
.detail-body .pt .orig{font-size:12px;color:#b8bcc7;text-decoration:line-through;margin-bottom:3px}
.detail-body h2{font-size:16px;margin-top:8px;line-height:1.4;font-weight:600}
.tags-line{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.rule-box{margin:12px 0;background:#fff8f5;border:1px dashed #ffd2c4;border-radius:10px;padding:12px}
.rule-box h4{font-size:12.5px;color:var(--main);margin-bottom:8px;display:flex;align-items:center;gap:5px}
.rule-box li{font-size:11.5px;color:#6b7180;line-height:1.85;padding-left:12px;position:relative}
.rule-box li::before{content:"";position:absolute;left:0;top:8px;width:4px;height:4px;border-radius:50%;background:#ffb199}
.stat-row{display:flex;background:#fff;margin:10px 12px;border-radius:12px;padding:12px 0}
.stat-row .s{flex:1;text-align:center;position:relative}
.stat-row .s+.s::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:1px;background:var(--line)}
.stat-row .s .n{font-size:15px;font-weight:800;color:#2b2f3a}
.stat-row .s .l{font-size:10px;color:var(--sub);margin-top:3px}
.joiners{display:flex;align-items:center;gap:-6px;margin-top:6px}
.joiners span{width:22px;height:22px;border-radius:50%;background:#ffe9e3;border:1.5px solid #fff;display:flex;align-items:center;justify-content:center;font-size:11px;margin-left:-6px}
.foot-btn{
  position:absolute;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);
  padding:10px 14px calc(10px + var(--safe-bottom));display:flex;align-items:center;gap:12px;z-index:15;
}
.foot-btn .f1{text-align:center;font-size:10px;color:var(--sub);line-height:1.4}
.foot-btn .f1 .i{font-size:18px}
.foot-btn .btn{flex:1}

/* ---------- 拼团开奖 ---------- */
.lottery{
  min-height:100%;background:radial-gradient(120% 70% at 50% 0%,#ff7a45,#ff4d2d 50%,#d62a0c 100%);
  color:#fff;display:flex;flex-direction:column;align-items:center;padding:26px 20px 30px;position:relative;overflow:hidden;
}
.lottery .ring{
  width:186px;height:186px;border-radius:50%;position:relative;margin-top:26px;
  background:conic-gradient(from 0deg,#fff0 0deg,#fff0 300deg,#ffe066 340deg,#fff 360deg);
  display:flex;align-items:center;justify-content:center;
  animation:spin 1.1s linear infinite;
}
.lottery .ring.stop{animation:none}
@keyframes spin{to{transform:rotate(360deg)}}
.lottery .ring::before{
  content:"";position:absolute;inset:9px;border-radius:50%;
  background:radial-gradient(circle at 50% 35%,#ff8f5e,#e63313 70%);
  box-shadow:inset 0 0 30px rgba(0,0,0,.25);
}
.lottery .ring .core{
  position:relative;z-index:2;text-align:center;
}
.lottery .ring .core .e{font-size:44px;filter:drop-shadow(0 6px 10px rgba(0,0,0,.25))}
.lottery .ring .core .t{font-size:13px;margin-top:6px;letter-spacing:2px;opacity:.95}
.lottery h2{margin-top:24px;font-size:20px;font-weight:800;letter-spacing:1px}
.lottery p.sub{font-size:12px;opacity:.85;margin-top:8px;text-align:center;line-height:1.7}
.lottery .pool{
  margin-top:20px;width:100%;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24);
  border-radius:14px;padding:14px;backdrop-filter:blur(6px);
}
.lottery .pool .r{display:flex;justify-content:space-between;font-size:12.5px;padding:5px 0;opacity:.95}
.lottery .pool .r b{font-weight:700}
.lottery .pool .r.total b{color:#ffe066;font-size:17px}
.res-tag{
  display:inline-flex;align-items:center;gap:6px;padding:4px 14px;border-radius:14px;font-size:12px;
  background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);margin-top:10px;
}

/* ---------- 钱包 ---------- */
.wallet-head{
  background:linear-gradient(150deg,#ff6a3d,var(--main) 60%,#e5340f);color:#fff;
  padding:16px 16px 66px;position:relative;
}
.wallet-head .lbl{font-size:11.5px;opacity:.85}
.wallet-head .amt{font-size:36px;font-weight:800;letter-spacing:.5px;margin-top:4px;font-family:-apple-system,"DIN Alternate",sans-serif}
.wallet-head .amt small{font-size:16px;font-weight:600;margin-right:2px}
.wallet-head .sub{display:flex;gap:22px;margin-top:10px;font-size:11.5px;opacity:.92}
.wallet-actions{
  margin:-50px 12px 0;background:#fff;border-radius:14px;display:flex;padding:14px 0;
  box-shadow:0 10px 24px rgba(20,25,40,.08);position:relative;z-index:2;
}
.wallet-actions .a{flex:1;text-align:center;font-size:11.5px;color:#4c5160;display:flex;flex-direction:column;gap:5px;align-items:center}
.wallet-actions .a .e{font-size:22px}
.asset-row{display:flex;gap:10px;margin:10px 12px}
.asset{flex:1;background:#fff;border-radius:12px;padding:12px;display:flex;align-items:center;gap:10px}
.asset .e{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;background:#fff4e8}
.asset .n{font-size:16px;font-weight:800}
.asset .l{font-size:10.5px;color:var(--sub)}
.rec{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line)}
.rec:last-child{border:0}
.rec .ic{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;background:#f6f7fa;flex:0 0 32px}
.rec .mid{flex:1;min-width:0}
.rec .tt{font-size:13px;font-weight:500;display:flex;align-items:center;gap:5px}
.rec .dd{font-size:10.5px;color:#a8adb8;margin-top:2px}
.rec .num{font-size:14px;font-weight:700;white-space:nowrap}
.rec .num.in{color:#ff5a00}
.rec .num.out{color:#3d4350}
.rec .num.pending{color:#c98a00;font-size:12px}

/* 充值 */
.recharge-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}
.pack{
  border:1.5px solid var(--line);border-radius:12px;padding:14px 10px;text-align:center;position:relative;background:#fff;
}
.pack.on{border-color:var(--main);background:#fff7f4}
.pack .amt{font-size:22px;font-weight:800;color:#2b2f3a}
.pack .amt small{font-size:12px;font-weight:600}
.pack .give{font-size:10.5px;color:#b3810a;margin-top:4px}
.pack .flag{position:absolute;right:-1px;top:-1px;background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#7a4b00;font-size:9px;padding:1px 6px;border-radius:0 11px 0 10px;font-weight:700}
.pay-way{display:flex;align-items:center;gap:10px;padding:14px;border-bottom:1px solid var(--line);font-size:13.5px}
.pay-way .wi{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px;background:#f6f7fa}
.pay-way .ck{width:18px;height:18px;border-radius:50%;border:1.5px solid #d3d7df;margin-left:auto;display:flex;align-items:center;justify-content:center;font-size:11px;color:#fff}
.pay-way .ck.on{background:var(--main);border-color:var(--main)}

/* 提现 */
.withdraw-box{margin:12px;background:#fff;border-radius:14px;padding:16px}
.withdraw-box .line{display:flex;align-items:center;border-bottom:1px solid var(--line);padding-bottom:10px}
.withdraw-box .line .cur{font-size:26px;font-weight:800;margin-right:6px}
.withdraw-box .line input{flex:1;font-size:26px;font-weight:700}
.withdraw-box .line input::placeholder{color:#dfe2e8;font-weight:500}
.withdraw-box .tips{font-size:11px;color:#a8adb8;margin-top:10px;display:flex;justify-content:space-between}
.withdraw-box .tips b{color:var(--main)}

/* ---------- 邀请 ---------- */
.invite-hero{
  background:linear-gradient(150deg,#ff7a3d,#ff4d2d 55%,#e5340f);color:#fff;padding:18px 16px 60px;position:relative;overflow:hidden;
}
.invite-hero::after{content:"";position:absolute;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.08);right:-70px;top:-70px}
.invite-hero .big{font-size:21px;font-weight:800;letter-spacing:.5px;line-height:1.4}
.invite-hero .big span{color:#ffe066}
.invite-hero p{font-size:11.5px;opacity:.88;margin-top:8px}
.code-card{
  margin:-44px 12px 0;background:#fff;border-radius:14px;padding:16px;display:flex;align-items:center;gap:14px;
  box-shadow:0 10px 24px rgba(20,25,40,.1);position:relative;z-index:2;
}
.code-card .qr{width:74px;height:74px;border-radius:8px;border:1px solid var(--line);padding:3px;background:#fff}
.code-card .qr canvas{width:100%;height:100%;display:block;image-rendering:pixelated}
.code-card .mid{flex:1}
.code-card .mid .t{font-size:11px;color:var(--sub)}
.code-card .mid .c{font-size:22px;font-weight:800;letter-spacing:2px;color:var(--text);margin:3px 0 6px;font-family:"DIN Alternate",monospace}
.level-table{margin:10px 12px;background:#fff;border-radius:12px;overflow:hidden}
.level-table .hd,.level-table .tr{display:flex;font-size:12px;padding:10px 12px;align-items:center}
.level-table .hd{background:#fff8f5;color:#a05a3c;font-size:11px;font-weight:600}
.level-table .tr{border-top:1px solid var(--line);color:#4c5160}
.level-table .c1{flex:1}
.level-table .c2,.level-table .c3{width:78px;text-align:right}
.level-table .tr .c3{color:var(--main);font-weight:700}
.team-stat{display:flex;margin:10px 12px;background:#fff;border-radius:12px;padding:14px 0}
.team-stat .s{flex:1;text-align:center}
.team-stat .s .n{font-size:19px;font-weight:800;color:var(--main)}
.team-stat .s .n.dark{color:#2b2f3a}
.team-stat .s .l{font-size:10.5px;color:var(--sub);margin-top:2px}

/* 团队列表 */
.member{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line)}
.member .av{width:36px;height:36px;border-radius:50%;background:#fff2ec;display:flex;align-items:center;justify-content:center;font-size:18px;flex:0 0 36px}
.member .mid{flex:1;min-width:0}
.member .nm{font-size:13.5px;font-weight:500}
.member .meta{font-size:10.5px;color:#a8adb8;margin-top:2px}
.member .rg{text-align:right}
.member .rg .p{font-size:13.5px;font-weight:700;color:var(--main)}
.member .rg .l{font-size:10px;color:#a8adb8}

/* ---------- 我的 ---------- */
.me-head{
  background:linear-gradient(155deg,#ff7a3d,var(--main) 60%,#e5340f);color:#fff;
  padding:18px 16px 58px;position:relative;
}
.me-user{display:flex;align-items:center;gap:12px}
.me-user .av{
  width:56px;height:56px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;
  font-size:30px;box-shadow:0 6px 16px rgba(120,20,0,.28);
}
.me-user .nm{font-size:17px;font-weight:700;display:flex;align-items:center;gap:6px}
.me-user .ph{font-size:11.5px;opacity:.82;margin-top:3px}
.me-user .set{margin-left:auto;font-size:19px;opacity:.9}
.lv-bar{
  margin:-42px 12px 0;background:#fff;border-radius:14px;padding:14px;position:relative;z-index:2;
  box-shadow:0 10px 24px rgba(20,25,40,.1);
}
.lv-bar .top{display:flex;align-items:center;justify-content:space-between;font-size:12px}
.lv-bar .top b{font-size:13px;color:#a06a00}
.lv-bar .pg{height:6px;background:#f0f2f6;border-radius:3px;margin-top:9px;overflow:hidden}
.lv-bar .pg i{display:block;height:100%;background:linear-gradient(90deg,var(--gold-2),var(--gold));border-radius:3px}
.lv-bar .hint{font-size:10.5px;color:#a8adb8;margin-top:7px;display:flex;justify-content:space-between}
.me-stats{display:flex;margin:10px 12px;background:#fff;border-radius:12px;padding:14px 0}
.me-stats .s{flex:1;text-align:center}
.me-stats .s .n{font-size:16px;font-weight:800}
.me-stats .s .l{font-size:10px;color:var(--sub);margin-top:2px}

/* ---------- 弹层 ---------- */
.mask{position:absolute;inset:0;background:rgba(15,18,26,.55);z-index:40;opacity:0;pointer-events:none;transition:.22s;display:flex;align-items:center;justify-content:center;padding:0 30px}
.mask.on{opacity:1;pointer-events:auto}
.sheet{
  position:absolute;left:0;right:0;bottom:0;background:#fff;border-radius:18px 18px 0 0;z-index:50;
  transform:translateY(102%);transition:transform .28s cubic-bezier(.22,.61,.36,1);
  padding:0 0 calc(12px + var(--safe-bottom));max-height:78%;overflow-y:auto;
}
.sheet.on{transform:translateY(0)}
.sheet .sh-head{display:flex;align-items:center;padding:16px 16px 10px;font-size:16px;font-weight:700}
.sheet .sh-head .x{margin-left:auto;color:#b8bcc7;font-size:20px;font-weight:400}

.dialog{
  width:100%;max-width:320px;background:#fff;border-radius:18px;overflow:hidden;text-align:center;
  transform:scale(.86);transition:.24s cubic-bezier(.2,.8,.3,1.2);padding-bottom:16px;
}
.mask.on .dialog{transform:scale(1)}
.dialog .top{padding:22px 18px 12px}
.dialog .ico{font-size:52px;line-height:1;margin-bottom:12px;display:block}
.dialog h3{font-size:19px;font-weight:800}
.dialog .desc{font-size:12.5px;color:#7b8090;margin-top:8px;line-height:1.7}
.dialog .desc b{color:var(--main);font-size:15px}
.dialog .btns{display:flex;gap:10px;padding:6px 18px 0}
.dialog .btns .btn{flex:1;height:42px;font-size:14px}

.toast{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.9);z-index:99;
  background:rgba(20,23,32,.86);color:#fff;font-size:13px;padding:10px 20px;border-radius:10px;
  opacity:0;pointer-events:none;transition:.2s;max-width:80%;text-align:center;line-height:1.5;
}
.toast.on{opacity:1;transform:translate(-50%,-50%) scale(1)}

/* 动画 */
.fade-in{animation:fade .28s ease both}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.pop{animation:pop .32s cubic-bezier(.2,.8,.3,1.3) both}
@keyframes pop{from{transform:scale(.7);opacity:0}to{transform:scale(1);opacity:1}}
.marquee{display:inline-block;animation:mv 14s linear infinite;padding-left:100%}
@keyframes mv{to{transform:translateX(-100%)}}

/* =========================================================
   SVG 图标 / 插画尺寸适配（环境无 emoji 字体，全部走内联 SVG）
   ========================================================= */
svg.i{width:1em;height:1em;display:inline-block;vertical-align:-.14em;flex:0 0 auto}

/* 状态栏透明时透出主题渐变 */
#phone.theme-light{background:linear-gradient(162deg,#ff7a45 0%,#ff4d2d 40%,#e5340f 72%,#c62b12 100%)}

/* 登录页 */
.login .logo svg{width:30px;height:30px;stroke-width:1.5;color:#ff4d2d}
.login .third div svg{width:21px;height:21px;stroke-width:1.7;color:#4c5160}
.agree .box svg{width:10px;height:10px;stroke-width:3.2}

/* 首页 */
.home-head .loc svg{width:12px;height:12px;vertical-align:-2px}
.home-head .search svg{width:15px;height:15px;stroke-width:1.8;vertical-align:-3px}
.home-head .bell svg{width:21px;height:21px;stroke-width:1.7}
.kk .k svg{width:24px;height:24px;stroke-width:1.6;color:#ff5a35}
.kk:nth-child(2) .k svg{color:#d99a1f}
.kk:nth-child(3) .k svg{color:#3d7fe0}
.kk:nth-child(4) .k svg{color:#2fa96b}
.banner .b-emoji svg{width:96px;height:96px;stroke-width:1.1;color:rgba(255,255,255,.92);opacity:.9}

/* 商品插画 */
.goods .pic svg{width:66px;height:66px}
.detail-pic svg{width:150px;height:150px}
.rec .ic svg[viewBox="0 0 48 48"]{width:28px;height:28px}

/* 详情 / 列表 */
.rule-box h4{display:flex;align-items:center;gap:5px}
.rule-box h4 svg{width:13px;height:13px;stroke-width:2}
.cell .ico svg{width:18px;height:18px;color:#6b7180}
.foot-btn .f1 .i svg{width:20px;height:20px;color:#8b8f9c}
.pill svg{width:10px;height:10px}

/* 钱包 */
.wallet-actions .a .e svg{width:24px;height:24px;color:#ff5a35;stroke-width:1.6}
.asset .e svg{width:20px;height:20px;color:#c98a00}
.rec .ic svg{width:16px;height:16px;color:#5b606e}
.rec .ic svg[viewBox="0 0 48 48"]{color:inherit}

/* 充值 / 提现 */
.pay-way .wi svg{width:17px;height:17px;color:#4c5160}
.pay-way .ck svg{width:11px;height:11px;stroke-width:3.4}

/* 团队 / 我的 */
.member .av{color:#fff;font-weight:600;font-size:15px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.me-user .av{color:#fff;font-weight:700;font-size:22px}
.me-user .set svg{width:20px;height:20px;color:#fff;opacity:.92}

/* 弹层 */
.dialog .ico svg{width:46px;height:46px;stroke-width:1.4;color:var(--main)}
.sh-head .x svg{width:16px;height:16px;color:#b8bcc7}
.lottery .ring .core .e svg{width:54px;height:54px}
.login .btn svg,.dialog .btn svg{width:16px;height:16px}

/* button 元素默认按内容收缩，主按钮强制撑满 */
.btn{width:100%}
.btn-sm{width:auto}
.foot-btn .btn{width:auto;flex:1}
.dialog .btns .btn{width:auto;flex:1}

/* 遮罩不要盖住状态栏；转盘停止后清掉渐变尾巴 */
#statusbar{z-index:60}
.mask{z-index:40}
.lottery .ring.stop{background:radial-gradient(circle at 50% 35%,#ff8f5e,#e63313 70%)}

/* 遮罩从状态栏下方开始，避免把状态栏压暗 */
#mask.mask{top:38px}

/* =========================================================
   一键开团（主玩法）
   ========================================================= */
.page-back{
  position:absolute;left:12px;top:46px;width:32px;height:32px;border-radius:50%;
  background:rgba(0,0,0,.16);color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:20px;line-height:1;z-index:30;backdrop-filter:blur(4px);
}

/* 首页 CTA */
.open-cta{
  margin:10px 12px 0;background:#fff;border-radius:14px;padding:14px;display:flex;align-items:center;gap:12px;
  box-shadow:0 8px 20px rgba(20,25,40,.08);
}
.oc-left{flex:1}
.oc-t{font-size:16px;font-weight:800}
.oc-p{display:flex;align-items:center;gap:5px;margin-top:5px;font-size:13px;font-weight:700;color:var(--main)}
.oc-p i{font-style:normal;color:#c8ccd6;font-weight:400;font-size:11px}
.oc-s{font-size:10.5px;color:#9aa0ad;margin-top:5px}
.oc-btn{
  padding:0 18px;height:40px;border-radius:20px;display:flex;align-items:center;
  background:linear-gradient(135deg,var(--main),var(--main-2));color:#fff;font-weight:700;font-size:14px;
  box-shadow:0 6px 14px rgba(255,77,45,.32);flex:0 0 auto;
}

/* 开团页顶部 */
.open-head{
  background:linear-gradient(160deg,#ff6a3d 0%,var(--main) 48%,#e5340f 100%);
  color:#fff;padding-bottom:16px;border-radius:0 0 20px 20px;
}
.open-head .navbar{background:transparent;height:42px}
.oh-stats{display:flex;padding:2px 6px 8px}
.oh-s{flex:1;text-align:center}
.oh-s .n{font-size:22px;font-weight:800;font-family:-apple-system,"DIN Alternate",sans-serif}
.oh-s .n span{font-size:12px;font-weight:600;opacity:.8}
.oh-s .n.gold{color:#ffe066}
.oh-s .l{font-size:10.5px;opacity:.85;margin-top:2px}
.oh-tip{font-size:11px;text-align:center;opacity:.9;padding:0 14px}

/* 三档卡 */
.tier-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 12px 0}
.tier{background:#fff;border-radius:12px;padding:8px 6px 10px;text-align:center;position:relative;overflow:hidden}
.tier.run::after{
  content:"";position:absolute;inset:0;border:2px solid var(--main);border-radius:12px;
  animation:pulse 1.4s infinite;
}
@keyframes pulse{0%,100%{opacity:.25}50%{opacity:.9}}
.t-art{
  height:64px;border-radius:9px;display:flex;align-items:center;justify-content:center;margin-bottom:6px;
}
.t-art svg{width:44px;height:44px}
.t-price{font-size:17px;font-weight:800;color:var(--main);line-height:1}
.t-name{font-size:10px;color:#8b8f9c;margin-top:4px;height:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.t-fail{font-size:9.5px;color:#c98a00;margin-top:3px}

/* 倒计时 */
.cd-box{
  margin:12px 14px 10px;background:#fff;border-radius:14px;padding:14px;text-align:center;
  box-shadow:0 6px 16px rgba(20,25,40,.06);
}
.cd-box.on{background:linear-gradient(160deg,#fff6f3,#fff)}
.cd-num{
  font-size:38px;font-weight:800;letter-spacing:2px;color:var(--main);
  font-family:-apple-system,"DIN Alternate",sans-serif;line-height:1;
}
.cd-tip{font-size:11px;color:#9aa0ad;margin-top:6px}
.cd-bar-wrap{height:5px;background:#f0f2f6;border-radius:3px;margin-top:10px;overflow:hidden}
.cd-bar{height:100%;border-radius:3px;background:linear-gradient(90deg,#ff8a00,var(--main));transition:width .5s linear}

.fast-row{
  display:flex;align-items:center;justify-content:space-between;
  font-size:11.5px;color:#8b8f9c;padding:12px 4px 0;
}
.open-meta{
  display:flex;justify-content:space-between;font-size:10.5px;color:#a8adb8;padding:8px 4px 0;
}

/* 集卡进度 */
.collect-card{margin:12px;background:#fff;border-radius:14px;padding:14px}
.cc-head{display:flex;align-items:center;justify-content:space-between;font-size:13px}
.cc-head span{font-size:10.5px;color:#9aa0ad;font-weight:400}
.cc-slots{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-top:10px}
.cc-slot{
  aspect-ratio:1/1;border-radius:8px;background:#f5f6f8;display:flex;align-items:center;justify-content:center;
  position:relative;
}
.cc-slot.on{background:linear-gradient(160deg,#fff3ee,#ffe3d8)}
.cc-slot svg{width:24px;height:24px}
.cc-slot i{font-size:11px;color:#c8ccd6;font-style:normal}
.cc-slots.big .cc-slot svg{width:30px;height:30px}
.cc-slots.big{padding:0 12px}
.cc-tip{font-size:10.5px;color:#a8adb8;margin-top:10px;text-align:center}

/* 结算记录 */
.round-row{display:flex;align-items:center;padding:12px 14px;border-bottom:1px solid var(--line);font-size:12.5px}
.round-row:last-child{border-bottom:0}
.rr-l{flex:0 0 88px;display:flex;flex-direction:column}
.rr-l b{font-weight:600}
.rr-l span{font-size:10px;color:#b6bac4;margin-top:1px}
.rr-m{flex:1;color:#6b7180}
.rr-r{font-weight:700;color:#9aa0ad}
.rr-r.win{color:var(--main)}

/* 回收弹窗 */
.recycle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 16px}
.rc-item{
  border:1.5px solid var(--line);border-radius:10px;padding:6px;text-align:center;position:relative;
}
.rc-item.ship{border-color:var(--main);background:#fff7f4}
.rc-art{height:46px;border-radius:7px;display:flex;align-items:center;justify-content:center}
.rc-art svg{width:32px;height:32px}
.rc-price{font-size:12px;font-weight:700;margin-top:4px}
.rc-tag{font-size:9.5px;margin-top:2px;color:#8b8f9c}
.rc-item.ship .rc-tag{color:var(--main);font-weight:700}

/* 集卡页汇总 */
.collect-summary{display:flex;margin:12px;background:#fff;border-radius:12px;padding:14px 0}
.collect-summary .cs{flex:1;text-align:center}
.collect-summary .cs .n{font-size:18px;font-weight:800;color:var(--main)}
.collect-summary .cs .l{font-size:10.5px;color:var(--sub);margin-top:2px}

/* 回收卡片文字单行显示 */
.rc-tag{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px}
.rc-price{margin-top:3px;font-size:11.5px}
.rc-item{padding:5px 4px 6px}

/* 首页三档奖池 */
.tier-row-home{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 12px}
.tier-home{background:#fff;border-radius:12px;padding:8px 6px 10px;text-align:center}
.th-art{height:66px;border-radius:9px;display:flex;align-items:center;justify-content:center;margin-bottom:6px}
.th-art svg{width:44px;height:44px}
.th-price{font-size:17px;font-weight:800;color:var(--main);line-height:1}
.th-name{font-size:10px;color:#8b8f9c;margin-top:4px;height:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.th-recycle{font-size:9.5px;color:#c98a00;margin-top:3px}

/* 玩法说明 */
.rule-card{margin:0 12px;background:#fff;border-radius:12px;padding:6px 14px}
.rc-line{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px;color:#5b606e;line-height:1.5}
.rc-line:last-child{border-bottom:0}
.rc-line b{
  flex:0 0 18px;height:18px;border-radius:50%;background:linear-gradient(135deg,var(--main),var(--main-2));
  color:#fff;font-size:10.5px;display:flex;align-items:center;justify-content:center;margin-top:1px;
}

/* =========================================================
   三档集卡进度 / 一键售卖 / 收货地址
   ========================================================= */
.pool-card{margin:0 12px;background:#fff;border-radius:12px;padding:4px 14px 10px}
.pool-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}
.pool-row:last-of-type{border-bottom:0}
.pr-l{flex:0 0 50px}
.pr-l b{font-size:13px;color:var(--main);font-weight:800}
.pr-l span{display:block;font-size:9px;color:#a8adb8;margin-top:1px}
.pr-dots{flex:1;display:grid;grid-template-columns:repeat(6,1fr);gap:4px}
.pr-dots i{aspect-ratio:1/1;border-radius:5px;background:#f5f6f8;display:flex;align-items:center;justify-content:center}
.pr-dots i.on{background:linear-gradient(160deg,#fff2ec,#ffe0d3)}
.pr-dots svg{width:15px;height:15px}
.pr-r{flex:0 0 auto;text-align:right;min-width:52px}
.pr-num{font-size:12px;font-weight:700;color:#2b2f3a}
.pr-tip{display:block;font-size:9px;color:#a8adb8;margin-top:1px}
.pr-sell{
  display:inline-block;padding:4px 10px;border-radius:11px;
  background:linear-gradient(135deg,var(--main),var(--main-2));color:#fff;font-size:10.5px;font-weight:700;
  box-shadow:0 4px 10px rgba(255,77,45,.3);white-space:nowrap;
}
.pool-foot{text-align:center;font-size:10px;color:#a8adb8;padding-top:8px;border-top:1px solid var(--line);margin-top:4px}

/* 集卡明细页 */
.pool-block{margin:12px;background:#fff;border-radius:14px;padding:12px 14px}
.pb-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.pb-t b{font-size:14px;color:var(--main)}
.pb-t span{font-size:10px;color:#a8adb8;margin-left:6px}
.pb-s{font-size:10.5px;color:#8b8f9c;text-align:right}
.pb-slots{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-top:10px}
.pb-slot{
  aspect-ratio:1/1;border-radius:8px;background:#f7f8fa;border:1px dashed #e2e5ec;
  display:flex;align-items:center;justify-content:center;
}
.pb-slot.on{background:linear-gradient(160deg,#fff3ee,#ffe3d8);border:1px solid #ffd3c4}
.pb-slot svg{width:26px;height:26px}
.pb-slot i{font-size:10.5px;color:#c8ccd6;font-style:normal}
.pb-foot{display:flex;justify-content:space-between;font-size:10px;color:#a8adb8;margin-top:8px}

/* 售卖弹窗 */
.sell-sum{
  display:flex;justify-content:space-between;align-items:center;
  margin:10px 16px 0;padding:10px 12px;background:#fff8f5;border-radius:10px;
}
.ss-l{font-size:12px;color:#6b7180}
.ss-r{font-size:17px;font-weight:800;color:var(--main)}

/* 地址行 / 地址项 */
.addr-line{display:flex;align-items:center;gap:8px;margin:10px 16px 0;padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.al-ic svg{width:16px;height:16px;color:var(--main)}
.al-mid{flex:1;min-width:0}
.al-t{font-size:12px;font-weight:600}
.al-d{font-size:10.5px;color:#a8adb8;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.al-x{font-size:11px;color:var(--main);flex:0 0 auto}
.addr-item{display:flex;align-items:center;gap:10px;padding:14px;border-bottom:1px solid var(--line)}
.addr-item:last-child{border-bottom:0}
.addr-item.on{background:#fff8f5}
.ai-mid{flex:1;min-width:0}
.ai-t{font-size:13px;font-weight:600;display:flex;align-items:center;gap:6px}
.ai-t span{font-size:11px;color:#8b8f9c;font-weight:400}
.ai-t .pill{font-style:normal}
.ai-d{font-size:11px;color:#8b8f9c;margin-top:3px}
.ai-ck svg{width:16px;height:16px;color:var(--main)}

/* 售卖格子：3 列等宽不溢出 + 固定行高 */
.recycle-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px}
.rc-item{
  min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;
  padding:6px 4px 7px !important;
}
.rc-art{width:100%;height:44px;flex:0 0 44px;border-radius:7px}
.rc-art svg{width:32px;height:32px}
.rc-price{font-size:11.5px;font-weight:700;line-height:1.1;margin:0 !important}
.rc-tag{font-size:9px;line-height:1.2;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* 进度行左标签定宽，避免商品名换行导致格子错位 */
.pr-l{flex:0 0 58px;min-width:0}
.pr-l span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:58px}
.pr-dots svg{width:17px;height:17px}

/* 8 天排程表 */
.sched-card{margin:12px;background:#fff;border-radius:14px;padding:12px 14px}
.sc-head{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:8px}
.sc-head b{font-weight:700}
.sc-head span{font-size:10.5px;color:#8b8f9c}
.sc-grid{display:flex;flex-direction:column;gap:4px}
.sc-line{display:grid;grid-template-columns:30px repeat(8,1fr);gap:4px;align-items:center}
.sc-line i{font-style:normal;text-align:center;font-size:9.5px;line-height:20px;border-radius:5px;color:#b8bcc7}
.sc-lb{color:#9aa0ad;font-size:8.5px}
.sc-cell{background:#f5f6f8}
.sc-cell.on{background:linear-gradient(160deg,#fff0e9,#ffd9c9);color:#ff4d2d;font-weight:700}
.sc-cell.off{background:#f1f3f7;color:#c8ccd6}
.sc-line i.today{box-shadow:0 0 0 1.5px #ff4d2d inset;color:#ff4d2d;font-weight:700}
.sc-tip{font-size:10px;color:#a8adb8;margin-top:9px;line-height:1.6}

/* 连击 / 红包 / 断签警告 */
.streak-bar{
  display:flex;gap:8px;margin:10px 14px 0;padding:9px 10px;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);border-radius:10px;
}
.sb-it{flex:1;text-align:center;display:flex;flex-direction:column;gap:2px}
.sb-it b{font-size:15px;font-weight:800;line-height:1.1}
.sb-it span{font-size:9.5px;opacity:.85}
.warn-bar{
  display:flex;align-items:center;gap:6px;margin:8px 14px 0;padding:8px 10px;
  background:rgba(255,255,255,.17);border-radius:8px;font-size:10.5px;line-height:1.4;
}
.warn-bar svg{width:13px;height:13px;flex:0 0 13px}
.sc-line i.t7{color:#c9973b;font-weight:700}
.sc-line i.t7{background:linear-gradient(160deg,#fff6dd,#ffe7ad);color:#b3810a;font-weight:700}
.tool-pills{display:flex;gap:5px}
.tool-pills .pill{padding:2px 8px;font-size:10px}
.pool-row.full .pr-dots i.on{box-shadow:0 0 0 1.5px #ffb199 inset}
.pool-row.full .pr-l b{color:#ff2d00}
.lock-bar{
  display:flex;align-items:center;gap:6px;margin:10px 14px 8px;padding:9px 12px;
  background:#fff2ee;border:1px solid #ffd3c4;border-radius:10px;color:#e8381b;font-size:11.5px;line-height:1.4;
}
.lock-bar svg{width:14px;height:14px;flex:0 0 14px}

/* =========================================================
   幸运盲盒
   ========================================================= */
.box-hero{
  background:linear-gradient(165deg,#ff7a45,#ff4d2d 45%,#d62a0c);
  color:#fff;padding:16px 16px 22px;border-radius:0 0 22px 22px;text-align:center;
}
.bh-title{font-size:16px;font-weight:800;letter-spacing:.5px}
.bh-sub{font-size:11px;opacity:.88;margin-top:5px}
.box-stage{height:150px;display:flex;align-items:center;justify-content:center;position:relative;margin:6px 0 2px}
.gift-box{width:104px;height:104px;position:relative;transform-style:preserve-3d}
.gb-body{
  position:absolute;left:8px;right:8px;bottom:0;height:76px;border-radius:10px;
  background:linear-gradient(160deg,#ff8a4a,#e8380f);box-shadow:0 12px 26px rgba(120,20,0,.4),inset 0 -6px 12px rgba(0,0,0,.18);
}
.gb-lid{
  position:absolute;left:0;right:0;top:12px;height:30px;border-radius:8px;
  background:linear-gradient(160deg,#ffa06a,#ff5a2a);box-shadow:0 6px 14px rgba(120,20,0,.28);
  transition:transform .5s cubic-bezier(.3,1.4,.5,1);
}
.gb-ribbon{position:absolute;background:linear-gradient(#ffe066,#f7c948);opacity:.95}
.gb-ribbon.v{left:50%;top:0;bottom:0;width:12px;transform:translateX(-50%);border-radius:2px}
.gb-ribbon.h{left:0;right:0;top:22px;height:10px;border-radius:2px}
.gb-bow{
  position:absolute;left:50%;top:-10px;width:26px;height:18px;transform:translateX(-50%);
  border:4px solid #f7c948;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;border-bottom-color:transparent;
}
.gb-glow{
  position:absolute;inset:-24px;border-radius:50%;background:radial-gradient(circle,rgba(255,224,102,.55),transparent 65%);
  opacity:0;transition:.4s;
}
.gift-box.shaking{animation:boxShake .18s infinite}
@keyframes boxShake{
  0%,100%{transform:translate(0,0) rotate(0)}
  25%{transform:translate(-4px,2px) rotate(-3deg)}
  75%{transform:translate(4px,-2px) rotate(3deg)}
}
.gift-box.opened .gb-lid{transform:translateY(-46px) rotate(-16deg)}
.gift-box.opened .gb-glow{opacity:1}
.box-btn-row{padding:0 16px}
.box-balance{font-size:11px;opacity:.85;margin-top:10px}

/* 奖池 */
.box-pool{margin:0 12px;background:#fff;border-radius:12px;padding:4px 12px}
.bp-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.bp-row:last-child{border-bottom:0}
.bp-art{width:42px;height:42px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex:0 0 42px}
.bp-art svg{width:28px;height:28px}
.bp-mid{flex:1;min-width:0}
.bp-name{font-size:12.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bp-val{font-size:10.5px;color:#a8adb8;margin-top:2px}
.bp-rate{font-size:13px;font-weight:800;color:#ff4d2d}
.box-tip{font-size:10px;color:#a8adb8;text-align:center;padding:10px 20px 0;line-height:1.6}

/* 开盒结果 */
.box-result{position:relative;overflow:hidden}
.br-glow{position:absolute;left:50%;top:-40px;transform:translateX(-50%);width:260px;height:260px;pointer-events:none}
.br-tier{
  display:inline-block;padding:1px 10px;border:1px solid;border-radius:10px;font-size:10.5px;margin-bottom:10px;
}
.br-art{width:92px;height:92px;margin:0 auto 10px;border-radius:14px;display:flex;align-items:center;justify-content:center}
.br-art svg{width:60px;height:60px}

/* =========================================================
   官方群聊
   ========================================================= */
.chat-notice{
  background:#fff8e9;color:#a06a00;font-size:11px;padding:8px 14px;line-height:1.5;
  border-bottom:1px solid #ffe9bd;
}
.chat-body{
  flex:1;overflow-y:auto;padding:12px 12px 8px;background:#f5f6f8;
  height:calc(100% - 46px - 40px - 58px - var(--tab-h));
}
.chat-loading{text-align:center;color:#b6bac4;font-size:12px;padding:30px 0}
.chat-demo-tip{text-align:center;color:#c8ccd6;font-size:10px;padding:16px 0 4px}

.msg{display:flex;gap:8px;margin-bottom:14px;align-items:flex-start}
.msg.me{justify-content:flex-end}
.m-av{
  width:34px;height:34px;border-radius:6px;flex:0 0 34px;display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:14px;font-weight:600;
}
.me-av{background:#ff7a59}
.m-main{max-width:74%}
.m-nick{font-size:10px;color:#a8adb8;margin-bottom:3px;display:flex;gap:5px;align-items:center}
.m-time{color:#c8ccd6}
.m-bubble{
  background:#fff;border-radius:3px 10px 10px 10px;padding:9px 11px;font-size:13px;line-height:1.5;
  color:#2b2f3a;box-shadow:0 1px 2px rgba(20,25,40,.05);word-break:break-word;
}
.msg.me .m-bubble{
  background:linear-gradient(135deg,#ff8a4a,#ff5a2a);color:#fff;
  border-radius:10px 3px 10px 10px;
}

.chat-input{
  position:absolute;left:0;right:0;bottom:calc(var(--tab-h) + var(--safe-bottom));
  display:flex;gap:8px;padding:8px 12px;background:#fff;border-top:1px solid var(--line);z-index:15;
}
.chat-input input{
  flex:1;height:36px;background:#f5f6f8;border-radius:18px;padding:0 14px;font-size:13px;
}
.chat-input button{
  height:36px;padding:0 18px;border-radius:18px;background:linear-gradient(135deg,var(--main),var(--main-2));
  color:#fff;font-size:13px;font-weight:600;flex:0 0 auto;
}

/* 金刚区 5 列 */
.kingkong.kk5{grid-template-columns:repeat(5,1fr);padding:14px 2px}
.kingkong.kk5 .kk{font-size:10.5px}
.kingkong.kk5 .kk .k{width:40px;height:40px;border-radius:12px}
.kingkong.kk5 .kk .k svg{width:21px;height:21px}
.kingkong.kk5 .kk:nth-child(4) .k{background:linear-gradient(160deg,#eef0ff,#dcdcff)}
.kingkong.kk5 .kk:nth-child(4) .k svg{color:#5b5bd6}
