/* Поп-ап, подсказывающий мобильным пользователям перейти в Telegram */
.portal-mobile-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(3px);
  z-index: 9999;
}

.portal-mobile-modal[hidden] {
  display: none;
}

.portal-mobile-modal__content {
  position: relative;
  max-width: 420px;
  width: 100%;
  border-radius: 18px;
  background: #ffffff;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
}

.portal-mobile-modal__icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.portal-mobile-modal__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.portal-mobile-modal__text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: #475569;
}

.portal-mobile-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.portal-mobile-modal__cta:hover {
  opacity: 0.9;
}

.portal-mobile-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px;
}

.portal-mobile-modal__close:hover {
  color: #0f172a;
}

body.portal-mobile-lock {
  overflow: hidden;
}
