/* Cookie notice (Bingo Tour). Standalone: does not depend on base.css. */

:root {
  --bt-consent-bg: rgba(150, 0, 0, .88);
  --bt-consent-fg: #ffffff;
  --bt-consent-hover-fg: #960000;
  --bt-consent-focus: #c9a84c;
  --bt-consent-radius: 35px; --bt-consent-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}

#bt-consent {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  width: calc(100% - 2rem);
  max-width: 280px;
  z-index: 900; box-shadow: var(--bt-consent-shadow);
  padding: 1.25rem;
  border-radius: var(--bt-consent-radius);
  background: var(--bt-consent-bg); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--bt-consent-fg);
  font-family: 'Google Sans Flex', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity .25s ease, transform .25s ease;
}

#bt-consent[hidden] {
  display: none;
}

#bt-consent.is-visible {
  opacity: 1;
  transform: none;
}

#bt-consent .bt-consent__text {
  margin: 0 0 0.75rem;
  color: var(--bt-consent-fg);
  opacity: 1;
}

#bt-consent .bt-consent__actions {
  display: flex;
  gap: 0.5rem;
}

/* Both buttons share one style on purpose: refusing is as visible as accepting. */
#bt-consent .bt-consent__btn {
  flex: 1;
  min-height: 30px;
  background: transparent;
  color: var(--bt-consent-fg);
  border: 1px solid var(--bt-consent-fg);
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

#bt-consent .bt-consent__btn:hover {
  background: var(--bt-consent-fg);
  color: var(--bt-consent-hover-fg);
}

#bt-consent .bt-consent__btn:focus-visible {
  outline: 2px solid var(--bt-consent-focus);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  #bt-consent {
    left: 1rem;
    bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #bt-consent {
    transition: none;
    transform: none;
  }
}

/* Footer "Cookies" button: same look as the sibling .footer-links a (base.css:164). */
.footer-cookies-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: .78rem;
  color: var(--bt-consent-fg);
  cursor: pointer;
  transition: color .25s;
}
