/* Isolated from the original game cascade. No backdrop or gameplay gate. */
.privacyConsent[hidden] { display: none; }
.privacyConsent {
  position: fixed;
  z-index: 100;
  bottom: max(12px, env(safe-area-inset-bottom));
  right: 12px;
  width: min(420px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 18px;
  border: 1px solid #55896a;
  border-radius: 13px;
  background: #173b2b;
  color: #e4f9e7;
  box-shadow: 0 12px 36px #0008;
  font: 13px/1.5 Inter, ui-sans-serif, system-ui, sans-serif;
}
.privacyConsent h2 { margin: 0 28px 10px 0; font-size: 16px; }
.privacyConsent p { margin: 10px 0; }
.privacyConsent a { color: #b6f5ce; }
.privacyConsent summary { cursor: pointer; text-decoration: underline; }
.privacyConsent button { font: inherit; cursor: pointer; }
.privacyActions { display: flex; gap: 10px; }
.privacyActions button {
  flex: 1;
  padding: 10px 8px;
  border: 1px solid #86c69e;
  border-radius: 8px;
  background: #24513b;
  color: #e4f9e7;
  font-weight: 700;
}
.privacyActions button:hover { background: #31694e; }
.privacyActions button:disabled { opacity: .5; cursor: default; }
.privacyConsent .privacyClose {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #e4f9e7;
  font-size: 23px;
}
.privacyConsent button:focus-visible, .privacyConsent summary:focus-visible {
  outline: 2px solid #9ce9c0;
  outline-offset: 2px;
}
