.auth-stage {
  position: relative;
  isolation: isolate;
  background: #0b1822 url("artwork/auth-adventure-v1.db9fbfbfbcb1.png") center center / cover no-repeat;
  border-bottom: 1px solid #886630;
}
.auth-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #07132118 25%, #09131f08 52%, #06111d50),
    linear-gradient(0deg, #030d1980, transparent 45%, #08152520);
}
.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  min-height: calc(100svh - 74px);
  padding-block: 48px;
}
.auth-lead {
  align-self: start;
  margin-top: clamp(50px, 10vh, 120px);
  max-width: 650px;
  text-shadow: 0 3px 16px #000, 0 1px 4px #000;
}
.auth-lead .eyebrow { color: #ffe1a0; font-size: 11px; }
.auth-lead h1 {
  color: #ffe6a5;
  font-size: clamp(38px, 4.4vw, 66px);
  font-weight: 600;
  margin: 15px 0;
  text-wrap: balance;
}
.auth-lead .auth-tagline { color: #fff0c9; font-size: clamp(15px, 1.3vw, 20px); }
.auth-rule { display: block; margin-top: 22px; color: #dbb05a; }
.auth-rule::before, .auth-rule::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 78px;
  height: 1px;
  margin-inline: 9px;
  background: linear-gradient(90deg, #d9ae55, transparent);
}
.auth-rule::before { transform: rotate(180deg); margin-left: 0; }
.auth-card {
  border: 1px solid #bc8a38;
  padding: 30px 28px 22px;
  border-radius: 7px;
  background: linear-gradient(145deg, #0b202bf5, #03121af5);
  box-shadow: 0 14px 50px #0009, inset 0 0 28px #152d3833;
  min-width: 0;
}
.auth-card-heading { text-align: center; margin-bottom: 24px; }
.auth-card-heading h1, .auth-card-heading h2 {
  font-size: 32px;
  color: #ffe7a9;
  font-weight: 600;
  text-shadow: 0 2px 8px #000;
  margin-bottom: 9px;
}
.auth-card-heading p { color: #c3d2db; font-size: 13px; }
.auth-card .account-form { display: grid; gap: 14px; }
.auth-field { min-width: 0; }
.auth-field > label { display: block; font-size: 12px; margin-bottom: 6px; color: #d6e1e8; }
.auth-input { position: relative; }
.auth-input > .ui-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #c1d0d8;
  width: 19px;
  height: 19px;
  pointer-events: none;
}
.auth-card .account-form .auth-input input {
  height: 46px;
  width: 100%;
  padding: 9px 13px 9px 42px;
  border: 1px solid #31505f;
  border-radius: 4px;
  background: #061b27;
  color: #e3ecf1;
  font-size: 14px;
  box-shadow: inset 0 2px 8px #0003;
}
.auth-card .account-form .auth-input input::placeholder { color: #8dabbc; }
.auth-card .account-form .auth-input input:focus { border-color: #b68e4b; }
.auth-card .account-form .auth-password input { padding-right: 48px; }
.auth-reveal {
  position: absolute;
  right: 2px;
  top: 1px;
  height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
  color: #c9d9e1;
  border-radius: 3px;
  background: transparent;
}
.auth-reveal .ui-icon { width: 19px; height: 19px; display: block; }
.auth-reveal:hover { background: #9cc4dc12; color: #ffe5a5; }
.auth-reveal[hidden], .auth-reveal [hidden] { display: none; }
.auth-card .field-hint { font-size: 11px; line-height: 1.6; color: #a6bfcf; margin: 5px 0 0; }
.auth-card .auth-recovery { font-size: 11px; text-align: right; margin-top: -3px; }
.auth-card .auth-recovery a, .auth-card .policy-links a { color: #7bc9e9; }
.auth-card .account-form > .auth-consent { margin: 2px 0 0; color: #d4e0e7; line-height: 1.6; }
.auth-consent input { accent-color: #e1b051; }
.auth-card .policy-links { margin: -6px 0 2px; font-size: 11px; }
.auth-card .draft-label { font-size: 10px; color: #b6ae98; display: inline-block; margin-left: 8px; }
.auth-card .account-form .auth-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .08em;
  color: #fff1cf;
  border: 1px solid #efb84d;
  border-radius: 4px;
  background: linear-gradient(180deg, #bd3519, #8d140b 50%, #6a0c08);
  box-shadow: 0 0 12px #e6842733, inset 0 1px 6px #ffd07555;
}
.auth-card .account-form .auth-submit:hover:not(:disabled) { filter: brightness(1.15); }
.auth-card .account-form .auth-submit:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.auth-submit-status:empty { display: none; }
.auth-submit-status { color: #d8bb7f; font-size: 12px; text-align: center; }
.auth-card form[aria-busy=true] .auth-submit { cursor: progress; }
.auth-card .auth-switch { margin: 22px 0 0; color: #bacbd6; font-size: 12px; }
.auth-card .auth-switch a { color: #ffe29a; text-decoration: underline; text-underline-offset: 3px; }
.auth-card .auth-help { margin-top: 20px; padding-top: 15px; border-color: #34505b; font-size: 10px; }
.auth-card .auth-help p { color: #a3b5c1; line-height: 1.7; }
.auth-card .auth-help a { color: #c9b079; font-size: 10px; margin-top: 8px; }
.auth-message {
  padding: 12px 14px;
  margin: 0 0 20px;
  background: #18373bc9;
  border: 1px solid #789a775e;
  color: #d5e5cb;
  font-size: 12px;
  line-height: 1.75;
  border-radius: 3px;
}
.auth-message-error { border-color: #aa5b465e; background: #54241d70; color: #f3cfbf; }
.auth-stage-register { background-position: center center; }
.auth-stage-register::before {
  background: linear-gradient(90deg, #06121b30, #05131a30 50%, #06131b9e),
    linear-gradient(0deg, #030b16b0, transparent 55%);
}
.auth-stage-register .auth-shell { grid-template-columns: 450px minmax(0, 1fr); gap: 100px; }
.auth-stage-register .auth-card { padding-block: 26px 22px; }
.auth-stage-register .auth-card-heading { margin-bottom: 18px; }
.auth-stage-register .account-form { gap: 11px; }
.auth-benefits { padding: 20px 0; max-width: 430px; justify-self: end; }
.auth-benefit { display: flex; align-items: center; gap: 18px; margin-block: 28px; }
.auth-benefit h2 { color: #ffe4a0; font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.auth-benefit p { color: #e0e6e7; font-size: 13px; text-shadow: 0 1px 5px #000, 0 1px 9px #000; }
.auth-benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid #b99450;
  border-radius: 50%;
  background: #191a10a6;
  color: #ffe1a0;
  display: grid;
  place-items: center;
}
.auth-benefit-icon .ui-icon { width: 25px; height: 25px; }
.page-login .site-footer, .page-register .site-footer { margin-top: 0; }
.auth-stage :focus-visible { outline: 2px solid #ffe09a; outline-offset: 3px; }
@media (max-width: 1100px) {
  .auth-shell { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
  .auth-stage-register .auth-shell { grid-template-columns: 420px minmax(0, 1fr); gap: 40px; }
  .auth-benefit { gap: 12px; }
  .auth-benefit h2 { font-size: 18px; }
}
@media (max-width: 900px) {
  .auth-shell, .auth-stage-register .auth-shell {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 30px 40px;
    gap: 24px;
  }
  .auth-card { width: min(100%, 460px); justify-self: center; }
  .auth-lead { margin: 0; text-align: center; justify-self: center; }
  .auth-lead h1 { font-size: 34px; margin-block: 6px; }
  .auth-lead .eyebrow, .auth-rule { display: none; }
  .auth-lead .auth-tagline { font-size: 13px; }
  .auth-stage::before { background: linear-gradient(0deg, #03101add, #06131d66); }
  .auth-stage { background-position: 42% center; }
  .auth-benefits { justify-self: center; max-width: 460px; padding: 0; }
  .auth-benefit { margin: 20px 0; }
}
@media (max-width: 480px) {
  .auth-shell { width: calc(100% - 28px); }
  .auth-card { padding: 24px 20px 20px; }
  .auth-card-heading h1, .auth-card-heading h2 { font-size: 28px; }
  .auth-lead h1 { font-size: 30px; }
  .auth-benefits { padding-inline: 8px; }
  .auth-card .account-form .auth-input input { font-size: 16px; }
}
