.cookie-notice[hidden] { display: none !important; }
.cookie-notice {
  box-sizing: border-box;
  position: fixed;
  z-index: 2400;
  inset-inline-end: 16px;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: min(360px, calc(100vw - 32px));
  max-height: min(40vh, 260px);
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(202, 218, 211, .3);
  border-radius: 12px;
  background: #151b19;
  color: #f1f5f2;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .4);
  font: 12.5px/1.5 system-ui, sans-serif;
}
.cookie-notice__copy { min-width: 0; }
.cookie-notice__copy strong { display: block; margin-block-end: 4px; font-size: 13px; }
.cookie-notice__copy p { margin: 0; color: #d1ded6; }
.cookie-notice__copy a { color: #c9f779; text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice__copy a:focus-visible, .cookie-notice__close:focus-visible { outline: 2px solid #c9f779; outline-offset: 3px; }
.cookie-notice__close {
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(202, 218, 211, .4);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: 20px/1 system-ui, sans-serif;
}
body.teambuilder-page.tb-journey:not([data-builder-step="4"]) .cookie-notice {
  bottom: calc(132px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 768px) {
  body:not(.teambuilder-page) .cookie-notice {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
  body.teambuilder-page.tb-journey:not([data-builder-step="4"]) .cookie-notice {
    bottom: calc(144px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 600px) {
  .cookie-notice { inset-inline-end: 12px; width: min(320px, calc(100vw - 24px)); padding: 11px; }
}
