

.socials-modal.socials-modal--v2 {
  width: min(480px, calc(100vw - 1.5rem));
  max-width: min(480px, calc(100vw - 1.5rem));
  border: none;
  border-radius: 24px;
  padding: 0;
  background: #fff;
  color: #1c232f;
  box-shadow: 0 30px 80px rgba(20, 28, 80, 0.32);
  overflow: hidden;
}
.socials-modal.socials-modal--v2::backdrop {
  background: rgba(15, 20, 50, 0.58);
}

.socials-modal--v2 .socials-modal__content {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(2rem, 5vw, 2.6rem) clamp(1.3rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 3vw, 1.6rem);
}
.socials-modal--v2 .socials-modal__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: linear-gradient(90deg, #485fc7, #7c8cf0);
}

.socials-modal--v2 .socials-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #f1f3f9;
  color: #5b6472;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  z-index: 2;
}
.socials-modal--v2 .socials-modal__close:hover {
  background: #e6e9f5;
  color: #1c232f;
  transform: rotate(90deg);
}
.socials-modal--v2 .socials-modal__close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.socials-modal--v2 .content__titles {
  text-align: center;
  margin-top: 0.2rem;
}
.socials-modal--v2 .content__titles .titles__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 5vw, 1.9rem);
  font-weight: 800;
  color: #1c232f;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.socials-modal--v2 .socials-modal__content .content__titles .titles__subtitle {
  margin: 0 auto;
  max-width: 40ch;
  font-size: clamp(1.05rem, 3vw, 1.16rem);
  line-height: 1.5;
  color: #4a5262;
  font-weight: 500;
}


.socials-modal--v2 .socials-modal__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 128px;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(72, 95, 199, 0.18);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.socials-modal--v2 .socials-modal__preview img {
  max-width: 100%;
  max-height: 168px;
  height: auto;
  object-fit: contain;
}


.socials-modal--v2 .socials--v2 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}
.socials-modal--v2 .socials--v2 .socials__social {
  margin: 0;
}

.socials-modal--v2 .socials--v2 .socials__social .social__wrapper {
  display: grid;
  place-items: center;
  gap: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.16s ease;
}
.socials-modal--v2 .socials--v2 .socials__social .social__wrapper::before {
  display: none;
}
.socials-modal--v2 .socials--v2 .socials__social .social__wrapper:hover {
  transform: translateY(-4px);
}
.socials-modal--v2 .socials--v2 .socials__social .social__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 5px 14px rgba(30, 40, 90, 0.16);
  transition: box-shadow 0.16s ease;
}
.socials-modal--v2 .socials--v2 .socials__social .social__wrapper:hover .social__icon {
  box-shadow: 0 9px 20px rgba(30, 40, 90, 0.26);
}
.socials-modal--v2 .socials--v2 .socials__social .social__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.socials-modal--v2 .social__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.socials-modal--v2 .social_telegram  .social__icon { background: #29a9eb; }
.socials-modal--v2 .social_whatsapp  .social__icon { background: #25d366; }
.socials-modal--v2 .social_facebook  .social__icon { background: #1877f2; }
.socials-modal--v2 .social_twitter   .social__icon { background: #000000; }
.socials-modal--v2 .social_linkedin  .social__icon { background: #0a66c2; }
.socials-modal--v2 .social_reddit    .social__icon { background: #ff4500; }
.socials-modal--v2 .social_pinterest .social__icon { background: #e60023; }


.socials-modal--v2 .socials-modal__divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #6b7385;
  font-size: 1.02rem;
  font-weight: 600;
}
.socials-modal--v2 .socials-modal__divider::before,
.socials-modal--v2 .socials-modal__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(72, 95, 199, 0.16);
}


.socials-modal--v2 .links__url {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #f2f4fb;
  border: 1px solid rgba(72, 95, 199, 0.14);
  border-radius: 16px;
  padding: 0.5rem 0.5rem 0.5rem 1.15rem;
}
.socials-modal--v2 .links__url .url__link {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  color: #1c232f;
  font-size: 1.02rem;
}
.socials-modal--v2 .links__url .url__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  background: #485fc7;
  color: #fff;
  fill: #fff;
  padding: 0.85rem 1.3rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  transition: filter 0.16s ease, background 0.16s ease;
  flex-shrink: 0;
}
.socials-modal--v2 .links__url .url__copy:hover {
  filter: brightness(1.06);
}
.socials-modal--v2 .links__url .url__copy svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.socials-modal--v2 .links__url .url__copy .copy__copied-layout {
  display: none;
}
.socials-modal--v2 .links__url .url__copy.active {
  background: #2fbf71;
}
.socials-modal--v2 .links__url .url__copy.active .copy__text {
  display: none;
}
.socials-modal--v2 .links__url .url__copy.active .copy__copied-layout {
  display: inline;
}

@media (max-width: 480px) {
  .socials-modal--v2 .socials--v2 .socials__social .social__icon {
    width: 42px;
    height: 42px;
  }
  .socials-modal--v2 .socials--v2 .socials__social .social__icon svg {
    width: 21px;
    height: 21px;
  }
  .socials-modal--v2 .links__url .url__copy .copy__text {
    display: none;
  }
  .socials-modal--v2 .links__url .url__copy {
    padding: 0.85rem 1rem;
  }
}


.socials-modal--v2 .share-limit-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  width: min(460px, calc(100vw - 1.5rem));
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.2rem 1.4rem;
  background: #fff;
  color: #1c232f;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-left: 5px solid #f59e0b;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20, 28, 80, 0.30);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 20;
}
.socials-modal--v2 .share-limit-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.socials-modal--v2 .share-limit-toast__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: #f59e0b;
}
.socials-modal--v2 .share-limit-toast__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.socials-modal--v2 .share-limit-toast__title {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}
.socials-modal--v2 .share-limit-toast__text {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.45;
  color: #5a6273;
}
