@font-face{font-family:Thicccboi;src:url(fonts/webfonts/thicccboi-regular-latin-pl.woff2) format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Thicccboi;src:url(fonts/webfonts/thicccboi-bold-latin-pl.woff2) format('woff2');font-weight:600 900;font-display:swap}
:root{--paper:#f5f3ed;--ink:#252920;--mint:#d7e9c8;--muted:#62665d;--line:#25292026}*{box-sizing:border-box}html,body{width:100%;height:100%;height:100dvh;overflow:hidden;overscroll-behavior:none}body{margin:0;background:var(--paper);color:var(--ink);font:400 14px/1.6 Thicccboi,Arial,sans-serif;isolation:isolate}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:wait}a,button{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,canvas:focus-visible,summary:focus-visible{outline:2px solid #557641;outline-offset:5px}[hidden]{display:none!important}h1,h2,h3,p,ol{margin:0}em{font-style:normal}h2{font:400 58px/1 'Bebas Neue',Impact,sans-serif}.rescue-paper{position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,#fffdf9,transparent 75%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.035' filter='url(%23n)'/%3E%3C/svg%3E")}.rescue-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.rescue-scene,.rescue-field{position:fixed;inset:0}.rescue-field>canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-5px!important}.rescue-field[data-state=playing]>canvas{cursor:url(demo/rescue-hand-open-v1.svg) 22 23,grab}.rescue-field.is-holding>canvas{cursor:url(demo/rescue-hand-grab-v1.svg) 22 23,grabbing}
.rescue-logo{position:fixed;z-index:8;top:max(24px,env(safe-area-inset-top));left:max(28px,env(safe-area-inset-left));font-size:36px;line-height:1;font-weight:700;letter-spacing:-.08em;text-shadow:0 1px 12px var(--paper)}.rescue-logo>span{color:#657d55}.rescue-exit{position:fixed;z-index:8;right:max(28px,env(safe-area-inset-right));top:max(30px,env(safe-area-inset-top));font-size:10px;text-shadow:0 1px 10px var(--paper)}body[data-rescue-mode=game] .rescue-exit{display:none}
.rescue-intro{position:fixed;z-index:5;inset:0;display:grid;place-items:center;padding:130px 24px 70px;pointer-events:none}.rescue-intro-copy{width:min(640px,100%);text-align:center;pointer-events:auto}.rescue-eyebrow{font:700 9px/1.8 'Courier New',monospace;letter-spacing:.12em}.rescue-intro h1{font-size:clamp(64px,7vw,105px);font-weight:700;line-height:.87;letter-spacing:-.068em;margin:23px 0 20px;-webkit-text-stroke:.6px var(--ink);text-shadow:0 0 22px var(--paper)}.rescue-intro h1>span{display:block;rotate:-2deg}.rescue-intro h1>span:nth-child(2){rotate:1.2deg}.rescue-note{font:600 31px/1.3 Caveat,cursive;margin:16px 0}.rescue-note>em{background:linear-gradient(transparent 64%,var(--mint) 64%,var(--mint) 91%,transparent 91%)}.rescue-description{font-size:12px;line-height:1.8;color:var(--muted);text-shadow:0 0 15px var(--paper)}.rescue-intro-actions{display:flex;justify-content:center;align-items:center;gap:15px;margin-top:23px}.rescue-button{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:45px;padding:12px 22px;border:2px solid var(--ink);border-radius:48% 45% 43% 47%/15px 18px 19px 20px;background:var(--ink);color:#fffef8;box-shadow:3px 4px 0 var(--paper),5px 6px 0 var(--ink);font-size:9px;font-weight:700;line-height:1.5;transition:transform .2s}.rescue-button>span{font-size:18px;line-height:1}.rescue-button:hover{transform:translateY(-2px)}.rescue-button--outline{background:var(--paper);color:var(--ink)}.rescue-load{min-height:16px;font-size:8px;color:var(--muted);margin-top:22px}.rescue-noscript{font-size:11px;margin-top:15px}
.rescue-hud{pointer-events:none}.rescue-clock{position:fixed;z-index:8;top:max(22px,env(safe-area-inset-top));left:50%;translate:-50% 0;display:flex;align-items:center;gap:9px;pointer-events:auto}.rescue-clock svg{width:42px;height:42px;fill:none;stroke:#65725b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.rescue-clock svg>circle:first-child{stroke:var(--line)}.rescue-clock-progress{transform:rotate(-90deg);transform-origin:50% 50%;stroke:var(--ink);stroke-dasharray:100;stroke-dashoffset:0}.rescue-clock strong{font:400 26px/1.2 'Courier New',monospace;letter-spacing:-.08em;text-shadow:0 1px 10px var(--paper)}.rescue-score{position:fixed;right:max(28px,env(safe-area-inset-right));top:max(20px,env(safe-area-inset-top));z-index:8;display:grid;grid-template-columns:auto auto;align-items:center;gap:0 10px;text-shadow:0 1px 12px var(--paper)}.rescue-score>strong{grid-row:1/3;font-size:36px;line-height:1;letter-spacing:-.05em}.rescue-score>span{font:7px/1.5 'Courier New',monospace;letter-spacing:.06em}.rescue-score>small{font-size:9px;line-height:1.7;color:var(--muted)}.rescue-score b{font-weight:400}.rescue-pause,.rescue-help{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));z-index:9;display:grid;place-items:center;width:38px;height:38px;border:1.5px solid var(--ink);border-radius:48% 52% 44% 51%;background:#f5f3eddd;padding:0;pointer-events:auto;font-size:18px}.rescue-pause{right:max(26px,env(safe-area-inset-right))}.rescue-pause:disabled{opacity:.3;cursor:default}.rescue-help{left:max(26px,env(safe-area-inset-left));font:600 27px/1 Caveat,cursive}.rescue-demo-mark{position:fixed;bottom:max(29px,env(safe-area-inset-bottom));left:50%;translate:-50% 0;z-index:3;font:6px/1.8 'Courier New',monospace;letter-spacing:.1em;color:var(--muted);pointer-events:none}
.rescue-overlay{position:fixed;z-index:10;inset:0;display:grid;place-items:center;padding:80px 24px;background:#f5f3edea;backdrop-filter:blur(3px)}body[data-rescue-state=countdown] .rescue-overlay{background:transparent;backdrop-filter:none;pointer-events:none}.rescue-countdown{text-align:center;text-shadow:0 0 35px var(--paper)}.rescue-countdown>span{font:700 9px 'Courier New',monospace;letter-spacing:.1em}.rescue-countdown>strong{display:block;font:600 150px/1.2 Caveat,cursive;rotate:-6deg}.rescue-overlay-copy{text-align:center;width:min(440px,100%)}.rescue-overlay-copy h2{margin:17px 0 22px}.rescue-overlay-copy h2 em{font:600 1.1em/1 Caveat,cursive}.rescue-overlay-copy>p:not(.rescue-eyebrow){font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:25px}.rescue-result-numbers{display:flex;align-items:center;justify-content:center;gap:15px;margin:18px 0}.rescue-result-numbers>strong{font-size:63px;font-weight:700;line-height:1;letter-spacing:-.07em}.rescue-result-numbers>span{font:8px/1.8 'Courier New',monospace;text-align:left;letter-spacing:.08em}.rescue-result-numbers b{font-weight:400;color:var(--muted)}.rescue-back-intro{display:block;margin:22px auto 0;padding:8px 15px;border:0;background:none;color:var(--muted);font-size:10px;text-decoration:underline;text-underline-offset:4px}.rescue-result>small{display:block;max-width:300px;margin:14px auto 0;font-size:9px;line-height:1.7;color:var(--muted)}
.rescue-dialog{width:min(650px,calc(100% - 30px));max-height:calc(100dvh - 40px);overflow:auto;padding:36px;background:var(--paper);color:var(--ink);border:2px solid var(--ink);border-radius:14px 19px 12px 20px;box-shadow:5px 6px 0 #25282236}.rescue-dialog::backdrop{background:#24282266;backdrop-filter:blur(5px)}.rescue-close{float:right;display:grid;place-items:center;width:32px;height:32px;padding:0;border:1.5px solid var(--ink);border-radius:50%;background:none;font-size:24px;line-height:1}.rescue-dialog h2{margin:20px 0 25px}.rescue-dialog h2 em{font:600 1.1em/1 Caveat,cursive}.rescue-dialog>ol{padding-left:20px;font-size:12px;line-height:1.9}.rescue-dialog li{margin-bottom:12px}.rescue-dialog>p:not(.rescue-eyebrow){font-size:12px;line-height:1.9;color:var(--muted);margin:22px 0}.rescue-dialog details{border-block:1px solid var(--line);margin:24px 0}.rescue-dialog summary{font-size:12px;font-weight:700;cursor:pointer;padding:14px 0}.rescue-dialog details h3{font:700 11px/1.7 Thicccboi,Arial,sans-serif;margin:15px 0 6px}.rescue-dialog details p{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:20px}.rescue-dialog .rescue-demo-note{font-size:10px!important}.rescue-dialog .rescue-button{margin:5px 0 8px}
@media(max-width:650px){.rescue-logo{font-size:29px;top:max(18px,env(safe-area-inset-top));left:max(17px,env(safe-area-inset-left))}.rescue-exit{right:17px;top:23px;font-size:8px}.rescue-intro{padding:125px 19px 68px}.rescue-intro h1{font-size:clamp(47px,14vw,78px);line-height:.93;margin:19px 0 16px}.rescue-eyebrow{font-size:7px;letter-spacing:.08em}.rescue-note{font-size:26px;margin:15px 0}.rescue-description{font-size:10px;line-height:1.9}.rescue-intro-actions{gap:13px;margin-top:20px}.rescue-button{font-size:8px;padding:11px 17px;gap:17px;min-height:42px}.rescue-load{font-size:7px;margin-top:20px}.rescue-clock{top:max(17px,env(safe-area-inset-top));gap:6px}.rescue-clock svg{width:30px;height:30px}.rescue-clock strong{font-size:20px}.rescue-score{right:17px;top:max(17px,env(safe-area-inset-top));gap:0 6px}.rescue-score>strong{font-size:27px}.rescue-score>span{font-size:5px}.rescue-score>small{font-size:7px}.rescue-pause,.rescue-help{width:33px;height:33px;bottom:max(16px,env(safe-area-inset-bottom))}.rescue-pause{right:17px;font-size:16px}.rescue-help{left:17px;font-size:24px}.rescue-demo-mark{bottom:max(23px,env(safe-area-inset-bottom));font-size:5px}.rescue-overlay{padding:65px 20px}.rescue-overlay-copy h2{font-size:48px;margin:14px 0 20px}.rescue-overlay-copy>p:not(.rescue-eyebrow){font-size:11px;margin-bottom:23px}.rescue-result-numbers>strong{font-size:54px}.rescue-result-numbers>span{font-size:7px}.rescue-back-intro{font-size:9px}.rescue-result>small{font-size:8px}.rescue-dialog{padding:29px 23px}.rescue-dialog h2{font-size:49px}.rescue-dialog>p:not(.rescue-eyebrow){font-size:11px}}
@media(max-height:700px){.rescue-intro{padding-top:105px;padding-bottom:50px}.rescue-intro h1{font-size:clamp(43px,10.7vh,74px);margin:16px 0 12px}.rescue-note{font-size:25px;margin:12px 0}.rescue-description{font-size:10px}.rescue-intro-actions{margin-top:17px}.rescue-load{margin-top:17px}.rescue-overlay-copy h2{font-size:45px}.rescue-result-numbers{margin:10px 0}.rescue-result-numbers>strong{font-size:49px}.rescue-overlay-copy>p:not(.rescue-eyebrow){margin-bottom:20px}.rescue-back-intro{margin-top:15px}}
@media(max-height:500px){.rescue-intro{padding:50px 15px 65px}.rescue-intro h1{font-size:clamp(35px,10vh,47px);line-height:.88;margin:10px 0}.rescue-note{font-size:23px;margin:8px 0}.rescue-description{font-size:9px;line-height:1.6}.rescue-intro-actions{margin-top:12px}.rescue-button{min-height:36px;padding:9px 17px}.rescue-load{margin-top:13px}.rescue-overlay{padding:55px 20px}.rescue-overlay-copy h2{font-size:38px;margin:10px 0 13px}.rescue-result-numbers>strong{font-size:43px}.rescue-result-numbers{margin:10px 0}.rescue-result>small{font-size:7px;margin-top:8px}.rescue-back-intro{margin-top:11px}.rescue-overlay-copy>p:not(.rescue-eyebrow){margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.rescue-intro-copy{position:relative;isolation:isolate}.rescue-intro-copy::before{content:'';position:absolute;inset:-13% -18%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse,#f5f3edb3 15%,#f5f3ed8c 45%,transparent 72%)}
@media(max-height:700px) and (min-height:501px){.rescue-intro{padding-top:70px;padding-bottom:70px}}

/* Keep controls clear of the full-bleed lawn in the lower-left corner. */
.rescue-help{left:auto;right:max(78px,calc(env(safe-area-inset-right) + 65px))}@media(max-width:650px){.rescue-help{left:auto;right:max(65px,calc(env(safe-area-inset-right) + 55px))}}
