/* Christéa Edge Guard – deliberately isolated from Contact Premium / Cookies Premium */
html.cheg-locked{overflow:hidden!important}
#cheg-root,#cheg-root *{box-sizing:border-box}
#cheg-root{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.5}
#cheg-root .cheg-backdrop{position:fixed;z-index:2147483000;inset:0;background:rgba(7,26,35,.78);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);display:grid;place-items:center;padding:20px;overflow-y:auto;overscroll-behavior:contain}
#cheg-root .cheg-panel{position:relative;width:min(486px,100%);padding:43px 40px 31px;background:linear-gradient(145deg,#1c3151,#101f37 82%);border:1px solid rgba(217,190,140,.86);border-radius:24px;box-shadow:0 24px 90px rgba(3,17,25,.54),inset 0 1px 0 rgba(255,255,255,.06);color:#fff;isolation:isolate;overflow:hidden}
#cheg-root .cheg-panel:before{content:"";position:absolute;z-index:-1;width:285px;height:285px;border-radius:50%;right:-123px;top:-137px;border:1px solid rgba(217,190,140,.35);box-shadow:0 0 0 37px rgba(217,190,140,.06),0 0 0 78px rgba(217,190,140,.035);pointer-events:none}
#cheg-root .cheg-brand{display:flex;gap:13px;align-items:center;margin-bottom:33px}
#cheg-root .cheg-brand img{width:50px;height:50px;object-fit:contain}
#cheg-root .cheg-eyebrow{font-weight:800;color:#e4c994;letter-spacing:.20em;text-transform:uppercase;font-size:11px}
#cheg-root h2{font:550 clamp(29px,7vw,38px)/1.15 Georgia,"Times New Roman",serif;letter-spacing:-.02em;color:#fff;margin:0 0 20px}
#cheg-root .cheg-intro{line-height:1.73;color:#e9e9f2;margin:0 0 28px;font-size:15px}
#cheg-root .cheg-check{display:flex;gap:14px;align-items:center;padding:17px 18px;margin:0 0 16px;border:1px solid #60728f;background:rgba(255,255,255,.06);border-radius:14px;cursor:pointer;font-weight:650;color:#fff}
#cheg-root .cheg-check input{flex:none;width:24px;height:24px;accent-color:#cbaa73;cursor:pointer}
#cheg-root .cheg-continue{width:100%;border:0;border-radius:12px;padding:18px 16px;background:linear-gradient(135deg,#ecd3a3,#bc995e);font-size:14px;color:#14243f;font-weight:850;cursor:pointer;transition:filter .16s,transform .16s}
#cheg-root .cheg-continue:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}
#cheg-root .cheg-continue:disabled{cursor:not-allowed;opacity:.46;filter:grayscale(.3)}
#cheg-root .cheg-footnote{font-size:11px;color:#bdc9dc;line-height:1.55;margin-top:19px}
#cheg-root .cheg-error{color:#ffdbcb;background:rgba(150,48,28,.2);padding:11px 12px;border-radius:10px;margin:0 0 12px;font-size:12px}
#cheg-root .cheg-fallback{color:#e9d3aa;text-decoration:underline;text-underline-offset:4px;font-size:12px;display:inline-block;margin-top:14px}
#cheg-root :is(a,button,input):focus-visible{outline:3px solid #e6cf95;outline-offset:4px}
@media(max-width:520px){#cheg-root .cheg-backdrop{padding:12px}#cheg-root .cheg-panel{padding:33px 24px 27px;border-radius:20px;max-height:calc(100dvh - 24px);overflow-y:auto}#cheg-root .cheg-brand{margin-bottom:25px}}
@media(prefers-reduced-motion:reduce){#cheg-root *{transition:none!important}}

/* Christéa contact (1.0.1) + cookies (1.0.0): temporarily hide while verification dialog is active. */
html.cheg-locked #ckct-root, html.cheg-locked #ckcp-root { visibility:hidden!important; pointer-events:none!important; }
#cheg-root .cheg-monogram{display:grid;place-items:center;flex:none;width:50px;height:50px;border-radius:15px;background:linear-gradient(145deg,#e8d4a8,#ba965b);font:800 18px/1 Inter,system-ui,sans-serif;letter-spacing:.08em;color:#14243f;box-shadow:0 8px 18px #0004}
@media(max-width:520px){#cheg-root .cheg-backdrop{padding:12px;overscroll-behavior:contain}#cheg-root .cheg-panel{width:min(100%,420px);max-height:calc(100dvh - 24px);overflow-y:auto;padding:32px 22px 22px;border-radius:19px}}

/* Christéa : préserver la bannière cookies et la carte PWA pendant le contrôle. */
html.cheg-locked #christea-cookie-root,html.cheg-locked #christea-pwa-root,html.cheg-locked #ckcp-root,html.cheg-locked #ckct-root{visibility:hidden!important;pointer-events:none!important}
#cheg-root .cheg-continue{background:linear-gradient(130deg,#f6dcac,#e5b869);color:#112039}
