/* Self-host with the existing BattleStrike dark/cyan theme. No external fonts/assets. */
.bs-cookie-dialog {
  color-scheme: dark;
  width: min(36rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  color: #eef8ff;
  background: #0b1825;
  border: 1px solid #426077;
  border-radius: 1rem;
  box-shadow: 0 1.25rem 4rem rgb(0 0 0 / 55%);
  font-family: inherit;
  line-height: 1.55;
  overflow: auto;
}
.bs-cookie-dialog::backdrop { background: rgb(2 9 17 / 76%); }
.bs-cookie-fallback:not([hidden]) {
  position: fixed;
  z-index: 2147483647;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}
.bs-cookie-fallback[hidden] { display: none; }
.bs-cookie-fallback-backdrop:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: rgb(2 9 17 / 76%);
}
.bs-cookie-fallback-backdrop[hidden] { display: none; }
.bs-cookie-panel { position: relative; padding: 2rem; }
.bs-cookie-dialog h2 {
  margin: 0 2rem 1rem 0;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  line-height: 1.25;
  color: #fff;
}
.bs-cookie-dialog p { margin: 0 0 1rem; }
.bs-cookie-eyebrow {
  color: #82e9ff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.bs-cookie-details, .bs-cookie-status { color: #cadce9; font-size: .9rem; }
.bs-cookie-status { min-height: 2.8em; margin-top: 1rem !important; }
.bs-cookie-policy { display: inline-block; color: #82e9ff; text-decoration: underline; }
.bs-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.bs-cookie-button, .bs-cookie-close {
  font: inherit;
  cursor: pointer;
  color: #eef8ff;
  border: 1px solid #64d6ed;
  background: #143247;
}
.bs-cookie-button {
  min-height: 3rem;
  padding: .75rem 1rem;
  border-radius: .6rem;
  font-weight: 700;
}
.bs-cookie-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .5rem;
  font-size: 1.65rem;
  line-height: 1;
}
.bs-cookie-button:hover, .bs-cookie-close:hover { background: #20485e; }
.bs-cookie-dialog :focus-visible {
  outline: 3px solid #ffe080;
  outline-offset: 4px;
}
@media (max-width: 30rem) {
  .bs-cookie-panel { padding: 1.5rem 1.25rem; }
  .bs-cookie-actions { grid-template-columns: 1fr; }
}
@media (forced-colors: active) {
  .bs-cookie-dialog { border: 2px solid CanvasText; }
  .bs-cookie-button, .bs-cookie-close { border: 2px solid ButtonText; }
}
