/* Cookie consent banner. Self-contained so it works on every page,
   including /privacy/ and /terms/, which don't load styles.css.
   Colours mirror the bronze tokens in styles.css. */
.consent-banner {
  --consent-bg: rgba(5, 6, 6, .97);
  --consent-text: #d6d0c2;
  --consent-muted: #8f8b82;
  --consent-line: rgba(151, 113, 60, .55);
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--consent-line);
  background: var(--consent-bg);
  color: var(--consent-text);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .7);
  font-family: Rajdhani, sans-serif;
}

.consent-text {
  margin: 0;
  flex: 1;
  font-size: 16px;
  line-height: 1.45;
  color: var(--consent-muted);
}

.consent-text a {
  color: var(--consent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.consent-button {
  border: 1px solid rgba(142, 109, 61, .8);
  background: rgba(10, 11, 11, .6);
  color: #d6d0c2;
  padding: 12px 18px;
  min-width: 104px;
  font-family: Oxanium, sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}

.consent-button:hover,
.consent-button:focus-visible {
  background: rgba(142, 109, 61, .28);
}

.consent-button:focus-visible {
  outline: 1px solid #d6d0c2;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .consent-actions .consent-button {
    flex: 1;
  }
}

/* Footer and policy triggers render as links. */
button[data-consent-open] {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
