.account-top { height: 82px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.account-top-right { display: flex; gap: 27px; align-items: center; font-size: 14px; color: var(--muted); }
.auth-layout { max-width: 1120px; min-height: 650px; margin: 42px auto; display: grid; grid-template-columns: 1.08fr 1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.auth-art { position: relative; isolation: isolate; display: flex; align-items: flex-end; padding: 43px; overflow: hidden; background: #0a2226; color: white; }
.auth-art img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.auth-art::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #071717f5, #07171720 80%); }
.auth-art small { color: #90e9c5; font-size: 13px; letter-spacing: .2em; }
.auth-art h2 { font-size: 37px; line-height: 1.5; letter-spacing: -.03em; margin: 15px 0; }
.auth-art p { color: #c5d6d2; font-size: 14px; margin: 0; }
.auth-form-area { padding: 38px 48px; align-self: center; }
.auth-switch { display: flex; gap: 28px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.auth-switch a { padding: 0 0 13px; color: var(--muted); font-size: 18px; }
.auth-switch .active { border-bottom: 3px solid var(--green); color: var(--ink); font-weight: 750; }
.auth-form-area h1 { font-size: 28px; margin: 0 0 5px; }
.auth-intro { color: var(--muted); font-size: 14px; margin: 0 0 25px; }
.account-form { display: grid; gap: 18px; }
.account-field { display: grid; gap: 7px; font-size: 14px; }
.account-field input { width: 100%; min-width: 0; border-radius: 7px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 12px 13px; outline: 0; font-size: 14px; }
.account-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px #00d58b0d; }
.account-field input:read-only { color: var(--muted); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 65px; }
.password-wrap button { position: absolute; right: 5px; top: 5px; bottom: 5px; padding: 0 12px; background: none; border: 0; color: var(--muted); font-size: 12px; }
.auth-form-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; color: var(--muted); font-size: 13px; }
.auth-form-row a:hover, .text-link { color: var(--green); }
.account-form .primary { width: 100%; margin-top: 3px; min-height: 46px; }
.account-form .primary:disabled { opacity: .6; }
.form-message { font-size: 13px; color: var(--muted); margin: 0; min-height: 20px; }
.form-message[data-error='true'] { color: #eb7272; }
:root[data-theme='light'] .form-message[data-error='true'] { color: #b73535; }
.auth-bottom { text-align: center; padding-top: 21px; color: var(--muted); font-size: 13px; }
.auth-bottom a { color: var(--green); }
.auth-caption { color: var(--muted); font-size: 12px; text-align: center; margin: 22px; }
.verification-row { display: flex; gap: 10px; }
.verification-row input { flex: 1; }
.verification-row button { flex: none; border-radius: 7px; border: 1px solid var(--line); background: var(--raised); padding: 8px 12px; font-size: 13px; }
.captcha-button { padding: 0 !important; width: 115px; overflow: hidden; }
.captcha-button img { width: 100%; height: 44px; object-fit: contain; }
.account-content { max-width: 1250px; margin: 0 auto; padding: 36px 32px 60px; }
.account-banner { border: 1px solid var(--line); border-radius: 13px; background: radial-gradient(ellipse at 90% 0, #00d58b1b, transparent 65%), var(--surface); padding: 30px; display: flex; align-items: center; gap: 22px; }
.avatar { height: 78px; width: 78px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg,#245a50,#0c342e); color: #aaf2d2; font-size: 30px; border: 4px solid var(--surface); flex: none; }
.account-banner h1 { margin: 0 0 7px; font-size: 27px; }
.account-banner p { color: var(--muted); margin: 0; font-size: 13px; }
.account-banner .secondary { margin-left: auto; }
.member-label { font-size: 12px; display: inline-block; padding: 3px 9px; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 6px; color: var(--green); }
.account-layout { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 23px; margin-top: 25px; }
.account-nav { border: 1px solid var(--line); padding: 12px; border-radius: 10px; background: var(--surface); align-self: start; display: grid; gap: 5px; }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border: 0; background: none; text-align: left; border-radius: 6px; color: var(--muted); font-size: 14px; }
.account-nav .active, .account-nav a:hover, .account-nav button:hover { color: var(--green); background: #00d58b10; }
.account-panel { border: 1px solid var(--line); padding: 27px; border-radius: 10px; background: var(--surface); }
.account-panel + .account-panel { margin-top: 22px; }
.account-panel h2 { font-size: 20px; margin: 0 0 22px; }
.account-quick { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.account-quick button, .account-quick a { text-align: left; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 8px; padding: 21px; }
.account-quick .symbol { display: block; font-size: 28px; color: var(--green); margin-bottom: 12px; }
.account-quick strong { display: block; font-size: 15px; }
.account-quick small { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.account-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 35px; }
.account-facts dt { color: var(--muted); font-size: 13px; margin-bottom: 5px; }
.account-facts dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.profile-form { max-width: 530px; }
.profile-form .primary { width: max-content; padding-inline: 32px; }
.account-guest { padding: 80px 20px; text-align: center; }
.account-guest h1 { font-size: 30px; }
.account-guest p { color: var(--muted); }
.account-guest .button-row { justify-content: center; }
.account-login { font-size: 13px; border: 1px solid var(--line); border-radius: 6px; padding: 7px 12px; white-space: nowrap; }
@media(max-width:1100px) { .auth-layout { margin: 35px 28px; } .auth-form-area { padding: 35px; } .account-layout { grid-template-columns: 160px minmax(0,1fr); } .account-content { padding-inline: 24px; } .account-quick button, .account-quick a { padding: 17px; } }
@media(max-width:700px) {
  .account-top { height: 68px; padding: 0 20px; }
  .account-top-right { gap: 20px; }
  .auth-layout { display: block; min-height: 0; margin: 22px 16px; border: 0; box-shadow: none; background: none; }
  .auth-art { display: none; }
  .auth-form-area { padding: 17px 8px 27px; max-width: 460px; margin: auto; }
  .auth-form-area h1 { font-size: 27px; }
  .auth-intro { margin-bottom: 25px; }
  .auth-switch { margin-bottom: 29px; }
  .account-form { gap: 19px; }
  .auth-caption { font-size: 11px; padding-bottom: 15px; }
  .account-content { padding: 24px 16px 35px; }
  .account-banner { padding: 20px 16px; gap: 14px; flex-wrap: wrap; }
  .avatar { width: 62px; height: 62px; font-size: 25px; }
  .account-banner h1 { font-size: 23px; }
  .account-banner .secondary { margin-left: 76px; min-height: 34px; padding-inline: 14px; font-size: 12px; }
  .account-layout { display: block; margin-top: 17px; }
  .account-nav { display: flex; overflow-x: auto; scrollbar-width: none; margin-bottom: 17px; padding: 7px; }
  .account-nav a, .account-nav button { white-space: nowrap; padding: 9px 12px; font-size: 13px; gap: 6px; }
  .account-panel { padding: 21px 16px; }
  .account-panel h2 { font-size: 19px; margin-bottom: 18px; }
  .account-quick { gap: 8px; }
  .account-quick button, .account-quick a { padding: 14px 10px; }
  .account-quick .symbol { font-size: 24px; margin-bottom: 9px; }
  .account-quick strong { font-size: 13px; }
  .account-quick small { font-size: 11px; }
  .account-facts { gap: 20px; }
  .account-facts dt { font-size: 12px; }
  .account-facts dd { font-size: 13px; }
  .account-login { padding: 6px 9px; font-size: 12px; }
}
.auth-page .sidebar, .auth-page .top-links, .auth-page .search, .auth-page .mobile-channels, .auth-page .mobile-bottom, .auth-page .main > .footer { display: none; }
.auth-page .topbar { left: 0; }
.auth-page .topbar .logo { display: flex; }
.auth-page .utilities { margin-left: auto; }
.auth-page .main { margin-left: 0; }
.auth-page .utilities .account-login { display: none; }
@media(max-width:600px) { .auth-page .main { padding-top: 62px; padding-bottom: 0; } }

.account-nav form { display: contents; }
