.gzc-root,
.gzc-root * { box-sizing: border-box; }

.gzc-banner {
  position: fixed;
  z-index: 2147483000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  max-width: 78rem;
  margin: 0 auto;
  padding: 1.2rem;
  color: #f7f7f7;
  background: #111;
  border: 1px solid #454545;
  border-radius: .75rem;
  box-shadow: 0 .75rem 2.5rem rgba(0, 0, 0, .42);
  font: 400 1rem/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gzc-banner[hidden], .gzc-modal[hidden] { display: none !important; }
.gzc-banner h2, .gzc-dialog h2 { margin: 0 0 .45rem; font-size: 1.25rem; line-height: 1.25; color: inherit; }
.gzc-banner p, .gzc-dialog p { margin: 0; }
.gzc-policy { display: inline-block; margin-top: .55rem; color: #fff; text-decoration: underline; }
.gzc-banner-actions, .gzc-dialog-actions { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: flex-end; }

.gzc-button, .gzc-close {
  min-height: 2.75rem;
  border: 2px solid #fff;
  border-radius: .35rem;
  padding: .65rem .9rem;
  cursor: pointer;
  font: 700 .95rem/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.gzc-button-choice { color: #111; background: #fff; }
.gzc-button-secondary { color: #fff; background: transparent; }
.gzc-button:hover, .gzc-button:focus-visible { outline: 3px solid #f7c948; outline-offset: 2px; }

.gzc-footer-settings {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.gzc-root .gzc-footer-settings-link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  max-width: 100%;
  margin: 0;
  padding: .55rem 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: .2rem;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  line-height: 1.35;
  text-align: left;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.gzc-root .gzc-footer-settings-link:hover { text-decoration-thickness: .13em; }
.gzc-root .gzc-footer-settings-link:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 2px;
}

.gzc-modal { position: fixed; z-index: 2147483001; inset: 0; display: grid; place-items: center; padding: 1rem; }
.gzc-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .68); }
.gzc-dialog {
  position: relative;
  width: min(44rem, 100%);
  max-height: min(48rem, calc(100vh - 2rem));
  overflow: auto;
  padding: 1.25rem;
  color: #161616;
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 1rem 4rem rgba(0, 0, 0, .5);
  font: 400 1rem/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.gzc-dialog:focus { outline: 3px solid #111; }
.gzc-dialog-head { display: flex; gap: 1rem; justify-content: space-between; align-items: start; }
.gzc-close { min-width: 2.75rem; padding: .35rem; color: #111; background: #fff; border-color: #111; font-size: 1.4rem; }
.gzc-categories { display: grid; gap: .65rem; margin: 1rem 0; }
.gzc-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .25rem 1rem;
  align-items: center;
  padding: .85rem;
  border: 1px solid #cfcfcf;
  border-radius: .5rem;
  cursor: pointer;
}
.gzc-category input { width: 1.35rem; height: 1.35rem; accent-color: #111; }
.gzc-category small { display: block; color: #555; }
.gzc-description { grid-column: 1 / -1; color: #333; font-size: .92rem; }
.gzc-category-required { background: #f2f2f2; cursor: default; }
.gzc-dialog-actions .gzc-button-choice { color: #fff; background: #111; border-color: #111; }
.gzc-dialog-actions .gzc-button-secondary { color: #111; background: #fff; border-color: #111; }
.gzc-modal-open { overflow: hidden; }
.gzc-embed-placeholder { padding: 1rem; background: #f3f3f3; border: 1px dashed #777; text-align: center; }
.gzc-embed-active { padding: 0; border: 0; }
.gzc-embed-active iframe { display: block; width: 100%; min-height: 22rem; border: 0; }
.gzc-noscript { padding: .75rem; color: #111; background: #fff4cc; }

@media (max-width: 760px) {
  .gzc-banner { grid-template-columns: 1fr; right: .5rem; bottom: .5rem; left: .5rem; padding: 1rem; }
  .gzc-banner-actions, .gzc-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .gzc-banner-actions .gzc-button-secondary, .gzc-dialog-actions .gzc-button-secondary { grid-column: 1 / -1; }
  .gzc-button { width: 100%; }
  .gzc-dialog { max-height: calc(100vh - 1rem); padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gzc-root * { scroll-behavior: auto !important; transition: none !important; }
}
