@font-face {
  font-family: 'Cinzel';
  src: url('/assets/fonts/cinzel-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cinzel';
  src: url('/assets/fonts/cinzel-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cinzel';
  src: url('/assets/fonts/cinzel-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Crimson Pro';
  src: url('/assets/fonts/crimson-pro-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Crimson Pro';
  src: url('/assets/fonts/crimson-pro-300-italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Crimson Pro';
  src: url('/assets/fonts/crimson-pro-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Crimson Pro';
  src: url('/assets/fonts/crimson-pro-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

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

.auth-page-shell {
  --auth-ice: #a8d4e6;
  --auth-ice-dim: #5a8fa8;
  --auth-frost: #dcecf5;
  --auth-deep: #060d16;
  --auth-abyss: #03080f;
  --auth-steel: #1a2a3a;
  --auth-steel-light: #243547;
  --auth-rune: #7ab3cc;
  --auth-gold: #b8956a;
  --auth-muted: #7d93a0;
  --auth-error: #c45a5a;
  --auth-success: #5aab7a;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  min-height: 0;
  overflow: hidden;
  padding: 34px 32px 40px;
}

.auth-page-shell-aux {
  padding-bottom: 48px;
}

.auth-scene,
.auth-scene-bg,
.auth-scene-aurora {
  position: absolute;
  inset: 0;
}

.auth-scene {
  pointer-events: none;
}

.auth-scene-bg {
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, #0a1f35 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, #071829 0%, transparent 50%),
    linear-gradient(160deg, #060d18 0%, #02060c 50%, #030a14 100%);
}

.auth-scene-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 25%, rgba(168,212,230,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 72% 18%, rgba(168,212,230,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 60%, rgba(168,212,230,.2) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 72%, rgba(168,212,230,.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 85%, rgba(168,212,230,.25) 0%, transparent 100%),
    radial-gradient(2px 2px at 60% 10%, rgba(200,232,245,.3) 0%, transparent 100%);
}

.auth-aurora-band {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 300px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  animation: auth-aurora 14s ease-in-out infinite;
}

.auth-aurora-band:nth-child(1) {
  top: 8%;
  background: linear-gradient(90deg, transparent, rgba(50,120,180,.08), rgba(80,160,220,.12), rgba(50,100,160,.06), transparent);
}

.auth-aurora-band:nth-child(2) {
  top: 22%;
  background: linear-gradient(90deg, transparent, rgba(30,90,150,.06), rgba(100,180,230,.1), rgba(60,130,190,.05), transparent);
  animation-delay: -4s;
  animation-duration: 18s;
}

.auth-aurora-band:nth-child(3) {
  top: 2%;
  background: linear-gradient(90deg, transparent, rgba(20,70,130,.04), rgba(60,140,210,.08), transparent);
  animation-delay: -8s;
  animation-duration: 22s;
}

@keyframes auth-aurora {
  0%, 100% { opacity: 0; transform: translateX(-5%) scaleY(.8); }
  30% { opacity: 1; }
  50% { opacity: .8; transform: translateX(5%) scaleY(1.2); }
  70% { opacity: 1; }
}

.auth-page-grid {
  position: relative;
  z-index: 1;
  width: min(100%, 100vw);
  margin: 0 auto;
  display: grid;
  flex: 1 0 auto;
  grid-template-columns: 1fr 1fr;
  min-height: 100%;
}

.auth-page-grid-static {
  min-height: 100%;
}

.auth-lore-panel,
.auth-panel {
  position: relative;
}

.auth-lore-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 60px 112px 60px 64px;
  color: var(--auth-frost);
}

.auth-lore-stack {
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.auth-lore-panel::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(168,212,230,.15) 30%, rgba(168,212,230,.25) 50%, rgba(168,212,230,.15) 70%, transparent);
}

.auth-monogram,
.auth-game-title,
.auth-lore-kicker,
.auth-tab,
.auth-field > span,
.auth-chip-label,
.auth-form-title,
.auth-card h1,
.auth-success h2,
.auth-btn {
  font-family: 'Cinzel', Georgia, serif;
}

.auth-card-copy,
.auth-form-copy,
.auth-field input,
.auth-field textarea,
.auth-footnote,
.auth-inline-msg,
.auth-success p,
.auth-lore-copy {
  font-family: 'Crimson Pro', Georgia, serif;
}

.auth-monogram {
  font-size: clamp(92px, 12vw, 124px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -4px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #c8e8f5 0%, #7ab3cc 30%, #3a7090 60%, #1a4060 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 36px rgba(122,179,204,.28));
}

.auth-game-title,
.auth-lore-kicker,
.auth-card-kicker,
.auth-field > span,
.auth-chip-label,
.auth-btn {
  text-transform: uppercase;
  letter-spacing: .28em;
}

.auth-game-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--auth-ice-dim);
  margin-bottom: 54px;
}

.auth-lore-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--auth-ice-dim), transparent);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

.auth-lore-kicker {
  font-size: 11px;
  color: var(--auth-gold);
  margin: 0 0 16px;
}

.auth-lore-copy {
  max-width: 340px;
  margin: 0 0 40px;
  color: rgba(168,212,230,.7);
  font-size: 17px;
  line-height: 1.75;
  font-style: italic;
}

.auth-lore-footer {
  max-width: 360px;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.6;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 72px 60px 112px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  display: flex;
  flex-direction: column;
}

.auth-page-grid:not(.auth-page-grid-static) .auth-card {
  transform: translateY(46px);
}

.auth-card-aux {
  gap: 0;
  transform: none;
}

.auth-flow-card {
  gap: 0;
  max-width: 440px;
}

.auth-flow-card .auth-card-head {
  display: grid;
  gap: 0;
}

.auth-flow-card .auth-card-copy {
  margin-bottom: 30px;
}

.auth-flow-shell {
  display: grid;
  gap: 24px;
}

.auth-flow-eyebrow,
.auth-flow-note-label,
.auth-flow-step-index {
  font-family: "Cinzel", Georgia, serif;
  text-transform: uppercase;
}

.auth-flow-eyebrow {
  margin: 0 0 10px;
  color: var(--auth-ice-dim);
  font-size: 10px;
  letter-spacing: .26em;
}

.auth-flow-shell h1,
.auth-flow-shell h2 {
  margin: 0;
  color: var(--auth-frost);
  letter-spacing: .04em;
}

.auth-flow-shell h1 {
  font-family: "Cinzel", Georgia, serif;
  font-size: 30px;
  line-height: 1.1;
}

.auth-flow-shell h2 {
  font-family: "Cinzel", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.auth-flow-copy {
  margin: 12px 0 0;
  color: var(--auth-muted);
  font-size: 16px;
  line-height: 1.65;
  font-style: italic;
}

.auth-flow-panel {
  display: grid;
  gap: 18px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(122,179,204,.14);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,0)),
    rgba(8,18,32,.42);
  box-shadow: 0 16px 42px rgba(0,0,0,.18);
}

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

.auth-flow-panel-title {
  display: grid;
  gap: 8px;
}

.auth-flow-panel-copy {
  margin: 0;
  color: var(--auth-muted);
  font-size: 15px;
  line-height: 1.65;
  font-style: italic;
}

.auth-flow-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.auth-flow-actions .auth-btn {
  flex: 1 1 180px;
  min-width: 0;
}

.auth-flow-msg {
  min-height: 1.4em;
  margin: 0;
}

.auth-flow-msg.ok,
.auth-inline-msg.ok,
.auth-flow-msg.is-success {
  color: var(--auth-success);
}

.auth-flow-msg.error,
.auth-inline-msg.error,
.auth-flow-msg.is-error {
  color: var(--auth-error);
}

.auth-flow-notice {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(122,179,204,.1);
  border-left: 3px solid rgba(122,179,204,.55);
  background: rgba(10,22,38,.42);
}

.auth-flow-note-label {
  color: rgba(122,179,204,.68);
  font-size: 8px;
  letter-spacing: .22em;
}

.auth-flow-note-copy {
  margin: 0;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.6;
  font-style: italic;
}

.auth-flow-note-copy strong {
  color: var(--auth-frost);
  font-weight: 400;
  font-style: normal;
}

.auth-flow-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(122,179,204,.1);
  background: rgba(10,22,38,.34);
}

.auth-flow-step-index {
  color: rgba(122,179,204,.64);
  font-size: 10px;
  letter-spacing: .14em;
  line-height: 1.3;
}

.auth-flow-step-copy {
  margin: 0;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.6;
}

.auth-flow-step-copy strong {
  color: var(--auth-frost);
  font-weight: 400;
}

.auth-flow-form {
  display: grid;
  gap: 0;
}

.auth-flow-form .auth-inline-msg {
  margin-top: 2px;
}

.auth-flow-shell.auth-flow-warn .auth-flow-eyebrow,
.auth-flow-shell.auth-flow-warn .auth-flow-note-label,
.auth-flow-shell.auth-flow-warn .auth-flow-step-index {
  color: var(--auth-gold);
}

.auth-flow-shell.auth-flow-warn .auth-flow-notice {
  border-left-color: rgba(184,149,106,.75);
}

.auth-flow-shell.auth-flow-success .auth-flow-eyebrow,
.auth-flow-shell.auth-flow-success .auth-flow-note-label,
.auth-flow-shell.auth-flow-success .auth-flow-step-index {
  color: var(--auth-success);
}

.auth-flow-shell.auth-flow-success .auth-flow-notice {
  border-left-color: rgba(90,171,122,.72);
}

.auth-flow-shell.auth-flow-danger .auth-flow-eyebrow,
.auth-flow-shell.auth-flow-danger .auth-flow-note-label,
.auth-flow-shell.auth-flow-danger .auth-flow-step-index {
  color: var(--auth-error);
}

.auth-flow-shell.auth-flow-danger .auth-flow-notice {
  border-left-color: rgba(196,90,90,.72);
}

.auth-card-head {
  display: none;
}

.auth-card-kicker {
  margin: 0 0 10px;
  color: var(--auth-ice-dim);
  font-size: 10px;
}

.auth-card h1,
.auth-form-title,
.auth-success h2 {
  margin: 0;
  color: var(--auth-frost);
  letter-spacing: .04em;
}

.auth-card h1 {
  font-size: 30px;
  line-height: 1.1;
}

.auth-card-copy,
.auth-form-copy,
.auth-success p {
  margin: 12px 0 0;
  color: var(--auth-muted);
  font-size: 16px;
  line-height: 1.65;
  font-style: italic;
}

.auth-card-aux .auth-card-copy {
  margin-bottom: 30px;
}

.auth-tab-bar {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(122,179,204,.14);
  border-radius: 4px;
  background: rgba(10,22,38,.6);
  margin-bottom: 36px;
}

.auth-tab {
  flex: 1;
  appearance: none;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--auth-muted);
  font-size: 10px;
  padding: 13px 12px 12px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.auth-tab.is-active {
  color: var(--auth-frost);
  background: rgba(122,179,204,.12);
  box-shadow: inset 0 1px 0 rgba(168,212,230,.08);
}

.auth-panels {
  position: relative;
  overflow: hidden;
  min-height: 0;
  transition: height .48s cubic-bezier(.16, 1, .3, 1);
}

.auth-panel-view {
  width: 100%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  transform: translateX(34px);
  transition: opacity .34s ease, transform .46s cubic-bezier(.16, 1, .3, 1);
}

.auth-panel-view.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  transform: translateX(0);
}

.auth-panel-view.is-leaving-left {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  transform: translateX(-34px);
}

.auth-panel-view.is-leaving-right {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  transform: translateX(34px);
}

.auth-panel-view.is-entering-left {
  opacity: 1;
  pointer-events: auto;
  position: absolute;
  inset: 0;
  transform: translateX(-34px);
}

.auth-panel-view.is-entering-right {
  opacity: 1;
  pointer-events: auto;
  position: absolute;
  inset: 0;
  transform: translateX(34px);
}

@keyframes auth-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-form {
  display: block;
}

.auth-form-spacer {
  height: 36px;
  margin-bottom: 24px;
}

.auth-form-title {
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.auth-form-copy {
  margin: 0 0 32px;
  font-size: 15px;
}

.auth-field {
  display: block;
  margin-bottom: 14px;
}

.auth-field > span {
  display: block;
  margin-bottom: 8px;
  color: var(--auth-ice-dim);
  font-size: 9.5px;
  letter-spacing: 3px;
}

.auth-field > span em {
  font-style: normal;
  opacity: .62;
  letter-spacing: .12em;
}

.auth-status-input {
  position: relative;
}

.auth-field input,
.auth-field textarea {
  width: 100%;
  border: 1px solid rgba(122,179,204,.18);
  border-radius: 4px;
  background: rgba(8,18,32,.72);
  color: var(--auth-frost);
  font-size: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-field textarea {
  min-height: 96px;
  resize: none;
  line-height: 1.6;
}

.auth-field input:focus,
.auth-field textarea:focus {
  border-color: rgba(122,179,204,.5);
  background: rgba(10,28,50,.82);
  box-shadow: 0 0 0 3px rgba(122,179,204,.08);
}

.auth-field.is-error input,
.auth-field.is-error textarea {
  border-color: rgba(196,90,90,.52);
}

.auth-field.is-success input {
  border-color: rgba(90,171,122,.56);
}

.auth-status-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  min-width: 18px;
  text-align: center;
  color: var(--auth-muted);
}

.auth-field-hint {
  min-height: 18px;
  color: var(--auth-muted);
  font-size: 13px;
  font-style: italic;
  margin-top: 6px;
}

.auth-field.is-error .auth-field-hint {
  color: var(--auth-error);
}

.auth-field.is-success .auth-field-hint {
  color: var(--auth-success);
}

.auth-remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -4px;
  margin-bottom: 28px;
  color: var(--auth-muted);
  font-size: 13px;
}

.auth-notice {
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(122,179,204,.1);
  border-left: 3px solid #b8956a99;
  border-radius: 2px;
  color: #b8956a99;
  font-size: 13px;
  line-height: 1.6;
  font-style: italic;
  background: rgba(10,22,38,.5);
}

.auth-notice a {
  color: var(--auth-ice);
  text-decoration: none;
}

.auth-notice a:hover,
.auth-notice a:focus-visible {
  text-decoration: underline;
}

.auth-btn {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(122,179,204,.35);
  border-radius: 3px;
  background: linear-gradient(135deg, #2a5a80 0%, #1a3a58 100%);
  color: var(--auth-frost);
  font-size: 11px;
  letter-spacing: 4px;
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, opacity .2s ease;
}

.auth-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168,212,230,.1), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}

.auth-btn:hover,
.auth-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(122,179,204,.56);
  box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 24px rgba(122,179,204,.1);
}

.auth-btn:hover::before,
.auth-btn:focus-visible::before {
  opacity: 1;
}

.auth-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.auth-btn[href] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.auth-btn-secondary {
  background: rgba(10,22,38,.45);
  color: var(--auth-muted);
}

.auth-btn-aux {
  font-size: 10px;
  letter-spacing: .28em;
  line-height: 1.35;
  padding: 15px 20px;
  white-space: normal;
  text-align: center;
}

.auth-footnote {
  margin: 16px 0 0;
  color: var(--auth-muted);
  font-size: 13px;
  text-align: center;
}

#authPanelSignin .auth-footnote {
  margin-top: 0;
}

.auth-footnote a {
  color: var(--auth-ice);
  text-decoration: none;
}

.auth-inline-msg {
  min-height: 1.4em;
  margin: 0;
  color: var(--auth-muted);
  font-size: 12px;
}

.auth-inline-msg.is-error {
  color: var(--auth-error);
}

.auth-inline-msg.is-success {
  color: var(--auth-success);
}

.auth-step-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding-top: 2px;
  margin-bottom: 24px;
}

.auth-confirmed-bar {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.auth-chip {
  display: grid;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--auth-frost);
  cursor: pointer;
  transition: opacity .2s ease;
  animation: auth-chip-in .35s cubic-bezier(.16, 1, .3, 1) both;
  flex-shrink: 1;
  min-width: 0;
}

.auth-chip-label {
  display: block;
  font-size: 7px;
  line-height: 1;
  letter-spacing: .22em;
  color: rgba(122,179,204,.58);
  padding-left: 9px;
  text-align: left;
}

.auth-chip:hover,
.auth-chip:focus-visible {
  opacity: 1;
}

@keyframes auth-chip-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-chip-value {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.1;
  color: var(--auth-frost);
  font-family: 'Crimson Pro', Georgia, serif;
}

.auth-chip-shell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 7px 10px 8px;
  border: 1px solid rgba(122,179,204,.15);
  border-radius: 4px;
  background: rgba(122,179,204,.07);
  transition: border-color .2s ease, background .2s ease;
}

.auth-chip:hover .auth-chip-shell,
.auth-chip:focus-visible .auth-chip-shell {
  border-color: rgba(122,179,204,.28);
  background: rgba(122,179,204,.11);
}

.auth-chip-edit {
  font-size: 11px;
  line-height: 1;
  color: rgba(122,179,204,.38);
  flex-shrink: 0;
  margin-top: 1px;
}

.auth-step-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-items: center;
  min-height: 20px;
  padding-top: 8px;
}

.auth-step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(122,179,204,.15);
}

.auth-step-dot.is-active {
  background: var(--auth-ice-dim);
  transform: scale(1.2);
}

.auth-step-dot.is-done {
  background: rgba(90,171,122,.56);
}

.auth-steps-viewport {
  overflow: hidden;
  position: relative;
  transition: height .48s cubic-bezier(.16, 1, .3, 1);
}

.auth-signup-track {
  display: flex;
  will-change: transform;
  transition: transform .48s cubic-bezier(.16, 1, .3, 1);
}

.auth-step {
  display: block;
  min-width: 100%;
  flex-shrink: 0;
}

.auth-step .auth-form-title {
  margin-bottom: 8px;
}

.auth-step .auth-form-copy {
  margin-bottom: 24px;
}

.auth-step .auth-btn {
  margin-top: 4px;
}

.auth-step-actions,
.auth-success-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.auth-strength-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-top: 8px;
}

.auth-strength-seg {
  height: 3px;
  border-radius: 999px;
  background: rgba(122,179,204,.1);
}

.auth-strength-seg.is-weak {
  background: var(--auth-error);
}

.auth-strength-seg.is-medium {
  background: var(--auth-gold);
}

.auth-strength-seg.is-strong {
  background: var(--auth-success);
}

.auth-success {
  display: grid;
  gap: 12px;
  padding: 18px 0 6px;
  text-align: left;
}

.auth-success-kicker {
  margin: 0;
  color: var(--auth-success);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 11px;
}

.auth-success-actions {
  justify-content: flex-start;
  margin-top: 12px;
}

.auth-aux-actions {
  margin-top: 8px;
}

.auth-aux-actions .auth-btn,
.auth-aux-links .auth-btn {
  flex: 1 1 0;
  min-width: 0;
}

.auth-notice-soft {
  margin-top: 20px;
  margin-bottom: 0;
}

.auth-aux-links {
  margin-top: 16px;
}

.auth-aux-actions .auth-btn-secondary,
.auth-aux-links .auth-btn-secondary {
  border-color: rgba(122,179,204,.22);
}

@media (max-width: 980px) {
  .auth-page-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-lore-panel {
    align-items: center;
    padding: 40px 32px;
  }

  .auth-lore-stack {
    width: min(100%, 420px);
  }

  .auth-lore-panel::after {
    display: none;
  }

  .auth-panel {
    justify-content: center;
    padding: 40px 32px;
  }

  .auth-card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .auth-page-shell {
    padding: 24px 16px 38px;
  }

  .auth-panel {
    padding: 0;
  }

  .auth-form-title {
    font-size: 16px;
  }

  .auth-success-actions {
    flex-direction: column;
  }

  .auth-success-actions .auth-btn {
    width: 100%;
  }

  .auth-step-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
