:root {
    --cc-bg: #0f172a;        /* tmavé pozadie */
    --cc-fg: #e2e8f0;        /* svetlý text */
    --cc-accent: #22c55e;    /* zelené akcie */
    --cc-danger: #ef4444;    /* odmietnuť */
    --cc-muted: #94a3b8;
    --cc-radius: 14px;
    --cc-shadow: 0 10px 30px rgba(2,6,23,.35);
  }
  .cc-hidden { display:none !important; }

  /* BAR */
  .cc-bar {
    position: fixed; left: 0; right: 0; bottom: 0;
    background: var(--cc-bg); color: var(--cc-fg);
    box-shadow: var(--cc-shadow); z-index: 2147483646;
  }
  .cc-wrap {
    max-width: 1100px; margin: 0 auto; padding: 16px;
    display: grid; gap: 12px;
  }
  @media (min-width: 780px) {
    .cc-wrap { grid-template-columns: 1fr auto; align-items: center; }
  }
  .cc-text { font-size: 15px; line-height: 1.45; }
  .cc-text a { color: #93c5fd; text-decoration: underline; }
  .cc-actions { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
  .cc-btn {
    appearance: none; border: 0; cursor: pointer; border-radius: var(--cc-radius);
    padding: 10px 14px; font-weight: 600; font-size: 14px;
  }
  .cc-btn--accept { background: var(--cc-accent); color:#052e16; }
  .cc-btn--settings { background: #1f2937; color: var(--cc-fg); }
  .cc-btn--reject { background: var(--cc-danger); color: #fff; }

  /* MODAL */
  .cc-modal-backdrop {
    position: fixed; inset: 0; background: rgba(2,6,23,.7);
    display: grid; place-items: center; z-index: 2147483647;
  }
  .cc-modal {
    background: #0b1220; color: var(--cc-fg); width: min(680px, 92vw);
    border-radius: var(--cc-radius); box-shadow: var(--cc-shadow); padding: 20px;
  }
  .cc-modal h2 { margin: 0 0 6px; font-size: 20px; }
  .cc-modal p { color: var(--cc-muted); margin: 0 0 14px; font-size: 14px; }
  .cc-list { display: grid; gap: 12px; margin: 14px 0; }
  .cc-item {
    display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
    padding: 12px; border: 1px solid #1f2937; border-radius: 12px; background: #0b1220;
  }
  .cc-item h3 { margin: 0 0 6px; font-size: 16px; }
  .cc-item p { margin: 0; font-size: 13px; color: var(--cc-muted); }
  .cc-switch { position: relative; width: 48px; height: 28px; }
  .cc-switch input { opacity: 0; width: 0; height: 0; }
  .cc-slider {
    position: absolute; cursor: pointer; inset: 0; background: #334155; border-radius: 999px;
    transition: .2s;
  }
  .cc-slider:before {
    content: ""; position: absolute; height: 22px; width: 22px; left: 3px; top: 3px;
    background: #fff; border-radius: 50%; transition: .2s;
  }
  .cc-switch input:checked + .cc-slider { background: var(--cc-accent); }
  .cc-switch input:checked + .cc-slider:before { transform: translateX(20px); }
  .cc-note { font-size: 12px; color: var(--cc-muted); }
  .cc-modal .cc-actions { margin-top: 14px; }