.consent-panel {
  position: fixed;
  z-index: 9999;
  inset: auto 0 0;
  padding: 18px;
  color: #f5f7f6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.consent-panel[hidden] {
  display: none;
}

.consent-card {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: rgba(13, 16, 14, .98);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .38);
}

.consent-copy h2 {
  max-width: 780px;
  margin: 5px 0 8px;
  color: #fff;
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.2;
}

.consent-copy > p,
.consent-details p {
  max-width: 850px;
  margin: 0 0 9px;
  color: #c9d0cc;
  font-size: .92rem;
  line-height: 1.55;
}

.consent-eyebrow {
  color: #64dda0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.consent-copy a,
.consent-details summary {
  color: #fff;
  font-size: .87rem;
  text-underline-offset: 3px;
}

.consent-details {
  margin: 8px 0;
}

.consent-details summary {
  cursor: pointer;
  font-weight: 700;
}

.consent-details p {
  margin-top: 8px;
}

.consent-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.consent-choice {
  min-height: 46px;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #f5f7f6;
  border-radius: 999px;
  background: #f5f7f6;
  color: #0d100e;
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.consent-choice:hover {
  transform: translateY(-1px);
  background: #dfe6e2;
}

.consent-choice:focus-visible,
.consent-settings:focus-visible,
.consent-copy a:focus-visible,
.consent-details summary:focus-visible {
  outline: 3px solid #ff7043;
  outline-offset: 3px;
}

.consent-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.consent-open {
  padding-bottom: 275px;
}

@media (max-width: 720px) {
  .consent-panel {
    padding: 10px;
  }

  .consent-card {
    max-height: 78vh;
    overflow: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 15px;
  }

  .consent-actions {
    grid-template-columns: 1fr 1fr;
  }

  body.consent-open {
    padding-bottom: 440px;
  }
}

@media (max-width: 430px) {
  .consent-actions {
    grid-template-columns: 1fr;
  }
}

