/* ------------------------------------------------------------------
 * consent.css -- cookie-consent banner (gates Google Analytics).
 * Layered over the theme, loaded last. Non-destructive: remove the
 * <link> + js/consent.js to revert (GA then never loads without the
 * old eager tag). The Accept button reuses .link-button / .music-btn.
 * ------------------------------------------------------------------ */

.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(35, 30, 26, 0.97);   /* dark warm, reads over any content */
  color: #f3efe2;                       /* cream text */
  padding: 14px 18px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.consent-banner[hidden] { display: none; }

.consent-text {
  margin: 0;
  max-width: 70ch;
  flex: 1 1 320px;
}
.consent-text a {
  color: #f0a98d;                       /* light coral, legible on dark */
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-text a:hover { color: #fff; }

.consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.consent-actions .link-button { border: 0; cursor: pointer; font-family: inherit; }

.consent-btn-decline {
  background: transparent;
  color: #f3efe2;
  border: 1px solid rgba(243, 239, 226, 0.5);
  border-radius: 3px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
}
.consent-btn-decline:hover { border-color: #f3efe2; }

@media (max-width: 767px) {
  .consent-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .consent-actions { justify-content: center; }
}
