.consent-banner {
  position: fixed;
  inset: auto 16px max(16px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 24px;
  width: min(760px, calc(100% - 32px));
  max-height: 75dvh;
  overflow: auto;
  margin-inline: auto;
  padding: 14px 18px 4px;
  border: 1px solid #d7c59b;
  border-radius: 12px;
  background: #203c34;
  color: #fffaf0;
  box-shadow: 0 12px 40px #14241f44;
}
.consent-copy h2 { margin: 0 0 2px; font-size: 21px; color: inherit; }
.consent-copy p { margin: 0; color: #e1e4da; font-size: 12px; line-height: 1.55; }
.consent-copy a { color: #f1d497; }
.consent-actions { display: flex; align-items: center; gap: 8px; }
.consent-banner button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #f2e8d4;
  border-radius: 6px;
  background: #f2e8d4;
  color: #203c34;
  font-size: 12px;
  font-weight: 700;
}
.consent-banner button:hover { background: #fffaf0; }
.consent-customize { grid-column: 1 / -1; padding: 0; border: 0; }
.consent-customize summary {
  width: fit-content;
  align-content: center;
  min-height: 44px;
  padding: 0;
  font-size: 12px;
  color: #fffaf0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.consent-customize summary::after { content: " ⌄"; margin-left: 4px; }
.consent-customize[open] summary::after { content: " ⌃"; }
.consent-options {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 8px 0 12px;
  border-top: 1px solid #f2e8d452;
}
.consent-options label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 3px 8px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.consent-options input {
  grid-row: span 2;
  width: 17px;
  height: 17px;
  margin: 3px 0;
  accent-color: #f2e8d4;
}
.consent-options small { grid-column: 2; color: #e1e4da; font-size: 12px; font-weight: 400; }
.consent-banner :focus-visible { outline: 2px solid #f1d497; outline-offset: 3px; }
.consent-preferences {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-banner.consent-banner-inline {
  position: static;
  width: 100%;
  margin: 16px 0 0;
  max-height: none;
  box-shadow: none;
}
@media (max-width: 640px) {
  .consent-banner {
    inset: auto 10px max(10px, env(safe-area-inset-bottom));
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 20px);
    padding: 12px 13px 2px;
  }
  .consent-actions { margin-top: 9px; }
  .consent-actions button { flex: 1; }
}
