.consent-panel {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 30;
  box-sizing: border-box;
  width: min(23rem, calc(100% - 2rem));
  background: #fffdf7;
  color: #1c3146;
  box-shadow: 0 4px 28px #132b2424;
  border: 1px solid #c6c2ad;
  padding: 1.1rem 1.25rem;
}
.consent-panel[hidden] { display: none; }
.consent-panel h2 { font: 600 1rem/1.3 system-ui, sans-serif; margin: 0; }
.consent-panel p { margin: .45rem 0 .8rem; font-size: .9rem; line-height: 1.5; }
.consent-panel a { text-underline-offset: .15em; }
.consent-actions { display: flex; gap: .5rem; }
.consent-actions button {
  border: 1px solid #a09f90; min-height: 40px; padding: .35rem .8rem; font: 600 .86rem/1.3 system-ui, sans-serif;
  background: #fffdf7; color: #1c3146; cursor: pointer; border-radius: 3px;
}
.consent-actions button:hover { background: #ecebdc; }
@media(max-width: 570px) {
  .consent-panel { width: calc(100% - 1rem); right: .5rem; bottom: max(.5rem, env(safe-area-inset-bottom)); padding: .8rem 1rem; }
}
