.fc-consent-banner,
.fc-consent-banner * {
  box-sizing: border-box;
}

.fc-consent-banner {
  position: fixed;
  z-index: 10000;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 11px max(20px, calc((100vw - 1180px) / 2));
  color: #15151a;
  background: rgba(255, 255, 255, 0.97);
  border: 0;
  border-top: 1px solid rgba(15, 15, 20, 0.1);
  border-radius: 0;
  box-shadow: 0 -10px 34px rgba(9, 12, 20, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 180ms ease, transform 180ms ease;
}

html[data-theme='dark'] .fc-consent-banner {
  color: #f5f5f7;
  background: rgba(17, 17, 22, 0.97);
  border-top-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.32);
}

.fc-consent-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fc-consent-banner[hidden] {
  display: none !important;
}

.fc-consent-copy h2 {
  margin: 0 0 2px;
  color: inherit;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fc-consent-copy p {
  margin: 0;
  color: rgba(21, 21, 26, 0.7);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

html[data-theme='dark'] .fc-consent-copy p {
  color: rgba(245, 245, 247, 0.68);
}

.fc-consent-copy a {
  color: inherit;
  font-weight: 600;
  text-underline-offset: 3px;
}

.fc-consent-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 0;
}

.fc-consent-action,
.fc-consent-settings {
  appearance: none;
  border: 0;
  font: 600 12px/1 'Inter', system-ui, sans-serif;
  cursor: pointer;
}

.fc-consent-action {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  white-space: nowrap;
}

.fc-consent-action--accept {
  color: #fff;
  background: #2377df;
}

.fc-consent-action--reject {
  color: #15151a;
  background: #ececf1;
  border: 1px solid rgba(15, 15, 20, 0.08);
}

html[data-theme='dark'] .fc-consent-action--reject {
  color: #f5f5f7;
  background: #292930;
  border-color: rgba(255, 255, 255, 0.08);
}

.fc-consent-action:hover,
.fc-consent-settings:hover {
  filter: brightness(0.96);
}

.fc-consent-action:focus-visible,
.fc-consent-settings:focus-visible {
  outline: 3px solid rgba(35, 119, 223, 0.35);
  outline-offset: 2px;
}

.fc-consent-settings-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 12px auto 0;
  text-align: center;
}

.fc-consent-settings-wrap--floating {
  position: fixed;
  z-index: 9998;
  bottom: 12px;
  left: 12px;
  width: auto;
  margin: 0;
}

.fc-consent-settings {
  padding: 7px 10px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.58;
}

@media (max-width: 560px) {
  .fc-consent-banner {
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    padding: 12px 14px max(12px, env(safe-area-inset-bottom));
    border-radius: 0;
  }

  .fc-consent-actions {
    gap: 8px;
    margin-top: 10px;
  }

  .fc-consent-action {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-consent-banner {
    transition: none;
  }
}
