﻿:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#111827;background:#eaf1f9;--blue:#1268f4;--muted:#718096;--line:#e5ebf4;--green:#16b984}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{background:radial-gradient(circle at top,#f8fbff,#e5edf7)}button,input{font:inherit}.app-shell{position:relative;width:100%;max-width:500px;min-height:100dvh;margin:auto;background:#f5f8fc;box-shadow:0 0 50px #25466b1c}.status-bar{position:fixed;z-index:20;top:0;width:100%;max-width:500px;height:30px;padding:8px 24px 0;display:flex;justify-content:space-between;font-size:11px;background:#f7fbffec}.status-bar span{letter-spacing:2px}.page{min-height:100dvh;padding:44px 15px 90px}.page.no-tabs{padding-bottom:25px}.native-head{height:42px;position:relative;display:flex;align-items:center;justify-content:center;margin-bottom:12px}.native-head h1{margin:0;font-size:18px}.back{position:absolute;left:-8px;width:40px;height:40px;border:0;background:none;font-size:28px;cursor:pointer}.mini{position:absolute;right:0;padding:7px 13px;border:1px solid var(--line);border-radius:18px;background:#fff;font-weight:800}.home-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.home-head h1{margin:0;color:#0a2a66;font-size:28px}.home-head p{margin:4px 0;color:var(--muted);font-size:12px}.card{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 22px #203c6210}.hero{position:relative;overflow:hidden;min-height:190px;padding:25px 22px;color:#fff;background:linear-gradient(135deg,#0755da,#1476ff);box-shadow:0 16px 32px #1268f435}.hero h2{margin:12px 0 8px;font-size:25px}.hero p{margin:0;color:#d6e7ff;font-size:12px}.hero img{position:absolute;right:18px;bottom:18px;width:100px;filter:drop-shadow(0 12px 12px #00338b66)}.section-title{display:flex;align-items:end;justify-content:space-between;margin:22px 2px 11px}.section-title h2{margin:0;font-size:18px}.section-title button{border:0;background:none;color:var(--blue)}.product-list{display:grid;gap:10px;min-width:0;width:100%}.product-row{display:flex;min-width:0;overflow:hidden;align-items:center;gap:12px;width:100%;padding:12px;text-align:left;border:1px solid var(--line);border-radius:16px;background:#fff}.product-row img{width:51px;height:51px}.product-row div{min-width:0;flex:1}.product-row b,.product-row small{display:block}.product-row small{margin-top:5px;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.product-row em{color:#98a2b3;font-size:23px;font-style:normal}.search{height:44px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid var(--line);border-radius:14px;background:#fff}.search img{width:18px}.search input{min-width:0;flex:1;border:0;outline:0;background:none}.shop-tabs,.record-tabs{display:flex;gap:22px;overflow:auto;padding:15px 2px 9px}.shop-tabs button,.record-tabs button{flex:0 0 auto;padding:8px 0;border:0;border-bottom:2px solid transparent;background:none;color:#59677d}.shop-tabs button.active,.record-tabs button.active{border-color:var(--blue);color:var(--blue);font-weight:700}.market-list{overflow:hidden}.market-item{display:flex;align-items:center;gap:14px;padding:15px;border-bottom:1px solid var(--line)}.market-item:last-child{border:0}.market-item img{width:60px;height:60px}.market-item div{min-width:0;flex:1}.market-item b,.market-item small,.market-item strong{display:block}.market-item small{margin:4px 0;color:var(--muted)}.market-item strong{color:#075ee8}.market-item button{border:0;background:none;color:#8794a8;font-size:24px}.profile-card{display:flex;align-items:center;gap:13px;padding:17px;margin-bottom:13px}.profile-card img{width:78px;height:78px}.profile-card h2{margin:0 0 7px;font-size:16px}.profile-card p{margin:4px 0;color:#64748b;font-size:12px}.balance-card{position:relative;overflow:hidden;padding:20px;margin-bottom:13px;color:#fff;background:linear-gradient(135deg,#075bea,#2d8bff)}.balance-card>img{position:absolute;right:8px;bottom:-7px;width:115px;opacity:.75}.balance-card span{font-size:12px}.balance-card strong{display:block;margin:9px 0 16px;font-size:31px}.balance-actions{position:relative;display:flex;gap:12px}.balance-actions button{flex:1;padding:10px;border:0;border-radius:10px;color:var(--blue);background:#fff;font-weight:700}.summary-card{display:grid;grid-template-columns:1fr 1fr;margin-bottom:13px}.summary-card button{display:flex;align-items:center;gap:10px;padding:15px;border:0;background:#fff;text-align:left}.summary-card button+button{border-left:1px solid var(--line)}.summary-card img{width:39px;height:39px}.summary-card b,.summary-card small{display:block}.summary-card small{margin-bottom:4px;color:var(--muted)}.menu-card{overflow:hidden;margin-bottom:12px}.menu-row{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left}.menu-row:last-child{border:0}.menu-row img{width:27px;height:27px}.menu-row span{flex:1}.blue-panel{position:relative;overflow:hidden;padding:22px;margin-bottom:14px;border-radius:18px;color:#fff;background:linear-gradient(135deg,#0b5df2,#2998ff)}.blue-panel strong{display:block;margin:8px 0;font-size:30px}.blue-panel img{position:absolute;right:5px;bottom:-15px;width:120px;opacity:.65}.form-card{padding:18px;margin-bottom:13px}.form-card h2{margin:0 0 17px;font-size:16px}.amount-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.amount-grid button{height:72px;border:1px solid #dbe3ef;border-radius:12px;background:#fafcff}.amount-grid button.active{border:2px solid var(--blue);color:var(--blue);background:#f5f9ff}.amount-grid b,.amount-grid small{display:block}.amount-grid b{font-size:18px}.amount-grid small{margin-top:4px}.method-row,.record-link{display:flex;align-items:center;gap:11px;width:100%;margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:13px;background:#fff;text-align:left}.method-row img,.record-link img{width:34px;height:34px}.method-row span,.record-link span{flex:1}.primary{width:100%;padding:13px;border:0;border-radius:12px;color:#fff;background:linear-gradient(90deg,#0d5ef0,#0e7bff);font-weight:700}.pay-summary{padding:20px;margin-bottom:14px}.pay-summary dl,.detail-list{margin:0}.pay-summary dl div,.detail-list div{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line)}.pay-summary dl div:last-child,.detail-list div:last-child{border:0}.big-total{text-align:right;margin:22px 0;color:var(--blue);font-size:30px}.notice{padding:13px;margin-bottom:14px;border:1px solid #ffd796;border-radius:12px;color:#ee7600;background:#fff9ee;font-size:12px}.wallet-box{padding:18px;text-align:center}.wallet-box header{display:flex;justify-content:space-between;text-align:left}.wallet-box code{display:block;overflow:hidden;margin:15px 0;padding:12px;border-radius:9px;background:#f5f7fa;text-overflow:ellipsis}.wallet-box .qr{width:205px;height:205px}.wallet-box p{color:var(--muted);font-size:11px}.record-summary{display:grid;grid-template-columns:repeat(3,1fr);padding:18px;margin-bottom:8px;color:#fff;background:linear-gradient(135deg,#0d5cf0,#1f87ff)}.record-summary div+div{border-left:1px solid #ffffff3b;padding-left:15px}.record-summary small,.record-summary b{display:block}.record-summary b{margin-top:8px;font-size:23px}.record-list{display:grid;gap:8px}.record-item{display:flex;align-items:center;gap:11px;padding:13px}.record-item>img{width:42px}.record-item div{min-width:0;flex:1}.record-item b,.record-item small{display:block}.record-item small{margin-top:5px;color:var(--muted);font-size:10px}.status{font-size:11px;font-weight:700}.success{color:#13ad77}.pending{color:#1672ef}.failed,.timeout{color:#f04438}.status-hero{padding:22px;margin-bottom:13px;color:#fff;background:linear-gradient(135deg,#0a62ec,#1888ff)}.status-hero.arrived{background:linear-gradient(135deg,#11b67f,#38d0a0)}.status-hero h2{margin:0 0 8px}.detail-list{padding:7px 17px}.tip-card{padding:16px;margin-top:13px;color:#3a596f;background:#effaf6}.product-hero{display:flex;align-items:center;gap:17px;padding:22px;margin-bottom:13px;color:#fff;background:linear-gradient(135deg,#075deb,#147cff)}.product-hero img{width:80px;height:80px}.product-hero h2{margin:0 0 8px}.product-hero p{margin:0;color:#d7e8ff}.qty{display:flex;align-items:center}.qty button,.qty span{width:38px;height:34px;display:grid;place-items:center;border:1px solid var(--line);background:#fff}.qty img{width:15px}.checkout-product{display:flex;align-items:center;gap:13px;padding:17px;margin-bottom:13px}.checkout-product img{width:62px}.checkout-product div{flex:1}.checkout-product strong{color:var(--blue)}.pay-footer{position:fixed;z-index:10;bottom:0;width:100%;max-width:500px;display:flex;align-items:center;gap:18px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}.pay-footer div{flex:1}.pay-footer b{display:block;color:var(--blue);font-size:20px}.pay-footer button{width:210px}.tab-bar{position:fixed;z-index:20;bottom:0;width:100%;max-width:500px;height:calc(68px + env(safe-area-inset-bottom));padding:7px 8px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #dce4ef;background:#ffffffed;backdrop-filter:blur(18px)}.tab-bar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:none;color:#667085;font-size:10px}.tab-bar img{width:25px;height:25px}.tab-bar button.active{color:var(--blue);font-weight:700}.modal{position:fixed;z-index:50;inset:0;display:flex;align-items:flex-end;justify-content:center;background:#0a142477}.modal-sheet{position:relative;width:min(500px,100%);padding:27px 22px calc(25px + env(safe-area-inset-bottom));border-radius:25px 25px 0 0;background:#fff;text-align:center}.modal-sheet .close{position:absolute;right:17px;top:16px;width:34px;height:34px;border:0;border-radius:50%;font-size:20px}.modal-sheet .qr{width:225px;height:225px}.modal-sheet h2{color:var(--blue)}@media(min-width:640px){.app-shell{margin:20px auto;border:7px solid #18202b;border-radius:38px;overflow:hidden}.status-bar{top:27px;max-width:486px}.tab-bar,.pay-footer{bottom:27px;max-width:486px}}@media(max-width:360px){.page{padding-left:11px;padding-right:11px}.amount-grid{gap:7px}.market-item{padding:12px 9px}}

