body.basketoyna-auth-page {
  background:
    radial-gradient(circle at top left, rgba(255, 170, 72, 0.16), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255, 122, 0, 0.12), transparent 24%),
    linear-gradient(180deg, #07101d 0%, #050b16 100%);
}

@media (max-height: 520px) and (orientation: landscape) {
  body.basketoyna-auth-page--register .basketoyna-auth-shell {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    width: 100%;
    min-height: 100svh !important;
    height: 100svh !important;
    overflow: hidden !important;
  }

  body.basketoyna-auth-page--register .hero-area {
    display: block !important;
    flex: 0 0 58% !important;
    min-height: 0 !important;
    height: 100% !important;
  }

  body.basketoyna-auth-page--register .hero-area img {
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.84) contrast(1.04) saturate(0.94);
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__panel {
    left: 20px;
    right: 20px;
    bottom: 14px;
    width: auto;
    max-width: 360px;
    gap: 6px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__title {
    font-size: clamp(20px, 3vw, 28px);
    line-height: 0.96;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__copy {
    font-size: 11px;
    line-height: 1.3;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__stats {
    gap: 6px;
    margin-top: 4px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card {
    min-height: 88px;
    padding: 10px;
    border-radius: 16px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card__index {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 14px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card__content strong {
    font-size: 12px;
    line-height: 1.06;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card__content span {
    font-size: 10px;
    line-height: 1.22;
  }

  body.basketoyna-auth-page--register .form-area {
    flex: 0 0 42% !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 8px 10px 8px 8px !important;
    overflow: hidden !important;
  }

  body.basketoyna-auth-page--register .form-card,
  body.basketoyna-auth-page--register .auth-portal {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  body.basketoyna-auth-page--register .auth-portal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px 12px 10px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  body.basketoyna-auth-page--register .auth-portal__header {
    gap: 4px;
    margin-bottom: 4px;
  }

  body.basketoyna-auth-page--register .auth-portal__title {
    font-size: 18px;
    line-height: 1.0;
  }

  body.basketoyna-auth-page--register .auth-portal__copy {
    font-size: 10px;
    line-height: 1.25;
  }

  body.basketoyna-auth-page--register .auth-mobile-journey {
    display: none !important;
  }

  body.basketoyna-auth-page--register .auth-progress {
    gap: 4px;
    margin-bottom: 4px;
  }

  body.basketoyna-auth-page--register .auth-progress__meta {
    font-size: 10px;
  }

  body.basketoyna-auth-page--register .auth-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
  }

  body.basketoyna-auth-page--register .auth-step {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 0;
  }

  body.basketoyna-auth-page--register .auth-step__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
    padding-block: 0;
  }

  body.basketoyna-auth-page--register .auth-step__body > .auth-field:first-child,
  body.basketoyna-auth-page--register .auth-step__body > .auth-password-rules,
  body.basketoyna-auth-page--register .auth-step__body > .auth-check {
    grid-column: 1 / -1;
  }

  body.basketoyna-auth-page--register .auth-step__footer {
    gap: 4px;
    margin-top: 0;
    padding-top: 0;
  }

  body.basketoyna-auth-page--register .auth-field {
    gap: 3px;
  }

  body.basketoyna-auth-page--register .auth-field label {
    font-size: 11px;
  }

  body.basketoyna-auth-page--register .auth-input {
    min-height: 40px;
    border-radius: 11px;
    font-size: 12px;
  }

  body.basketoyna-auth-page--register .auth-password-rules li {
    padding: 6px 8px;
    font-size: 10px;
    line-height: 1.16;
  }

  body.basketoyna-auth-page--register .auth-check {
    padding: 7px 9px;
    border-radius: 11px;
  }

  body.basketoyna-auth-page--register .auth-check label {
    font-size: 10px;
    line-height: 1.2;
  }

  body.basketoyna-auth-page--register .auth-actions .primary-button {
    min-height: 42px;
    max-height: 46px;
    font-size: 13px;
    border-radius: 11px;
  }

  body.basketoyna-auth-page--register .auth-action-copy {
    font-size: 10px;
    line-height: 1.1;
  }

  body.basketoyna-auth-page--register .auth-footer__prompt,
  body.basketoyna-auth-page--register .auth-footer__cta {
    font-size: 10px;
  }
}

.basketoyna-auth-shell {
  position: relative;
  isolation: isolate;
}

.basketoyna-auth-shell::before,
.basketoyna-auth-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.7;
}

.basketoyna-auth-shell::before {
  top: 10%;
  right: -6vw;
  width: 18vw;
  height: 18vw;
  background: rgba(255, 153, 28, 0.18);
}

.basketoyna-auth-shell::after {
  left: -4vw;
  bottom: 8%;
  width: 22vw;
  height: 22vw;
  background: rgba(14, 165, 233, 0.08);
}

.basketoyna-auth-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 8, 15, 0.14), rgba(3, 8, 15, 0.7)),
    linear-gradient(120deg, rgba(4, 10, 18, 0.2), rgba(4, 10, 18, 0.08));
}

.basketoyna-auth-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 8, 15, 0.25) 45%, rgba(4, 8, 15, 0.78) 100%);
  pointer-events: none;
}

body.basketoyna-auth-page--register .basketoyna-auth-hero > img {
  filter: brightness(0.72) contrast(1.04) saturate(0.92);
  box-shadow:
    inset 0 0 0 9999px rgba(0, 0, 0, 0.12),
    inset 0 -220px 220px rgba(0, 0, 0, 0.68);
}

.basketoyna-auth-hero__badge {
  position: absolute;
  top: 30px;
  right: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(10, 17, 28, 0.64);
  color: #fff7ed;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.basketoyna-auth-hero__badge i {
  color: #ffb24b;
}

.basketoyna-auth-hero__panel {
  position: absolute;
  left: 48px;
  bottom: 42px;
  display: grid;
  gap: 16px;
  max-width: 420px;
}

.basketoyna-auth-hero__eyebrow {
  color: rgba(255, 196, 114, 0.94);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.basketoyna-auth-hero__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-shadow: 0 14px 34px rgba(2, 8, 18, 0.42);
}

.basketoyna-auth-hero__title span {
  color: #ffb24b;
}

.basketoyna-auth-hero__copy {
  margin: 0;
  color: rgba(237, 242, 247, 0.8);
  font-size: 14px;
  line-height: 1.65;
  max-width: 36rem;
}

.basketoyna-auth-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.basketoyna-auth-stat {
  padding: 14px 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(6, 12, 22, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.basketoyna-auth-stat strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.basketoyna-auth-stat span {
  display: block;
  margin-top: 5px;
  color: rgba(232, 238, 245, 0.74);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.basketoyna-auth-page--register .basketoyna-auth-hero__stats {
  width: min(100%, 760px);
  gap: 12px;
}

body.basketoyna-auth-page--register .basketoyna-auth-hero__panel {
  max-width: 760px;
  width: min(100%, 760px);
}

body.basketoyna-auth-page--register .basketoyna-auth-hero__copy {
  max-width: 52rem;
}

body.basketoyna-auth-page--register .basketoyna-auth-step-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 120px;
  padding: 14px 14px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 179, 71, 0.05), transparent 34%),
    linear-gradient(180deg, rgba(7, 14, 25, 0.66), rgba(5, 10, 19, 0.92));
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

body.basketoyna-auth-page--register .basketoyna-auth-step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 179, 71, 0.08), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 56%);
  pointer-events: none;
}

body.basketoyna-auth-page--register .basketoyna-auth-step-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd28a 0%, #ff9f1e 54%, #ff7a00 100%);
  color: #08111f;
  font-size: 16px;
  font-weight: 900;
  box-shadow:
    0 12px 26px rgba(255, 152, 15, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.basketoyna-auth-page--register .basketoyna-auth-step-card__content {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-top: 0;
}

body.basketoyna-auth-page--register .basketoyna-auth-step-card__content strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

body.basketoyna-auth-page--register .basketoyna-auth-step-card__content span {
  color: rgba(226, 232, 240, 0.75);
  font-size: 12px;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
}

.auth-portal {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: clamp(28px, 3.2vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(12, 18, 29, 0.98), rgba(7, 12, 22, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-portal__accent {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 162, 54, 0.18) 0%, rgba(255, 162, 54, 0.02) 70%, transparent 100%);
  pointer-events: none;
  filter: blur(18px);
}

.auth-portal__header {
  position: relative;
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.auth-portal__header--title-only {
  gap: 0;
  margin-bottom: 14px;
}

.auth-mobile-journey {
  display: none;
}

.auth-kicker {
  color: rgba(255, 188, 98, 0.95);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.auth-portal__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.auth-portal__title span {
  color: #ffb347;
}

.auth-portal__copy {
  margin: 0;
  color: rgba(226, 232, 240, 0.74);
  font-size: 14px;
  line-height: 1.6;
}

.auth-progress {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.auth-progress__meta {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-progress__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auth-progress__track span {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.auth-progress__track span.is-active {
  background: linear-gradient(90deg, #ffb347 0%, #ff7a00 100%);
  box-shadow: 0 0 0 1px rgba(255, 179, 71, 0.18), 0 0 24px rgba(255, 152, 15, 0.22);
}

.auth-feedback {
  display: none;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  padding: 15px 16px 15px 52px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(8, 12, 22, 0.72);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 13px;
  line-height: 1.58;
  letter-spacing: 0.01em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.auth-feedback::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 14px;
  width: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.auth-feedback::after {
  content: "!";
  position: absolute;
  top: 50%;
  left: 26px;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.auth-feedback.is-visible {
  display: block;
}

.auth-feedback.is-success {
  border-color: rgba(34, 197, 94, 0.24);
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.16), rgba(16, 185, 129, 0.08)),
    rgba(8, 12, 22, 0.72);
  color: #d8ffe9;
}

.auth-feedback.is-warning {
  border-color: rgba(245, 158, 11, 0.28);
  background:
    linear-gradient(180deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.08)),
    rgba(8, 12, 22, 0.72);
  color: #ffefb4;
}

.auth-feedback.is-error {
  border-color: rgba(248, 113, 113, 0.3);
  background:
    linear-gradient(180deg, rgba(248, 113, 113, 0.18), rgba(239, 68, 68, 0.08)),
    rgba(8, 12, 22, 0.72);
  color: #ffd1d1;
}

.auth-feedback.is-success::before {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.95), rgba(22, 163, 74, 0.78));
}

.auth-feedback.is-warning::before {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.82));
}

.auth-feedback.is-error::before {
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.95), rgba(220, 38, 38, 0.82));
}

.auth-feedback.is-success::after {
  content: "✓";
  color: #ffffff;
}

.auth-feedback.is-warning::after {
  content: "!";
  color: #ffffff;
}

.auth-feedback.is-error::after {
  content: "×";
  color: #ffffff;
}

.auth-feedback--footer {
  margin: 2px 0 0;
  padding: 0 0 0 14px;
  border: 0;
  border-left: 2px solid rgba(248, 113, 113, 0.72);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  line-height: 1.5;
}

.auth-feedback--footer::before,
.auth-feedback--footer::after {
  display: none;
}

.auth-feedback--footer.is-error {
  background: transparent;
  border-color: rgba(248, 113, 113, 0.72);
  color: #fca5a5;
}

.auth-feedback--footer.is-success,
.auth-feedback--footer.is-warning {
  background: transparent;
  color: rgba(226, 232, 240, 0.84);
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-step {
  display: grid;
  gap: 16px;
}

.auth-step__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

.auth-step__footer {
  display: grid;
  gap: 10px;
  margin-top: auto;
  min-height: 0;
}

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

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.auth-control {
  position: relative;
}

.auth-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-input::placeholder {
  color: rgba(226, 232, 240, 0.36);
}

.auth-input:focus {
  outline: none;
  border-color: rgba(255, 179, 71, 0.76);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.12);
}

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

.auth-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: rgba(255, 187, 97, 0.92);
  font-size: 16px;
  cursor: pointer;
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.auth-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #ffb347;
}

.auth-check label {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.auth-check a {
  color: #ffb347;
  text-decoration: none;
}

.auth-check a:hover {
  color: #ffffff;
}

.auth-field-error {
  color: #fecaca;
  font-size: 12px;
  line-height: 1.45;
}

.auth-password-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-password-rules li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(226, 232, 240, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.auth-password-rules li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(255, 187, 97, 0.38);
  box-shadow: 0 0 0 3px rgba(255, 187, 97, 0.08);
}

.auth-password-rules li.is-valid {
  color: #dcfce7;
  border-color: rgba(16, 185, 129, 0.18);
  background: rgba(16, 185, 129, 0.08);
}

.auth-password-rules li.is-valid::before {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.auth-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.auth-chip--accent {
  border-color: rgba(255, 179, 71, 0.26);
  background: rgba(255, 179, 71, 0.1);
  color: #ffe1b4;
}

.auth-chip--timer {
  color: #ffffff;
}

.auth-code-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.02);
}

.auth-code-panel__title {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.auth-code-panel__copy {
  margin: 0;
  color: rgba(226, 232, 240, 0.74);
  font-size: 13px;
  line-height: 1.55;
}

.auth-code-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.auth-code-digit {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1.05;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  text-align: center;
  font-family: "Rajdhani", "Manrope", sans-serif;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: 0.04em;
  caret-color: #ffb347;
}

.auth-code-digit:focus {
  outline: none;
  border-color: rgba(255, 179, 71, 0.82);
  box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.auth-code-digit::-webkit-outer-spin-button,
.auth-code-digit::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.auth-code-digit[type="number"] {
  -moz-appearance: textfield;
}

.auth-inline-note {
  margin: 0;
  color: rgba(226, 232, 240, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.auth-inline-note strong {
  color: #ffffff;
}

.auth-resend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.auth-link-btn,
.auth-secondary-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.auth-link-btn:hover,
.auth-secondary-btn:hover {
  border-color: rgba(255, 179, 71, 0.28);
  background: rgba(255, 179, 71, 0.08);
  transform: translateY(-1px);
}

.auth-link-btn[disabled],
.auth-secondary-btn[disabled] {
  opacity: 0.48;
  pointer-events: none;
  transform: none;
}

.auth-actions {
  display: grid;
  gap: 12px;
}

.auth-actions .primary-button {
  width: 100%;
}

.auth-footer {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.auth-action-copy {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  width: auto;
  max-width: 100%;
  margin: 0;
  white-space: nowrap;
  justify-self: start;
}

.auth-action-copy .auth-footer__prompt,
.auth-action-copy .auth-footer__cta {
  display: inline;
  white-space: nowrap;
}

.auth-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.auth-footer__login-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.auth-footer__prompt {
  color: rgba(226, 232, 240, 0.72);
  font-size: 14px;
  font-weight: 600;
}

.auth-footer__cta {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: color 0.18s ease;
}

.auth-footer__login-link:hover {
  color: rgba(226, 232, 240, 0.72);
}

.auth-footer__login-link:hover .auth-footer__cta {
  color: #ffb347;
}

.basketoyna-auth-page--login .auth-footer__links {
  justify-content: flex-start;
  gap: 10px 14px;
}

.basketoyna-auth-page--login .auth-footer__links a {
  color: rgba(226, 232, 240, 0.72);
  text-decoration: none;
  transition: color 0.18s ease;
}

.basketoyna-auth-page--login .auth-footer__links a:first-child {
  color: #ffffff;
  font-weight: 800;
}

.basketoyna-auth-page--login .auth-footer__links a:hover {
  color: #ffffff;
}

.basketoyna-auth-page--login .auth-footer__links a:first-child:hover {
  color: #ffb347;
}

.basketoyna-auth-page--login .basketoyna-auth-hero__stats {
  display: none;
}

.auth-dev-code {
  display: none;
  padding: 12px 14px;
  border: 1px dashed rgba(255, 179, 71, 0.34);
  border-radius: 14px;
  background: rgba(255, 179, 71, 0.08);
  color: #ffe1b4;
  font-size: 12px;
  line-height: 1.5;
}

.auth-dev-code.is-visible {
  display: block;
}

@media (max-width: 1180px) {
  .basketoyna-auth-hero__panel {
    left: 34px;
    bottom: 30px;
  }

  .auth-portal {
    padding: 30px 28px;
  }
}

@media (max-width: 900px) {
  .basketoyna-auth-hero__stats {
    grid-template-columns: 1fr;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .auth-password-rules {
    grid-template-columns: 1fr;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card {
    min-height: 118px;
    padding-right: 16px;
  }
}

@media (min-width: 761px) and (max-width: 1180px) and (orientation: portrait) {
  .basketoyna-auth-shell {
    display: grid;
    grid-template-rows: 25svh 75svh;
    align-items: stretch;
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card {
    min-height: 126px;
    padding: 15px 15px 15px 14px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card__index {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    font-size: 17px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card__content strong {
    font-size: 16px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card__content span {
    font-size: 13px;
    line-height: 1.45;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__panel {
    left: 24px;
    right: 24px;
    bottom: 18px;
    width: auto;
    max-width: none;
  }

  .home-pill {
    top: 18px;
    left: 18px;
    min-height: 38px;
    padding: 0 16px;
    font-size: 12px;
  }

  .basketoyna-auth-hero__badge {
    top: 18px;
    right: 18px;
    min-height: 38px;
    padding: 0 14px;
    font-size: 11px;
  }

  .basketoyna-auth-hero__title {
    font-size: clamp(24px, 3vw, 34px);
  }

  .basketoyna-auth-hero__copy {
    max-width: 34rem;
    font-size: 13px;
    line-height: 1.45;
  }

  .auth-portal {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 18px 22px 20px;
    border-radius: 0;
    box-shadow: none;
  }

  .auth-portal__header {
    gap: 8px;
    margin-bottom: 10px;
  }

  .auth-portal__title {
    font-size: 26px;
    line-height: 1.02;
  }

  .auth-portal__copy {
    font-size: 13px;
    line-height: 1.45;
  }

  .auth-progress {
    gap: 6px;
    margin-bottom: 10px;
  }

  .auth-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .auth-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .auth-field {
    gap: 6px;
  }

  .auth-input {
    min-height: 50px;
    border-radius: 14px;
    font-size: 15px;
  }

  .auth-password-rules {
    gap: 6px;
  }

  .auth-password-rules li {
    padding: 10px 11px;
    font-size: 12px;
    line-height: 1.25;
  }

  .auth-check {
    padding: 10px 12px;
  }

  .auth-check label {
    font-size: 12px;
    line-height: 1.28;
  }

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

  .auth-actions .primary-button {
    min-height: 54px;
    font-size: 15px;
    border-radius: 14px;
  }

  .auth-footer {
    margin-top: 8px;
    gap: 6px;
  }

  .auth-footer__login-link,
  .auth-footer__prompt,
  .auth-footer__cta {
    font-size: 12px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  body.basketoyna-auth-page--register .basketoyna-auth-shell {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 100svh;
    height: 100svh;
    overflow: hidden;
  }

  body.basketoyna-auth-page--register .hero-area {
    flex: 0 0 58%;
    min-height: 0;
    height: 100%;
  }

  body.basketoyna-auth-page--register .hero-area img {
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.84) contrast(1.04) saturate(0.94);
  }

  body.basketoyna-auth-page--register .hero-overlay {
    background:
      linear-gradient(180deg, rgba(2, 6, 12, 0.14), rgba(2, 6, 12, 0.62)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 40%, rgba(0, 0, 0, 0.18));
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__panel {
    left: 20px;
    right: 20px;
    bottom: 14px;
    width: auto;
    max-width: 360px;
    gap: 6px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__title {
    font-size: clamp(20px, 3vw, 28px);
    line-height: 0.96;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__copy {
    font-size: 11px;
    line-height: 1.3;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__stats {
    gap: 6px;
    margin-top: 4px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card {
    min-height: 88px;
    padding: 10px;
    border-radius: 16px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card__index {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 14px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card__content strong {
    font-size: 12px;
    line-height: 1.06;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card__content span {
    font-size: 10px;
    line-height: 1.22;
  }

  body.basketoyna-auth-page--register .form-area {
    flex: 0 0 42%;
    min-height: 0;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 8px 10px 8px 8px;
    overflow: hidden;
  }

  body.basketoyna-auth-page--register .form-card,
  body.basketoyna-auth-page--register .auth-portal {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
  }

  body.basketoyna-auth-page--register .auth-portal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px 12px 10px;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
  }

  body.basketoyna-auth-page--register .auth-portal__header {
    gap: 4px;
    margin-bottom: 4px;
  }

  body.basketoyna-auth-page--register .auth-portal__title {
    font-size: 18px;
    line-height: 1.0;
  }

  body.basketoyna-auth-page--register .auth-portal__copy {
    font-size: 10px;
    line-height: 1.25;
  }

  body.basketoyna-auth-page--register .auth-mobile-journey {
    display: none;
  }

  body.basketoyna-auth-page--register .auth-progress {
    gap: 4px;
    margin-bottom: 4px;
  }

  body.basketoyna-auth-page--register .auth-progress__meta {
    font-size: 10px;
  }

  body.basketoyna-auth-page--register .auth-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
  }

  body.basketoyna-auth-page--register .auth-step {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 0;
  }

  body.basketoyna-auth-page--register .auth-step__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
    padding-block: 0;
  }

  body.basketoyna-auth-page--register .auth-step__body > .auth-field:first-child,
  body.basketoyna-auth-page--register .auth-step__body > .auth-password-rules,
  body.basketoyna-auth-page--register .auth-step__body > .auth-check {
    grid-column: 1 / -1;
  }

  body.basketoyna-auth-page--register .auth-step__footer {
    gap: 4px;
    margin-top: 0;
    padding-top: 0;
  }

  body.basketoyna-auth-page--register .auth-field {
    gap: 3px;
  }

  body.basketoyna-auth-page--register .auth-field label {
    font-size: 11px;
  }

  body.basketoyna-auth-page--register .auth-input {
    min-height: 40px;
    border-radius: 11px;
    font-size: 12px;
  }

  body.basketoyna-auth-page--register .auth-password-rules li {
    padding: 6px 8px;
    font-size: 10px;
    line-height: 1.16;
  }

  body.basketoyna-auth-page--register .auth-check {
    padding: 7px 9px;
    border-radius: 11px;
  }

  body.basketoyna-auth-page--register .auth-check label {
    font-size: 10px;
    line-height: 1.2;
  }

  body.basketoyna-auth-page--register .auth-actions .primary-button {
    min-height: 42px;
    max-height: 46px;
    font-size: 13px;
    border-radius: 11px;
  }

  body.basketoyna-auth-page--register .auth-action-copy {
    font-size: 10px;
    line-height: 1.1;
  }

  body.basketoyna-auth-page--register .auth-footer__prompt,
  body.basketoyna-auth-page--register .auth-footer__cta {
    font-size: 10px;
  }
}

@media (max-width: 760px) {
  body.basketoyna-auth-page--login .community-layout,
  body.basketoyna-auth-page--login .basketoyna-auth-shell {
    display: grid;
    flex-direction: column;
    width: 100%;
    min-height: 100svh;
    height: 100svh;
    grid-template-rows: 36svh 64svh;
    overflow: hidden;
  }

  body.basketoyna-auth-page--login .hero-area {
    display: block;
    min-height: 0;
    height: 100%;
    width: 100%;
  }

  body.basketoyna-auth-page--login .hero-area img,
  body.basketoyna-auth-page--login .basketoyna-auth-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  body.basketoyna-auth-page--login .hero-area::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, rgba(4, 8, 15, 0.14) 26%, rgba(4, 8, 15, 0.82) 100%);
    pointer-events: none;
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__badge {
    top: 14px;
    right: 14px;
    min-height: 34px;
    padding: 0 12px;
    font-size: 10px;
  }

  body.basketoyna-auth-page--login .form-area {
    width: 100%;
    min-height: 0;
    height: 100%;
    padding: 8px 10px 12px;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(11, 17, 32, 0) 0%, rgba(11, 17, 32, 0.92) 12%, #0b1120 100%);
  }

  body.basketoyna-auth-page--login .form-card,
  body.basketoyna-auth-page--login .auth-portal {
    width: min(100%, 460px);
    max-width: 460px;
    height: auto;
    min-height: 0;
    margin-inline: auto;
  }

  body.basketoyna-auth-page--login .auth-portal {
    padding: 14px 16px 18px;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -16px 34px rgba(0, 0, 0, 0.22);
  }

  body.basketoyna-auth-page--login .auth-portal__header {
    gap: 5px;
    margin-bottom: 6px;
  }

  body.basketoyna-auth-page--login .auth-portal__title {
    font-size: 24px;
    line-height: 0.98;
  }

  body.basketoyna-auth-page--login .auth-portal__copy {
    font-size: 11px;
    line-height: 1.32;
  }

  body.basketoyna-auth-page--login .auth-form {
    gap: 10px;
  }

  body.basketoyna-auth-page--login .auth-input {
    min-height: 46px;
    font-size: 13px;
  }

  body.basketoyna-auth-page--login .auth-check {
    padding: 9px 11px;
  }

  body.basketoyna-auth-page--login .auth-check label {
    font-size: 11px;
    line-height: 1.22;
  }

  body.basketoyna-auth-page--login .auth-actions {
    margin-top: 0;
  }

  body.basketoyna-auth-page--login .auth-actions .primary-button {
    min-height: 48px;
    font-size: 14px;
    border-radius: 12px;
  }

  body.basketoyna-auth-page--login .auth-footer {
    margin-top: 2px;
    gap: 4px;
  }

  body.basketoyna-auth-page--login .auth-footer__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  body.basketoyna-auth-page--login .auth-footer__links a {
    font-size: 11px;
  }

  body.basketoyna-auth-page--register .auth-mobile-journey {
    display: grid;
    gap: 8px;
    margin: 6px 0 12px;
  }

  body.basketoyna-auth-page--register .auth-mobile-journey__label {
    color: rgba(255, 188, 98, 0.95);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  body.basketoyna-auth-page--register .auth-mobile-journey__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  body.basketoyna-auth-page--register .auth-mobile-journey__step {
    display: grid;
    gap: 5px;
    min-height: 96px;
    padding: 11px 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background:
      linear-gradient(180deg, rgba(255, 179, 71, 0.08), transparent 38%),
      rgba(7, 14, 25, 0.76);
    box-shadow:
      0 12px 24px rgba(0, 0, 0, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  body.basketoyna-auth-page--register .auth-mobile-journey__step span {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffd28a 0%, #ff9f1e 54%, #ff7a00 100%);
    color: #08111f;
    font-size: 12px;
    font-weight: 900;
  }

  body.basketoyna-auth-page--register .auth-mobile-journey__step strong {
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  body.basketoyna-auth-page--register .auth-mobile-journey__step em {
    color: rgba(226, 232, 240, 0.76);
    font-size: 10px;
    font-style: normal;
    line-height: 1.25;
  }

  body.basketoyna-auth-page--register .auth-mobile-journey__step.is-active {
    border-color: rgba(255, 179, 71, 0.24);
  }

  .basketoyna-auth-hero__badge {
    top: 20px;
    right: 20px;
  }

  .basketoyna-auth-hero__panel {
    left: 22px;
    right: 22px;
    bottom: 20px;
    max-width: none;
  }

  .basketoyna-auth-hero__title {
    font-size: clamp(28px, 10vw, 34px);
  }

  .auth-portal {
    padding: 24px 18px 26px;
  }

  .auth-portal__title {
    font-size: 26px;
  }

  .auth-code-grid {
    gap: 6px;
  }

  .auth-portal {
    overflow: visible;
  }

  .auth-check {
    align-items: flex-start;
  }

  .auth-check label {
    white-space: normal;
    font-size: 12px;
    line-height: 1.35;
  }
}

@media (max-width: 760px) and (orientation: landscape) {
  body.basketoyna-auth-page--login .community-layout,
  body.basketoyna-auth-page--login .basketoyna-auth-shell {
    grid-template-rows: 28svh 72svh;
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__badge {
    top: 10px;
    right: 10px;
    min-height: 30px;
    padding: 0 10px;
    font-size: 9px;
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__panel {
    left: 16px;
    right: 16px;
    bottom: 12px;
    gap: 4px;
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__eyebrow {
    font-size: 9px;
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__title {
    font-size: clamp(18px, 4vw, 24px);
    line-height: 0.96;
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__copy {
    font-size: 10px;
    line-height: 1.22;
  }

  body.basketoyna-auth-page--login .form-area {
    padding: 6px 8px 8px;
  }

  body.basketoyna-auth-page--login .auth-portal {
    padding: 10px 12px 12px;
  }

  body.basketoyna-auth-page--login .auth-portal__header {
    gap: 4px;
    margin-bottom: 4px;
  }

  body.basketoyna-auth-page--login .auth-portal__title {
    font-size: 16px;
    line-height: 1.0;
  }

  body.basketoyna-auth-page--login .auth-portal__copy {
    font-size: 9px;
    line-height: 1.2;
  }

  body.basketoyna-auth-page--login .auth-form {
    gap: 6px;
  }

  body.basketoyna-auth-page--login .auth-field {
    gap: 2px;
  }

  body.basketoyna-auth-page--login .auth-field label {
    font-size: 10px;
  }

  body.basketoyna-auth-page--login .auth-input {
    min-height: 38px;
    font-size: 11px;
    border-radius: 10px;
  }

  body.basketoyna-auth-page--login .auth-check {
    padding: 6px 8px;
    border-radius: 10px;
  }

  body.basketoyna-auth-page--login .auth-check label {
    font-size: 9px;
    line-height: 1.16;
  }

  body.basketoyna-auth-page--login .auth-actions {
    margin-top: 0;
  }

  body.basketoyna-auth-page--login .auth-actions .primary-button {
    min-height: 40px;
    max-height: 44px;
    font-size: 12px;
    border-radius: 10px;
  }

  body.basketoyna-auth-page--login .auth-footer {
    margin-top: 0;
  }

  body.basketoyna-auth-page--login .auth-footer__links {
    gap: 6px;
  }

  body.basketoyna-auth-page--login .auth-footer__links a {
    font-size: 10px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  body.basketoyna-auth-page--login .basketoyna-auth-shell {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 100svh;
    height: 100svh;
    overflow: hidden;
  }

  body.basketoyna-auth-page--login .hero-area {
    flex: 0 0 58%;
    min-height: 0;
    height: 100%;
  }

  body.basketoyna-auth-page--login .hero-area img,
  body.basketoyna-auth-page--login .basketoyna-auth-hero img {
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.84) contrast(1.04) saturate(0.94);
  }

  body.basketoyna-auth-page--login .hero-overlay {
    background:
      linear-gradient(180deg, rgba(2, 6, 12, 0.14), rgba(2, 6, 12, 0.62)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 40%, rgba(0, 0, 0, 0.18));
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__panel {
    left: 20px;
    right: 20px;
    bottom: 14px;
    width: auto;
    max-width: 360px;
    gap: 6px;
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__title {
    font-size: clamp(20px, 3vw, 28px);
    line-height: 0.96;
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__copy {
    font-size: 11px;
    line-height: 1.3;
  }

  body.basketoyna-auth-page--login .form-area {
    flex: 0 0 42%;
    min-height: 0;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 8px 10px 8px 8px;
    overflow: hidden;
  }

  body.basketoyna-auth-page--login .form-card,
  body.basketoyna-auth-page--login .auth-portal {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    max-height: calc(100svh - 28px);
    margin-inline: auto;
  }

  body.basketoyna-auth-page--login .auth-portal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: center;
    padding: 10px 12px 10px;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    overflow-y: auto;
    overflow-x: hidden;
  }

  body.basketoyna-auth-page--login .auth-portal__header {
    gap: 4px;
    margin-bottom: 4px;
  }

  body.basketoyna-auth-page--login .auth-portal__title {
    font-size: 18px;
    line-height: 1.0;
  }

  body.basketoyna-auth-page--login .auth-portal__copy {
    font-size: 10px;
    line-height: 1.25;
  }

  body.basketoyna-auth-page--login .auth-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 0;
  }

  body.basketoyna-auth-page--login .auth-step {
    gap: 4px;
  }

  body.basketoyna-auth-page--login .auth-field {
    gap: 2px;
  }

  body.basketoyna-auth-page--login .auth-field label {
    font-size: 10px;
  }

  body.basketoyna-auth-page--login .auth-input {
    min-height: 36px;
    font-size: 11px;
    border-radius: 10px;
  }

  body.basketoyna-auth-page--login .auth-check {
    padding: 6px 8px;
    border-radius: 10px;
  }

  body.basketoyna-auth-page--login .auth-check label {
    font-size: 9px;
    line-height: 1.16;
  }

  body.basketoyna-auth-page--login .auth-actions {
    margin-top: 0;
  }

  body.basketoyna-auth-page--login .auth-actions .primary-button {
    min-height: 38px;
    max-height: 42px;
    font-size: 12px;
    border-radius: 10px;
  }

  body.basketoyna-auth-page--login .auth-footer {
    margin-top: 0;
  }

  body.basketoyna-auth-page--login .auth-footer__links {
    gap: 6px;
  }

  body.basketoyna-auth-page--login .auth-footer__links a {
    font-size: 10px;
  }
}

@media (min-width: 761px) {
  .basketoyna-auth-shell {
    align-items: stretch;
  }

  .form-area {
    min-height: 0;
    overflow: hidden;
  }

  .auth-portal {
    max-height: 100%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  body.basketoyna-auth-page--login .community-layout,
  body.basketoyna-auth-page--login .basketoyna-auth-shell {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 32svh 68svh;
    width: 100%;
    min-height: 100svh;
    height: 100svh;
    overflow: hidden;
  }

  body.basketoyna-auth-page--login .hero-area,
  body.basketoyna-auth-page--login .basketoyna-auth-hero {
    width: 100%;
    min-height: 0;
    height: 100%;
    display: block;
  }

  body.basketoyna-auth-page--login .hero-area {
    z-index: 1;
  }

  body.basketoyna-auth-page--login .hero-area img,
  body.basketoyna-auth-page--login .basketoyna-auth-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  body.basketoyna-auth-page--login .hero-area::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 36%;
    background: linear-gradient(180deg, transparent 0%, rgba(4, 8, 15, 0.12) 24%, rgba(4, 8, 15, 0.78) 100%);
    pointer-events: none;
  }

  body.basketoyna-auth-page--login .form-area {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 0;
    height: 100%;
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    margin-top: -10px;
    padding: 12px 0 0;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(11, 17, 32, 0) 0%, rgba(11, 17, 32, 0.9) 10%, #0b1120 100%);
  }

  body.basketoyna-auth-page--login .form-card,
  body.basketoyna-auth-page--login .auth-portal {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 0;
  }

  body.basketoyna-auth-page--login .auth-portal {
    padding: 12px 20px 14px;
    box-shadow: none;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background:
      linear-gradient(180deg, rgba(12, 18, 29, 0.98), rgba(7, 12, 22, 0.98));
  }

  body.basketoyna-auth-page--login .auth-portal__header {
    gap: 6px;
    margin-bottom: 6px;
  }

  body.basketoyna-auth-page--login .auth-portal__title {
    font-size: clamp(24px, 2.3vw, 30px);
    line-height: 1.02;
  }

  body.basketoyna-auth-page--login .auth-portal__copy {
    font-size: 13px;
    line-height: 1.4;
  }

  body.basketoyna-auth-page--login .auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    flex: 1;
  }

  body.basketoyna-auth-page--login .auth-field {
    gap: 5px;
  }

  body.basketoyna-auth-page--login .auth-field label {
    font-size: 13px;
  }

  body.basketoyna-auth-page--login .auth-input {
    min-height: 52px;
    border-radius: 14px;
    font-size: 15px;
  }

  body.basketoyna-auth-page--login .auth-check {
    padding: 10px 12px;
  }

  body.basketoyna-auth-page--login .auth-check label {
    font-size: 12px;
    line-height: 1.28;
  }

  body.basketoyna-auth-page--login .auth-actions {
    gap: 8px;
    margin-top: 6px;
  }

  body.basketoyna-auth-page--login .auth-actions .primary-button {
    min-height: 52px;
    max-height: 56px;
    font-size: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(255, 152, 15, 0.16);
  }

  body.basketoyna-auth-page--login .auth-footer {
    margin-top: 4px;
    gap: 4px;
  }

  body.basketoyna-auth-page--login .auth-footer__links {
    justify-content: flex-start;
    gap: 8px 14px;
  }

  body.basketoyna-auth-page--login .auth-footer__links a {
    font-size: 12px;
  }

  body.basketoyna-auth-page--register .community-layout,
  body.basketoyna-auth-page--register .basketoyna-auth-shell {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 30svh 70svh;
    width: 100%;
    min-height: 100svh;
    height: 100svh;
    overflow: hidden;
  }

  body.basketoyna-auth-page--register .hero-area,
  body.basketoyna-auth-page--register .basketoyna-auth-hero {
    width: 100%;
    min-height: 0;
    height: 100%;
    display: block;
  }

  body.basketoyna-auth-page--register .hero-area {
    z-index: 1;
  }

  body.basketoyna-auth-page--register .hero-area img,
  body.basketoyna-auth-page--register .basketoyna-auth-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  body.basketoyna-auth-page--register .hero-area::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 36%;
    background: linear-gradient(180deg, transparent 0%, rgba(4, 8, 15, 0.12) 24%, rgba(4, 8, 15, 0.78) 100%);
    pointer-events: none;
  }

  body.basketoyna-auth-page--register .form-area {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 0;
    height: 100%;
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    margin-top: -12px;
    padding: 12px 0 0;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(11, 17, 32, 0) 0%, rgba(11, 17, 32, 0.9) 10%, #0b1120 100%);
  }

  body.basketoyna-auth-page--register .form-card,
  body.basketoyna-auth-page--register .auth-portal {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 0;
  }

  body.basketoyna-auth-page--register .auth-portal {
    padding: 12px 20px 14px;
    box-shadow: none;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background:
      linear-gradient(180deg, rgba(12, 18, 29, 0.98), rgba(7, 12, 22, 0.98));
  }

  body.basketoyna-auth-page--register .auth-portal__header {
    gap: 6px;
    margin-bottom: 4px;
  }

  body.basketoyna-auth-page--register .auth-portal__title {
    font-size: clamp(24px, 2.3vw, 30px);
    line-height: 1.02;
  }

  body.basketoyna-auth-page--register .auth-portal__copy {
    font-size: 13px;
    line-height: 1.4;
  }

  body.basketoyna-auth-page--register .auth-mobile-journey {
    display: none;
  }

  body.basketoyna-auth-page--register .auth-progress {
    gap: 6px;
    margin-bottom: 4px;
  }

  body.basketoyna-auth-page--register .auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    flex: 1;
  }

  body.basketoyna-auth-page--register .auth-step {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    flex: 0 0 auto;
  }

  body.basketoyna-auth-page--register .auth-step__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    align-content: start;
    justify-content: stretch;
    padding-block: 0;
  }

  body.basketoyna-auth-page--register .auth-step__body > .auth-field:first-child {
    grid-column: 1 / -1;
  }

  body.basketoyna-auth-page--register .auth-step__body > .auth-password-rules,
  body.basketoyna-auth-page--register .auth-step__body > .auth-check {
    grid-column: 1 / -1;
  }

  body.basketoyna-auth-page--register .auth-step__footer {
    display: grid;
    gap: 8px;
    margin-top: 4px;
    padding-top: 0;
    align-content: start;
  }

  body.basketoyna-auth-page--register .auth-step__footer > .primary-button {
    width: 100%;
    min-height: 52px;
    max-height: 56px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(255, 152, 15, 0.16);
  }

  body.basketoyna-auth-page--register .auth-field {
    gap: 5px;
  }

  body.basketoyna-auth-page--register .auth-field label {
    font-size: 13px;
  }

  body.basketoyna-auth-page--register .auth-input {
    min-height: 52px;
    border-radius: 14px;
    font-size: 15px;
  }

  body.basketoyna-auth-page--register .auth-password-rules li {
    padding: 10px 11px;
    font-size: 12px;
    line-height: 1.2;
  }

  body.basketoyna-auth-page--register .auth-check {
    padding: 10px 12px;
  }

  body.basketoyna-auth-page--register .auth-check label {
    font-size: 12px;
    line-height: 1.28;
  }

  body.basketoyna-auth-page--register .auth-action-copy {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: 11px;
    line-height: 1.35;
    white-space: nowrap;
  }

  body.basketoyna-auth-page--register .auth-action-copy .auth-footer__prompt {
    color: rgba(226, 232, 240, 0.72);
    font-size: 11px;
    white-space: nowrap;
  }

  body.basketoyna-auth-page--register .auth-action-copy .auth-footer__cta {
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
  }

  body.basketoyna-auth-page--register .auth-action-copy .auth-footer__cta:hover {
    color: #ffb347;
  }

  body.basketoyna-auth-page--register .auth-footer__login-link,
  body.basketoyna-auth-page--register .auth-footer__prompt,
  body.basketoyna-auth-page--register .auth-footer__cta {
    font-size: 12px;
  }

  body.basketoyna-auth-page--register .auth-footer__links {
    justify-content: flex-start;
  }

  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 0 0 auto;
  }

  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-step__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    min-height: 0;
    flex: 0 0 auto;
  }

  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-chip-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-chip {
    min-height: 40px;
    padding: 0 11px;
    justify-content: center;
    font-size: 11px;
  }

  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-code-panel {
    width: 100%;
    padding: 12px 14px 10px;
    gap: 6px;
    border-radius: 13px;
  }

  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-code-panel__title {
    font-size: clamp(17px, 1.9vw, 22px);
    line-height: 1.06;
  }

  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-code-panel__copy,
  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-inline-note {
    font-size: 11px;
    line-height: 1.32;
  }

  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-code-grid {
    gap: 5px;
  }

  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-code-digit {
    min-height: 36px;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    font-size: clamp(15px, 1.7vw, 20px);
  }

  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-resend-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: 100%;
    align-items: stretch;
    justify-content: stretch;
  }

  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-link-btn,
  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-secondary-btn {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-dev-code {
    width: 100%;
    font-size: 11px;
    line-height: 1.35;
  }

  body.basketoyna-auth-page--register .auth-step[data-auth-step="verification"] .auth-step__footer {
    margin-top: 4px;
    width: 100%;
    align-self: stretch;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (min-height: 768px) and (orientation: landscape) {
  body.basketoyna-auth-page--login .community-layout,
  body.basketoyna-auth-page--login .basketoyna-auth-shell {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 100svh;
    height: 100svh;
    overflow: hidden;
  }

  body.basketoyna-auth-page--login .hero-area {
    flex: 0 0 58%;
    min-height: 0;
    height: 100%;
  }

  body.basketoyna-auth-page--login .hero-area img,
  body.basketoyna-auth-page--login .basketoyna-auth-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  body.basketoyna-auth-page--login .hero-overlay {
    background:
      linear-gradient(180deg, rgba(2, 6, 12, 0.14), rgba(2, 6, 12, 0.62)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 40%, rgba(0, 0, 0, 0.18));
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__panel {
    left: 34px;
    bottom: 30px;
    max-width: 330px;
    gap: 8px;
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__eyebrow {
    font-size: 11px;
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__title {
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 0.94;
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__copy {
    font-size: 11px;
    line-height: 1.28;
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__stats {
    gap: 6px;
  }

  body.basketoyna-auth-page--login .form-area {
    flex: 0 0 40%;
    min-height: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    overflow: hidden;
    background:
      radial-gradient(circle at top right, rgba(255, 145, 47, 0.08), transparent 30%),
      linear-gradient(180deg, #0f1726 0%, #0b1120 100%);
  }

  body.basketoyna-auth-page--login .form-card,
  body.basketoyna-auth-page--login .auth-portal {
    width: min(100%, 460px);
    max-width: 460px;
    height: auto;
    min-height: 0;
    max-height: calc(100svh - 28px);
    margin-inline: auto;
  }

  body.basketoyna-auth-page--login .auth-portal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: center;
    min-height: 0;
    padding: 10px 12px 10px;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  }

  body.basketoyna-auth-page--login .auth-portal__header {
    gap: 4px;
    margin-bottom: 4px;
  }

  body.basketoyna-auth-page--login .auth-portal__title {
    font-size: 18px;
    line-height: 1.0;
  }

  body.basketoyna-auth-page--login .auth-portal__copy {
    font-size: 10px;
    line-height: 1.25;
  }

  body.basketoyna-auth-page--login .auth-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    flex: 0 0 auto;
  }

  body.basketoyna-auth-page--login .auth-field {
    gap: 3px;
  }

  body.basketoyna-auth-page--login .auth-field label {
    font-size: 11px;
  }

  body.basketoyna-auth-page--login .auth-input {
    min-height: 40px;
    border-radius: 11px;
    font-size: 12px;
  }

  body.basketoyna-auth-page--login .auth-check {
    padding: 7px 9px;
    border-radius: 11px;
  }

  body.basketoyna-auth-page--login .auth-check label {
    font-size: 10px;
    line-height: 1.2;
  }

  body.basketoyna-auth-page--login .auth-actions {
    gap: 4px;
    margin-top: 0;
  }

  body.basketoyna-auth-page--login .auth-actions .primary-button {
    min-height: 42px;
    max-height: 46px;
    font-size: 13px;
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(255, 152, 15, 0.14);
  }

  body.basketoyna-auth-page--login .auth-footer {
    margin-top: 0;
  }

  body.basketoyna-auth-page--login .auth-footer__links {
    justify-content: flex-start;
    gap: 8px 12px;
  }

  body.basketoyna-auth-page--login .auth-footer__links a {
    font-size: 11px;
  }

  body.basketoyna-auth-page--register .community-layout,
  body.basketoyna-auth-page--register .basketoyna-auth-shell {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 100svh;
    height: 100svh;
    overflow: hidden;
  }

  body.basketoyna-auth-page--register .hero-area {
    flex: 0 0 58%;
    min-height: 0;
    height: 100%;
  }

  body.basketoyna-auth-page--register .hero-area img,
  body.basketoyna-auth-page--register .basketoyna-auth-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  body.basketoyna-auth-page--register .hero-overlay {
    background:
      linear-gradient(180deg, rgba(2, 6, 12, 0.14), rgba(2, 6, 12, 0.62)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 40%, rgba(0, 0, 0, 0.18));
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__panel {
    left: 34px;
    bottom: 30px;
    max-width: 330px;
    gap: 8px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__eyebrow {
    font-size: 11px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__title {
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 0.94;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__copy {
    font-size: 11px;
    line-height: 1.28;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-hero__stats {
    gap: 6px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card {
    min-height: 84px;
    padding: 10px 10px 9px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card__index {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 14px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card__content strong {
    font-size: 12px;
  }

  body.basketoyna-auth-page--register .basketoyna-auth-step-card__content span {
    font-size: 10px;
    line-height: 1.22;
  }

  body.basketoyna-auth-page--register .form-area {
    flex: 0 0 40%;
    min-height: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    overflow: hidden;
    background:
      radial-gradient(circle at top right, rgba(255, 145, 47, 0.08), transparent 30%),
      linear-gradient(180deg, #0f1726 0%, #0b1120 100%);
  }

  body.basketoyna-auth-page--register .form-card,
  body.basketoyna-auth-page--register .auth-portal {
    width: min(100%, 460px);
    max-width: 460px;
    height: auto;
    min-height: 0;
    max-height: calc(100svh - 28px);
    margin-inline: auto;
  }

  body.basketoyna-auth-page--register .auth-portal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: center;
    min-height: 0;
    padding: 10px 12px 10px;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  }

  body.basketoyna-auth-page--register .auth-portal__header {
    gap: 4px;
    margin-bottom: 4px;
  }

  body.basketoyna-auth-page--register .auth-portal__title {
    font-size: 18px;
    line-height: 1.0;
  }

  body.basketoyna-auth-page--register .auth-portal__copy {
    font-size: 10px;
    line-height: 1.25;
  }

  body.basketoyna-auth-page--register .auth-mobile-journey {
    display: none;
  }

  body.basketoyna-auth-page--register .auth-progress {
    gap: 4px;
    margin-bottom: 4px;
  }

  body.basketoyna-auth-page--register .auth-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    flex: 0 0 auto;
  }

  body.basketoyna-auth-page--register .auth-step {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 0;
    flex: 0 0 auto;
  }

  body.basketoyna-auth-page--register .auth-step__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    padding-block: 0;
  }

  body.basketoyna-auth-page--register .auth-step__footer {
    display: grid;
    gap: 4px;
    margin-top: 0;
    padding-top: 0;
    align-content: start;
    justify-items: start;
  }

  body.basketoyna-auth-page--register .auth-step__footer > .primary-button {
    width: 100%;
    min-height: 42px;
    max-height: 46px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(255, 152, 15, 0.14);
  }

  body.basketoyna-auth-page--register .auth-field {
    gap: 3px;
  }

  body.basketoyna-auth-page--register .auth-field label {
    font-size: 11px;
  }

  body.basketoyna-auth-page--register .auth-input {
    min-height: 40px;
    border-radius: 11px;
    font-size: 12px;
  }

  body.basketoyna-auth-page--register .auth-password-rules li {
    padding: 6px 8px;
    font-size: 10px;
    line-height: 1.16;
  }

  body.basketoyna-auth-page--register .auth-check {
    padding: 7px 9px;
    border-radius: 11px;
  }

  body.basketoyna-auth-page--register .auth-check label {
    font-size: 10px;
    line-height: 1.2;
  }

  body.basketoyna-auth-page--register .auth-action-copy {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    align-self: flex-start;
    color: rgba(226, 232, 240, 0.72);
    font-size: 10px;
    line-height: 1.1;
    white-space: nowrap;
  }

  body.basketoyna-auth-page--register .auth-action-copy .auth-footer__prompt {
    color: rgba(226, 232, 240, 0.72);
    font-size: 10px;
    white-space: nowrap;
  }

  body.basketoyna-auth-page--register .auth-action-copy .auth-footer__cta {
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
  }

  body.basketoyna-auth-page--register .auth-action-copy .auth-footer__cta:hover {
    color: #ffb347;
  }

  body.basketoyna-auth-page--register .auth-actions {
    gap: 4px;
    margin-top: 0;
  }

  body.basketoyna-auth-page--register .auth-actions .primary-button {
    min-height: 42px;
    max-height: 46px;
    font-size: 13px;
    border-radius: 12px;
  }

  body.basketoyna-auth-page--register .auth-footer {
    margin-top: 0;
  }

  body.basketoyna-auth-page--register .auth-footer__login-link,
  body.basketoyna-auth-page--register .auth-footer__prompt,
  body.basketoyna-auth-page--register .auth-footer__cta {
    font-size: 12px;
  }

  body.basketoyna-auth-page--register .home-pill {
    top: 18px;
    left: 18px;
    min-height: 40px;
    padding: 0 16px;
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.68));
    box-shadow: 0 16px 34px rgba(2, 8, 18, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
}

@media (max-width: 767px) {
  body.basketoyna-auth-page--login,
  body.basketoyna-auth-page--register {
    overflow-y: auto;
  }

  body.basketoyna-auth-page--login .community-layout,
  body.basketoyna-auth-page--login .basketoyna-auth-shell,
  body.basketoyna-auth-page--register .community-layout,
  body.basketoyna-auth-page--register .basketoyna-auth-shell {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    min-height: 100svh !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body.basketoyna-auth-page--login .hero-area,
  body.basketoyna-auth-page--login .basketoyna-auth-hero,
  body.basketoyna-auth-page--register .hero-area,
  body.basketoyna-auth-page--register .basketoyna-auth-hero {
    flex: 0 0 auto !important;
    min-height: 42svh !important;
    height: 42svh !important;
  }

  body.basketoyna-auth-page--login .hero-area img,
  body.basketoyna-auth-page--login .basketoyna-auth-hero img,
  body.basketoyna-auth-page--register .hero-area img,
  body.basketoyna-auth-page--register .basketoyna-auth-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  body.basketoyna-auth-page--login .hero-content,
  body.basketoyna-auth-page--register .hero-content {
    position: absolute;
    inset: 0;
  }

  body.basketoyna-auth-page--login .basketoyna-auth-hero__panel,
  body.basketoyna-auth-page--register .basketoyna-auth-hero__panel {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  body.basketoyna-auth-page--login .form-area,
  body.basketoyna-auth-page--register .form-area {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    padding: 12px 12px 28px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  body.basketoyna-auth-page--login .form-card,
  body.basketoyna-auth-page--login .auth-portal,
  body.basketoyna-auth-page--register .form-card,
  body.basketoyna-auth-page--register .auth-portal {
    width: min(100%, 560px) !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 auto !important;
  }

  body.basketoyna-auth-page--login .auth-portal,
  body.basketoyna-auth-page--register .auth-portal {
    padding: 16px 14px 18px !important;
    border-radius: 20px !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24) !important;
    overflow: visible !important;
  }

  body.basketoyna-auth-page--login .auth-feedback,
  body.basketoyna-auth-page--register .auth-feedback {
    margin-bottom: 14px;
  }

  body.basketoyna-auth-page--login .auth-form,
  body.basketoyna-auth-page--register .auth-form {
    gap: 12px;
    min-height: 0;
  }

  body.basketoyna-auth-page--login .auth-input,
  body.basketoyna-auth-page--register .auth-input {
    min-height: 50px;
    font-size: 14px;
  }

  body.basketoyna-auth-page--login .auth-actions .primary-button,
  body.basketoyna-auth-page--register .auth-actions .primary-button,
  body.basketoyna-auth-page--register .auth-step__footer > .primary-button {
    min-height: 52px;
    font-size: 14px;
  }

  body.basketoyna-auth-page--login .auth-footer,
  body.basketoyna-auth-page--register .auth-footer {
    margin-top: 2px;
  }
}
