:root,html[data-ui-theme]{color-scheme:light;--green:#0866f5;--ink:#182b43;--muted:#657b96;--line:#e5ebf2;--ui-shop-bg:#f1f5fa;--ui-shop-surface:#fff;--ui-shop-border:#dce5f0;--ui-shop-text:#182b43;--ui-shop-muted:#657b96;--ui-shop-accent:#0866f5;--ui-shop-soft:#edf4ff;--ui-accent:#0866f5;--ui-link:#0866f5;--ui-text:#182b43;--ui-bg:#f1f5fa;--ui-surface:#fff;--ui-muted:#657b96;--ui-border:#dce5f0}html{background:#f1f5fa}body{max-width:520px;min-height:100dvh;background:#f1f5fa;color:#182b43;line-height:1.65;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}.portal-header{min-height:75px;padding:17px 20px;border-bottom:1px solid #e5ebf2;background:white}.portal-header .brand{font-size:20px;color:#182b43;font-weight:750;letter-spacing:.3px}.customerHeaderLinks{display:flex;gap:13px;align-items:center;font-size:12px}.customerHeaderLinks a{color:#0866f5}.portal-nav{max-width:520px;border-color:#e5ebf2}.portal-nav button.active,.portal-nav button:hover{color:#0866f5}.portal-nav button.active:before{background:#0866f5}#portal{padding:20px 16px}.portal-header a,.portal-live-action,a,.service-button svg{color:#0866f5}.panel,.member-section,.order-card,.address-card,.feedback-card,.payment-order,.payment-address,.member-settings-card,.member-hero{background:#fff;border-color:#e5ebf2;border-radius:8px;box-shadow:none}.member-hero{margin-bottom:12px;border:1px solid #e5ebf2}.solid,.primary,.payment-submit,.customer-cart-row button.primary{background:#0866f5!important;color:white!important;border-color:#0866f5!important}.solid:hover,.primary:hover,.payment-submit:hover{background:#0057dd!important}.portal-live-card{background:#edf4ff;border:1px solid #d9e7ff;color:#182b43;border-radius:7px}.portal-live-card small,.portal-live-card span{color:#577491}.hint,.muted{color:#657b96}.profile-edit-entry,.count-badge,.customer-cart-prices strong,.payment-amount,.large-price,.order-footer b{color:#0866f5}.storefront-banner{background:#dfe9f9;border-radius:8px;overflow:hidden}.storefront-banner-art{background:#edf4ff;color:#315e9d}.storefront-product{border:1px solid #e5ebf2;border-radius:7px;background:white}.storefront-product strong{color:#0866f5}button,input,select,textarea,a{outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #8ab7ff}button,a{min-height:40px}input,select,textarea{background:white;border-color:#d5e0ef;color:#182b43;border-radius:6px}dialog,#memberDialog{background:#fff;color:#182b43;border-radius:11px;border:1px solid #dce5f0}.payment-bar{max-width:520px;background:#fff;border-color:#e5ebf2}.customerIdentityError{padding:22px;line-height:1.9}.customerIdentityError p{margin:16px 0;color:#526d8d}.customerIdentityError a{display:block;margin-top:17px}.customerIdentityError button{width:100%}[data-resolve]{display:none!important}#notice{background:#10243b;color:white}.member-section h2,.member-identity h1{color:#182b43}.service-grid{gap:8px}.member-service-list .service-button{border-color:#e5ebf2}@media(min-width:700px){body{margin-top:26px;margin-bottom:26px;border-radius:12px;overflow-x:hidden;box-shadow:0 0 60px #1837590a}.portal-header{border-radius:12px 12px 0 0}}@media(max-width:390px){.portal-header{padding:15px 16px}.portal-header .brand{font-size:18px}.customerHeaderLinks{gap:9px;font-size:11px}#portal{padding:17px 13px}}

/* Explicit roles also apply when the original portal clears its theme attribute. */
:root{--ui-accent-text:#fff;--ui-focus:#0866f5}
.order-tabs button.selected,.member-setting-segments button.selected{color:#0866f5;background:#e9f1ff}
.order-tabs button.selected:after{background:#0866f5}
.chat-font-options button.selected{border-color:#a8c6f2;color:#0866f5;background:#e9f1ff}
html body :is(#viewerProfileEditor .profile-save,#viewerComplaintDialog [data-complaint-submit],.member-reward-detail .vr-withdraw button,.member-return-float>button){background:#0866f5!important;color:#fff!important;border-color:#0866f5!important;box-shadow:none}
html body :is(#viewerProfileEditor .profile-save,#viewerComplaintDialog [data-complaint-submit],.member-reward-detail .vr-withdraw button,.member-return-float>button):hover:not(:disabled){background:#0057dd!important}
html body :is(button,#viewerProfileEditor .profile-save,#viewerComplaintDialog [data-complaint-submit]):disabled:not([aria-busy=true]){background:#f1f5f9!important;color:#8899ad!important;border-color:#dce5f0!important;opacity:1;cursor:not-allowed;box-shadow:none}
html body :is(button,#viewerProfileEditor .profile-save,#viewerComplaintDialog [data-complaint-submit])[aria-busy=true]{opacity:1;cursor:progress}


/* Customer pages keep one spacing and surface hierarchy without a legacy theme attribute. */
body:has(#portal){padding-bottom:calc(88px + env(safe-area-inset-bottom));overflow-wrap:anywhere}
body:has(#portal) :is(input,select,textarea,button){box-sizing:border-box;max-width:100%}
body:has(#portal) :is(input[type=checkbox],input[type=radio]){accent-color:#0866f5}
body:has(#portal) .portal-header{gap:12px;flex-wrap:wrap;background:#fff}
body:has(#portal) .portal-header .brand{min-width:0;letter-spacing:0}
body:has(#portal) .customerHeaderLinks{margin-left:auto;flex:none;flex-wrap:wrap;row-gap:4px}
body:has(#portal) .portal-nav{box-sizing:border-box;padding-bottom:calc(8px + env(safe-area-inset-bottom));box-shadow:0 -2px 12px #18375908}
body:has(#portal) .portal-nav button{min-height:48px;justify-content:center;line-height:1.35;color:#657b96}
body:has(#portal) .portal-nav button.active{color:#0866f5}
body:has(#portal) #portal{min-width:0}
body:has(#portal) #portal>:is(.member-section,.mobile-order,.coupon-card,.address-card,.feedback-card,.member-reward-status,.member-reward-detail,.portal-reward-entry){margin:12px 0}
body:has(#portal) #portal>:is(.member-section,.mobile-order,.coupon-card,.address-card,.feedback-card,.portal-reward-entry){border:1px solid #e5ebf2;border-radius:10px;padding:16px}
body:has(#portal) #portal>.member-hero{margin:0 0 12px;padding:18px 16px;background:#fff;border:1px solid #e5ebf2;border-radius:10px}
body:has(#portal) #portal .member-identity{min-width:0;gap:12px}
body:has(#portal) #portal .identity-copy{min-width:0;flex:1}
body:has(#portal) #portal .identity-copy h1{max-width:none;font-size:18px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
body:has(#portal) #portal .member-id{max-width:100%;color:#657b96;font-size:12px}
body:has(#portal) #portal .member-qr{flex:none;min-width:40px;margin-left:0;color:#426082}
body:has(#portal) #portal :is(.member-section>h2,.section-head>h2){font-size:16px;line-height:1.5;margin:0;font-weight:650}
body:has(#portal) #portal .section-head{gap:12px;align-items:center}
body:has(#portal) #portal .section-head>a{font-size:12px;color:#426082;flex:none}
body:has(#portal) #portal .compact-orders .order-entry-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:18px}
body:has(#portal) #portal .order-entry-grid .service-button{min-width:0;min-height:62px;font-size:12px;line-height:1.45;gap:8px}
body:has(#portal) #portal .member-links>button{gap:12px;min-height:52px;padding:12px 0;line-height:1.5;font-size:14px;border-bottom-color:#e5ebf2}
body:has(#portal) #portal .member-links>button:last-child{border-bottom:0}
body:has(#portal) #portal .member-links :is(svg,b){color:#426082}
body:has(#portal) #portal .member-links :is(span,small){min-width:0;overflow-wrap:anywhere}
body:has(#portal) #portal .member-links small{color:#657b96}
body:has(#portal) #portal .sub-title{min-height:52px;margin:0 0 12px;padding:4px 48px;border:1px solid #e5ebf2;border-radius:8px;background:#fff}
body:has(#portal) #portal .sub-title h1{font-size:18px;line-height:1.45;text-align:center;overflow-wrap:anywhere}
body:has(#portal) #portal .sub-title>button{left:3px;top:3px;min-width:44px;min-height:44px;color:#426082}
body:has(#portal) #portal .order-tabs{justify-content:flex-start;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;border-color:#e5ebf2;padding:0 8px}
body:has(#portal) #portal .order-tabs button{flex:1 0 auto;min-width:44px;min-height:44px;padding:10px 7px;font-size:12px;line-height:1.5;white-space:nowrap;color:#657b96}
body:has(#portal) #portal .order-tabs button.selected{color:#0866f5;background:#edf4ff}
body:has(#portal) #portal .mobile-order{min-width:0}
body:has(#portal) #portal .order-card-head{gap:12px;padding-bottom:12px;align-items:flex-start;line-height:1.5}
body:has(#portal) #portal .order-card-head>span{min-width:0;overflow-wrap:anywhere}
body:has(#portal) #portal .order-card-head>strong{flex:none;color:#2466af;background:#edf4ff;padding:3px 7px;border-radius:4px}
body:has(#portal) #portal .order-product{align-items:flex-start;gap:10px;padding:10px 0;margin:0}
body:has(#portal) #portal .order-product>div:nth-child(2){min-width:0;flex:1}
body:has(#portal) #portal .order-product :is(h3,p){overflow-wrap:anywhere}
body:has(#portal) #portal .order-product h3{font-size:14px;line-height:1.55;margin:0}
body:has(#portal) #portal .order-product :is(p,small){font-size:12px;color:#657b96;line-height:1.6}
body:has(#portal) #portal .order-total{justify-content:flex-end;flex-wrap:wrap;gap:8px 12px;line-height:1.6;color:#657b96}
body:has(#portal) #portal .order-total b{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body:has(#portal) #portal .order-footer{gap:8px;border-color:#e5ebf2;line-height:1.5}
body:has(#portal) #portal .order-footer :is(button,a){display:inline-flex;align-items:center;justify-content:center;min-height:40px;max-width:100%;padding:8px 12px;border-radius:7px;font-size:12px;white-space:normal;color:#426082}
body:has(#portal) #portal :is(.address-card p,.address-card span,.coupon-card p,.coupon-card small,.feedback-card>small,.refund-note,.empty,.account-stat p){color:#657b96;line-height:1.7}
body:has(#portal) #portal .coupon-card{gap:16px;background:#fff;border-color:#dce5f0;align-items:flex-start}
body:has(#portal) #portal .coupon-card>strong{color:#0866f5;font-size:26px;min-width:76px;max-width:45%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body:has(#portal) #portal .coupon-card>div{min-width:0;flex:1}
body:has(#portal) #portal:has([data-route=coupons-used].selected) .coupon-card>strong,
body:has(#portal) #portal:has([data-route=coupons-expired].selected) .coupon-card>strong{color:#657b96}
body:has(#portal) #portal .feedback-card>div{background:#edf4ff;color:#426082;white-space:pre-wrap;overflow-wrap:anywhere}
body:has(#portal) #portal .empty-state{padding:38px 16px;line-height:1.7;color:#657b96}
body:has(#portal) #portal .empty-state svg{color:#b6c8df}
body:has(#portal) #portal .portal-empty :is(p,small){color:#657b96}
body:has(#portal) #portal .portal-empty-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:16px}
body:has(#portal) #portal .portal-live-card{background:#edf4ff;border-color:#dce5f0;gap:12px;padding:12px;flex-wrap:wrap}
body:has(#portal) #portal .portal-live-card strong{white-space:normal;overflow-wrap:anywhere}
body:has(#portal) #portal .portal-live-action{background:#fff;color:#0866f5;border-color:#cbdcf4}
body:has(#portal) #portal .portal-room-state{color:#426082}
body:has(#portal) #portal .room-mode{background:#edf4ff;color:#2466af;border-color:#bfd4f3}
body:has(#portal) #portal .storefront-banner>div:last-child{background:linear-gradient(90deg,#10243bcc,#10243b00)}
body:has(#portal) #portal :is(.storefront-product p,.storefront-title>span,.storefront-product>div:last-child>span){color:#657b96}
body:has(#portal) #portal .storefront-product-image{background:#edf3fc;color:#657b96}
body:has(#portal) #portal .account-stat>strong{font-size:30px;line-height:1.4;color:#0866f5;overflow-wrap:anywhere}
body:has(#portal) #portal :is(#portalMessageStatus,#portalOrdersStatus){color:#657b96;font-size:12px;line-height:1.7}
body:has(#portal) #portal #portalMessageStatus.error{background:#fff0f2;color:#bd3049;border-radius:6px;padding:9px 11px}
body:has(#portal) #portal .member-settings{display:grid;gap:12px}
body:has(#portal) #portal .member-settings-card{padding:16px;border:1px solid #e5ebf2}
body:has(#portal) #portal .member-setting-row{gap:10px;flex-wrap:wrap;line-height:1.6}
body:has(#portal) #portal .member-setting-segments{margin-left:auto}
body:has(#portal) #portal .member-setting-segments button{min-height:36px;line-height:1.5;color:#657b96}
body:has(#portal) #portal .member-setting-segments button.selected{color:#0866f5}
body:has(#portal) #portal :is(.member-current-account>span,.member-switch-account,.chat-size-preview){color:#657b96}
body:has(#portal) #portal #chatSizePreview{color:#426082;background:#f3f7fc;border-color:#e5ebf2}
body:has(#portal) #portal .member-switch-account form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body:has(#portal) #portal .member-switch-account input{min-height:42px;height:auto}
body:has(#portal) #portal .member-section:has(#newAddress){max-width:none;margin-left:0;margin-right:0}
body:has(#portal) #portal .address-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
body:has(#portal) #portal :is(.address-fields>label,.region-fields>span){font-size:12px;color:#657b96}
body:has(#portal) #portal :is(.address-fields input,.region-fields select){min-height:44px;height:auto;background:#fff;border-color:#d5e0ef;color:#182b43;font-size:14px}
body:has(#portal) #portal .address-fields input:focus{outline:2px solid #8ab7ff;border-color:#0866f5}
body:has(#portal) #portal :is(#newAddress>.solid,#placeOrder,#feedbackSubmit){min-height:44px;margin-top:8px}
body:has(#portal) #portal :is(.productline,.customer-saved-record){min-width:0;overflow-wrap:anywhere}
body:has(#portal) #portal .productline{flex-wrap:wrap;gap:10px}
body:has(#portal) #portal .productline>span{min-width:0;flex:1 1 120px}
body:has(#portal) #portal .customer-cart-prices strong{color:#0866f5}
body:has(#portal) #portal .customer-cart-actions button{min-height:40px;color:#426082}
body:has(#portal) #portal :is(.member-reward-assets strong,.member-reward-detail .vr-wallet b){color:#0866f5;max-width:100%;overflow-wrap:anywhere}
body:has(#portal) #portal .member-reward-assets span{font-size:12px;white-space:normal;line-height:1.5;color:#657b96}
body:has(#portal) #portal .member-reward-assets button{min-width:0;gap:6px}
body:has(#portal) #portal .member-reward-status{padding:14px;border:1px solid #e5ebf2;border-radius:8px;font-size:12px;line-height:1.6;color:#657b96;flex-wrap:wrap}
body:has(#portal) #portal .member-reward-detail{padding:0}
body:has(#portal) #portal .member-reward-detail :is(.vr-wallet,.vr-history,.vr-withdraw){background:#fff;border:1px solid #e5ebf2;border-radius:8px}
body:has(#portal) #portal .member-reward-detail .vr-wallet{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body:has(#portal) #portal .member-reward-detail .vr-wallet>div{min-width:0}
body:has(#portal) #portal .member-reward-detail :is(.vr-wallet small,.vr-center-footnote,.vr-history-heading span,.vr-history-row small,.vr-hint,.vr-record,.vr-withdraw label,.member-reward-detail-head){font-size:12px;line-height:1.6;color:#657b96}
body:has(#portal) #portal .member-reward-detail .vr-history-row{gap:12px;align-items:flex-start}
body:has(#portal) #portal .member-reward-detail .vr-history-row>b{max-width:45%;white-space:normal;overflow-wrap:anywhere;color:#0866f5}
body:has(#portal) #portal .member-reward-detail .vr-history-row>b.debit{color:#657b96}
body:has(#portal) #portal .member-reward-detail .vr-withdraw form{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:12px}
body:has(#portal) #portal .member-reward-detail .vr-withdraw :is(input,button){box-sizing:border-box;min-height:44px;height:auto;font-size:16px;padding:10px;min-width:0}
body:has(#portal) #portal .member-reward-detail .vr-withdraw button{justify-self:stretch;max-width:100%;white-space:normal}
body:has(#portal) #portal .member-reward-detail .vr-record{flex-wrap:wrap;gap:6px 12px}
body:has(#portal) #portal .member-reward-detail .vr-record>span{min-width:0;flex:1 1 150px;overflow-wrap:anywhere}
body:has(#portal) #portal .member-reward-detail .vr-record>b{max-width:100%;white-space:normal;overflow-wrap:anywhere}
body:has(#portal) #portal :is(.member-reward-detail-head button,.member-reward-status button){background:#edf4ff;border-color:#dce5f0;color:#0866f5}
/* Third-level dialogs retain their own scrolling and a visible action row. */
body:has(#portal) :is(#viewerProfileEditor,#viewerComplaintDialog,#memberDialog){box-sizing:border-box;width:min(92vw,420px);max-width:calc(100vw - 24px);max-height:85dvh;padding:20px;background:#fff;color:#182b43;border:1px solid #dce5f0;border-radius:12px;box-shadow:0 14px 48px #17375729;overscroll-behavior:contain}
body:has(#portal) :is(#viewerProfileEditor,#viewerComplaintDialog,#memberDialog)::backdrop{background:#17355755;backdrop-filter:none}
body:has(#portal) :is(#viewerProfileEditor,#viewerComplaintDialog) header{gap:12px;min-height:44px}
body:has(#portal) :is(#viewerProfileEditor,#viewerComplaintDialog) h2{color:#182b43;line-height:1.45;overflow-wrap:anywhere}
body:has(#portal) :is(#viewerProfileEditor,#viewerComplaintDialog) button,
body:has(#portal) .profile-upload{background:#f3f7fc;color:#426082;border-color:#dce5f0;min-height:40px}
body:has(#portal) :is(#viewerProfileEditor,#viewerComplaintDialog) button:active{background:#e9f1ff}
body:has(#portal) #viewerProfileEditor .profile-wechat{background:#0866f5;color:#fff;border-color:#0866f5}
body:has(#portal) #viewerProfileEditor [aria-pressed=true]{outline:2px solid #0866f5;outline-offset:2px}
body:has(#portal) #viewerProfileEditor .profile-secondary-label{border-color:#e5ebf2}
body:has(#portal) #viewerProfileEditor :is(.profile-intro,.profile-secondary-label,.profile-library-count,.profile-more summary,.profile-more a){color:#657b96}
body:has(#portal) #viewerProfileEditor [data-message]{color:#138361}
body:has(#portal) #viewerProfileEditor .profile-avatar-grid button{min-width:0;min-height:0}
body:has(#portal) :is(#viewerProfileEditor,#viewerComplaintDialog) footer{background:#fff;border-top:1px solid #e5ebf2;padding-top:12px;flex-wrap:wrap;gap:8px}
body:has(#portal) :is(#viewerProfileEditor,#viewerComplaintDialog) :is(input:not([type=file]),select,textarea){box-sizing:border-box;width:100%;min-width:0;border-color:#d5e0ef;background:#fff;color:#182b43;font-size:16px}
body:has(#portal) :is(#viewerProfileEditor,#viewerComplaintDialog) :focus-visible{outline:2px solid #0866f5;outline-offset:2px}
body:has(#portal) :is(.complaint-explain,.complaint-record-note,.complaint-limit,.complaint-record small,.complaint-record time,.complaint-decision,.complaint-history-link){color:#657b96}
body:has(#portal) :is(.viewer-complaint-panel-entry,.complaint-record-link,.complaint-load-more){background:#edf4ff;color:#0866f5;border-color:#dce5f0}
body:has(#portal) .complaint-record{margin:12px 0;border:1px solid #e5ebf2;border-radius:8px;background:#fff;color:#182b43}
body:has(#portal) .complaint-record>div:first-child{align-items:flex-start;flex-wrap:wrap}
body:has(#portal) .complaint-record span{color:#426082}
body:has(#portal) .complaint-reply{background:#edf4ff;color:#426082;overflow-wrap:anywhere}
body:has(#portal) .complaint-pending{margin:12px 0;flex-wrap:wrap;background:#fff5df;color:#92600b;border-color:#ead6a4}
body:has(#portal) #viewerComplaintDialog header small{color:#657b96}
body:has(#portal) #viewerComplaintDialog[data-inline=true]{width:100%;max-width:100%;height:100%;max-height:none;margin:0;padding:16px;border:0;border-radius:0;box-shadow:none}
body:has(#portal) :is(#viewerProfileEditor [data-message].error,#viewerComplaintDialog [data-complaint-feedback].error){color:#bd3049;background:#fff0f2}
body:has(#portal) #memberDialog .info-title{gap:12px;align-items:flex-start;min-height:40px}
body:has(#portal) #memberDialog :is(h2,p,dd,strong){overflow-wrap:anywhere}
body:has(#portal) #memberDialog :is(input,select,textarea){width:100%;min-height:44px;box-sizing:border-box;font-size:16px}
body:has(#portal) #memberDialog .customer-order-status{border-color:#e5ebf2}
body:has(#portal) #memberDialog :is(.customer-order-totals>div,.customer-order-detail .order-product){gap:10px;min-width:0}
body:has(#portal) #memberDialog .customer-order-detail .order-product>div:last-child{min-width:0;flex:1}
body:has(#portal) #memberDialog .customer-order-totals dd{max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.checkout-view{max-width:520px}
body.checkout-view #portal{padding-bottom:calc(114px + env(safe-area-inset-bottom))}
body.checkout-view :is(.payment-product,.payment-totals>div){flex-wrap:wrap;gap:8px}
body.checkout-view .payment-product>div{min-width:0;flex:1 1 150px;overflow-wrap:anywhere}
body.checkout-view :is(.payment-product>strong,.payment-totals dd,.large-price){max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.checkout-view :is(.payment-address p,.payment-product p,.payment-totals dt,.payment-reference){color:#657b96;line-height:1.6}
body.checkout-view .payment-bar{box-sizing:border-box;max-width:520px;flex-wrap:wrap;gap:10px}
body.checkout-view .payment-submit{min-width:0;min-height:46px;flex:1 1 190px;padding:10px 14px;white-space:normal;overflow-wrap:anywhere;border-radius:8px}
@media(max-width:480px){
  body:has(#portal) #portal :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}
}
@media(max-width:360px){
  body:has(#portal) #portal>:is(.member-section,.mobile-order,.coupon-card,.address-card,.feedback-card,.portal-reward-entry){padding:13px}
  body:has(#portal) #portal .region-fields>div{grid-template-columns:minmax(0,1fr)}
  body:has(#portal) #portal .member-switch-account form{grid-template-columns:minmax(0,1fr)}
  body:has(#portal) :is(#viewerProfileEditor,#viewerComplaintDialog,#memberDialog){padding:16px}
}

/* The surrounding member popup owns its one floating return button. Hide the
   iframe's legacy live card before async layout cleanup to prevent a flash. */
html body.popup-member :is(.portal-live-card,#liteBackToLive,.customer-live-return,.bottom-live-return,.member-return-float){display:none!important}

html body #liteBackToLive[hidden]{display:none!important}

html[data-member-home=false] .portal-nav button[data-page=home]{display:none!important}
html[data-member-home=false] .portal-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
