:root {
  --bt-auth-bg: rgba(11, 16, 24, 0.95);
  --bt-auth-bg-strong: rgba(11, 16, 24, 0.98);
  --bt-auth-text: #f5f3ee;
  --bt-auth-muted: #b9c0cb;
  --bt-auth-accent: #ecd06f;
  --bt-auth-accent-strong: #f5dc8b;
  --bt-auth-accent-ink: #03060b;
  --bt-auth-border: rgba(255, 255, 255, 0.42);
  --bt-auth-panel-border: rgba(255, 255, 255, 0.08);
}

.bt-auth-slot {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.bt-topbar-auth {
  margin-left: auto;
}

.bt-topbar-right + .bt-topbar-auth {
  margin-left: 8px;
}

.bt-topbar:has(.bt-topbar-auth),
.tools-header__inner:has([data-bt-auth-slot]),
.info-page-nav:has(.info-page-auth) {
  overflow: visible !important;
}

.info-page-auth {
  margin-left: auto;
}

.tools-actions.bt-auth-slot {
  gap: 16px;
}

.tools-page .tools-actions .bt-auth-scope .auth-guest {
  gap: 16px;
}

.tools-page .tools-actions .bt-auth-scope .control-button {
  min-width: 112px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 136, 21, 0.82);
  background: rgba(3, 6, 10, 0.96);
  color: #f7f8ff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.26);
  transform: translateY(0);
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.tools-page .tools-actions .bt-auth-scope .control-button:hover,
.tools-page .tools-actions .bt-auth-scope .control-button:focus-visible {
  border-color: rgba(255, 185, 82, 0.96);
  background: linear-gradient(180deg, #ffb856 0%, #ff9418 100%);
  color: #07080d;
  box-shadow:
    0 13px 24px rgba(255, 128, 18, 0.24),
    0 6px 18px rgba(0, 0, 0, 0.28);
  transform: translateY(-5px);
}

.tools-page .tools-actions .bt-auth-scope .control-button--primary {
  min-width: 128px;
  border-color: rgba(255, 142, 31, 0.96);
  background: linear-gradient(180deg, #ffa041 0%, #ff7d17 100%);
  color: #ffffff;
  box-shadow:
    0 12px 24px rgba(255, 128, 18, 0.22),
    inset 0 1px 0 rgba(255, 233, 190, 0.34);
}

.tools-page .tools-actions .bt-auth-scope .control-button--primary:hover,
.tools-page .tools-actions .bt-auth-scope .control-button--primary:focus-visible {
  border-color: rgba(255, 142, 31, 0.96);
  background: linear-gradient(180deg, #ffa041 0%, #ff7d17 100%);
  color: #ffffff;
  box-shadow:
    0 15px 26px rgba(255, 128, 18, 0.25),
    inset 0 1px 0 rgba(255, 233, 190, 0.34);
  transform: translateY(-5px);
}

.bt-auth-scope.auth-block {
  position: relative;
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: "Montserrat", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
}

.bt-auth-scope .auth-guest,
.bt-auth-scope .auth-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-height: 44px;
}

.bt-auth-scope .is-hidden,
.bt-auth-scope.is-hidden {
  display: none !important;
}

.bt-auth-scope .control-button,
.bt-auth-scope.control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 136, 21, 0.82);
  background: rgba(3, 6, 10, 0.96);
  color: #f7f8ff;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.26);
  transform: translateY(0);
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.bt-auth-scope .control-button:hover,
.bt-auth-scope .control-button:focus-visible {
  border-color: rgba(255, 185, 82, 0.96);
  background: linear-gradient(180deg, #ffb856 0%, #ff9418 100%);
  color: #07080d;
  text-decoration: none;
  box-shadow:
    0 13px 24px rgba(255, 128, 18, 0.24),
    0 6px 18px rgba(0, 0, 0, 0.28);
  transform: translateY(-5px);
}

.bt-auth-scope .control-button--primary {
  min-width: 128px;
  border-color: rgba(255, 142, 31, 0.96);
  background: linear-gradient(180deg, #ffa041 0%, #ff7d17 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow:
    0 12px 24px rgba(255, 128, 18, 0.22),
    inset 0 1px 0 rgba(255, 233, 190, 0.34);
}

.bt-auth-scope .control-button--primary:hover,
.bt-auth-scope .control-button--primary:focus-visible {
  border-color: rgba(255, 142, 31, 0.96);
  background: linear-gradient(180deg, #ffa041 0%, #ff7d17 100%);
  color: #ffffff;
  box-shadow:
    0 15px 26px rgba(255, 128, 18, 0.25),
    inset 0 1px 0 rgba(255, 233, 190, 0.34);
  transform: translateY(-5px);
}

.bt-auth-scope .profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: min(260px, 42vw);
  min-height: 44px;
  padding: 5px 10px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  background: var(--bt-auth-bg);
  color: var(--bt-auth-text);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.bt-auth-scope .profile-trigger:hover,
.bt-auth-scope .profile-trigger:focus-visible {
  border-color: var(--bt-auth-accent);
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
}

.bt-auth-scope .profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--bt-auth-accent), var(--bt-auth-accent-strong));
  color: var(--bt-auth-accent-ink);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.bt-auth-scope .profile-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.bt-auth-scope .profile-name {
  display: block;
  min-width: 0;
  max-width: 142px;
  overflow: hidden;
  color: var(--bt-auth-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bt-auth-scope .profile-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: var(--bt-auth-muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bt-auth-scope .profile-plan--free,
.bt-auth-scope .profile-plan--guest {
  border-color: rgba(236, 208, 111, 0.22);
  background: rgba(236, 208, 111, 0.08);
  color: var(--bt-auth-accent);
}

.bt-auth-scope .profile-plan--pro {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.12);
  color: #7ef0aa;
}

.bt-auth-scope .profile-plan--admin {
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(96, 165, 250, 0.12);
  color: #93c5fd;
}

.bt-auth-scope .profile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 3200;
  display: grid;
  gap: 6px;
  min-width: 210px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  background: rgba(20, 20, 20, 0.98);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.bt-auth-scope .profile-menu__meta {
  margin-bottom: 4px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--bt-auth-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.bt-auth-scope .profile-menu__meta--guest,
.bt-auth-scope .profile-menu__meta--free {
  border-radius: 12px;
  border-bottom-color: rgba(236, 208, 111, 0.12);
  background: linear-gradient(180deg, rgba(236, 208, 111, 0.09), rgba(236, 208, 111, 0.03));
  color: #f0df9a;
}

.bt-auth-scope .profile-menu__meta--pro {
  border-radius: 12px;
  border-bottom-color: rgba(34, 197, 94, 0.14);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.03));
  color: #9ff2bb;
}

.bt-auth-scope .profile-menu__meta--admin {
  border-radius: 12px;
  border-bottom-color: rgba(96, 165, 250, 0.14);
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.12), rgba(96, 165, 250, 0.03));
  color: #bfdbfe;
}

.bt-auth-scope .profile-menu__item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--bt-auth-text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.bt-auth-scope .profile-menu__item:hover,
.bt-auth-scope .profile-menu__item:focus-visible {
  background: rgba(236, 208, 111, 0.14);
  color: var(--bt-auth-accent);
  text-decoration: none;
}

.bt-auth-scope.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 4200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--bt-auth-text);
  font-family: "Montserrat", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
}

.bt-auth-scope.auth-modal.is-hidden {
  display: none !important;
}

.bt-auth-scope .auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(8px);
}

.bt-auth-scope .auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  max-height: min(92vh, 760px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--bt-auth-panel-border);
  border-radius: 28px;
  background: var(--bt-auth-bg-strong);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.bt-auth-scope .auth-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.bt-auth-scope .panel-kicker {
  margin: 0 0 8px;
  color: var(--bt-auth-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bt-auth-scope .auth-modal__head h2 {
  margin: 0;
  color: var(--bt-auth-accent);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.bt-auth-scope .auth-modal__close {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.03);
  color: var(--bt-auth-text);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.bt-auth-scope .auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.bt-auth-scope .auth-tab {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.03);
  color: var(--bt-auth-text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.bt-auth-scope .auth-tab.is-active {
  border-color: var(--bt-auth-accent);
  background: var(--bt-auth-accent);
  color: var(--bt-auth-accent-ink);
}

.bt-auth-scope .auth-modal__message {
  min-height: 22px;
  margin: 0 0 12px;
  color: var(--bt-auth-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.bt-auth-scope .auth-modal__message.is-error {
  color: #f87171;
}

.bt-auth-scope .auth-modal__message.is-success {
  color: #4ade80;
}

.bt-auth-scope .auth-resend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: -2px 0 12px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(236, 208, 111, 0.28);
  background: rgba(236, 208, 111, 0.08);
  color: var(--bt-auth-accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.bt-auth-scope .auth-resend:hover {
  border-color: rgba(236, 208, 111, 0.5);
  background: rgba(236, 208, 111, 0.12);
  color: var(--bt-auth-accent-strong);
}

.bt-auth-scope .auth-form {
  display: grid;
  gap: 12px;
}

.bt-auth-scope .auth-form__hint {
  margin: -2px 0 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.bt-auth-scope .auth-form__switch {
  display: flex;
  justify-content: flex-end;
  margin: -2px 0 0;
}

.bt-auth-scope .auth-form__switch--center {
  justify-content: center;
  margin: 0;
}

.bt-auth-scope .auth-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bt-auth-accent);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.bt-auth-scope .auth-link-button:hover {
  color: var(--bt-auth-accent-strong);
  text-decoration: underline;
}

.bt-auth-scope .auth-field {
  display: grid;
  gap: 6px;
}

.bt-auth-scope .auth-field span {
  color: var(--bt-auth-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bt-auth-scope .auth-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(11, 16, 24, 0.92);
  color: var(--bt-auth-text);
  font: inherit;
  font-weight: 700;
}

.bt-auth-scope .auth-field input:focus {
  outline: none;
  border-color: var(--bt-auth-accent);
  box-shadow: 0 0 0 2px rgba(236, 208, 111, 0.12);
}

.bt-auth-scope .auth-submit {
  margin-top: 4px;
  padding: 13px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--bt-auth-accent);
  color: var(--bt-auth-accent-ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.bt-auth-scope .auth-submit:disabled,
.bt-auth-scope .auth-tab:disabled,
.bt-auth-scope .auth-modal__close:disabled,
.bt-auth-scope .auth-resend:disabled,
.bt-auth-scope .profile-trigger:disabled,
.bt-auth-scope .profile-menu__item--button:disabled,
.bt-auth-scope .auth-link-button:disabled,
.bt-auth-scope .control-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.bt-auth-floating {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 3600;
}

@media (max-width: 1180px) {
  .bt-topbar-auth .bt-auth-scope .profile-meta {
    display: none;
  }

  .bt-topbar-auth .bt-auth-scope .profile-trigger {
    padding-right: 6px;
  }
}

@media (max-width: 760px) {
  .bt-auth-scope .auth-guest {
    gap: 7px;
  }

  .bt-auth-scope .control-button {
    min-height: 36px;
    padding: 9px 11px;
    font-size: 12px;
  }

  .bt-topbar-auth .bt-auth-scope .control-button {
    padding-inline: 10px;
  }

  .bt-auth-scope .profile-trigger {
    min-height: 38px;
    max-width: 180px;
    padding: 4px 7px 4px 4px;
    border-radius: 999px;
  }

  .bt-auth-scope .profile-avatar {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .bt-auth-scope .profile-name {
    max-width: 92px;
    font-size: 12px;
  }

  .bt-auth-scope .profile-plan {
    display: none;
  }

  .bt-auth-scope .profile-menu {
    right: 0;
    min-width: min(230px, calc(100vw - 28px));
  }

  .bt-auth-scope.auth-modal {
    padding: 14px;
  }

  .bt-auth-scope .auth-modal__dialog {
    padding: 18px;
    border-radius: 22px;
  }

  .bt-auth-scope .auth-modal__head h2 {
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  .bt-topbar-auth {
    margin-left: 4px;
  }

  .bt-topbar-auth .bt-auth-scope .auth-guest {
    gap: 5px;
  }

  .bt-topbar-auth .bt-auth-scope .control-button {
    min-height: 32px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .bt-auth-floating {
    top: 10px;
    right: 10px;
  }
}

.bt-auth-scope.auth-modal {
  padding: 18px;
}

.bt-auth-scope .auth-modal__backdrop {
  background: rgba(2, 3, 10, 0.74);
  backdrop-filter: blur(10px);
}

.bt-auth-scope .auth-modal__dialog {
  width: min(100%, 620px);
  max-height: min(94vh, 820px);
  padding: clamp(22px, 3.2vw, 30px) clamp(24px, 3.6vw, 34px) 24px;
  border-radius: 24px;
  border: 1px solid rgba(168, 85, 247, 0.82);
  background:
    radial-gradient(110% 90% at 100% 0%, rgba(255, 139, 19, 0.13) 0%, rgba(255, 139, 19, 0.03) 42%, transparent 72%),
    radial-gradient(95% 90% at 0% 0%, rgba(124, 58, 237, 0.18) 0%, rgba(21, 14, 48, 0.26) 40%, transparent 72%),
    linear-gradient(145deg, rgba(17, 11, 43, 0.99), rgba(4, 8, 18, 0.99) 52%, rgba(16, 9, 6, 0.98));
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(124, 58, 237, 0.16) inset;
}

.bt-auth-scope .auth-modal__head {
  min-height: 104px;
  margin-bottom: 18px;
  padding-right: 76px;
}

.bt-auth-scope .panel-kicker {
  margin-bottom: 12px;
  color: #a965ff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.bt-auth-scope .auth-modal__head h2 {
  max-width: 460px;
  color: #f4f6ff;
  font-size: clamp(38px, 5.2vw, 48px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bt-auth-scope .auth-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(110, 138, 184, 0.58);
  background: rgba(6, 11, 24, 0.96);
  color: #f3f6ff;
  font-size: 40px;
  font-weight: 800;
  line-height: 0.86;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.bt-auth-scope .auth-modal__close:hover,
.bt-auth-scope .auth-modal__close:focus-visible {
  border-color: rgba(255, 158, 27, 0.76);
  color: #ff9f1c;
  transform: translateY(-1px);
}

.bt-auth-scope .auth-tabs {
  gap: 10px;
  margin: 0 0 46px;
}

.bt-auth-scope .auth-tab {
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(168, 85, 247, 0.94);
  background: rgba(2, 7, 18, 0.92);
  color: #f2f3fb;
  font-size: 15px;
  font-weight: 900;
}

.bt-auth-scope .auth-tab.is-active {
  border-color: rgba(255, 177, 50, 0.92);
  background: linear-gradient(180deg, #ffa826, #ff9617);
  color: #08090f;
  box-shadow: 0 8px 22px rgba(255, 151, 24, 0.22);
}

.bt-auth-scope .auth-modal__message {
  min-height: 0;
  margin: -28px 0 18px;
  font-size: 14px;
}

.bt-auth-scope .auth-form {
  gap: 10px;
}

.bt-auth-scope .auth-field {
  gap: 7px;
}

.bt-auth-scope .auth-field span {
  color: #a965ff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.bt-auth-scope .auth-field input {
  min-height: 48px;
  border-radius: 13px;
  border: 1px solid rgba(168, 85, 247, 0.96);
  background: #202b3e;
  color: #f7f8ff;
  font-size: 16px;
  font-weight: 900;
  box-shadow:
    0 0 0 3px rgba(168, 85, 247, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.bt-auth-scope .auth-field input:focus {
  border-color: #b76cff;
  box-shadow:
    0 0 0 4px rgba(168, 85, 247, 0.24),
    0 0 18px rgba(168, 85, 247, 0.18);
}

.bt-auth-scope .auth-form__switch {
  margin: 0;
}

.bt-auth-scope .auth-link-button {
  color: #ffb02d;
  font-size: 14px;
  font-weight: 900;
}

.bt-auth-scope .auth-link-button:hover {
  color: #ffc15e;
}

.bt-auth-scope .auth-submit {
  min-height: 60px;
  margin-top: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffa826, #ff9515);
  color: #07080d;
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow:
    0 10px 26px rgba(255, 151, 24, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.bt-auth-scope .auth-submit:hover,
.bt-auth-scope .auth-submit:focus-visible {
  background: linear-gradient(180deg, #ffb23b, #ff9d1f);
}

.bt-auth-scope .auth-form__hint {
  color: rgba(231, 222, 255, 0.78);
}

.bt-auth-scope .auth-resend {
  border-color: rgba(168, 85, 247, 0.7);
  background: rgba(2, 7, 18, 0.92);
  color: #ffb02d;
}

@media (max-width: 640px) {
  .bt-auth-scope .auth-modal__dialog {
    padding: 22px 18px 20px;
    border-radius: 22px;
  }

  .bt-auth-scope .auth-modal__head {
    min-height: 86px;
    padding-right: 60px;
    margin-bottom: 14px;
  }

  .bt-auth-scope .auth-modal__head h2 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .bt-auth-scope .auth-modal__close {
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    font-size: 32px;
  }

  .bt-auth-scope .auth-tabs {
    margin-bottom: 34px;
  }

  .bt-auth-scope .auth-tab {
    min-height: 46px;
    font-size: 13px;
  }

  .bt-auth-scope .auth-field input {
    min-height: 46px;
  }

  .bt-auth-scope .auth-submit {
    min-height: 54px;
  }
}
