.analytics-settings {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent {
  position: fixed;
  z-index: 100;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--case-shadow);
}

.analytics-consent-copy strong {
  font-size: 18px;
}

.analytics-consent-copy p {
  margin: 4px 0 0;
  color: var(--muted);
}

.analytics-consent-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.analytics-consent-actions button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.analytics-consent-actions button[data-choice="accepted"] {
  background: var(--accent);
  color: white;
}

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

  .analytics-consent-actions {
    flex-wrap: wrap;
  }
}
