.google-consent-banner {
  position: fixed;
  z-index: 90;
  left: max(12px, env(safe-area-inset-left, 0px));
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  width: min(408px, calc(100% - 24px));
  max-height: min(65vh, 28rem);
  max-height: min(65dvh, 28rem);
  overflow: auto;
  padding: 15px;
  color: var(--ink, #252422);
  background: #fff;
  border: 1px solid var(--line, #e7dcd6);
  border-top: 3px solid #a20201;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgb(44 24 17 / 14%);
  font-size: 14px;
  line-height: 1.45;
}

.google-consent-banner[hidden], .google-consent-options[hidden] { display: none; }
.google-consent-banner h2 { margin: 0 0 5px; font-size: 19px; line-height: 1.25; }
.google-consent-banner p { margin: 0 0 4px; }
.google-consent-banner a { color: #8b1313; text-decoration: underline; text-underline-offset: 2px; }
.google-consent-actions {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 6px;
  margin-top: 10px;
}

.google-consent-choice {
  min-height: 44px;
  padding: 5px 4px;
  border: 1px solid #d5b6b1;
  border-radius: 8px;
  background: #fffaf7;
  color: #751716;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.google-consent-choice:hover { background: #fff5ee; }
.google-consent-choice:focus-visible, .google-consent-banner a:focus-visible {
  outline: 2px solid #8b1313;
  outline-offset: 2px;
}
.google-consent-options {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line, #e7dcd6);
}
.google-consent-options label { display: flex; align-items: center; gap: 8px; }
.google-consent-options input { width: 18px; height: 18px; margin: 0; accent-color: #a20201; }
.google-consent-change { display: block; margin: 16px auto; }
.chef-consented-ad { display: block; }

@media (max-width: 360px) {
  .google-consent-banner { padding: 11px; }
  .google-consent-choice { font-size: 14px; }
}
