body:has(.nz-account-frame) > :is(.nz-global-nav,.nz-footer) { display: none; }
.bc-console.nz-account-frame {
  --ac-head: 50px;
  --ac-rail: 200px;
  --ac-canvas: #f4f5f7;
  --ac-panel: #fff;
  --ac-line: #e2e5eb;
  --ac-ink: #24272d;
  --ac-muted: #717781;
  --ac-blue: #316bff;
  --wb-bg: var(--ac-canvas);
  --wb-surface: var(--ac-panel);
  --wb-soft: var(--shell-soft);
  --wb-line: var(--ac-line);
  --wb-ink: var(--ac-ink);
  --wb-muted: var(--ac-muted);
  --wb-link: var(--shell-link);
  --bcc-ink: var(--ac-ink);
  --bcc-muted: var(--ac-muted);
  --bcc-line: var(--ac-line);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--ac-canvas);
  color: var(--ac-ink);
  font-size: 14px;
}
[data-theme="dark"] .bc-console.nz-account-frame {
  --ac-canvas: #151b24;
  --ac-panel: #202936;
  --ac-line: #354354;
  --ac-ink: #e7edf5;
  --ac-muted: #acb9c9;
  --ac-blue: #81a8ff;
}
.ac-top {
  display: flex;
  align-items: stretch;
  position: sticky;
  top: 0;
  height: var(--ac-head);
  z-index: 65;
  background: #1f1f1f;
  color: #f5f5f5;
  border-bottom: 1px solid #323232;
}
.ac-identity { display: flex; align-items: center; flex: 0 0 var(--ac-rail); padding-left: 17px; gap: 6px; }
.ac-top .ac-logo { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ac-top .ac-logo b { font-size: 17px; letter-spacing: .01em; font-weight: 650; }
.ac-top .ac-logo img { flex-shrink: 0; }
.ac-top :is(a,button,summary,.nz-language-control) { color: #e8e8e8; }
.ac-top a:hover { text-decoration: none; }
.ac-top .ac-toggle { display: none; }
.ac-quick, .ac-tools { display: flex; align-items: stretch; }
.ac-quick a, .ac-tools > a, .ac-top .ac-tool, .ac-user > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}
.ac-quick a { position: relative; padding: 0 16px; font-size: 14px; }
.ac-quick a:is(:hover,.on), .ac-tools > a:hover, .ac-user > summary:hover, .ac-top .ac-tool:hover {
  background: #333;
  color: #fff;
}
.ac-quick a.on::after { content: ''; position: absolute; inset: auto 12px 0; height: 2px; background: #5083ff; }
.ac-tools { margin-left: auto; align-items: center; padding: 0 12px; gap: 3px; min-width: 0; }
.ac-tools > a, .ac-tools .ac-tool, .ac-user > summary { min-height: 36px; padding-inline: 8px; }
.ac-top :is(.ac-tool,.ac-toggle) { border: 0; background: transparent; cursor: pointer; }
.ac-tools .ac-buy, .ac-tools .ac-user, .ac-tools .ac-login { font-size: 13px; }
.ac-tools .ac-buy { margin-right: 5px; }
.ac-tools .nz-language-control { color: #e8e8e8; }
.ac-tools .nz-language-control select, [data-theme="dark"] .ac-tools .nz-language-control select { color: #f2f2f2; background: #272727; border-color: #484848; height: 29px; font-size: 12px; }
.ac-tools .nz-language-control option { background: #252525; color: #f2f2f2; }
.ac-user { position: relative; min-width: 0; }
.ac-user summary { list-style: none; cursor: pointer; }
.ac-user summary span { display: inline-block; max-width: 130px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ac-user summary::-webkit-details-marker { display: none; }
.ac-user > div { position: absolute; z-index: 2; inset: calc(100% + 3px) 0 auto auto; min-width: 135px; padding: 5px; border: 1px solid #404040; background: #242424; box-shadow: 0 7px 20px #0003; }
.ac-user > div :is(a,button) { display: block; width: 100%; padding: 8px; border: 0; color: #eee; background: transparent; text-align: start; }
.ac-user > div :is(a,button):hover { background: #383838; }
.ac-body { display: grid; grid-template-columns: var(--ac-rail) minmax(0,1fr); align-items: start; min-height: calc(100vh - var(--ac-head)); }
.ac-sidebar {
  position: sticky;
  top: var(--ac-head);
  height: calc(100vh - var(--ac-head));
  height: calc(100dvh - var(--ac-head));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 9px 0 16px;
  background: #181818;
  color: #e9e9e9;
  scrollbar-width: thin;
  scrollbar-color: #414141 transparent;
}
.ac-side-group { margin: 0; }
.ac-side-group summary {
  position: relative;
  list-style: none;
  padding: 12px 30px 6px 18px;
  color: #a5a5a5;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}
.ac-side-group summary::-webkit-details-marker { display: none; }
.ac-side-group summary::after { content: ''; position: absolute; right: 19px; top: 50%; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(-45deg); }
.ac-side-group[open] summary::after { transform: rotate(45deg); }
.ac-sidebar .ac-side-link { display: flex; align-items: center; gap: 10px; min-height: 31px; padding: 6px 14px 6px 23px; color: #ddd; font-size: 13px; line-height: 1.4; }
.ac-side-link svg { flex: 0 0 auto; color: #b4b4b4; }
.ac-sidebar .ac-side-link:hover { background: #282828; color: #fff; text-decoration: none; }
.ac-sidebar .ac-side-link[aria-current] { background: #253657; box-shadow: inset 3px 0 #5387ff; color: #94b7ff; }
.ac-side-link[aria-current] svg { color: currentColor; }
.ac-content { min-width: 0; padding: 16px 20px 40px; }
.ac-content .bcc-crumb { gap: 8px; min-height: 18px; font-size: 12px; color: var(--ac-muted); }
.ac-content .bcc-crumb :is(a,span) { color: var(--ac-muted); }
.ac-content .bcc-crumb [aria-current] { color: var(--ac-ink); }
.ac-content .bcc-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; margin: 12px 0 16px; }
.ac-content .bcc-heading h1 { font-size: 20px; font-weight: 650; line-height: 1.4; letter-spacing: 0; }
.ac-content :is(.bcc-card,.bcc-stat,.wb-card,.pe-card) { border-radius: 4px; box-shadow: none; }
.ac-content .bcc-btn { border-radius: 4px; box-shadow: none; }
.ac-content .ac-continue { font-size: 13px; color: var(--ac-blue); }
.ac-cart-panel { padding: 20px; border: 1px solid var(--ac-line); border-radius: 4px; background: var(--ac-panel); }
.ac-cart-panel .nz-cart-list { border: 0; }
.ac-cart-panel .nz-cart-listhead { padding: 0 0 13px; }
.ac-cart-panel .nz-cart-empty { border: 0; border-radius: 0; padding: 48px 16px; background: transparent; color: var(--ac-muted); }
.ac-cart-panel .nz-cart-empty svg { display: block; width: 20px; height: 20px; margin: 0 auto 4px; color: #939cab; }
.ac-cart-panel .nz-cart-empty h2 { margin-top: 6px; font-size: 15px; line-height: 1.4; font-weight: 600; }
.ac-cart-panel .nz-cart-empty p { margin-top: 3px; font-size: 13px; color: var(--ac-muted); }
.ac-cart-panel .nz-cart-empty a { min-height: 32px; padding: 6px 12px; margin-top: 7px; font-size: 13px; }
.ac-cart-panel .nz-cart-actions .nz-btn { color: #fff; }
.ac-cart-panel .nz-cart-description h2 { font-size: 15px; }
.nz-account-frame .ac-mode:focus-visible, .nz-account-frame summary:focus-visible { outline: 2px solid #81aaff; outline-offset: -2px; }
@media (max-width: 1110px) {
  .ac-quick a { padding-inline: 11px; }
  .ac-tools { gap: 1px; padding-inline: 7px; }
  .ac-tools > a, .ac-tools .ac-tool { padding-inline: 6px; }
}
@media (max-width: 900px) {
  .ac-identity { flex-basis: auto; margin-right: 8px; padding-left: 9px; }
  .ac-identity .ac-logo { gap: 4px; }
  .ac-quick a { padding-inline: 8px; }
  .ac-tools .ac-buy span { display: none; }
  .ac-identity .ac-toggle { display: grid; place-items: center; width: 30px; min-height: 36px; }
  .ac-body { grid-template-columns: minmax(0,1fr); }
  .ac-sidebar { display: none; }
  .ac-expanded .ac-sidebar { display: block; position: fixed; z-index: 58; inset: var(--ac-head) auto 0 0; width: min(240px,80vw); box-shadow: 10px 6px 24px #0003; }
  .ac-content { padding: 16px 14px 30px; }
}
@media (max-width: 760px) {
  .ac-quick { display: none; }
  .ac-content .bcc-heading { margin-top: 8px; }
  .ac-tools .ac-user span { max-width: 80px; }
}
@media (max-width: 620px) {
  .ac-cart-panel { padding: 14px; }
  .ac-cart-panel .nz-cart-empty { padding-block: 31px; }
  .ac-tools .nz-language-control { width: 29px; height: 31px; justify-content: center; }
  .ac-tools .nz-language-control select { width: 29px; height: 31px; min-height: 31px; padding: 0; opacity: 0; }
  .ac-tools .nz-language-control .nz-language-arrow { display: none; }
  .ac-tools .nz-language-control > svg { inset-inline-start: 7px; }
  .ac-tools .nz-language-control:focus-within { outline: 2px solid #81aaff; }
}
@media (max-width: 460px) {
  .ac-identity { padding-left: 4px; gap: 2px; margin: 0; }
  .ac-identity .ac-logo b { font-size: 14px; }
  .ac-identity .ac-logo img { width: 23px; height: 23px; }
  .ac-tools { padding-right: 3px; gap: 0; }
  .ac-tools > a, .ac-tools .ac-tool,.ac-user > summary { padding-inline: 4px; }
  .ac-tools .ac-buy { margin-right: 0; }
  .ac-tools .ac-user summary span { display: none; }
  .ac-content { padding-inline: 10px; }
}
@media (min-width: 901px) and (max-width: 1240px) {
  html:not(:lang(zh)) .ac-identity { flex-basis: auto; margin-right: 5px; }
  html:not(:lang(zh)) .ac-quick a { padding-inline: 8px; font-size: 13px; }
  html:not(:lang(zh)) .ac-tools .ac-user span { max-width: 90px; }
}
