body.cookie-dialog-open{overflow:hidden}
.cookie-dialog{width:min(790px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #b59a52;border-radius:18px;background:#0b1b32;color:#f2f6fb;box-shadow:0 25px 100px #0009;overflow:auto;overscroll-behavior:contain;color-scheme:dark}
.cookie-dialog::backdrop{background:#020b18d9}
.cookie-dialog.is-detailed{width:min(960px,calc(100% - 32px))}
.cookie-dialog-inner{padding:clamp(22px,4vw,38px)}
.cookie-heading{display:flex;align-items:center;gap:20px;margin-bottom:22px}
.cookie-heading>div{min-width:0}
.cookie-heading img{display:block;width:110px;height:auto;flex-shrink:0;background:#fff;border-radius:8px}
.cookie-brand{font-size:.78rem;line-height:1.4;letter-spacing:.025em;color:#d8c58f;margin:0 0 8px;overflow-wrap:anywhere}
.cookie-dialog h2{font-size:clamp(1.6rem,3vw,2rem);line-height:1.18;letter-spacing:0;margin:0;color:#f4dfa5}
.cookie-dialog h3{font-size:1.07rem;margin:0;line-height:1.4;color:#f4dfa5}
.cookie-dialog p{font-size:.96rem;line-height:1.6;margin:0 0 16px;color:#d4dfec}
.cookie-dialog .cookie-close{flex:0 0 40px;align-self:flex-start;padding:3px;width:40px;height:40px;margin-left:auto;background:transparent;border:1px solid #748399;color:#f2f6fb;font-size:1.6rem;line-height:1}
.cookie-categories{display:grid;gap:12px;margin:20px 0}
.cookie-categories article{padding:18px 20px;border:1px solid #3b506b;border-radius:10px;background:#122641}
.cookie-category-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.cookie-categories article p:last-child{margin-bottom:0}
.cookie-badge{white-space:nowrap;padding:3px 9px;border-radius:20px;background:#1e3a4d;color:#d8ebdf;font-size:.73rem;font-weight:700}
.analytics-badge{background:#3c3321;color:#f4dfa5}
.cookie-dialog .cookie-more{font-size:.82rem;line-height:1.6;margin:0 0 20px}
.cookie-actions{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:12px}
.cookie-actions button{min-height:48px;padding:12px 14px;line-height:1.4;font-size:.91rem;background:#d9b86a;border:1px solid #f1d698;color:#071224;border-radius:7px;transition:background-color .15s}
.cookie-actions button:hover{background:#ffe09a;filter:none;transform:none}
.cookie-actions .cookie-custom{background:transparent;color:#f4dfa5;border-color:#d9b86a}
.cookie-actions .cookie-custom:hover{background:#283a4f;color:#fff3cd}
.cookie-back{margin-top:14px;padding:7px 0;background:transparent;border:0;color:#e6d29b;font-size:.85rem;font-weight:400}
.cookie-back:hover{color:#fff3cd;filter:none;transform:none}
.cookie-legal{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid #3b506b}
.cookie-legal-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 18px;border:1px solid #758ba7;border-radius:6px;color:#e5edf8;font-size:.86rem;line-height:1.3}
.cookie-legal-button:hover{background:#243a55;color:#fff;text-decoration:none}
.cookie-detail-intro{padding:0 0 8px}
.cookie-detail-intro h3{font-size:1.2rem;margin:0 0 9px}
.cookie-dialog .cookie-service-details{margin-top:14px;padding-top:14px;border-top:1px solid #445771;font-size:.84rem;line-height:1.7}
.cookie-switch{position:relative;display:inline-flex;align-items:center;flex-shrink:0;width:48px;height:28px;margin:0;cursor:pointer}
.cookie-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.cookie-switch>span{width:48px;height:28px;border-radius:20px;background:#465975;border:1px solid #8092ac;transition:background-color .15s}
.cookie-switch>span::after{content:"";display:block;width:20px;height:20px;margin:3px;border-radius:50%;background:#fff;transition:transform .15s}
.cookie-switch input:checked+span{background:#d9b86a;border-color:#e9cf8f}
.cookie-switch input:checked+span::after{transform:translateX(20px);background:#071224}
.cookie-switch input:focus-visible+span{outline:3px solid #fff3cd;outline-offset:3px}
.necessary-switch{cursor:default}
.necessary-switch input{cursor:default}
.cookie-settings-link{white-space:nowrap}
.gate-cookie-footer{position:fixed;bottom:0;left:0;right:0;z-index:1;padding:12px 20px;background:#071224;border-top:1px solid #3b506b}
.gate-cookie-footer nav{justify-content:center;gap:12px 24px;font-size:.82rem}
html[data-theme=light] .cookie-dialog{background:#f8fafc;color:#102b48;color-scheme:light}
html[data-theme=light] .cookie-dialog h2,html[data-theme=light] .cookie-dialog h3{color:#102b48}
html[data-theme=light] .cookie-dialog p{color:#304b66}
html[data-theme=light] .cookie-categories article{background:#edf2f8;border-color:#acbbcc}
html[data-theme=light] .cookie-dialog .cookie-close,html[data-theme=light] .cookie-actions .cookie-custom,html[data-theme=light] .cookie-back,html[data-theme=light] .cookie-legal-button{color:#102b48}
html[data-theme=light] .cookie-actions .cookie-custom:hover,html[data-theme=light] .cookie-legal-button:hover{background:#dae5f0}
html[data-theme=light] .cookie-dialog .cookie-service-details,html[data-theme=light] .cookie-legal{border-color:#acbbcc}
@media(max-width:600px){.cookie-dialog,.cookie-dialog.is-detailed{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:12px}.cookie-heading{gap:12px;margin-bottom:18px}.cookie-heading img{width:72px}.cookie-brand{font-size:.65rem}.cookie-dialog h2{font-size:1.45rem}.cookie-dialog p{font-size:.88rem}.cookie-dialog-inner{padding:20px}.cookie-categories article{padding:15px}.cookie-actions{grid-template-columns:1fr;gap:9px}.cookie-actions button{font-size:.94rem;min-height:46px}.cookie-legal-button{flex:1}.cookie-category-heading{flex-wrap:wrap}.cookie-dialog.is-detailed .cookie-category-heading{flex-wrap:wrap}.cookie-heading .cookie-close{flex-basis:32px;width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.cookie-dialog *{transition:none!important}}
