.palace-theme .v5-auth-modal .hg-sms-login-modes {
  display: flex;
  gap: calc(12 * var(--u));
  margin-bottom: calc(14 * var(--u));
}
.palace-theme .v5-auth-modal .hg-sms-login-modes button {
  flex: 1;
  border: 1px solid #a95c70;
  border-radius: calc(7 * var(--u));
  padding: calc(8 * var(--u)) calc(4 * var(--u));
  background: transparent;
  color: #e9bccc;
  font-size: calc(13 * var(--u));
  cursor: pointer;
}
.palace-theme .v5-auth-modal .hg-sms-login-modes button.active {
  color: #fff7d5;
  border-color: #f4ddac;
  background: #8b2947;
}
.palace-theme .v5-auth-modal .hg-sms-code .custom-input { min-width: 0; flex: 1; }
.palace-theme .v5-auth-modal .hg-sms-send {
  flex: 0 0 auto;
  padding: calc(6 * var(--u)) calc(9 * var(--u));
  border: 0;
  border-radius: calc(5 * var(--u));
  background: #f3f6d9;
  color: #7d3346;
  font-size: calc(12 * var(--u));
  white-space: nowrap;
  cursor: pointer;
}
.palace-theme .v5-auth-modal .hg-sms-send:disabled { opacity: .6; cursor: default; }
