.cc-cookie__notice,
.cc-cookie__dialog{
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,"Noto Sans","Helvetica Neue",sans-serif;
}
.cc-cookie__notice{
  position:fixed;
  z-index:1300;
  right:16px;
  bottom:16px;
  width:min(420px, calc(100vw - 24px));
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:18px 18px 16px;
  border-radius:20px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.8);
  box-shadow:0 18px 48px rgba(17,17,17,.16);
  color:#1A1D23;
}
.cc-cookie__notice[hidden]{display:none}
.cc-cookie__notice--static{
  position:fixed;
  z-index:1300;
}
.cc-cookie__title{
  margin:0;
  font-size:18px;
  line-height:1.15;
  letter-spacing:-0.03em;
  font-weight:800;
}
.cc-cookie__text,
.cc-cookie__item p,
.cc-cookie__links{
  margin:0;
  color:#3C4043;
  font-size:14.5px;
  line-height:1.5;
}
.cc-cookie__text a,
.cc-cookie__links a{
  color:#111111;
  font-weight:700;
  text-decoration:underline;
  text-decoration-color:rgba(215,25,32,.45);
  text-underline-offset:2px;
}
.cc-cookie__actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.cc-cookie__btn{
  appearance:none;
  border:1px solid transparent;
  border-radius:999px;
  min-height:40px;
  padding:8px 14px;
  font:inherit;
  font-size:14px;
  font-weight:700;
  letter-spacing:-0.01em;
  cursor:pointer;
}
.cc-cookie__btn:focus-visible{
  outline:3px solid rgba(215,25,32,.28);
  outline-offset:2px;
}
.cc-cookie__btn--primary{
  background:#D71920;
  color:#fff;
}
.cc-cookie__btn--primary:hover{background:#B91117}
.cc-cookie__btn--ghost{
  background:#fff;
  border-color:rgba(17,17,17,.12);
  color:#1A1D23;
}
.cc-cookie__btn--ghost:hover{border-color:rgba(17,17,17,.28)}
.cc-cookie__btn--text{
  background:transparent;
  color:#3C4043;
  padding-inline:8px;
}
.cc-cookie__btn--text:hover{color:#D71920}
.cc-cookie__dialog{
  width:min(560px, calc(100vw - 32px));
  max-height:min(720px, calc(100vh - 32px));
  margin:auto;
  padding:0;
  border:0;
  border-radius:20px;
  background:#fff;
  color:#1A1D23;
  box-shadow:0 24px 70px rgba(17,17,17,.2);
}
.cc-cookie__dialog::backdrop{background:rgba(17,17,17,.46)}
.cc-cookie__form{
  display:flex;
  flex-direction:column;
  gap:14px;
  max-height:min(720px, calc(100vh - 32px));
  overflow:auto;
  padding:20px;
}
.cc-cookie__dialog-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.cc-cookie__close{
  appearance:none;
  width:36px;
  height:36px;
  border:0;
  border-radius:999px;
  background:#F5F6F8;
  color:#1A1D23;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.cc-cookie__close:hover{background:#E8EAED}
.cc-cookie__close:focus-visible{
  outline:3px solid rgba(215,25,32,.28);
  outline-offset:2px;
}
.cc-cookie__item{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-top:12px;
  border-top:1px solid rgba(17,17,17,.08);
}
.cc-cookie__item-head{
  display:flex;
  align-items:center;
  gap:12px;
}
.cc-cookie__item-title{
  flex:1;
  font-size:16px;
  font-weight:700;
  letter-spacing:-0.02em;
}
.cc-cookie__badge{
  flex:none;
  border-radius:999px;
  background:rgba(215,25,32,.1);
  color:#9F1218;
  font-size:12px;
  font-weight:700;
  padding:4px 8px;
}
.cc-cookie__input{
  position:absolute;
  width:1px;
  height:1px;
  margin:0;
  opacity:0;
}
.cc-cookie__switch{
  position:relative;
  flex:none;
  width:44px;
  height:26px;
  border-radius:999px;
  background:#D5D8DE;
}
.cc-cookie__switch::after{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 2px rgba(17,17,17,.2);
  transition:transform .2s cubic-bezier(.23,1,.32,1);
}
.cc-cookie__input:checked + .cc-cookie__switch{background:#D71920}
.cc-cookie__input:checked + .cc-cookie__switch::after{transform:translateX(18px)}
.cc-cookie__input:focus-visible + .cc-cookie__switch{
  outline:3px solid rgba(215,25,32,.28);
  outline-offset:3px;
}
.cc-cookie__links{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
}
@media (max-width:640px){
  .cc-cookie__notice{
    left:12px;
    right:12px;
    bottom:12px;
    width:auto;
  }
  .cc-cookie__actions{flex-direction:column}
  .cc-cookie__btn{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .cc-cookie__switch::after{transition:none}
}
@media print{
  .cc-cookie__notice,
  .cc-cookie__notice--static,
  .cc-cookie__dialog{display:none !important}
}
