/* Analytics consent banner: non-modal, bottom corner, never covers the page on small screens. */
.ga-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  gap: 12px;
  width: min(420px, calc(100% - 32px));
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 40px #16234026;
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.6;
}
.ga-consent a {
  color: var(--accent-text, var(--accent));
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ga-consent > div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.ga-consent .ui-button {
  --btn-fs: 0.875rem;
  --btn-h: 40px;
}
.ga-consent a:focus-visible,
.ga-consent button:focus-visible {
  outline: 2px solid var(--focus-ring, var(--accent));
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .ga-consent {
    right: 8px;
    bottom: 8px;
    width: calc(100% - 16px);
  }
  .ga-consent > div > * {
    flex: 1;
  }
}
