/* Fixed flight layer and visitor control. No underlying page layout changes. */
body:not(.docnil-jet-active):not(.docnil-pacman-active){cursor:default}
::highlight(docnil-jet-hit){color:transparent;text-shadow:none}
#docnil-jet-layer{display:none;position:fixed;inset:0;z-index:2147483000;width:100%;height:100%;pointer-events:none!important;touch-action:auto;contain:strict}
body.docnil-jet-active #docnil-jet-layer{display:block}
#docnil-jet-layer[hidden],.docnil-jet-hud[hidden]{display:none!important}

body.docnil-jet-active,body.docnil-jet-active :where(main,section,article,p,h1,h2,h3,h4,h5,h6,span,div,img,canvas,svg,path,li,ul,ol,figure,figcaption,header,footer,nav){cursor:none!important}
body.docnil-jet-active :is(a,button,summary,[role="button"],[role="link"],label,[data-particle-scene],[data-particle-scene] button),body.docnil-jet-active :is(a,button,summary,[role="button"],[role="link"],label) *{cursor:pointer!important}
body.docnil-jet-active :is(input,textarea,select,[contenteditable="true"]),body.docnil-jet-active :is(input,textarea,select,[contenteditable="true"]) *{cursor:auto!important}
body.docnil-jet-active :is(input:not([type]),input[type="text"],input[type="email"],input[type="search"],input[type="url"],input[type="tel"],input[type="password"],textarea,[contenteditable="true"]){cursor:text!important}

.docnil-jet-hud{position:fixed;left:max(16px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom));z-index:2147483001;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px 16px;width:max-content;max-width:calc(100vw - max(16px,env(safe-area-inset-left)) - max(16px,env(safe-area-inset-right)));padding:12px 12px 12px 16px;border:1px solid #f7f7f43b;border-left:3px solid #fa6037;background:#101113f2;color:#f7f7f4;box-shadow:0 7px 30px #0003;font:10px/1.4 var(--mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace);letter-spacing:.045em;text-transform:uppercase;pointer-events:none;isolation:isolate}
.docnil-jet-hud .jet-hud-label{grid-column:1;grid-row:1;color:#fa6037;white-space:nowrap;font-size:9px;letter-spacing:.12em}
.docnil-jet-hud .jet-hud-score{grid-column:2;grid-row:1;color:#f7f7f4;font-variant-numeric:tabular-nums;white-space:nowrap}
.docnil-jet-hud .jet-hud-help{grid-column:1/3;grid-row:2;margin:0;color:#b6b4ad;font-size:9px;line-height:1.5;letter-spacing:.02em;max-width:38ch;text-wrap:pretty}
.docnil-jet-hud .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.docnil-jet-hud :is(.jet-hud-exit,.jet-hud-pacman){grid-column:3;grid-row:1/3;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;padding:10px;border:1px solid #f7f7f43b;border-radius:0;background:#222326;color:#f7f7f4;font:9px/1.2 var(--mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace);letter-spacing:.04em;text-transform:uppercase;pointer-events:auto;cursor:pointer!important;transition:background-color .16s,color .16s,border-color .16s}
.docnil-jet-hud .jet-hud-exit:hover{background:#fa6037;border-color:#fa6037;color:#101113}
.docnil-jet-hud .jet-hud-pacman{grid-column:4;color:#e9efb4;border-color:#d9e9a33b}
.docnil-jet-hud .jet-hud-pacman:hover,.docnil-jet-hud .jet-hud-pacman[aria-pressed="true"]{background:#f8df46;border-color:#f8df46;color:#101113}
.docnil-jet-hud :is(.jet-hud-exit,.jet-hud-pacman):focus-visible{outline:2px solid #f7f7f4;outline-offset:4px}
.docnil-jet-hud[data-jet-active="false"]{display:flex;padding:4px;gap:0;border-left-width:2px}
.docnil-jet-hud[data-jet-active="false"] :is(.jet-hud-label,.jet-hud-score,.jet-hud-help){display:none}
.docnil-jet-hud[data-jet-active="false"] :is(.jet-hud-exit,.jet-hud-pacman){min-width:84px;border-color:transparent}

html[data-motion="off"] #docnil-jet-layer,html[data-motion="off"] .docnil-jet-hud{display:none!important}
html[data-motion="off"] body.docnil-jet-active,html[data-motion="off"] body.docnil-jet-active :where(main,section,article,p,h1,h2,h3,h4,h5,h6,span,div,img,canvas,svg,path,li,ul,ol,figure,figcaption,header,footer,nav){cursor:auto!important}
@media(max-width:600px){.docnil-jet-hud{left:max(10px,env(safe-area-inset-left));bottom:max(10px,env(safe-area-inset-bottom));max-width:calc(100vw - max(10px,env(safe-area-inset-left)) - max(10px,env(safe-area-inset-right)));padding:9px 9px 9px 12px;gap:4px 10px;font-size:9px}.docnil-jet-hud .jet-hud-label{font-size:8px;letter-spacing:.08em}.docnil-jet-hud .jet-hud-help{font-size:8px;max-width:28ch}.docnil-jet-hud .jet-hud-exit{font-size:8px}}
@media(prefers-reduced-motion:reduce){html:not([data-motion="on"]) #docnil-jet-layer,html:not([data-motion="on"]) .docnil-jet-hud{display:none!important}.docnil-jet-hud :is(.jet-hud-exit,.jet-hud-pacman){transition:none}}
/* Keep the permanent control clear of the bottom calls to action. */
.docnil-jet-hud{left:auto;right:max(12px,env(safe-area-inset-right));top:calc(var(--cinema-header,70px) + 12px);bottom:auto}
@media(max-width:600px){.docnil-jet-hud{left:auto;right:max(8px,env(safe-area-inset-right));top:calc(var(--cinema-header,70px) + 8px);bottom:auto}}
/* Two arcade choices share the same small, fixed control. */
.docnil-jet-hud{grid-template-columns:auto minmax(0,1fr) auto auto}
@media(max-width:600px){.docnil-jet-hud{grid-template-columns:minmax(0,1fr) 76px 76px;gap:4px 8px}.docnil-jet-hud .jet-hud-label{grid-column:1;grid-row:1;white-space:normal;overflow-wrap:anywhere}.docnil-jet-hud .jet-hud-score{grid-column:1;grid-row:2;font-size:8px;white-space:normal;overflow-wrap:anywhere}.docnil-jet-hud .jet-hud-help{grid-column:1/-1;grid-row:3;max-width:none}.docnil-jet-hud .jet-hud-exit{grid-column:2;grid-row:1/3}.docnil-jet-hud .jet-hud-pacman{grid-column:3;grid-row:1/3}.docnil-jet-hud :is(.jet-hud-exit,.jet-hud-pacman){width:76px;min-width:44px;max-width:84px;padding:8px 5px;font-size:8px}.docnil-jet-hud[data-jet-active="false"] :is(.jet-hud-exit,.jet-hud-pacman){min-width:76px}}
