.flc-consent-root,
.flc-consent-root * {
  box-sizing: border-box;
}

.flc-consent-root [hidden] {
  display: none !important;
}

.flc-consent-root {
  --flc-bg: #080b13;
  --flc-card: #0d111c;
  --flc-text: #f8f4ec;
  --flc-soft: #d9d2c7;
  --flc-muted: #9ca3b2;
  --flc-gold: #d4b36d;
  --flc-gold-light: #f5dfaa;
  --flc-border: rgba(255, 255, 255, 0.14);
  --flc-danger: #b94f62;

  position: relative;
  z-index: 2147483000;
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.flc-consent-backdrop {
  display: none !important;
}

.flc-consent-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483000;
  margin: 0;
  padding: 14px 18px;
  border-top: 1px solid var(--flc-border);
  background:
    radial-gradient(circle at 12% 0%, rgba(212, 179, 109, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(13, 17, 28, 0.985), rgba(6, 9, 17, 0.99));
  color: var(--flc-text);
  box-shadow: 0 -18px 55px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.flc-consent-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.flc-consent-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 179, 109, 0.38);
  border-radius: 14px;
  background: rgba(212, 179, 109, 0.08);
  color: var(--flc-gold-light);
}

.flc-consent-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flc-consent-content {
  min-width: 0;
}

.flc-consent-content h2 {
  margin: 0 0 5px !important;
  padding: 0 !important;
  color: var(--flc-text) !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.flc-consent-content p {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--flc-soft) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  font-weight: 450 !important;
}

.flc-consent-content .flc-consent-note {
  margin-top: 3px !important;
  color: var(--flc-muted) !important;
  font-size: 11px !important;
}

.flc-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 7px;
}

.flc-consent-links a {
  color: var(--flc-gold-light) !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  font-weight: 650 !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(245, 223, 170, 0.35) !important;
  text-underline-offset: 3px;
}

.flc-consent-links a:hover,
.flc-consent-links a:focus {
  color: #fff3d4 !important;
  text-decoration-color: currentColor !important;
}

.flc-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flc-btn {
  min-height: 42px;
  margin: 0 !important;
  padding: 10px 18px !important;
  border-radius: 11px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 750 !important;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.flc-btn:hover {
  transform: translateY(-1px);
}

.flc-btn:focus-visible,
.flc-consent-manage:focus-visible {
  outline: 2px solid var(--flc-gold-light);
  outline-offset: 3px;
}

.flc-btn-primary {
  border: 1px solid var(--flc-gold) !important;
  background: linear-gradient(135deg, var(--flc-gold-light), var(--flc-gold)) !important;
  color: #171207 !important;
  box-shadow: 0 9px 28px rgba(212, 179, 109, 0.18);
}

.flc-btn-secondary {
  border: 1px solid var(--flc-border) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: var(--flc-soft) !important;
}

.flc-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.075) !important;
  color: #fff !important;
}

.flc-btn[disabled] {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.flc-consent-manage {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 2147482999;
  min-height: 36px;
  margin: 0 !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(212, 179, 109, 0.34) !important;
  border-radius: 999px !important;
  background: rgba(8, 11, 19, 0.94) !important;
  color: var(--flc-gold-light) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.26);
  font-family: inherit !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.flc-form-consent-message {
  display: block;
  width: 100%;
  margin: 12px 0 !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(185, 79, 98, 0.34);
  border-radius: 10px;
  background: rgba(185, 79, 98, 0.08);
  color: #8f2f42 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  font-weight: 650 !important;
}

@media (max-width: 900px) {
  .flc-consent-shell {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .flc-consent-icon {
    width: 42px;
    height: 42px;
    align-self: start;
  }

  .flc-consent-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-left: 60px;
  }
}

@media (max-width: 620px) {
  .flc-consent-banner {
    padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
  }

  .flc-consent-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .flc-consent-icon {
    display: none;
  }

  .flc-consent-content h2 {
    font-size: 15px !important;
  }

  .flc-consent-content p {
    font-size: 12px !important;
  }

  .flc-consent-actions {
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-left: 0;
  }

  .flc-btn {
    width: 100%;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .flc-consent-manage {
    right: 12px;
    bottom: 12px;
    left: auto;
  }
}
