.kb-consent {
  position: fixed;
  z-index: 2147483000;
  left: 50%;
  right: auto;
  bottom: max(22px, env(safe-area-inset-bottom));
  width: min(404px, calc(100vw - 40px));
  color: #f3ead8;
  background: linear-gradient(135deg, rgba(18, 16, 13, .88), rgba(43, 34, 24, .84));
  border: 1px solid rgba(212, 175, 55, .32);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  opacity: 0;
  transform: translate3d(-50%, 10px, 0);
  pointer-events: none;
  transition: opacity .32s ease, transform .32s ease;
}

.kb-consent.kb-consent--visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
  pointer-events: auto;
}

.kb-consent__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 13px 12px 13px 16px;
}

.kb-consent__text {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: rgba(243, 234, 216, .9);
  font: 400 13px/1.42 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.kb-consent__link {
  color: #d4af37;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, .38);
  transition: color .2s ease, border-color .2s ease;
}

.kb-consent__link:hover {
  color: #f1d98a;
  border-bottom-color: rgba(241, 217, 138, .72);
}

.kb-consent__button {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: inline-grid;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(241, 217, 138, .52);
  border-radius: 50%;
  color: #17120c;
  background: linear-gradient(135deg, #f1d98a, #bd8e3e);
  box-shadow: 0 9px 22px rgba(189, 142, 62, .22);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.kb-consent__button::before,
.kb-consent__button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 1.7px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.kb-consent__button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.kb-consent__button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.kb-consent__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(189, 142, 62, .3);
  filter: brightness(1.04);
}

.kb-consent__button:focus-visible,
.kb-consent__link:focus-visible {
  outline: 2px solid rgba(241, 217, 138, .85);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .kb-consent {
    left: 12px;
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    width: auto;
    transform: translate3d(0, 10px, 0);
  }

  .kb-consent.kb-consent--visible {
    transform: translate3d(0, 0, 0);
  }

  .kb-consent__inner {
    grid-template-columns: 36px 1fr;
    gap: 10px;
    padding: 12px;
  }

  .kb-consent__button {
    justify-self: start;
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  .kb-consent__text {
    font-size: 12px;
    line-height: 1.34;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kb-consent,
  .kb-consent__button,
  .kb-consent__link {
    transition: none;
  }
}
