  :root {
      --cc-bg: #2c2c2c;
      --cc-text: #fff;
      --cc-btn-bg: #4caf50;
      --cc-btn-reject-bg: #f44336;
      --cc-btn-custom-bg: #888;
      --cc-btn-text: #fff;
    }
    #cookie-banner, #cookie-settings {
      font-family: system-ui, sans-serif;
      position: fixed;
      z-index: 9999;
    }
    #cookie-banner {
      bottom: 0; left: 0; right: 0;
      background: var(--cc-bg);
      color: var(--cc-text);
      padding: 1rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
    }
    #cookie-banner p {
      margin: 0;
      flex: 1 1 auto;
      font-size: 0.9rem;
    }
    #cookie-banner button {
      margin-left: 0.5rem;
      padding: 0.5rem 1rem;
      border: none;
      cursor: pointer;
      color: var(--cc-btn-text);
      border-radius: 4px;
    }
    #cookie-accept { background: var(--cc-btn-bg); }
    #cookie-reject { background: var(--cc-btn-reject-bg); }
    #cookie-customize { background: var(--cc-btn-custom-bg); }

    #cookie-settings {
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      background: #fff;
      color: #333;
      max-width: 400px;
      width: 90%;
      padding: 1rem;
      border-radius: 8px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
      display: none;
    }
    #cookie-settings h2 { margin-top: 0; }
    .cookie-category {
      display: flex;
      justify-content: space-between;
      margin: 0.5rem 0;
    }
    .cookie-category label { flex: 1; }
    .cookie-category input { transform: scale(1.2); }
    .settings-actions {
      display: flex;
      justify-content: flex-end;
      margin-top: 1rem;
    }
    .settings-actions button {
      margin-left: 0.5rem;
      padding: 0.5rem 1rem;
      border: none;
      cursor: pointer;
      border-radius: 4px;
      color: #fff;
    }
    #settings-save { background: var(--cc-btn-bg); }
    #settings-cancel { background: var(--cc-btn-custom-bg); }

    #cookie-manage-link {
      position: fixed;
      bottom: 10px;
      right: 10px;
      font-size: 0.8rem;
      color: #555;
      background: #eee;
      padding: 0.5rem 0.8rem;
      border-radius: 4px;
      cursor: pointer;
      display: none;
    }