.analytics-consent {
  position: fixed;
  z-index: 10000;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(18px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px;
  color: #f5f3ec;
  background: rgba(17, 24, 32, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

.analytics-consent__copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.analytics-consent__copy p {
  margin: 0 0 5px;
  color: rgba(245, 243, 236, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.analytics-consent__copy a {
  color: #f5f3ec;
  font-size: 12px;
}

.analytics-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.analytics-consent button,
[data-analytics-settings] {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.analytics-consent__decline {
  color: #f5f3ec;
  background: transparent;
}

.analytics-consent__accept {
  color: #111820;
  background: #f5f3ec;
}

[data-analytics-settings] {
  color: inherit;
  background: transparent;
}

@media (max-width: 640px) {
  .analytics-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .analytics-consent__actions {
    justify-content: flex-end;
  }
}
