html { scroll-padding-bottom: var(--gg-consent-space, 0px); }
body { padding-bottom: var(--gg-consent-space, 0px); }
.gg-consent[hidden] { display: none; }
.gg-consent {
  position: fixed;
  z-index: 90;
  inset: auto 22px 16px;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1180px;
  max-height: min(50vh, 400px);
  overflow: auto;
  margin-inline: auto;
  padding: 20px 24px;
  border: 1px solid var(--ink, #161115);
  border-radius: 12px;
  background: var(--paper, #fffaf2);
  color: var(--ink, #161115);
  box-shadow: var(--shadow, 0 8px 24px #16111526);
  font-family: Arial, sans-serif;
}
.gg-consent-copy { flex: 1; }
.gg-consent h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.25; }
.gg-consent p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.gg-consent-policy { font-size: 14px; line-height: 1.4; text-underline-offset: 3px; }
.gg-consent-actions { display: flex; align-items: stretch; flex: 0 0 auto; gap: 10px; }
.gg-consent-actions button {
  min-height: 46px;
  padding: 12px 17px;
  border: 1px solid var(--ink, #161115);
  border-radius: 8px;
  background: transparent;
  color: var(--ink, #161115);
  font: 700 14px/1.4 Arial, sans-serif;
  cursor: pointer;
}
.gg-consent-actions button:hover { background: var(--ivory, #f5eddf); }
.gg-consent-actions [data-consent="granted"] { background: var(--ink, #161115); color: var(--paper, #fffaf2); }
.gg-consent-actions [data-consent="granted"]:hover { background: var(--ink-soft, #241e22); }
.gg-cookie-settings {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: start;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.gg-consent :focus-visible, .gg-cookie-settings:focus-visible { outline: 3px solid var(--red-dark, #c92e1f); outline-offset: 4px; }
@media (max-width: 800px) {
  .gg-consent { align-items: stretch; flex-direction: column; gap: 16px; padding: 18px; }
  .gg-consent-actions { width: 100%; }
  .gg-consent-actions button { flex: 1; }
}
@media (max-width: 420px) {
  .gg-consent { inset-inline: 12px; bottom: 12px; padding: 16px; }
  .gg-consent-actions { gap: 8px; }
  .gg-consent-actions button { padding: 10px; }
}
