/* MESNET Cookie Preferences - standalone, mobile-first, consent-neutral */
:root{--mcc-blue:#343d79;--mcc-azure:#579fd2;--mcc-orange:#ed9518;--mcc-night:#091329}
.mcc-banner,.mcc-dialog{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal;line-height:1.55}
.mcc-banner *,.mcc-dialog *{box-sizing:border-box}
.mcc-banner{position:fixed;bottom:20px;left:50%;width:min(1030px,calc(100% - 36px));transform:translateX(-50%);z-index:1000;max-height:calc(100dvh - 32px);overflow:auto;background:linear-gradient(115deg,#152a51 0%,#0d1a35 85%);color:#eff5ff;border:1px solid #6993c276;border-top:3px solid var(--mcc-orange);border-radius:17px;padding:23px 27px;box-shadow:0 20px 70px #0008;}
.mcc-banner[hidden],.mcc-dialog-backdrop[hidden]{display:none!important}
.mcc-banner-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center}
.mcc-title{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;color:#fff;margin:0 0 6px}
.mcc-title svg{flex:none;color:#6bb9ec}
.mcc-description{margin:0;color:#d3dff1;font-size:13px;line-height:1.65}
.mcc-description a{color:#a9ddff!important;text-decoration:underline;text-underline-offset:3px}
.mcc-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px}
.mcc-button{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:10px 16px;border-radius:9px;border:1px solid #6987ac;background:#182d50;color:#eff7ff;font-size:13px;font-weight:750;line-height:1.2;text-decoration:none;cursor:pointer;white-space:nowrap;transition:background .15s,box-shadow .15s}
.mcc-button:hover{background:#294b76}
.mcc-button:focus-visible,.mcc-link:focus-visible{outline:3px solid #f6ad42;outline-offset:3px}
.mcc-button--accent{background:var(--mcc-orange);color:#0f2042;border-color:var(--mcc-orange)}
.mcc-button--accent:hover{background:#ffb443;color:#0f2042}
.mcc-button--muted{border-color:#6881a5;background:transparent}
.mcc-dialog-backdrop{position:fixed;inset:0;z-index:1100;background:rgba(4,11,27,.72);display:flex;align-items:center;justify-content:center;padding:18px;overflow-y:auto}
.mcc-dialog{position:relative;max-height:min(85dvh,730px);overflow:auto;width:min(585px,100%);background:#f7faff;color:#223450;border:1px solid #bfd3e6;border-radius:18px;padding:28px;box-shadow:0 30px 100px #0009}
.mcc-dialog h2{font:800 25px/1.2 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.5px;color:#233b69;margin:0 45px 12px 0}
.mcc-dialog p{color:#526480;font-size:14px;margin:0 0 17px;line-height:1.6}
.mcc-close{position:absolute;right:17px;top:17px;width:35px;height:35px;border:1px solid #c8d6e8;border-radius:9px;background:#fff;color:#253d66;font-size:24px;cursor:pointer;line-height:1}
.mcc-category{display:flex;align-items:start;justify-content:space-between;gap:15px;border:1px solid #d6e2ef;border-radius:12px;padding:16px;margin:11px 0;background:#fff}
.mcc-category strong{display:block;font-size:14px;color:#293d67;margin-bottom:3px}
.mcc-category small{display:block;font-size:12px;line-height:1.5;color:#5f728c}
.mcc-state{display:inline-flex;align-items:center;flex:none;justify-content:center;border-radius:999px;background:#dff2e7;color:#176b42;font-size:11px;font-weight:800;padding:5px 9px;white-space:nowrap}
.mcc-state--off{background:#edf0f6;color:#6c7790}
.mcc-dialog .mcc-footnote{font-size:12px;color:#566b85;margin:16px 0}
.mcc-dialog .mcc-footnote a{color:#205e9a;text-decoration:underline}
.mcc-dialog-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.mcc-dialog .mcc-button--muted{color:#273f69;background:#fff;border-color:#8298b6}
.mcc-dialog .mcc-button--muted:hover{background:#e9f1f9}
@media(max-width:950px){.mcc-banner-inner{grid-template-columns:1fr;gap:17px}.mcc-actions{justify-content:flex-start}}
@media(max-width:540px){.mcc-banner{bottom:10px;width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:18px 16px;border-radius:13px}.mcc-title{font-size:16px}.mcc-description{font-size:12px}.mcc-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mcc-button{white-space:normal;text-align:center;padding:9px 10px;min-height:44px;font-size:12px}.mcc-actions .mcc-button:last-child{grid-column:span 2}.mcc-dialog{max-height:calc(100dvh - 25px);padding:22px 16px}.mcc-dialog h2{font-size:21px}.mcc-category{gap:10px;padding:13px 11px}.mcc-state{font-size:10px}.mcc-dialog-actions{display:grid;grid-template-columns:1fr 1fr}.mcc-dialog-actions .mcc-button:last-child{grid-column:span 2}}
@media(prefers-reduced-motion:reduce){.mcc-button{transition:none}}

body.mcc-modal-open{overflow:hidden}
