:root{
  --cc-bg: rgba(10,12,18,0.95);
  --cc-fg: #e6f2ff;
  --cc-muted: #9bb3c7;
  --cc-stroke: rgba(255,255,255,0.12);
  --cc-accent-1: #00e5ff;
  --cc-accent-2: #ff00e5;
  --cc-shadow: 0 10px 40px rgba(0,0,0,0.45), inset 0 0 0 1px var(--cc-stroke);
}

.cc-banner{
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  max-width: 980px;
  width: calc(100% - 40px);
  background: var(--cc-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--cc-stroke);
  border-radius: 14px;
  padding: 14px 16px;
  display: none;
  gap: 12px;
  z-index: 90;
  box-shadow: var(--cc-shadow);
  animation: ccSlideUp 0.3s ease;
  color: var(--cc-fg);
}

@keyframes ccSlideUp{
  from { transform: translateX(-50%) translateY(100px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.cc-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cc-text{
  flex: 1;
  color: var(--cc-muted);
  font-size: 14px;
}

.cc-actions{
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.cc-btn{
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--cc-stroke);
  background: transparent;
  color: var(--cc-fg);
  cursor: pointer;
  font-weight: 600;
}

.cc-btn.primary{
  border: none;
  background: linear-gradient(135deg, var(--cc-accent-1), var(--cc-accent-2));
  color: #05060a;
}

.cc-btn.ghost{
  background: rgba(255,255,255,0.04);
}

.cc-manage{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 80;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--cc-stroke);
  background: rgba(10,12,18,0.9);
  color: var(--cc-fg);
  cursor: pointer;
  display: none;
}

.cc-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.cc-panel{
  width: min(720px, calc(100% - 32px));
  background: var(--cc-bg);
  border: 1px solid var(--cc-stroke);
  border-radius: 16px;
  padding: 16px;
  color: var(--cc-fg);
  box-shadow: var(--cc-shadow);
}

.cc-panel h3{ margin: 0 0 6px 0; }
.cc-panel p{ color: var(--cc-muted); margin: 0 0 12px 0; }

.cc-toggle{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--cc-stroke);
  border-radius: 12px;
  margin: 8px 0;
  background: rgba(255,255,255,0.03);
}

.cc-toggle small{ color: var(--cc-muted); }

.cc-switch{
  width: 42px; height: 24px;
  background: #1b2230;
  border-radius: 999px;
  position: relative;
  border: 1px solid var(--cc-stroke);
}
.cc-switch::after{
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 2px;
  border-radius: 999px;
  background: #8899aa;
  transition: transform .2s ease, background .2s ease;
}
.cc-switch.on{
  background: rgba(0,229,255,0.15);
  border-color: rgba(0,229,255,0.4);
}
.cc-switch.on::after{
  transform: translateX(18px);
  background: #00e5ff;
}

@media (max-width: 720px){
  .cc-banner{ bottom: 12px; }
  .cc-manage{ left: 12px; bottom: 12px; }
}
