/* The cookie notice (#1693, rebuilt for #2691 in the style the owner showed; consent.js): a card in the bottom corner,
   in the landing's night palette by fixed value, since it sits over the dark landing and the legal pages alike.
   Essential only sits beside Accept all at the same size: declining is exactly as easy as allowing. */
.ny-consent{position:fixed;left:50%;bottom:12px;transform:translateX(-50%);z-index:60;box-sizing:border-box;width:25rem;max-width:calc(100vw - 24px);max-height:calc(100svh - 24px);overflow-y:auto;padding:16px 16px 14px;background:#101a14;color:#f0f3e9;border:1px solid #2c3b31;border-radius:14px;box-shadow:0 18px 50px #000a,0 0 0 1px #a4e8c90d inset;font-family:Geist,ui-sans-serif,system-ui,sans-serif;font-size:13px;line-height:1.55;text-align:left;animation:ny-consent-in .28s cubic-bezier(.2,.8,.2,1)}
.ny-consent *{box-sizing:border-box}
.ny-consent p{margin:0}
.ny-consent-head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.ny-consent-icon{display:block;flex:none;width:20px;height:20px;background:#a4e8c9;-webkit-mask:var(--ny-cookie) center/contain no-repeat;mask:var(--ny-cookie) center/contain no-repeat;--ny-cookie:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5'/%3E%3Cpath d='M8.5 8.5v.01M16 15.5v.01M12 12v.01M11 17v.01M7 14v.01'/%3E%3C/svg%3E")}
.ny-consent-head .ny-consent-icon{box-sizing:content-box;padding:9px;border-radius:10px;background-color:#a4e8c9;-webkit-mask:none;mask:none;background-image:none;position:relative}
.ny-consent-head .ny-consent-icon::after{content:"";position:absolute;inset:9px;background:#153b2c;-webkit-mask:var(--ny-cookie) center/contain no-repeat;mask:var(--ny-cookie) center/contain no-repeat}
.ny-consent-titles{flex:1;min-width:0}
.ny-consent-title{font-size:15px;font-weight:600;line-height:1.3;color:#f0f3e9}
.ny-consent-title:focus{outline:none}
.ny-consent-title:focus-visible{outline:2px solid #38816a;outline-offset:3px;border-radius:3px}
.ny-consent-sub{font-size:12.5px;color:#a4e8c9}
.ny-consent-close{flex:none;align-self:flex-start;width:44px;height:44px;margin:-13px -13px 0 0;padding:0;border:0;border-radius:8px;background:transparent;color:#b6c2b8;font:inherit;font-size:20px;line-height:1;cursor:pointer}
.ny-consent-close:hover{background:#25372b;color:#f0f3e9}
.ny-consent-text{color:#b6c2b8}
/* The categories as chips with their state; under Customise they open into rows with a sentence and a switch. */
.ny-consent-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 0;padding:0;list-style:none}
.ny-consent-chips.is-open{grid-template-columns:1fr}
.ny-consent-chip{padding:8px 10px;border:1px solid #2c3b31;border-radius:10px;background:#16231b}
.ny-consent-chip.is-on{border-color:#38816a}
.ny-consent-chip-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:22px}
.ny-consent-name{font-weight:600;color:#f0f3e9}
.ny-consent-state{padding:1px 8px;border-radius:999px;background:#25372b;color:#b6c2b8;font-size:12px;font-weight:600}
.ny-consent-chip.is-on .ny-consent-state{background:#a4e8c9;color:#153b2c}
.ny-consent-detail{margin-top:4px!important;color:#b6c2b8;font-size:12.5px}
.ny-consent-switch{position:relative;flex:none;width:38px;height:22px;padding:0;border:1px solid #526257;border-radius:999px;background:#25372b;cursor:pointer}
.ny-consent-switch::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#b6c2b8;transition:transform .18s ease,background-color .18s ease}
.ny-consent-switch[aria-checked="true"]{border-color:#a4e8c9;background:#38816a}
.ny-consent-switch[aria-checked="true"]::after{transform:translateX(16px);background:#f0f3e9}
.ny-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
/* The buttons look as every button on the site (buttons.css, owner 26 Nov, #3067): Accept all primary, Essential only
   secondary, side by side. Customise is a small text link in the foot line (owner, 26 Nov, #2691). */
.ny-consent-actions button{white-space:nowrap}
.ny-consent-foot .ny-consent-customise{color:#d6ddd2}
.ny-consent-foot{margin-top:12px!important;padding-top:10px;border-top:1px solid #223027;color:#8d9c91;font-size:12px}
.ny-consent-foot a{color:#d6ddd2;text-decoration:underline;text-underline-offset:3px}
.ny-consent-later{display:block;margin-top:2px}
.ny-consent button:focus-visible,.ny-consent a:focus-visible,.ny-cookie-button:focus-visible{outline:2px solid #a4e8c9;outline-offset:2px}
.ny-consent [hidden],.ny-cookie-button[hidden]{display:none!important}
/* The cookie button: stays on the page once the question is answered, and asks it again. */
.ny-cookie-button{position:fixed;left:16px;bottom:16px;z-index:59;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #2c3b31;border-radius:50%;background:#101a14;box-shadow:0 6px 20px #0008;cursor:pointer;animation:ny-consent-in .28s cubic-bezier(.2,.8,.2,1)}
.ny-cookie-button:hover{border-color:#38816a;background:#16231b}
@keyframes ny-consent-in{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@media (prefers-reduced-motion:reduce){.ny-consent,.ny-cookie-button{animation:none}.ny-consent-switch::after{transition:none}}
/* Wide screens: the bottom-right corner, clear of the hero's check form. */
@media (min-width:900px){.ny-consent{left:auto;right:24px;bottom:24px;transform:none}}
/* Narrow phones: a smaller box; under 360px the three choices one under the other (each at the one button size). */
@media (max-width:400px){.ny-consent{bottom:8px;padding:14px 13px 12px;font-size:12.5px}.ny-cookie-button{left:12px;bottom:12px}}
/* privacy.html's "Change your cookie choice": a button that reads as a link. */
.ny-link-button::after{content:"";position:absolute;inset:-8px -4px}
.ny-link-button{position:relative;font:inherit;padding:0;border:0;background:none;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
/* A phone (#2767): the banner left both hero buttons covered at 390x844. It keeps its title, the two choices (Customise a link since #2691)
   and the policy links; the sentence and the category chips show again under Customise. */
@media (max-width:600px){.ny-consent-text,.ny-consent-later,.ny-consent-chips:not(.is-open){display:none}}
/* And shorter on a phone (owner, 26 Nov 2026, #2691): at 360x740 the notice sits below both hero buttons
   (scripts/check-notice.mjs). The title, the two buttons and the links line stay; the line under the title, the cookie
   icon and the divider above the links go; tap sizes unchanged. */
@media (max-width:600px){.ny-consent{padding:10px 12px 8px}.ny-consent-head{margin-bottom:8px}.ny-consent-sub,.ny-consent-head .ny-consent-icon{display:none}.ny-consent-close{margin:-10px -12px -10px 0}.ny-consent-actions{margin-top:8px}.ny-consent-foot{margin-top:8px!important;padding-top:0;border-top:0}}
@media (max-width:359px){.ny-consent-actions{grid-template-columns:1fr}}
