.account-entry {
  background: #10181e; color: #f5eedf; padding-block: clamp(24px, 5vw, 76px);
  min-height: calc(100svh - 145px); display: grid; align-items: center;
}
.auth-layout {
  margin-inline: auto; width: min(1190px, calc(100% - clamp(48px, 10vw, 165px)));
  display: grid; grid-template-columns: 1.08fr 1fr; align-items: stretch;
  background: #18232b; border: 1px solid #394a55;
}
.auth-view { position: relative; isolation: isolate; min-height: 520px; overflow: hidden; margin: 0; background: #1c2933; }
.auth-view img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.auth-view::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#0b141be8,transparent 34%); }
.auth-view figcaption {
  position: absolute; inset: auto clamp(20px, 4vw, 54px) clamp(20px, 4vw, 54px); color: #f7ecda;
  font: 500 clamp(1.7rem, 3.3vw, 3.55rem)/1.04 var(--serif); letter-spacing: -.02em; text-shadow: 0 1px 8px #1118;
}
.auth-caption-rule { display: block; width: 44px; margin-bottom: .7rem; border-top: 2px solid #e8b883; }
.auth-box { display: grid; align-items: center; padding: clamp(28px, 4.4vw, 72px); }
.auth-fields { width: 100%; max-width: 430px; margin: auto; }
.auth-fields h1 { margin: 0; font: 500 clamp(2.8rem, 4.1vw, 4.45rem)/.99 var(--serif); letter-spacing: -.04em; color: #f5eedf; }
.auth-lede { color: #bac7cd; line-height: 1.55; margin: .65rem 0 1.55rem; text-wrap: pretty; }
.auth-fields label { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin: 1rem 0 .35rem; color: #e9e9e2; }
.auth-fields label span, .auth-fields small { color: #b1bfc5; font-size: .87rem; }
.account-entry .auth-fields form input:not([type="hidden"]), .auth-fields select {
  font: inherit; width: 100%; min-height: 47px; border: 1px solid #64737c; border-radius: 2px;
  background: #111b22; color: #f5eedf; padding: .55rem .8rem;
}
.auth-fields input:user-invalid { border-color: #df9e84; }
.auth-fields small { display: block; margin-top: .3rem; }
.auth-fields .hunter-identity { border: 0; padding: 0; margin: 1.5rem 0 .5rem; min-width: 0; }
.auth-fields .hunter-identity legend { color: #edbb89; padding: 0; }
.auth-fields .hunter-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(114px, 1fr)); gap: .65rem; }
.auth-fields .hunter-choices label { margin-top: .55rem; }
.auth-submit {
  border: 1px solid #edb783; background: #e6ad77; color: #221b17; width: 100%; min-height: 46px; margin-top: 1.55rem;
  border-radius: 2px; padding: .55rem 1rem; cursor: pointer; font: 500 1rem/1.4 var(--sans);
}
.auth-submit:hover { background: #f5c494; }
.auth-switch { color: #bac7cd; margin: 1.2rem 0 0; }
.auth-switch a { color: #edbb89; text-decoration: underline; text-underline-offset: .22em; margin-inline-start: .2rem; }
.auth-switch a:hover { color: #f5eedf; }
.auth-error { padding: .7rem .85rem; margin: 1rem 0; background: #442e2a; color: #ffe8db; border-left: 3px solid #e09f80; }
@media (max-width: 780px) {
  .auth-layout { width: calc(100% - 48px); grid-template-columns: .85fr 1fr; }
  .auth-box { padding: 26px; }
}
@media (max-width: 620px) {
  .account-entry { padding: 0 0 12px; display: block; min-height: 0; }
  .auth-layout { display: block; width: 100%; background: transparent; border: 0; }
  .auth-box { padding: 27px 20px 35px; }
  .auth-view { min-height: 118px; }
  .auth-view img { object-position: center 59%; }
  .auth-view figcaption { font: 500 1.15rem/1.2 var(--serif); inset: auto 20px 12px; }
  .auth-caption-rule { display: none; }
}
@media (max-height: 650px) and (max-width: 620px) {
  .auth-view { min-height: 73px; }
}
