:root {
  --cc-bg: #111827;
  --cc-panel: #1f2937;
  --cc-text: #f9fafb;
  --cc-muted: #d1d5db;
  --cc-primary: #2563eb;
  --cc-primary-hover: #1d4ed8;
  --cc-border: #374151;
}

.cc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10000;
  background: var(--cc-bg);
  color: var(--cc-text);
  border: 1px solid var(--cc-border);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  padding: 14px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.cc-banner[hidden],
.cc-panel[hidden] {
  display: none !important;
}

.cc-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.cc-text {
  margin: 0;
  line-height: 1.45;
  color: var(--cc-muted);
  font-size: 14px;
}

.cc-text a {
  color: #93c5fd;
}

.cc-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cc-btn {
  border: 1px solid var(--cc-border);
  border-radius: 8px;
  background: transparent;
  color: var(--cc-text);
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.cc-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cc-btn--primary {
  background: var(--cc-primary);
  border-color: var(--cc-primary);
}

.cc-btn--primary:hover {
  background: var(--cc-primary-hover);
}

.cc-panel {
  position: fixed;
  z-index: 10001;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, calc(100vw - 24px));
  background: var(--cc-panel);
  color: var(--cc-text);
  border: 1px solid var(--cc-border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 18px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.cc-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
}

.cc-row {
  margin: 14px 0;
  padding: 10px;
  border: 1px solid var(--cc-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.cc-row label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 600;
}

.cc-row small {
  display: block;
  margin-top: 6px;
  color: var(--cc-muted);
  line-height: 1.4;
}

.cc-switch {
  width: 44px;
  height: 24px;
}

@media (max-width: 640px) {
  .cc-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 12px;
  }

  .cc-title {
    font-size: 16px;
  }

  .cc-btn {
    width: 100%;
  }
}
