.analytics-consent {
  position: fixed;
  inset: auto 0 0;
  z-index: 1200;
  padding: 14px 20px;
  color: #fff;
  background: #10151b;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 -12px 34px rgba(5, 13, 23, 0.22);
  font-family: Outfit, Arial, sans-serif;
}

.analytics-consent-inner {
  display: flex;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.analytics-consent p {
  display: grid;
  gap: 3px;
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.45;
}

.analytics-consent p span {
  color: rgba(255, 255, 255, 0.76);
}

.analytics-consent a {
  color: #7dd3fc;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.analytics-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.analytics-consent button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.analytics-consent .analytics-consent-accept {
  border-color: #ffb21d;
  color: #1d1b17;
  background: #ffb21d;
}

.analytics-consent button:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 3px;
}

.analytics-consent-settings {
  display: block;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  opacity: 0.78;
}

.analytics-consent-settings:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .analytics-consent {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }

  .analytics-consent-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .analytics-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .analytics-consent p {
    gap: 1px;
    line-height: 1.35;
  }

  .analytics-consent button {
    min-height: 46px;
    padding: 0 12px;
    font-size: 1rem;
  }
}

@media (max-width: 340px) {
  .analytics-consent-actions {
    grid-template-columns: 1fr;
  }
}
