/* Mobile member storefront, isolated from the management console. */
body.member-site{--green:var(--tenant-primary,#0f7bb5);--ink:#1b2b3a;--muted:#7b8ea0;--line:#e3ecf3;--pale:#edf5fc;background:#f2f6fa;color:#1b2b3a;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:14px}
.member-site #app{max-width:480px;margin:0 auto;min-height:100vh;background:#f2f6fa}.member-app{min-height:100vh;padding-bottom:calc(74px + env(safe-area-inset-bottom))}.member-site button{font-family:inherit;cursor:pointer;letter-spacing:0}.member-site button:disabled{cursor:not-allowed;opacity:.65}.member-site svg{width:23px;height:23px;flex-shrink:0}.member-site button:focus-visible{outline:3px solid color-mix(in srgb,var(--tenant-primary,#0f7bb5),white 25%);outline-offset:3px}
.m-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:10px;padding:12px 16px;color:#fff;background:linear-gradient(120deg,#07294d,var(--tenant-primary,#0f7bb5));box-shadow:0 2px 10px #0c2e6333}.m-logo{width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,color-mix(in srgb,var(--tenant-primary,#0f7bb5),white 25%),#1aa6c4);color:#06294d;display:grid;place-items:center;font-size:21px;font-weight:800;flex-shrink:0}.m-header>div:nth-child(2){flex:1;min-width:0}.m-header b{display:block;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m-header small{display:block;font-size:10px;opacity:.75;margin-top:2px;letter-spacing:1px}.m-header>button{width:36px;height:36px;border:0;border-radius:50%;display:grid;place-items:center;color:#fff;background:#ffffff24}.member-site .m-main{padding:0;margin:0;min-height:0;width:100%}
.m-tabbar{position:fixed;z-index:60;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;display:flex;justify-content:space-around;background:#fff;border-top:1px solid #e3ecf3;padding:7px 0 calc(8px + env(safe-area-inset-bottom));margin:0}.m-tabbar button{border:0;background:none;flex:1;display:flex;align-items:center;flex-direction:column;gap:3px;color:#7b8ea0;font-size:11px;padding:2px 0}.m-tabbar button.on{color:var(--tenant-primary,#0f7bb5);font-weight:700}.m-tabbar svg{width:23px;height:23px}
.m-hero{background:linear-gradient(160deg,#7c0f0f,#a31515 52%,#8a6d1a);padding:12px 14px 66px}.m-promo{position:relative;display:block;overflow:hidden;width:100%;min-height:194px;padding:24px 20px;text-align:left;border:1px solid #e7bd7266;border-radius:14px;background:radial-gradient(ellipse at 90% 80%,#d89f3c55,transparent 60%),linear-gradient(125deg,#931414,#b62b25 60%,#72120e);color:#ffe9b5;box-shadow:0 10px 26px #3c080866}.m-promo:after{content:"";position:absolute;inset:7px;border:1px solid #f5cf7e55;border-radius:10px;pointer-events:none}.m-promo>small{font-size:11px;letter-spacing:2px}.m-promo h1{font-size:23px;line-height:1.5;margin:12px 0 8px;position:relative;z-index:1;font-family:serif;letter-spacing:1px;color:#ffe8a2}.m-promo p{font-size:13px;letter-spacing:1px;margin:5px 0 15px;color:#f0ce9a}.m-promo>span{position:relative;z-index:1;font-size:11px;border-radius:20px;background:#f7d68d;color:#6b2015;padding:6px 13px}.m-gift-art{position:absolute;right:25px;bottom:18px;width:65px;height:74px;transform:rotate(9deg);background:linear-gradient(100deg,#ddae60,#ffe2a0,#b97e34);border-radius:5px;box-shadow:8px 9px 18px #4e110f55;opacity:.9}.m-gift-art:before{content:"";position:absolute;left:-5px;right:-5px;top:-8px;height:17px;background:#f3cb7e;border-radius:3px}.m-gift-art b{display:grid;place-items:center;font-family:serif;font-size:32px;color:#971a1a;height:100%}.m-count{position:relative;z-index:3;margin:-54px 14px 0;padding:14px 16px;background:#fff;border-radius:14px;box-shadow:0 2px 12px #07294d14}.m-count-head{display:flex;justify-content:space-between;align-items:center;gap:5px;font-size:12px}.m-count-head span{font-size:11px;color:#7b8ea0}.m-clock{display:flex;align-items:baseline;justify-content:center;gap:4px;margin:8px 0 3px;font-variant-numeric:tabular-nums;color:#07294d}.m-clock b{font-size:34px;min-width:48px;text-align:center}.m-clock small{font-size:12px;color:#7b8ea0}.m-count>p{margin:0;text-align:center;font-size:10px;color:#7b8ea0}.m-count.dark{margin:12px 14px 0;color:#fff;background:linear-gradient(135deg,#07294d,#1d5aa8)}.m-count.dark .m-clock{color:#fff}.m-count.dark .m-count-head span,.m-count.dark small,.m-count.dark p{color:#d3e6f7}
.m-entries{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 14px 0}.m-entries button{background:#fff;border:0;border-radius:14px;padding:14px 3px 11px;box-shadow:0 2px 12px #07294d14;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}.m-entries button>span{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;color:var(--tenant-primary,#0f7bb5);background:linear-gradient(135deg,#eaf3fc,#d9e9f8)}.m-entries b{font-size:11px;white-space:nowrap;color:#24455f}.m-brand-banner{position:relative;overflow:hidden;margin:14px;border-radius:14px;padding:22px;color:#ffe5ae;background:linear-gradient(120deg,#07294d,#126c99);box-shadow:0 2px 12px #07294d14}.m-brand-banner small{font-size:8px;letter-spacing:2px;color:#a9c7dd}.m-brand-banner h2{font-size:24px;font-family:serif;margin:10px 0;letter-spacing:2px;color:#ffe5ae}.m-brand-banner p{font-size:12px;letter-spacing:3px;margin:0}.m-brand-banner>span{position:absolute;right:20px;top:0;font-size:140px;color:#ffffff12;line-height:1.2}.m-card{margin:14px;background:#fff;border-radius:12px;padding:14px 16px;box-shadow:0 2px 12px #07294d14}.m-card h3{font-size:14px;color:#07294d;margin:0 0 10px}.m-rules ul{padding-left:16px;margin:0}.m-rules li{color:#4a5c6e;font-size:12px;line-height:1.9}.m-tip{text-align:center;color:#7b8ea0;font-size:11px;padding:8px 12px;margin:0;line-height:1.7}
.m-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 14px}.m-chips>div{background:#fff;border-radius:10px;text-align:center;padding:10px 2px}.m-chips b{display:block;font-size:17px;color:#07294d}.m-chips span{font-size:11px;color:#7b8ea0}.m-rounds{display:flex;gap:8px;overflow-x:auto;padding:12px 14px 2px}.m-rounds button{background:#fff;color:#60778b;border:1px solid #e3ecf3;border-radius:20px;padding:6px 12px;font-size:11px;white-space:nowrap}.m-rounds .on{background:var(--tenant-primary,#0f7bb5);color:#fff}.m-products{padding:12px 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.m-product{min-width:0;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 12px #07294d14;display:flex;flex-direction:column}.m-product-art{height:132px;display:grid;place-items:center;position:relative;background:radial-gradient(ellipse at bottom,#fff9e5,#e6ecdf)}.m-product-art>small{position:absolute;top:7px;left:8px;font-size:9px;color:#75896f}.m-product-art>div{height:84px;width:64px;background:linear-gradient(110deg,#2e634b,#74967b);border-radius:4px;color:#ffe8b6;box-shadow:7px 7px 0 #b9c8b1;transform:rotate(-7deg);font-size:36px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:serif}.m-product-art span{font-size:7px;letter-spacing:2px}.art-2{background:#f2eee4}.art-2>div{background:linear-gradient(100deg,#c6a779,#e7d7b7);color:#6b502c;transform:rotate(6deg)}.art-3{background:#f2e7df}.art-3>div{background:#bd7f54;color:#fff0d9;height:66px;width:88px}.art-0{background:#e2eef1}.art-0>div{background:#88a8ac;color:#fff;transform:rotate(6deg)}.m-product-body{padding:9px 10px;flex:1;display:flex;flex-direction:column}.m-product-body h3{font-size:12px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1b2b3a}.m-product-body p{font-size:9px;color:#7b8ea0;margin:6px 0 0;line-height:1.7}.m-product-foot{display:flex;justify-content:space-between;align-items:center;gap:4px;flex-wrap:wrap;margin-top:9px}.m-product-foot strong{color:#e5484d;font-size:16px;white-space:nowrap}.m-product-foot small{font-size:9px;font-weight:400;color:#7b8ea0;margin-left:3px}.member-site .m-primary{background:linear-gradient(120deg,var(--tenant-primary,#0f7bb5),color-mix(in srgb,var(--tenant-primary,#0f7bb5),white 25%));color:#fff;border:0;border-radius:8px;padding:8px 12px;font-size:12px;font-weight:700}.member-site .m-primary:disabled{background:#cfd8e0;color:#687b8c;opacity:1}.m-product-foot .m-primary{padding:7px 8px;font-size:11px}.m-empty{grid-column:1/-1;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#8295a5;font-size:12px;padding:25px}.m-empty svg{width:36px;height:36px;opacity:.5}.m-empty p{margin:0}
.m-info{padding:10px 14px;color:#57758a;font-size:11px;line-height:1.8}.m-segments{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:0 14px}.m-segments button{padding:9px 5px;background:#fff;border:1px solid #e3ecf3;border-radius:20px;font-size:12px;color:#33475b}.m-segments button.on{background:var(--tenant-primary,#0f7bb5);color:#fff;border-color:var(--tenant-primary,#0f7bb5)}.m-orders{padding:12px 14px;display:flex;flex-direction:column;gap:10px}.m-order{background:#fff;border-radius:12px;padding:13px 14px;box-shadow:0 2px 12px #07294d14}.m-order h3{font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px;overflow-wrap:anywhere}.m-order h3>span:not(.badge){font-size:13px;color:#e5484d}.m-order p{color:#7b8ea0;font-size:11px;line-height:1.8;margin:4px 0;overflow-wrap:anywhere}.m-order-actions{display:flex;justify-content:flex-end;margin-top:10px}.m-order .badge{font-size:10px;white-space:nowrap;padding:4px 7px}.m-profile{padding:23px 16px;background:linear-gradient(130deg,#07294d,var(--tenant-primary,#0f7bb5));color:#fff;display:flex;align-items:center;gap:10px}.m-profile>div:nth-child(2){flex:1;min-width:0}.m-avatar{height:48px;width:48px;background:#ffffff24;border:1px solid #ffffff44;border-radius:50%;display:grid;place-items:center}.m-profile h2{font-size:17px;color:#fff;margin:0;overflow-wrap:anywhere}.m-profile h2 small{background:#c9a45c;color:#1b2b3a;font-size:10px;border-radius:5px;padding:3px 6px;white-space:nowrap}.m-profile p{font-size:11px;color:#afc7dd;margin:6px 0 0}.m-profile>button{background:#e4c783;color:#4d3917;border:0;border-radius:6px;padding:7px 10px;font-size:11px;white-space:nowrap}.m-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 6px;padding:8px 0}.m-points>div{text-align:center;padding:8px 0;background:#f6f9fc;border-radius:8px}.m-points b{display:block;font-size:18px;color:#07294d;overflow-wrap:anywhere}.m-points span{font-size:10px;color:#7b8ea0}.m-points>div:nth-child(3) b{color:#bd963d}.m-services{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.m-services button{display:flex;align-items:center;gap:8px;background:#f5f9fc;border:0;border-radius:9px;padding:13px 8px;color:var(--tenant-primary,#0f7bb5)}.m-services button>span{display:flex}.m-services b{font-size:11px;color:#33475b}.m-menu{margin:12px 14px;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 12px #07294d14}.m-menu button{width:100%;display:flex;align-items:center;gap:11px;background:#fff;border:0;border-bottom:1px solid #e3ecf3;padding:14px;text-align:left;color:#33475b;font-size:12px}.m-menu button>span{color:var(--tenant-primary,#0f7bb5);display:flex}.m-menu button b{font-weight:500}.m-menu button:last-child{border-bottom:0}.m-menu button:has(b):after{content:'›';margin-left:auto;color:#8da1b1;font-size:19px}.m-page-title{padding:20px 16px;background:linear-gradient(130deg,#07294d,var(--tenant-primary,#0f7bb5));color:#fff}.m-page-title h2{font-size:19px;margin:0 0 7px;color:#fff}.m-page-title p{font-size:11px;color:#d1e4f1;margin:5px 0}.m-page-title strong{font-size:27px;display:block;margin-top:10px}.m-page-title strong small{font-size:11px;font-weight:400}.m-redeem-art{height:118px;background:linear-gradient(135deg,#fff4da,#ead8a9);color:#b58d3c;display:grid;place-items:center}.m-redeem-art svg{width:57px;height:57px}.m-section-title{font-size:14px;font-weight:700;color:#07294d;margin:16px 14px 0}.m-login{margin-top:24px}.m-login h2{font-size:20px;color:#07294d}.m-login p{font-size:12px;color:#7b8ea0;line-height:1.8}.m-login label{margin:16px 0;font-size:12px;color:#4a657c}.m-login input{padding:12px;border:1px solid #dae5ed;border-radius:8px;background:#f9fbfd}.m-login .m-primary{width:100%;padding:13px}.member-site #toast{bottom:88px;background:#07294d;font-size:12px}.member-site dialog{max-width:360px;padding:20px;border-color:#e3ecf3}.member-site dialog::backdrop{background:#07192b88}.member-site dialog .modal-heading h2{font-size:17px}.member-site dialog p,.member-site dialog label{font-size:12px;color:#5a7184}.member-site dialog .modal-actions{padding-top:15px;margin-top:18px;gap:8px}.member-site dialog .primary{background:linear-gradient(120deg,var(--tenant-primary,#0f7bb5),color-mix(in srgb,var(--tenant-primary,#0f7bb5),white 25%));font-size:12px}.member-site dialog .secondary{font-size:12px}.member-site dialog .settle-amount strong{font-size:24px}.member-site .error{font-size:12px;color:#c33}.member-site .loading{padding:60px 20px}
@media(max-width:360px){.m-promo h1{font-size:19px}.m-promo{padding:21px 14px}.m-gift-art{right:17px;width:48px;height:61px}.m-entries{gap:6px}.m-entries b{font-size:10px}.m-product-foot strong{font-size:14px}.m-profile h2{font-size:15px}}

.member-site .m-auth-link{display:block;margin:14px auto 0;padding:5px 8px;background:none;border:0;color:var(--tenant-primary,#0f7bb5);font-size:12px}.member-site .m-login h2{text-align:center;font-size:18px}.member-site #member-register-form .error{min-height:16px}

.m-agreement{border:1px solid #e3ecf3;border-radius:9px;margin:10px 0;overflow:hidden}.m-agreement label{background:#edf5fc;padding:10px;margin:0!important;font-weight:600}.m-agreement details{padding:8px 10px}.m-agreement summary{font-size:11px;color:var(--tenant-primary,#0f7bb5);cursor:pointer}.m-agreement pre{font-family:inherit;font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;max-height:150px;overflow:auto;color:#34516b}#member-signature{display:block;width:100%;height:130px;border:1px dashed #91a9bb;border-radius:8px;background:#fff;touch-action:none}
