/* Shared by every page. Colours come from each page's own :root tokens. */

#consent-bar{position:fixed;left:0;right:0;bottom:0;z-index:999;display:flex;gap:1rem;
  flex-wrap:wrap;align-items:center;justify-content:center;
  padding:.9rem 1.1rem calc(.9rem + env(safe-area-inset-bottom,0px));
  background:#1a150e;border-top:1px solid var(--line-strong,#453b24);color:var(--ink-dim,#b7ae98);
  font-size:.92rem;line-height:1.45}
#consent-bar p{margin:0;max-width:62ch}
#consent-bar a{color:var(--gold,#e0bd57)}
#consent-bar .consent-actions{display:flex;gap:.6rem;flex:none}
/* Allow and Decline are deliberately identical in size and style. */
#consent-bar button{font:inherit;cursor:pointer;border-radius:6px;min-width:6rem;min-height:44px;
  padding:.45rem .95rem;border:1px solid var(--gold,#e0bd57);background:transparent;
  color:var(--ink,#f0ebde);font-weight:600}
#consent-bar button:hover{background:#2a2315}
#consent-bar button:focus-visible,.link-btn:focus-visible{outline:2px solid var(--focus-ring,#6fb3e0);
  outline-offset:2px}
@media (max-width:560px){#consent-bar{justify-content:flex-start}}

/* A button that reads as an inline link (opt out, change your choice). */
.link-btn{font:inherit;background:none;border:0;padding:0;color:inherit;
  text-decoration:underline;cursor:pointer}
#analytics-note:empty{display:none}

/* The bug this file exists to prevent: an author rule such as #consent-bar{display:flex}
   beats the browser's [hidden]{display:none}, so the element stays painted. [hidden] must
   win everywhere. Kept LAST so it also wins on source order, not only on specificity. */
[hidden]{display:none!important}
#consent-bar[hidden]{display:none}
