/*
 * Cookie consent (src/client/consent.js): a bar at the bottom. «Rifiuta» and «Accetta» look the same.
 * Outside public/: the build copies it to /consent.css only when analytics is on (src/build/analytics.ts).
 */
.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10;
  background: var(--surface);
  border-top: 2px solid var(--border-strong);
  padding: var(--space-md) 0;
  font-size: 0.9rem;
}
.consent[hidden],
.link-button[hidden] {
  display: none;
}
.consent-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-lg);
}
.consent-row p {
  flex: 1 1 280px;
  margin: 0;
}
.consent-actions {
  display: flex;
  gap: var(--space-sm);
}
.consent .button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
/* The footer «Preferenze cookie» button reads as a footer link. */
.link-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}
.link-button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
