.cc-root {
  position: fixed;
  left: 16px;
  right: 16px;
  z-index: 1040;
  pointer-events: none;
  font-family: inherit;
}
.cc-position-bottom { bottom: 16px; }
.cc-position-top { top: 16px; }
.cc-banner {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
  pointer-events: auto;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
}
.cc-theme-light .cc-banner {
  background: #ffffff;
  color: #1f2937;
}
.cc-theme-dark .cc-banner {
  background: #111827;
  color: #f3f4f6;
  border-color: rgba(255,255,255,.08);
}
.cc-content {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 20px;
}
.cc-text { flex: 1 1 auto; min-width: 0; }
.cc-text h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}
.cc-text p {
  margin: 0;
  opacity: .92;
  font-size: .95rem;
  line-height: 1.55;
}
.cc-policy-link {
  display: inline-block;
  margin-top: 10px;
  font-size: .92rem;
  text-decoration: underline;
  color: inherit;
}
.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  min-width: 280px;
}
.cc-btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
  transition: transform .14s ease, opacity .14s ease, background-color .14s ease, color .14s ease;
}
.cc-btn:hover { transform: translateY(-1px); }
.cc-btn-primary {
  background: #111827;
  color: #fff;
}
.cc-theme-dark .cc-btn-primary {
  background: #f3f4f6;
  color: #111827;
}
.cc-btn-secondary {
  background: rgba(107,114,128,.14);
  color: inherit;
}
.cc-btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(107,114,128,.25);
}
.cc-preferences {
  border-top: 1px solid rgba(107,114,128,.18);
  padding: 16px 20px 18px;
}
.cc-pref-grid {
  display: grid;
  gap: 12px;
}
.cc-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(107,114,128,.08);
}
.cc-pref-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: .95rem;
}
.cc-pref-row small {
  display: block;
  opacity: .82;
  line-height: 1.45;
}
.cc-pref-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.cc-pref-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}
@media (max-width: 768px) {
  .cc-root { left: 12px; right: 12px; }
  .cc-content {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .cc-actions,
  .cc-pref-actions {
    min-width: 0;
    justify-content: stretch;
  }
  .cc-actions .cc-btn,
  .cc-pref-actions .cc-btn {
    flex: 1 1 auto;
  }
  .cc-pref-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
