/* Atomic mobile: readable type, honest local-visitor identity, unchanged business state. */
html{font-size:100%}
:root{color-scheme:light;--paper:#F5F6F3;--white:#FFFFFF;--ink:var(--ui-ink,#252622);--muted:#596158;--line:#DFE3DD;--orange:var(--ui-orange,#F36B21);--accent:var(--ui-accent-strong,#A94316);--error:var(--ui-danger,#A43B2C);--nav-height:76px;--mobile-font-body:1.125rem;--mobile-font-control:1rem;--mobile-font-meta:.875rem;--mobile-font-title:1.5rem;--mobile-font-heading:1.375rem;--mobile-font-subheading:1.25rem;--mobile-font-price:1.5625rem;font-family:var(--ui-font,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif);font-synthesis:none;color:var(--ink);background:var(--theme-canvas,#E6E9E3);font-size:100%;line-height:1.8}
*{box-sizing:border-box}body{margin:0;font-size:var(--mobile-font-body);line-height:1.8;overflow-wrap:anywhere}button,input,select,textarea{font-family:inherit;font-size:var(--mobile-font-control);font-weight:inherit;line-height:1.5}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}input{min-height:44px;min-width:0}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h2{font-size:var(--mobile-font-title);line-height:1.3;letter-spacing:-.5px;font-weight:700}h3{font-size:var(--mobile-font-subheading);font-weight:650}.ui-icon{display:block;width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ui-icon-fallback{font-size:1.375rem;line-height:1}
.phone-shell{width:100%;max-width:480px;min-height:100svh;margin:0 auto;background:var(--paper);padding-bottom:calc(176px + env(safe-area-inset-bottom))}.masthead{min-height:64px;padding:calc(12px + env(safe-area-inset-top)) 18px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line)}.wordmark{display:flex;align-items:center;gap:10px;min-width:0}.brand-mark{display:block;height:40px;width:40px;flex-shrink:0;object-fit:contain}.wordmark h1{font-size:var(--mobile-font-body);letter-spacing:-.3px;font-weight:750;line-height:1.2}.wordmark p{font-size:var(--mobile-font-meta);letter-spacing:.4px;color:var(--muted);margin-top:2px}.guest-tag{font-size:var(--mobile-font-meta);white-space:nowrap;color:var(--accent)}.page{padding:0 18px;animation:page-in .18s ease-out}
.source-strip{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:56px;padding:6px 0;border-bottom:1px solid var(--line)}.source-icon{width:18px;height:18px;color:var(--muted)}.source-copy{flex:1;min-width:0}.source-strip strong{display:block;font-size:var(--mobile-font-control);line-height:1.5;overflow-wrap:anywhere}.source-strip p{font-size:var(--mobile-font-body);color:var(--muted);margin-top:2px;line-height:1.8;overflow-wrap:anywhere}.source-strip .text-button{font-size:var(--mobile-font-control);gap:3px;white-space:normal;text-align:right}.source-strip .text-button .ui-icon{width:16px;height:16px}.overline{display:block;color:var(--muted);font-size:var(--mobile-font-meta);letter-spacing:.7px;font-weight:500}.text-button{border:0;min-width:44px;background:transparent;color:var(--ink);font-size:var(--mobile-font-control);min-height:44px;padding:8px 0;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.menu-heading,.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.menu-heading{padding-top:0;min-height:44px}.section-heading{padding-top:26px;margin-bottom:12px}.section-heading .overline{margin-bottom:5px}.menu-note,.section-note{font-size:var(--mobile-font-body);color:var(--muted);line-height:1.8}.menu-note{margin-top:4px}.section-note{margin-top:12px;margin-bottom:22px}.image-note,.demo-note{font-size:var(--mobile-font-meta);line-height:1.5;color:var(--muted);margin-top:3px}.demo-note{color:var(--accent);font-size:var(--mobile-font-body);line-height:1.8}.icon-button{width:44px;height:44px;border:0;background:transparent;color:var(--ink);display:grid;place-items:center;flex-shrink:0;border-radius:6px}.categories{display:flex;flex-wrap:wrap;gap:0 22px;position:sticky;top:0;z-index:4;background:var(--paper);border-bottom:1px solid var(--line);margin-top:4px;overflow-x:visible}.categories button{border:0;background:none;flex-shrink:0;color:var(--muted);font-size:var(--mobile-font-control);padding:11px 1px;position:relative;min-width:44px;min-height:44px}.categories button.active{color:var(--ink);font-weight:700}.categories button.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--orange)}
/* Photo, succinct copy and a full 44px selection target share each menu row. */
.product-row{position:relative;display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;min-height:132px;padding:16px 0;border-bottom:1px solid var(--line);align-items:center}.product-visual-button{display:block;padding:0;border:0;background:transparent;border-radius:8px;width:100px;height:100px;overflow:hidden;align-self:center}.product-media{position:relative;display:block;flex-shrink:0;overflow:hidden;aspect-ratio:1;background:var(--theme-media,#E9E6DE);border-radius:8px}.product-media--menu{width:100px;height:100px}.product-category-mark{position:absolute;inset:0;display:grid;place-items:center;font-size:1.625rem;color:var(--muted);font-family:Georgia,"Songti SC",serif}.product-image{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0;opacity:1;transition:opacity .2s ease-out}.product-media[data-image-state=loading] .product-image{opacity:0}.product-info{border:0;padding:0;min-height:44px;text-align:left;background:transparent;min-width:0;color:var(--ink);align-self:center}.product-info h3{font-size:var(--mobile-font-body);line-height:1.4;overflow-wrap:anywhere;font-weight:650}.product-title{display:flex;align-items:center;flex-wrap:wrap;gap:3px 6px}.demo-badge{font-size:var(--mobile-font-meta);font-weight:500;line-height:1.5;color:var(--accent);white-space:nowrap}.product-info p{font-size:var(--mobile-font-body);color:var(--muted);margin-top:5px;line-height:1.8;overflow-wrap:anywhere}.product-price{display:flex;gap:2px 5px;align-items:baseline;flex-wrap:wrap;margin-top:9px;padding-right:48px;min-height:44px}.product-price strong{color:var(--ink);font-size:var(--mobile-font-subheading);letter-spacing:-.4px;font-weight:700;font-variant-numeric:tabular-nums}.product-price small{font-size:var(--mobile-font-meta);color:var(--muted);white-space:nowrap}.add-product{border:0;background:var(--theme-action,var(--ink));color:var(--theme-on-action,var(--white));width:44px;height:44px;padding:0;border-radius:50%;display:grid;place-items:center}.product-row>.add-product{position:absolute;right:0;bottom:12px}.product-row>.sold-out{position:absolute;right:0;bottom:20px;font-size:var(--mobile-font-meta);color:var(--muted);white-space:nowrap}.product-row:has(>.sold-out) .product-price{padding-right:80px}
.empty-state{text-align:center;padding:44px 4px 28px;line-height:1.8}.empty-symbol{height:56px;width:56px;background:var(--theme-icon-soft,#EAE7DF);border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;color:var(--muted)}.empty-symbol .ui-icon{width:26px;height:26px}.empty-state p{font-size:var(--mobile-font-body);color:var(--muted);margin-top:12px;line-height:1.8}.empty-state .button{margin-top:22px}.empty-state .text-button{display:flex;margin:10px auto 0;white-space:normal}.footnote{font-size:var(--mobile-font-meta);color:var(--muted);line-height:1.7;margin-top:14px;overflow-wrap:anywhere}.button{border:1px solid transparent;padding:12px 18px;min-height:48px;font-weight:650;font-size:var(--mobile-font-control);border-radius:8px;transition:background .16s,transform .16s}.button:active:not(:disabled){transform:translateY(1px)}.primary{color:var(--theme-on-action,var(--white));background:var(--theme-action,var(--ink))}.secondary{color:var(--ink);border-color:var(--theme-control,var(--line));background:transparent}.full{width:100%}.notice{margin:12px 18px 0;padding:13px 14px;background:var(--theme-icon-soft,#EEEBE3);color:var(--ink);font-size:var(--mobile-font-body);line-height:1.8;border-left:3px solid var(--orange);overflow-wrap:anywhere}.notice.error,.inline-error{color:var(--error);background:var(--theme-error-soft,#F7EAE1)}.inline-error{font-size:var(--mobile-font-body);line-height:1.8;padding:12px;margin-top:15px;overflow-wrap:anywhere}.pending-banner{margin:12px 18px 0;background:var(--theme-warning-soft,#F4E8DA);padding:16px;border-left:3px solid var(--orange)}.pending-banner strong{font-size:var(--mobile-font-body)}.pending-banner p{font-size:var(--mobile-font-body);color:var(--muted);margin-top:7px;line-height:1.8}.pending-banner button{margin-top:12px;width:100%}
.bottom-nav{position:fixed;z-index:8;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;height:calc(var(--nav-height) + env(safe-area-inset-bottom));padding:4px 24px env(safe-area-inset-bottom);display:flex;justify-content:space-around;background:var(--white);border-top:1px solid var(--line)}.bottom-nav button{border:0;background:none;color:var(--muted);min-width:64px;width:30%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:var(--mobile-font-control);position:relative}.bottom-nav button.active{color:var(--ink);font-weight:700}.bottom-nav button.active:after{content:"";position:absolute;bottom:4px;width:4px;height:4px;border-radius:50%;background:var(--orange)}.bag-bar{position:fixed;z-index:9;bottom:calc(var(--nav-height) + 10px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:452px;animation:bag-in .2s ease-out}.bag-bar>button{display:flex;gap:10px;align-items:center;width:100%;border:0;color:var(--theme-inverse-ink,var(--white));background:var(--theme-inverse,var(--ink));padding:11px 16px;min-height:64px;text-align:left;border-radius:12px;box-shadow:0 4px 16px #2526221a}.bag-icon{height:30px;width:30px;flex-shrink:0;display:grid;place-items:center;position:relative}.bag-icon>.ui-icon{width:26px;height:26px}.bag-icon>span{position:absolute;right:-8px;top:-7px;height:22px;min-width:22px;padding:0 4px;background:var(--theme-badge,var(--orange));color:var(--theme-badge-ink,var(--ink));border-radius:50%;display:grid;place-items:center;font-size:var(--mobile-font-meta);font-weight:700}.bag-total{display:flex;min-width:0;flex-direction:column;margin-left:5px;gap:1px}.bag-total strong{font-size:var(--mobile-font-subheading);font-weight:650;font-variant-numeric:tabular-nums}.bag-total small{font-size:var(--mobile-font-meta);color:var(--theme-inverse-muted,#DBD9D0)}.bag-action{margin-left:auto;flex-shrink:0;font-size:var(--mobile-font-control);font-weight:650;display:flex;align-items:center;gap:5px}.bag-action .ui-icon{width:18px;height:18px}
/* Native dialogs remain modal; only their scroll and action regions are composed. */
.sheet{width:100%;min-width:0;overflow-x:hidden;overflow-y:auto;max-width:480px;max-height:calc(100dvh - 24px);border:1px solid var(--line);border-radius:18px 18px 0 0;padding:12px 18px calc(18px + env(safe-area-inset-bottom));margin:auto auto 0;background:var(--white);color:var(--ink);overscroll-behavior:contain}.sheet[open]{animation:sheet-in .18s ease-out}.sheet::backdrop{background:#25262280}.sheet-handle{width:34px;height:3px;border-radius:2px;background:var(--theme-control,#CBC9C0);margin:0 auto 8px;flex-shrink:0}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;flex-shrink:0}.sheet-heading h2{font-size:var(--mobile-font-heading)}.sheet-heading .overline{margin-bottom:4px}.product-sheet[open],.bag-sheet[open]{display:flex;flex-direction:column}.member-info-sheet[open]{display:flex;flex-direction:column}.sheet-scroll{overflow-y:auto;min-height:0;overflow-x:hidden;scrollbar-gutter:stable;overscroll-behavior:contain;padding-top:10px}.detail-media{margin-top:0}.product-media--detail{width:100%;height:auto;aspect-ratio:1;border-radius:10px}.product-media--detail .product-category-mark{font-size:2.75rem}.product-detail{padding-top:12px}.product-detail h2{font-size:var(--mobile-font-title);line-height:1.4;overflow-wrap:anywhere}.product-detail>p{font-size:var(--mobile-font-body);color:var(--muted);line-height:1.8;margin-top:12px;white-space:pre-wrap}.detail-price{display:flex;align-items:baseline;gap:8px;margin-top:12px}.detail-price strong{font-size:var(--mobile-font-price);color:var(--ink);font-weight:700;font-variant-numeric:tabular-nums}.detail-price span{font-size:var(--mobile-font-control);color:var(--muted)}.detail-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;margin-top:12px;padding-top:14px;border-top:1px solid var(--line);flex-shrink:0}.detail-actions>.button{flex:1 1 140px;padding-inline:10px}.stepper{display:inline-flex;align-items:center;flex-shrink:0;gap:4px}.stepper button{height:44px;width:44px;background:var(--theme-icon-soft,#EEEBE3);border:0;border-radius:6px;color:var(--ink);display:grid;place-items:center}.stepper output{font-size:var(--mobile-font-control);min-width:30px;text-align:center;font-variant-numeric:tabular-nums}.sheet-bottom{padding-top:16px;flex-shrink:0}.bag-context{font-size:var(--mobile-font-body);color:var(--muted);line-height:1.8;padding-bottom:9px}.bag-item{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;align-items:start;padding:16px 0;border-bottom:1px solid var(--line)}.product-media--bag{width:58px;height:58px;margin-top:2px}.product-media--bag .product-category-mark{font-size:1.375rem}.bag-item-copy{min-width:0}.bag-item-main{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:flex-start}.bag-item-main h3{font-size:var(--mobile-font-control);overflow-wrap:anywhere;line-height:1.5}.bag-item-main strong{font-size:var(--mobile-font-control);white-space:nowrap;font-weight:650;font-variant-numeric:tabular-nums}.bag-item-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:10px;gap:8px;flex-wrap:wrap}.bag-item-bottom small{font-size:var(--mobile-font-meta);color:var(--muted)}.bag-item .stepper{margin-left:auto}.remark-label{display:flex;justify-content:space-between;margin:22px 0 9px;font-size:var(--mobile-font-control);font-weight:650}.remark-label span{font-weight:400;color:var(--muted)}textarea,select{width:100%;min-width:0;min-height:48px;padding:12px;color:var(--ink);background:var(--paper);border:1px solid var(--theme-control,var(--line));border-radius:8px;font-size:var(--mobile-font-control);line-height:1.7;resize:vertical}textarea{min-height:86px;max-height:180px}textarea::placeholder{font-size:var(--mobile-font-control);color:var(--muted)}.bag-summary{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center;padding-top:20px;margin-top:15px;border-top:1px solid var(--line);font-size:var(--mobile-font-control)}.bag-summary strong{font-size:var(--mobile-font-price);font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}.unpaid-note{background:var(--theme-warning-soft,#F3EADE);padding:14px;margin-top:16px;border-radius:8px}.unpaid-note strong{font-size:var(--mobile-font-body);line-height:1.8}.unpaid-note p{font-size:var(--mobile-font-body);color:var(--muted);line-height:1.8;margin-top:6px}.price-changes{padding:12px 14px;margin-bottom:10px;background:var(--theme-error-soft,#F5EADE);color:var(--error);font-size:var(--mobile-font-body);line-height:1.8}.price-changes strong{display:block;margin-bottom:5px}.price-changes p+p{margin-top:5px}.sheet-copy{font-size:var(--mobile-font-body);color:var(--muted);line-height:1.8;margin-top:12px}
.order{padding:22px 0;border-bottom:1px solid var(--line)}.order-heading{display:flex;justify-content:space-between;gap:10px;font-size:var(--mobile-font-control);flex-wrap:wrap}.order-heading strong{font-size:var(--mobile-font-control)}.order-status{color:var(--ui-success,#2B6344);font-size:var(--mobile-font-control);white-space:nowrap;font-weight:650}.order-status.cancelled{color:var(--muted)}.order-date{font-size:var(--mobile-font-meta);color:var(--muted);margin-top:6px}.order-progress{display:flex;margin:22px 0 17px;padding:0;list-style:none}.order-progress li{flex:1;position:relative;text-align:center;font-size:var(--mobile-font-control);color:var(--muted);padding-top:16px}.order-progress li:before{content:"";position:absolute;top:2px;left:0;right:0;height:1px;background:var(--line)}.order-progress li:after{content:"";position:absolute;top:0;left:50%;width:5px;height:5px;border-radius:50%;background:var(--line);transform:translateX(-50%)}.order-progress li.done{color:var(--ink)}.order-progress li.done:before,.order-progress li.done:after{background:var(--orange)}.order-lines{font-size:var(--mobile-font-control);line-height:1.7}.order-line{display:flex;justify-content:space-between;gap:12px;margin:7px 0}.order-line>span:first-child{min-width:0;overflow-wrap:anywhere}.order-line>span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}.order-context,.order-remark{font-size:var(--mobile-font-body);color:var(--muted);line-height:1.8;margin-top:11px;white-space:pre-wrap;overflow-wrap:anywhere}.order-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:17px;gap:10px;flex-wrap:wrap}.order-bottom>div{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.order-bottom strong{font-size:var(--mobile-font-subheading);font-weight:700}.unpaid-status{font-size:var(--mobile-font-control);color:var(--accent)}.cancel-order{border:1px solid var(--theme-control,var(--line));background:none;color:var(--ink);font-size:var(--mobile-font-control);min-height:44px;padding:9px 12px;border-radius:7px}
.visit-context{padding:22px 0 18px;border-bottom:1px solid var(--line)}.visit-context h3{font-size:var(--mobile-font-heading);line-height:1.4;margin-top:10px;overflow-wrap:anywhere}.visit-context .footnote{font-size:var(--mobile-font-body);line-height:1.8;margin-top:8px}.visit-context .text-button{margin-top:8px;color:var(--accent)}.visitor-note{font-size:var(--mobile-font-body);color:var(--muted);line-height:1.8;margin:20px 0}.account-section{border-block:1px solid var(--line);padding:0;margin-top:20px}.account-section summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:var(--mobile-font-control);min-height:56px;list-style:none;cursor:pointer}.account-section summary::-webkit-details-marker{display:none}.account-section[open] summary>.ui-icon{transform:rotate(180deg)}.account-section>.footnote:last-child{margin-bottom:18px}.asset-list{margin:12px 0 0}.asset-list>div{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;padding:12px 0;font-size:var(--mobile-font-control);border-bottom:1px solid var(--line)}.asset-list dd{margin:0;color:var(--muted)}.account-link{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;background:transparent;border:0;border-bottom:1px solid var(--line);padding:20px 0;color:var(--ink);text-align:left;font-size:var(--mobile-font-control);min-height:56px}.account-link>span{flex:1;min-width:0}.account-link small{display:block;font-size:var(--mobile-font-body);color:var(--muted);margin-top:5px;line-height:1.8}.secondary-link{font-size:var(--mobile-font-control);color:var(--muted)}.staff-link{padding-block:16px}.brand-footer{text-align:center;font-size:var(--mobile-font-meta);color:var(--ink);letter-spacing:.5px;margin:32px 0 10px;line-height:1.8}.brand-footer span{font-size:var(--mobile-font-meta);color:var(--muted)}.capability-copy h3{font-size:var(--mobile-font-control);margin-top:22px}.capability-copy p{font-size:var(--mobile-font-body);line-height:1.8;margin-top:8px;color:var(--muted)}.toast{position:fixed;z-index:30;bottom:calc(var(--nav-height) + 112px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:var(--theme-inverse,var(--ink));color:var(--theme-inverse-ink,var(--white));padding:13px 16px;border-radius:8px;width:max-content;max-width:calc(100vw - 36px);font-size:var(--mobile-font-body);line-height:1.8;box-shadow:0 3px 16px #25262220;pointer-events:none}.no-script{padding:25px;font-size:var(--mobile-font-body);text-align:center;line-height:1.8}
.account-section>.footnote,#bag-dialog .sheet-scroll>.footnote,#table-source-hint{font-size:var(--mobile-font-body);line-height:1.8}

/* Personal centre V2: useful actions first, explicit assets on demand. */
#page-mine[data-member-version="1"]{padding-top:18px}
.phone-shell:has(#bag-bar[hidden]){padding-bottom:calc(var(--nav-height) + 28px + env(safe-area-inset-bottom))}
.member-card{padding:20px 20px 0;background:var(--theme-card,#F58A45);color:var(--theme-card-ink,var(--ink));border-radius:20px}
.member-card-top{display:grid;grid-template-columns:52px minmax(0,1fr) 44px;align-items:center;gap:12px}
.member-emblem{width:52px;height:56px;display:grid;place-items:center;background:var(--theme-emblem,var(--ink));border-radius:16px}
.member-emblem img{display:block;width:36px;height:36px;object-fit:contain}
.member-identity{min-width:0}
.member-identity h2{font-size:1.625rem;line-height:1.35;font-weight:750;letter-spacing:-.4px}
.member-identity p{font-size:var(--mobile-font-body);line-height:1.7;color:var(--theme-card-ink,var(--ink));margin-top:4px;font-weight:500}
.identity-state{white-space:nowrap}
.member-profile{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--theme-card-line,#A65220);border-radius:50%;padding:0;background:transparent;color:var(--theme-card-ink,var(--ink))}
.member-profile .ui-icon{width:22px;height:22px}
.member-assets{margin-top:18px;border-top:1px solid var(--theme-card-line,#B45D2B)}
.member-assets summary{display:flex;gap:10px;align-items:center;min-height:58px;font-size:var(--mobile-font-control);font-weight:600;line-height:1.5;cursor:pointer;list-style:none;padding:12px 0}
.member-assets summary::-webkit-details-marker{display:none}
.member-assets summary>span:first-child{flex:1;min-width:0}
.asset-status{font-size:var(--mobile-font-meta);font-weight:500;background:var(--theme-card-badge,#FFC49B);color:var(--theme-card-badge-ink,var(--ink));border-radius:5px;padding:3px 8px;white-space:nowrap}
.member-assets summary>.ui-icon{width:18px;height:18px;transition:transform .18s ease}
.member-assets[open] summary>.ui-icon{transform:rotate(180deg)}
.member-card .member-asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:0;padding:0 0 16px}
.member-card .member-asset-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 0;border-bottom:0;font-size:var(--mobile-font-control);min-width:0}
.member-asset-grid dt{font-size:var(--mobile-font-control);color:var(--theme-card-ink,var(--ink));line-height:1.6}
.member-card .member-asset-grid dd{font-size:var(--mobile-font-control);color:var(--theme-card-ink,var(--ink));font-weight:650;line-height:1.5}
.member-caption{font-size:var(--mobile-font-body);line-height:1.8;color:var(--muted);margin-top:16px}.account-section .member-caption{margin-bottom:18px}
.member-section{margin-top:22px;padding-top:0}
.member-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.member-section-heading h3{font-size:var(--mobile-font-subheading);font-weight:700;line-height:1.5;letter-spacing:-.3px}
.member-services{padding:20px 14px 14px;background:var(--white);border-radius:20px}
.member-services .member-section-heading{padding-inline:6px;margin-bottom:12px}
.member-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 2px}
.member-service{min-width:0;min-height:110px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;border:0;border-radius:12px;padding:8px 2px;background:transparent;color:var(--ink);font-size:var(--mobile-font-control);line-height:1.5;text-align:center;transition:background .16s ease}
.service-icon{width:44px;height:44px;display:grid;place-items:center;background:var(--theme-icon-soft,#F0F2EE);border-radius:14px;margin-bottom:4px;transition:background .16s ease,transform .16s ease}
.member-service .ui-icon{width:25px;height:25px;color:var(--theme-icon-ink,#535C53);stroke-width:1.9}
.member-service.available .service-icon{background:var(--theme-accent-soft,#FFF0E6)}
.member-service.available .ui-icon{color:var(--accent)}
.member-service-label{font-size:var(--mobile-font-control);font-weight:600;overflow-wrap:anywhere}
.member-service-state{font-size:var(--mobile-font-meta);line-height:1.5;color:var(--muted);font-weight:400}
.member-service:active{background:var(--paper)}
.member-service:active .service-icon{transform:translateY(1px)}
#page-mine[data-member-version="1"] .visit-context{margin-top:22px;padding:18px 20px;background:var(--white);border:0;border-radius:20px}
#page-mine .visit-context h3{font-size:var(--mobile-font-body);line-height:1.6;margin-top:6px}
#page-mine .visit-context .text-button{margin-top:6px;font-weight:600}
.member-activity-grid{display:grid;grid-template-columns:1fr;background:var(--white);border-radius:18px;padding:0 18px}
.member-activity{min-width:0;min-height:78px;border:0;background:transparent;color:var(--ink);padding:14px 0;text-align:left;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;border-radius:0}
.member-activity+.member-activity{border-top:1px solid var(--line)}
.member-activity>.ui-icon{width:28px;height:28px;color:var(--accent)}
.member-activity-title{font-size:var(--mobile-font-control);font-weight:600;line-height:1.5}
.member-activity small{font-size:var(--mobile-font-meta);line-height:1.5;color:var(--muted)}
.member-help-list{padding:20px 18px 4px;background:var(--white);border-radius:20px}
.member-help-list .member-section-heading{margin-bottom:4px}
.member-help-list .account-link{min-height:62px;padding:14px 0;gap:14px;font-weight:500}
.member-help-list .account-link>.ui-icon:first-child{color:var(--muted)}
.member-help-list .account-link>.ui-icon:last-child{width:18px;height:18px;color:var(--muted)}
.member-help-list .account-link:last-child{border-bottom:0}
#page-mine .account-section{border:0;margin:12px 4px 0}
#page-mine .account-section summary{color:var(--muted);font-weight:500}
#page-mine .visitor-note{margin:8px 4px 0}
#page-mine .brand-footer{margin:26px 0 0}
.member-info-sheet .sheet-scroll{padding-top:14px}
#member-info-description,#member-info-details{font-size:var(--mobile-font-body);line-height:1.8;color:var(--muted);overflow-wrap:anywhere}
#member-info-details{padding-left:24px;margin:16px 0 0}
#member-info-details li+li{margin-top:10px}
.member-info-sheet .sheet-bottom{background:var(--white)}
@media(hover:hover){.member-service:hover{background:var(--paper)}.member-service:hover .service-icon{transform:translateY(-2px)}.member-profile:hover{background:var(--theme-card-badge,#FFAB72)}.member-help-list .account-link:hover{color:var(--accent)}}

@keyframes page-in{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes sheet-in{from{opacity:.5;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes bag-in{from{opacity:.5;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%,0)}}
@media(min-width:600px){.phone-shell{margin-top:24px;min-height:calc(100svh - 24px);border-radius:14px 14px 0 0;overflow:clip;box-shadow:0 6px 32px #2526220d}.sheet{margin:auto;border-radius:16px;max-height:90dvh}.toast{max-width:420px;line-height:1.8}}
@media(max-width:374px){.source-strip{grid-template-columns:20px minmax(0,1fr)}.source-strip>.text-button{grid-column:2;justify-self:start;text-align:left}.member-card{padding:18px 16px 0}.member-card-top{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}.member-emblem{width:44px;height:48px}.member-emblem img{width:32px;height:32px}.member-identity h2{font-size:var(--mobile-font-title)}.member-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}.member-activity{grid-template-columns:28px minmax(0,1fr) auto;gap:10px}.detail-actions>.button{flex-basis:100%}.bag-bar>button{padding-inline:12px;gap:8px}.bag-total{margin-left:2px}.bag-action{gap:3px}.bag-action .ui-icon{display:none}.page,.sheet{padding-left:16px;padding-right:16px}.masthead{padding-left:16px;padding-right:16px}.wordmark h1{font-size:var(--mobile-font-body)}.guest-tag{font-size:var(--mobile-font-meta)}.product-row{grid-template-columns:92px minmax(0,1fr);gap:12px}.product-visual-button,.product-media--menu{width:92px;height:92px}.product-info h3{font-size:var(--mobile-font-body)}.categories{gap:20px}.detail-actions{gap:10px}.bag-item{grid-template-columns:50px minmax(0,1fr);gap:10px}.product-media--bag{width:50px;height:50px}}
@media(max-height:560px){.sheet{max-height:calc(100dvh - 12px)}.sheet-heading{min-height:44px}.sheet-bottom{padding-top:10px}.detail-actions{margin-top:8px;padding-top:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* The current chip avatar stays legible without changing theme colors or member state. */
body[data-brand-version="3"] .member-emblem{height:52px;border-radius:50%;background:transparent}
body[data-brand-version="3"] .member-emblem img{width:48px;height:48px}
@media(max-width:374px){body[data-brand-version="3"] .member-emblem{height:44px}body[data-brand-version="3"] .member-emblem img{width:44px;height:44px}}

/* Mobile VI integration: identity supports ordering; palettes and state stay authoritative. */
body[data-mobile-vi="1"] .source-strip{grid-template-columns:52px minmax(0,1fr) auto;gap:10px;min-height:76px;padding:10px 0;margin-bottom:8px}
.source-mascot{display:block;width:52px;height:54px;object-fit:contain;flex-shrink:0}
.source-label{display:block;font-size:var(--mobile-font-meta);line-height:1.5;color:var(--muted);margin-bottom:2px}
body[data-mobile-vi="1"] .source-strip .text-button{max-width:7.5rem;color:var(--accent)}
.empty-portrait{display:block;width:92px;height:94px;margin:0 auto 20px}
.empty-portrait img{display:block;width:100%;height:100%;object-fit:contain}
body[data-mobile-vi="1"] #orders-loading.empty-state{padding-top:30px}
body[data-mobile-vi="1"] #menu-loading .empty-portrait,body[data-mobile-vi="1"] #orders-loading .empty-portrait{width:76px;height:78px}
/* One identity row, not a second welcome banner above it: preserve the first-screen action budget. */
body[data-mobile-vi="1"] .member-emblem{width:52px;height:54px;border-radius:0;background:transparent}
body[data-mobile-vi="1"] .member-emblem>img{display:block;width:52px;height:54px;object-fit:contain}
body[data-mobile-vi="1"] .member-services{padding:20px 14px 16px;border-radius:16px}
body[data-mobile-vi="1"] .member-service-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px 10px}
body[data-mobile-vi="1"] .member-service.available{grid-column:span 2;min-height:104px}
.member-service-boundary{grid-column:1/-1;margin:8px 6px 2px;padding-top:14px;border-top:1px solid var(--line);font-size:var(--mobile-font-body);line-height:1.8;color:var(--muted)}
body[data-mobile-vi="1"] .member-service:not(.available){grid-column:span 3;display:grid;grid-template-columns:20px minmax(0,1fr);grid-template-rows:auto auto;gap:3px 8px;align-content:center;align-items:center;min-height:68px;padding:10px 6px;border-radius:8px;text-align:left}
body[data-mobile-vi="1"] .member-service:not(.available) .service-icon{grid-row:1/3;width:20px;height:24px;margin:0;background:transparent;border-radius:0}
body[data-mobile-vi="1"] .member-service:not(.available) .ui-icon{width:20px;height:20px;color:var(--muted)}
body[data-mobile-vi="1"] .member-service:not(.available) .member-service-label{font-weight:500}
body[data-mobile-vi="1"] .member-service:not(.available) .member-service-state{grid-column:2}
body[data-mobile-vi="1"] .member-activity-grid{border-radius:12px}
body[data-mobile-vi="1"] .member-activity{min-height:66px;grid-template-columns:24px minmax(0,1fr) auto;gap:12px}
body[data-mobile-vi="1"] .member-activity>.ui-icon{width:22px;height:22px;color:var(--muted)}
@media(max-width:374px){
 body[data-mobile-vi="1"] .source-strip{grid-template-columns:44px minmax(0,1fr);gap:2px 10px;min-height:76px}
 body[data-mobile-vi="1"] .source-mascot{grid-row:1/3;width:44px;height:46px;align-self:center}
 body[data-mobile-vi="1"] .source-strip>.text-button{grid-column:2;justify-self:start;min-height:44px;padding:6px 0;text-align:left;max-width:none}
 body[data-mobile-vi="1"] .member-emblem{width:44px;height:46px}
 body[data-mobile-vi="1"] .member-emblem>img{width:44px;height:46px}
 body[data-mobile-vi="1"] .member-service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 8px}
 body[data-mobile-vi="1"] .member-service.available{grid-column:span 2;min-height:104px}
 body[data-mobile-vi="1"] .member-service.available:nth-child(3){grid-column:1/-1;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;min-height:62px;padding:8px 6px}
 body[data-mobile-vi="1"] .member-service.available:nth-child(3) .service-icon{margin:0}
 body[data-mobile-vi="1"] .member-service:not(.available){grid-column:span 2;padding-inline:2px}
}
@media(prefers-reduced-motion:no-preference){body[data-mobile-vi="1"] .member-emblem>img{animation:member-avatar-in .24s ease-out}}
@keyframes member-avatar-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
