main.home-fumes:after{display:none}.footer-fumes{position:absolute;left:0;right:0;bottom:0;width:100%;height:clamp(180px,24vh,240px);display:block;pointer-events:none;z-index:0;opacity:0;transform:translateY(10px);transition:opacity .42s ease,transform .52s cubic-bezier(.22,1,.36,1);mask-image:linear-gradient(to top,#000 0%,#000 32%,rgb(0 0 0 / .94) 54%,rgb(0 0 0 / .58) 76%,transparent 100%);-webkit-mask-image:linear-gradient(to top,#000 0%,#000 32%,rgb(0 0 0 / .94) 54%,rgb(0 0 0 / .58) 76%,transparent 100%)}.footer-fumes.is-visible{opacity:1;transform:translateY(0)}@media(max-width:639px){.footer-fumes{height:clamp(150px,21vh,190px)}}@media(prefers-reduced-transparency:reduce){.footer-fumes.is-visible{opacity:.72}}@media(prefers-reduced-motion:reduce){.footer-fumes{transition:opacity .18s ease;transform:none}}.endgame-rail{width:100%;max-width:min(42rem,78vw);margin-inline:auto;margin-top:2.5rem;padding-bottom:calc(176px + env(safe-area-inset-bottom))}@media(min-width:640px){.endgame-rail{padding-bottom:6rem}}@media(min-width:768px){.endgame-rail{margin-left:15vw;margin-top:3.5rem}}@media(min-width:1024px){.endgame-rail{margin-left:18vw}}@media(min-width:1400px)and (min-height:700px){.endgame-rail{position:fixed;top:50%;transform:translateY(-50%);left:calc(18vw + min(42rem,78vw));right:0;width:auto;max-width:none;margin:0;padding-bottom:0;z-index:40}.endgame-rail [data-endgame]{width:min(21rem,calc(100% - 2rem));margin-inline:auto}#socials{padding-bottom:calc(176px + env(safe-area-inset-bottom))}}.endgame-stage{position:relative;width:100%;max-width:21rem;aspect-ratio:1;z-index:1;background:var(--bg)}.endgame-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}[data-endgame-3d=on] .endgame-board{visibility:hidden}.endgame-board{display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);container-type:inline-size;position:absolute;inset:0;border:1px solid rgb(var(--ink-rgb) / .18);font-family:Apple Symbols,Segoe UI Symbol,"Noto Sans Symbols 2",DejaVu Sans,sans-serif;user-select:none}.endgame-square{position:relative;display:flex;align-items:center;justify-content:center;font-size:4.6cqw;line-height:1}.endgame-square[data-shade=dark]{background:rgb(var(--ink-rgb) / .07)}.endgame-piece[data-side=b]{color:var(--ink)}.endgame-piece[data-side=w]{color:var(--bg);-webkit-text-stroke:.8px var(--ink);paint-order:stroke fill}.endgame-square[data-last=true]:after{content:"";position:absolute;inset:0;background:var(--accent);opacity:.16;pointer-events:none}.endgame-piece{animation:endgame-settle .22s ease-out}@keyframes endgame-settle{0%{opacity:0;transform:scale(.88)}}.endgame-controls button{cursor:pointer;color:rgb(var(--ink-rgb) / .55);transition:color .15s ease}.endgame-controls button:hover:not(:disabled){color:var(--ink)}.endgame-controls button:disabled{opacity:.3;cursor:default}.endgame-move{font-variant-numeric:tabular-nums}@media(prefers-reduced-motion:reduce){.endgame-piece{animation:none}}[data-endgame-prompt],[data-endgame-mode=puzzle] [data-endgame-caption]{display:none}[data-endgame-mode=puzzle] [data-endgame-prompt]{display:block;color:rgb(var(--ink-rgb) / .75)}[data-endgame-mode=puzzle] .endgame-controls:not(.endgame-puzzle-bar){visibility:hidden}[data-endgame-reveal],[data-endgame-nextpuzzle],[data-endgame-quit]{display:none;color:rgb(var(--ink-rgb) / .55)}[data-endgame-mode=puzzle] [data-endgame-try]{display:none}[data-endgame-mode=puzzle] [data-endgame-reveal],[data-endgame-mode=puzzle] [data-endgame-quit]{display:inline}[data-endgame-mode=puzzle][data-endgame-result=solved] [data-endgame-reveal],[data-endgame-mode=puzzle][data-endgame-result=revealed] [data-endgame-reveal]{display:none}[data-endgame-mode=puzzle][data-endgame-result=solved] [data-endgame-nextpuzzle],[data-endgame-mode=puzzle][data-endgame-result=revealed] [data-endgame-nextpuzzle]{display:inline}[data-endgame-mode=puzzle][data-endgame-result=solved] [data-endgame-prompt]{color:var(--accent)}[data-endgame-mode=puzzle][data-endgame-result=revealed] [data-endgame-prompt]{color:rgb(var(--ink-rgb) / .7)}[data-endgame-mode=puzzle][data-endgame-result=wrong] [data-endgame-prompt]{color:rgb(var(--ink-rgb) / .55)}[data-endgame-stuck=true] [data-endgame-reveal]{color:var(--ink);border-bottom:1px dotted rgb(var(--ink-rgb) / .4)}.endgame-canvas{cursor:grab;touch-action:pan-y}.endgame-canvas[data-grabbing]{cursor:grabbing}[data-endgame-mode=puzzle] .endgame-canvas:not([data-grabbing]){cursor:pointer}
