:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #1e293b; background: #f8faff; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.account-site-header .header-inner { width: min(100% - 96px, 1192px); }
.account-site-header .account-download-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.account-shell { width: min(100% - 32px, 560px); margin: 0 auto; padding: 64px 0 56px; }
.account-card { padding: 42px; border: 1px solid #dce5f0; border-radius: 17px; background: #fff; box-shadow: 0 18px 50px #264a7a12; }
.eyebrow { color: #2563eb; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
h1 { margin: 12px 0 10px; font-size: clamp(30px, 7vw, 44px); line-height: 1.2; }
.lede { margin: 0 0 30px; color: #52647a; line-height: 1.8; }
.tabs { display: flex; gap: 6px; margin-bottom: 20px; padding: 4px; border-radius: 11px; background: #edf4fd; }
.tab { flex: 1; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: #52647a; }
.tab.is-active { background: #fff; color: #1d4ed8; box-shadow: 0 1px 5px #244b8218; font-weight: 700; }
.form, .field { display: grid; gap: 8px; }
.form { gap: 17px; }
.field span, .muted { color: #64748b; font-size: 13px; }
.field input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c6d7ec; border-radius: 9px; background: #fff; color: #1e293b; }
.field input:focus, select:focus, button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.primary, .secondary { min-height: 46px; padding: 10px 16px; border-radius: 9px; font-weight: 700; }
.primary { border: 1px solid #2563eb; background: #2563eb; color: #fff; }
.primary:hover { background: #1d4ed8; }
.secondary { border: 1px solid #c6d7ec; background: #fff; color: #1d4ed8; }
.secondary:hover { background: #edf4fd; }
.small { min-height: 36px; padding: 7px 10px; font-size: 12px; }
.status { min-height: 22px; margin: 0; color: #64748b; font-size: 13px; line-height: 1.6; }
.status.is-error { color: #b42318; }
.status.is-success { color: #26734d; }
.user-summary, .membership { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid #e5edf6; }
.user-summary strong, .membership strong { display: block; margin-top: 3px; overflow-wrap: anywhere; }
.membership { align-items: stretch; }
.membership > div { flex: 1; }
.account-management { display: grid; gap: 20px; margin-top: 24px; padding-top: 22px; border-top: 1px solid #e5edf6; }
.account-management h2, .account-management h3 { margin: 0; color: #1e293b; }
.account-management h2 { font-size: 18px; }
.account-management h3 { font-size: 15px; }
.compact-form { gap: 12px; padding: 16px; border: 1px solid #e5edf6; border-radius: 11px; background: #fbfdff; }
.session-management { display: grid; gap: 12px; }
.session-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.session-list { display: grid; gap: 8px; }
.session-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid #e5edf6; border-radius: 9px; background: #fff; }
.session-item strong { display: block; color: #334155; font-size: 13px; }
.session-item span { display: block; margin-top: 3px; color: #64748b; font-size: 12px; line-height: 1.5; }
.token-payment { display: grid; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid #e5edf6; }
.token-payment h2 { margin: 0; color: #1e293b; font-size: 18px; }
.token-payment p { margin: 0; line-height: 1.7; }
.token-payment .field { gap: 7px; }
.token-payment select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #c6d7ec; border-radius: 9px; background: #fff; color: #1e293b; }
.token-payment select:focus { outline: 3px solid #93c5fd; outline-offset: 2px; }
.payment-actions { display: grid; gap: 10px; margin: 24px 0 10px; }
.payment-qr-panel { display: grid; justify-items: center; gap: 10px; margin-top: 18px; padding: 18px; border: 1px solid #dce5f0; border-radius: 12px; background: #fbfdff; text-align: center; }
.payment-qr-panel h3 { margin: 0; color: #1e293b; font-size: 16px; }
.payment-qr-panel img { display: block; width: min(240px, 70vw); height: auto; aspect-ratio: 1; padding: 10px; border: 1px solid #e5edf6; border-radius: 8px; background: #fff; }
.payment-qr-panel p { margin: 0; line-height: 1.6; }
.back-link { margin: 18px 0 0; text-align: center; font-size: 13px; }
.back-link a { color: #2563eb; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 980px) {
  .account-site-header .header-inner { width: min(100% - 48px, 1192px); gap: 20px; }
  .account-site-nav { gap: 18px; }
}
@media (max-width: 760px) {
  .account-site-header .header-inner { width: min(100% - 32px, 1192px); }
  .account-site-header .brand-description { display: none; }
  .account-site-nav { display: none; }
  .account-site-nav.is-open { display: grid; position: absolute; top: 100%; left: -16px; right: -16px; width: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 10px; padding: 10px 16px 17px; background: #f8faff; border-bottom: 1px solid #c6d7ec; box-shadow: 0 10px 20px #203c600d; }
  .account-site-nav.is-open a { min-height: 46px; padding: 10px 12px; border-radius: 8px; }
  .account-site-nav.is-open a:hover { background: #e8f0ff; }
  .account-menu-toggle { display: block; }
  .account-site-header .header-actions { margin-left: auto; }
  .account-site-header .header-actions .desktop-label { display: none; }
  .account-site-header .button-small { padding-inline: 12px; }
}
@media (max-width: 520px) { .account-shell { padding-top: 38px; } .account-card { padding: 26px 20px; } .user-summary, .session-heading, .session-item { align-items: flex-start; flex-direction: column; } }
