.vcc-banner, .vcc-modal, .vcc-declaration { font-family: inherit; color-scheme: light dark; }

.vcc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99998;
  padding: 16px;
}

.vcc-banner .vcc-card,
.vcc-sheet,
.vcc-decl-row {
  background: var(--vcc-bg, #fff);
  color: var(--vcc-text, #1f2430);
  border: 1px solid var(--vcc-border, #e4e7ee);
  border-radius: var(--vcc-radius, 16px);
  box-shadow: var(--vcc-shadow, 0 12px 40px rgba(0,0,0,.14));
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.vcc-banner .vcc-card {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 18px;
}

.vcc-copy h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.vcc-copy p {
  margin: 0;
  opacity: .92;
}

.vcc-copy a {
  color: var(--vcc-accent, #4f46e5);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vcc-actions { display:flex; gap:10px; flex-wrap: wrap; }

.vcc-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font: inherit;
  min-height: 42px;
  transition: transform .12s ease, opacity .12s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.vcc-btn:hover { transform: translateY(-1px); }
.vcc-btn:active { transform: translateY(0); opacity: .92; }
.vcc-btn:focus-visible,
.vcc-item input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--vcc-accent, #4f46e5);
  outline-offset: 2px;
}

.vcc-btn-primary { background: var(--vcc-accent, #4f46e5); color: var(--vcc-accent-text, #fff); }
.vcc-btn-ghost, .vcc-btn-secondary { background: var(--vcc-secondary, #eef0f5); color: var(--vcc-secondary-text, #1f2430); }

.vcc-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display:none;
  align-items:center;
  justify-content:center;
}
.vcc-modal.is-open { display:flex; }

.vcc-backdrop {
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
}

.vcc-sheet {
  position:relative;
  z-index:1;
  width:min(760px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow:auto;
  padding: 18px;
}

.vcc-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom: 12px;
}

.vcc-head h3 { margin: 0; font-size: 1.15rem; }

.vcc-list { display:grid; gap: 12px; }

.vcc-item {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding: 12px 14px;
  border: 1px solid var(--vcc-border, #e4e7ee);
  border-radius: 14px;
  background: var(--vcc-secondary, #eef0f5);
}

.vcc-item strong { display:block; margin-bottom: 2px; }
.vcc-item small { display:block; opacity:.78; line-height: 1.45; }
.vcc-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--vcc-accent, #4f46e5); }

.vcc-lock { overflow:hidden; }
.vcc-open-settings { text-decoration: underline; cursor:pointer; }

html[data-theme="dark"] .vcc-backdrop,
.vcc-dark .vcc-backdrop {
  background: rgba(0,0,0,.60);
}

html[data-theme="dark"] .vcc-banner .vcc-card,
html[data-theme="dark"] .vcc-sheet,
html[data-theme="dark"] .vcc-decl-row,
.vcc-dark .vcc-banner .vcc-card,
.vcc-dark .vcc-sheet,
.vcc-dark .vcc-decl-row {
  box-shadow: var(--vcc-shadow-dark, 0 16px 46px rgba(0,0,0,.42));
}

@media (max-width: 640px){
  .vcc-banner { padding: 10px; }
  .vcc-banner .vcc-card { flex-direction: column; align-items: stretch; }
  .vcc-actions { width: 100%; }
  .vcc-btn { width: 100%; }
  .vcc-sheet {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    padding: 16px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce){
  .vcc-banner .vcc-card,
  .vcc-sheet,
  .vcc-decl-row,
  .vcc-btn {
    transition: none !important;
  }
}
