/* 星途广州车展 · 移动端样式（基线 rem 方案 + SPA 各视图） */

/* 浏览器重置 */
*,*::before,*::after{box-sizing:border-box}
html{
  font-size:13.3333333333vw;
  font-size:-webkit-calc(100vw/7.5);
  -webkit-text-size-adjust:none;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
}
@media screen and (min-width:1081px){html{font-size:75px}}
body,div,ul,li,a,p,input,button,textarea,h1,h2,h3,h4,img,section{margin:0;padding:0;font-weight:normal;font-style:normal;font-family:inherit;box-sizing:border-box}
ul,li,ol{list-style:none}
a{text-decoration:none;color:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0)}
img{display:block;border:0;-ms-interpolation-mode:bicubic}
button{background:none;border:none;padding:0;margin:0;color:inherit;font:inherit;appearance:none;-webkit-appearance:none;-moz-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}
input,textarea{border:none;outline:none;background:none;font:inherit;-webkit-appearance:none;border-radius:0}
::-webkit-input-placeholder{color:#b8bcc6}
input:-moz-placeholder,textarea:-moz-placeholder{color:#b8bcc6}

body{
  font-size:.28rem;color:#fff;
  background:#1b3a6b url("../assets/bg.jpg") no-repeat center top;
  background-size:100% auto;
  background-attachment:fixed;
  min-height:100vh;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}

/* 页面容器 */
.uc-wrap{width:7.5rem;margin:0 auto;position:relative;overflow:hidden;min-height:100vh}
.uc-safe-bottom{padding-bottom:calc(0px + constant(safe-area-inset-bottom));padding-bottom:calc(0px + env(safe-area-inset-bottom))}

/* logo 常驻所有图层之上 */
.uc-logo{position:fixed;top:.44rem;left:.44rem;width:2.33rem;z-index:9999;pointer-events:none}

/* 通用视图容器（整宽切图需顶到边，内边距由具体元素自控） */
.page{min-height:100vh;display:flex;flex-direction:column;align-items:center;position:relative}

/* 主标题（白）/ 副标题（金） */
.t-main{color:#fff;font-weight:700;letter-spacing:.06rem;text-align:center}
.t-gold{color:#d8c48f;font-weight:700;letter-spacing:.14rem;text-align:center}

/* ============ 01 首页 ============ */
.page-home{justify-content:flex-start}
.home-title{width:6.5rem;margin-top:3.1rem}
.home-btn{margin-top:auto;margin-bottom:1.8rem;width:2.9rem}
.home-btn img{width:100%}
.home-btn:active{opacity:.85}

/* ============ 02 完善 ============ */
.uc-card{
  width:6.9rem;margin-top:3.2rem;
  background:rgba(238,240,250,.95);
  border-radius:.4rem;padding:.5rem .5rem .55rem;
  box-shadow:0 .2rem .6rem rgba(0,0,0,.18);
}
.card-title{color:#12233f;font-size:.5rem;font-weight:700;text-align:center;margin-bottom:.44rem;letter-spacing:.04rem}
.field{margin-bottom:.24rem}
.field .lab{color:#12233f;font-size:.34rem;font-weight:700;margin-bottom:.12rem}
.field .lab i{color:#12233f;font-style:normal;margin-left:.04rem}
.input-box{background:#e7e9ee;border-radius:.16rem;padding:0 .3rem;height:.84rem;display:flex;align-items:center}
.input-box input{flex:1;height:100%;color:#12233f;font-size:.32rem}
.input-box .sms-btn{color:#12233f;font-size:.32rem;font-weight:700;padding-left:.24rem;white-space:nowrap}
.input-box .sms-btn.off{color:#9aa0ad}
.form-tip{color:#8a909c;font-size:.24rem;text-align:center;margin:.1rem 0 .3rem}
.btn-confirm{width:3.72rem;height:.79rem;display:block;margin:0 auto}
.btn-confirm img{width:100%;height:100%}
.btn-confirm:active{opacity:.85}
.btn-confirm.dis img{filter:grayscale(.6);opacity:.6}
.agree{display:flex;align-items:center;justify-content:center;margin-top:.36rem;color:#12233f;font-size:.3rem}
.agree img{width:.34rem;height:.34rem;margin-right:.16rem}
.agree .link{color:#1f4e93}

/* ============ 弹框通用（遮罩 rgba(0,0,0,.8)） ============ */
.mask{position:fixed;inset:0;background:rgba(0,0,0,.8);z-index:8000;display:flex;align-items:center;justify-content:center}
.mask .box{width:100%;position:relative}

/* 03 隐私政策 */
.privacy-card{width:6.9rem;background:#fff;border-radius:.4rem;padding:.6rem .5rem;box-shadow:0 .2rem .6rem rgba(0,0,0,.25)}
.privacy-card .pt{color:#12233f;font-size:.46rem;font-weight:700;text-align:center;margin-bottom:.4rem}
.privacy-body{max-height:5.2rem;overflow-y:auto;color:#3a4256;font-size:.28rem;line-height:.52rem;text-align:justify}
.privacy-body p{margin-bottom:.24rem}
.privacy-body h4{color:#12233f;font-weight:700;margin:.3rem 0 .16rem}
.btn-back{width:3.02rem;height:.7rem;display:block;margin:.5rem auto 0}
.btn-back img{width:100%;height:100%}
.btn-back:active{opacity:.85}

/* ============ 05 展区介绍（标题/星标/虚线均在 booth 整图内） ============ */
.expo-booth{width:7.5rem;margin-top:.3rem}
.expo-booth img{width:100%}
.expo-btns{margin-top:.5rem;width:6.4rem}
.expo-btns .b1{width:100%;margin-bottom:.3rem}
.expo-btns .row2{display:flex;justify-content:space-between}
.expo-btns .row2 .b{width:48%}
.expo-btns img{width:100%}
.expo-btns .b:active,.expo-btns .b1:active{opacity:.85}

/* 04 介绍弹框（整图卡片 + 关闭） */
.intro-box{display:flex;flex-direction:column;align-items:center}
.intro-box img.card{width:7.5rem}
.intro-close{width:.6rem;margin-top:.5rem}
.intro-close img{width:100%}

/* ============ 06 盲盒（标语+见面礼在 title1 整图内） ============ */
.page-blind{justify-content:flex-start}
.blind-title{width:7.5rem;margin-top:2.4rem}
.blind-title img,.blind-title{display:block}
.blind-cube{width:4.5rem;margin-top:2rem}
.blind-cube img{width:100%}
.blind-draw{width:3.6rem;margin-top:.6rem}
.blind-draw img{width:100%}
.blind-draw:active{opacity:.85}
.blind-draw.dis{opacity:.5;pointer-events:none}
/* 抽奖动画覆盖 */
.blind-anim{position:fixed;inset:0;background:rgba(0,0,0,.8);z-index:8500;display:flex;align-items:center;justify-content:center}
.blind-anim img{width:5.4rem}
/* 状态卡（暂未开放/已结束） */
.state-card{width:7.5rem;margin-top:1.4rem}
.state-card img{width:100%}

/* 08 见面礼弹框：页首标题图 + 卡片整图 + 叠加产品名与二维码 */
.gift-box{display:flex;flex-direction:column;align-items:center}
.gift-top{width:7.5rem;margin-bottom:.5rem}
.gift-card{width:7.5rem;position:relative}
.gift-card>img{width:100%}
.gift-overlay{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:center}
.gift-name{margin-top:1.55rem;color:#d8c48f;font-size:.36rem;font-weight:700;text-align:center;padding:0 .5rem;letter-spacing:.02rem}
.gift-qr{margin-top:.55rem;width:1.7rem;height:1.7rem;background:#fff;border-radius:.1rem;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.gift-qr img{width:1.56rem;height:1.56rem}
.gift-qr.used img{filter:grayscale(1) blur(3px) contrast(.6);opacity:.55}
.gift-qr .used-tip{position:absolute;inset:0;display:none;align-items:center;justify-content:center;color:#c0392b;font-weight:700;font-size:.3rem;background:rgba(255,255,255,.4)}
.gift-qr.used .used-tip{display:flex}
.gift-thanks{margin-top:2.6rem;color:#d8c48f;font-size:.36rem;font-weight:700;text-align:center;line-height:.6rem}
.gift-close{width:.6rem;margin-top:.5rem}
.gift-close img{width:100%}

/* ============ 09 星耀瞬间（标题与说明卡均在整图内） ============ */
.page-moment{justify-content:flex-start}
.moment-card{width:7.5rem;margin-top:1.4rem}
.moment-card img{width:100%}
.moment-photo{width:2.24rem;margin-top:1rem}
.moment-photo img{width:100%}
.moment-photo:active{opacity:.85}
/* 拍照提示弹框 */
.tip-card{width:6.4rem;background:rgba(238,240,250,.97);border-radius:.4rem;padding:.7rem .5rem;text-align:center}
.tip-card .tt{color:#12233f;font-size:.44rem;font-weight:700;margin-bottom:.3rem}
.tip-card .tc{color:#3a4256;font-size:.34rem;line-height:.6rem}
.tip-card .btn-ok{width:3.02rem;margin:.5rem auto 0;display:block}
.tip-card .btn-ok img{width:100%}

/* ============ 10 向新秀场（标题与卡片均在整图内） ============ */
.page-show{justify-content:flex-start}
.show-card{width:7.5rem;margin-top:1.9rem}
.show-card img{width:100%}
.show-close{width:.6rem;margin-top:.6rem;margin-bottom:1rem}
.show-close img{width:100%}

/* 通用加载/报错轻提示 */
.toast{position:fixed;left:50%;top:40%;transform:translateX(-50%);background:rgba(0,0,0,.82);color:#fff;padding:.28rem .5rem;border-radius:.16rem;font-size:.32rem;z-index:9500;max-width:6rem;text-align:center}
