

.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: var(--surface-deep, #1d242a);
  color: var(--text-invert, #eef3f4);
  border-top: 1px solid var(--line-invert, rgba(238, 243, 244, 0.16));
  box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.32);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-banner.cc-visible {
  transform: translateY(0);
}

.cc-banner-container {
  max-width: min(94%, 1180px);
  margin: 0 auto;
  padding: 1.1rem 0 1.25rem;
}

.cc-banner-content {
  margin-bottom: 0.75rem;
}

.cc-title {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  color: var(--text-invert, #eef3f4);
}

.cc-description {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: var(--text-invert-muted, #a9b7bb);
}

.cc-link {
  color: var(--action-invert, #57b9ad);
}

.cc-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cc-btn {
  font-family: 'Roboto', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  flex: 1 1 auto;
  min-height: 44px;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cc-btn:hover {
  transform: scale(1.03);
}

.cc-btn-primary {
  background: var(--action-invert, #57b9ad);
  color: #10241f;
}

.cc-btn-secondary {
  background: transparent;
  color: var(--text-invert, #eef3f4);
  border-color: var(--line-invert, rgba(238, 243, 244, 0.28));
}

.cc-btn-link {
  background: transparent;
  color: var(--text-invert-muted, #a9b7bb);
  text-decoration: underline;
}

.cc-settings-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(10, 14, 17, 0.66);
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.cc-settings-overlay.cc-visible {
  display: flex;
}

.cc-settings-modal {
  background: var(--surface-base, #ffffff);
  color: var(--text-primary, #23292e);
  width: min(100%, 620px);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 16px 16px 0 0;
}

.cc-settings-container {
  padding: 1.25rem;
}

.cc-settings-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cc-settings-title {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin: 0;
}

.cc-settings-close {
  background: none;
  border: none;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted, #5c6770);
  width: 44px;
  height: 44px;
}

.cc-settings-description {
  font-size: 0.9rem;
  color: var(--text-muted, #5c6770);
  margin: 0.35rem 0 1rem;
}

.cc-settings-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cc-category {
  border: 1px solid var(--line-subtle, #d9dee2);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: var(--surface-raised, #f7f9fa);
}

.cc-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cc-category-info {
  flex: 1 1 auto;
}

.cc-category-title {
  font-weight: 500;
  font-size: 1rem;
}

.cc-category-description {
  font-size: 0.84rem;
  color: var(--text-muted, #5c6770);
  margin: 0.2rem 0 0;
}

.cc-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--text-muted, #5c6770);
  min-height: 44px;
  cursor: pointer;
}

.cc-toggle {
  width: 22px;
  height: 22px;
  accent-color: var(--action-primary, #0f6f72);
}

.cc-toggle-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cc-settings-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.cc-settings-footer .cc-btn-primary {
  background: var(--action-primary, #0f6f72);
  color: #ffffff;
}

.cc-settings-footer .cc-btn-secondary {
  color: var(--text-primary, #23292e);
  border-color: var(--line-subtle, #d9dee2);
}

.cc-footer-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.cc-footer-separator {
  opacity: 0.5;
  margin: 0 0.4rem;
}

.cc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .cc-banner-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 0;
  }

  .cc-banner-content {
    margin-bottom: 0;
    flex: 1 1 auto;
  }

  .cc-banner-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
  }

  .cc-btn {
    flex: 0 0 auto;
  }

  .cc-settings-overlay {
    align-items: center;
  }

  .cc-settings-modal {
    border-radius: 16px;
  }

  .cc-settings-container {
    padding: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-banner,
  .cc-btn {
    transition: none;
  }
}
