.cookie-notice{position:fixed;inset:auto max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) auto;width:min(370px,calc(100vw - 24px));max-height:50svh;overflow-y:auto;overscroll-behavior:contain;padding:24px;background:var(--paper);color:var(--ink);border:1px solid #c4c9ba;box-shadow:0 8px 36px #23302026;border-radius:3px;z-index:30;font:13px/1.55 var(--sans);letter-spacing:0;text-align:left}
.cookie-notice[hidden]{display:none}
.cookie-notice .cookie-title{font:500 31px/1.1 var(--serif);letter-spacing:-.025em;margin:0 0 10px}
.cookie-notice .cookie-explanation{margin:0;color:#535e4d}
.cookie-notice .cookie-accept{display:block;width:100%;min-height:48px;margin:18px 0 10px;padding:12px 20px;border:1px solid var(--olive);border-radius:2px;background:var(--olive);color:var(--paper);font:500 14px/1.4 var(--sans);text-align:center}
.cookie-notice .cookie-accept:hover{background:#44513e}
.cookie-notice .cookie-alternative{font:12px/1.7 var(--sans);margin:0;color:var(--ink)}
.cookie-notice .cookie-decline{display:inline-block;vertical-align:baseline;min-width:44px;min-height:44px;margin:-8px 0;padding:8px 0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;line-height:inherit;letter-spacing:inherit;text-decoration:none;box-shadow:none}
.cookie-notice .cookie-privacy{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;display:inline-block;padding:10px 0;margin:-10px 0;min-height:44px}
.cookie-notice button:focus-visible,.cookie-notice a:focus-visible,[data-cookie-settings]:focus-visible{outline:2px solid #925438;outline-offset:3px}
.cookie-settings{min-height:44px;padding:12px 0;font:12px/1.6 var(--sans);letter-spacing:0;cursor:pointer}
.cookie-footer{display:flex;align-items:center;gap:24px;padding:18px 5%;border-top:1px solid var(--line);font-size:12px}
.cookie-footer a,.privacy-content a{text-decoration:underline;text-underline-offset:3px}
.privacy-content{max-width:800px;margin:auto;padding:65px 24px;font:15px/1.8 var(--sans)}
.privacy-content h1{font:400 clamp(42px,7vw,64px)/1.05 var(--serif);margin:30px 0}
.privacy-content h2{font:500 30px/1.2 var(--serif);letter-spacing:-.02em;margin:32px 0 12px}
.privacy-content p{margin:14px 0}
@media(max-width:700px){.cookie-notice{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));padding:18px 20px;max-height:48svh}.cookie-notice .cookie-title{font-size:28px}.cookie-notice .cookie-accept{margin-top:14px}.cookie-notice .cookie-alternative{font-size:12px}}
@media(max-height:450px){.cookie-notice{max-height:48svh;padding:16px 20px}}
/* Focused page controls must never sit behind the notice. */
body:has(.cookie-notice:not([hidden])) :is(a,button,summary):focus-visible{scroll-margin-bottom:52svh}
/* Keep the mobile navigation fully usable while its drawer is open. */
body:has(.mobile-nav[open]) .cookie-notice{visibility:hidden;pointer-events:none}
