.gc-vicc-banner,
.gc-vicc-modal-wrap {
  --gc-vicc-accent: #63ab45;
  font-family: inherit;
  box-sizing: border-box;
}
.gc-vicc-banner *,
.gc-vicc-modal-wrap * { box-sizing: border-box; }
.gc-vicc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  z-index: 999998;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.gc-vicc-pos-top { top: 14px; }
.gc-vicc-pos-bottom { bottom: max(14px, env(safe-area-inset-bottom)); }
.gc-vicc-pos-bottom-left { bottom: max(14px, env(safe-area-inset-bottom)); justify-content: flex-start; }
.gc-vicc-pos-bottom-right { bottom: max(14px, env(safe-area-inset-bottom)); justify-content: flex-end; }
.gc-vicc-box {
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: rgba(19, 23, 22, 0.96);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.28);
  pointer-events: auto;
  backdrop-filter: blur(14px);
}
.gc-vicc-copy strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
  margin: 0 0 4px;
}
.gc-vicc-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.92;
}
.gc-vicc-privacy {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: #fff;
  text-decoration: underline;
  opacity: 0.85;
}
.gc-vicc-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.gc-vicc-btn,
.gc-vicc-link-btn,
.gc-vicc-open-preferences {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}
.gc-vicc-btn {
  color: #151515;
  background: #fff;
}
.gc-vicc-btn-primary {
  color: #fff;
  background: var(--gc-vicc-accent);
}
.gc-vicc-link-btn {
  background: transparent;
  color: #fff;
  text-decoration: underline;
  padding-left: 6px;
  padding-right: 6px;
}
.gc-vicc-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 18px;
}
.gc-vicc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.gc-vicc-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(720px, 92vh);
  overflow: auto;
  background: #fff;
  color: #17201a;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 30px 100px rgba(0,0,0,0.35);
}
.gc-vicc-modal h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.gc-vicc-modal p {
  margin: 0 0 16px;
  color: #4a554f;
  line-height: 1.5;
}
.gc-vicc-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f2f4f3;
  color: #111;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.gc-vicc-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e2e8e4;
  border-radius: 16px;
  margin: 10px 0;
  background: #fff;
}
.gc-vicc-toggle strong { display: block; margin-bottom: 3px; }
.gc-vicc-toggle small { display: block; color: #68726c; line-height: 1.35; }
.gc-vicc-toggle input {
  width: 22px;
  height: 22px;
  accent-color: var(--gc-vicc-accent);
}
.gc-vicc-toggle.disabled { background: #f8faf9; }
.gc-vicc-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 18px;
}
.gc-vicc-policy {
  border: 1px solid #e5ebe7;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}
.gc-vicc-policy h2 { margin-top: 0; }
.gc-vicc-pref-shortcode,
.gc-vicc-policy .gc-vicc-open-preferences {
  background: #17201a;
  color: #fff;
}
@media (max-width: 720px) {
  .gc-vicc-banner {
    left: 10px;
    right: 10px;
  }
  .gc-vicc-pos-top { top: 10px; }
  .gc-vicc-box {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 13px;
    border-radius: 16px;
  }
  .gc-vicc-copy strong { font-size: 14px; }
  .gc-vicc-copy p { font-size: 12px; }
  .gc-vicc-actions {
    justify-content: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .gc-vicc-link-btn { grid-column: 1 / -1; }
  .gc-vicc-btn,
  .gc-vicc-link-btn,
  .gc-vicc-open-preferences {
    width: 100%;
    min-height: 40px;
    font-size: 12px;
    padding: 9px 10px;
  }
  .gc-vicc-modal {
    padding: 20px 16px;
    border-radius: 18px;
  }
}


/* v1.0.1 hard visibility layer: prevents theme/header/chat CSS from hiding the consent banner. */
#gc-vicc-banner.gc-vicc-banner {
  position: fixed !important;
  left: 16px !important;
  right: 16px !important;
  z-index: 2147483646 !important;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  transform: none !important;
  filter: none !important;
  clip: auto !important;
  overflow: visible !important;
}
#gc-vicc-banner.gc-vicc-pos-top { top: 14px !important; bottom: auto !important; }
#gc-vicc-banner.gc-vicc-pos-bottom,
#gc-vicc-banner.gc-vicc-pos-bottom-left,
#gc-vicc-banner.gc-vicc-pos-bottom-right { bottom: max(14px, env(safe-area-inset-bottom)) !important; top: auto !important; }
body.admin-bar #gc-vicc-banner.gc-vicc-pos-top { top: 50px !important; }
#gc-vicc-banner .gc-vicc-box {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  max-width: 880px !important;
}
#gc-vicc-banner .gc-vicc-btn,
#gc-vicc-banner .gc-vicc-link-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
@media (max-width: 720px) {
  #gc-vicc-banner.gc-vicc-banner { left: 10px !important; right: 10px !important; }
  body.admin-bar #gc-vicc-banner.gc-vicc-pos-top { top: 56px !important; }
}
