.rl-dashboard{max-width:1152px;margin:0 auto;padding:0 16px 72px;font-family:BMDupletTXT,Arial,sans-serif;color:#313337;min-height:550px}
.rl-account-tabs{display:flex;gap:32px;justify-content:center;width:max-content;max-width:100%;margin:32px auto 40px;border-bottom:1px solid #dedfe6;overflow-x:auto;scrollbar-width:none}
.rl-account-tabs a{display:block;white-space:nowrap;padding:18px 0 20px;font-size:16px;line-height:24px;color:#5c5c64;text-decoration:none;border-bottom:2px solid transparent}
.rl-account-tabs a[aria-current=page]{font-weight:600;color:#111018;border-bottom-color:#111018}
.rl-account-heading{text-align:center;margin-bottom:32px}.rl-account-heading h1{font:600 28px/40px BMDupletDSP,Arial,sans-serif;margin:0 0 8px}.rl-account-heading p{font-size:16px;line-height:24px;margin:0}
.rl-account-mode{text-align:center;font-size:11px;line-height:18px;color:#62636d;margin:0 0 20px}
.rl-account-primary{display:inline-flex;justify-content:center;align-items:center;background:#111018;color:white;font-size:15px;font-weight:600;line-height:22px;padding:13px 16px;min-height:48px;border:1px solid #111018;border-radius:6px;text-decoration:none;cursor:pointer}
.rl-account-primary:disabled{background:#313337;border-color:#313337;cursor:wait}.rl-account-primary[aria-busy=true]:before{content:'';width:20px;height:20px;border:1px solid #ffffff44;border-top-color:white;border-radius:50%;margin-right:8px;animation:rl-account-spin .8s linear infinite}
@keyframes rl-account-spin{to{transform:rotate(360deg)}}
.rl-account-empty{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:32px;background:white;border-radius:12px;box-shadow:0 3px 8px #17141e08}
.rl-account-empty>div{flex:1}.rl-account-empty h2{font:600 21px/30px BMDupletDSP,Arial,sans-serif;margin:0 0 12px}.rl-account-empty p{font-size:15px;line-height:24px;margin:0 0 24px;color:#62636d}.rl-account-empty img{width:448px;max-width:44%;height:auto;flex-shrink:0;border-radius:12px}
.rl-account-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.rl-account-profile-card,.rl-account-business,.rl-account-order-card,.rl-account-plan-card{background:white;border-radius:12px;box-shadow:0 3px 8px #17141e06;padding:24px}
.rl-account-profile-card h2,.rl-account-business h2,.rl-account-plan-card h2,.rl-account-order-details h3{font:600 20px/28px BMDupletDSP,Arial,sans-serif;margin:0 0 16px}
.rl-account-profile-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.rl-account-profile-card>header>button,.rl-account-text-button{font-size:14px;text-decoration:underline;font-weight:600;cursor:pointer;border:0;background:transparent;padding:0}
.rl-account-profile-card p{font-size:14px;line-height:22px;margin:8px 0;overflow-wrap:anywhere}.rl-account-demo-note{font-size:11px!important;line-height:18px!important;color:#767782!important}
.rl-account-preference{display:flex;align-items:center;gap:12px;font-size:14px;line-height:22px;margin:18px 0}.rl-account-preference input{width:20px;height:20px;flex-shrink:0;accent-color:#111018}
.rl-account-language{display:flex;flex-direction:column;gap:8px;font-size:13px}.rl-account-language select{height:48px;background:white;border:1px solid #c4c6d0;border-radius:5px;padding:0 12px;font-size:14px;color:#111018}
.rl-account-business{margin-top:32px;padding:32px}.rl-account-business p{margin:0 0 20px;font-size:14px;line-height:22px}
.rl-account-menu{position:fixed;z-index:1200;width:256px;background:white;border-radius:6px;box-shadow:0 6px 28px #1110181c;overflow:hidden;font-family:BMDupletTXT,Arial,sans-serif;color:#111018}
.rl-account-menu>a,.rl-account-menu>button{display:flex;align-items:center;gap:24px;width:100%;padding:20px 18px;min-height:65px;border:0;border-bottom:1px solid #dedfe6;background:white;font:400 14px/24px BMDupletTXT,Arial,sans-serif;text-align:left;text-decoration:none;color:inherit;cursor:pointer}
.rl-account-menu>:last-child{border-bottom:0}.rl-account-menu svg{width:20px;height:20px;flex-shrink:0}.rl-account-menu>a:hover,.rl-account-menu>button:hover{background:#f5f5fa}
.rl-account-modal{position:fixed;inset:0;margin:auto;border:0;padding:24px;width:min(480px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;border-radius:12px;background:#f8f8fc;color:#111018;font-family:BMDupletTXT,Arial,sans-serif}
.rl-account-modal::backdrop{background:#11101899}.rl-account-modal>header{position:relative;text-align:center;padding:0 36px 20px;border-bottom:1px solid #dedfe6;margin-bottom:24px}.rl-account-modal h2{font-size:16px;font-weight:400;margin:0;line-height:24px}.rl-account-modal>header>button{position:absolute;right:0;top:0;border:0;background:transparent;width:24px;height:24px;cursor:pointer;padding:0}.rl-account-modal svg{width:24px;height:24px}
.rl-account-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;font-size:13px}.rl-account-field input{height:48px;padding:0 12px;font:400 15px BMDupletTXT,Arial,sans-serif;border:1px solid #bfc2cf;background:white;border-radius:5px;color:#111018;width:100%;box-sizing:border-box}.rl-account-field input[readonly]{background:#f1f2f7}
.rl-account-field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rl-account-modal form>.rl-account-primary{width:100%;margin-top:16px}.rl-account-form-error{color:#c71c3b;font-size:13px;line-height:20px}.rl-account-bank-note{font-size:14px;line-height:24px}.rl-account-bank-note>button{width:100%;margin-top:12px}
.rl-account-plan-card{margin-bottom:24px}
.rl-account-order-card details{margin-top:16px}.rl-account-order-card summary,.rl-account-plan-card summary{cursor:pointer;font-weight:600;text-decoration:underline;font-size:14px}.rl-account-order-details{padding-top:16px;font-size:13px;line-height:22px}.rl-account-order-details>p{display:flex;justify-content:space-between;gap:16px}.rl-account-schedule{background:#f4f4fa;border-radius:8px;padding:16px;margin-top:20px}.rl-account-schedule p{font-size:12px;color:#767782}.rl-account-schedule table{border-collapse:collapse;width:100%;font-size:13px}.rl-account-schedule td,.rl-account-schedule th{border-bottom:1px solid #d5d7e0;padding:10px 6px;text-align:left}.rl-account-schedule td:last-child,.rl-account-schedule th:last-child{text-align:right}
.rl-account-plan-card>h2{margin-top:16px}.rl-account-plan-card p,.rl-account-plan-empty{font-size:14px;line-height:22px}.rl-account-plan-empty{text-align:center;margin:0 0 40px}
.rl-account-favorites-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.rl-account-favorite-card{background:white;border-radius:12px;padding:20px;display:flex;flex-direction:column}.rl-account-favorite-card img{height:200px;width:100%;object-fit:contain}.rl-account-favorite-card h2{font-size:16px;line-height:24px;font-weight:600;margin:16px 0}.rl-account-favorite-card a{text-decoration:none}.rl-account-favorite-card strong{font-size:20px}.rl-account-favorite-card p{font-size:12px;color:#767782}.rl-account-favorite-card button{padding:12px 0;margin-top:auto;text-decoration:underline;font-size:13px;font-weight:600;cursor:pointer}
.rl-account-sign-in,.rl-account-favorites-empty,.rl-account-referral,.rl-account-wallet{text-align:center}.rl-account-sign-in>a,.rl-account-favorites-empty>a{margin-top:16px}.rl-account-referral code{display:block;font-size:20px;letter-spacing:1px;margin:24px 0}.rl-account-referral button{margin-bottom:16px}
.rl-account-menu a:focus-visible,.rl-account-menu button:focus-visible,.rl-dashboard a:focus-visible,.rl-dashboard button:focus-visible,.rl-account-modal button:focus-visible{outline:2px solid #5b12ed;outline-offset:-3px}
@media(max-width:767px){.rl-dashboard{padding:0 16px 48px}.rl-account-tabs{justify-content:flex-start;width:100%;gap:24px;margin:16px auto 28px}.rl-account-tabs a{font-size:14px;padding:14px 0}.rl-account-heading h1{font-size:24px;line-height:32px}.rl-account-heading p{font-size:14px;line-height:22px}.rl-account-profile-grid{grid-template-columns:1fr;gap:20px}.rl-account-empty{flex-direction:column-reverse;padding:24px;text-align:center}.rl-account-empty img{width:100%;max-width:448px}.rl-account-empty h2{font-size:20px}.rl-account-favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.rl-account-favorite-card{padding:14px}.rl-account-favorite-card img{height:150px}.rl-account-business{padding:24px}}
@media(max-width:420px){.rl-account-field-row{grid-template-columns:1fr;gap:0}.rl-account-modal{padding:20px}.rl-account-favorites-grid{grid-template-columns:1fr}.rl-account-favorite-card img{height:220px}}
@media(prefers-reduced-motion:reduce){.rl-account-primary[aria-busy=true]:before{animation:none}}

/* F16：登录态未就绪前不渲染错误帧；认证页等 setup 完成再显示 */
html:not([data-account-ready]) [data-account-view]{visibility:hidden!important}
html:not([data-auth-ready]) .rl-auth-shell{visibility:hidden!important}
html:not([data-auth-ready]) [data-auth-first-paint],
html:not([data-account-ready]) [data-account-view][data-account-first-paint]{visibility:visible!important}
html:not([data-account-ready]) [data-account-first-paint]:not([data-account-view="orders"]) > [data-account-content],
html:not([data-auth-ready]) [data-auth-first-paint="draft"] [data-auth-panel]:empty{visibility:hidden!important}
.rl-auth-shell{margin-left:auto;margin-right:auto}
.rl-account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}
.rl-account-verify{margin:0 0 24px;overflow-wrap:anywhere}
[data-password-recovery] [hidden]{display:none!important}
[data-password-reset]{margin-top:24px}
[data-account-view="orders"]>.rl-account-heading {display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin:16px 0;text-align:left}
[data-account-view="orders"]>.rl-account-heading :is(h1,p) {margin:0}
[data-account-view="orders"]>.rl-account-heading a {font-size:14px}
[data-account-view="orders"] [aria-busy="true"]>.rl-account-orders-loading {
  box-sizing:border-box;min-height:calc(100vh - 8rem);min-height:calc(100svh - 8rem);
  padding:16px 0;margin:0;font-size:14px;line-height:22px;color:#5e6069;
}
.rl-account-order-card {
  margin:0 0 20px;
  padding:20px 24px;
  border:1px solid #dedfe3;
  border-radius:12px;
  color:#24252a;
  box-shadow:none;
}
.rl-account-order-card>header,.rl-account-order-heading,.rl-account-shipment {
  display:flex;align-items:center;justify-content:space-between;gap:12px 20px;
}
.rl-account-order-card>header {padding-bottom:16px;border-bottom:1px solid #e5e6e8}
.rl-account-order-heading {align-items:baseline;justify-content:flex-start;flex-wrap:wrap;min-width:0}
.rl-account-order-heading h2 {font:600 20px/1.3 BMDupletDSP,Arial,sans-serif;margin:0;overflow-wrap:anywhere}
.rl-account-order-heading p,.rl-account-shipped-date {font-size:13px;color:#5e6069;margin:0}
.rl-account-badge {display:inline-block;flex:none;padding:4px 10px;border-radius:5px;font-size:12px;line-height:16px;font-weight:600;background:#eeeff0;color:#51535a}
.rl-account-badge[data-order-status="pending"] {background:#fff0d6;color:#76410a}
.rl-account-badge[data-order-status="paid"] {background:#e6f4e9;color:#000}
.rl-account-badge[data-order-status="failed"] {background:#f9e9e8;color:#833b39}
.rl-account-receipt-body {display:grid;align-items:start;gap:20px 28px;padding:20px 0}
.rl-account-item-table {width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}
.rl-account-item-table thead th {padding:0 0 8px;color:#5e6069;font-size:12px;font-weight:500;white-space:nowrap}
.rl-account-item-table th:first-child {text-align:left}
.rl-account-item-table th:not(:first-child),.rl-account-item-table td {text-align:right}
.rl-account-item-table th:nth-child(2) {width:40px}
.rl-account-item-table th:nth-child(3),.rl-account-item-table th:nth-child(4) {width:80px}
.rl-account-order-item>th,.rl-account-order-item>td {padding:12px 0;border-top:1px solid #e5e6e8;vertical-align:top;font-weight:400}
.rl-account-order-item>td {padding-top:16px;padding-left:4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.rl-account-order-item>td:last-child {font-weight:600}
.rl-account-mobile-label {display:none}
.rl-account-product {display:flex;align-items:flex-start;gap:12px;min-width:0}
.rl-account-product-photo {display:grid;place-items:center;flex:0 0 52px;background:#f5f5f6;border-radius:6px;height:52px}
.rl-account-product-photo img {width:44px;height:44px;object-fit:contain;mix-blend-mode:multiply}
.rl-account-product-copy {min-width:0;padding-top:2px;overflow-wrap:anywhere;color:#25262c}
.rl-account-product-copy strong {display:block;font-size:14px;line-height:20px;font-weight:600}
.rl-account-product-copy p,.rl-account-price-note {margin:4px 0 0;font-size:12px;line-height:17px;color:#5e6069}
.rl-account-product-option {display:inline-block;max-width:100%;vertical-align:top}
.rl-account-gift {display:table;margin-top:4px;padding:1px 6px;border-radius:4px;background:#f0f4e8;color:#000;font-size:11px;line-height:16px;font-weight:600}
.rl-account-summary {min-width:0;border-radius:8px;padding:16px 18px;background:#f5f6f7}
.rl-account-summary>h3,.rl-account-shipment h3 {margin:0;font-size:14px;line-height:20px;font-weight:600}
.rl-account-price-breakdown {margin:12px 0 0;font-size:13px;line-height:18px}
.rl-account-price-breakdown>div {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:16px;margin-top:6px}
.rl-account-price-breakdown dt {color:#4e5058;overflow-wrap:anywhere}
.rl-account-price-breakdown dd {margin:0;text-align:right;font-variant-numeric:tabular-nums}
.rl-account-price-breakdown>div:last-child {margin-top:12px;padding-top:12px;border-top:1px solid #d4d6da}
.rl-account-price-breakdown>div:last-child dt,.rl-account-price-breakdown>div:last-child dd {font-weight:600;color:#202126}
.rl-account-price-breakdown>div:last-child dd {font-size:20px;line-height:24px}
.rl-account-price-note {margin-top:8px}
.rl-account-shipment {justify-content:flex-start;flex-wrap:wrap;border-top:1px solid #e5e6e8;padding:14px 0;font-size:13px}
.rl-account-shipment>div {min-width:0;flex:1 1 auto}
.rl-account-shipment p {margin:2px 0 0;line-height:18px;overflow-wrap:anywhere}
.rl-account-shipment a,.rl-account-order-card .rl-account-text-button {font-size:13px;font-weight:600}
.rl-account-order-card>footer {display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px 20px;border-top:1px solid #e5e6e8;margin:0;padding-top:12px}
.rl-account-order-card>footer .rl-account-primary {min-height:36px;padding:7px 16px;font-size:13px}
@media(min-width:1000px) {
  .rl-account-receipt-body:has(.rl-account-item-table) {grid-template-columns:minmax(0,1.95fr) minmax(240px,1fr)}
}
@media(max-width:600px) {
  .rl-account-order-card {padding:16px}
  .rl-account-order-card>header {align-items:flex-start;gap:8px;padding-bottom:12px}
  .rl-account-order-heading {display:block}
  .rl-account-order-heading h2 {font-size:16px}
  .rl-account-order-heading p {font-size:12px;margin-top:4px}
  .rl-account-badge {font-size:11px;padding:3px 6px}
  .rl-account-receipt-body {gap:12px;padding:4px 0 16px}
  .rl-account-item-table,.rl-account-item-table tbody {display:block}
  .rl-account-item-table thead {position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
  .rl-account-order-item {display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);align-items:baseline;gap:6px 8px;border-bottom:1px solid #e5e6e8;padding:12px 0}
  .rl-account-order-item:last-child {border-bottom:none}
  .rl-account-order-item>th,.rl-account-order-item>td {display:block;border:0;padding:0;font-size:13px}
  .rl-account-order-item>th {grid-column:1/-1}
  .rl-account-order-item>td[data-column="quantity"] {text-align:left}
  .rl-account-mobile-label {display:inline;font-weight:400;color:#5e6069;font-size:12px}
  .rl-account-product-photo {flex-basis:44px;height:44px}
  .rl-account-product-photo img {width:40px;height:40px}
  .rl-account-summary {padding:12px 14px}
  .rl-account-price-breakdown {margin-top:8px}
  .rl-account-shipment {gap:8px 12px;padding:12px 0}
  .rl-account-shipment>div {flex-basis:100%}
  .rl-account-order-card>footer {gap:8px 16px;justify-content:flex-start}
  .rl-account-order-card>footer :is(a,button) {display:inline-flex;align-items:center;min-height:44px}
}
