 
body[data-studio-page].account-page:not(:has(#profile-panel:not([hidden]))) {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
  isolation: isolate;
  background: radial-gradient(ellipse at 73% 44%, #15171a 0, transparent 53%), #0e0f11;
  color: #f5f6f8;
  font: 400 15px/1.5 "Z4 Inter Latin", "Segoe UI", sans-serif;
}

body.account-page:has(#auth-panel:not([hidden])) #nav,
body.account-page:not(:has(#profile-panel:not([hidden]))) .local-data-note,
body.account-page:not(:has(#profile-panel:not([hidden]))) .account-intro,
body.account-page:not(:has(#profile-panel:not([hidden]))) .account-sidebar {
  display: none;
}

#field { display: none; }

body.account-page:not(:has(#profile-panel:not([hidden]))) #field {
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

body.account-page:not(:has(#profile-panel:not([hidden]))) #main-content {
  display: block;
  flex: 1;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
}

body.account-page:not(:has(#profile-panel:not([hidden]))) .account-layout {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
}

body.account-page:not(:has(#profile-panel:not([hidden]))) .account-card {
  box-sizing: border-box;
  display: block;
  width: min(980px, calc(100% - 2 * clamp(20px, 8vw, 120px)));
  max-width: none;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(64px, 13vh, 120px) 0 48px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

body.account-page:has(#auth-panel:not([hidden])) .account-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(310px, 35vw, 390px);
  align-items: start;
  gap: clamp(36px, 6vw, 88px);
}

.signin-aside,
.signin-panel { display: none; }

body.account-page:has(#auth-panel:not([hidden])) .signin-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

body.account-page:has(#auth-panel:not([hidden])) .signin-panel {
  display: block;
  align-self: stretch;
  min-width: 0;
  padding-top: 14px;
  padding-left: clamp(28px, 4vw, 52px);
  border-left: 1px solid #29292d;
}

.signin-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1;
}

.signin-brand img { width: 34px; height: 34px; border-radius: 8px; }

.signin-brand:hover { color: #fff; }

.signin-title {
  margin: clamp(26px, 4.5vh, 40px) 0 12px;
  color: #f5f5f7;
  font-size: clamp(44px, 4.8vw, 52px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.signin-lede {
  max-width: 262px;
  margin: 0;
  color: #a1a1a6;
  font-size: 15px;
  line-height: 1.6;
}

.signin-art {
  position: relative;
  width: min(100%, 322px);
  aspect-ratio: 322 / 247;
  margin-top: clamp(16px, 3vh, 30px);
}

.signin-art canvas {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

body.account-page #loading:not([hidden]) {
  padding: 0;
  color: #a1a1a6;
  font-size: 14px;
}

 
body.account-page:not(:has(#profile-panel:not([hidden]))) #auth-panel {
  width: 100%;
  max-width: 400px;
}

#auth-panel #form-title,
#auth-panel #recovery-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

#auth-panel #form-description {
  display: none;
  margin: 0 0 18px;
  color: #a1a1a6;
  font-size: 13.5px;
  line-height: 1.55;
  text-align: left;
}

#auth-panel:has(#signup-tab[aria-selected="true"]) #form-description { display: block; }

#auth-panel :is(#auth-form, #recovery-form) {
  display: grid;
  gap: 0;
  margin: 0;
}

#auth-panel :is(#auth-form, #recovery-form) label {
  display: block;
  margin: 0 0 9px;
  color: #f2f2f4;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

#auth-panel :is(#auth-form, #recovery-form) label:not(:first-child) { margin-top: 18px; }

#auth-panel :is(#auth-form, #recovery-form) input:not([type="checkbox"]) {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #2c2c30;
  border-radius: 8px;
  background: #0b0b0c;
  color: #f5f5f7;
  box-shadow: none;
  font: 400 14.5px/1.4 "Z4 Inter Latin", "Segoe UI", sans-serif;
}

#auth-panel :is(#auth-form, #recovery-form) input::placeholder {
  color: #6e6e73;
  opacity: 1;
}

#auth-panel :is(#auth-form, #recovery-form) input:focus-visible {
  border-color: #0188ff;
  outline: 2px solid #0188ff40;
  outline-offset: 0;
}

#auth-panel .input-hint {
  margin: 7px 0 0;
  color: #85858b;
  font-size: 12px;
  line-height: 1.5;
}

#auth-panel .input-hint[hidden] { display: none; }

.password-field { position: relative; }

.password-field input { padding-right: 46px !important; }

.password-toggle {
  position: absolute;
  top: 50%;
  right: 5px;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #98989d;
  cursor: pointer;
}

.password-toggle:hover { color: #fff; }

.password-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle .eye-closed { display: none; }
.password-toggle[aria-pressed="true"] .eye-open { display: none; }
.password-toggle[aria-pressed="true"] .eye-closed { display: block; }

#auth-panel :is(.account-primary, .account-secondary) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 50px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  font: 600 15px/1.3 "Z4 Inter Latin", "Segoe UI", sans-serif;
  letter-spacing: -.01em;
  cursor: pointer;
  text-decoration: none;
}

#auth-panel .account-primary {
  background: #0188ff;
  color: #fff;
  box-shadow: none;
}

#auth-panel .account-primary:not(:disabled):hover { background: #2498ff; color: #fff; }

#auth-panel .account-primary:disabled { opacity: .6; cursor: default; }

#auth-panel #submit-button { margin-top: 24px; }

#auth-panel #submit-button svg { display: none; }

#auth-panel .account-secondary {
  margin-top: 12px;
  border: 1px solid #343438;
  background: #0b0b0c;
  color: #f5f5f7;
  box-shadow: none;
}

#auth-panel .account-secondary:not(:disabled):hover { background: #17171a; border-color: #4c4c52; color: #fff; }

#auth-panel .discord-mark { flex: none; width: 18px; height: 18px; }

#auth-panel .account-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

#auth-panel .account-tabs[hidden] { display: none; }

#auth-panel .account-tabs button {
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #2f9bf2;
  box-shadow: none;
  font: 500 14px/1.4 "Z4 Inter Latin", "Segoe UI", sans-serif;
  cursor: pointer;
}

#auth-panel .account-tabs button:hover { color: #64b6ff; }

#auth-panel .account-tabs button[aria-selected="true"] { display: none; }

#auth-panel #signup-tab::after { content: none; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  @supports (background-clip: text) {
    #signup-tab:enabled:is(:hover, :focus-visible) > span {
      background: linear-gradient(105deg, currentColor 36%, #90d1ff 44%, #fff 50%, #90d1ff 56%, currentColor 64%)
        100% 50% / 280% 100% no-repeat;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: signin-text-sheen .58s cubic-bezier(.2,.55,.42,1) both;
    }
  }
}

@keyframes signin-text-sheen {
  from { background-position-x: 100%; }
  to { background-position-x: 0%; }
}

.signin-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

#auth-panel:has(#recovery-panel:not([hidden])) .signin-links { display: none; }

.signin-sep {
  width: 1px;
  height: 15px;
  background: #3a3a3e;
}

.signin-help {
  color: #d7d7db;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
}

.signin-help:hover { color: #fff; }

#signup-discord-server {
  display: block;
  margin-top: 12px;
  color: #2f9bf2;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}

#signup-discord-server[hidden] { display: none; }

#auth-panel #verify-signup { margin-top: 4px; }

#auth-panel #recovery-panel {
  display: grid;
  gap: 0;
  margin: 0;
}

#auth-panel #recovery-panel[hidden] { display: none; }

#auth-panel #recovery-panel .account-muted { display: none; }

#auth-panel #recovery-submit { margin-top: 20px; }

#auth-panel #recovery-back { margin-top: 10px; }

#auth-panel :is(button, a, input):focus-visible {
  outline: 2px solid #6fb6ff;
  outline-offset: 2px;
}

#auth-panel #submit-button:focus-visible { outline-offset: 3px; }

body.account-page:not(:has(#profile-panel:not([hidden]))) #account-message {
  grid-column: 2;
  margin: 16px 0 0;
  color: #ff8d8d;
  font-size: 13px;
  line-height: 1.5;
}

body.account-page:not(:has(#profile-panel:not([hidden]))) #account-message[hidden] { display: none; }

 
@media (max-width: 660px) {
  body.account-page:not(:has(#profile-panel:not([hidden]))) .account-card {
    display: block;
    width: calc(100% - 40px);
    padding: clamp(42px, 8vh, 64px) 0 36px;
  }

  body.account-page:not(:has(#profile-panel:not([hidden]))) .signin-panel {
    margin-top: 34px;
    padding-top: 0;
    padding-left: 0;
    border-left: 0;
  }

  .signin-title { margin-top: 24px; font-size: 42px; }

  .signin-art { width: min(100%, 292px); }

  body.account-page:not(:has(#profile-panel:not([hidden]))) #auth-panel { max-width: none; }

  body.account-page:not(:has(#profile-panel:not([hidden]))) #account-message { grid-column: auto; }
}

@media (max-width: 360px) {
  .signin-brand { font-size: 23px; }
  .signin-brand img { width: 30px; height: 30px; }
  .signin-title { font-size: 38px; }
  .signin-art { width: min(100%, 250px); }
}

@media (prefers-reduced-motion: reduce) {
  .signin-brand,
  .password-toggle { transition: none; }
}
