.user-center{display:grid;gap:20px;min-width:0}.center-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line,#34343a);padding-bottom:12px}.center-tabs button{padding:9px 14px;border:0;border-radius:10px;background:transparent;color:inherit;cursor:pointer}.center-tabs button[aria-current=page]{background:rgba(148,123,255,.16);color:#ac96ff}.center-identity{display:flex;align-items:center;gap:18px;margin:4px 0 22px}.center-identity h3{margin:0 0 8px}.center-identity p{margin:0;font-size:12px;opacity:.65;overflow-wrap:anywhere}.center-avatar{width:76px;height:76px;flex-shrink:0;border-radius:50%;background:linear-gradient(135deg,#8365bd,#486481);display:grid;place-items:center;font-size:30px;overflow:hidden}.center-avatar img,.avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.avatar{overflow:hidden}.center-inline{display:flex;align-items:center;gap:14px;margin:10px 0 20px}.center-inline small{line-height:1.7;opacity:.65;flex:1}.center-wallet{padding:24px;border:1px solid rgba(156,130,242,.25);border-radius:18px;background:linear-gradient(120deg,rgba(120,86,198,.16),rgba(120,86,198,.02));display:grid;gap:10px}.center-wallet strong{font-size:36px;letter-spacing:-1px}.center-wallet small{opacity:.55}.center-section{border-top:1px solid var(--line,#34343a);padding-top:18px}.center-section h3{font-size:15px;margin:0 0 14px}.center-section-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:14px}.center-section-heading h3{margin:0}.center-redeem{display:flex!important;gap:10px}.center-redeem input{flex:1;min-width:0}.center-record{display:flex;width:100%;text-align:left;align-items:center;justify-content:space-between;gap:18px;background:transparent;color:inherit;border:0;border-bottom:1px solid var(--line,#34343a);padding:15px 0;font-size:13px}.center-record button,button.center-record{cursor:pointer}.center-record small{display:block;font-size:11px;opacity:.55;margin-top:7px}.center-record>span:last-child{text-align:right}.center-pagination{display:flex;justify-content:space-between;align-items:center;font-size:12px}.center-order-status{font-size:24px;font-weight:600}.center-qr{width:min(240px,100%);margin:20px auto;background:white;border-radius:12px;padding:8px}.center-qr svg{display:block;width:100%;height:auto}.user-center input:read-only{opacity:.6}.user-center [data-center-message]:empty{display:none}.user-center a.primary-btn{display:inline-flex;text-decoration:none}.user-center button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:520px){.center-tabs button{padding:9px;font-size:13px}.center-wallet strong{font-size:30px}.center-inline,.center-section-heading{align-items:flex-start;flex-direction:column}.center-identity{gap:12px}.center-avatar{width:60px;height:60px}.center-record{gap:8px;font-size:12px}}

.user-center .center-success{color:#79d9c1}.user-center form{gap:14px}.user-center input[type=file]::file-selector-button{border:0;border-radius:6px;padding:7px 10px;margin-right:10px;background:#34343c;color:#eee;cursor:pointer}
/* Points mall: measured three-column product selector and separate checkout rail. */
.top-actions .top-pill[data-action="mall"]{display:inline-flex}
.workspace-dialog:has(.points-mall){width:min(680px,calc(100vw - 32px));padding:28px 32px;background:#202024;border-color:#38383c;border-radius:16px;color:#f5f5f6}
.workspace-dialog:has(.points-mall) .workspace-dialog-header h2{font-size:18px}
.points-mall{gap:24px;font-size:14px;line-height:22px}
.points-mall .center-tabs{order:1;margin:0;padding:0 0 10px;border-color:#ffffff14}
.points-mall .center-tabs button{padding:0;font-size:16px;font-weight:600;color:inherit!important;background:none!important;border-radius:0}
.points-mall .center-tabs [data-center-tab="profile"],.points-mall .center-tabs [data-center-tab="keys"]{display:none}
.mall-identity{order:0;display:flex;align-items:center;gap:12px;min-width:0}
.mall-identity .center-avatar{width:48px;height:48px;font-size:20px}
.mall-identity h3{font-size:16px;margin:0 0 4px}
.mall-identity p{font-size:12px;color:#ffffff70;margin:0}
.points-mall .center-wallet{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:2px;border:0;padding:0;background:none;flex-shrink:0}
.points-mall .center-wallet span{font-size:12px;color:#ffffff99}
.points-mall .center-wallet strong{font-size:24px;line-height:32px;letter-spacing:0}
.points-mall>*:not(.mall-identity):not(.center-tabs){order:2}
.mall-purchase{display:grid;grid-template-columns:minmax(0,381fr) minmax(0,203fr);gap:32px}
.mall-products,.mall-checkout{min-width:0}
.mall-products>h3{display:none}
.mall-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mall-packages button{height:86px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border:1px solid #ffffff1f;border-radius:8px;background:transparent;color:inherit;cursor:pointer;transition:background .15s,border-color .15s}
.mall-packages button strong{font-size:24px;font-weight:600;line-height:30px}
.mall-packages button small{font-size:12px;color:#ffffff99}
.mall-packages button:hover{border-color:#ffffff70;background:#ffffff08}
.mall-packages button[aria-pressed="true"]{border-color:#fff;background:#ffffff14}
.mall-packages button:focus-visible,.mall-portal:focus-visible{outline:2px solid #9d88ff;outline-offset:3px}
.points-mall .mall-custom{display:flex;align-items:center;gap:12px;margin:16px 0 10px;color:#ffffff99;font-size:12px}
.points-mall .mall-custom input{flex:1;width:0;min-width:0;padding:8px 10px;background:#ffffff06;border:1px solid #ffffff24}
.points-mall .dialog-note{font-size:11px;line-height:18px;color:#ffffff70;margin:8px 0}
.mall-rules{margin-top:20px!important}
.mall-checkout{border-left:1px solid #ffffff14;padding-left:20px}
.mall-checkout h3{font-size:14px;line-height:22px;margin:0 0 12px;text-align:center;font-weight:500}
.points-mall .mall-checkout form{display:flex;flex-direction:column;gap:8px}
.points-mall .mall-checkout label{font-size:12px;color:#ffffff99;margin:0}
.points-mall .mall-checkout select{margin-top:4px;padding:7px;font-size:12px;background:#29292e;border-color:#ffffff24}
.mall-payment-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;aspect-ratio:1;background:#ffffff08;border:1px solid #ffffff0f;border-radius:8px;color:#ffffff50;font-size:11px}
.mall-payment-placeholder svg{width:48px;height:48px}
.points-mall .mall-pay{font-size:12px;padding:10px 8px;border-radius:8px;background:#fff;color:#202024;width:100%}
.mall-portal{border:0;background:none;color:#ffffff99;cursor:pointer;padding:8px 0;font-size:11px;width:100%}
.mall-portal:hover{color:#fff}
.points-mall .center-section{border-color:#ffffff14;padding-top:16px}
.points-mall .center-section h3{font-size:13px}
.mall-records summary{cursor:pointer;font-size:13px;margin-bottom:16px;color:#ffffffaa}
.points-mall .center-record{border-color:#ffffff14}
html[data-theme="light"] .workspace-dialog:has(.points-mall){background:#fff;color:#222;border-color:#e6e6e9}
html[data-theme="light"] .points-mall .center-wallet span,html[data-theme="light"] .mall-identity p,html[data-theme="light"] .points-mall .dialog-note,html[data-theme="light"] .mall-packages button small,html[data-theme="light"] .points-mall .mall-custom,html[data-theme="light"] .mall-portal,html[data-theme="light"] .mall-records summary,html[data-theme="light"] .points-mall .mall-checkout label{color:#777}
html[data-theme="light"] .mall-packages button{border-color:#dedee3}
html[data-theme="light"] .mall-packages button[aria-pressed="true"]{border-color:#29292e;background:#f3f3f5}
html[data-theme="light"] .mall-payment-placeholder{background:#f5f5f7;color:#999;border-color:#eee}
html[data-theme="light"] .points-mall .mall-pay{background:#222;color:#fff}
html[data-theme="light"] .mall-checkout,html[data-theme="light"] .points-mall .center-section,html[data-theme="light"] .points-mall .center-tabs,html[data-theme="light"] .points-mall .center-record{border-color:#e9e9ed}
@media(max-width:600px){.workspace-dialog:has(.points-mall){padding:22px 18px}.mall-purchase{grid-template-columns:1fr;gap:22px}.mall-checkout{border-left:0;border-top:1px solid #ffffff14;padding:18px 0 0}.mall-payment-placeholder{width:140px;align-self:center}.points-mall .mall-checkout form{display:grid;grid-template-columns:minmax(0,1fr) 140px;column-gap:16px}.mall-payment-placeholder{grid-column:2;grid-row:1/4}.points-mall .mall-pay{grid-column:1}.mall-identity h3{font-size:14px}.points-mall .center-wallet strong{font-size:21px}.points-mall .center-wallet span{font-size:11px}}
.points-mall .mall-payment-placeholder{aspect-ratio:auto;width:128px;height:128px;align-self:center;flex-shrink:0;font-size:10px}
.points-mall .mall-payment-placeholder svg{width:36px;height:36px}
.points-mall .center-redeem .primary-btn{background:#fff;color:#202024;box-shadow:none;font-size:12px}
.points-mall .center-redeem input{background:#ffffff06;border-color:#ffffff24}
html[data-theme="light"] .points-mall .center-redeem .primary-btn{background:#222;color:#fff}
@media(max-width:600px){.points-mall .mall-checkout form{grid-template-columns:minmax(0,1fr) 128px}.mall-identity>div:nth-child(2){min-width:0}.mall-identity h3{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
