/* Cookie consent card. Plain CSS in px so it works on every layout (main site uses 1rem = 10px; Staverton does not). */
.tb-consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 70;
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 380px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #102542;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 12px 32px rgba(16, 37, 66, 0.28);
  animation: tb-consent-in 260ms ease-out both;
}
.tb-consent[hidden] { display: none; }
.tb-consent-text { margin: 0 0 16px; }
.tb-consent-text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.tb-consent-text a:hover { color: #f77061; }
.tb-consent-actions { display: flex; gap: 10px; }
.tb-consent-btn {
  flex: 1 1 0;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.tb-consent-accept { background: #f77061; color: #102542; }
.tb-consent-accept:hover { background: #ff8678; }
.tb-consent-decline { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.tb-consent-decline:hover { background: rgba(255, 255, 255, 0.18); }
.tb-consent-btn:focus-visible, .tb-consent-text a:focus-visible { outline: 2px solid #f77061; outline-offset: 2px; }

@media (max-width: 480px) {
  .tb-consent { left: 12px; bottom: 12px; width: calc(100% - 24px); max-width: none; padding: 16px 18px; font-size: 14px; }
}

@keyframes tb-consent-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tb-consent { animation: none; }
  .tb-consent-btn { transition: none; }
}
