#cc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  background: linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(2, 6, 23, .96));
  border: 1px solid var(--line, #1e293b);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  color: var(--text, #e2e8f0);
  backdrop-filter: blur(10px);
  transition: opacity .3s ease, transform .3s ease;
}
#cc-banner[hidden] { display: none; }
#cc-banner.cc-out { opacity: 0; transform: translateY(24px); }
.cc-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 20px;
}
.cc-text { flex: 1; min-width: 260px; }
.cc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: .2px;
}
.cc-ico { font-size: 18px; line-height: 1; }
.cc-msg {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  opacity: .82;
}
.cc-linkbtn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--gold, #fbbf24);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cc-linkbtn:hover { color: #fde68a; }
.cc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cc-btn {
  border: 0;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.cc-btn:active { transform: scale(.96); }
.cc-btn.gold {
  background: linear-gradient(120deg, #f59e0b, #fbbf24);
  color: #0b1220;
  box-shadow: 0 6px 18px rgba(251, 191, 36, .35);
}
.cc-btn.gold:hover { box-shadow: 0 8px 24px rgba(251, 191, 36, .5); }
.cc-btn.ghost {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid var(--line, #1e293b);
}
.cc-btn.ghost:hover { color: #f1f5f9; border-color: #334155; }
#cc-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, .62);
  backdrop-filter: blur(4px);
}
#cc-modal[hidden] { display: none; }
#cc-modal.cc-out { opacity: 0; }
#cc-modal { transition: opacity .3s ease; }
.cc-dialog {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(2, 6, 23, .98));
  border: 1px solid var(--line, #1e293b);
  border-radius: 16px;
  padding: 24px;
  color: var(--text, #e2e8f0);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.cc-dialog h3 { margin: 0 0 14px; font-size: 18px; color: #f1f5f9; }
.cc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cc-table th, .cc-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line, #1e293b); vertical-align: top; }
.cc-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.cc-table code { font-size: 12px; color: var(--gold, #fbbf24); word-break: break-all; }
.cc-table .hint { margin-top: 4px; font-size: 12px; opacity: .6; }
.cc-always { font-size: 12px; font-weight: 700; color: #34d399; white-space: nowrap; }
.cc-note { margin: 14px 0 16px; font-size: 12px; opacity: .7; line-height: 1.5; }
.cc-switch { display: inline-flex; align-items: center; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cc-slider {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #1e293b;
  border: 1px solid #334155;
  position: relative;
  transition: background .18s ease, border-color .18s ease;
}
.cc-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #94a3b8;
  transition: transform .18s ease, background .18s ease;
}
.cc-switch input:checked + .cc-slider { background: rgba(251, 191, 36, .3); border-color: var(--gold, #fbbf24); }
.cc-switch input:checked + .cc-slider::after { transform: translateX(18px); background: var(--gold, #fbbf24); }
.cc-switch input:focus-visible + .cc-slider { outline: 2px solid var(--gold, #fbbf24); outline-offset: 2px; }
@media (max-width: 720px) {
  .cc-inner { align-items: stretch; flex-direction: column; gap: 14px; padding: 16px; }
  .cc-actions { width: 100%; }
  .cc-actions .cc-btn { flex: 1; }
  .cc-dialog { padding: 18px; }
  .cc-table th:nth-child(2), .cc-table td:nth-child(2) { display: none; }
}