/* ===== Banner ===== */
  .cookiebar{
    position:fixed;
    left:24px;
    bottom:24px;
    z-index:999999;
    max-width:680px;
    width:calc(100% - 48px);

    display:none;
    align-items:center;
    justify-content:space-between;
    gap:14px;

    padding:16px 18px;
    border-radius:14px;
    background:rgba(20,20,20,.92);
    color:#fff;
    box-shadow:0 12px 30px rgba(0,0,0,.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    font-family: Arial, sans-serif;
    font-size:14px;
    line-height:1.35;
  }
  .cookiebar__text{ margin:0; opacity:.95; }
  .cookiebar__text a{ color:#fff; text-decoration:underline; }

  .cookiebar__actions{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }

  .cookiebtn{
    border:0;
    cursor:pointer;
    padding:10px 14px;
    border-radius:10px;
    font-weight:700;
    font-size:14px;
    color:#fff;
    white-space:nowrap;
    background:rgba(255,255,255,0.14);
    transition: opacity .2s ease, transform .05s ease;
  }
  .cookiebtn:hover{ opacity:.92; }
  .cookiebtn:active{ transform:scale(.98); }

  /* Важно: accept/decline равнозначны */
  .cookiebtn--accept,
  .cookiebtn--decline { background:rgba(255,255,255,0.14); }

  .cookiebtn--settings { background:rgba(255,255,255,0.08); }

  @media (max-width:520px){
    .cookiebar{
      left:12px;
      bottom:12px;
      width:calc(100% - 24px);
      max-width:none;
      flex-direction:column;
      align-items:flex-start;
    }
    .cookiebar__actions{ width:100%; }
    .cookiebtn{ width:100%; }
  }

  /* ===== Bottom sheet ===== */
  .cs-backdrop{
    position:fixed;
    inset:0;
    z-index:1000000;
    display:none;
    background:rgba(0,0,0,.45);
  }

  .cs-sheet{
    position:absolute;
    left:0; right:0; bottom:0;
    transform: translateY(105%);
    transition: transform .22s ease;

    background:#111;
    color:#fff;
    border-radius:18px 18px 0 0;
    box-shadow:0 -18px 40px rgba(0,0,0,.35);

    font-family: Arial, sans-serif;
  }

  .cs-backdrop.is-open .cs-sheet{
    transform: translateY(0);
  }

  .cs-container{
    max-width:860px;
    margin:0 auto;
    padding:16px 16px 18px 16px;
  }

  .cs-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
  }

  .cs-title{
    margin:0;
    font-size:18px;
    font-weight:800;
  }

  .cs-close{
    border:0;
    cursor:pointer;
    width:40px;
    height:40px;
    border-radius:12px;
    background:rgba(255,255,255,0.10);
    color:#fff;
    font-size:22px;
    line-height:40px;
    text-align:center;
  }

  .cs-desc{
    margin:0 0 12px 0;
    opacity:.92;
    font-size:14px;
    line-height:1.4;
  }

  .cs-opt{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px;
    border-radius:14px;
    background:rgba(255,255,255,0.06);
    margin-bottom:10px;
  }
  .cs-opt strong{ display:block; font-size:14px; }
  .cs-opt small{ display:block; margin-top:4px; opacity:.75; font-size:12px; }

  .cs-opt input[type="checkbox"]{
    width:20px; height:20px;
    cursor:pointer;
  }

  .cs-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
    margin-top:12px;
  }

  @media (max-width:520px){
    .cs-actions .cookiebtn{ width:100%; }
  }
