/**
 * Кнопка «ДР питомца» в шапке: окно D-3 … день ДР (МСК). Scoped.
 */
@media (min-width: 768px) {
  .header .cotinder-header-util__link--bday {
    font-weight: 600;
    color: rgba(196, 47, 107, 0.88);
    animation: cotinder-bday-header-pulse 2.4s ease-in-out infinite;
  }

  .header .cotinder-header-util__link--bday:hover,
  .header .cotinder-header-util__link--bday:focus-visible {
    color: rgba(157, 23, 77, 0.96);
    animation: none;
  }

  .header .cotinder-header-util__link--bday.is-active {
    color: rgba(157, 23, 77, 0.95);
    animation: none;
  }
}

@keyframes cotinder-bday-header-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

@media (max-width: 767.98px) {
  .header .header__flex {
    position: relative;
  }

  .header .cotinder-bday-header-mobile {
    position: absolute;
    top: 50%;
    right: 52px;
    z-index: 8;
    transform: translateY(-50%);
    pointer-events: auto;
  }

  .header .cotinder-bday-header-mobile__link {
    display: inline-flex;
    align-items: center;
    max-width: 7.5rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    color: #9d174d;
    background: linear-gradient(135deg, #fff0f6 0%, #ffe4ec 100%);
    border: 1px solid rgba(236, 72, 153, 0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 8px rgba(190, 24, 93, 0.12);
  }

  .header .cotinder-bday-header-mobile__link.is-active {
    border-color: rgba(157, 23, 77, 0.55);
    background: #fce7f3;
  }
}