html[data-vl-cookie-state="accepted"] .vl-cookie-consent{
  display: none !important;
}

.vl-cookie-consent{
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  z-index: 99999;
  width: min(400px, calc(100vw - 48px));
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity .28s ease,
    transform .28s ease,
    visibility 0s linear .28s;
}

html[data-vl-cookie-state="pending"] .vl-cookie-consent{
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

/* Состояние скрытия после нажатия */
.vl-cookie-consent.is-hidden{
  visibility: hidden;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.vl-cookie-consent__inner{
  position: relative;
  overflow: hidden;
  padding: 16px 16px 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(1200px 280px at 100% 0%, rgba(255,255,255,.05), transparent 42%),
    linear-gradient(180deg, rgba(15,19,27,.96) 0%, rgba(10,13,19,.98) 100%);
  box-shadow:
    0 18px 50px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.vl-cookie-consent__inner::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.06) 0%, transparent 26%, transparent 100%);
}

.vl-cookie-consent__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font: 700 10px/1 'PT Sans', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(222,228,236,.58);
}

.vl-cookie-consent__eyebrow::before{
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4f6f8, #9aa3af);
  box-shadow: 0 0 14px rgba(255,255,255,.16);
}

.vl-cookie-consent__title{
  margin: 0 0 7px;
  font: 700 20px/1.2 'PT Serif', serif;
  color: #f4f6fa;
  letter-spacing: .01em;
}

.vl-cookie-consent__text{
  margin: 0;
  font: 400 13px/1.55 'PT Serif', serif;
  color: rgba(226,231,238,.78);
}

.vl-cookie-consent__text a{
  color: #f7f8fb;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: border-color .18s ease, opacity .18s ease;
}

.vl-cookie-consent__text a:hover{
  border-color: rgba(255,255,255,.42);
}

.vl-cookie-consent__actions{
  margin-top: 14px;
}

.vl-cookie-consent__btn{
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 16px;
  font: 700 12px/1 'PT Sans', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    color .18s ease;
}

.vl-cookie-consent__btn:hover{
  transform: translateY(-1px);
}

.vl-cookie-consent__btn--primary,
.vl-cookie-consent__btn--primary:hover,
.vl-cookie-consent__btn--primary:focus,
.vl-cookie-consent__btn--primary:focus-visible,
.vl-cookie-consent__btn--primary:active{
  color: #0d1117 !important;
  background: linear-gradient(135deg, #f5f7fa 0%, #bcc5cf 100%);
  box-shadow:
    0 10px 28px rgba(255,255,255,.08),
    inset 0 1px 0 rgba(255,255,255,.55);
}

.vl-cookie-consent__btn--primary:hover,
.vl-cookie-consent__btn--primary:focus-visible{
  color: #0d1117 !important;
}

@media (max-width: 782px){
  .vl-cookie-consent{
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
  }

  .vl-cookie-consent__inner{
    padding: 15px 15px 14px;
    border-radius: 18px;
  }

  .vl-cookie-consent__title{
    font-size: 18px;
  }

  .vl-cookie-consent__text{
    font-size: 12px;
    line-height: 1.5;
  }
}