/* Cookie consent banner. */

#cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(5.4rem + env(safe-area-inset-bottom));
  z-index: 90;
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  padding: 1rem 1.25rem;
}
@media (min-width: 1024px) {
  /* Center against the viewport, not the app content shifted by the nav rail. */
  #cookie-banner { bottom: 1.25rem; left: 1rem; right: 1rem; }
}
#cookie-banner[hidden] { display: none; }
#cookie-banner p { margin: 0; flex: 1 1 16rem; font-size: 0.88rem; color: var(--muted); }
#cookie-banner p strong { color: var(--text); }
#cookie-banner a { color: var(--text); text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 0.6rem; margin-left: auto; }
.cookie-actions button { min-height: 2.4rem; padding: 0.45rem 1.1rem; border-radius: 999px; }
