.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 0.6rem;
  transform: translate(-50%, calc(100% + 1rem));
  width: min(760px, calc(100% - 1rem));
  z-index: 9999;
  border: 1px solid rgba(224, 181, 132, 0.42);
  border-radius: 0.8rem;
  background:
    linear-gradient(165deg, rgba(79, 48, 29, 0.32), rgba(29, 18, 12, 0.3)),
    rgba(18, 11, 8, 0.9);
  backdrop-filter: blur(12px) saturate(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
  color: #f1d0ad;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.consent-banner.is-visible {
  transform: translate(-50%, 0);
}

.consent-banner__inner {
  padding: 0.75rem 0.8rem;
  display: grid;
  gap: 0.55rem;
}

.consent-banner__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  color: #e9c8a6;
}

.consent-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
}

.consent-banner__links a {
  color: #f1d0ad;
  text-decoration: underline;
  text-underline-offset: 0.15rem;
  font-size: 0.86rem;
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.consent-btn {
  border: 1px solid rgba(216, 168, 118, 0.62);
  border-radius: 999px;
  background: rgba(21, 12, 8, 0.64);
  color: #f1d0ad;
  padding: 0.38rem 0.7rem;
  font-family: "Cinzel", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.62rem;
  cursor: pointer;
}

.consent-btn--primary {
  background: linear-gradient(180deg, rgba(58, 33, 19, 0.9), rgba(30, 18, 11, 0.9));
}

.consent-panel {
  border-top: 1px solid rgba(216, 168, 118, 0.28);
  padding-top: 0.55rem;
  display: none;
  gap: 0.5rem;
}

.consent-panel.is-open {
  display: grid;
}

.consent-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.consent-toggle__meta strong {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.consent-toggle__meta small {
  display: block;
  color: #d9b793;
  font-size: 0.88rem;
  line-height: 1.2;
}

.consent-switch {
  width: 2.5rem;
  height: 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 168, 118, 0.62);
  background: rgba(13, 8, 6, 0.8);
  position: relative;
}

.consent-switch::after {
  content: "";
  position: absolute;
  top: 0.12rem;
  left: 0.15rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #e2bb95;
  transition: transform 0.18s ease;
}

.consent-switch.is-on::after {
  transform: translateX(1.12rem);
}

.consent-switch[aria-disabled="true"] {
  opacity: 0.55;
}

.consent-embed {
  position: relative;
}

.consent-embed__placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 0.9rem;
  background:
    radial-gradient(circle at 25% 30%, rgba(182, 110, 56, 0.18), transparent 48%),
    linear-gradient(180deg, #110a07, #090706);
}

.consent-embed__placeholder p {
  margin: 0;
  color: #e9c8a6;
  font-size: 0.95rem;
}

.consent-embed__actions {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .consent-banner {
    bottom: 0.45rem;
    width: calc(100% - 0.7rem);
    border-radius: 0.72rem;
  }

  .consent-banner__inner {
    padding: 0.62rem 0.65rem;
    gap: 0.45rem;
  }

  .consent-banner__text {
    font-size: 0.94rem;
    line-height: 1.22;
  }
}
