.overlay[data-kind='binding-prompt'] {
  position: fixed;
  inset: 0;
  width: min(390px, calc(100% - 32px));
  margin: auto;
  border-color: var(--brand-gold-line);
  border-radius: 18px;
  background: #211b19;
  text-align: center;
}

.overlay[data-kind='binding-prompt'] h2 {
  padding-inline: 28px;
}

.overlay[data-kind='binding-prompt'] .account-prompt-icon {
  margin-inline: auto;
}

.overlay[data-kind='binding-prompt'] .account-prompt-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content.binding-page {
  min-height: 100dvh;
  padding: env(safe-area-inset-top) 16px calc(28px + env(safe-area-inset-bottom));
  background: radial-gradient(ellipse at 50% 0, #3e2820 0%, #151112 58%);
}

.bind-page {
  width: min(100%, 460px);
  margin-inline: auto;
}

.bind-header {
  display: flex;
  align-items: center;
  min-height: 52px;
}

.bind-card {
  padding: clamp(17px, 5vw, 28px);
  border: 1px solid var(--brand-gold-line);
  border-radius: 19px;
  background: #221b19;
}

.bind-emblem {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 13px;
  border: 1px solid var(--brand-gold-line);
  border-radius: 13px;
  background: var(--brand-gold-panel);
  color: var(--brand-gold-soft);
}

.bind-card h1 {
  font-size: clamp(23px, 5vw, 28px);
  line-height: 1.24;
}

.bind-description {
  margin: 9px 0 20px;
  color: #d0bfb1;
  font-size: 13px;
  line-height: 1.65;
}

.bind-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 17px;
  padding: 4px;
  border: 1px solid #ac80524d;
  border-radius: 11px;
  background: #1a1515;
}

.bind-methods button {
  min-height: 40px;
  border-radius: 7px;
  color: #d0bfb1;
  font-size: 14px;
  font-weight: 700;
}

.bind-methods button[aria-pressed='true'] {
  background: var(--brand-gold-grad);
  color: var(--brand-gold-ink);
}

.bind-card .field-caption {
  margin: 14px 0 6px;
  color: #efdfd0;
}

.bind-card .field,
.bind-phone-row select {
  min-width: 0;
  min-height: 46px;
  border: 1px solid #ac805260;
  border-radius: 9px;
  background: #171313;
  color: #f8eee4;
}

.bind-card .field {
  font-size: 16px;
}

.bind-phone-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 7px;
}

.bind-phone-row select {
  max-width: 105px;
  padding-inline: 7px;
  font-size: 13px;
  color-scheme: dark;
}

.bind-error {
  margin-top: 8px;
  color: #ffc0b1;
  font-size: 13px;
  line-height: 1.45;
}

.bind-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
}

.bind-login {
  display: block;
  min-height: 42px;
  margin: 5px auto -5px;
  padding-inline: 10px;
  color: var(--brand-gold-soft);
  font-size: 13px;
}

.bind-page :is(button, input, select):focus-visible {
  outline: 2px solid var(--brand-gold-soft);
  outline-offset: 2px;
}
