.auth-page {
  --auth-ink: #102a43;
  --auth-text: #243b53;
  --auth-soft: #526777;
  --auth-faint: #6b7f8d;
  --auth-snow: #f4f7f8;
  --auth-panel: #fbfcfc;
  --auth-action: #0b5f7a;
  --auth-action-hover: #084c63;
  --auth-focus: #1c77a6;
  --auth-border-strong: #7691a4;
  --auth-border-subtle: #c9d9e5;
  --auth-error: #b42318;
  --auth-error-bg: #fef3f2;
  --auth-success: #067647;
  --auth-success-bg: #ecfdf3;
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--auth-ink);
  background: var(--auth-snow);
  font-family: "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", Meiryo, system-ui, sans-serif;
  line-height: 1.5;
}

.auth-page,
.auth-page * {
  box-sizing: border-box;
}

.auth-page [hidden] {
  display: none !important;
}

.auth-page .auth-layout {
  min-height: 100vh;
  min-height: 100svh;
}

.auth-page .auth-layout--login {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: #173f56;
}

.auth-page .auth-layout--compact {
  display: grid;
  grid-template-columns: minmax(280px, 36fr) minmax(520px, 64fr);
  background: var(--auth-snow);
}

.auth-page .auth-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  background: #173f56;
}

.auth-page .auth-layout--login .auth-visual {
  position: absolute;
  inset: 0;
}

.auth-page .auth-visual-picture,
.auth-page .auth-visual-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.auth-page .auth-visual-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: max(30px, env(safe-area-inset-top)) 42px max(64px, env(safe-area-inset-bottom));
}

.auth-page .auth-visual-photo {
  object-fit: cover;
  object-position: 48% 50%;
}

.auth-page .auth-hero--a .auth-visual-photo {
  object-position: 46% 50%;
}

.auth-page .auth-hero--b .auth-visual-photo {
  object-position: 43% 50%;
}

.auth-page .auth-hero--c .auth-visual-photo {
  object-position: 54% 50%;
}

.auth-page .auth-brand {
  position: static;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 750;
  letter-spacing: -.01em;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(5, 24, 39, .42);
}

.auth-page .auth-hero--c .auth-brand {
  margin-left: clamp(134px, 10vw, 184px);
}

.auth-page .auth-brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 11px;
  color: #fff;
  background: rgba(12, 65, 92, .84);
  font-size: 18px;
  font-weight: 800;
}

.auth-page .auth-brand-icon {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 40px;
  margin: 0;
  padding: 0;
}

.auth-page .auth-brand-icon-image {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
}

.auth-page .auth-brand-name {
  font-size: 16px;
}

.auth-page .auth-visual-copy {
  position: static;
  margin-top: auto;
  width: min(470px, calc(100% - 560px));
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(7, 31, 48, .16);
  text-shadow: 0 2px 14px rgba(3, 20, 34, .56);
}

.auth-page .auth-hero--a .auth-visual-copy {
  background: rgba(7, 31, 48, .28);
}

.auth-page .auth-hero--b .auth-visual-copy {
  background: rgba(7, 31, 48, .08);
}

.auth-page .auth-hero--c .auth-visual-copy {
  margin-left: clamp(150px, 12vw, 210px);
  background: rgba(7, 31, 48, .18);
}

.auth-page .auth-visual-title {
  margin: 0;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.auth-page .auth-visual-title span {
  display: block;
}

.auth-page .auth-visual-note {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  font-weight: 550;
}

.auth-page .auth-visual--compact {
  min-height: 100%;
}

.auth-page .auth-visual--compact .auth-visual-content {
  padding: max(30px, env(safe-area-inset-top)) 36px max(48px, env(safe-area-inset-bottom));
}

.auth-page .auth-visual--compact .auth-visual-copy {
  margin-top: auto;
  width: calc(100% - 72px);
  padding: 0;
  background: transparent;
}

.auth-page .auth-visual--compact .auth-visual-title {
  font-size: clamp(27px, 2.5vw, 38px);
}

.auth-page .auth-panel {
  position: relative;
  z-index: 3;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px clamp(28px, 5vw, 72px);
  background: var(--auth-panel);
}

.auth-page .auth-layout--login .auth-panel {
  width: clamp(440px, 33vw, 460px);
  height: auto;
  min-height: 0;
  align-self: center;
  padding: clamp(40px, 5vh, 56px) 32px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(5, 30, 48, .18);
}

.auth-page .auth-form {
  width: min(100%, 420px);
  display: grid;
  gap: 16px;
}

.auth-page .auth-form--setup {
  width: min(100%, 680px);
}

.auth-page .auth-form-head {
  display: grid;
  gap: 7px;
  margin-bottom: 4px;
}

.auth-page .auth-form-head h1 {
  margin: 0;
  color: var(--auth-ink);
  font-size: clamp(25px, 2.2vw, 31px);
  font-weight: 760;
  line-height: 1.28;
  letter-spacing: -.025em;
}

.auth-page .auth-form-head p {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--auth-soft);
  font-size: 14px;
  line-height: 1.7;
}

.auth-page .auth-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.auth-page .auth-field label {
  color: var(--auth-text);
  font-size: 13px;
  font-weight: 750;
}

.auth-page .auth-input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--auth-border-strong);
  border-radius: 7px;
  outline: none;
  background: var(--auth-panel);
  color: var(--auth-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  transition: border-color .14s ease, box-shadow .14s ease;
}

.auth-page .auth-input::placeholder {
  color: #708493;
  opacity: 1;
}

.auth-page .auth-input:focus {
  border-color: var(--auth-focus);
  box-shadow: 0 0 0 3px rgba(28, 119, 166, .2);
}

.auth-page .auth-input[aria-invalid="true"] {
  border-color: var(--auth-error);
}

.auth-page .auth-password-control {
  position: relative;
  min-width: 0;
}

.auth-page .auth-password-control .auth-input {
  padding-right: 70px;
}

.auth-page .auth-password-toggle {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 60px;
  min-height: 44px;
  border: 0;
  border-left: 1px solid var(--auth-border-subtle);
  border-radius: 0 5px 5px 0;
  background: #f0f7fa;
  color: var(--auth-action);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.auth-page .auth-submit,
.auth-page .auth-google-login,
.auth-page .auth-secondary-link {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 7px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.auth-page .auth-submit {
  border: 1px solid var(--auth-action);
  background: var(--auth-action);
  color: #fff;
  cursor: pointer;
}

.auth-page .auth-submit:hover {
  border-color: var(--auth-action-hover);
  background: var(--auth-action-hover);
}

.auth-page .auth-form[data-submitting="true"] .auth-submit {
  cursor: wait;
}

.auth-page .auth-alternative {
  display: grid;
  gap: 13px;
}

.auth-page .auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--auth-faint);
  font-size: 12px;
  text-align: center;
}

.auth-page .auth-divider::before,
.auth-page .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--auth-border-subtle);
}

.auth-page .auth-google-login,
.auth-page .auth-secondary-link {
  border: 1px solid var(--auth-border-strong);
  background: #fff;
  color: var(--auth-text);
}

.auth-page .auth-google-login:hover,
.auth-page .auth-secondary-link:hover {
  background: #edf6fa;
}

.auth-page .auth-google-icon {
  flex: 0 0 20px;
}

.auth-page .auth-form-foot {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--auth-faint);
  font-size: 12px;
}

.auth-page .auth-form-foot--split {
  justify-content: space-between;
  gap: 16px;
}

.auth-page .auth-form-foot a,
.auth-page .auth-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--auth-action);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.auth-page .auth-message {
  padding: 11px 13px;
  border: 1px solid currentColor;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.auth-page .auth-message--error {
  color: var(--auth-error);
  background: var(--auth-error-bg);
}

.auth-page .auth-message--success {
  color: var(--auth-success);
  background: var(--auth-success-bg);
}

.auth-page .auth-hint,
.auth-page .auth-field-error {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.auth-page .auth-hint {
  color: var(--auth-soft);
}

.auth-page .auth-field-error {
  color: var(--auth-error);
  font-weight: 700;
}

.auth-page .auth-code-input {
  min-height: 56px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 21px;
  font-weight: 760;
  letter-spacing: .12em;
}

.auth-page .auth-link-stack {
  display: grid;
  gap: 10px;
}

.auth-page .auth-setup-grid {
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 15px;
  border: 1px solid var(--auth-border-strong);
  border-radius: 8px;
  background: #edf6fa;
}

.auth-page .auth-qr {
  width: 194px;
  max-width: 100%;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--auth-border-strong);
  border-radius: 7px;
  background: #fff;
}

.auth-page .auth-qr img {
  display: block;
  width: 172px;
  height: 172px;
  max-width: 100%;
  image-rendering: pixelated;
}

.auth-page .auth-setup-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.auth-page .auth-setup-copy strong {
  font-size: 15px;
}

.auth-page .auth-setup-copy span {
  color: var(--auth-soft);
  font-size: 13px;
  line-height: 1.65;
}

.auth-page .auth-setup-copy code {
  display: block;
  width: 100%;
  padding: 8px 10px;
  overflow-wrap: anywhere;
  border: 1px solid var(--auth-border-subtle);
  border-radius: 6px;
  background: #fff;
  color: #153f59;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

.auth-page :is(.auth-brand, .auth-password-toggle, .auth-submit, .auth-google-login, .auth-secondary-link, .auth-text-link, .auth-form-foot a):focus-visible {
  outline: 3px solid var(--auth-focus);
  outline-offset: 3px;
}

@media (min-width: 600px) and (max-width: 1179px) and (orientation: portrait),
       (min-width: 700px) and (max-width: 767px) and (orientation: landscape) and (min-height: 500px) {
  .auth-page .auth-layout--login,
  .auth-page .auth-layout--compact {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    padding: 0;
    background: var(--auth-snow);
  }

  .auth-page .auth-layout .auth-visual {
    position: relative;
    inset: auto;
    min-height: 220px;
    height: clamp(220px, 26svh, 280px);
  }

  .auth-page[data-auth-page="two-factor-setup"] .auth-layout .auth-visual {
    min-height: 180px;
    height: clamp(180px, 22svh, 240px);
  }

  .auth-page[data-auth-page="two-factor-setup"] .auth-layout .auth-visual-content {
    gap: 16px;
    padding-block: max(18px, env(safe-area-inset-top)) 34px;
  }

  .auth-page[data-auth-page="two-factor-setup"] .auth-layout .auth-visual-copy {
    padding: 8px 12px;
  }

  .auth-page[data-auth-page="two-factor-setup"] .auth-layout .auth-visual-title {
    font-size: 23px;
  }

  .auth-page .auth-layout .auth-visual-content {
    position: relative;
    inset: auto;
    height: 100%;
    gap: 24px;
    padding: max(22px, env(safe-area-inset-top)) 28px 54px;
  }

  .auth-page .auth-layout .auth-visual-photo {
    object-position: 50% 50%;
  }

  .auth-page .auth-layout .auth-hero--a .auth-visual-photo {
    object-position: 50% 54%;
  }

  .auth-page .auth-layout .auth-hero--b .auth-visual-photo {
    object-position: 50% 48%;
  }

  .auth-page .auth-layout .auth-hero--c .auth-visual-photo {
    object-position: 50% 50%;
  }

  .auth-page .auth-layout .auth-hero--c .auth-brand {
    margin-left: clamp(82px, 13vw, 116px);
  }

  .auth-page .auth-layout .auth-visual-copy,
  .auth-page .auth-layout .auth-hero--a .auth-visual-copy,
  .auth-page .auth-layout .auth-hero--b .auth-visual-copy,
  .auth-page .auth-layout .auth-hero--c .auth-visual-copy,
  .auth-page .auth-visual--compact .auth-visual-copy {
    margin: auto 0 0;
    width: min(360px, calc(100% - 56px));
    padding: 13px 15px;
  }

  .auth-page .auth-layout .auth-hero--c .auth-visual-copy {
    margin-left: clamp(82px, 13vw, 116px);
  }

  .auth-page .auth-layout .auth-visual-title,
  .auth-page .auth-visual--compact .auth-visual-title {
    font-size: clamp(25px, 3.8vw, 30px);
  }

  .auth-page .auth-layout .auth-visual-note {
    display: none;
  }

  .auth-page .auth-layout--login .auth-panel,
  .auth-page .auth-layout--compact .auth-panel {
    width: min(calc(100% - 48px), 560px);
    height: auto;
    min-height: 0;
    margin: -32px auto max(32px, env(safe-area-inset-bottom));
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(5, 30, 48, .18);
  }
}

@media (min-width: 768px) and (max-width: 1179px) and (orientation: landscape) and (min-height: 500px) {
  .auth-page .auth-layout--login,
  .auth-page .auth-layout--compact {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
      max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    background: #173f56;
  }

  .auth-page .auth-layout .auth-visual {
    position: absolute;
    inset: 0;
    min-height: 100%;
    height: auto;
  }

  .auth-page .auth-layout .auth-visual-content {
    padding: max(22px, env(safe-area-inset-top)) 28px max(36px, env(safe-area-inset-bottom));
  }

  .auth-page .auth-layout .auth-hero--c .auth-brand {
    margin-left: clamp(76px, 9vw, 112px);
  }

  .auth-page .auth-layout .auth-visual-copy,
  .auth-page .auth-layout .auth-hero--a .auth-visual-copy,
  .auth-page .auth-layout .auth-hero--b .auth-visual-copy,
  .auth-page .auth-layout .auth-hero--c .auth-visual-copy,
  .auth-page .auth-visual--compact .auth-visual-copy {
    margin: auto 0 0;
    width: min(330px, calc(100% - 420px));
    padding: 14px 16px;
  }

  .auth-page .auth-layout .auth-hero--c .auth-visual-copy {
    margin-left: clamp(76px, 9vw, 112px);
  }

  .auth-page .auth-layout .auth-visual-title,
  .auth-page .auth-visual--compact .auth-visual-title {
    font-size: clamp(24px, 3.2vw, 34px);
  }

  .auth-page .auth-layout .auth-visual-note {
    margin-top: 9px;
    font-size: 12px;
  }

  .auth-page .auth-layout--login .auth-panel,
  .auth-page .auth-layout--compact .auth-panel {
    width: clamp(360px, 39vw, 420px);
    height: auto;
    min-height: 0;
    align-self: center;
    margin: 0;
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(5, 30, 48, .18);
  }

  .auth-page .auth-layout .auth-form {
    gap: 14px;
  }

  .auth-page .auth-layout .auth-form-head {
    gap: 5px;
    margin-bottom: 0;
  }

  .auth-page .auth-layout .auth-form-head h1 {
    font-size: 23px;
  }
}

@media (max-width: 599px),
       (min-width: 600px) and (max-width: 699px) and (orientation: landscape),
       (min-width: 700px) and (max-width: 1179px) and (max-height: 499px) {
  .auth-page .auth-layout--login,
  .auth-page .auth-layout--compact {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    padding: 0;
    background: var(--auth-snow);
  }

  .auth-page .auth-layout--login .auth-visual,
  .auth-page .auth-visual--compact {
    position: relative;
    inset: auto;
    min-height: 124px;
    height: 124px;
    background: #173f56;
  }

  .auth-page .auth-visual-picture {
    display: none;
  }

  .auth-page .auth-visual-content,
  .auth-page .auth-visual--compact .auth-visual-content {
    position: relative;
    inset: auto;
    height: 100%;
    padding: max(10px, env(safe-area-inset-top)) 20px 10px;
  }

  .auth-page .auth-hero--c .auth-brand {
    margin-left: 0;
  }

  .auth-page .auth-brand-mark {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .auth-page .auth-brand-name {
    font-size: 14px;
  }

  .auth-page .auth-visual-copy,
  .auth-page .auth-hero--a .auth-visual-copy,
  .auth-page .auth-hero--b .auth-visual-copy,
  .auth-page .auth-hero--c .auth-visual-copy,
  .auth-page .auth-visual--compact .auth-visual-copy {
    margin: auto 0 0;
    width: calc(100% - 40px);
    padding: 0;
    background: transparent;
  }

  .auth-page .auth-visual-title,
  .auth-page .auth-visual--compact .auth-visual-title {
    font-size: 20px;
    line-height: 1.25;
  }

  .auth-page .auth-visual-title span {
    display: inline;
  }

  .auth-page .auth-visual-note {
    display: none;
  }

  .auth-page .auth-panel,
  .auth-page .auth-layout--login .auth-panel {
    width: 100%;
    min-height: 0;
    padding: 12px 20px max(24px, env(safe-area-inset-bottom));
    border-radius: 0;
    box-shadow: none;
  }

  .auth-page .auth-form {
    gap: 14px;
  }

  .auth-page .auth-form-head {
    gap: 5px;
    margin-bottom: 0;
  }

  .auth-page .auth-form-head h1 {
    font-size: 24px;
  }

  .auth-page .auth-form-head p {
    line-height: 1.55;
  }

  .auth-page .auth-form-foot--split {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .auth-page .auth-setup-grid {
    grid-template-columns: 1fr;
  }

  .auth-page .auth-qr {
    margin-inline: auto;
  }
}

@media (max-width: 599px) {
  .auth-page[data-auth-page="login"] .auth-layout--login .auth-visual {
    height: clamp(180px, 26svh, 210px);
    min-height: 180px;
  }

  .auth-page:not([data-auth-page="login"]) .auth-visual--compact {
    height: clamp(120px, 18svh, 150px);
    min-height: 120px;
  }

  .auth-page .auth-visual-picture {
    display: block;
  }

  .auth-page .auth-visual::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: rgba(8, 39, 59, .2);
    pointer-events: none;
  }

  .auth-page .auth-hero--a::after {
    background: rgba(8, 39, 59, .26);
  }

  .auth-page .auth-hero--b::after {
    background: rgba(8, 39, 59, .13);
  }

  .auth-page .auth-hero--c::after {
    background: rgba(8, 39, 59, .18);
  }

  .auth-page .auth-visual-photo,
  .auth-page .auth-hero--a .auth-visual-photo,
  .auth-page .auth-hero--b .auth-visual-photo,
  .auth-page .auth-hero--c .auth-visual-photo {
    object-position: 50% 50%;
  }

  .auth-page .auth-hero--a .auth-visual-photo {
    object-position: 46% 50%;
  }

  .auth-page .auth-hero--b .auth-visual-photo {
    object-position: 44% 50%;
  }

  .auth-page .auth-hero--c .auth-visual-photo {
    object-position: 55% 50%;
  }

  .auth-page .auth-visual-content,
  .auth-page .auth-visual--compact .auth-visual-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: max(10px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right))
      28px max(18px, env(safe-area-inset-left));
  }

  .auth-page:not([data-auth-page="login"]) .auth-visual--compact .auth-visual-content {
    gap: 0;
    padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right))
      24px max(18px, env(safe-area-inset-left));
  }

  .auth-page .auth-brand {
    flex: 0 0 auto;
    gap: 9px;
  }

  .auth-page .auth-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 15px;
  }

  .auth-page .auth-brand-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .auth-page .auth-brand-name {
    font-size: 14px;
  }

  .auth-page .auth-visual-copy,
  .auth-page .auth-hero--a .auth-visual-copy,
  .auth-page .auth-hero--b .auth-visual-copy,
  .auth-page .auth-hero--c .auth-visual-copy,
  .auth-page .auth-visual--compact .auth-visual-copy {
    margin: 0;
    width: auto;
  }

  .auth-page .auth-visual-title,
  .auth-page .auth-visual--compact .auth-visual-title {
    font-size: clamp(17px, 4.8vw, 20px);
    line-height: 1.28;
    text-shadow: 0 1px 8px rgba(3, 20, 34, .48);
  }

  .auth-page .auth-visual-title span {
    display: block;
  }

  .auth-page:not([data-auth-page="login"]) .auth-visual-copy {
    display: none;
  }

  .auth-page .auth-panel,
  .auth-page .auth-layout--login .auth-panel {
    z-index: 3;
    width: auto;
    max-width: none;
    margin: -14px max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
    padding: 26px 20px max(28px, env(safe-area-inset-bottom));
    overflow: visible;
    background: var(--auth-panel);
    border-radius: 13px;
    box-shadow: 0 10px 26px rgba(11, 46, 67, .12);
  }

  .auth-page .auth-form {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-page *,
  .auth-page *::before,
  .auth-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
