.cc-banner {
  position: fixed;
  bottom: 1em;
  left: 1em;
  right: 1em;
  max-width: 32em;
  margin: 0 auto;
  background: #ffffff;
  border: 0.0625em solid #e2dfd1;
  border-radius: 0.5em;
  box-shadow: 0 1.2em 3em rgba(0,0,0,0.18);
  padding: 1.4em;
  z-index: 9999;
  font-family: 'Georgia', serif;
  color: #2a3024;
  display: none;
}
.cc-banner.cc-show { display: block; }
.cc-title {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: #2a3024;
}
.cc-text {
  font-size: 0.92em;
  line-height: 1.55;
  margin-bottom: 1em;
  color: #5a6354;
}
.cc-text a { color: #436b39; text-decoration: underline; }
.cc-actions {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
}
.cc-btn {
  flex: 1;
  min-width: 8em;
  padding: 0.7em 1em;
  font-size: 0.9em;
  font-weight: 600;
  border-radius: 0.3em;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.cc-btn:hover { transform: scale(1.02); }
.cc-btn-accept { background: #c97c3a; color: #fff; }
.cc-btn-accept:hover { background: #b56d2e; }
.cc-btn-reject { background: #f5f2e9; color: #2a3024; border: 0.0625em solid #e2dfd1; }
.cc-btn-reject:hover { background: #e2dfd1; }
.cc-btn-settings { background: transparent; color: #436b39; border: 0.0625em solid #436b39; }
.cc-btn-settings:hover { background: rgba(67,107,57,0.1); }

.cc-modal {
  position: fixed;
  inset: 0;
  background: rgba(42,48,36,0.6);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1em;
}
.cc-modal.cc-show { display: flex; }
.cc-modal-inner {
  background: #ffffff;
  border-radius: 0.5em;
  max-width: 36em;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.6em;
}
.cc-modal h3 { margin-bottom: 0.6em; color: #2a3024; }
.cc-category {
  border: 0.0625em solid #e2dfd1;
  border-radius: 0.4em;
  padding: 1em;
  margin-bottom: 0.8em;
}
.cc-category-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4em;
}
.cc-category-name { font-weight: 600; color: #2a3024; font-size: 0.95em; }
.cc-toggle {
  position: relative;
  width: 2.6em;
  height: 1.4em;
  background: #ccc;
  border-radius: 1em;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cc-toggle::after {
  content: '';
  position: absolute;
  top: 0.15em; left: 0.15em;
  width: 1.1em; height: 1.1em;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.cc-toggle.cc-on { background: #5a8a4f; }
.cc-toggle.cc-on::after { transform: translateX(1.2em); }
.cc-toggle.cc-locked { background: #5a8a4f; opacity: 0.6; cursor: not-allowed; }
.cc-category-desc { font-size: 0.85em; color: #5a6354; line-height: 1.5; margin: 0; }
.cc-modal-actions { display: flex; gap: 0.5em; margin-top: 1em; flex-wrap: wrap; }

@media (max-width: 480px) {
  .cc-actions, .cc-modal-actions { flex-direction: column; }
  .cc-btn { width: 100%; }
}
