.consent-panel {
  position: fixed;
  z-index: 1000;
  inset: auto 1rem 1rem;
  max-width: 44rem;
  margin-inline: auto;
  max-height: 70vh;
  overflow: auto;
  padding: 1.25rem;
  background: #fff;
  color: #292524;
  border: 1px solid #78716c;
  border-radius: 0.75rem;
  box-shadow: 0 4px 24px #0003;
  line-height: 1.5;
}
.consent-panel[hidden], [data-consent-open][hidden] { display: none; }
.consent-panel h2 { font-size: 1.2rem; }
.consent-panel p { margin: 0.75rem 0; }
.consent-panel a { text-decoration: underline; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.consent-actions button, .external-media button {
  cursor: pointer;
  font: inherit;
  padding: 0.65rem 1rem;
  border: 1px solid currentColor;
  border-radius: 0.35rem;
  background: #fff;
  color: #292524;
}
.consent-actions button:focus-visible, .external-media button:focus-visible, [data-consent-open]:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
.external-media { width: 100%; }
.external-media > p { padding: 1rem; }
.external-media iframe { border: 0; }
.external-media iframe:not([height]) {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.site-footer [data-consent-open] {
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}
.site-footer [data-consent-open]:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
[data-consent-status] {
  color: var(--neutral-500);
  font-size: 0.875rem;
}
[data-consent-status]:empty { margin: 0; }
