.account-page {
  min-width: 320px; min-height: 100vh; margin: 0; color-scheme: dark;
  background: #0b1220; color: #f8fafc;
  font: 16px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis: none; -webkit-font-smoothing: antialiased;
}
.account-page *, .account-page *::before, .account-page *::after { box-sizing: border-box; }
.account-page [hidden] { display: none !important; }
.account-page :is(button,input) { font: inherit; }
.account-page :focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.account-page a { color: inherit; }
.account-page button { cursor: pointer; }
.account-page button:disabled { cursor: wait; opacity: .65; }
.account-skip { position: fixed; z-index: 2; top: -8rem; left: 1rem; background: #132238; padding: 8px 14px; }
.account-skip:focus { top: 8px; }
.account-masthead { width: min(100% - 64px, 1280px); min-height: 86px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #263346; }
.account-masthead img { display: block; width: 138px; height: auto; }
#return-link { padding: 8px 0; font-size: .925rem; text-underline-offset: 4px; color: #bdcce0; }
.account-main { width: min(calc(100% - 64px), 1000px); min-height: calc(100vh - 126px); min-height: calc(100svh - 126px); margin: 20px auto; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding: 32px 0; }
.account-stage { align-self: stretch; display: grid; place-items: center; overflow: hidden; }
.mark-field { isolation: isolate; position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: radial-gradient(ellipse at 49% 47%,#1b407b55, transparent 64%); }
.mark-field::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(#aac9ff12 1px, transparent 1px), linear-gradient(90deg,#aac9ff12 1px,transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse, #000 2%, transparent 68%); }
.field-ring { position: absolute; width: 84%; height: 84%; border-radius: 50%; border: 1px solid #7ba5f72e; transform: rotate(-36deg) scaleY(.76); }
.ring-two { width: 74%; height: 74%; border-color: #7ba5f74b; }
.ring-three { width: 64%; height: 64%; border-color: #7ba5f776; }
.field-symbol { display: block; width: 32%; height: auto; filter: drop-shadow(0 0 29px #326fe34a); }
.account-panel { width: 100%; min-width: 0; max-width: 445px; margin: auto; }
.account-panel h1 { margin: 0; font-size: clamp(2.25rem, 4vw, 3.65rem); font-weight: 580; line-height: 1.08; letter-spacing: -.065em; }
#account-intro { margin: 13px 0 24px; color: #bdcce0; }
.account-panel form > label, #password-fields label { display: block; margin: 16px 0 6px; font-size: .91rem; font-weight: 570; }
.account-panel input:not([type=file]) { width: 100%; min-height: 47px; padding: 10px 12px; border: 1px solid #40506a; border-radius: 8px; color: #f8fafc; background: #111c2e; }
.account-panel input[readonly] { color: #b7c5d9; background: #101928; }
.password-field { position: relative; }
.password-field input { padding-right: 84px !important; }
.visibility { position: absolute; top: 4px; bottom: 4px; right: 5px; min-width: 66px; padding: 0 7px; background: transparent; border: none; border-radius: 5px; color: #b4d4ff; font-size: .83rem !important; }
.visibility:hover, .text-button:hover, .password-expander:hover { color: #fff; }
.submit-button { display: block; width: 100%; min-height: 47px; margin-top: 24px; border: 1px solid #b1d4ff; border-radius: 8px; background: #93c5fd; color: #0b1220; font-weight: 650 !important; }
.submit-button:hover { background: #b5d8ff; }
.field-note { display: block; color: #a9bad2; margin-top: 5px; font-size: .82rem; }
#account-status { color: #b7d5ff; margin: 16px 0 0; overflow-wrap: anywhere; }
#account-status:empty { margin: 0; }
#account-status[data-error=true] { color: #ffb6c0; }
.photo-line { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.photo, .profile-link .avatar { position: relative; overflow: hidden; }
.photo { display: grid; place-items: center; width: 66px; height: 66px; flex: none; border-radius: 50%; background: #1b3153; color: #c8deff; border: 1px solid #35527c; font-size: 1.3rem; font-weight: 620; }
.photo img, .profile-link .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.file-control { position: relative; display: inline-flex; align-items: center; padding: 5px 10px; font-size: .88rem; font-weight: 560; border: 1px solid #3a5274; border-radius: 6px; background: #17283f; color: #e2edff; cursor: pointer; }
.file-control:focus-within { outline: 3px solid #93c5fd; outline-offset: 2px; }
.file-control input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.text-button, .password-expander { padding: 4px 0; background: transparent; color: #abd0ff; border: none; text-decoration: underline; text-underline-offset: 3px; font-size: .9rem !important; }
.photo-actions .text-button { margin-left: 6px; }
.password-expander { display: block; margin-top: 15px; }
#password-fields { margin-top: 14px; padding-top: 2px; border-top: 1px solid #2a3b53; }
#profile-retry { margin-top: 8px; }
.profile-link { color: #f8fafc; text-decoration: none; }
.profile-link:hover .foot-sub { text-decoration: underline; text-underline-offset: 2px; }
.profile-link .avatar { font-size: .78rem; font-weight: 650; }
.profile-shortcut { display: none; text-decoration: none; }
button.account-signout { background: transparent; border: 0; cursor: pointer; font-family: inherit; }
@media (max-width: 720px) {
  .account-main { grid-template-columns: minmax(0, 1fr); max-width: 430px; min-height: 0; margin: 0 auto; padding: 50px 0; }
  .account-stage { display: none; }
  .account-masthead { width: calc(100% - 36px); min-height: 68px; }
  .account-masthead img { width: 112px; }
  .profile-shortcut { display: inline-flex; }
}
@media (max-width: 510px) {
  .account-main { width: calc(100% - 36px); padding: 36px 0; }
  .profile-shortcut > span { display: none; }
  .profile-shortcut .ico { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .account-page * { scroll-behavior: auto !important; }
}
