.flustle-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 80;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.flustle-consent__panel {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(920px, 100%);
  padding: 18px 18px 18px 22px;
  pointer-events: auto;
  color: #0b0d12;
  background: #fff;
  border: 1px solid rgba(11, 13, 18, 0.08);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(11, 13, 18, 0.16);
  font-family: Inter, sans-serif;
}

.flustle-consent__copy {
  min-width: 0;
  flex: 1;
}

.flustle-consent__title {
  margin: 0 0 4px;
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.flustle-consent__copy p:last-child {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #3d4148;
}

.flustle-consent__copy a {
  color: #8e0000;
  font-weight: 600;
  text-underline-offset: 2px;
}

.flustle-consent__actions {
  display: flex;
  flex: none;
  gap: 8px;
}

.flustle-consent__btn {
  appearance: none;
  margin: 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.flustle-consent__btn:focus-visible {
  outline: 2px solid #8e0000;
  outline-offset: 3px;
}

.flustle-consent__btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #b40606 0%, #8e0000 100%);
  border: 1px solid #8e0000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.flustle-consent__btn--primary:hover,
.flustle-consent__btn--primary:focus-visible {
  filter: brightness(1.08);
}

.flustle-consent__btn--ghost {
  color: #0b0d12;
  background: #fff;
  border: 1px solid #d5dae1;
}

.flustle-consent__btn--ghost:hover,
.flustle-consent__btn--ghost:focus-visible {
  color: #fff;
  background: #0b0d12;
  border-color: #0b0d12;
}

.fp-foot__legal button[data-consent-open] {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.fp-foot__legal button[data-consent-open]:hover,
.fp-foot__legal button[data-consent-open]:focus-visible {
  color: #fff;
}

body:has(.flustle-consent:not([hidden])) {
  padding-bottom: 132px;
}

body:has(.flustle-consent:not([hidden])) .fp-help {
  bottom: 148px;
}

@media (max-width: 767px) {
  .flustle-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .flustle-consent__panel {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .flustle-consent__actions {
    flex-direction: column;
  }

  .flustle-consent__btn {
    width: 100%;
  }

  body:has(.flustle-consent:not([hidden])) {
    padding-bottom: 240px;
  }

  body:has(.flustle-consent:not([hidden])) .fp-help {
    bottom: 256px;
  }
}
