/* Уведомление о cookies: всплывает снизу по центру */
.ck {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(600px, calc(100% - 28px));
  padding: 14px 14px 14px 16px;
  border-radius: 22px;
  background: #18181c;
  color: #fff;
  transform: translate(-50%, 60px) scale(0.94);
  opacity: 0;
  filter: blur(8px);
  transition:
    transform 0.9s cubic-bezier(0.34, 1.4, 0.5, 1),
    opacity 0.6s ease,
    filter 0.6s ease;
}
:root[data-theme="dark"] .ck {
  background: #17171b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.ck.in {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  filter: none;
}
.ck.out {
  transform: translate(-50%, 34px) scale(0.95);
  opacity: 0;
  filter: blur(6px);
  transition:
    transform 0.55s cubic-bezier(0.5, 0, 0.75, 0),
    opacity 0.45s ease,
    filter 0.45s ease;
}
.ck-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 16px;
  background: rgba(122, 114, 240, 0.2);
  color: #b4afff;
}
.ck-ico svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ck-ico svg .dots {
  fill: currentColor;
  stroke: none;
}
.ck.in .ck-ico svg {
  animation: ckRoll 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}
@keyframes ckRoll {
  from {
    transform: rotate(-200deg) scale(0.5);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.ck-text {
  min-width: 0;
  flex: 1;
}
.ck-text b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ck-text p {
  margin: 2px 0 0;
  color: #c4c4cd;
  font-size: 15px;
  line-height: 1.45;
}
.ck-text a {
  color: #b4afff;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(180, 175, 255, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.ck-text a:hover {
  text-decoration-color: #b4afff;
}
.ck-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
.ck .btn {
  height: 42px;
}
.ck-x {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #9a9aa6;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.ck-x:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.ck-x svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.ck-crumb {
  position: fixed;
  z-index: 61;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b4afff;
  pointer-events: none;
}
@media (max-width: 560px) {
  .ck {
    flex-wrap: wrap;
    bottom: 14px;
    padding: 14px;
  }
  .ck-text {
    flex-basis: calc(100% - 70px);
  }
  .ck-actions {
    width: 100%;
    justify-content: space-between;
  }
  .ck .btn {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ck,
  .ck.out {
    transition: opacity 0.3s;
    filter: none;
  }
  .ck.in .ck-ico svg {
    animation: none;
  }
}
@media print {
  .ck {
    display: none;
  }
}
