.aci-legal-footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  font:
    13px/1.4 system-ui,
    sans-serif;
}
.aci-legal-overlay {
  position: fixed;
  z-index: 45;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 5px 12px calc(5px + env(safe-area-inset-bottom, 0px));
  border-radius: 10px 10px 0 0;
  background: #10272ef2;
  color: #eaf6f4;
}
.aci-legal-overlay a {
  color: inherit;
}
@media (max-width: 380px) {
  .aci-legal-overlay {
    font-size: 11px;
    gap: 8px;
    padding-inline: 8px;
  }
}
/* Keep the centered chat line above the legal footer, including on mobile. */
body:has(.aci-legal-overlay) .walk-game-page .game-chat-dock {
  bottom: calc(34px + env(safe-area-inset-bottom, 0px));
}
.aci-cookie-notice {
  position: fixed;
  z-index: 1000;
  bottom: calc(44px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: min(540px, calc(100% - 32px));
  box-sizing: border-box;
  max-height: 60dvh;
  overflow: auto;
  padding: 18px;
  border: 1px solid #769f94;
  border-radius: 12px;
  background: #10272e;
  color: #eaf6f4;
  box-shadow: 0 4px 24px #0006;
  font:
    15px/1.5 system-ui,
    sans-serif;
}
.aci-cookie-notice[hidden] {
  display: none;
}
.aci-cookie-notice p {
  margin: 0 0 12px;
}
.aci-cookie-notice a:link,
.aci-cookie-notice a:visited {
  color: #bce8e0;
}
.aci-cookie-notice button {
  display: block;
  margin: 12px 0 0 auto;
  padding: 10px 16px;
  border: 1px solid #bce8e0;
  border-radius: 8px;
  background: #21434b;
  color: white;
  font: inherit;
  cursor: pointer;
}
.aci-legal-footer a:focus-visible,
[data-aci-consent]:focus-visible,
.aci-cookie-notice :focus-visible {
  outline: 3px solid #f4d27d;
  outline-offset: 3px;
}
body.aci-privacy-page {
  margin: 0;
  padding: 24px;
  background: #f4f7f6;
  color: #153039;
  font:
    17px/1.65 system-ui,
    sans-serif;
}
.aci-privacy-page main {
  max-width: 820px;
  margin: auto;
}
.aci-privacy-page a {
  color: #075e68;
}
.aci-privacy-page h1 {
  line-height: 1.2;
}
.aci-privacy-page h2 {
  margin-top: 2em;
  line-height: 1.3;
}
.aci-privacy-page code {
  overflow-wrap: anywhere;
}
.aci-privacy-page footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #afc8c3;
}
@media print {
  .aci-cookie-notice,
  .aci-legal-overlay {
    display: none;
  }
}
