.tgv-consent {
  position: fixed;
  z-index: 2147483647;
  inset: auto 16px 16px;
  display: none;
  justify-content: center;
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
}

.tgv-consent.is-open {
  display: flex;
}

.tgv-consent__panel {
  width: min(720px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.1rem, 4vw, 1.6rem);
  border: 1px solid rgba(243, 203, 120, .42);
  border-radius: 20px;
  background: linear-gradient(145deg, #24121a, #0e0e12 72%);
  color: #fff8ed;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

.tgv-consent__panel h2 {
  margin: 0 0 .45rem;
  color: inherit;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.tgv-consent__panel p {
  margin: 0;
  color: rgba(255, 248, 237, .8);
  font-size: .94rem;
  line-height: 1.55;
}

.tgv-consent__panel a {
  color: #ffd98b !important;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tgv-consent__choice {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: 1rem 0 0;
  padding: .8rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  color: #fff8ed;
}

.tgv-consent__choice span {
  display: block;
}

.tgv-consent__choice small {
  display: block;
  margin-top: .2rem;
  color: rgba(255, 248, 237, .66);
}

.tgv-consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin-top: 1rem;
}

.tgv-consent__actions button {
  min-height: 46px;
  padding: .7rem 1rem;
  border: 1px solid rgba(243, 203, 120, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #fff8ed;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.tgv-consent__actions button:hover,
.tgv-consent__actions button:focus-visible {
  background: rgba(243, 203, 120, .14);
  outline: 3px solid rgba(243, 203, 120, .48);
  outline-offset: 2px;
}

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

  .tgv-consent__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 560px) {
  .tgv-consent {
    inset: 6px;
    align-items: flex-start;
  }

  .tgv-consent__panel {
    max-height: calc(100dvh - 12px);
    padding: 1rem;
  }
}
