.cc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 99998;
}

.cc-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 980px;
  margin: 0 auto;
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 99999;
  font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  display: none;
}

.cc-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.cc-text {
  max-width: 62ch;
}

.cc-text a {
  color: #9dd6ff;
  text-decoration: underline;
}

.cc-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cc-btn {
  border: 0;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
}

.cc-btn-accept {
  background: #2dd4bf;
  color: #082f2e;
}

.cc-btn-reject {
  background: #27272a;
  color: #fff;
  border: 1px solid #3f3f46;
}

.cc-btn-manage {
  background: transparent;
  color: #fff;
  border: 1px solid #52525b;
}

.cc-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.cc-dialog {
  width: min(680px, 100%);
  background: #fff;
  color: #111;
  border-radius: 14px;
  padding: 1rem 1rem 0.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cc-dialog h2 {
  margin: 0 0 0.5rem;
  font-size: 18px;
}

.cc-dialog p {
  margin: 0.25rem 0 0.75rem;
  color: #333;
}

.cc-cats {
  display: grid;
  gap: 0.6rem;
  margin: 0.75rem 0 1rem;
}

.cc-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.cc-cat small {
  display: block;
  color: #555;
  margin-top: 0.2rem;
}

.cc-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cc-toggle input {
  width: 42px;
  height: 22px;
}

.cc-footer {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: no-preference) {
  .cc-banner,
  .cc-dialog {
    transition: transform 0.15s ease, opacity 0.15s ease;
  }
}