/* Cookie notice: a small card in the bottom-right corner. "Accept all" and
   "Necessary only" are the same size; Settings opens the categories in place and
   "Save my choice" takes the place of "Necessary only". */
.ck { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: min(480px, calc(100vw - 32px)); padding: 22px 22px 18px;
  border-radius: 18px; background: #fff; border: 1px solid var(--border-strong); box-shadow: 0 30px 60px -30px rgba(10, 11, 16, .35);
  font-size: 14.5px; line-height: 1.55; color: var(--text-muted); transition: opacity .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1); }
.ck[hidden] { display: block; opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; }
.ck h2 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.ck p { margin: 0; }
.ck a { color: var(--violet-ink); }
.ck__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.ck__btns .btn { justify-content: center; }
.ck__more { margin-top: 12px; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text); cursor: pointer; }
.ck__more:hover { color: var(--violet-ink); }
.ck__cats { display: none; margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.ck.is-open .ck__cats { display: block; }
.ck.is-open .ck__more { display: none; }
.ck__cats li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.ck__cats b { font-size: 14.5px; font-weight: 600; color: var(--text); }
.ck__cats span { grid-column: 1; font-size: 13px; color: var(--text-dim); }
/* switch */
.ck__sw { grid-row: 1 / span 2; grid-column: 2; position: relative; width: 38px; height: 22px; margin: 0; appearance: none; -webkit-appearance: none;
  border-radius: 999px; background: rgba(10, 11, 16, .16); cursor: pointer; transition: background .2s ease; }
.ck__sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(10, 11, 16, .25); transition: transform .2s ease; }
.ck__sw:checked { background: var(--violet-ink); }
.ck__sw:checked::after { transform: translateX(16px); }
.ck__sw:disabled { opacity: .45; cursor: default; }
.ck__sw:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.ck__btns .ck__save, .ck.is-open [data-ck="necessary"] { display: none; }
.ck.is-open .ck__btns .ck__save { display: inline-flex; }
@media (max-width: 640px) { .ck { right: 16px; bottom: 16px; } }
