.ks-cookie[hidden], .ks-cookie [hidden] { display: none !important; }
.ks-cookie { position: fixed; z-index: 1000; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 24px; background: rgba(5,15,25,.48); backdrop-filter: blur(4px); }
.ks-cookie__content { width: min(1080px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; padding: 28px; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; background: #fff; box-shadow: 0 30px 100px rgba(3,14,24,.35); }
.ks-cookie__intro { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.ks-cookie__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: #0d1b2a; background: #dff4fb; font-size: 28px; font-weight: 900; }
.ks-cookie h2 { margin: 0 0 7px; color: #0d1b2a; font-size: 22px; line-height: 1.2; }
.ks-cookie p { max-width: 820px; margin: 0 0 7px; color: #607083; font-size: 14px; line-height: 1.6; }
.ks-cookie a { color: #159bc9 !important; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.ks-cookie__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.ks-cookie__button { min-height: 43px; padding: 10px 16px; border: 1px solid #cbd9e2; border-radius: 10px; color: #253747; background: #fff; cursor: pointer; font-size: 13px; font-weight: 800; }
.ks-cookie__button:hover, .ks-cookie__button:focus-visible { border-color: #159bc9; }
.ks-cookie__button--primary { border-color: #159bc9; color: #fff; background: #159bc9; }
.ks-cookie__button--text { border-color: transparent; color: #526579; background: transparent; }
.ks-cookie__preferences { display: grid; gap: 8px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #dce7ee; }
.ks-cookie__option { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; padding: 13px 16px; border-radius: 12px; background: #f3f9fc; }
.ks-cookie__option > div { display: grid; }
.ks-cookie__option strong { color: #14202d; font-size: 14px; }
.ks-cookie__option span { color: #607083; font-size: 12px; }
.ks-cookie__required { padding: 5px 9px; border-radius: 99px; color: #397053 !important; background: #e3f6e9; white-space: nowrap; font-weight: 800; }
.ks-cookie__option input { width: 21px; height: 21px; accent-color: #159bc9; }
body.ks-consent-open { overflow: hidden; }

@media (max-width: 650px) {
    .ks-cookie { padding: 0; }
    .ks-cookie__content { max-height: 92vh; padding: 22px 18px calc(20px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
    .ks-cookie__intro { grid-template-columns: 1fr; }
    .ks-cookie__icon { width: 44px; height: 44px; }
    .ks-cookie__actions { display: grid; }
    .ks-cookie__button { width: 100%; }
    .ks-cookie__option { align-items: flex-start; }
    .ks-cookie__required { white-space: normal; text-align: right; }
}
