.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 70rem;
  margin-inline: auto;
  padding: 1rem 1.1rem;
  color: #f7f5ef;
  background: #161a2b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.9rem;
  box-shadow: 0 1.25rem 3rem rgba(11, 15, 35, 0.3);
}

.analytics-consent__copy {
  min-width: 0;
}

.analytics-consent__copy strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.analytics-consent__copy p {
  margin: 0;
  color: rgba(247, 245, 239, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.analytics-consent__copy a {
  color: #ffffff;
  text-underline-offset: 0.2em;
}

.analytics-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.6rem;
}

.analytics-consent__button,
.analytics-preferences-button {
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  border: 1px solid #ffffff;
  border-radius: 999px;
}

.analytics-consent__button {
  color: #161a2b;
  background: #ffffff;
}

.analytics-consent__button--secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.analytics-preferences-button {
  color: inherit;
  background: transparent;
  border-color: currentColor;
}

.analytics-consent__button:focus-visible,
.analytics-preferences-button:focus-visible {
  outline: 3px solid #ffcf70;
  outline-offset: 3px;
}

@media (max-width: 44rem) {
  .analytics-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 0.9rem;
  }

  .analytics-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 24rem) {
  .analytics-consent__actions {
    grid-template-columns: 1fr;
  }
}
