/* Account and commerce additions: reuse the original storefront tokens. */
.shop-page{padding:calc(18 * var(--u,1px)) var(--gx,20px) calc(32 * var(--u,1px));min-height:65vh;color:var(--ink,#1c1a17);font-size:calc(13 * var(--u,1px));line-height:1.6}
.shop-page *, .shop-dialog *{box-sizing:border-box}
.shop-page button,.shop-page input,.shop-page textarea,.shop-page select,.shop-dialog button,.shop-dialog input,.shop-dialog textarea,.shop-dialog select{font:inherit}
.shop-page button,.shop-dialog button{cursor:pointer}
.shop-page a{text-decoration:none;color:inherit}
.shop-page button:disabled,.shop-dialog button:disabled{cursor:default;opacity:.5}
.shop-page button:focus-visible,.shop-page a:focus-visible,.shop-dialog button:focus-visible{outline:2px solid var(--accent,#7a2a33);outline-offset:4px}
.shop-page h1,.shop-page h2,.shop-page h3,.shop-page p{margin:0}
.shop-page h2{font-size:calc(15 * var(--u,1px));font-weight:650;letter-spacing:-.02em;line-height:1.4}
.shop-panel{background:var(--surface,#fffdf9);border:1px solid var(--line,rgba(28,26,23,.075));border-radius:calc(16 * var(--u,1px));padding:calc(18 * var(--u,1px));margin-bottom:calc(14 * var(--u,1px))}
.shop-panel>h2{margin-bottom:calc(16 * var(--u,1px))}
.shop-panel-head,.shop-page-top,.shop-row{display:flex;align-items:center;gap:10px;justify-content:space-between}
.shop-page-top{margin:0 0 16px;min-height:36px}
.shop-panel-head{margin-bottom:16px}
.shop-panel-head h2{min-width:0}
.shop-muted{color:var(--muted,#8a8378);font-size:calc(12 * var(--u,1px));line-height:1.7}
.shop-small{font-size:calc(11 * var(--u,1px))}
.shop-icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;background:none;border-radius:50%;flex:0 0 auto}
.shop-icon-button .mi{width:21px;height:21px}
.shop-text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:var(--accent,#7a2a33)!important;font-size:calc(12 * var(--u,1px));font-weight:550;background:none;border:0;padding:6px 0;white-space:nowrap}
.shop-text-button .mi{width:16px;height:16px}
.shop-text-button.is-muted{color:var(--muted)!important}
.shop-empty{text-align:center;padding:calc(64 * var(--u,1px)) 12px;display:flex;align-items:center;flex-direction:column;gap:12px}
.shop-empty-icon{display:grid;place-items:center;width:90px;height:104px;border-radius:44px 44px 16px 16px;background:var(--sunk,#efeae2);margin-bottom:12px;color:var(--accent)}
.shop-empty-icon .mi{width:40px;height:40px;stroke-width:1.2}
.shop-empty h2{font-size:calc(19 * var(--u,1px));font-weight:500}
.shop-empty p{color:var(--muted);max-width:250px;font-size:calc(12 * var(--u,1px))}
.shop-empty .mall-btn{margin-top:12px;min-width:150px}
.shop-toast{position:fixed;z-index:100000;bottom:calc(100px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100vw - 40px);padding:12px 20px;background:#29251f;color:#fffdf9;border-radius:10px;font:500 14px/1.5 system-ui,sans-serif;box-shadow:0 6px 25px #0002;text-align:center;pointer-events:none}
.shop-toast.is-error{background:#7a2a33}
.shop-form-error{padding:10px 12px;border:1px solid #7a2a3326;background:#7a2a3309;color:#7a2a33;border-radius:8px;font-size:12px;line-height:1.6;margin:0 0 16px!important}
.shop-form-error[hidden]{display:none}
.shop-field{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;color:var(--ink-2,#39342f);min-width:0;font-size:13px}
.shop-field>span{font-size:12px;font-weight:550}.shop-field i{font-style:normal;color:var(--accent)}
.shop-field input,.shop-field select,.shop-field textarea{border:1px solid var(--line-2,#ded8cf);border-radius:9px;padding:11px 12px;background:#fffdf9;color:var(--ink,#1c1a17);width:100%;outline:none;transition:border-color .15s;line-height:1.5;min-height:44px;resize:vertical}
.shop-field input:focus,.shop-field select:focus,.shop-field textarea:focus{border-color:var(--accent,#7a2a33);box-shadow:0 0 0 3px #7a2a330a}
.shop-field input[readonly]{background:var(--sunk,#efeae2);color:var(--muted)}
.shop-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.shop-checkbox{display:flex;align-items:center;gap:8px;font-size:13px}.shop-checkbox input{accent-color:var(--accent)}
.shop-dialog{position:fixed;inset:0;margin:auto;width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #ded8cf;border-radius:18px;background:#fffdf9;color:#1c1a17;box-shadow:0 24px 90px #201a1633;font:14px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif;overflow:auto;z-index:9999}
.shop-dialog::backdrop{background:rgba(28,26,23,.48);backdrop-filter:blur(2px)}
.shop-dialog-form{margin:0}.shop-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 16px;border-bottom:1px solid #eee9e2}.shop-dialog h2{margin:0;font-size:18px;font-weight:600}
.shop-dialog-body{padding:20px 22px}.shop-dialog-body>p{margin-top:0}.shop-dialog footer{padding:16px 22px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #eee9e2}
.shop-dialog .mall-btn{min-height:44px;font-size:13px;padding-inline:18px}.shop-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.shop-recovery-hint{color:#6c6259;font-size:13px}.shop-recovery-code{display:block;padding:18px 12px;text-align:center;word-break:break-all;background:#f2eee8;border:1px dashed #c6b7a6;border-radius:10px;font:600 16px/1.7 monospace;letter-spacing:.03em;margin:18px 0}.shop-dialog [data-continue]{margin-top:10px}
html.mall-ui .mall-auth-card .shop-auth-submit{height:calc(var(--u)*54);margin-top:calc(var(--u)*22);font-size:var(--t-md);letter-spacing:.08em}
html.mall-ui .mall-auth-card .shop-auth-submit .mi{transition:transform var(--d-2) var(--ease)}
html.mall-ui .mall-auth-card .shop-auth-submit:hover .mi{transform:translateX(3px)}
.shop-account-hero{display:flex;align-items:center;gap:15px;padding:16px 2px 24px}.shop-account-hero>div{flex:1;min-width:0}.shop-account-hero h1{font-size:calc(22 * var(--u,1px));font-weight:600;word-break:break-word;line-height:1.35}.shop-account-hero p{font-size:calc(11 * var(--u,1px));color:var(--muted);margin-top:5px}
.shop-avatar{display:grid;place-items:center;width:calc(64 * var(--u,1px));height:calc(64 * var(--u,1px));border-radius:50%;background:#e8ded2;color:#654f3e;font-size:28px;font-family:var(--font-display,Georgia,serif);border:4px solid #fffdf9;flex:0 0 auto}
.shop-account-stats{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;padding:0 0 24px}.shop-account-stats a{display:flex;flex-direction:column;gap:4px;border-right:1px solid var(--line-2)}.shop-account-stats a:last-child{border:0}.shop-account-stats strong{font-size:calc(21 * var(--u,1px));font-weight:600;font-variant-numeric:tabular-nums}.shop-account-stats span{font-size:calc(11 * var(--u,1px));color:var(--muted)}
.shop-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 6px;padding:8px 0}.shop-service{display:flex;align-items:center;flex-direction:column;gap:10px;text-align:center;font-size:calc(11 * var(--u,1px));line-height:1.4;min-width:0}.shop-service>span:last-child{overflow-wrap:anywhere}.shop-service-icon{position:relative;display:grid;place-items:center;width:40px;height:40px;color:var(--ink-2)}.shop-service-icon .mi{width:25px;height:25px;stroke-width:1.4}.shop-service-icon i{position:absolute;right:-3px;top:-3px;min-width:16px;height:16px;border-radius:9px;background:var(--accent);color:white;font:normal 10px/16px system-ui;padding:0 4px;box-shadow:0 0 0 2px #fffdf9}
.shop-checkin-banner{display:flex;align-items:center;gap:12px;border:1px solid #e6d6c0;border-radius:14px;padding:15px;margin-bottom:14px;background:#f0e7d9}.shop-checkin-banner>span{color:#896334;display:grid;place-items:center;width:32px;height:32px;border:1px solid #b89c7866;border-radius:50%;flex:0 0 auto}.shop-checkin-banner>div{flex:1;min-width:0}.shop-checkin-banner strong{font-size:13px}.shop-checkin-banner p{font-size:10px;color:#8c745a;margin-top:3px}.shop-checkin-banner .mall-btn{font-size:11px;padding-inline:13px;white-space:nowrap}
.shop-account-links{margin:-4px 0 -8px}.shop-account-links>a{display:flex;align-items:center;justify-content:space-between;min-height:52px;border-bottom:1px solid var(--line);font-size:calc(13 * var(--u,1px));gap:10px}.shop-account-links>a:last-child{border:0}.shop-account-links>a>span{display:inline-flex;align-items:center;gap:12px}.shop-account-links .mi{width:19px;height:19px}.shop-account-links>a>span:last-child{color:var(--faint)}
.shop-count-pill{background:var(--accent);border-radius:10px;color:#fffdf9;padding:0 6px;min-width:18px;text-align:center;font:normal 10px/18px system-ui}.shop-logout{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:17px;border:0;border-radius:12px;color:var(--muted);background:transparent;font-size:13px}.shop-logout .mi{width:18px;height:18px}
.shop-badge,.shop-status{display:inline-flex;align-items:center;border-radius:5px;padding:3px 7px;font-size:10px;line-height:1.4;white-space:nowrap;background:#eee9e2;color:#75695c}.shop-badge{color:#7a2a33;background:#7a2a330b}.shop-status.is-pending_payment,.shop-status.is-refund_requested,.shop-status.is-open{background:#f6ead6;color:#8a5a17}.shop-status.is-paid,.shop-status.is-shipped,.shop-status.is-replied{background:#e2e9f1;color:#3d5a78}.shop-status.is-completed,.shop-status.is-resolved{background:#e4ede2;color:#3f6a48}
.shop-address-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;margin-bottom:12px}.shop-address-card .shop-row{justify-content:flex-start;flex-wrap:wrap}.shop-address-card .shop-row>span:not(.shop-badge){font-size:12px;color:var(--muted)}.shop-address-card p{font-size:12px;color:var(--ink-3);margin:8px 0 0;line-height:1.8;word-break:break-word}.shop-address-card .shop-actions{justify-content:flex-end;margin-top:9px;gap:18px}.shop-panel>.shop-address-card{padding:0;border:0;margin:0;background:none}
.shop-cart-list{padding:0 16px}.shop-cart-item{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.shop-cart-item:last-child{border:0}.shop-cart-image{width:calc(90 * var(--u,1px));height:calc(108 * var(--u,1px));flex:0 0 auto}.shop-cart-image img{width:100%;height:100%;object-fit:cover;border-radius:10px;background:#eee9e2}.shop-cart-info{flex:1;min-width:0}.shop-item-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:calc(12 * var(--u,1px));line-height:1.6;color:var(--ink-2)}.shop-cart-info>strong{display:block;font-size:calc(14 * var(--u,1px));margin-top:9px}.shop-cart-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px}
.shop-stepper{display:inline-flex;align-items:center;border:1px solid var(--line-2);border-radius:7px;background:#fffdf9;overflow:hidden;height:31px}.shop-stepper button{display:grid;place-items:center;width:28px;height:29px;border:0;background:none;font-size:17px;flex:0 0 auto}.shop-stepper input{width:33px;min-width:0;border:0;background:none;text-align:center;font-size:12px;padding:0;outline:none;-moz-appearance:textfield}.shop-stepper input::-webkit-inner-spin-button,.shop-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.shop-cart-summary{padding:18px 0}.shop-cart-summary>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;font-size:14px}.shop-cart-summary strong{font-size:22px}.shop-cart-summary .mall-btn{min-height:50px}
.shop-address-option,.shop-payment-option{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid var(--line);border-radius:10px;cursor:pointer;margin-bottom:10px}.shop-address-option:has(input:checked),.shop-payment-option:has(input:checked){border-color:#7a2a3377;background:#7a2a3303}.shop-address-option input,.shop-payment-option input{margin-top:4px;accent-color:var(--accent);flex:0 0 auto}.shop-address-option>span,.shop-payment-option>span{display:flex;flex-direction:column;gap:5px;min-width:0}.shop-address-option strong,.shop-payment-option strong{font-size:12px;font-weight:600}.shop-address-option small{font-weight:400;color:var(--muted);margin-left:6px}.shop-address-option>span>span{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.shop-payment-option small{font-size:10px;color:var(--muted);line-height:1.8}.shop-payment-note{font-size:10px;color:var(--muted);margin-top:12px!important}
.shop-checkout-item{display:flex;align-items:center;gap:11px;margin-bottom:14px}.shop-checkout-item:last-child{margin:0}.shop-checkout-item img{width:52px;height:64px;object-fit:cover;border-radius:8px;flex:0 0 auto}.shop-checkout-item>div{flex:1;min-width:0}.shop-checkout-item p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.5}.shop-checkout-item .shop-muted{font-size:10px;display:block;margin-top:5px}.shop-checkout-item>strong{font-size:11px;white-space:nowrap}.shop-totals>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:12px;color:var(--ink-3)}.shop-totals .shop-total{padding-top:14px;border-top:1px solid var(--line);font-size:16px;color:var(--ink);margin-bottom:0}.shop-totals+.shop-small{margin-top:12px!important;margin-bottom:18px!important}
.shop-filter-tabs{display:flex;gap:18px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;margin:0 calc(-1 * var(--gx,20px)) 18px;padding:0 var(--gx,20px);border-bottom:1px solid var(--line)}.shop-filter-tabs a{padding:8px 0 14px;font-size:11px;color:var(--muted);border-bottom:2px solid transparent}.shop-filter-tabs a.is-active{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}
.shop-order-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;margin-bottom:14px;overflow:hidden}.shop-order-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);font-size:10px}.shop-order-card-product{display:flex;align-items:center;gap:12px;padding:16px}.shop-order-card-product>div:nth-child(2){flex:1;min-width:0}.shop-order-card-product p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px}.shop-order-card-product span{color:var(--muted);font-size:10px;display:block;margin-top:8px}.shop-order-card-product>.mi{width:14px;height:14px;color:var(--faint)}.shop-order-thumbs{display:flex;max-width:130px;overflow:hidden;gap:4px;flex:0 0 auto}.shop-order-thumbs img{width:48px;height:60px;object-fit:cover;border-radius:6px}.shop-order-card-foot{display:flex;justify-content:space-between;padding:12px 16px;border-top:1px solid var(--line)}.shop-order-card-foot>span{color:var(--muted);font-size:11px}.shop-order-card-foot>strong{font-size:14px}
.shop-order-state{text-align:center;padding:20px 0 28px}.shop-order-state-icon{display:grid;place-items:center;background:var(--sunk);border-radius:50%;width:64px;height:64px;margin:0 auto 14px;color:var(--accent)}.shop-order-state h2{font-size:17px;margin:12px 0 5px}.shop-order-state p{font-size:11px;color:var(--muted)}.shop-order-item{display:flex;align-items:center;gap:12px;margin-bottom:17px}.shop-order-item>a{flex:0 0 auto}.shop-order-item img{width:55px;height:66px;object-fit:cover;border-radius:7px}.shop-order-item>div{flex:1;min-width:0}.shop-order-item .shop-item-title{font-size:11px}.shop-order-item .shop-muted{font-size:10px;margin-top:5px}.shop-order-item>strong{font-size:11px;white-space:nowrap}.shop-definition{display:grid;grid-template-columns:100px 1fr;gap:10px 12px;font-size:11px;margin:0}.shop-definition dt{color:var(--muted)}.shop-definition dd{margin:0;text-align:right;word-break:break-word}.shop-definition+.shop-muted{margin-top:16px}.shop-timeline{list-style:none;padding:0;margin:0}.shop-timeline li{position:relative;padding:0 0 22px 20px;border-left:1px solid var(--line-2)}.shop-timeline li:before{content:"";position:absolute;width:7px;height:7px;background:var(--accent);border:2px solid var(--surface);box-shadow:0 0 0 1px var(--accent);border-radius:50%;left:-4px;top:6px}.shop-timeline strong{font-size:12px}.shop-timeline time,.shop-timeline p{display:block;font-size:10px;color:var(--muted);margin-top:5px}.shop-timeline li:last-child{padding-bottom:0}.shop-order-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:20px}.shop-order-actions .mall-btn{font-size:12px;min-height:42px}.shop-success-note{display:flex;align-items:center;justify-content:center;gap:8px;background:#e4ede2;color:#3f6a48;border-radius:10px;padding:12px;font-size:12px}.shop-success-note .mi{width:18px;height:18px}
.shop-favorites-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.shop-favorite-card{min-width:0}.shop-favorite-card>a>img{aspect-ratio:4/5;width:100%;object-fit:cover;border-radius:13px;background:var(--surface)}.shop-favorite-card h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.7;font-weight:400;margin-top:10px;min-height:38px}.shop-favorite-card>div{display:flex;align-items:center;justify-content:space-between;gap:5px}.shop-favorite-card strong{font-size:13px}.shop-icon-button.is-saved{color:var(--accent)}.shop-icon-button.is-saved path{fill:var(--accent-soft)}
.shop-coupon{display:flex;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-bottom:14px}.shop-coupon-value{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 34%;gap:6px;padding:18px 8px;color:var(--accent);background:#7a2a3306;border-right:1px dashed #cbb8ae}.shop-coupon-value strong{font-size:calc(22 * var(--u,1px));font-weight:600}.shop-coupon-value span{font-size:11px}.shop-coupon-details{padding:18px 14px;min-width:0;flex:1}.shop-coupon-details h2{font-size:13px;margin-bottom:6px}.shop-coupon-details p{font-size:10px;color:var(--muted);line-height:1.8}.shop-coupon-code{margin-top:12px;padding:4px 9px;background:#f2eee8;border:0;border-radius:5px;font-size:10px;color:var(--ink-3);word-break:break-all}
.shop-points-hero{text-align:center;padding:30px 20px;background:var(--surface);border:1px solid var(--line);border-radius:18px;margin-bottom:14px}.shop-points-icon{display:grid;place-items:center;width:68px;height:68px;border:1px solid #b79b7644;border-radius:50%;background:#f0e7d9;color:#896334;margin:0 auto 18px}.shop-points-icon .mi{width:30px;height:30px}.shop-points-hero>p:first-of-type{font-size:12px;color:var(--muted)}.shop-points-hero>strong{display:block;font-size:54px;line-height:1.25;font-weight:500;font-family:Georgia,serif;color:#805b31;margin:5px 0 12px}.shop-points-hero h2{font-size:13px;font-weight:400;color:var(--muted)}.shop-checkin-streak{display:flex;align-items:center;justify-content:space-between;padding:20px 0;margin:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px}.shop-points-hero>.shop-muted{margin-top:15px}.shop-points-hero .mall-btn[disabled]{background:var(--sunk);color:var(--muted);opacity:1}
.shop-notification{display:flex;align-items:flex-start;gap:13px;border-bottom:1px solid var(--line);padding:20px 0;position:relative}.shop-notification:first-of-type{padding-top:8px}.shop-notification-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--sunk);flex:0 0 auto;color:var(--muted)}.shop-notification-icon .mi{width:21px;height:21px}.shop-notification>div{flex:1;min-width:0}.shop-notification h2{font-size:13px;font-weight:600}.shop-notification p{font-size:12px;color:var(--ink-3);margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere}.shop-notification time{display:block;color:var(--muted);font-size:10px;margin-top:10px}.shop-unread-dot{width:6px;height:6px;display:block;background:var(--accent);border-radius:50%;flex:0 0 auto;margin-top:5px}
html.mall-ui .shop-service-icon .mi{width:25px;height:25px;stroke-width:1.4}
html.mall-ui .shop-icon-button .mi{width:21px;height:21px}
html.mall-ui .shop-text-button .mi{width:16px;height:16px}
html.mall-ui .shop-empty-icon .mi{width:40px;height:40px;stroke-width:1.2}
html.mall-ui .shop-account-links .mi{width:19px;height:19px}
html.mall-ui .shop-order-state-icon .mi{width:27px;height:27px}
html.mall-ui .shop-points-icon .mi{width:30px;height:30px}
html.mall-ui .shop-notification-icon .mi{width:21px;height:21px}
html.mall-ui .shop-checkin-banner>span .mi{width:19px;height:19px}
html.mall-ui .shop-ticket-card .mi{width:15px;height:15px}
.shop-coupon-input{display:flex;align-items:stretch;gap:9px}.shop-coupon-input input{flex:1;min-width:0}.shop-coupon-input .mall-btn{flex:0 0 auto;min-height:44px;padding-inline:14px;font-size:12px}.shop-totals [hidden]{display:none}
.shop-ticket-card{display:block;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:18px;margin-bottom:12px}.shop-ticket-card strong{font-size:13px;min-width:0;overflow-wrap:anywhere}.shop-ticket-card p{font-size:11px;color:var(--muted);margin:8px 0 14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shop-ticket-card time{font-size:10px;color:var(--muted)}.shop-ticket-card .mi{width:15px;height:15px;color:var(--faint)}.shop-conversation{padding:10px 0}.shop-message{margin-bottom:20px;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:13px;max-width:94%}.shop-message.is-customer{margin-left:auto;background:#eee7df}.shop-message-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px}.shop-message-meta strong{font-size:10px;font-weight:600}.shop-message-meta time{font-size:9px;color:var(--muted)}.shop-message p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.shop-session-list article{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid var(--line)}.shop-session-list article:last-child{border:0}.shop-session-list strong{font-size:12px}.shop-session-list p,.shop-session-list small{color:var(--muted);font-size:10px;margin-top:4px}.shop-session-list+.mall-btn{margin-top:18px}
@media(max-width:360px){.shop-dialog header,.shop-dialog-body,.shop-dialog footer{padding-inline:17px}.shop-field-grid{grid-template-columns:1fr}.shop-cart-item{gap:10px}.shop-cart-image{width:73px;height:90px}.shop-cart-list{padding-inline:12px}.shop-stepper button{width:25px}.shop-stepper input{width:26px}.shop-order-thumbs{max-width:80px}.shop-order-thumbs img{width:37px;height:50px}.shop-checkin-banner{padding:12px;gap:8px}.shop-checkin-banner .mall-btn{padding-inline:9px;font-size:10px}.shop-panel{padding:15px}}
@media(prefers-reduced-motion:reduce){.shop-page *,.shop-dialog *{scroll-behavior:auto!important;transition:none!important}}
.shop-service-grid.is-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.shop-member-summary{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);margin:0 0 24px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.shop-member-summary>div,.shop-member-summary>a{display:flex;flex-direction:column;min-width:0;gap:7px;padding-inline:18px}
.shop-member-summary>.shop-member-funds{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-end;gap:10px;padding-left:0;border-right:1px solid var(--line)}
.shop-member-balance{display:flex;flex:1 1 120px;flex-direction:column;min-width:0;gap:7px}
.shop-member-summary span{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}
.shop-member-summary strong{font-size:24px;line-height:1.35;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.shop-member-summary .mi{width:12px;height:12px}
.shop-order-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;white-space:normal;text-align:center}
.shop-order-filters a{display:flex;align-items:center;justify-content:center;min-width:0;line-height:1.5}
.shop-order-card-head>span:first-child{min-width:0;overflow-wrap:anywhere}
.shop-repurchase-note{margin:0 16px 14px;font-size:12px;line-height:1.5}.shop-repurchase-note dt{color:var(--muted)}.shop-repurchase-note dd{margin:3px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}
.shop-order-card-head .shop-status{flex-shrink:0;max-width:48%;text-align:center;white-space:normal;line-height:1.4}
.shop-status.is-repurchase-pending{background:#f0e9dc;color:#806341}.shop-status.is-repurchase-completed{background:#e6ede6;color:#42654c}
.shop-wallet-overview{padding:18px}.shop-wallet-currency{font-size:11px;color:var(--muted)}
.shop-wallet-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.shop-wallet-balances>div{min-width:0}.shop-wallet-balances dt{font-size:10px;color:var(--muted);line-height:1.5}
.shop-wallet-balances dd{margin:7px 0 0;font-size:17px;font-weight:600;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.shop-wallet-history>h2{margin:24px 0 16px}.shop-wallet-tabs{gap:20px}.shop-wallet-records{border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}
.shop-wallet-record{border-bottom:1px solid var(--line)}.shop-wallet-record:last-child{border-bottom:0}
.shop-wallet-record summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 16px;cursor:pointer;list-style:none}
.shop-wallet-record summary::-webkit-details-marker{display:none}.shop-wallet-record summary:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.shop-wallet-record-copy{flex:1;min-width:0}.shop-wallet-record-copy strong,.shop-wallet-record-value strong{display:block;font-size:12px;font-weight:550;overflow-wrap:anywhere}
.shop-wallet-record time,.shop-wallet-record small{display:block;font-size:10px;color:var(--muted);margin-top:5px;line-height:1.5}
.shop-wallet-record-value{text-align:right;max-width:48%;font-variant-numeric:tabular-nums;min-width:0}
.shop-wallet-record-value strong{font-size:14px}.shop-wallet-record-body{padding:0 16px 17px}
.shop-wallet-details{margin:0;padding-top:14px;border-top:1px solid var(--line);display:grid;gap:10px}
.shop-wallet-details>div{display:flex;justify-content:space-between;gap:18px;font-size:11px;align-items:baseline}
.shop-wallet-details dt{color:var(--muted);flex:1}.shop-wallet-details dd{margin:0;max-width:60%;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.shop-wallet-record .shop-wallet-status.is-rejected{color:#974f4f}.shop-wallet-record .shop-wallet-status.is-approved,.shop-wallet-record .shop-wallet-status.is-paid,.shop-wallet-record .shop-wallet-status.is-completed{color:#42654c}
.shop-wallet-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:18px 0;font-size:10px;color:var(--muted)}
.shop-wallet-pagination>div{display:flex;align-items:center;gap:14px}.shop-wallet-pagination a{color:var(--ink);padding:5px 0}.shop-wallet-pagination [aria-disabled]{opacity:.5}
@media(max-width:400px){.shop-wallet-balances{gap:9px}.shop-wallet-balances dd{font-size:14px}.shop-wallet-record summary{gap:10px;padding:15px 13px}.shop-member-summary strong{font-size:22px}}
.shop-finance-actions{display:flex;justify-content:center;gap:12px;margin:0 0 24px}
.shop-finance-actions .mall-btn{display:flex;align-items:center;justify-content:center;width:min(100%,220px);min-width:0;min-height:42px;padding:10px 16px;font-size:12px;line-height:1.4;text-align:center}
@media(max-width:400px){.shop-member-summary{grid-template-columns:minmax(0,1fr) 72px}.shop-member-summary>.shop-member-funds{gap:8px;padding-right:12px}.shop-member-balance{flex-basis:104px}.shop-member-summary>.shop-member-score{padding-inline:12px 0}.shop-member-summary strong{font-size:20px}}
.shop-wallet-overview .shop-finance-actions{margin:20px 0 0;padding-top:16px;border-top:1px solid var(--line)}
.shop-payout-panel>.shop-muted{margin:0 0 18px}.shop-payout-panel .shop-panel-head{flex-wrap:wrap;gap:10px}.shop-payout-panel .shop-panel-head h2{margin:0}.shop-payout-list article{padding:18px 0;border-top:1px solid var(--line)}.shop-payout-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.shop-payout-heading strong{min-width:0;overflow-wrap:anywhere;font-size:13px}.shop-payout-number{font-size:17px;letter-spacing:.05em;margin:9px 0 5px;overflow-wrap:anywhere}.shop-payout-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:16px;margin-top:16px}.shop-payout-default{display:flex;align-items:center;gap:9px;font-size:12px}.shop-payout-default input{width:16px;height:16px}.shop-field select{font-size:12px}
.shop-finance-summary{display:grid;grid-template-columns:1fr auto;gap:8px 16px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #eee9e2;font-size:12px}
.shop-finance-summary>span{color:#756e66}.shop-finance-summary strong{font-weight:600;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.shop-finance-hint,.shop-finance-retry{font-size:12px;line-height:1.7;color:#756e66}.shop-finance-retry{padding:12px;background:#f5efe5;border-radius:6px;color:#806341}
.shop-dialog [data-finance-form] .shop-form-error{margin:14px 22px 0;font-size:12px}.shop-dialog [data-finance-form] .shop-dialog-body .shop-form-error{margin:0 0 16px}
.shop-dialog [data-finance-form] input[readonly]{background:#f5f2ed;color:#756e66}
