.simple-analytics-badge {
  display: inline-flex;
  flex: 0 0 168px;
  width: 168px;
  height: 40px;
  max-width: 100%;
  vertical-align: middle;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}

.simple-analytics-badge img {
  display: block;
  width: 168px;
  height: 40px;
  max-width: 100%;
}

.simple-analytics-badge:focus-visible {
  outline: 2px solid #ff7ec8;
  outline-offset: 4px;
  border-radius: 10px;
}

.footer-bottom.footer-with-analytics {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.footer-content .footer-col {
  min-width: 0;
}

.footer-email {
  overflow-wrap: anywhere;
}

.footer.footer-with-analytics,
.nf-footer.footer-with-analytics {
  flex-wrap: wrap;
  align-items: center;
}

.footer-analytics {
  display: flex;
  justify-content: flex-end;
  padding: 24px 0;
  margin: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer > .footer-analytics {
  justify-content: center;
}

.ap-scroll > .footer-analytics {
  margin-inline: 48px;
}

.promotion-analytics-footer {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  padding: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.promotion-with-analytics :is(.tg-popup-trigger, .tg-channels-popup, .sticky-cta) {
  margin-bottom: 64px;
}

@media (max-width: 640px) {
  .footer-bottom.footer-with-analytics {
    flex-direction: column;
    text-align: center;
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  .footer-with-analytics > .simple-analytics-badge {
    flex-basis: auto;
  }

  .footer-analytics,
  .promotion-analytics-footer {
    justify-content: center;
  }

  .sp-scroll .footer-analytics,
  .ap-scroll .footer-analytics {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  .ap-scroll > .footer-analytics {
    margin-inline: 16px;
  }
}
