.cookie-consent{
  position:fixed;
  right:max(14px, env(safe-area-inset-right));
  bottom:max(14px, env(safe-area-inset-bottom));
  width:min(340px, calc(100vw - 28px));
  z-index:9999;
  border:1px solid rgba(28,33,43,.10);
  border-radius:18px;
  background:rgba(255,255,255,.92);
  box-shadow:0 12px 36px rgba(17,24,39,.12);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  padding:14px 14px 12px;
  color:#1c212b;
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
}
.cookie-consent.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.cookie-consent__title{
  margin:0 0 6px;
  font-size:14px;
  line-height:1.3;
  font-weight:700;
  letter-spacing:-0.01em;
}
.cookie-consent__text{
  margin:0;
  font-size:12.5px;
  line-height:1.55;
  color:rgba(28,33,43,.78);
}
.cookie-consent__actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}
.cookie-consent__actionsPrimary{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}
.cookie-consent__more{
  appearance:none;
  border:none;
  background:none;
  padding:0;
  margin:0;
  color:#596579;
  font-size:12.5px;
  line-height:1.2;
  cursor:pointer;
  text-decoration:none;
}
.cookie-consent__more:hover{
  color:#1c212b;
}
.cookie-consent__decline{
  appearance:none;
  border:1px solid rgba(28,33,43,.22);
  border-radius:999px;
  padding:8px 12px;
  min-width:92px;
  background:transparent;
  color:#596579;
  font-size:12.5px;
  font-weight:600;
  line-height:1;
  cursor:pointer;
  transition:background .15s ease, color .15s ease, transform .15s ease;
}
.cookie-consent__decline:hover{
  background:rgba(28,33,43,.05);
  color:#1c212b;
}
.cookie-consent__decline:active{
  transform:translateY(0);
}
.cookie-consent__accept{
  appearance:none;
  border:none;
  border-radius:999px;
  padding:9px 14px;
  min-width:96px;
  background:linear-gradient(180deg,#151922 0%, #0f1219 100%);
  color:#fff;
  font-size:12.5px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(15,18,25,.22);
}
.cookie-consent__accept:hover{
  transform:translateY(-1px);
}
.cookie-consent__accept:active{
  transform:translateY(0);
}
.cookie-consent-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:rgba(15,18,25,.34);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.cookie-consent-modal.is-open{
  display:flex;
}
.cookie-consent-modal__card{
  width:min(560px, 100%);
  max-height:min(72vh, 720px);
  overflow:auto;
  border-radius:18px;
  background:#fff;
  color:#1c212b;
  box-shadow:0 18px 48px rgba(15,18,25,.22);
  border:1px solid rgba(28,33,43,.10);
}
.cookie-consent-modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px 10px;
  border-bottom:1px solid rgba(28,33,43,.08);
}
.cookie-consent-modal__title{
  margin:0;
  font-size:16px;
  line-height:1.25;
  font-weight:700;
}
.cookie-consent-modal__close{
  appearance:none;
  border:none;
  background:none;
  color:#596579;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  padding:0;
}
.cookie-consent-modal__body{
  padding:14px 16px 16px;
  font-size:13px;
  line-height:1.6;
  color:rgba(28,33,43,.82);
}
.cookie-consent-modal__body p{
  margin:0 0 10px;
}
.cookie-consent-modal__body a{
  color:#1c212b;
}
@media (max-width:640px){
  .cookie-consent{
    left:10px;
    right:10px;
    bottom:10px;
    width:auto;
    border-radius:16px;
    padding:12px 12px 10px;
  }
  .cookie-consent__title{
    font-size:13px;
  }
  .cookie-consent__text{
    font-size:12px;
  }
  .cookie-consent__actions{
    gap:8px;
    margin-top:10px;
    flex-direction:column;
    align-items:stretch;
  }
  .cookie-consent__actionsPrimary{
    justify-content:stretch;
    width:100%;
  }
  .cookie-consent__decline,
  .cookie-consent__accept{
    flex:1;
    min-width:0;
    padding:8px 12px;
    font-size:12px;
  }
  .cookie-consent-modal{
    padding:8px;
    align-items:flex-end;
  }
  .cookie-consent-modal__card{
    max-height:min(68vh, 520px);
    border-radius:16px 16px 12px 12px;
  }
  .cookie-consent-modal__head{
    padding:12px 14px 8px;
  }
  .cookie-consent-modal__title{
    font-size:15px;
  }
  .cookie-consent-modal__body{
    padding:12px 14px 14px;
    font-size:12.5px;
  }
}
