/* Analytics consent notice. Quiet, bottom-anchored, never blocks the page. */
.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 60;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e6e6ed;
  border-radius: 14px;
  background: #fffffff2;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px #0b1c3b14;
}

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

.consent-banner p {
  flex: 1;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  color: #6e6e77;
  text-align: center;
  white-space: nowrap;
}

.consent-banner p a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.consent-banner p a:hover { color: var(--brand); }

.consent-actions { display: flex; gap: 10px; align-items: center; flex: none; }

.consent-actions [data-consent-accept] {
  min-width: 72px;
  padding: 8px 14px;
  border: 1px solid var(--brand-border);
  border-radius: 9px;
  background: var(--brand-tint);
  color: var(--brand);
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.consent-actions [data-consent-accept]:hover { background: var(--brand-soft); }

.consent-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  background: transparent;
  color: #c5c5cf;
  cursor: pointer;
  transition: color 0.2s;
  font: inherit;
  flex-shrink: 0;
}

.consent-close:hover { color: #6e6e77; }

/* Beats the global .icon rule (20px, thin stroke). */
.consent-close .icon { width: 12px; height: 12px; stroke-width: 2.4; }

.site-footer .footer-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.site-footer .footer-link:hover { color: var(--brand); }

@media (max-width: 600px) {
  .consent-banner p { white-space: normal; }
  .consent-actions [data-consent-accept] { flex: 1; }
}
