/* Step 1 — phone-only popup (before IP / location) */

.gate-phone-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(440px, 94vw);
  animation: alert-pop 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.gate-phone-step[hidden],
.gate-full-step[hidden] {
  display: none !important;
}

.gate-phone-first-card {
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.gate-phone-first__body {
  text-align: center;
  padding: 28px 24px 20px !important;
}

.gate-phone-first__urgent {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d70015;
}

html.os-mac .gate-phone-first__urgent {
  color: #ff3b30;
}

.gate-phone-first__label {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
}

html.os-win .gate-phone-first__label {
  color: #0f172a;
}

.gate-phone-first__num {
  display: block;
  margin: 0 auto 16px;
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1.2;
  word-break: break-word;
}

html.os-mac .gate-phone-first__num {
  color: #0071e3;
}

html.os-win .gate-phone-first__num {
  color: #0067c0;
}

.gate-phone-first__num:hover {
  text-decoration: underline;
}

.gate-phone-first__risk {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6e6e73;
}

html.os-win .gate-phone-first__risk {
  color: #475569;
}

.alert-dialog--mac .gate-phone-first__btn {
  background: #0071e3;
  border-radius: 980px;
}

.alert-dialog--win .gate-phone-first__btn {
  background: #0067c0;
  border-radius: 4px;
}

/* Step 2 — inline phone + delayed details */
.gate-full-step {
  width: 100%;
  max-width: min(920px, 100%);
}

.gate-layout {
  flex-direction: row;
}

html.os-mac .gate-layout {
  flex-direction: row;
}

.gate-inline-phone {
  display: block;
  margin: 0 0 14px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

html.os-mac .gate-inline-phone {
  color: #0071e3;
}

html.os-win .gate-inline-phone {
  color: #0067c0;
}

.gate-details-block--pending .alert-data-table {
  visibility: hidden;
  height: 0;
  overflow: hidden;
  margin: 0;
}

.gate-details-block--pending .gate-details-loading {
  display: block;
}

.gate-details-loading {
  display: none;
  margin: 0 0 12px;
  font-size: 13px;
  color: #86868b;
  text-align: center;
}

.gate-details-block--ready .gate-details-loading {
  display: none;
}

.gate-details-block--ready .alert-data-table {
  visibility: visible;
  height: auto;
  animation: gate-details-in 0.45s ease-out;
}

@keyframes gate-details-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
