*{box-sizing:border-box}body{margin:0;background:#eaf1fa;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#1d2233}#app{max-width:720px;margin:auto;min-height:100vh;background:#fffaf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='120'%3E%3Cpath d='M0 90 Q70 20 160 80' fill='none' stroke='%23e6eee7'/%3E%3Cellipse cx='120' cy='42' rx='12' ry='5' fill='%23edf2eb' transform='rotate(-25 120 42)'/%3E%3C/svg%3E");padding:28px 32px 110px}.page{display:none}.page.active{display:block}.hero{height:255px;margin:70px 30px 105px;border-radius:18px;background:linear-gradient(145deg,#fff,#fff7f4);box-shadow:0 14px 35px #dde3e9}.card{background:#fff;border-radius:18px;padding:26px;margin:22px 0;box-shadow:0 10px 30px #dfe4e9aa}.login-card h1{margin:0}.muted{color:#8f98a8}label{display:block;font-weight:700;margin:24px 0 10px}input{width:100%;padding:20px;border:1px solid #e2e5ea;border-radius:13px;font-size:18px;background:#fafbfc}button{width:100%;border:0;border-radius:18px;padding:18px;font-size:20px;font-weight:700;color:white;background:linear-gradient(100deg,#ff6a4f,#ff3565);box-shadow:0 10px 24px #ff647844}.row{display:flex;justify-content:space-between;align-items:center}.small{font-size:15px;margin:20px 0}.right{text-align:right}.features{display:flex;justify-content:space-around;background:#fff;padding:20px;border-radius:14px}.banner{height:255px;padding:35px 20px;font-size:48px;font-weight:800;background:linear-gradient(120deg,#fff,#ffb9a5);border-radius:15px;margin-bottom:30px}.banner small{display:block;font-size:16px;margin-top:18px}.grid4{display:grid;grid-template-columns:1fr 1fr;gap:12px}.grid4 div{padding:12px;background:#fafbfc;border-radius:10px}.grid4 small,.grid4 strong{display:block}.grid4 strong{font-size:22px;margin-top:5px}.pink{background:#fff0f1!important;color:#ff5661}.notice,.hint{border:1px solid #ffd0c3;background:#fff9f3;padding:20px;border-radius:14px;color:#a04b3d}.member{background:#fff7e8}.pills{display:flex;gap:8px;flex-wrap:wrap}.pills>*{padding:10px 18px;background:#edf0f5;border-radius:20px}.pills b{background:#2e1e13;color:white}.card em{float:right;background:linear-gradient(90deg,#ffa51c,#ff7154);padding:8px 14px;border-radius:20px;color:white}.shops{display:flex;justify-content:space-between}.shops span{font-size:28px;padding:22px;border:1px solid #ffd0c3;border-radius:15px}.profile{background:linear-gradient(110deg,#ff6752,#ff3567);color:white;border-radius:15px;padding:25px 35px}.avatar{float:left;font-size:55px;margin-right:22px}.profile h2{margin:0}.balance{padding:25px;background:#fff0f1;border-radius:14px}.balance strong{display:block;font-size:36px;color:#ff4c5d}.twobtn{display:flex;gap:16px;margin-top:18px}.dark{background:#302016}.menu p{padding:18px 0;border-bottom:1px solid #eee}.support{text-align:center;padding:45px}.support>span{color:#ff664f}.agent{font-size:100px;margin:80px}.products{display:grid;grid-template-columns:1fr 1fr;gap:18px}.products article{background:white;border-radius:14px;overflow:hidden;box-shadow:0 6px 18px #ddd;padding-bottom:15px}.products h3,.products b,.products small{margin:12px;display:block}.products b{color:#ff5360;font-size:22px}.products small{text-align:right;color:#8791a1}.ph{height:250px;display:flex;align-items:center;justify-content:center;font-size:58px;background:#f7e9e3}header{text-align:center;font-size:28px;font-weight:800;margin:25px}.empty,.center{text-align:center;padding:80px 20px}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:720px;width:100%;height:92px;background:#fff;display:flex;justify-content:space-around;align-items:center;border-top:1px solid #eee}nav a{font-size:25px;text-align:center;color:#778092}nav small{display:block;font-size:14px}.main{background:#ff5860;color:white;border-radius:50%;padding:12px}.hidden{display:none!important}@media(max-width:480px){#app{padding:18px 18px 105px}.hero{margin:45px 10px 70px;height:180px}.banner{font-size:38px;height:210px}.products .ph{height:180px}}
/* ===== 登录后首页：参考图移动端布局 ===== */
#home{
  padding:18px 16px 125px;
    background:#f7fafc;
    }

    #home .home-banner{
      height:255px;
        border-radius:18px;
          margin-bottom:28px;
            overflow:hidden;
              position:relative;
                padding:28px 25px;
                  background:linear-gradient(135deg,#fff1eb,#fac8b8);
                    box-shadow:0 4px 18px rgba(0,0,0,.03);
                    }

                    #home .banner-copy strong{
                      display:block;
                        font-size:42px;
                          line-height:1.08;
                            font-weight:900;
                              color:#181b2b;
                                letter-spacing:-1px;
                                }

                                #home .banner-copy span{
                                  display:block;
                                    margin-top:25px;
                                      font-size:18px;
                                        font-weight:700;
                                          color:#242535;
                                          }

                                          #home .banner-copy small{
                                            display:block;
                                              margin-top:8px;
                                                font-size:14px;
                                                  color:#666;
                                                  }

                                                  #home .banner-dots{
                                                    position:absolute;
                                                      left:0;
                                                        right:0;
                                                          bottom:12px;
                                                            text-align:center;
                                                            }

                                                            #home .banner-dots i{
                                                              display:inline-block;
                                                                width:8px;
                                                                  height:8px;
                                                                    margin:0 4px;
                                                                      border-radius:20px;
                                                                        background:#ffd3c7;
                                                                        }

                                                                        #home .banner-dots i.active{
                                                                          width:28px;
                                                                            background:#ff725e;
                                                                            }

                                                                            #home .account-v2{
                                                                              background:#fff;
                                                                                border-radius:18px;
                                                                                  padding:24px;
                                                                                    margin-bottom:20px;
                                                                                      box-shadow:0 5px 24px rgba(30,40,60,.05);
                                                                                      }

                                                                                      #home .account-v2 h3{
                                                                                        margin:0 0 20px;
                                                                                          font-size:22px;
                                                                                            color:#181b2b;
                                                                                            }

                                                                                            #home .account-grid{
                                                                                              display:grid;
                                                                                                grid-template-columns:1fr 1fr;
                                                                                                  gap:12px;
                                                                                                  }

                                                                                                  #home .account-grid>div{
                                                                                                    min-height:82px;
                                                                                                      padding:14px;
                                                                                                        border-radius:13px;
                                                                                                          background:#f7f8fa;
                                                                                                          }

                                                                                                          #home .account-grid small{
                                                                                                            display:block;
                                                                                                              margin-bottom:7px;
                                                                                                                font-size:14px;
                                                                                                                  color:#7c8495;
                                                                                                                  }

                                                                                                                  #home .account-grid strong{
                                                                                                                    display:block;
                                                                                                                      font-size:24px;
                                                                                                                        color:#171a2a;
                                                                                                                        }

                                                                                                                        #home .account-grid .pink{
                                                                                                                          background:#fff0f2;
                                                                                                                          }

                                                                                                                          #home .account-grid .pink small,
                                                                                                                          #home .account-grid .pink strong{
                                                                                                                            color:#f05f67;
                                                                                                                            }

                                                                                                                            #home .notice{
                                                                                                                              margin:0 0 20px;
                                                                                                                                padding:17px 20px;
                                                                                                                                  border:1px solid #ffc9b8;
                                                                                                                                    border-radius:15px;
                                                                                                                                      background:#fffaf7;
                                                                                                                                        color:#a64e3d;
                                                                                                                                          font-size:15px;
                                                                                                                                            font-weight:600;
                                                                                                                                            }

                                                                                                                                            #home .member-v2{
                                                                                                                                              padding:22px;
                                                                                                                                                margin-bottom:20px;
                                                                                                                                                  border-radius:18px;
                                                                                                                                                    background:linear-gradient(135deg,#fff9eb,#fff0dc);
                                                                                                                                                      box-shadow:0 4px 18px rgba(0,0,0,.03);
                                                                                                                                                      }

                                                                                                                                                      #home .member-v2 small{
                                                                                                                                                        font-size:14px;
                                                                                                                                                          color:#666;
                                                                                                                                                          }

                                                                                                                                                          #home .member-v2 h2{
                                                                                                                                                            margin:7px 0 15px;
                                                                                                                                                              font-size:27px;
                                                                                                                                                                color:#241b16;
                                                                                                                                                                }

                                                                                                                                                                #home .member-v2 button{
                                                                                                                                                                  border:0;
                                                                                                                                                                    border-radius:22px;
                                                                                                                                                                      padding:10px 18px;
                                                                                                                                                                        background:#402313;
                                                                                                                                                                          color:#fff;
                                                                                                                                                                            font-weight:700;
                                                                                                                                                                            }

                                                                                                                                                                            #home .links-v2{
                                                                                                                                                                              padding:22px;
                                                                                                                                                                                border-radius:18px;
                                                                                                                                                                                  background:#fff;
                                                                                                                                                                                    box-shadow:0 5px 24px rgba(30,40,60,.05);
                                                                                                                                                                                    }

                                                                                                                                                                                    #home .links-v2 h3{
                                                                                                                                                                                      margin:0 0 18px;
                                                                                                                                                                                        font-size:20px;
                                                                                                                                                                                        }

                                                                                                                                                                                        #home .shops{
                                                                                                                                                                                          display:grid;
                                                                                                                                                                                            grid-template-columns:repeat(4,1fr);
                                                                                                                                                                                              gap:10px;
                                                                                                                                                                                              }

                                                                                                                                                                                              #home .shops span{
                                                                                                                                                                                                display:flex;
                                                                                                                                                                                                  align-items:center;
                                                                                                                                                                                                    justify-content:center;
                                                                                                                                                                                                      min-height:65px;
                                                                                                                                                                                                        border:1px solid #ffd0c4;
                                                                                                                                                                                                          border-radius:13px;
                                                                                                                                                                                                            background:#fff8f5;
                                                                                                                                                                                                              font-size:18px;
                                                                                                                                                                                                                font-weight:700;
                                                                                                                                                                                                                }

                                                                                                                                                                                                                #nav{
                                                                                                                                                                                                                  position:fixed;
                                                                                                                                                                                                                    z-index:999;
                                                                                                                                                                                                                      left:50%;
                                                                                                                                                                                                                        bottom:0;
                                                                                                                                                                                                                          transform:translateX(-50%);
                                                                                                                                                                                                                            width:100%;
                                                                                                                                                                                                                              max-width:720px;
                                                                                                                                                                                                                                height:88px;
                                                                                                                                                                                                                                  padding-bottom:env(safe-area-inset-bottom);
                                                                                                                                                                                                                                    background:rgba(255,255,255,.97);
                                                                                                                                                                                                                                      border-top:1px solid #eee;
                                                                                                                                                                                                                                        display:flex;
                                                                                                                                                                                                                                          align-items:center;
                                                                                                                                                                                                                                            justify-content:space-around;
                                                                                                                                                                                                                                              box-shadow:0 -5px 20px rgba(0,0,0,.04);
                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                              #nav a{
                                                                                                                                                                                                                                                flex:1;
                                                                                                                                                                                                                                                  text-align:center;
                                                                                                                                                                                                                                                    color:#7b8496;
                                                                                                                                                                                                                                                      font-size:23px;
                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                      #nav a small{
                                                                                                                                                                                                                                                        display:block;
                                                                                                                                                                                                                                                          margin-top:4px;
                                                                                                                                                                                                                                                            font-size:13px;
                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                            #nav a.main{
                                                                                                                                                                                                                                                              margin-top:-28px;
                                                                                                                                                                                                                                                                max-width:70px;
                                                                                                                                                                                                                                                                  height:70px;
                                                                                                                                                                                                                                                                    padding-top:12px;
                                                                                                                                                                                                                                                                      border-radius:50%;
                                                                                                                                                                                                                                                                        background:#ff6269;
                                                                                                                                                                                                                                                                          color:#fff;
                                                                                                                                                                                                                                                                            box-shadow:0 5px 15px rgba(255,98,105,.25);
                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                            #nav.hidden{
                                                                                                                                                                                                                                                                              display:none !important;
                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                              @media(max-width:480px){
                                                                                                                                                                                                                                                                                #home{
                                                                                                                                                                                                                                                                                    padding:16px 14px 120px;
                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                        #home .home-banner{
                                                                                                                                                                                                                                                                                            height:220px;
                                                                                                                                                                                                                                                                                                padding:24px 20px;
                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                    #home .banner-copy strong{
                                                                                                                                                                                                                                                                                                        font-size:36px;
                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                            #home .account-v2{
                                                                                                                                                                                                                                                                                                                padding:20px;
                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                    #home .account-grid strong{
                                                                                                                                                                                                                                                                                                                        font-size:21px;
                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                          }

