/* Cookie choice box (2026-11-19). A plain white card, no fake glass. Reject and Accept are the same size and look,
   and neither is filled, so the page keeps its own one filled button. At the side of the screen on a computer,
   in the middle on a phone (the team's rule: a box over the centre or side, never a strip along the bottom). */
.consent{--cs-bg:#FFFFFF;--cs-ink:#260C10;--cs-body:#3D1A20;--cs-line:rgba(0,0,0,.08);--cs-shade:rgba(0,0,0,.16);
  position:fixed;z-index:190;right:max(24px,env(safe-area-inset-right,0px));bottom:max(24px,env(safe-area-inset-bottom,0px));
  width:min(392px,calc(100vw - 32px));box-sizing:border-box;margin:0;padding:24px;border:1px solid var(--cs-line);border-radius:22px;
  background:var(--cs-bg);color:var(--cs-ink);box-shadow:0 24px 60px var(--cs-shade),0 2px 8px rgba(0,0,0,.06);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;text-align:left;
  opacity:0;transform:translateY(14px);transition:opacity .35s ease,transform .5s cubic-bezier(.2,.7,.2,1)}
.consent.is-open{opacity:1;transform:none}
html.cx .consent{--cs-bg:#260C10;--cs-ink:#F7F7F7;--cs-body:#CFCFCF;--cs-line:rgba(255,255,255,.12);--cs-shade:rgba(0,0,0,.5)}

.consent .consent__h{margin:0 0 8px;padding:0;font-family:inherit;font-size:21px;font-weight:600;line-height:1.25;letter-spacing:-.02em;
  text-transform:none;color:var(--cs-ink)}
.consent .consent__p{margin:0;font-family:inherit;font-size:15px;font-weight:400;line-height:1.55;letter-spacing:-.006em;color:var(--cs-body)}
.consent .consent__p a{color:var(--cs-ink);text-decoration:underline;text-underline-offset:3px}
.consent .consent__now{margin:12px 0 0;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;color:var(--cs-ink)}
.consent .consent__btns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.consent .consent__btn{appearance:none;-webkit-appearance:none;display:flex;align-items:center;justify-content:center;min-height:48px;margin:0;
  padding:0 16px;box-sizing:border-box;border:1.5px solid var(--cs-ink);border-radius:999px;background:transparent;color:var(--cs-ink);
  font-family:inherit;font-size:16px;font-weight:600;line-height:1;letter-spacing:-.01em;text-transform:none;cursor:pointer;
  transition:background-color .2s ease,color .2s ease}
.consent .consent__btn:hover{background:var(--cs-ink);color:var(--cs-bg)}
.consent .consent__btn:focus-visible,.consent .consent__p a:focus-visible{outline:2px solid var(--cs-ink);outline-offset:3px}

/* Nov 28: three buttons, as on overlandairways.com (Accept All, Customise, Reject All), all the same look; then the preferences */
.consent .consent__btns--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.consent .consent__btns--three .consent__btn{padding:0 8px;font-size:15px}
@media (max-width:420px){.consent .consent__btns--three{grid-template-columns:1fr}}
.consent .consent__prefs{margin:0}
.consent .consent__prefs .consent__h:focus{outline:none}
.consent .consent__opt{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start;margin:14px 0 0;cursor:pointer}
.consent .consent__opt input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--cs-ink);cursor:pointer}
.consent .consent__opt input:disabled{cursor:default}
.consent .consent__opt span{font-size:14px;line-height:1.5;color:var(--cs-body)}
.consent .consent__opt b{display:block;font-size:15px;font-weight:600;line-height:1.35;color:var(--cs-ink)}

/* Nov 29: the box keeps its own sizes on the member and admin pages. On /login and /welcome the member look resets every
   bare heading and button with a rule that outweighs one class (snow.css: html.hz.snow :is(h1, h2, button)). That rule took
   the letter spacing off the box's heading there. These two rules name the box's own attribute as well, so they outweigh it.
   Every button stays at least 48px tall, and the heading keeps its spacing. */
.consent[data-consent] .consent__btn{min-height:48px}
.consent[data-consent] .consent__h{letter-spacing:-.02em}

/* the home keeps Privacy, Terms and Cookie settings in its bottom corner; the box sits just above that line */
@media (min-width:700px){html.nk-front:not(.nk-dg-page) .consent{bottom:max(52px,calc(env(safe-area-inset-bottom,0px) + 44px))}}
@media (max-width:699px){
  .consent{left:50%;right:auto;top:50%;bottom:auto;padding:22px;transform:translate(-50%,calc(-50% + 14px))}
  .consent.is-open{transform:translate(-50%,-50%)}
}
@media (prefers-reduced-motion:reduce){.consent{transition:none}}
@media print{.consent{display:none!important}}

/* "Cookie settings" sits with the legal links in each footer and looks like them */
button[data-consent-open]{appearance:none;-webkit-appearance:none;margin:0;padding:0;border:0;background:none;font:inherit;color:inherit;
  letter-spacing:inherit;text-transform:inherit;text-align:inherit;cursor:pointer}
button[data-consent-open]:hover{text-decoration:underline;text-underline-offset:3px}
.foot__bar button[data-consent-open]{display:inline-flex;align-items:center;min-height:44px}
.foot__bar button[data-consent-open]:hover{color:var(--ink);text-decoration:none}
html.cx .foot__bar button[data-consent-open]:hover{color:#FFFFFF}
.nk-foot__legal button[data-consent-open]{display:inline-block;padding:4px 0;color:#C8C8C8}
html.hz .hzf__legal button[data-consent-open]{display:inline-block;min-height:24px;line-height:24px;color:var(--hz-ink)}
