/* The statistics banner, shared by every static page (see consent.js). It is
   not a modal: the page stays usable, and it never covers a primary action. */
.consent {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px max(14px, env(safe-area-inset-bottom));
  background: #1b1030f5;
  backdrop-filter: blur(12px);
  border-top: 1px solid #f2c75c66;
  color: #fff6e0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.consent[hidden] {
  display: none;
}
.consent-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.consent p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #d9ccee;
}
.consent p a {
  color: #f2c75c;
  font-weight: 700;
}
.consent-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
/* Equal weight: neither answer is the "right" one. */
.consent button {
  min-height: 44px;
  min-width: 112px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid #f2c75c;
  background: transparent;
  color: #fff6e0;
  font: 800 15px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
}
.consent button:hover {
  background: #f2c75c22;
}
.consent button:focus-visible {
  outline: 3px solid #f2c75c;
  outline-offset: 3px;
}
@media (max-width: 420px) {
  .consent-actions {
    width: 100%;
  }
  .consent button {
    flex: 1;
  }
}
/* In the page's flow, after the invite card, never over its buttons. */
.consent.inline {
  position: static;
  margin-top: 20px;
  border: 1px solid #f2c75c66;
  border-radius: 16px;
  padding: 14px 16px;
  backdrop-filter: none;
  text-align: left;
}
/* While the banner is up, the page's end and the quick-play bar stay above it. */
.consent-open body {
  padding-bottom: var(--consent-h, 0px);
}
.consent-open .mobile-play {
  bottom: var(--consent-h, 0px);
}
