:root{font-family:Inter,"Microsoft YaHei",system-ui,sans-serif;color:#202938;background:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:980px}a{color:inherit}.site-header{position:sticky;top:0;z-index:5;display:flex;align-items:center;height:72px;padding:0 max(32px,calc((100vw - 1240px)/2));border-bottom:1px solid #e2e6ea;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}.store-brand{display:flex;align-items:center;gap:10px;color:#1b2532;font-size:17px;font-weight:750;text-decoration:none}.store-brand img{width:34px;height:34px}.site-header nav{display:flex;align-self:stretch;gap:34px;margin-left:68px}.site-header nav a{display:grid;place-items:center;border-bottom:2px solid transparent;color:#647181;font-size:13px;text-decoration:none}.site-header nav a:hover,.site-header nav a.is-active{border-bottom-color:#1683a3;color:#0d718e}.account-link{margin-left:auto;padding:9px 14px;border:1px solid #cfd7df;border-radius:4px;color:#334252;font-size:12px;text-decoration:none}.announcement{padding:10px 5vw;background:#17202b;color:#e9edf2;text-align:center;font-size:12px}.state-view{display:grid;place-items:center;align-content:center;min-height:calc(100vh - 150px);padding:50px}.state-view>span{width:28px;height:28px;margin-bottom:16px;border:2px solid #dce3e7;border-top-color:#1683a3;border-radius:50%;animation:spin .8s linear infinite}.state-view img{width:64px;height:64px;margin-bottom:18px}.state-view strong{font-size:19px}.state-view p{margin:9px 0;color:#7a8695;font-size:13px}.store-intro{display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:center;gap:70px;min-height:430px;padding:65px max(32px,calc((100vw - 1240px)/2));background:#f3f6f7;border-bottom:1px solid #e2e7ea}.store-intro>div{max-width:720px}.store-intro h1{margin:0 0 20px;color:#17212d;font-size:52px;line-height:1.16;font-weight:680;letter-spacing:0}.store-intro p{max-width:660px;margin:0;color:#637180;font-size:16px;line-height:1.8}.primary-action{display:inline-flex;align-items:center;min-height:43px;margin-top:28px;padding:0 18px;border-radius:4px;background:#1683a3;color:#fff;font-size:13px;font-weight:650;text-decoration:none}.store-intro aside{display:grid;place-items:center;aspect-ratio:1;border:1px solid #dce3e6;background:#fff;box-shadow:18px 18px 0 #e2e9eb}.store-intro aside img{width:112px;height:112px}.store-intro aside span{margin-top:-46px;color:#70808e;font-size:12px}.category-band,.product-section{max-width:1240px;margin:auto;padding:48px 0}.category-band{border-bottom:1px solid #e3e7ea}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}.section-head h2{margin:0;font-size:22px}.section-head span{color:#87929e;font-size:11px}.category-band nav{display:flex;gap:10px;flex-wrap:wrap}.category-band nav button{min-height:38px;padding:0 16px;border:1px solid #d5dce2;border-radius:4px;background:#fff;color:#4d5b6a;font-size:12px;cursor:pointer}.category-band nav button:hover,.category-band nav button.is-active{border-color:#1683a3;background:#eef8fa;color:#0f718c}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{display:grid;min-height:250px;border:1px solid #dde3e7;border-radius:6px;overflow:hidden;background:#fff}.product-visual{display:grid;place-items:center;min-height:128px;background:#eef3f4;color:#1683a3;font-size:42px;font-weight:750}.product-card>div:last-child{display:grid;align-content:start;padding:16px}.product-card h3{margin:0 0 7px;font-size:15px}.product-card p{min-height:38px;margin:0;color:#7b8794;font-size:11px;line-height:1.65}.product-meta{display:flex;align-items:center;justify-content:space-between;margin-top:16px}.product-meta strong{color:#e16143;font-size:17px}.product-meta a{color:#0d7895;font-size:11px;text-decoration:none}.inline-empty{padding:50px;border:1px dashed #d9dfe4;color:#88939f;text-align:center;font-size:13px}.service-band{display:grid;grid-template-columns:repeat(3,1fr);max-width:1240px;margin:28px auto 65px;border-top:1px solid #dfe4e8;border-bottom:1px solid #dfe4e8}.service-band div{display:grid;gap:7px;padding:24px 30px;border-right:1px solid #dfe4e8}.service-band div:last-child{border-right:0}.service-band strong{font-size:13px}.service-band span{color:#7a8694;font-size:11px}footer{display:flex;align-items:center;justify-content:space-between;padding:28px max(32px,calc((100vw - 1240px)/2));background:#151a22;color:#d6dbe2;font-size:12px}footer nav{display:flex;gap:24px}footer a{color:#9aa4b2;text-decoration:none}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1260px){.category-band,.product-section,.service-band{margin-right:32px;margin-left:32px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
[hidden]{display:none!important}

/* 会员中心沿用商城的青色主色，认证和分站操作保持在同一工作区内。 */
.account-view{max-width:1240px;margin:0 auto;padding:38px 0 80px}.account-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.account-heading p,.panel-heading p,.auth-intro .auth-kicker{margin:0 0 7px;color:#1683a3;font-size:10px;letter-spacing:1.2px}.account-heading h1{margin:0;color:#17212d;font-size:34px;letter-spacing:0}.back-link,.text-action{padding:0;border:0;background:transparent;color:#657481;font-size:12px;cursor:pointer}.back-link{margin-bottom:20px}.back-link:hover,.text-action:hover{color:#1683a3}.secondary-action{min-height:40px;padding:0 16px;border:1px solid #ccd6dd;border-radius:4px;background:#fff;color:#40515d;font-size:12px;cursor:pointer}.secondary-action:hover{border-color:#1683a3;color:#126b82}.account-notice{margin-bottom:18px;padding:12px 15px;border-left:3px solid #1683a3;background:#edf8fa;color:#245d6d;font-size:12px}.account-notice.error{border-left-color:#b24d3c;background:#fff1ed;color:#914031}.member-auth{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(480px,1.2fr);gap:56px;align-items:start;padding:45px 52px;border:1px solid #dce4e8;background:#f3f7f8}.auth-intro{padding-top:32px}.auth-intro h2{max-width:360px;margin:0 0 15px;color:#17212d;font-size:34px;line-height:1.25}.auth-intro p{max-width:350px;margin:0;color:#71808d;font-size:14px;line-height:1.8}.auth-panel{padding:27px 30px;border:1px solid #dfe6e9;background:#fff;box-shadow:10px 10px 0 #e2eaec}.auth-tabs{display:flex;gap:22px;margin-bottom:24px;border-bottom:1px solid #e1e6e9;overflow:auto}.auth-tabs button,.account-tabs button{flex:0 0 auto;min-height:43px;padding:0 2px;border:0;border-bottom:2px solid transparent;background:transparent;color:#76838e;font-size:12px;cursor:pointer;white-space:nowrap}.auth-tabs button.is-active,.account-tabs button.is-active{border-bottom-color:#1683a3;color:#126b82;font-weight:650}.member-form{display:none;gap:15px}.member-form.is-active{display:grid}.member-form label,.profile-form label,.subsite-form label,.subsite-settings label{display:grid;gap:7px;color:#62717e;font-size:11px}.member-form input,.member-form select,.profile-form input,.subsite-form input,.subsite-form select,.subsite-settings input,.subsite-settings select{width:100%;height:42px;padding:0 12px;border:1px solid #cfd8de;border-radius:3px;background:#fff;color:#253540;font:inherit;font-size:13px;outline:none}.member-form input:focus,.profile-form input:focus,.subsite-form input:focus,.subsite-form select:focus,.subsite-settings input:focus,.subsite-settings select:focus{border-color:#1683a3;box-shadow:0 0 0 3px rgba(22,131,163,.1)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.code-row{display:grid;grid-template-columns:minmax(0,1fr) 114px;gap:9px;align-items:end}.code-button{height:42px;border:1px solid #c9d6dc;border-radius:3px;background:#f8fafb;color:#126b82;font-size:11px;cursor:pointer;white-space:nowrap}.code-button:hover{border-color:#1683a3}.code-button:disabled,.member-form button:disabled{cursor:not-allowed;opacity:.55}.primary-action.full{width:100%;justify-content:center;border:0;cursor:pointer}.form-note{margin:0;color:#87929c;font-size:10px;line-height:1.6}.notice-box{padding:12px 13px;border-left:3px solid #1683a3;background:#edf8fa;color:#3c6975;font-size:11px;line-height:1.6}.member-dashboard{display:grid;gap:18px}.member-welcome{display:flex;align-items:center;justify-content:space-between;min-height:118px;padding:25px 30px;background:#172a35;color:#fff}.member-welcome p,.member-state span{margin:0 0 8px;color:#9eb6bf;font-size:10px}.member-welcome h2{margin:0 0 6px;font-size:26px;font-weight:650}.member-welcome>div>span{color:#c1d0d5;font-size:11px}.member-state{text-align:right}.member-state strong{color:#8ed3b1;font-size:15px}.account-tabs{display:flex;gap:30px;min-height:48px;border-bottom:1px solid #dbe2e6}.member-panel{display:none;padding:27px 30px;border:1px solid #dfe5e8;background:#fff}.member-panel.is-active{display:block}.panel-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}.panel-heading h2{margin:0;color:#1d2d38;font-size:21px}.profile-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:760px}.profile-form label:nth-child(3){grid-column:1 / -1}.profile-form button{justify-self:start;min-height:42px;margin-top:2px;padding:0 20px;border:0;cursor:pointer}.subsite-overview{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e0e6e9;background:#f8fafb}.subsite-overview>div{display:grid;gap:8px;padding:18px 20px;border-right:1px solid #e2e7ea}.subsite-overview>div:last-child{border-right:0}.subsite-overview span{color:#84909b;font-size:10px}.subsite-overview strong{color:#273944;font-size:15px}.status-label{width:max-content;padding:4px 8px;border-radius:3px;background:#e8f5ed;color:#26714e!important;font-size:11px!important}.status-label.pending,.status-label.expired,.status-label.expiring{background:#fff3db;color:#96631d!important}.status-label.disabled,.status-label.suspended{background:#f9e8e3;color:#9b4837!important}.subsite-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.subsite-card{padding:21px;border:1px solid #e0e6e9;background:#fff}.subsite-card header{display:flex;align-items:start;justify-content:space-between;margin-bottom:18px}.subsite-card header p{margin:0 0 6px;color:#88949e;font-size:10px}.subsite-card h3{margin:0;color:#293a45;font-size:16px}.subsite-card code{color:#64818d;font-size:10px}.subsite-card dl{display:grid;gap:12px;margin:0}.subsite-card dl div{display:flex;justify-content:space-between;gap:20px;padding-top:12px;border-top:1px solid #edf0f2}.subsite-card dt{color:#87929c;font-size:10px}.subsite-card dd{max-width:65%;margin:0;color:#3d4e59;font:11px ui-monospace,SFMono-Regular,Consolas,monospace;text-align:right;overflow-wrap:anywhere}.subsite-settings{display:grid;gap:13px}.subsite-settings .primary-action{margin-top:2px;justify-content:center;border:0;cursor:pointer}.subsite-actions{display:flex;gap:10px;margin-top:19px}.subsite-actions .primary-action,.subsite-actions .secondary-action{min-height:42px;padding:0 18px;border:0;cursor:pointer}.subsite-empty{padding:36px 20px 22px;text-align:center}.empty-mark{display:grid;place-items:center;width:50px;height:50px;margin:0 auto 15px;background:#e7f5f7;color:#1683a3;font-size:21px;font-weight:750}.subsite-empty h3{margin:0 0 7px;color:#2b3b46;font-size:18px}.subsite-empty p{margin:0;color:#818d96;font-size:12px}.subsite-form{display:grid;gap:18px;max-width:760px;padding-top:18px;border-top:1px solid #e8ecee}.subsite-form .span-2{grid-column:1 / -1}.subsite-form .primary-action{width:max-content;min-height:42px;border:0;cursor:pointer}.loading-inline,.inline-empty{padding:32px;color:#85929c;text-align:center;font-size:12px}.record-list{display:grid;gap:0;border-top:1px solid #e1e7ea}.record-item{display:grid;grid-template-columns:150px 1fr 1fr;gap:18px;padding:15px 4px;border-bottom:1px solid #e8ecef}.record-item strong{color:#30424d;font-size:12px}.record-item span,.record-item small{color:#7c8993;font-size:10px}.record-item small{text-align:right}
/* Keep account controls below the sticky header, including native focus scrolling. */
:root{--store-header-height:72px}
.store-brand{min-width:0}.store-brand img{flex-shrink:0}.store-brand span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-view{scroll-margin-top:var(--store-header-height)}
.account-heading,.account-view :is(button,a,input,select,textarea){scroll-margin-top:calc(var(--store-header-height) + 12px)}
@media(max-width:780px){
  :root{--store-header-height:100px}
  .site-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:58px 42px;column-gap:12px;height:var(--store-header-height);padding:0 16px}
  .site-header .store-brand{grid-column:1;grid-row:1;font-size:15px}
  .site-header .account-link{grid-column:2;grid-row:1;margin:0;padding:8px 10px;white-space:nowrap}
  .site-header nav{grid-column:1 / -1;grid-row:2;justify-content:space-between;gap:16px;min-width:0;margin-left:0}
  .site-header nav a{min-width:0;font-size:12px;white-space:nowrap}
}
@media(max-width:1260px){.account-view{margin-right:32px;margin-left:32px}}
@media(max-width:780px){body{min-width:0}.account-view{margin:0;padding:24px 16px 45px}.account-heading{align-items:start;gap:16px}.account-heading h1{font-size:28px}.member-auth{grid-template-columns:1fr;gap:20px;padding:24px 16px}.auth-intro{padding-top:0}.auth-intro h2{font-size:27px}.auth-panel{padding:21px 16px;box-shadow:6px 6px 0 #e2eaec}.auth-tabs{gap:16px}.form-grid,.profile-form,.subsite-detail-grid{grid-template-columns:1fr}.profile-form label:nth-child(3),.subsite-form .span-2{grid-column:auto}.member-welcome{align-items:start;gap:20px;padding:20px;flex-direction:column}.member-welcome h2{font-size:23px}.member-state{text-align:left}.account-tabs{gap:20px;overflow:auto}.member-panel{padding:21px 16px}.subsite-overview{grid-template-columns:1fr 1fr}.subsite-overview>div:nth-child(2){border-right:0}.subsite-overview>div:nth-child(-n+2){border-bottom:1px solid #e2e7ea}.subsite-detail-grid{gap:12px}.record-item{grid-template-columns:1fr 1fr;gap:7px}.record-item small{grid-column:1 / -1;text-align:left}}
.order-list{display:grid;gap:12px;max-width:900px}.order-row{border:1px solid #dfe6e9;background:#fff}.order-row>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:17px 20px;border-bottom:1px solid #edf0f2}.order-row>header>div{display:grid;gap:5px;min-width:0}.order-row>header strong{color:#263945;font:650 13px ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.order-row>header span{color:#89949d;font-size:10px}.order-status{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:25px;padding:0 9px;border:1px solid #d7e3da;border-radius:999px;background:#eff9f2;color:#27734e;font-size:10px;font-weight:650}.order-status.pending_payment{border-color:#f0d9a6;background:#fff8e8;color:#94651d}.order-status.cancelled,.order-status.closed{border-color:#e0e5e8;background:#f5f7f8;color:#73808a}.order-status.refunding{border-color:#eac6b8;background:#fff2ec;color:#a2523d}.order-status.refunded{border-color:#d8d1eb;background:#f5f1fc;color:#68548d}.order-row-body{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;color:#71808a;font-size:11px}.order-row-body strong{color:#d45e41;font-size:20px;font-weight:700}.order-row>footer{display:flex;justify-content:flex-end;min-height:53px;padding:8px 20px;border-top:1px solid #edf0f2}.order-pay-action{min-height:36px;margin:0;padding:0 15px;font-size:11px}.order-result{align-self:center;color:#84909a;font-size:10px}
@media(max-width:780px){.order-row>header{gap:10px;padding:14px}.order-row>header strong{font-size:11px}.order-status{min-height:23px;padding:0 7px;font-size:9px}.order-row-body{padding:14px;font-size:10px}.order-row-body strong{font-size:18px}.order-row>footer{min-height:48px;padding:6px 14px}.order-pay-action{min-height:34px;padding:0 13px}}
.order-detail-dialog{width:min(720px,calc(100vw - 30px));max-height:calc(100vh - 40px);overflow:auto}
.order-detail-dialog>div{display:grid;gap:18px;padding:24px}
.order-detail-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.order-detail-dialog header p{margin:0 0 5px;color:#1683a3;font-size:10px;letter-spacing:1px}
.order-detail-dialog header h2{margin:0 0 6px;font-size:20px}
.order-detail-meta{color:#87939d;font:10px ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.order-detail-content{display:grid;gap:16px;min-width:0}
.order-detail-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e0e6e9;background:#f8fafb}
.order-detail-summary>div{display:grid;gap:7px;padding:13px 14px;border-right:1px solid #e2e7ea}
.order-detail-summary>div:last-child{border-right:0}
.order-detail-summary span,.order-detail-section header>div>span{color:#84909b;font-size:10px}
.order-detail-summary strong{color:#273944;font-size:13px}
.order-detail-summary .order-status{width:max-content;font-size:9px}
.order-detail-section{border:1px solid #e0e6e9;background:#fff}
.order-detail-section>header{min-height:48px;padding:14px 16px;border-bottom:1px solid #e8ecee}
.order-detail-section h3{margin:0;color:#293a45;font-size:14px}
.order-item-list,.delivery-list{display:grid}
.order-item-row{display:grid;grid-template-columns:minmax(0,1fr) 42px 100px;gap:12px;align-items:center;padding:14px 16px;border-bottom:1px solid #edf0f2}
.order-item-row:last-child,.delivery-row:last-child{border-bottom:0}
.order-item-row>div{display:grid;gap:4px;min-width:0}
.order-item-row strong{color:#30424d;font-size:12px;overflow-wrap:anywhere}
.order-item-row span{color:#89949d;font-size:10px;overflow-wrap:anywhere}
.order-item-row>b{color:#71808a;font-size:11px;text-align:center}
.order-item-row>strong:last-child{color:#d45e41;text-align:right}
.delivery-section>header{display:flex;align-items:center;justify-content:space-between}
.delivery-section>header>div{display:grid;gap:5px}
.delivery-row{display:grid;gap:10px;padding:14px 16px;border-bottom:1px solid #edf0f2}
.delivery-row>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.delivery-row>header>div{display:grid;gap:4px;min-width:0}
.delivery-row>header strong{color:#30424d;font-size:12px;overflow-wrap:anywhere}
.delivery-row>header span{color:#89949d;font-size:10px;overflow-wrap:anywhere}
.delivery-row .fulfillment-status{flex:0 0 auto}
.delivery-content{max-height:220px;margin:0;overflow:auto;padding:12px;border:1px solid #dfe6e9;background:#f8fafb;color:#263945;font:11px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.delivery-hash{color:#87939d;font:9px ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.delivery-pending{padding:10px 12px;border-left:3px solid #d39137;background:#fff8ea;color:#765524;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.order-detail-error{min-height:100px;border:1px solid #f0d8d1;background:#fff5f1;color:#914031}
.order-service-progress{display:grid;gap:13px;padding:17px 18px;border:1px solid #d8e2e6;border-left:4px solid #1683a3;background:#f7fafb}
.order-service-progress.state-ready{border-left-color:#3b9367;background:#f6fbf8}.order-service-progress.state-attention{border-left-color:#bd5a43;background:#fff8f5}.order-service-progress.state-refunded{border-left-color:#76629a;background:#faf8fd}
.order-service-progress>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.order-service-progress>header>div{display:grid;gap:4px}.order-service-progress>header p{margin:0;color:#1683a3;font-size:9px;letter-spacing:0}.order-service-progress>header h3{margin:0;color:#243641;font-size:16px}.order-service-progress>header>strong{color:#263b47;font:700 19px ui-monospace,SFMono-Regular,Consolas,monospace}
.service-progress-message{margin:0;color:#6d7c87;font-size:10px;line-height:1.6}.service-progress-track{height:8px;overflow:hidden;border-radius:4px;background:#dfe7ea}.service-progress-track progress{display:block;width:100%;height:8px;border:0;appearance:none;background:transparent}.service-progress-track progress::-webkit-progress-bar{background:#dfe7ea}.service-progress-track progress::-webkit-progress-value{background:#1683a3}.service-progress-track progress::-moz-progress-bar{background:#1683a3}.state-ready .service-progress-track progress::-webkit-progress-value{background:#3b9367}.state-ready .service-progress-track progress::-moz-progress-bar{background:#3b9367}.state-attention .service-progress-track progress::-webkit-progress-value{background:#bd5a43}.state-attention .service-progress-track progress::-moz-progress-bar{background:#bd5a43}
.service-progress-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}.service-progress-stages li{display:flex;align-items:center;gap:7px;min-width:0;color:#7b8993;font-size:9px}.service-progress-stages li span{flex:0 0 auto;width:8px;height:8px;border:2px solid #bcc8ce;border-radius:50%;background:#fff}.service-progress-stages li strong{overflow:hidden;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.service-progress-stages li.is-current{color:#126f88}.service-progress-stages li.is-current span{border-color:#1683a3;background:#1683a3}.service-progress-stages li.is-complete{color:#2d7855}.service-progress-stages li.is-complete span{border-color:#3b9367;background:#3b9367}.service-progress-stages li.is-attention{color:#a84c38}.service-progress-stages li.is-attention span{border-color:#bd5a43;background:#bd5a43}
.service-instance{display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);gap:8px 12px;padding-top:11px;border-top:1px solid #dfe6e9;align-items:center}.service-instance span{color:#84919a;font-size:9px}.service-instance strong{min-width:0;color:#344852;font:10px ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.authorization-service-list{display:grid;margin:0;padding:0;border-top:1px solid #dfe6e9;list-style:none}.authorization-service-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 14px;padding:11px 0;border-bottom:1px solid #e7ecee}.authorization-service-list li:last-child{border-bottom:0;padding-bottom:0}.authorization-service-list li>div:first-child{display:grid;gap:3px;min-width:0}.authorization-service-list li strong{color:#31434e;font-size:10px;overflow-wrap:anywhere}.authorization-service-list li span{color:#84919a;font-size:9px}.authorization-service-state{display:flex;align-items:center;gap:9px}.authorization-service-state b{font-size:9px;font-weight:650}.authorization-service-state b.is-ready{color:#2d7855}.authorization-service-state b.is-processing{color:#9a6a21}.authorization-service-state b.is-attention{color:#aa4d38}.authorization-service-list li>p{grid-column:1/-1;margin:0;color:#8e4a3c;font-size:9px;line-height:1.5}
@media(max-width:780px){.order-detail-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.order-detail-dialog>div{gap:14px;padding:17px 14px}.order-detail-dialog header h2{font-size:18px}.order-detail-summary{grid-template-columns:1fr 1fr}.order-detail-summary>div{padding:11px 12px;border-bottom:1px solid #e2e7ea}.order-detail-summary>div:nth-child(2n){border-right:0}.order-detail-summary>div:nth-last-child(-n+2){border-bottom:0}.order-item-row{grid-template-columns:minmax(0,1fr) 30px 78px;gap:7px;padding:12px}.order-item-row strong{font-size:11px}.order-item-row span{font-size:9px}.delivery-row{padding:12px}.delivery-row>header{align-items:flex-start}.delivery-row>header strong{font-size:11px}.delivery-row>header span{font-size:9px}.delivery-content{font-size:10px}}
@media(max-width:780px){.order-service-progress{gap:11px;padding:14px 13px}.order-service-progress>header h3{font-size:14px}.order-service-progress>header>strong{font-size:16px}.service-progress-stages{grid-template-columns:1fr 1fr;gap:9px}.service-instance{grid-template-columns:auto minmax(0,1fr)}.authorization-service-list li{gap:5px 8px}}
.order-row>footer{gap:8px;flex-wrap:wrap}.order-detail-action,.order-fulfillment-action{margin:0}

.order-refund-action{margin:0;color:#9a513d}.refund-section>header{display:flex;align-items:center;justify-content:space-between}.refund-section>header>div{display:grid;gap:5px}.refund-body{display:grid;gap:15px;padding:16px}.refund-form{display:grid;gap:11px;padding:15px;border:1px solid #ead8d0;background:#fffaf7}.refund-form label{display:grid;gap:7px;color:#63727d;font-size:11px}.refund-form textarea{width:100%;min-height:92px;resize:vertical;padding:11px;border:1px solid #cfd8de;border-radius:3px;background:#fff;color:#253540;font:inherit;font-size:12px;line-height:1.6}.refund-form textarea:focus{border-color:#c66a51;outline:0;box-shadow:0 0 0 3px rgba(198,106,81,.12)}.refund-form .primary-action{width:max-content;min-height:38px;margin:0;border:0;cursor:pointer}.refund-hint{margin:0;padding:10px 12px;border-left:3px solid #d39137;background:#fff8ea;color:#765524;font-size:11px;line-height:1.6}.refund-hint.pending{border-left-color:#d39137}.refund-hint.completed{border-left-color:#56a37a;background:#eff9f2;color:#27734e}.refund-record-list{display:grid;gap:10px}.refund-record{padding:14px 15px;border:1px solid #e1e6e9;background:#fbfcfd}.refund-record>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:11px}.refund-record>header>div{display:grid;gap:5px;min-width:0}.refund-record>header strong{color:#2e414d;font:650 11px ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.refund-record>header span{color:#8a959e;font-size:10px}.refund-status{display:inline-flex;align-items:center;width:max-content;min-height:24px;padding:0 8px;border-radius:3px;background:#fff3db;color:#96631d;font-size:10px;white-space:nowrap}.refund-status.succeeded{background:#e5f5ec;color:#26714e}.refund-status.rejected{background:#f9e8e3;color:#9b4837}.refund-status.manual{background:#e9f2fb;color:#2c638d}.refund-record dl{display:grid;gap:8px;margin:0}.refund-record dl div{display:flex;justify-content:space-between;gap:18px;padding-top:8px;border-top:1px solid #edf0f2}.refund-record dt{color:#87929c;font-size:10px}.refund-record dd{max-width:75%;margin:0;color:#3d4e59;font-size:11px;text-align:right;overflow-wrap:anywhere}
.refund-authorization-detail{display:grid;gap:9px;margin-top:12px;padding-top:11px;border-top:1px solid #dfe5e8}
.refund-authorization-detail>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.refund-authorization-detail>header>div{display:flex;align-items:center;gap:9px}
.refund-authorization-detail>header span,.refund-authorization-detail>header small{color:#82909a;font-size:10px}
.refund-authorization-detail>header strong{font-size:11px}
.refund-authorization-targets{display:flex;flex-wrap:wrap;gap:6px}
.refund-authorization-targets span{padding:4px 7px;border:1px solid #dce3e7;border-radius:3px;background:#fff;color:#63717c;font-size:9px;line-height:1.4;overflow-wrap:anywhere}
.refund-authorization-detail p{margin:0;color:#6f7e88;font-size:10px;line-height:1.6}
.refund-authorization-detail .is-suspended{color:#9b4837}
.refund-authorization-detail .is-restored{color:#26714e}
.refund-authorization-detail .is-failed{color:#a04432}
.refund-authorization-detail .is-processing{color:#96631d}
.refund-authorization-detail .is-not_required,.refund-authorization-detail .is-noop{color:#71808a}
@media(max-width:780px){.refund-body{gap:12px;padding:12px}.refund-form{padding:12px}.refund-form .primary-action{width:100%;justify-content:center}.refund-record{padding:12px}.refund-record>header{gap:8px}.refund-record>header strong{font-size:10px}.refund-record>header span,.refund-record dt{font-size:9px}.refund-status{min-height:22px;padding:0 6px;font-size:8px}.refund-record dd{max-width:65%;font-size:10px}}
.subsite-purchase{display:grid;gap:18px;margin-top:18px;padding:22px;border:1px solid #d7e4e7;background:#f7fbfb}.subsite-purchase>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.subsite-purchase>header>div{display:grid;gap:6px}.subsite-purchase>header p{margin:0;color:#1683a3;font-size:10px;letter-spacing:1px}.subsite-purchase>header h3{margin:0;color:#263943;font-size:18px}.subsite-purchase>header span{color:#71828b;font-size:11px;line-height:1.6}.subsite-purchase>header>strong{color:#d45e41;font-size:22px;white-space:nowrap}.subsite-purchase.is-pending,.subsite-purchase.is-unavailable{border-color:#e8dfc9;background:#fffaf0}.subsite-purchase.is-pending>header>strong,.subsite-purchase.is-unavailable>header>strong{color:#96631d;font-size:14px}.subsite-purchase-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px;border-top:1px solid #e1ecee}.subsite-purchase-footer>span{color:#71828b;font-size:11px}.subsite-purchase-footer .primary-action{margin:0}.subsite-purchase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.subsite-purchase-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px;border:1px solid #dfe7e9;background:#fff}.subsite-purchase-card>div:first-child{display:grid;gap:6px;min-width:0}.subsite-purchase-card span,.subsite-purchase-card small{color:#84929a;font-size:10px}.subsite-purchase-card strong{color:#293e48;font-size:15px}.subsite-purchase-card .primary-action{flex:0 0 auto;margin:0}.subsite-upgrade{display:grid;align-items:stretch}.subsite-upgrade-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.subsite-upgrade-controls select{min-width:0;height:40px;padding:0 10px;border:1px solid #cfd8de;border-radius:3px;background:#fff;color:#253540;font:inherit;font-size:11px}.subsite-upgrade-controls .secondary-action{min-height:40px;padding:0 12px}.subsite-order-dialog{width:min(600px,calc(100vw - 30px));max-height:calc(100vh - 40px);padding:0;border:0;border-radius:6px;background:#fff;box-shadow:0 18px 60px rgba(0,0,0,.24)}.subsite-order-dialog::backdrop{background:rgba(17,22,29,.58)}.subsite-order-dialog>div{display:grid;gap:18px;padding:24px}.subsite-order-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.subsite-order-dialog header p{margin:0 0 5px;color:#1683a3;font-size:10px;letter-spacing:1px}.subsite-order-dialog header h2{margin:0 0 6px;color:#1d2d38;font-size:20px}.subsite-order-content{display:grid;gap:14px}.subsite-order-total{display:grid;grid-template-columns:1fr auto;gap:11px 15px;padding:15px 16px;border:1px solid #e0e6e9;background:#f8fafb}.subsite-order-total span{color:#84909b;font-size:10px}.subsite-order-total strong{justify-self:end;font-size:10px}.subsite-order-total b{justify-self:end;color:#d45e41;font-size:20px}.subsite-order-actions{display:flex;justify-content:flex-end;gap:10px}.subsite-order-actions .primary-action{margin:0}.subsite-order-success,.subsite-order-warning{margin:0;padding:12px 13px;border-left:3px solid #3b9367;background:#eff9f2;color:#27734e;font-size:12px;line-height:1.6}.subsite-order-warning{border-left-color:#d39137;background:#fff8ea;color:#765524}.subsite-purchase-snapshot>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.subsite-purchase-snapshot>header>b{color:#1683a3;font-size:11px}.subsite-purchase-snapshot dl{display:grid;gap:10px;margin:0;padding:15px 16px}.subsite-purchase-snapshot dl div{display:flex;justify-content:space-between;gap:20px;padding-top:10px;border-top:1px solid #edf0f2}.subsite-purchase-snapshot dt{color:#87929c;font-size:10px}.subsite-purchase-snapshot dd{max-width:65%;margin:0;color:#3d4e59;font:11px ui-monospace,SFMono-Regular,Consolas,monospace;text-align:right;overflow-wrap:anywhere}@media(max-width:780px){.subsite-purchase{gap:14px;margin-top:12px;padding:15px 13px}.subsite-purchase>header{gap:12px}.subsite-purchase>header h3{font-size:15px}.subsite-purchase>header span,.subsite-purchase-footer>span{font-size:10px}.subsite-purchase>header>strong{font-size:18px}.subsite-purchase-footer{align-items:stretch;flex-direction:column;gap:11px;padding-top:13px}.subsite-purchase-footer .primary-action{justify-content:center}.subsite-purchase-grid{grid-template-columns:1fr;gap:9px}.subsite-purchase-card{align-items:stretch;flex-direction:column;gap:12px;padding:13px}.subsite-purchase-card .primary-action,.subsite-upgrade-controls .secondary-action{width:100%;justify-content:center}.subsite-upgrade-controls{grid-template-columns:1fr}.subsite-order-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.subsite-order-dialog>div{gap:14px;padding:17px 14px}.subsite-order-dialog header h2{font-size:18px}.subsite-purchase-snapshot dl{padding:12px}.subsite-purchase-snapshot dl div{gap:10px}.subsite-purchase-snapshot dd{max-width:62%;font-size:9px}}
.payment-section>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.payment-section>header>div{display:grid;gap:5px}.payment-record-list{display:grid}.payment-record{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 15px;padding:13px 16px;border-bottom:1px solid #edf0f2}.payment-record:last-child{border-bottom:0}.payment-record>div{display:grid;gap:4px;min-width:0}.payment-record strong{color:#30424d;font:650 11px ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.payment-record span,.payment-record small{color:#89949d;font-size:10px;overflow-wrap:anywhere}.payment-record small{grid-column:1 / -1}.payment-status{align-self:start;padding:4px 7px;border-radius:3px;background:#fff3db;color:#96631d;font-size:9px;white-space:nowrap}.payment-status.paid{background:#e5f5ec;color:#26714e}.payment-status.failed{background:#f9e8e3;color:#9b4837}.detail-pay-action{min-height:32px;padding:0 12px;font-size:10px}

/* 商品目录与页面装修解耦，目录区域只渲染公开 API 返回的数据。 */
:root{--store-accent:#1683a3}
.catalog-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:42px;max-width:1240px;margin:0 auto;padding:52px 0 64px}
.catalog-sidebar{align-self:start;position:sticky;top:96px;border-top:2px solid var(--store-accent);border-bottom:1px solid #dfe5e8}
.catalog-sidebar .section-head{align-items:center;margin:0;padding:18px 4px 14px;border-bottom:1px solid #e4e8eb}
.catalog-sidebar .section-head h2{font-size:16px}.catalog-sidebar nav{display:grid;padding:10px 0}
.catalog-sidebar nav button{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:0 12px;border:0;border-left:3px solid transparent;background:#fff;color:#586774;font:inherit;font-size:12px;text-align:left;cursor:pointer}
.catalog-sidebar nav button:hover,.catalog-sidebar nav button.is-active{border-left-color:var(--store-accent);background:#eef7f8;color:#116f88;font-weight:650}
.catalog-main{min-width:0}.catalog-toolbar{display:flex;align-items:end;justify-content:space-between;gap:28px;padding-bottom:18px;border-bottom:1px solid #dfe5e8}
.catalog-toolbar p{margin:0 0 6px;color:var(--store-accent);font-size:10px}.catalog-toolbar h2{margin:0;color:#1f2e39;font-size:24px}
.catalog-toolbar form{display:grid;grid-template-columns:minmax(240px,360px) 68px;height:40px}.catalog-toolbar input{min-width:0;padding:0 13px;border:1px solid #ccd7dd;border-right:0;border-radius:4px 0 0 4px;background:#fff;color:#23333e;font:inherit;font-size:12px;outline:0}.catalog-toolbar input:focus{border-color:var(--store-accent);box-shadow:0 0 0 3px rgba(22,131,163,.11)}.catalog-toolbar button{border:1px solid var(--store-accent);border-radius:0 4px 4px 0;background:var(--store-accent);color:#fff;font:inherit;font-size:12px;cursor:pointer}
.catalog-result-meta{display:flex;align-items:center;justify-content:space-between;min-height:46px}.catalog-result-meta span{color:#7f8c96;font-size:11px}.catalog-result-meta button{padding:0;border:0;background:transparent;color:var(--store-accent);font:inherit;font-size:11px;cursor:pointer}
.catalog-notice{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:13px 15px;border-left:3px solid #d08a2f;background:#fff8e8;color:#735320;font-size:12px}.catalog-notice button{min-height:32px;padding:0 12px;border:1px solid #c78a39;border-radius:3px;background:#fff;color:#805a24;font:inherit;font-size:11px;cursor:pointer}
.catalog-main .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-card{grid-template-rows:142px minmax(150px,auto);transition:border-color .16s,box-shadow .16s}.product-card:hover{border-color:#b9c9d0;box-shadow:0 8px 24px rgba(34,55,66,.08)}.product-visual{min-height:142px;overflow:hidden}.product-visual img{width:100%;height:100%;object-fit:cover}.product-body{display:grid!important;grid-template-rows:auto auto minmax(38px,1fr) auto;align-content:stretch!important;min-width:0}.product-label{margin-bottom:7px;color:#71838c;font-size:9px}.product-card h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-meta button{min-height:32px;padding:0 11px;border:1px solid #bfcfd5;border-radius:3px;background:#fff;color:#176e84;font:inherit;font-size:10px;cursor:pointer}.product-meta button:hover{border-color:var(--store-accent)}.product-meta button:disabled{cursor:not-allowed;opacity:.55}
.product-detail-dialog{width:min(680px,calc(100vw - 48px));max-height:calc(100vh - 60px);padding:0;border:0;border-radius:6px;background:#fff;box-shadow:0 20px 70px rgba(14,24,31,.3)}.product-detail-dialog::backdrop{background:rgba(17,25,31,.62)}.product-detail-dialog>div{display:grid;gap:20px;padding:25px}.product-detail-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.product-detail-dialog header p{margin:0 0 5px;color:var(--store-accent);font-size:10px}.product-detail-dialog header h2{margin:0;color:#1e2e38;font-size:22px}.product-detail-content{display:grid;gap:16px;max-height:calc(100vh - 230px);overflow:auto}.product-detail-summary,.product-purchase-notice{margin:0;color:#687781;font-size:12px;line-height:1.75}.product-sku-list{display:grid;margin:0;padding:0;border-top:1px solid #dfe6e9;list-style:none}.product-sku-list li{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:68px;padding:12px 2px;border-bottom:1px solid #e6eaed}.product-sku-list li>div{display:grid;gap:6px}.product-sku-list strong{color:#263944;font-size:13px}.product-sku-list span{color:#84919a;font-size:10px}.product-sku-list b{color:#d75f42;font-size:18px;white-space:nowrap}.product-purchase-notice{padding:12px 14px;border-left:3px solid var(--store-accent);background:#f2f8f9}.product-detail-dialog footer{display:flex;justify-content:flex-end}
@media(max-width:1260px){.catalog-shell{margin-right:32px;margin-left:32px}.catalog-main .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.product-sku-option label{display:flex;align-items:center;gap:11px;min-width:0;cursor:pointer}.product-sku-option label>span{display:grid;gap:5px;min-width:0}.product-sku-option input{width:16px;height:16px;flex:0 0 auto;accent-color:var(--store-accent)}.product-sku-option small{color:#84919a;font-size:10px;line-height:1.4}.product-sku-option.is-disabled{opacity:.55}.product-sku-option.is-disabled label{cursor:not-allowed}.product-purchase-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px;padding:15px;border:1px solid #d9e3e6;background:#f8fbfb}.product-purchase-panel>label{display:grid;gap:7px;color:#62717e;font-size:11px}.product-purchase-panel input{width:120px;height:40px;padding:0 11px;border:1px solid #cfd8de;border-radius:3px;background:#fff;color:#253540;font:inherit;font-size:13px}.product-purchase-panel input:focus{border-color:var(--store-accent);outline:0;box-shadow:0 0 0 3px rgba(22,131,163,.1)}.product-purchase-panel .primary-action{min-width:120px;margin:0;justify-content:center;border:0;cursor:pointer}.product-purchase-panel .primary-action:disabled{cursor:not-allowed;opacity:.5}.order-cancel-action{margin:0;color:#9a513d}.order-cancel-action:hover{border-color:#c66a51;color:#9a513d}
body[data-product-display-mode="list"] .product-grid{grid-template-columns:1fr}body[data-product-category-expanded="false"] #catalogCategories{display:none}
