:root{font-family:'Microsoft YaHei','PingFang SC',sans-serif;color:#163c35;background:#f4f7f6;--green:#186855;--muted:#87968f;--line:#e8ede9}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:2px solid #4eaa86;outline-offset:-2px}input:focus,textarea:focus{outline:2px solid #77ab97}svg{display:block}#app{height:100dvh;max-width:540px;margin:auto;display:flex;flex-direction:column;position:relative;overflow:hidden;background:#f4f7f6}#top{padding:18px 21px 12px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{display:flex;align-items:center;gap:9px}.logo{display:grid;place-items:center;width:34px;height:35px;background:#17634f;color:#deedb9;font-size:35px;border-radius:11px 11px 11px 3px;line-height:1}.brand b{font-size:19px;letter-spacing:1px}.brand small{display:block;font-size:7px;letter-spacing:1.6px;margin-top:4px;color:#8a9b91}.circle{background:white;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}.circle svg{width:20px;height:20px}.screen-title{font-size:20px;margin:0}.top-hint{font-size:10px;color:#8a9b91}#screen{flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;padding:0 20px 22px}#screen::-webkit-scrollbar{display:none}.search{width:100%;border:0;border-radius:13px;background:white;display:flex;align-items:center;gap:9px;padding:13px 15px;margin:4px 0 18px;text-align:left;color:#9aa69f;font-size:11px}.search svg{width:17px;height:17px}.search input{width:100%;border:0;background:none;outline:0;font-size:12px;min-width:0}.hero{height:210px;border-radius:19px;background:linear-gradient(120deg,#dcebd9,#e6efdd);position:relative;overflow:hidden;padding:23px 19px}.eyebrow{font-size:7px;letter-spacing:2px;color:#69876a}.hero h1{font-size:26px;line-height:1.4;margin:10px 0 8px;letter-spacing:1px;font-weight:600}.hero p{font-size:9px;color:#69806c;margin:0;position:relative;z-index:1}.hero button{border-radius:20px;background:#206953;color:white;font-size:10px;padding:9px 14px;margin-top:17px;position:relative;z-index:1}.hero button span{padding-left:14px}.hero-art{position:absolute;width:235px;height:215px;right:-48px;bottom:-4px;pointer-events:none}.hero-art svg{width:100%;height:100%}.dots{position:absolute;bottom:12px;left:50%;display:flex;gap:3px}.dots i{width:4px;height:4px;border-radius:3px;background:#a8bea1}.dots i:first-child{width:12px;background:#557c5a}.benefits{display:flex;justify-content:space-between;align-items:center;margin:15px 2px;color:#708775;font-size:9px}.benefits span{display:flex;align-items:center;gap:4px}.benefits svg{width:12px;height:12px}.shortcuts{display:grid;grid-template-columns:repeat(4,1fr);background:white;border-radius:15px;padding:15px 3px;margin:16px 0 23px;gap:4px}.shortcut{font-size:10px;padding:0;display:flex;flex-direction:column;align-items:center;gap:8px}.badge{width:41px;height:41px;display:grid;place-items:center;border-radius:14px;background:#eaf3ec;color:#4e8d72}.shortcut:nth-child(2) .badge{background:#e7eff5;color:#5780a4}.shortcut:nth-child(3) .badge{background:#faf0df;color:#b38c48}.shortcut:nth-child(4) .badge{background:#edf0e1;color:#799050}.badge svg{width:23px;height:23px}.section-line{display:flex;justify-content:space-between;align-items:center;margin:0 0 13px}.section-line h2{font-size:18px;margin:0;letter-spacing:.6px}.section-line button{font-size:10px;color:#91a096;padding:5px}.section-line p{font-size:9px;color:#91a096;margin:5px 0 0}.chips{display:flex;gap:8px;overflow:auto;scrollbar-width:none;margin:15px 0}.chip{flex-shrink:0;background:white;color:#8a9c90;border-radius:20px;padding:9px 14px;font-size:11px}.chip.active{background:#206951;color:white}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.card{background:white;border-radius:15px;overflow:hidden;position:relative;text-align:left}.product-open{width:100%;padding:0;text-align:left}.art{height:154px;position:relative;background:var(--bg,#e8efe8);margin:6px;border-radius:11px;overflow:hidden}.art svg{width:100%;height:100%}.tag{position:absolute;top:9px;left:8px;font-size:8px;background:#ffffffad;border-radius:5px;padding:4px 6px}.product-text{padding:7px 12px 0}.product-text h3{font-size:11px;margin:0 0 6px;line-height:1.6;font-weight:600}.product-text p{font-size:8px;color:#95a295;margin:0;line-height:1.5}.price-row{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 12px}.price{font-family:Arial,sans-serif;font-size:20px;font-weight:600;color:#206e56}.price small{font-size:11px;margin-right:2px}.sold{font-size:8px;color:#a0aa9e;margin-top:4px}.add{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#206e56;color:white;font-size:19px}.bottom-note{text-align:center;font-size:9px;color:#9ba79d;margin:24px 0 5px}#nav{display:flex;justify-content:space-around;background:white;border-top:1px solid var(--line);padding:10px 6px max(11px,env(safe-area-inset-bottom));flex-shrink:0;z-index:4}#nav button{display:flex;flex-direction:column;align-items:center;gap:5px;width:25%;font-size:9px;color:#9ba49c;position:relative}#nav svg{width:21px;height:21px}#nav button.active{color:#207052;font-weight:600}#nav button.active::before{position:absolute;content:'';top:-11px;width:20px;height:3px;border-radius:0 0 3px 3px;background:#277354}.count{position:absolute;top:-5px;left:56%;border-radius:9px;min-width:15px;height:15px;background:#d8965e;color:#fff;font-size:9px;display:grid;place-items:center;border:2px solid white}.empty{text-align:center;padding:70px 18px}.empty svg{width:45px;height:45px;margin:0 auto 20px;color:#96af9e}.empty h2{font-size:18px}.empty p{font-size:12px;line-height:1.9;color:#8a9b8e}.primary{background:#206951;color:#fff;border-radius:12px;padding:15px 20px;width:100%;font-size:13px;font-weight:600}.secondary{background:#e6eee6;color:#3e7755;border-radius:12px;padding:14px 20px;width:100%;font-size:12px;margin-top:10px}.empty .primary{width:auto;margin-top:15px}.cart-line{display:flex;padding:13px 12px;gap:12px;background:#fff;border-radius:14px;margin:12px 0}.cart-art{width:76px;height:87px;border-radius:10px;background:var(--bg);flex-shrink:0}.cart-art svg{width:100%;height:100%}.cart-info{flex:1;min-width:0}.cart-info h3{font-size:12px;line-height:1.7;margin:3px 0 5px}.cart-info p{font-size:9px;color:#8b9b8f;margin:0 0 12px}.cart-bottom{display:flex;align-items:center;justify-content:space-between;gap:4px}.cart-bottom .price{font-size:18px}.qty{display:flex;align-items:center;gap:9px;font-size:12px}.qty button{width:28px;height:28px;border-radius:7px;background:#f0f4ed}.subtotal{background:white;padding:19px;border-radius:14px;margin:15px 0}.sum{display:flex;justify-content:space-between;font-size:12px;margin-bottom:15px}.sum:last-child{margin:0;padding-top:13px;border-top:1px solid #edf0e8;align-items:center}.subtle{color:#8b9b8e;font-size:10px;line-height:1.8}.notice{font-size:10px;line-height:1.9;background:#eaf0e0;color:#7b8c66;padding:12px;border-radius:11px;margin:12px 0}.profile{display:flex;align-items:center;gap:13px;padding:17px 0 23px}.avatar{width:61px;height:61px;border:3px solid white;border-radius:50%;background:#dce9d5;display:grid;place-items:center;color:#547e58;font-size:24px}.profile h2{font-size:20px;margin:0 0 7px}.profile p{font-size:10px;color:#899d8c;margin:0}.menu{background:white;border-radius:14px;padding:0 18px;margin:14px 0}.menu button{display:flex;align-items:center;justify-content:space-between;font-size:12px;width:100%;padding:19px 0;border-bottom:1px solid #eef2e9}.menu button:last-child{border:0}.menu span{color:#9aaa9c;font-size:11px}.order-box{background:white;padding:16px;border-radius:14px;margin:14px 0}.order-head{display:flex;justify-content:space-between;font-size:10px;color:#8b9b8c;margin-bottom:15px}.order-head b{color:#5d8056;background:#edf3e6;padding:3px 6px;border-radius:5px;font-weight:400}.order-item{display:flex;justify-content:space-between;gap:9px;font-size:11px;line-height:1.8;margin:8px 0}.order-total{text-align:right;border-top:1px solid #eef2e9;padding-top:12px;margin-top:15px;font-size:11px}.order-total strong{font-size:18px;margin-left:7px}.form{background:white;padding:18px;border-radius:14px}.form label{display:block;font-size:12px;margin:4px 0 17px}.form input,.form textarea{display:block;width:100%;border:1px solid #e2e9e0;border-radius:9px;padding:12px;margin-top:8px;resize:vertical;min-width:0;font-size:12px}.error{color:#a05b42;font-size:11px;line-height:1.7;margin:10px 0}.detail-art{background:var(--bg);height:285px;border-radius:20px;margin-bottom:21px;position:relative}.detail-art svg{width:100%;height:100%}.detail h1{font-size:23px;margin:15px 0 10px}.detail p{font-size:12px;line-height:1.9;color:#8a9b8e}.detail-spec{padding:18px;background:white;border-radius:14px;font-size:12px;line-height:2;margin:22px 0}.buybar{display:flex;gap:10px;margin:17px 0}.buybar .primary{flex:1}.success{padding-top:40px;text-align:center}.check{width:70px;height:70px;background:#dfecd5;border-radius:50%;margin:0 auto 25px;display:grid;place-items:center;font-size:34px;color:#567e55}.success h2{font-size:24px}.success p{font-size:12px;color:#8a9b8d;line-height:1.9}.success .primary{margin-top:25px}dialog{border:0;background:#f4f7f6;border-radius:18px;color:#163c35;padding:22px;width:min(340px,90vw)}dialog::backdrop{background:#173c3555;backdrop-filter:blur(3px)}dialog h2{font-size:20px}dialog p{font-size:12px;line-height:1.9;color:#7f947f}#toast{position:absolute;bottom:85px;left:50%;transform:translateX(-50%);max-width:90%;width:max-content;z-index:6;background:#254d41ef;color:white;border-radius:11px;padding:12px 18px;font-size:11px;opacity:0;pointer-events:none;transition:opacity .15s}#toast.show{opacity:1}@media(max-width:350px){#screen{padding-left:14px;padding-right:14px}.hero h1{font-size:24px}.hero-art{right:-67px}.art{height:133px}.qty{gap:4px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.avatar svg{width:28px;height:28px} #sort{background:transparent;border:0;font-size:10px;color:#829781;max-width:120px}
dialog.purchase-sheet{width:100%;max-width:540px;max-height:94dvh;margin:auto auto 0;border-radius:24px 24px 0 0;padding:0;background:#f7f9f7;overflow:hidden;flex-direction:column;box-shadow:0 -12px 50px #163c3524}dialog.purchase-sheet[open]{display:flex}.sheet-grip{width:35px;height:4px;border-radius:4px;background:#ccd7ce;margin:10px auto 2px;flex-shrink:0}.sheet-header{display:flex;justify-content:space-between;align-items:center;padding:15px 22px 14px;flex-shrink:0;border-bottom:1px solid #e7eee8}.sheet-header h2{font-size:21px;margin:6px 0 0}.sheet-header button{width:36px;height:36px;border-radius:50%;background:#eaf0e9;font-size:24px;color:#7f9383}.sheet-content{overflow:auto;padding:0 22px 12px;overscroll-behavior:contain}.purchase-product{display:flex;align-items:center;gap:14px;padding:17px 0}.purchase-product .cart-art{width:74px;height:80px}.purchase-product h3{font-size:12px;margin:0 0 7px}.purchase-product p{font-size:10px;line-height:1.5;margin:0 0 9px;color:#91a094}.purchase-product .price{font-size:19px}.purchase-meta{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font-size:12px;border-top:1px solid #e9eee9;gap:8px}.purchase-meta.subtle{font-size:10px;color:#8a9c8d}.purchase-meta .qty button{width:33px;height:32px;background:#e8eee7}.purchase-sheet button:disabled{opacity:.35;cursor:default}.purchase-amount{display:flex;justify-content:space-between;align-items:center;padding:14px 0 18px;font-size:12px}.purchase-amount .price{font-size:30px}.qr-panel{background:#fff;border:1px solid #e4ece3;border-radius:17px;text-align:center;padding:17px 15px 12px}.payment-method{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:17px}.payment-method b{font-size:9px;font-weight:400;background:#eaf1e8;color:#75916c;padding:5px 8px;border-radius:6px}.qr-image-area{width:190px;height:190px;margin:0 auto;display:grid;place-items:center;background:white;border-radius:13px;border:1px solid #e7ece6;overflow:hidden}.payment-qr{width:100%;height:100%;object-fit:contain;padding:6px}.qr-pending{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#91a393;min-height:180px}.qr-pending svg{width:66px;height:66px;color:#93aa91}.qr-pending strong{font-size:13px;font-weight:500;color:#7c957e}.qr-pending span{font-size:9px}.qr-panel .qr-description{font-size:10px;line-height:1.8;color:#9aaa99;margin:13px 0 0}.qr-panel .qr-merchant{font-size:11px;margin:12px 0 0}.purchase-note{font-size:10px!important;line-height:1.8!important;color:#94a28f!important;margin:15px 2px 0}.sheet-footer{padding:13px 22px max(18px,env(safe-area-inset-bottom));border-top:1px solid #e6ece4;background:#fff;flex-shrink:0}.sheet-footer .primary{border-radius:13px}

