.club-cookie-notice {
  position: fixed;
  z-index: 40;
  inset-inline: 0;
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(448px, calc(100% - 32px));
  max-height: calc(100dvh - 24px);
  margin-inline: auto;
  padding: 20px;
  overflow-y: auto;
  box-sizing: border-box;
  container-type: inline-size;
  border: 1px solid #e2e6ed;
  border-radius: 24px;
  color: var(--brand-blue, #2c3954);
  background: var(--canvas, #f8f7f4);
  box-shadow: 0 8px 32px rgba(44, 57, 84, 0.16);
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.club-cookie-notice[hidden],
html.menu-open .club-cookie-notice,
html.review-dialog-open .club-cookie-notice,
html.club-join-open .club-cookie-notice {
  display: none;
}

.club-cookie-notice__text {
  min-width: 0;
  width: 100%;
  margin: 0;
  font: inherit;
  font-size: min(15px, 4.3cqw);
  white-space: nowrap;
}

.club-cookie-notice__text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.club-cookie-notice__accept {
  flex: 0 0 auto;
  min-height: 52px;
  padding: 12px 28px;
  border: 0;
  border-radius: 16px;
  color: var(--brand-blue, #2c3954);
  background: var(--button-gradient, linear-gradient(135deg, #9ec2f7 0%, #96b3f2 42%, #6e85b6 100%));
  font: 750 17px/1.4 Manrope, Arial, sans-serif;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
}

.club-cookie-notice a:focus-visible,
.club-cookie-notice button:focus-visible {
  outline: 2px solid #2c3954;
  outline-offset: 4px;
  box-shadow: none;
}

@media (hover: hover) {
  .club-cookie-notice__accept:hover {
    filter: brightness(1.04);
  }
}

@media (min-width: 1024px) {
  .club-cookie-notice {
    inset-inline-start: auto;
    inset-inline-end: 24px;
    bottom: 24px;
    align-items: flex-start;
    gap: 20px;
    width: 460px;
    max-height: calc(100dvh - 48px);
    margin-inline: 0;
    padding: 28px;
    border-radius: 24px;
    font-size: 16px;
  }

  .club-cookie-notice__text {
    font-size: inherit;
  }

  .club-cookie-notice__accept {
    width: 100%;
    min-width: 180px;
    min-height: 52px;
    border-radius: 18px;
    font-size: 17px;
  }
}

@media (max-width: 360px) {
  .club-cookie-notice {
    width: calc(100% - 8px);
    padding: 16px 8px;
  }
}

@media print {
  .club-cookie-notice { display: none; }
}
