:root:has(.ucenter-console) {background:#f8f7fc; color:#262139; --purple:#6241ad; --muted:#625a71;}
.ucenter-fallback {width:100%; max-width:1360px; padding:16px 28px; min-height:68px;}
.ucenter-fallback-identity {display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px;}
.ucenter-fallback-identity > a {font-size:14px; font-weight:650; text-decoration:none;}
.ucenter-fallback .brand {font-size:18px; letter-spacing:-.3px;}
.ucenter-fallback .brand b {color:var(--purple);}
.ucenter-fallback .language {margin:0;}
.ucenter-fallback .account-menu summary {display:flex; align-items:center; min-height:44px; font-weight:650;}
.ucenter-fallback .account-menu-items {top:100%; right:0;}
.ucenter-skip {position:absolute; left:12px; top:8px; transform:translateY(-160%); z-index:30; padding:10px 14px; background:white;}
.ucenter-skip:focus {transform:none;}
.ucenter-console {display:grid; grid-template-columns:minmax(170px,220px) minmax(0,1fr); align-items:start; gap:24px;
  width:100%; max-width:1360px; margin:0 auto; padding:28px;}
.ucenter-sidebar {position:sticky; top:16px; min-width:0; padding:16px; background:#fff; border:1px solid #e7e2ee; border-radius:14px;}
.ucenter-sidebar h1 {margin:0 0 12px; padding:4px 6px; font-size:21px; font-weight:700; letter-spacing:-.35px;}
.ucenter-sections {display:grid; align-items:stretch; gap:4px;}
.ucenter-sections a {display:flex; align-items:center; min-height:44px; padding:7px 10px; border:1px solid transparent;
  border-radius:8px; color:#494059; overflow-wrap:anywhere; font-weight:600; text-decoration:none;}
.ucenter-sections a:hover {background:#f8f4fe;}
.ucenter-sections a[aria-current] {color:#452680; background:#f0e9fc; border-color:#e5d9fa;}
.ucenter-pane {min-width:0;}
.ucenter-pane-title {margin:0 0 18px; font-size:clamp(24px,3.5vw,32px); font-weight:700; letter-spacing:-.5px;}
.ucenter-pane .card {border-radius:14px; padding:clamp(16px,3vw,26px);}
.ucenter-pane .identity {background:#fff;}
.ucenter-pane .identity .avatar {background:#eee8fc;}
.ucenter-pane .login {margin:0;}
.ucenter-pane .purchase-section {margin-top:18px;}
.purchase-tools {display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:12px;}
.purchase-tools:has(> [hidden] + [hidden]) {display:none;}
.ucenter-console:is([data-console-view="order"],[data-password-required]) {display:block; max-width:790px;}
.ucenter-console[data-console-view="order"] .ucenter-pane {width:100%;}
.ucenter-console[data-console-view="order"] .purchase-tools {margin-bottom:0;}
.ucenter-console[data-console-view="order"] #order-back {display:inline-flex; min-height:44px; align-items:center;}

@media (max-width:760px) {
  .ucenter-console {grid-template-columns:minmax(0,1fr); gap:18px; padding:16px;}
  .ucenter-sidebar {position:static; padding:10px;}
  .ucenter-sections {grid-template-columns:repeat(3,minmax(0,1fr));}
  .ucenter-sections a {justify-content:center; text-align:center; padding-inline:5px; font-size:13px;}
  .ucenter-fallback {flex-wrap:wrap; gap:6px 12px; padding:10px 16px;}
  .ucenter-fallback nav {gap:10px;}
  .ucenter-fallback-identity {gap:6px 12px;}
}
