:root{--red:#ff626b;--ink:#263145;--muted:#98a1b1;--paper:#fff;--bg:#f7f8fb}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink)}button,input{font:inherit}button{border:0;cursor:pointer}.boot{height:100vh;display:grid;place-items:center;color:var(--muted)}.shell{max-width:760px;margin:auto;padding:14px 14px 96px}.top{display:flex;align-items:center;justify-content:space-between;padding:7px 2px 15px}.brand{font-weight:800;font-size:21px}.brand b{color:var(--red)}.auth{color:var(--red);background:#fff0f1;border-radius:18px;padding:8px 12px;font-size:13px}.search{display:flex;background:#fff;border:1px solid #f2e6e8;border-radius:25px;padding:5px 5px 5px 15px;box-shadow:0 7px 20px #e9edf655}.search input{border:0;outline:0;flex:1;min-width:0;background:transparent}.search button{color:#fff;background:linear-gradient(120deg,#ff7a70,#ff526b);border-radius:20px;padding:9px 18px;font-weight:700}.notice{margin:14px 0;padding:12px 14px;border-radius:12px;background:#fff;color:#606c80;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.notice strong{color:var(--red);margin-right:8px}.banner{margin:12px 0 20px;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#ffe4d2,#fff2e7);min-height:145px;position:relative}.banner img{width:100%;height:100%;max-height:270px;min-height:145px;object-fit:cover;display:block}.banner .fallback{padding:30px 24px;font-size:25px;font-weight:800;color:#b95b48}.section{background:#fff;border-radius:18px;margin:13px 0;padding:17px}.section-title{font-size:18px;font-weight:800;margin:0 0 15px}.category-row{display:flex;gap:18px;overflow:auto;padding:0 2px 8px}.category{min-width:62px;text-align:center;color:#536071;background:none}.category img{width:48px;height:48px;border-radius:50%;background:#fff2ec;padding:8px;object-fit:contain}.category span{display:block;font-size:13px;margin-top:6px;white-space:nowrap}.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product{background:#fff;border-radius:14px;overflow:hidden;text-align:left;padding:0;box-shadow:0 3px 15px #3540550d}.product img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:#f2f4f7}.product .info{padding:10px}.name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.45;height:41px;font-size:14px}.price{color:var(--red);font-size:19px;font-weight:800;margin-top:7px}.empty{grid-column:1/-1;text-align:center;color:var(--muted);padding:35px 5px}.detail{background:#fff;min-height:100vh;padding-bottom:84px}.detail header{padding:16px;position:sticky;top:0;background:#fff;z-index:3;border-bottom:1px solid #f2f3f6}.back{background:none;font-weight:700;color:var(--ink);padding:0}.detail img.hero{width:100%;aspect-ratio:1;object-fit:cover;background:#f3f4f6}.detail main{padding:18px}.detail h1{font-size:20px;line-height:1.45;margin:0 0 8px}.detail .desc{color:#778295;line-height:1.7;font-size:14px}.sku{margin-top:16px}.sku button{border:1px solid #ffd7d8;background:#fff9f8;color:#cc4b55;border-radius:16px;padding:7px 12px;margin:0 7px 7px 0}.buybar{position:fixed;bottom:0;left:0;right:0;background:#fff;padding:11px max(14px,calc((100vw - 760px)/2 + 14px));display:flex;gap:10px;box-shadow:0 -3px 15px #26314514}.buybar button{flex:1;border-radius:22px;padding:12px;font-weight:800}.outline{background:#fff0ef;color:var(--red)}.primary{background:linear-gradient(110deg,#ff7a70,#ff526b);color:#fff}.toast{position:fixed;z-index:9;bottom:90px;left:50%;transform:translateX(-50%);background:#293347;color:#fff;padding:10px 14px;border-radius:8px;font-size:13px;max-width:80%;text-align:center}.tabs{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:38px;background:#ffffffed;backdrop-filter:blur(10px);padding:11px calc(max(16px,(100vw - 760px)/2));box-shadow:0 -2px 16px #29334712}.tabs button{background:none;color:#8e98a9;font-size:12px}.tabs button:first-child{color:var(--red);font-weight:800}@media(min-width:640px){.shell{padding-top:26px}.products{grid-template-columns:repeat(3,1fr)}}
