.ku-cookie,
.ku-cookie * {
  box-sizing: border-box;
}

.ku-cookie[hidden] {
  display: none !important;
}

.ku-cookie {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: min(440px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 25px 22px 20px;
  border: 1px solid #f1d6df;
  border-radius: 20px;
  background: #fff;
  color: #261a20;
  box-shadow: 0 12px 36px rgb(54 20 33 / 18%);
  font: 15px/1.5 system-ui, sans-serif;
}

.ku-cookie::before {
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: radial-gradient(
    ellipse 10px 8px at 10px 0,
    #ff4b83 96%,
    transparent 100%
  ) repeat-x;
  background-size: 20px 9px;
  content: "";
}

.ku-cookie .ku-cookie__title {
  margin: 0 0 6px;
  color: #261a20;
  font: 750 21px/1.25 system-ui, sans-serif;
  text-transform: none;
}

.ku-cookie .ku-cookie__text {
  margin: 0 0 9px;
  color: #594953;
  font: inherit;
}

.ku-cookie .ku-cookie__link {
  color: #ad1e4d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ku-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ku-cookie .ku-cookie__button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #ad1e4d;
  border-radius: 999px;
  background: #fff;
  color: #ad1e4d;
  font: 650 14px/1.3 system-ui, sans-serif;
  cursor: pointer;
}

.ku-cookie .ku-cookie__button--accept {
  background: #c32355;
  color: #fff;
}

.ku-cookie .ku-cookie__button:hover {
  background: #fff0f5;
}

.ku-cookie .ku-cookie__button--accept:hover {
  background: #a91b49;
}

.ku-cookie :focus-visible,
.ku-cookie-settings:focus-visible {
  outline: 2px solid #ad1e4d;
  outline-offset: 3px;
}

.ku-cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 480px) {
  .ku-cookie {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 24px);
    padding: 23px 16px 16px;
  }

  .ku-cookie .ku-cookie__button {
    flex-basis: 100%;
  }
}