/**
 * Cookie banner (js/consent.js): a small card in the bottom corner, in the
 * site's chrome colors, so it reads as part of the page rather than a popup.
 */
.mia-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  max-width: 24rem;
  padding: .9rem 1rem;
  background: var(--bs-body-bg);
  color: var(--mia-ink);
  border: 1px solid var(--mia-hair);
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}
.mia-consent[hidden] { display: none; }
.mia-consent p {
  margin: 0 0 .7rem;
  font-size: .88rem;
  line-height: 1.45;
}
.mia-consent p a { color: var(--mia-acc); }
.mia-consent-buttons { display: flex; gap: .5rem; }
.mia-consent button {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .45rem .9rem;
  border-radius: 3px;
  border: 1px solid var(--mia-acc);
  cursor: pointer;
}
.mia-consent-yes { background: var(--mia-acc); color: #fff; }
.mia-consent-no { background: transparent; color: var(--mia-acc); }
[data-bs-theme="dark"] .mia-consent { box-shadow: 0 6px 24px rgba(0, 0, 0, .5); }
[data-bs-theme="dark"] .mia-consent-yes { color: #111417; }
@media (max-width: 575.98px) {
  .mia-consent { left: 1rem; max-width: none; }
}
