/* ============================================================
   超玩会盲盒 H5 - 前台样式
   ============================================================ */
:root{
  --teal:#17b3aa;
  --teal-2:#0f9c94;
  --teal-deep:#0b6f69;
  --ink:#16262b;
  --ink-2:#2f3a3f;
  --muted:#8b9aa3;
  --line:#eef2f4;
  --bg:#f4f7f8;
  --card:#ffffff;
  --orange:#ff6a2b;
  --pink:#ffc9d8;
  --pink-2:#ffe4eb;
  --blue:#0f3d5c;
  --shadow:0 10px 28px rgba(18,72,78,.08);
  --radius:16px;
  --tab-h:56px;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:var(--bg);color:var(--ink);
  font-size:14px;line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
img{display:block;max-width:100%}
ul,ol{margin:0;padding:0;list-style:none}
input,textarea,select{font-family:inherit;font-size:14px}
.app{
  max-width:520px;margin:0 auto;min-height:100vh;position:relative;
  background:var(--bg);box-shadow:0 0 60px rgba(10,50,60,.08);
  padding-bottom:calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
  overflow-x:hidden;
}
.boot{display:flex;flex-direction:column;align-items:center;justify-content:center;height:70vh;gap:10px}
.boot-logo{font-size:20px;font-weight:800;letter-spacing:2px;color:var(--teal-deep)}
.boot-tip{font-size:12px;color:var(--muted)}
/* ---------------- 顶部保障栏 ---------------- */
.brandbar{  justify-content: space-between;
  display:flex;align-items:center;justify-content:space-between;
  gap:6px;padding:8px 14px;background:#fff;
  position:sticky;top:0;z-index:40;
}
.brand-tags{
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.brand-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-btn{
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}
.brand-btn.text-btn{
  background: #ffffff;
  color: #2b3a41;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.brand-btn.text-btn.primary{
  background: linear-gradient(90deg,#ff5e5e,#ff2b4a);
  color: #fff;
}
.brand-btn:active{
  transform: scale(.95);
}

.brand-btn:active{
  transform: scale(.95);
}
.rule-content{
  padding: 4px 2px 10px;
  line-height: 1.9;
  font-size: 13px;
  color: #37434e;
}
.rule-content p{
  margin: 0 0 8px;
}
.service-info{
  padding: 6px 2px 10px;
  text-align: center;
}

.brandbar .bi{display:flex;align-items:center;gap:5px;font-size:12px;color:#2b3a40;font-weight:600;white-space:nowrap}
.brandbar .bi svg{width:15px;height:15px;flex:none}
.brandbar .bi:nth-child(1) svg{color:#2f3a3f}
.brandbar .bi:nth-child(2) svg{color:#2fb8a8}
.brandbar .bi:nth-child(3) svg{color:#2f3a3f}
/* ---------------- Banner ---------------- */
.banner-wrap{position:relative;padding:0 0 6px;background:#fff}
.banner-swiper{position:relative;overflow:hidden;border-radius:0 0 18px 18px;background:#dff7f2}
.banner-track{display:flex;transition:transform .45s cubic-bezier(.22,.61,.36,1)}
.banner-item{flex:0 0 100%;aspect-ratio:750/500;position:relative}
.banner-item img{width:100%;height:100%;object-fit:cover}
.banner-dots{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);display:flex;gap:5px;z-index:3}
.banner-dots i{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.55);transition:.25s}
.banner-dots i.on{width:14px;border-radius:3px;background:#fff}
/* 滚动公告 */
.marquee{
  position:absolute;top:8px;right:10px;z-index:4;
  display:flex;align-items:center;gap:6px;
  background:rgba(255,255,255,.82);backdrop-filter:blur(6px);
  border-radius:20px;padding:4px 9px 4px 5px;max-width:64%;
  box-shadow:0 4px 12px rgba(20,70,80,.1);
}
.marquee .horn{width:16px;height:16px;color:var(--teal-2);flex:none}
.marquee-viewport{overflow:hidden;height:16px;width:150px;position:relative}
.marquee-track{position:absolute;top:0;left:0;white-space:nowrap;font-size:11px;color:#41545c;line-height:16px}
.marquee-track span{display:inline-block;padding-right:40px}
/* 合规提示条 */
.noticebar{
  display:flex;align-items:center;gap:6px;margin:6px 12px 0;
  background:#fff6f0;border:1px solid #ffe2cf;color:#b4551f;
  border-radius:10px;padding:7px 10px;font-size:11px;line-height:1.5;
}
.noticebar svg{width:13px;height:13px;flex:none;color:#ff8a3d}
/* ---------------- 盲盒列表 ---------------- */
.section-head{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 8px}
.section-head h2{margin:0;font-size:15px;font-weight:800;letter-spacing:.3px;display:flex;align-items:center;gap:6px}
.section-head h2:before{content:"";width:4px;height:14px;border-radius:2px;background:linear-gradient(180deg,#22c6bc,#0d8d86)}
.section-head span{font-size:11px;color:var(--muted)}
.box-list{padding:0 10px 8px;display:flex;flex-direction:column;gap:10px}
.box-card{
  position:relative;background:var(--card);border-radius:14px;padding:12px 12px 12px 10px;
  display:flex;gap:10px;box-shadow:0 2px 10px rgba(20,60,70,.05);
  cursor:pointer;transition:transform .18s ease, box-shadow .18s ease;
}
.box-card:active{transform:scale(.985)}
.box-thumb{width:92px;height:92px;flex:none;position:relative}
.box-thumb img{width:100%;height:100%;object-fit:contain}
.ship-tag{
  position:absolute;top:-12px;left:-10px;z-index:2;
  background:linear-gradient(180deg,#ff8a3d,#ff5f1f);color:#fff;
  font-size:10px;font-weight:700;padding:4px 11px;
  border-radius:0 0 10px 0;
}
.box-main{flex:1;min-width:0;display:flex;flex-direction:column}
.box-title{font-size:17px;font-weight:800;color:#111c20;letter-spacing:.2px;line-height:1.25;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thumb-row{display:flex;gap:3px;margin:7px 0 6px;height:36px;overflow:hidden}
.thumb-row .t{
  width:36px;height:36px;flex:none;border-radius:6px;background:#eef4f5;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.thumb-row .t img{width:100%;height:100%;object-fit:cover}
.value-chip{display:inline-flex;align-items:stretch;border-radius:6px;overflow:hidden;font-size:11px;max-width:100%;align-self:flex-start}
.value-chip .a{background:linear-gradient(90deg,#ff7fa4,#ff9db8);color:#fff;font-weight:700;padding:3px 8px;white-space:nowrap}
.value-chip .b{background:#ffe9f0;color:#0d4a6b;font-weight:700;padding:3px 8px;white-space:nowrap}
.box-foot{display:flex;align-items:flex-end;justify-content:space-between;margin-top:auto;padding-top:8px}
.price{font-size:20px;font-weight:800;color:#0f2b2e;line-height:1}
.price .sym{font-size:12px;font-weight:700;margin-right:1px}
.price .dec{font-size:12px;font-weight:700}
.sold{font-size:10px;color:#a9b5bc;margin-left:6px;font-weight:400}
.btn-buy{
  border:0;border-radius:10px;background:#2f3437;color:#fff;
  font-size:13px;font-weight:700;padding:9px 16px;letter-spacing:.5px;
  box-shadow:0 4px 10px rgba(40,50,55,.18);
}
.btn-buy:active{transform:scale(.96)}
/* ---------------- 底部导航 ---------------- */
.tabbar{
  position:fixed;left:50%;transform:translateX(-50%);bottom:0;z-index:60;
  width:100%;max-width:520px;background:#fff;
  display:flex;align-items:center;
  padding-bottom:env(safe-area-inset-bottom, 0px);
  border-top:1px solid #f0f3f5;
  box-shadow:0 -6px 20px rgba(10,50,60,.05);
}
.tabbar .tab{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;height:var(--tab-h);color:#98a4ac;font-size:10px;
}
.tabbar .tab svg{width:21px;height:21px}
.tabbar .tab.on{color:#126e69;font-weight:600}
.tabbar .tab.on svg{color:#126e69}
/* ---------------- 通用页面头 ---------------- */
.navbar{
  position:sticky;top:0;z-index:50;background:#fff;
  height:48px;display:flex;align-items:center;padding:0 10px;
  border-bottom:1px solid #f2f5f6;
}
.navbar .back{
  width:36px;height:36px;display:flex;align-items:center;justify-content:center;
  border:0;background:transparent;color:#25333a;
}
.navbar .back svg{width:20px;height:20px}
.navbar .title{font-size:15px;font-weight:700;flex:1;text-align:center;margin-right:36px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* ---------------- 详情页 ---------------- */
.detail-hero{
  position:relative;background:linear-gradient(160deg,#e6fbf6,#d8f4f2 55%,#eef9fd);
  padding:14px 16px 24px;border-radius:0 0 22px 22px;
}
.detail-hero .cover{width:56%;margin:0 auto;position:relative;z-index:2}
.detail-hero .glow{
  position:absolute;left:50%;top:52%;transform:translate(-50%,-50%);
  width:210px;height:210px;border-radius:50%;
  background:radial-gradient(circle,rgba(64,224,208,.35),rgba(64,224,208,0) 70%);
  filter:blur(4px);
}
.detail-hero .badge{
  position:absolute;right:16px;top:14px;background:rgba(255,255,255,.75);
  border-radius:20px;padding:5px 10px;font-size:11px;color:#0b6d66;font-weight:700;
  display:flex;align-items:center;gap:4px;
}
.detail-hero .badge svg{width:13px;height:13px}
.detail-card{background:#fff;margin:-10px 10px 0;border-radius:16px;padding:16px;position:relative;z-index:3;box-shadow:var(--shadow)}
.detail-title{font-size:20px;font-weight:800;line-height:1.3;margin:0 0 4px;color:#0f1e22}
.detail-sub{font-size:12px;color:var(--muted);margin-bottom:10px}
.detail-price{display:flex;align-items:flex-end;justify-content:space-between}
.detail-price .p{font-size:28px;font-weight:800;color:#0f2b2e;line-height:1}
.detail-price .p .sym{font-size:14px;margin-right:2px}
.detail-price .m{font-size:11px;color:#a3afb6;text-align:right;line-height:1.6}
.detail-price .m b{color:#ff6a2b;font-size:12px}
.prob-card{background:#fff;margin:10px;border-radius:16px;padding:14px 14px 6px;box-shadow:0 2px 10px rgba(20,60,70,.05)}
.prob-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.prob-head h3{margin:0;font-size:14px;font-weight:800;display:flex;align-items:center;gap:6px}
.prob-head h3 svg{width:15px;height:15px;color:var(--teal-2)}
.prob-head .hint{font-size:11px;color:var(--muted)}
.prob-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #f4f7f8}
.prob-item:last-child{border-bottom:0}
.prob-item .pic{width:40px;height:40px;flex:none;border-radius:8px;background:#eef4f5;display:flex;align-items:center;justify-content:center;overflow:hidden}
.prob-item .pic img{width:100%;height:100%;object-fit:cover}
.prob-item .info{flex:1;min-width:0}
.prob-item .name{font-size:13px;font-weight:600;color:#243239;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.prob-item .meta{font-size:11px;color:#98a5ac;display:flex;gap:8px;margin-top:2px}
.prob-item .meta .lv{color:#e8952a}
.prob-item .bar{height:4px;border-radius:2px;background:#eef3f4;margin-top:5px;overflow:hidden}
.prob-item .bar i{display:block;height:100%;border-radius:2px;background:linear-gradient(90deg,#25c9bd,#0e9a92)}
.prob-item .pct{width:52px;text-align:right;font-size:12px;font-weight:800;color:#0d6f69}
.detail-foot{
  position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:520px;
  background:#fff;border-top:1px solid #f1f4f5;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));
  display:flex;align-items:center;gap:12px;z-index:55;
}
.detail-foot .fp{flex:1;line-height:1.2}
.detail-foot .fp .lab{font-size:10px;color:#9aa7ae}
.detail-foot .fp .val{font-size:22px;font-weight:800;color:#0f2b2e}
.detail-foot .fp .val .sym{font-size:13px}
.btn-primary{
  border:0;border-radius:12px;padding:14px 26px;font-size:15px;font-weight:800;color:#fff;
  background:linear-gradient(135deg,#22c6bc,#0e8f87);
  box-shadow:0 8px 18px rgba(18,170,160,.32);letter-spacing:1px;
}
.btn-primary:active{transform:scale(.97)}
.btn-primary:disabled{opacity:.55;box-shadow:none}
/* ---------------- 开箱结果 ---------------- */
.result-page{background:radial-gradient(circle at 50% 10%,#151d26,#0a0f15 55%,#05080b);min-height:100vh;color:#fff}
.result-page .navbar{background:transparent;border:0;color:#fff}
.result-page .navbar .back{color:#fff}
.stage{padding:18px 12px 40px;text-align:center;min-height:calc(100vh - 48px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.stage .hint{font-size:12px;color:#8fd8cf;letter-spacing:2px;margin-bottom:18px;transition:opacity .4s ease}
.giftbox{position:relative;width:180px;height:180px;margin-bottom:8px;transition:transform .55s cubic-bezier(.2,.7,.3,1),opacity .55s ease,margin .55s ease}
.giftbox .box-body{
  position:absolute;bottom:0;left:50%;transform:translateX(-50%);
  width:150px;height:110px;border-radius:12px 12px 16px 16px;
  background:linear-gradient(180deg,#27c3b8,#12867f);
  box-shadow:0 22px 40px rgba(0,0,0,.5), inset 0 -6px 14px rgba(0,0,0,.12);
}
.giftbox .box-body:after{
  content:"";position:absolute;left:50%;top:0;transform:translateX(-50%);
  width:26px;height:100%;background:rgba(255,255,255,.28);
}
.giftbox .box-lid{
  position:absolute;left:50%;bottom:104px;transform:translateX(-50%);
  width:168px;height:38px;border-radius:10px;
  background:linear-gradient(180deg,#37d3c7,#1ba79d);
  box-shadow:0 8px 18px rgba(0,0,0,.35);
  transform-origin:50% 100%;
  z-index:3;
}
.giftbox .box-lid:after{
  content:"";position:absolute;left:50%;top:0;transform:translateX(-50%);
  width:26px;height:100%;background:rgba(255,255,255,.28);
}
.giftbox .ribbon-v{
  position:absolute;left:50%;bottom:0;transform:translateX(-50%);
  width:26px;height:104px;background:rgba(255,255,255,.28);z-index:2;
}
.giftbox .bow{
  position:absolute;left:50%;bottom:138px;transform:translateX(-50%);z-index:4;
  width:56px;height:24px;
}
.giftbox.shaking{animation:shake .5s ease-in-out 3}
@keyframes shake{
  0%,100%{transform:rotate(0)}
  20%{transform:rotate(-7deg) translateY(-2px)}
  40%{transform:rotate(7deg)}
  60%{transform:rotate(-5deg)}
  80%{transform:rotate(5deg)}
}
.giftbox.opened .box-lid{animation:openLid .7s cubic-bezier(.3,-.4,.4,1.4) forwards}
@keyframes openLid{
  0%{transform:translateX(-50%) rotate(0);bottom:104px}
  100%{transform:translateX(-150%) rotate(-58deg);bottom:168px;opacity:.32}
}
.giftbox.dim{transform:scale(.58);opacity:.4}
.giftbox .light{
  position:absolute;left:50%;top:56%;transform:translate(-50%,-50%);
  width:10px;height:10px;border-radius:50%;background:#fff;opacity:0;
  box-shadow:0 0 60px 40px rgba(120,255,235,.55);z-index:1;
}
.giftbox.opened .light{animation:flash .8s ease-out .2s forwards}
@keyframes flash{0%{opacity:0;transform:translate(-50%,-50%) scale(.4)}60%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) scale(3)}}
.prize-reveal{opacity:0;transform:translateY(16px) scale(.94);transition:all .55s cubic-bezier(.2,.7,.3,1.2);margin-top:6px;width:100%}
.prize-reveal.show{opacity:1;transform:none}
.prize-card{
  background:linear-gradient(170deg,rgba(255,255,255,.14),rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.18);border-radius:20px;padding:20px 18px;
  backdrop-filter:blur(6px);
}
.prize-card .lv{display:inline-block;font-size:11px;font-weight:700;color:#0a2b27;background:linear-gradient(90deg,#ffe08a,#ffc247);border-radius:20px;padding:3px 10px;margin-bottom:12px}
.prize-card img{width:132px;height:132px;object-fit:contain;margin:0 auto 10px;filter:drop-shadow(0 14px 22px rgba(0,0,0,.4))}
.prize-card .pname{font-size:18px;font-weight:800;line-height:1.35}
.prize-card .pval{font-size:13px;color:#9fe8dd;margin-top:6px}
.result-actions{display:flex;gap:12px;margin-top:22px;width:100%}
.result-actions .btn{flex:1;border-radius:12px;padding:13px 0;font-size:14px;font-weight:700;border:0}
.result-actions .ghost{background:rgba(255,255,255,.12);color:#d6f7f2;border:1px solid rgba(255,255,255,.22)}
.result-actions .solid{background:linear-gradient(135deg,#28d3c6,#0f958c);color:#04302b}
.result-note{margin-top:16px;font-size:11px;color:#7fbdb5;line-height:1.7}
/* ---------------- 商城 ---------------- */
.goods-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px}
.goods-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 10px rgba(20,60,70,.05)}
.goods-card .gimg{aspect-ratio:1/1;background:#f2f7f8;display:flex;align-items:center;justify-content:center;padding:10px}
.goods-card .gimg img{width:100%;height:100%;object-fit:contain}
.goods-card .ginfo{padding:9px 10px 11px}
.goods-card .gtitle{font-size:13px;font-weight:600;line-height:1.35;height:36px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#23333a}
.goods-card .gprice{margin-top:7px;display:flex;align-items:baseline;gap:6px}
.goods-card .gprice b{font-size:17px;color:#e8502a}
.goods-card .gprice b .sym{font-size:11px}
.goods-card .gprice s{font-size:11px;color:#b3bec5}
.goods-card .gbuy{margin-top:8px;display:block;width:100%;border:0;border-radius:9px;padding:8px 0;background:#e8faf7;color:#0e8a82;font-size:12px;font-weight:700}
/* ---------------- 仓库 ---------------- */
.vault-head{
  margin:10px;border-radius:16px;padding:16px;
  background:linear-gradient(135deg,#153f3d,#0a2422);color:#fff;
  display:flex;justify-content:space-between;align-items:center;
}
.vault-head .v1{font-size:12px;color:#8fd0c8}
.vault-head .v2{font-size:26px;font-weight:800;line-height:1.2}
.vault-head .v2 small{font-size:12px;font-weight:600;color:#9fe0d8;margin-right:3px}
.vault-head .vc{text-align:right;font-size:12px;color:#8fd0c8}
.vault-list{padding:0 10px;display:flex;flex-direction:column;gap:9px}
.vault-item{background:#fff;border-radius:13px;padding:11px;display:flex;gap:11px;align-items:center;box-shadow:0 2px 8px rgba(20,60,70,.05)}
.vault-item .vp{width:62px;height:62px;flex:none;border-radius:9px;background:#eef4f5;display:flex;align-items:center;justify-content:center;overflow:hidden}
.vault-item .vp img{width:100%;height:100%;object-fit:cover}
.vault-item .vi{flex:1;min-width:0}
.vault-item .vn{font-size:13.5px;font-weight:700;color:#1d2c32;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vault-item .vm{font-size:11px;color:#93a2aa;margin-top:3px}
.vault-item .vm b{color:#e8502a;font-weight:700}
.vault-item .vs{font-size:10px;border-radius:20px;padding:2px 8px;display:inline-block;margin-top:5px}
.vs-0{background:#e9faf6;color:#0e8a82}
.vs-1{background:#fff4e6;color:#c47a19}
.vs-2{background:#eef1f5;color:#6b7a85}
.vault-item .act{border:1px solid #d5ece8;background:#fff;color:#0e8a82;border-radius:8px;font-size:11px;padding:6px 9px;font-weight:600}
.vault-item .pick{width:18px;height:18px;border-radius:50%;border:1.5px solid #d3dfe3;flex:none;display:flex;align-items:center;justify-content:center}
.vault-item.on .pick{border-color:#17b3aa;background:#17b3aa}
.vault-item.on .pick:after{content:"";width:5px;height:9px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) translateY(-1px)}
.vault-bar{
  position:sticky;bottom:calc(var(--tab-h) + 8px);margin:12px 10px 0;
  background:#0f2b2e;color:#fff;border-radius:12px;padding:11px 14px;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  box-shadow:0 8px 20px rgba(10,40,45,.2);
}
.vault-bar .vb{font-size:12px;color:#a9ded8}
.vault-bar button{border:0;border-radius:9px;background:#2ad0c2;color:#04302b;font-weight:800;font-size:13px;padding:9px 16px}
/* ---------------- 我的 ----------------
 */
.me-head{
  background:linear-gradient(150deg,#0f6963,#083b38 60%,#062a28);color:#fff;
  padding:26px 18px 46px;border-radius:0 0 24px 24px;position:relative;overflow:hidden;
}
.me-head:before{
  content:"";position:absolute;right:-40px;top:-60px;width:180px;height:180px;border-radius:50%;
  background:radial-gradient(circle,rgba(88,230,210,.35),transparent 70%);
}
.me-row{display:flex;align-items:center;gap:12px;position:relative;z-index:2}
.me-avatar{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.16);border:2px solid rgba(255,255,255,.4);overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800}
.me-avatar img{width:100%;height:100%;object-fit:cover}
.me-name{font-size:18px;font-weight:800}
.me-mobile{font-size:12px;color:#a7e3dc;margin-top:3px}
.me-stat{display:flex;margin-top:18px;position:relative;z-index:2}
.me-stat .s{flex:1;text-align:center}
.me-stat .s b{display:block;font-size:19px;font-weight:800}
.me-stat .s span{font-size:11px;color:#9fd8d1}
.me-cards{margin:-28px 12px 0;background:#fff;border-radius:16px;padding:6px 4px;display:flex;box-shadow:var(--shadow);position:relative;z-index:3}
.me-cards .c{flex:1;text-align:center;padding:10px 0;font-size:12px;color:#4a5b63}
.me-cards .c b{display:block;font-size:16px;color:#0f2b2e;margin-bottom:2px}
.menu{margin:12px;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 10px rgba(20,60,70,.05)}
.menu a{display:flex;align-items:center;gap:10px;padding:14px 15px;border-bottom:1px solid #f5f8f9;font-size:14px;color:#2b3a41}
.menu a:last-child{border-bottom:0}
.menu a svg{width:18px;height:18px;color:#0f9c94}
.menu a .arr{margin-left:auto;color:#c3ced4}
.menu a .v{margin-left:auto;font-size:12px;color:#93a2aa}
/* ---------------- 订单 ----------------
 */
.order-tabs{display:flex;gap:6px;padding:10px 12px;overflow-x:auto;background:#fff;position:sticky;top:48px;z-index:40;border-bottom:1px solid #f4f7f8}
.order-tabs a{padding:6px 14px;border-radius:20px;background:#f3f6f7;font-size:12px;color:#59696f;white-space:nowrap}
.order-tabs a.on{background:#0f2b2e;color:#fff;font-weight:600}
.order-card{background:#fff;margin:10px;border-radius:14px;padding:13px;box-shadow:0 2px 8px rgba(20,60,70,.05)}
.order-top{display:flex;justify-content:space-between;font-size:11px;color:#93a2aa;padding-bottom:9px;border-bottom:1px dashed #eef2f4}
.order-top .st{font-weight:700}
.st-0{color:#e8952a}
.st-1,.st-2{color:#0e8a82}
.st-3{color:#6b7a85}
.st-4{color:#aab6bd}
.order-body{display:flex;gap:10px;padding:11px 0}
.order-body .op{width:58px;height:58px;border-radius:9px;background:#eef4f5;display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden}
.order-body .op img{width:100%;height:100%;object-fit:cover}
.order-body .oi{flex:1;min-width:0}
.order-body .ot{font-size:13.5px;font-weight:700;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-body .om{font-size:11px;color:#93a2aa;margin-top:4px}
.order-foot{display:flex;justify-content:flex-end;gap:8px;align-items:center}
.order-foot .sum{font-size:12px;color:#59696f;margin-right:auto}
.order-foot .sum b{font-size:15px;color:#0f2b2e}
.order-foot .btn{border:1px solid #d9e6e4;background:#fff;color:#0e8a82;border-radius:8px;font-size:12px;padding:7px 13px;font-weight:600}
.order-foot .btn.dark{background:#0f2b2e;color:#fff;border-color:#0f2b2e}
/* ---------------- 登录 ---------------- */
.auth-wrap{padding:36px 24px 40px;min-height:100vh;background:linear-gradient(170deg,#eafbf6,#f4f7f8 55%)}
.auth-logo{text-align:center;margin-bottom:24px}
.auth-logo img{width:64px;height:64px;margin:0 auto 10px}
.auth-logo h1{font-size:20px;margin:0;letter-spacing:2px}
.auth-logo p{font-size:12px;color:#8b9aa3;margin:6px 0 0}
.auth-tabs{display:flex;background:#e9f0f1;border-radius:12px;padding:4px;margin-bottom:18px}
.auth-tabs button{flex:1;border:0;background:transparent;padding:9px 0;border-radius:9px;font-size:14px;color:#64757d;font-weight:600}
.auth-tabs button.on{background:#fff;color:#0f2b2e;box-shadow:0 2px 8px rgba(20,60,70,.08)}
.field{margin-bottom:13px}
.field label{display:block;font-size:12px;color:#6b7b83;margin-bottom:6px}
.field input{width:100%;border:1px solid #e2eaed;background:#fff;border-radius:11px;padding:13px 14px;font-size:14px;outline:none}
.field input:focus{border-color:#19b8ae;box-shadow:0 0 0 3px rgba(25,184,174,.12)}
.auth-btn{width:100%;border:0;border-radius:12px;padding:14px;font-size:15px;font-weight:800;color:#fff;background:linear-gradient(135deg,#22c6bc,#0e8f87);box-shadow:0 10px 20px rgba(18,170,160,.25);margin-top:6px}
.auth-tip{font-size:11px;color:#93a2aa;text-align:center;margin-top:16px;line-height:1.7}
/* ---------------- 弹层 ---------------- */
.mask{position:fixed;inset:0;background:rgba(8,22,26,.55);z-index:100;opacity:0;pointer-events:none;transition:.25s}
.mask.on{opacity:1;pointer-events:auto}
.sheet{
  position:fixed;left:50%;transform:translate(-50%,100%);bottom:0;z-index:101;
  width:100%;max-width:520px;background:#fff;border-radius:20px 20px 0 0;
  padding:18px 18px calc(18px + env(safe-area-inset-bottom,0px));
  transition:transform .3s cubic-bezier(.22,.61,.36,1);
  max-height:86vh;overflow-y:auto;
}
.sheet.on{transform:translate(-50%,0)}
.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.sheet-head h3{margin:0;font-size:16px;font-weight:800}
.sheet-head .x{border:0;background:#f3f6f7;width:28px;height:28px;border-radius:50%;font-size:16px;color:#7b8a92}
.pay-opt{display:flex;align-items:center;gap:11px;border:1px solid #eef2f4;border-radius:12px;padding:13px;margin-bottom:9px}
.pay-opt .pi{width:36px;height:36px;border-radius:9px;background:#e9f7ff;display:flex;align-items:center;justify-content:center;color:#1677ff}
.pay-opt .pt{flex:1}
.pay-opt .pt b{display:block;font-size:14px;color:#1d2c32}
.pay-opt .pt span{font-size:11px;color:#93a2aa}
.pay-opt .radio{width:18px;height:18px;border-radius:50%;border:1.5px solid #d3dfe3}
.pay-opt.on{border-color:#19b8ae;background:#f4fdfb}
.pay-opt.on .radio{border-color:#19b8ae;background:#19b8ae;box-shadow:inset 0 0 0 3px #fff}
.qr-box{text-align:center;padding:8px 0 4px}
.qr-box .qr{width:200px;height:200px;margin:0 auto;background:#fff;border-radius:12px;padding:8px;border:1px solid #eef2f4}
.qr-box .qr img{width:100%;height:100%}
.qr-box .amt{font-size:24px;font-weight:800;margin-top:12px;color:#0f2b2e}
.qr-box .tip{font-size:12px;color:#93a2aa;margin-top:6px}
.qr-box .status{margin-top:14px;font-size:13px;color:#0e8a82;display:flex;align-items:center;justify-content:center;gap:6px}
.spinner{width:14px;height:14px;border:2px solid #cdeee9;border-top-color:#17b3aa;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.toast{
  position:fixed;left:50%;top:42%;transform:translate(-50%,-50%) scale(.94);
  background:rgba(15,33,36,.92);color:#fff;padding:11px 18px;border-radius:12px;
  font-size:13px;z-index:200;opacity:0;pointer-events:none;transition:.22s;max-width:78%;
  text-align:center;line-height:1.5;
}
.toast.on{opacity:1;transform:translate(-50%,-50%) scale(1)}
.empty{text-align:center;padding:60px 20px;color:#9aa8b0;font-size:13px}
.empty svg{width:64px;height:64px;color:#d6e2e5;margin:0 auto 12px}
.loading-row{text-align:center;padding:26px;color:#9aa8b0;font-size:12px}
/* ---------------- 余额 / 充值 ---------------- */
.rc-tag{display:inline-block;margin-left:4px;padding:0 5px;height:15px;line-height:15px;border-radius:4px;
  background:#eaf7f4;color:#0e8a82;font-size:10px;font-weight:700;vertical-align:middle}
.rc-balance{display:flex;align-items:baseline;justify-content:space-between;padding:2px 2px 14px}
.rc-balance span{font-size:12px;color:#7b8a92}
.rc-balance b{font-size:26px;font-weight:800;color:#0f2b2e}
.rc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:14px}
.rc-item{border:1px solid #e9eef0;background:#fff;border-radius:11px;padding:13px 0;font-size:15px;font-weight:700;color:#1d2c32;cursor:pointer}
.rc-item.on{border-color:#19b8ae;background:#f2fbfa;color:#0e8a82}
.rc-item:active{transform:scale(.97)}
.bl-row{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid #f2f6f7}
.bl-row:last-child{border-bottom:0}
.bl-main b{display:block;font-size:13px;color:#1d2c32}
.bl-main span{font-size:11px;color:#93a2aa}
.bl-amt{font-size:15px;font-weight:700;white-space:nowrap}
.bl-amt.in{color:#0e8a82}
.bl-amt.out{color:#c0392b}
/* ---------------- 聚合登录 ---------------- */
.oauth-sep{display:flex;align-items:center;gap:10px;color:#9aa8b0;font-size:12px;margin:16px 0 12px}
.oauth-sep:before,.oauth-sep:after{content:'';flex:1;height:1px;background:#e9eef0}
.oauth-list{display:flex;flex-wrap:wrap;gap:9px}
.oauth-btn{flex:1 1 40%;min-width:104px;display:flex;align-items:center;justify-content:center;gap:7px;
  border:1px solid #e9eef0;background:#fff;border-radius:12px;padding:11px 8px;font-size:13px;color:#1d2c32;cursor:pointer}
.oauth-btn:active{transform:scale(.97)}
.oauth-btn .dotx,.bind-item .dotx{width:22px;height:22px;border-radius:50%;color:#fff;font-size:11px;font-weight:700;
  display:flex;align-items:center;justify-content:center;flex:none}
.card-box{background:#fff;border-radius:14px;padding:16px 14px;margin:12px;box-shadow:0 2px 10px rgba(20,60,70,.05)}
.bind-hero{display:flex;align-items:center;gap:12px;margin:20px 14px 4px}
.bind-hero .bind-ava{width:54px;height:54px;border-radius:50%;object-fit:cover;background:#19b8ae;color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;flex:none;overflow:hidden}
.bind-hero .bind-info b{display:block;font-size:15px;color:#0f2b2e}
.bind-hero .bind-info span{font-size:12px;color:#93a2aa}
.bind-tip{font-size:11px;color:#9aa8b0;line-height:1.6;margin-top:10px}
.bind-title{font-size:13px;font-weight:700;color:#0f2b2e;margin-bottom:6px}
.bind-list{margin:0 -14px}
.bind-item{display:flex;align-items:center;gap:11px;padding:12px 14px;border-bottom:1px solid #f2f6f7}
.bind-item:last-child{border-bottom:0}
.bind-item .bi-main{flex:1}
.bind-item .bi-main b{display:block;font-size:14px;color:#1d2c32}
.bind-item .bi-main span{font-size:11px;color:#93a2aa}
.btn-s{border:1px solid #dde7ea;background:#fff;color:#5c6d75;border-radius:8px;padding:6px 13px;font-size:12px;cursor:pointer}
.btn-s.on{border-color:#19b8ae;background:#f2fbfa;color:#0e8a82}
.btn-s:active{transform:scale(.96)}
/* ---------------- 首页统计条 ---------------- */
.hero-stats{
  display:flex;gap:8px;margin:10px 12px 0;
}
.hero-stats .hs{flex:1;background:#fff;border-radius:12px;padding:9px 6px;text-align:center;box-shadow:0 2px 8px rgba(20,60,70,.05)}
.hero-stats .hs b{display:block;font-size:15px;color:#0f2b2e}
.hero-stats .hs span{font-size:10px;color:#93a2aa}
@media (min-width:521px){
  body{background:#e9eef0;padding:18px 0}
  .app{border-radius:22px;min-height:calc(100vh - 36px);overflow:hidden}
  .tabbar{bottom:18px;border-radius:0 0 22px 22px}
  .detail-foot{bottom:18px}
}
@media (max-width:359px){
  .box-title{font-size:15px}
  .box-thumb{width:80px;height:80px}
  .thumb-row .t{width:36px;height:36px}
  .thumb-row{height:36px}
}
/* 分销推广 */
.dist-head{display:flex;gap:12px;align-items:center;padding:16px;margin:10px 12px 0;border-radius:16px;background:linear-gradient(135deg,#0e8a82,#16b3a8);color:#fff}
.dist-code{flex:1;min-width:0}
.dist-code span{font-size:12px;opacity:.86}
.dist-code b{display:block;font-size:24px;letter-spacing:3px;margin-top:6px}
.dist-qr{width:84px;height:84px;background:#fff;border-radius:10px;padding:4px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.dist-actions{display:flex;gap:10px;margin:12px 12px 0}
.dist-actions .btn{flex:1;margin:0}
.dist-stat{display:grid;grid-template-columns:1fr 1fr;background:#fff;border-radius:14px;padding:12px 0;margin:10px 12px}
.dist-stat .s{text-align:center}
.dist-stat .s b{display:block;font-size:17px}
.dist-stat .s span{font-size:11px;color:#8b98a5}
.dist-tip{font-size:12px;color:#8b98a5;line-height:1.8;margin:4px 14px 10px}
.dist-item{display:flex;justify-content:space-between;gap:10px;padding:11px 12px;background:#fff;border-radius:12px;margin:0 12px 8px;font-size:13px}
.dist-item .l{color:#41525f;min-width:0}
.dist-item .l small,.dist-item .r small{display:block;color:#8b98a5;font-size:11px;margin-top:3px}
.dist-item .r{text-align:right;flex:0 0 auto}
.dist-form{background:#fff;border-radius:14px;padding:12px;margin:0 12px 12px}
.dist-form .field{margin-bottom:10px}
.dist-form label{font-size:12px;color:#8b98a5;display:block;margin-bottom:5px}
.dist-form input{width:100%;padding:9px 11px;border:1px solid #e3e9ee;border-radius:10px;font-size:14px;box-sizing:border-box}
/* 找回密码 / 绑定邮箱 */
.auth-forgot{text-align:right;margin:-4px 2px 12px;font-size:12.5px}
.auth-forgot a{color:#0e8a82;text-decoration:none}
/* ---------------- 连抽档位（支付弹层） ---------------- */
.mpill{
  flex:1;min-width:72px;border:1.5px solid #e3ebee;background:#fff;border-radius:10px;
  padding:8px 6px;font-size:13px;font-weight:700;color:#3c4c54;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:2px;
}
.mpill em{font-style:normal;font-size:11px;font-weight:600;color:#93a2aa}
.mpill.on{border-color:#17b3aa;background:#eafaf7;color:#0b6d66}
.mpill.on em{color:#0e8a82}
/* ---------------- 商品评论区 ---------------- */
.cmt-item{padding:10px 0;border-bottom:1px solid #f4f7f8}
.cmt-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.cmt-top b{font-size:12.5px;color:#243239}
.cmt-top span{font-size:11px;color:#a9b5bc}
.cmt-top .cmt-st{color:#c47a19}
.cmt-body{font-size:13px;color:#41525a;line-height:1.7;word-break:break-all}
.cmt-item.mine{background:#f7fbfb;margin:0 -14px;padding:10px 14px}
.cmt-empty{font-size:12.5px;color:#a9b5bc;text-align:center;padding:16px 0}
.cmt-add{padding:10px 0 12px}
.cmt-input{
  width:100%;border:1px solid #e3ebee;border-radius:10px;padding:9px 11px;font-size:13px;
  resize:none;box-sizing:border-box;background:#f9fcfc;color:#243239;font-family:inherit;
}
.cmt-submit{
  margin-top:8px;width:100%;border:0;border-radius:10px;background:#0f2b2e;color:#fff;
  font-size:13.5px;font-weight:700;padding:10px 0;cursor:pointer;
}
.cmt-submit:disabled{opacity:.55}
.cmt-login{font-size:12.5px;color:#8b9aa3;text-align:center;padding:12px 0 14px}
.cmt-login a{color:#0e8a82;font-weight:700;text-decoration:none}
/* ---------------- 连抽开箱结果网格 ---------------- */
.prize-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
.prize-card.mini{padding:14px 10px;text-align:center;border-radius:16px}
.prize-card.mini img{width:72px;height:72px;margin:0 auto 8px}
.prize-card.mini .pname{font-size:13px}
.prize-card.mini .pval{font-size:11px;margin-top:4px}
.prize-card.mini .lv{margin-bottom:8px;padding:2px 8px;font-size:10px}
/* ---------------- 横向滚动抽奖条 ---------------- */
.reel-wrap{
  position:relative;width:100%;overflow:hidden;border-radius:16px;margin-top:8px;
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.16);padding:14px 0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
}
.reel-track{display:flex;gap:8px;padding:0 4px;will-change:transform}
.reel-cell{
  flex:none;width:96px;border-radius:12px;padding:10px 8px;text-align:center;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);
}
.reel-cell img{width:64px;height:64px;object-fit:contain;margin:0 auto;display:block}
.reel-cell .rn{font-size:11px;color:#c8eae5;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reel-cell.hit{background:rgba(42,208,194,.22);border-color:#2ad0c2;box-shadow:0 0 18px rgba(42,208,194,.45)}
.reel-cell.hit .rn{color:#fff;font-weight:700}
.reel-pointer{
  position:absolute;left:50%;top:0;bottom:0;width:0;z-index:3;pointer-events:none;
  border-left:2px solid #ffd76a;filter:drop-shadow(0 0 6px rgba(255,215,106,.8));
}
.reel-pointer:before,.reel-pointer:after{
  content:"";position:absolute;left:-5px;width:0;height:0;
  border-left:5px solid transparent;border-right:5px solid transparent;
}
.reel-pointer:before{top:0;border-top:7px solid #ffd76a}
.reel-pointer:after{bottom:0;border-bottom:7px solid #ffd76a}
.svc-ic svg{width:30px;height:30px}
/* ---------------- 盲盒详情页（浅蓝参考样式） ---------------- */
.bxd{background:linear-gradient(180deg,#cfe0f7,#dfe9fb 40%,#eef3fc);min-height:100vh}
.bxd-top{padding:14px 14px 18px;text-align:center}
.bxd-marquee{overflow:hidden;margin:0 auto 12px;max-width:78%}
.bxd-mq-track{display:inline-flex;white-space:nowrap;animation:bxdMq 14s linear infinite}
.bxd-mq-item{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(90deg,#f78fb3,#f9a8c5);color:#fff;font-size:12px;font-weight:600;border-radius:20px;padding:6px 12px;margin-right:26px}
.bxd-mq-item img{width:22px;height:22px;border-radius:50%;background:#fff;object-fit:cover}
@keyframes bxdMq{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.bxd-hero{width:62%;margin:6px auto 0;background:#fff;border-radius:6px;padding:10px;box-shadow:0 6px 18px rgba(60,90,140,.12)}
.bxd-hero img{width:100%;display:block;object-fit:contain}
.bxd-ribbon{
  display:inline-block;margin:16px auto 8px;padding:7px 34px;color:#fff;font-size:17px;font-weight:800;font-style:italic;letter-spacing:2px;
  background:var(--rc,#ff4d7e);clip-path:polygon(6% 0,94% 0,100% 50%,94% 100%,6% 100%,0 50%);
}
.bxd-title{font-size:16.5px;font-weight:800;color:#25333f;margin:6px 10px 4px;line-height:1.5}
.bxd-price{font-size:22px;font-weight:800;color:#1c2733;margin-top:2px}
.bxd-lvrow{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:12px;font-size:12.5px}
.bxd-lvrow b{font-weight:800}
.bxd-sec{background:#fff;margin-top:8px;padding:13px 14px 4px;text-align:center}
.bxd-sec h3{margin:0 0 10px;font-size:14.5px;font-weight:800;color:#2a3742}
.bxd-thumbs{background:#fff;padding:4px 0 14px;display:flex;gap:10px;overflow-x:auto}
.bxd-th{position:relative;flex:none;width:118px;border:1px solid #eef1f6;border-radius:4px;background:#fff}
.bxd-th img{width:100%;height:118px;object-fit:contain;display:block}
.bxd-th-tag{position:absolute;right:0;bottom:0;color:#fff;font-size:11px;font-weight:700;padding:3px 9px;border-radius:8px 0 4px 0}
.bxd-probs{background:#fff;padding:2px 14px 12px}
.bxd-prow{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid #f2f5f9}
.bxd-prow:last-child{border-bottom:0}
.bxd-prow img{width:34px;height:34px;object-fit:contain;background:#f6f8fb;border-radius:6px}
.bxd-prow .n{flex:1;font-size:12.5px;color:#37434e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bxd-prow .p{font-size:12px;font-weight:800;color:#e8502a}

/* ---------------- 新增：左侧试玩按钮 ---------------- */
/* 左侧试玩按钮 */
.try-play-btn{
  position: fixed;
  left: 0;
  top: 38%;
  width: 52px;
  padding: 12px 0;
  background: #fff;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #ff4d4f;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.try-icon{
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.try-icon svg{
  width: 100%;
  height: 100%;
}

/* ---------------- 新增：右侧侧边栏 ---------------- */
.side-bar{
  position: fixed;
  right: 12px;
  top: 32%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}
.side-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
}
.side-icon{
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  color: #555;
}
.side-icon svg{ width: 20px; height: 20px; }

/* ---------------- 新增：主图自动滚动 ---------------- */
.main-swiper{
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}
.main-swiper-wrap{
  display: flex;
  width: max-content;
  animation: mainScroll 25s linear infinite;
}
.main-slide-item{
  width: 68vw;
  max-width: 350px;
  margin: 0 10px;
  flex-shrink: 0;
}
.main-slide-item img{
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
}
.main-swiper:hover .main-swiper-wrap{
  animation-play-state: paused;
}

@keyframes mainScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------------- 新增：档位标签（箭头丝带） ---------------- */
.level-tag{
  width: 62%;
  margin: 10px auto;
  padding: 8px 0;
  background: linear-gradient(90deg, var(--rc), #ff7875);
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
}

/* ---------------- 新增：商品列表标题 + 投诉举报 ---------------- */
.goods-list-title{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 10px;
  font-size: 18px;
  font-weight: 600;
  background: #fff;
  margin-top: 8px;
}
.report-btn{
  font-size: 13px;
  color: #888;
  font-weight: 400;
  cursor: pointer;
}

/* ---------------- 新增：下方商品横向滚动 ---------------- */
.goods-swiper{
  width: 100%;
  overflow: hidden;
  padding: 6px 0 16px;
  background: #fff;
}
.goods-swiper-wrap{
  display: flex;
  width: max-content;
  animation: goodsScroll 35s linear infinite;
}
.goods-swiper:hover .goods-swiper-wrap{
  animation-play-state: paused;
}

@keyframes goodsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------------- 新增：举报弹窗样式 ---------------- */
.report-item{
  padding: 12px 14px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all .2s;
}
.report-item.active{
  border-color: #2b6cf6;
  color: #2b6cf6;
  background: #f0f5ff;
}
.report-input{
  width: 100%;
  height: 80px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 10px 0 16px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
  resize: none;
  font-family: inherit;
}

/* ---------------- 新增：底部双按钮 ---------------- */
.bxd-foot{
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
  z-index: 100;
}
.bxd-open{
  flex: 2;
  border: 0;
  border-radius: 25px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 14px 0;
  cursor: pointer;
  background: linear-gradient(90deg, #2b6cf6, #4b8bff);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(43,108,246,0.3);
}
.bxd-open span{ font-size: 14px; font-weight: 700; opacity: .95 }

.bxd-redpacket{
  flex: 1;
  border: 0;
  border-radius: 25px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 14px 0;
  cursor: pointer;
  background: linear-gradient(90deg, #ff6b9d, #ff4d94);
  box-shadow: 0 4px 12px rgba(255,77,148,0.3);
}

/* ---------------- 多行横排滚轮 ---------------- */
.rk-stage{width:100%;display:flex;flex-direction:column;align-items:center}
.rk-title{font-size:16px;font-weight:800;color:#fff;letter-spacing:2px;margin:6px 0 12px;text-shadow:0 0 12px rgba(64,224,208,.6)}
.rk-box{position:relative;width:100%;overflow:hidden;padding:6px 0}
.rk-pointer{position:absolute;left:50%;top:-6px;bottom:-6px;width:2px;background:#40e0d0;z-index:6;box-shadow:0 0 10px rgba(64,224,208,.9)}
.rk-pointer:before,.rk-pointer:after{content:"";position:absolute;left:-4px;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent}
.rk-pointer:before{top:0;border-top:7px solid #40e0d0}
.rk-pointer:after{bottom:0;border-bottom:7px solid #40e0d0}
.rk-row{position:relative;margin:0 0 14px}
.rk-track{display:flex;gap:6px;will-change:transform}
.rk-cell{flex:none;width:68px;height:60px;background:rgba(255,255,255,.05);border-radius:4px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.rk-cell img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 3px 6px rgba(0,0,0,.5))}
.rk-cell.hit{outline:2px solid #40e0d0;box-shadow:0 0 16px rgba(64,224,208,.65)}
.rk-bar{display:flex;gap:6px;margin-top:5px;height:7px}
.rk-seg{flex:none;width:68px;height:7px;transform:skewX(-24deg)}
.rk-skip{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#d6f7f2;border-radius:6px;font-size:13px;font-weight:700;padding:9px 34px}
/* ---------------- 开奖卡片墙 ---------------- */
.win-wrap{opacity:0;transform:translateY(14px);transition:all .5s ease;margin-top:20px;width:100%}
.win-wrap.show{opacity:1;transform:none}
.win-banner{
  margin:0 auto 20px;width:70%;text-align:center;color:#ffb347;font-size:24px;font-weight:900;letter-spacing:6px;font-style:italic;
  text-shadow:0 0 14px rgba(255,140,40,.7);position:relative;
}
.win-banner:before,.win-banner:after{content:"";position:absolute;top:50%;width:16%;height:2px;background:linear-gradient(90deg,transparent,#ff8c28)}
.win-banner:before{left:-14%}
.win-banner:after{right:-14%;transform:scaleX(-1)}
.win-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
.win-card{
  position:relative;width:30%;min-width:104px;max-width:150px;border-radius:10px;padding:26px 8px 14px;text-align:center;
  background:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,.03));
  border:1.5px solid var(--wc,#3fa9ff);box-shadow:0 0 14px rgba(255,255,255,.14),inset 0 0 18px rgba(255,255,255,.05);
}
.win-card:before{content:"";position:absolute;top:-1px;left:12%;right:12%;height:5px;background:repeating-linear-gradient(90deg,var(--wc,#3fa9ff) 0 6px,transparent 6px 10px)}
.win-lv{position:absolute;top:10px;left:10px;font-size:11px;font-weight:800;color:var(--wc,#3fa9ff)}
.win-card img{width:64%;max-width:92px;height:auto;object-fit:contain;margin:0 auto 8px;display:block;filter:drop-shadow(0 6px 10px rgba(0,0,0,.45))}
.win-name{font-size:12px;color:#fff;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.win-price{font-size:11px;color:#cfd8dc;margin-top:5px}
.win-actions{display:flex;gap:16px;margin:26px 8px 0}
.win-btn{
  flex:1;border:0;border-radius:6px;padding:14px 0;font-size:16px;font-weight:800;font-style:italic;color:#fff;cursor:pointer;
  background:linear-gradient(180deg,#3a4a63,#1c2534);box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);
}
.win-btn.hot{color:#ff5f6d}
/* 试玩动画全屏遮罩 */
.try-result-mask{
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 10%,#151d26,#0a0f15 55%,#05080b);
  z-index: 999;
  color: #fff;
  overflow-y: auto;
}
.try-stage{
  padding: 60px 12px 40px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.try-stage .hint{
  font-size: 12px;
  color: #8fd8cf;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
/* 详情页主图精准缩小 */
#mainSwiper .main-slide-item {
    height: 210px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
#mainSwiper .main-slide-item img {
    max-height: 190px !important;
    width: auto !important;
    object-fit: contain;
}

/* 底部按钮整体上移 */
.bxd-bottom,
[class*="buy-bar"] {
    margin-top: -16px !important;
    padding-top: 8px !important;
}
/* 提货栏固定底部悬浮 */
.vault-bar {
  position: fixed !important;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  z-index: 100;
  margin: 0 !important;
  border-radius: 12px 12px 0 0;
}

/* 列表底部留白，防止最后一件商品被按钮挡住 */
.vault-list {
  padding-bottom: 90px;
}
/* 主页退款按钮 */
.refund-btn {
  display: block;
  width: 100%;
  padding: 8px 0;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
}

/* 退款弹窗 */
.refund-mask {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.refund-box {
  width: 85%;
  max-width: 360px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}
.refund-title {
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}
.refund-item {
  margin-bottom: 12px;
}
.refund-item label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}
.refund-item select,
.refund-item input,
.refund-item textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}
.refund-tip {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin: 12px 0;
  line-height: 1.5;
}
.refund-btns {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.refund-btns button {
  flex: 1;
  height: 40px;
  border: 0;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}
.refund-btns .cancel-btn {
  background: #f5f5f5;
  color: #666;
}
.refund-btns .submit-btn {
  background: linear-gradient(90deg,#ff5e5e,#ff2b4a);
  color: #fff;
}
/* 顶部按钮适配，放下三个按钮 */
.brand-actions {
  gap: 6px !important;
}
.brand-btn.text-btn {
  padding: 6px 12px !important;
  font-size: 13px !important;
}
/* 右侧竖排退款悬浮按钮 */
.right-refund-bar {
  position: fixed;
  right: 0;
  top: 32%;
  background: #fff;
  padding: 14px 8px;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-size: 14px;
  color: #333;
  writing-mode: vertical-rl;
  letter-spacing: 2px;
  z-index: 99;
  cursor: pointer;
}
/* 商品池网格卡片 */
.bxd-goods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px;
}
.bxd-goods-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.gc-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f7fafb;
}
.gc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gc-level-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
}
.gc-name {
  padding: 8px 10px 4px;
  font-size: 13px;
  color: #0f2b2e;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.gc-price {
  padding: 0 10px 10px;
  font-size: 13px;
  color: #e8502a;
  font-weight: 700;
}
.main-swiper-wrap {
  animation: none !important;
  transform: translateX(0) !important;
  transition: none !important;
}
.main-swiper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-swiper-wrap {
  width: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-slide-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-slide-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
