


.register-page {

  min-height:
    calc(100vh - var(--header-height));

  display: flex;


  align-items: flex-start;
  justify-content: center;

  padding: 80px 20px;

  position: relative;

}


.register-card {

  width:
    min(520px, 92vw);

  padding: 45px;

  border-radius: 30px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.055)
    );

  border:
    1px solid
    rgba(255, 255, 255, 0.2);

  backdrop-filter:
    blur(30px);

  -webkit-backdrop-filter:
    blur(30px);

  box-shadow:
    0 30px 90px
    rgba(0, 0, 0, 0.22),

    inset 0 1px 0
    rgba(255, 255, 255, 0.12);

  position: relative;

  overflow: hidden;

  animation:
    registerCardIn
    0.7s
    cubic-bezier(0.22, 1, 0.36, 1)
    both;

}


.register-card::before {

  content: "";

  position: absolute;

  width: 260px;
  height: 260px;

  top: -160px;
  right: -120px;

  background:
    radial-gradient(
      circle,
      rgba(255, 79, 163, 0.25),
      transparent 70%
    );

  pointer-events: none;

}


.register-header {

  text-align: center;

  margin-bottom: 35px;

  position: relative;

  z-index: 1;

}


.register-logo {

  font-size:
    clamp(42px, 8vw, 62px);

  font-weight: 900;

  line-height: 1;

  letter-spacing: -0.03em;

  background:
    linear-gradient(
      135deg,
      #fff94d 0%,
      #ffb347 18%,
      #ff4fa3 40%,
      #ff1493 55%,
      #7b2cff 75%,
      #00d9ff 100%
    );

  background-size: 300% 300%;

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;


  animation:
    oceanGradient
    8s
    ease-in-out
    infinite;

}


.register-header h1 {

  margin:
    18px 0 8px;

  font-size: 30px;

  font-weight: 700;

}


.register-header p {

  margin: 0;

  font-size: 14px;

  color:
    rgba(255, 255, 255, 0.65);

}


.register-form {

  display: flex;

  flex-direction: column;

  gap: 18px;

  position: relative;

  z-index: 1;

}


.form-group {

  display: flex;

  flex-direction: column;

  gap: 8px;

}


.form-group label {

  font-size: 13px;

  font-weight: 600;

  letter-spacing: 0.5px;

  color:
    rgba(255, 255, 255, 0.9);

}


.form-group input {

  width: 100%;

  min-height: 54px;

  padding:
    0 17px;

  box-sizing: border-box;

  border-radius: 15px;

  border:
    1px solid
    rgba(255, 255, 255, 0.16);

  outline: none;

  background:
    rgba(255, 255, 255, 0.075);

  color: white;

  font-family: inherit;

  font-size: 14px;

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;

}


.form-group input::placeholder {

  color:
    rgba(255, 255, 255, 0.4);

}


.form-group input:focus {

  background:
    rgba(255, 255, 255, 0.11);

  border-color:
    rgba(255, 79, 163, 0.75);

  box-shadow:
    0 0 0 3px
    rgba(255, 79, 163, 0.1),

    0 0 25px
    rgba(255, 79, 163, 0.12);

}


.password-row {

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 15px;

}


.terms {

  display: flex;

  align-items: flex-start;

  gap: 10px;

  margin-top: 3px;

  font-size: 12px;

  line-height: 1.5;

  color:
    rgba(255, 255, 255, 0.6);

}


.terms input {

  margin-top: 3px;

  accent-color: #ff4fa3;

  flex-shrink: 0;

}


.terms a {

  color: #ff80bc;

  text-decoration: none;

}


.terms a:hover {

  text-decoration: underline;

}


.register-submit {

  position: relative;

  overflow: hidden;

  width: 100%;

  min-height: 56px;

  margin-top: 8px;

  border:
    1px solid
    rgba(255, 255, 255, 0.35);

  border-radius: 50px;

  padding:
    12px 20px;

  color: white;

  font-family: inherit;

  font-size: 15px;

  font-weight: 600;

  white-space: nowrap;

  cursor: pointer;

  background:
    linear-gradient(
      135deg,
      rgba(255, 79, 163, 0.55),
      rgba(123, 44, 255, 0.4),
      rgba(0, 210, 255, 0.22)
    );

  box-shadow:
    0 7px 25px
    rgba(255, 79, 163, 0.18);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;

}


.register-submit::before {

  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      110deg,
      transparent 25%,
      rgba(255, 255, 255, 0.35),
      transparent 75%
    );

  transform:
    translateX(-130%);

  transition:
    0.6s;

}


.register-submit:hover {

  transform:
    translateY(-3px);

  border-color:
    white;

  box-shadow:
    0 10px 30px
    rgba(255, 79, 163, 0.35);

}


.register-submit:hover::before {

  transform:
    translateX(130%);

}


.register-submit {

  isolation: isolate;

}

.register-submit::before {

  z-index: -1;

}


.register-footer {

  margin-top: 25px;

  text-align: center;

  font-size: 13px;

  color:
    rgba(255, 255, 255, 0.6);

  position: relative;

  z-index: 1;

}


.register-footer a {

  color: white;

  font-weight: 600;

  text-decoration: none;

}


.register-footer a:hover {

  color: #ff80bc;

}


@keyframes registerCardIn {

  from {

    opacity: 0;

    transform:
      translateY(25px)
      scale(0.98);

  }

  to {

    opacity: 1;

    transform:
      translateY(0)
      scale(1);

  }

}


@keyframes oceanGradient {

  0% {

    background-position:
      0% 50%;

  }

  50% {

    background-position:
      100% 50%;

  }

  100% {

    background-position:
      0% 50%;

  }

}


@media (max-width: 600px) {

  .register-page {

    padding:
      50px 15px;

  }


  .register-card {

    padding:
      32px 22px;

    border-radius:
      25px;

  }


  .register-header {

    margin-bottom:
      28px;

  }


  .register-header h1 {

    font-size:
      26px;

  }


  .password-row {

    grid-template-columns:
      1fr;

  }

}


@media (prefers-reduced-motion: reduce) {

  .register-card,
  .register-logo {

    animation: none;

  }

  .register-submit,
  .register-submit::before {

    transition: none;

  }

}


.register-card .auth-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 6px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 26px;
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auth-tabs button {
  min-width: 0;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.auth-tabs button:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
}

.auth-tabs button[aria-selected="true"] {
  color: white;
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.35);
  background: linear-gradient(
    135deg,
    rgba(255, 79, 163, 0.55),
    rgba(123, 44, 255, 0.4),
    rgba(0, 210, 255, 0.22)
  );
  box-shadow: 0 7px 25px rgba(255, 79, 163, 0.18);
}

.auth-tabs button[aria-selected="true"]:hover {
  border-color: white;
  box-shadow: 0 10px 30px rgba(255, 79, 163, 0.35);
}

.register-card .auth-message[hidden] {
  display: none;
}

.register-footer .auth-switch {
  display: inline-block;
  min-height: 44px;
  padding: 6px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255, 177, 215, 0.6);
  text-underline-offset: 4px;
}

.register-footer .auth-switch:hover {
  color: #ffb4d8;
}

.register-card .auth-tabs button:focus-visible,
.register-card .auth-switch:focus-visible,
.register-card .register-submit:focus-visible {
  outline: 2px solid #ffd0e7;
  outline-offset: 3px;
}

.register-card .auth-message {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 208, 231, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.6;
}


.register-card .form-group input,
.register-card .form-group input:focus {
  font-size: 16px;
  font-size: max(16px, 1rem);
}

@media (prefers-reduced-motion: reduce) {
  .auth-tabs button {
    transition: none;
  }
}


.register-card > .auth-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
}


.auth-panel > .register-form { flex: 0 0 auto; }
.auth-panel .register-submit { margin-top: 8px; }


.register-card > .auth-panel[hidden] {
  display: none;
}


.register-card .auth-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.register-card .auth-copy > span {
  grid-area: 1 / 1;
  min-width: 0;
  overflow-wrap: anywhere;
}


.register-card .auth-copy > span[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}


#login-panel > .register-footer {
  margin-top: 6px;
}


.auth-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: -2px;
  font-size: 12px;
}
.auth-login-options > a,
.register-footer > a { color: #ff9dcb; text-decoration: none; font-weight: 700; }
.auth-login-options > a:hover,
.register-footer > a:hover { color: #fff; }
.auth-remember { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); cursor: pointer; }
.auth-remember input { width: 16px; height: 16px; accent-color: #ff4fa3; }
.register-submit { display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; }
.recovery-card { width: min(540px, 92vw); }
.recovery-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; color: #ffd0e6; background: linear-gradient(145deg, rgba(255,79,163,.18), rgba(73,110,255,.12)); box-shadow: inset 0 1px rgba(255,255,255,.08); font-size: 1.3rem; }
.recovery-card .register-logo { font-size: 13px; letter-spacing: .18em; -webkit-text-fill-color: initial; color: #ff9dcb; background: none; }
.recovery-success, .recovery-invalid { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; padding: 16px; border: 1px solid rgba(100,255,186,.18); border-radius: 16px; background: rgba(61,193,133,.07); }
.recovery-invalid { border-color: rgba(255,112,139,.2); background: rgba(183,54,84,.08); }
.recovery-success > i, .recovery-invalid > i { flex: 0 0 auto; margin-top: 3px; color: #a9ffd2; font-size: 1.2rem; }
.recovery-invalid > i { color: #ffb2c0; }
.recovery-success strong, .recovery-invalid strong { display: block; margin-bottom: 5px; }
.recovery-success p, .recovery-invalid p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.6; font-size: .78rem; }
.recovery-link-button { margin-top: 0; }
@media (max-width: 520px) { .auth-login-options { align-items: flex-start; flex-direction: column; } }
.recovery-handoff { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; padding: 16px; border: 1px solid rgba(123,174,255,.18); border-radius: 16px; background: rgba(88,118,205,.08); }
.recovery-handoff > i { flex: 0 0 auto; margin-top: 3px; color: #b9d7ff; font-size: 1.2rem; }
.recovery-handoff strong { display: block; margin-bottom: 5px; }
.recovery-handoff p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.6; font-size: .78rem; }

/* High-visibility legal, recovery and verification actions */
.terms .auth-legal-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 2px 2px 0;
  padding: 3px 8px;
  border: 1px solid rgba(255, 151, 204, .34);
  border-radius: 8px;
  color: #ffd0e7;
  background: rgba(255, 79, 163, .09);
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.terms .auth-legal-link:hover,
.terms .auth-legal-link:focus-visible {
  color: #fff;
  border-color: rgba(255, 192, 224, .62);
  background: rgba(255, 79, 163, .16);
  text-decoration: none;
}
.auth-login-options .auth-help-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 160, 205, .3);
  border-radius: 10px;
  color: #ffd0e7;
  background: linear-gradient(135deg, rgba(255,79,163,.105), rgba(112,105,214,.07));
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.auth-login-options .auth-help-link:hover,
.auth-login-options .auth-help-link:focus-visible {
  color: #fff;
  border-color: rgba(255, 195, 224, .56);
  background: linear-gradient(135deg, rgba(255,79,163,.17), rgba(112,105,214,.11));
}
.auth-remember span { display: grid; gap: 1px; }
.auth-remember small { color: rgba(255,255,255,.38); font-size: 9px; font-weight: 650; }
.verification-required {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 190, 115, .28);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 161, 96, .09), rgba(255, 79, 163, .055));
}
.verification-required > i { margin-top: 3px; color: #ffd19c; font-size: 1.15rem; }
.verification-required strong { display:block; margin-bottom:4px; color:#fff; }
.verification-required p { margin:0 0 8px; color:rgba(255,255,255,.61); font-size:.76rem; line-height:1.55; }
.verification-required a,
.auth-verification-link {
  color:#ffc2df;
  font-weight:800;
  text-decoration:underline;
  text-decoration-color:rgba(255,162,205,.48);
  text-underline-offset:3px;
}
.auth-account-help { display:grid; gap:9px; justify-items:center; }
.auth-account-help .auth-verification-link {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:36px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:10px;
  background:rgba(255,255,255,.045);
}
.register-card .site-flash {
  margin-bottom:18px;
  text-align:left;
  line-height:1.55;
}
.register-card .site-flash-success {
  border-color:rgba(106,255,188,.28);
  background:linear-gradient(135deg,rgba(35,129,88,.18),rgba(48,85,137,.1));
}
.register-card .site-flash-error {
  border-color:rgba(255,116,143,.3);
  background:linear-gradient(135deg,rgba(132,35,61,.18),rgba(90,38,95,.1));
}
.register-footer > a,
.recovery-card .register-footer > a {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:7px 11px;
  border:1px solid rgba(255, 160, 205, .25);
  border-radius:10px;
  color:#ffd0e7;
  background:rgba(255,79,163,.07);
  font-weight:800;
}


/* 2026-09 visibility/alignment refinement for auth secondary actions */
.register-card .terms {
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 163, 209, .38);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,79,163,.105), rgba(94,89,197,.075));
  box-shadow: inset 0 1px rgba(255,255,255,.055), 0 10px 24px rgba(5,8,28,.16);
  color: rgba(255,255,255,.82);
}
.register-card .terms > input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
}
.register-card .terms > span {
  min-width: 0;
  line-height: 1.75;
}
.register-card .terms .auth-legal-link {
  min-height: 32px;
  margin: 2px 3px;
  padding: 4px 10px;
  border-color: rgba(255, 203, 229, .62);
  color: #fff;
  background: linear-gradient(135deg, rgba(255,79,163,.24), rgba(112,105,214,.16));
  box-shadow: 0 0 0 1px rgba(255,79,163,.06), 0 7px 18px rgba(255,79,163,.13), inset 0 1px rgba(255,255,255,.12);
  font-size: .75rem;
  letter-spacing: .01em;
}
.register-card .terms .auth-legal-link:hover,
.register-card .terms .auth-legal-link:focus-visible {
  border-color: #ffd2e8;
  background: linear-gradient(135deg, rgba(255,79,163,.39), rgba(112,105,214,.24));
  box-shadow: 0 0 0 2px rgba(255,151,204,.13), 0 9px 24px rgba(255,79,163,.2);
  transform: translateY(-1px);
}

.auth-login-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 2px 0 4px;
  padding: 10px 0 2px;
}
.auth-login-options .auth-remember {
  min-width: 0;
  justify-self: start;
  color: rgba(255,255,255,.82);
}
.auth-remember small {
  color: rgba(255,255,255,.55);
  font-size: 10px;
}
.auth-login-options .auth-help-link {
  justify-self: end;
  justify-content: center;
  min-width: 156px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 197, 226, .68);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,79,163,.29), rgba(116,91,219,.19));
  box-shadow: 0 8px 24px rgba(255,79,163,.16), inset 0 1px rgba(255,255,255,.11);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .01em;
}
.auth-login-options .auth-help-link:hover,
.auth-login-options .auth-help-link:focus-visible {
  border-color: #ffd6ea;
  background: linear-gradient(135deg, rgba(255,79,163,.43), rgba(116,91,219,.28));
  box-shadow: 0 0 0 2px rgba(255,151,204,.12), 0 10px 28px rgba(255,79,163,.23);
  transform: translateY(-1px);
}

.register-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  color: rgba(255,255,255,.76);
}
.register-footer .auth-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 190, 221, .46);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,79,163,.11);
  text-decoration: none;
  box-shadow: inset 0 1px rgba(255,255,255,.07);
}
.register-footer .auth-switch:hover,
.register-footer .auth-switch:focus-visible {
  color: #fff;
  border-color: rgba(255,218,236,.78);
  background: rgba(255,79,163,.2);
}
.auth-account-help {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-top: 8px;
  text-align: center;
}
.auth-account-help > span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.auth-account-help .auth-verification-link,
.verification-required a,
.register-footer > a,
.recovery-card .register-footer > a {
  justify-content: center;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid rgba(166, 202, 255, .48);
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, rgba(80,155,255,.15), rgba(255,79,163,.12));
  box-shadow: 0 8px 20px rgba(63,104,211,.1), inset 0 1px rgba(255,255,255,.08);
  text-decoration: none;
}
.auth-account-help .auth-verification-link:hover,
.auth-account-help .auth-verification-link:focus-visible,
.verification-required a:hover,
.verification-required a:focus-visible,
.register-footer > a:hover,
.register-footer > a:focus-visible,
.recovery-card .register-footer > a:hover,
.recovery-card .register-footer > a:focus-visible {
  color: #fff;
  border-color: rgba(211,229,255,.82);
  background: linear-gradient(135deg, rgba(80,155,255,.25), rgba(255,79,163,.2));
  box-shadow: 0 0 0 2px rgba(154,194,255,.1), 0 10px 25px rgba(63,104,211,.15);
}
.verification-required a {
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
}
.recovery-card .register-footer {
  margin-top: 18px;
}

@media (max-width: 560px) {
  .register-card .terms {
    align-items: flex-start;
    padding: 12px;
  }
  .register-card .terms > input { margin-top: 6px; }
  .auth-login-options {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 11px;
  }
  .auth-login-options .auth-remember,
  .auth-login-options .auth-help-link {
    justify-self: stretch;
  }
  .auth-login-options .auth-help-link { width: 100%; }
  .auth-login-options .auth-remember { padding: 2px 2px 0; }
  .auth-account-help > span { flex-direction: column; }
}


/* 2026-09 auth flow refinement: matched login option panel + conditional verification */
.auth-login-options {
  padding: 12px 14px;
  border: 1px solid rgba(255, 163, 209, .38);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,79,163,.105), rgba(94,89,197,.075));
  box-shadow: inset 0 1px rgba(255,255,255,.055), 0 10px 24px rgba(5,8,28,.16);
}
.auth-login-options .auth-remember input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.auth-login-options .auth-remember span {
  line-height: 1.45;
}
#login-panel .verification-required {
  margin: 18px 0 4px;
}
#login-panel .verification-required a {
  gap: 7px;
}
.resend-authorized strong strong {
  display: inline;
  color: #fff;
}
@media (max-width: 560px) {
  .auth-login-options {
    padding: 12px;
  }
}


/* Self-reactivation after a verified credential check */
.account-reactivation-required {
    border-color: rgba(116,163,255,.32);
    background: linear-gradient(135deg, rgba(78,116,230,.12), rgba(255,79,163,.08));
}
.account-reactivation-required > i { color: #aec6ff; }
.account-reactivation-form { margin-top: 11px; }
.account-reactivation-form button {
    min-height: 43px;
    padding: 0 15px;
    border: 1px solid rgba(177,199,255,.35);
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, rgba(86,120,235,.72), rgba(144,91,214,.7));
    font: inherit;
    font-size: .73rem;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(89,108,225,.16);
}
.account-reactivation-form button:hover { border-color: rgba(255,255,255,.58); }

/* Emailed login-key verification — Vice City / Miami treatment */
.login-key-card .register-header p strong {
  color: #fff;
  font-weight: 800;
}
.login-key-icon {
  color: #fff;
  border-color: rgba(255, 187, 221, .34);
  background:
    linear-gradient(145deg, rgba(255,179,71,.15), rgba(255,79,163,.20) 42%, rgba(123,44,255,.15) 72%, rgba(0,217,255,.11));
  box-shadow:
    inset 0 1px rgba(255,255,255,.12),
    0 12px 32px rgba(255,79,163,.13),
    0 0 28px rgba(0,217,255,.07);
}
.login-key-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 18px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 173, 215, .28);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,179,71,.055), rgba(255,79,163,.09) 42%, rgba(123,44,255,.065) 70%, rgba(0,217,255,.055));
  box-shadow: inset 0 1px rgba(255,255,255,.055), 0 10px 28px rgba(5,8,28,.14);
}
.login-key-notice > i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: #89f3ff;
  font-size: 1.15rem;
  text-shadow: 0 0 18px rgba(0,217,255,.35);
}
.login-key-notice strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
}
.login-key-notice p {
  margin: 0;
  color: rgba(255,255,255,.67);
  font-size: .78rem;
  line-height: 1.58;
}
.login-key-code-group {
  gap: 10px;
}
.login-key-code-group > label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .72rem;
  font-weight: 850;
  color: rgba(255,255,255,.86);
}
.login-key-boxes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.login-key-boxes::before,
.login-key-boxes::after {
  display: none;
  content: none;
}
.login-key-code-group .login-key-digit {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  height: 54px;
  padding: 0 !important;
  box-sizing: border-box;
  text-align: center;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  outline: none;
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  font-family: inherit;
  font-size: 16px !important;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  caret-color: #fff;
  text-shadow: none;
  box-shadow: none;
  transform: none;
  filter: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}
.login-key-code-group .login-key-digit:hover,
.login-key-code-group .login-key-digit.is-filled {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: none;
  transform: none;
  filter: none;
}
.login-key-code-group .login-key-digit:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 79, 163, 0.75);
  box-shadow:
    0 0 0 3px rgba(255, 79, 163, 0.1),
    0 0 25px rgba(255, 79, 163, 0.12);
  transform: none;
  filter: none;
}
.login-key-code-group.is-complete .login-key-boxes {
  box-shadow: none;
}
.login-key-input-help {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.56);
  font-size: .7rem;
  line-height: 1.45;
  text-align: center;
}
.login-key-invalid .login-key-digit,
.login-key-invalid .login-key-digit.is-filled {
  border-color: rgba(255, 112, 139, 0.72);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: none;
  animation: none;
}
.login-key-resend-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 163, 209, .30);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,179,71,.045), rgba(255,79,163,.085) 46%, rgba(94,89,197,.065));
}
.login-key-resend-panel strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: .78rem;
}
.login-key-resend-panel span {
  display: block;
  color: rgba(255,255,255,.57);
  font-size: .72rem;
  line-height: 1.5;
}
.login-key-resend-panel form {
  margin: 0;
}
.login-key-resend-panel button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255,190,222,.52);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,79,163,.22), rgba(123,44,255,.15), rgba(0,217,255,.10));
  color: #fff;
  font: inherit;
  font-size: .72rem;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 8px 22px rgba(255,79,163,.10);
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.login-key-resend-panel button:hover,
.login-key-resend-panel button:focus-visible {
  border-color: rgba(255,224,239,.84);
  background: linear-gradient(135deg, rgba(255,79,163,.34), rgba(123,44,255,.22), rgba(0,217,255,.14));
  box-shadow: 0 0 0 2px rgba(255,151,204,.10), 0 10px 28px rgba(255,79,163,.16);
  transform: translateY(-1px);
}
.login-key-resend-panel button:active {
  transform: translateY(1px);
}
@media (max-width: 560px) {
  .login-key-boxes {
    gap: 6px;
  }
  .login-key-code-group .login-key-digit {
    min-height: 50px;
    height: 50px;
    border-radius: 14px;
    font-size: 16px !important;
  }
  .login-key-resend-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .login-key-resend-panel button {
    width: 100%;
  }
}
@media (max-width: 390px) {
  .login-key-boxes {
    gap: 5px;
  }
  .login-key-code-group .login-key-digit {
    min-height: 48px;
    height: 48px;
    border-radius: 13px;
  }
}


/* 2026-10 auth cleanup: compact legal row + responsive reCAPTCHA */
.register-card .terms > .terms-copy {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  line-height: 1.6;
}

.register-card .terms .terms-links {
  min-width: 0;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.register-card .terms .terms-links .auth-legal-link {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}

.recaptcha-shell {
  width: 100%;
  min-width: 0;
  padding: 10px 10px 8px;
  display: grid;
  justify-items: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}

.recaptcha-widget {
  width: 304px;
  height: 78px;
  transform-origin: top center;
}

.recaptcha-shell > small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.46);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .02em;
}

.recaptcha-config-error {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 118, 145, .34);
  border-radius: 13px;
  color: #ffd6df;
  background: rgba(145, 37, 62, .12);
  font-size: .76rem;
  line-height: 1.5;
}

@media (max-width: 420px) {
  .register-card .terms {
    gap: 10px;
  }

  .register-card .terms .terms-links {
    gap: 4px;
  }

  .register-card .terms .terms-links .auth-legal-link {
    min-height: 29px;
    padding-inline: 7px;
    font-size: clamp(.66rem, 3.1vw, .72rem);
  }
}

/* 2026-10-05 auth consent refinement: match the compact login options panel */
.register-card .terms {
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 10px 12px;
}

.register-card .terms > input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
}

.register-card .terms > .terms-copy {
  min-width: 0;
  display: inline-flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  line-height: 1.25;
  font-size: .72rem;
  white-space: nowrap;
}

.register-card .terms > .terms-copy > span:first-child {
  flex: 0 0 auto;
}

.register-card .terms .terms-links {
  min-width: 0;
  display: inline-flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  line-height: 1;
  white-space: nowrap;
}

.register-card .terms .terms-links .auth-legal-link {
  min-height: 28px;
  margin: 0;
  padding: 3px 7px;
  border-radius: 8px;
  font-size: .69rem;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 390px) {
  .register-card .terms {
    align-items: flex-start;
    gap: 9px;
    padding: 10px 11px;
  }

  .register-card .terms > input {
    margin-top: 1px;
  }

  .register-card .terms > .terms-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    white-space: normal;
  }

  .register-card .terms .terms-links {
    gap: 3px;
    white-space: nowrap;
  }

  .register-card .terms .terms-links .auth-legal-link {
    min-height: 27px;
    padding-inline: 6px;
    font-size: clamp(.64rem, 3vw, .68rem);
  }
}


/* 2026-10-06 auth consent containment refinement (v18)
   Keep every legal control inside the consent panel and preserve clean alignment. */
.register-card .terms {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  row-gap: 0;
}

.register-card .terms > input {
  grid-column: 1;
  align-self: center;
  justify-self: start;
  margin: 0;
}

.register-card .terms > .terms-copy {
  grid-column: 2;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
  white-space: normal;
  line-height: 1.3;
}

.register-card .terms .terms-intro {
  flex: 0 0 auto;
  min-width: 0;
}

.register-card .terms .terms-links {
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.register-card .terms .terms-link-row {
  display: contents;
}

.register-card .terms .auth-legal-link {
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
}

/* On compact auth cards, use two aligned legal rows instead of allowing
   either button to escape the consent panel. */
@media (max-width: 460px) {
  .register-card .terms {
    align-items: start;
    padding: 10px 11px;
  }

  .register-card .terms > input {
    align-self: start;
    margin-top: 2px;
  }

  .register-card .terms > .terms-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 6px;
  }

  .register-card .terms .terms-intro {
    line-height: 1.35;
  }

  .register-card .terms .terms-links {
    width: min(100%, 178px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 5px;
    white-space: normal;
  }

  .register-card .terms .terms-link-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }

  .register-card .terms .terms-link-row .auth-legal-link {
    width: 100%;
    min-width: 0;
    min-height: 29px;
    margin: 0;
    padding: 4px 8px;
    text-align: center;
  }

  .register-card .terms .terms-connector,
  .register-card .terms .terms-period {
    width: 24px;
    min-width: 24px;
    text-align: left;
    line-height: 1;
  }
}

@media (max-width: 340px) {
  .register-card .terms {
    grid-template-columns: 17px minmax(0, 1fr);
    column-gap: 8px;
    padding-inline: 9px;
  }

  .register-card .terms > input {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .register-card .terms .terms-links {
    width: min(100%, 164px);
  }

  .register-card .terms .terms-link-row .auth-legal-link {
    font-size: .64rem;
    padding-inline: 6px;
  }
}


/* v20 auth consent: mirror the login options panel exactly.
   Row 1 = checkbox + copy. Row 2 = two equal legal actions spanning the full panel. */
.register-card .terms.auth-consent {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 4px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 163, 209, .38);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,79,163,.105), rgba(94,89,197,.075));
  box-shadow: inset 0 1px rgba(255,255,255,.055), 0 10px 24px rgba(5,8,28,.16);
  color: rgba(255,255,255,.82);
}

.register-card .auth-consent .auth-consent-check {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0 2px;
  color: rgba(255,255,255,.82);
  font-size: .73rem;
  line-height: 1.35;
  cursor: pointer;
}

.register-card .auth-consent .auth-consent-check > input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  align-self: center;
  accent-color: #ff4fa3;
}

.register-card .auth-consent .auth-consent-check > span {
  min-width: 0;
  display: block;
  line-height: 1.35;
}

.register-card .auth-consent .auth-consent-links {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  align-items: stretch;
  white-space: normal;
}

.register-card .auth-consent .auth-consent-links .auth-legal-link {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px 8px;
  border: 1px solid rgba(255, 197, 226, .68);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,79,163,.29), rgba(116,91,219,.19));
  box-shadow: 0 8px 24px rgba(255,79,163,.16), inset 0 1px rgba(255,255,255,.11);
  font-size: .71rem;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.register-card .auth-consent .auth-consent-links .auth-legal-link:hover,
.register-card .auth-consent .auth-consent-links .auth-legal-link:focus-visible {
  color: #fff;
  border-color: #ffd6ea;
  background: linear-gradient(135deg, rgba(255,79,163,.39), rgba(116,91,219,.25));
  box-shadow: 0 0 0 2px rgba(255,151,204,.12), 0 9px 24px rgba(255,79,163,.19);
  transform: translateY(-1px);
}

@media (max-width: 380px) {
  .register-card .terms.auth-consent {
    gap: 8px;
    padding: 11px 12px;
  }

  .register-card .auth-consent .auth-consent-links {
    gap: 6px;
  }

  .register-card .auth-consent .auth-consent-links .auth-legal-link {
    min-height: 42px;
    padding-inline: 5px;
    font-size: clamp(.62rem, 3vw, .68rem);
  }
}

@media (max-width: 320px) {
  .register-card .terms.auth-consent {
    padding-inline: 10px;
  }

  .register-card .auth-consent .auth-consent-check {
    gap: 8px;
    padding-inline: 0;
    font-size: .69rem;
  }

  .register-card .auth-consent .auth-consent-check > input {
    flex-basis: 17px;
    width: 17px;
    height: 17px;
  }

  .register-card .auth-consent .auth-consent-links {
    gap: 5px;
  }

  .register-card .auth-consent .auth-consent-links .auth-legal-link {
    padding-inline: 3px;
    font-size: .60rem;
    letter-spacing: -.01em;
  }
}
