.fm-consent {
  position: fixed;
  z-index: 99999;
  inset: auto 16px 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.fm-consent__inner {
  width: min(760px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(8, 8, 8, 0.98);
  color: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.58);
  pointer-events: auto;
}

.fm-consent h2 {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 3vw, 1.35rem);
}

.fm-consent p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.fm-consent a {
  color: #fff;
  text-decoration: underline;
}

.fm-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fm-consent__button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.fm-consent__button--primary {
  border-color: #fff;
  background: #fff;
  color: #080808;
}

.fm-consent__button:hover {
  transform: translateY(-1px);
}

.fm-consent__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.fm-privacy-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 560px) {
  .fm-consent {
    inset: auto 10px 10px;
  }

  .fm-consent__inner {
    padding: 18px;
  }

  .fm-consent__actions {
    display: grid;
  }

  .fm-consent__button {
    width: 100%;
  }
}