*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#132b28;color:#fff6e6;font-family:ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif}button{font:inherit;cursor:pointer;touch-action:none;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid #e0ff82;outline-offset:5px}button:disabled{cursor:wait;opacity:.7}[hidden]{display:none!important}#game,#scene{position:absolute;inset:0}canvas{display:block;width:100%;height:100%}header{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:start;padding:28px 34px;pointer-events:none}.wordmark{filter:drop-shadow(0 4px 0 #382820) drop-shadow(0 4px 10px #0005)}.wordmark span{font-size:21px;font-weight:900;letter-spacing:-.7px}h1{font-size:clamp(35px,4.7vw,66px);line-height:.9;margin:8px 0 0;text-transform:uppercase;letter-spacing:-3px;color:#ffd56a}h1 em{font-style:normal;color:#f883a7}.hud{display:flex;align-items:end;flex-direction:column;gap:10px;pointer-events:auto}#score{font-size:22px;font-weight:700;background:#152925da;border:1px solid #fff4;border-radius:25px;padding:13px 20px;box-shadow:0 8px 25px #0002}#score b{color:#e0ff82;margin-left:9px}.tools{display:flex;gap:8px}.tools button{border:1px solid #fff3;background:#18322be8;border-radius:18px;color:#fff8e9;font-size:13px;padding:8px 12px;min-height:36px}.overlay{position:absolute;inset:0;background:linear-gradient(90deg,#0b201bd4,#0b201b38 65%);display:flex;align-items:center;padding:clamp(24px,6vw,100px)}.dialog{max-width:425px;margin-top:55px;text-shadow:0 2px 10px #0003}.tiny{font-size:15px;font-weight:800;color:#e0ff82}h2{font-size:clamp(38px,5vw,64px);line-height:1.02;letter-spacing:-2.5px;margin:12px 0 20px}p{font-family:system-ui,sans-serif;line-height:1.6;font-size:19px}.primary{background:#dfff85;border:none;border-radius:40px;padding:17px 31px;color:#183221;font-size:21px;font-weight:900;box-shadow:0 5px #70833d,0 10px 25px #0003;min-width:220px;margin:12px 0;transition:transform .15s}.primary:hover{transform:translateY(-2px)}.hint{font-size:13px;opacity:.8}.secondary{display:block;background:none;border:0;border-bottom:1px solid #fff7;color:#fff;padding:6px 0;margin-top:12px}footer{position:absolute;bottom:18px;left:28px;right:28px;pointer-events:none}#objective{font-size:14px;background:#152925dd;padding:9px 16px;border-radius:22px;display:inline-block;margin-bottom:12px;box-shadow:0 2px 12px #0002}.controls{display:flex;justify-content:space-between;align-items:end}.move,.actions{display:flex;gap:13px;pointer-events:auto}.controls button{width:67px;height:67px;border-radius:50%;border:2px solid #fff3;background:#143229d9;color:#fff;font-size:35px;box-shadow:0 5px #17251dcc,0 8px 18px #0004;display:flex;align-items:center;justify-content:center;flex-direction:column;-webkit-user-select:none;user-select:none}.controls button:active,.controls button.held{transform:translateY(4px);box-shadow:0 1px #17251dcc}.controls .actions button{width:82px;height:82px;background:#c71350;border-color:#f58aac}.controls .actions .jump{background:#badf62;color:#294024;border-color:#e5fbaa}.actions svg{width:37px;height:37px;fill:#fff}.actions span{font-size:12px;font-weight:800;line-height:1.1}.build-note{font-size:10px;opacity:.7;margin:14px 0 0;text-align:right}#toast{position:absolute;top:29px;left:50%;transform:translate(-50%);background:#152925dd;padding:11px 18px;border-radius:25px;font-size:14px;max-width:40%;text-align:center;transition:opacity .3s;pointer-events:none}.playing #welcome{display:none}.ready footer{opacity:.45}.ready #toast{display:none}@media(max-width:650px){header{padding:20px}.wordmark span{font-size:16px}h1{font-size:34px;letter-spacing:-1.7px}#score{font-size:15px;padding:10px 13px}.tools button{font-size:11px}.overlay{background:linear-gradient(0deg,#0b201bef,#0b201b10 90%);align-items:end;padding:24px 24px 155px}.dialog{margin-top:0}.dialog p{font-size:16px;margin:10px 0}.dialog .hint{font-size:11px}.primary{font-size:18px;padding:15px 25px}h2{font-size:43px;margin-bottom:10px}footer{left:18px;right:18px;bottom:12px}.controls button{width:56px;height:56px}.controls .actions button{width:68px;height:68px}.move,.actions{gap:10px}#toast{top:140px;max-width:90%;width:max-content;font-size:12px}#objective{font-size:11px}.build-note{font-size:9px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.wordmark{filter:none;width:340px;max-width:42vw}.club-logo,.title-art{display:block;height:auto;object-fit:contain;filter:drop-shadow(0 5px 5px #10251e75)}.club-logo{width:175px;max-width:100%}.wordmark h1{font-size:0;line-height:0;letter-spacing:0;margin:-11px 0 0}.title-art{width:325px;max-width:100%}@media(max-width:650px){.wordmark{width:220px;max-width:56vw}.club-logo{width:112px}.wordmark h1{margin:-7px 0 0}.title-art{width:215px}}@media(min-width:651px){.ready .dialog{transform:translateY(32px)}}:root{--chocolate:#4a2b25;--yellow:#ffd45f;--raspberry:#ef7f9f;--mint:#a9dfcc}button:focus-visible{outline:3px solid #fff5c9;outline-offset:5px}.tools button,.primary,.secondary,.controls button,.controls .actions button,.controls .actions .jump{border:2px solid var(--chocolate);color:var(--chocolate);background:linear-gradient(#fff0a5,var(--yellow));box-shadow:inset 0 2px #fff8,0 5px 0 var(--chocolate),0 9px 16px #0003;font-weight:900;text-shadow:none;min-height:44px;transition:transform .12s,box-shadow .12s}.tools button,.controls .move button{background:linear-gradient(#d8f4e9,var(--mint))}.secondary,.controls .actions #bop{background:linear-gradient(#ffbfd0,var(--raspberry))}.secondary{padding:12px 24px;border-radius:30px;margin-top:12px}.primary{padding:14px 28px;margin:10px 0;min-width:220px}button:active,.controls button.held,.primary:active{transform:translateY(4px);box-shadow:inset 0 2px #fff5,0 1px 0 var(--chocolate)}.actions svg{fill:var(--chocolate)}header{z-index:2;padding:20px 26px}.wordmark{width:280px}.club-logo{width:130px}.title-art{width:280px}.overlay{z-index:3;align-items:center;padding:28px;background:linear-gradient(90deg,#112c25e8,#112c2530 72%)}.dialog,.ready .dialog{max-width:365px;margin:0;transform:none;text-shadow:none}#welcome{align-items:flex-end;padding-bottom:28px}#welcome .dialog h2{font-size:40px;letter-spacing:-1.7px;margin:8px 0 12px}.dialog p{font-size:16px;line-height:1.5;margin:12px 0}.dialog .hint{font-size:12px;line-height:1.65;margin-bottom:0}.tiny{color:#ffe394}.dialog h2{font-size:48px}#game:not(.playing) footer{visibility:hidden;pointer-events:none}#game:not(.playing) .hud{visibility:hidden}#game:not(.playing) #toast{display:none}.controls button{border-radius:24px}.controls .actions button{border-radius:28px}#toast{z-index:2}@media(max-width:650px){header{padding:16px}.wordmark{width:200px;max-width:54vw}.club-logo{width:94px}.title-art{width:200px}.overlay{padding:20px;align-items:flex-end}#welcome{padding-bottom:24px}.dialog,.ready .dialog{max-width:340px}.dialog h2,#welcome .dialog h2{font-size:34px}.dialog p{font-size:15px}.primary{font-size:18px}.tools button{min-height:44px}#toast{top:130px}}@media(max-height:560px)and (min-width:651px){#welcome{align-items:center;padding-left:34%}.wordmark,.title-art{width:240px}}header{z-index:4}#journey{display:block;width:min(280px,55vw);height:7px;border:0;border-radius:8px;overflow:hidden;background:#15362e}#journey::-webkit-progress-bar{background:#15362e}#journey::-webkit-progress-value{background:linear-gradient(90deg,#a9dfcc,#ffd45f);border-radius:8px}.dialog .run-stats{font-size:.9rem;font-weight:700;line-height:1.55;color:#526545;background:#f4edcc;border-radius:12px;padding:10px 14px;margin:12px 0 18px}.controls .move button{width:76px;font-size:25px;gap:1px}.move span{font-size:12px;line-height:1.1}.help-link{border:0;border-bottom:1px solid currentColor;background:transparent;color:#fff2bd;font-weight:800;font-size:14px;padding:10px 0;min-height:44px;text-shadow:none}#how-to{color:#4a2b25;background:#fff6df;border:3px solid #4a2b25;border-radius:24px;padding:clamp(20px,4vw,36px);width:min(600px,calc(100vw - 32px));max-height:85dvh;overflow:auto;box-shadow:0 18px 70px #0007}#how-to::backdrop{background:#102e2bba}#how-to h2{font-size:clamp(26px,4vw,36px);letter-spacing:-1px;margin-top:0}#how-to p,#how-to li{font-size:15px;line-height:1.55}#how-to ul{padding-left:22px}#how-to li{margin-bottom:12px}#how-to .primary{font-size:18px}@media(max-width:650px){.controls .move button{width:62px;height:62px}.move,.actions{gap:8px}.tools{gap:4px}.tools button{padding:7px 9px}.hud{max-width:46vw}.tools{flex-wrap:wrap;justify-content:flex-end}}#coach{display:table;margin:0 0 10px;padding:8px 14px;max-width:min(460px,100%);border:2px solid #4a2b25;border-radius:16px;background:#fff2c2;color:#4a2b25;font-size:13px;font-weight:800;line-height:1.35;box-shadow:0 3px #4a2b25}#coach[data-kind=jump]{background:#ffe064}#coach[data-kind=bop]{background:#ffbfd0}.hint-toggle{display:flex;align-items:center;gap:10px;min-height:44px;font:600 14px/1.4 system-ui,sans-serif;margin:12px 0}.hint-toggle input{width:20px;height:20px;accent-color:#277c6e}@media(max-width:650px){#coach{font-size:12px;padding:7px 10px;max-width:100%}}@media(max-width:650px){header{flex-wrap:wrap;row-gap:12px}header>#toast{position:static;flex:0 0 100%;order:3;width:100%;max-width:none;transform:none;margin:0;align-self:stretch}}#game{--ink:#442e23;--paper:#fff4d8;--berry:#ad304f}#game .overlay{z-index:5}#game #welcome{align-items:center;padding:clamp(18px,4vw,64px)}#game .overlay{background:linear-gradient(90deg,#19332f60,transparent 74%)}#game .room-card,#game .finish-card{max-width:380px;padding:clamp(18px,2.6vw,34px);color:var(--ink);background:var(--paper);border:2px solid var(--ink);border-radius:5px 16px 5px 14px;box-shadow:3px 4px #ccac77,5px 7px 0 var(--ink),0 14px 38px #19332f40;max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain}#game .room-card h1,#game .dialog h2{font-family:Georgia,Times New Roman,serif;font-weight:700;text-transform:none;color:var(--ink);line-height:.98;letter-spacing:-.055em;margin:0 0 .18em}#game .room-card h1{font-size:clamp(40px,4.8vw,69px)}#game .room-card h2{font-size:clamp(32px,3.6vw,48px)}#game .room-card p{line-height:1.45}#game.ready .wordmark{position:absolute;left:auto;right:24px;top:18px;width:110px}#game .button-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px}#game .primary,#game .secondary{min-width:0;padding:10px 16px;margin:4px 0;border-radius:12px;font-size:16px}#game .help-link{color:#63442e;font-size:14px}#game .routes{margin:15px 0 0;padding:0;border:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.routes legend{padding:0 0 7px;font-weight:750;font-size:14px}.routes label{position:relative;cursor:pointer}.routes input{position:absolute;top:12px;left:7px;width:15px;height:15px;accent-color:#39745b}.routes span{display:flex;flex-direction:column;height:100%;padding:9px 7px 10px 30px;border:2px solid #bda987;border-radius:8px;background:#fff9e9}.routes input:checked+span{background:#d6ead8;border-color:#396e55}.routes input:focus-visible+span{outline:3px solid #376ba6;outline-offset:2px}.routes strong{font-size:14px}.routes small{font-size:11px;margin-top:2px}.timer-toggle{display:flex;align-items:center;width:fit-content;gap:7px;min-height:44px;font-size:14px;cursor:pointer}.timer-toggle input{width:17px;height:17px;accent-color:#39745b}#game #victory{padding:16px;inset:auto auto 0 0;background:none;width:auto;pointer-events:none}#game .finish-card{pointer-events:auto;padding:12px 16px;max-width:320px}#game .finish-card h2{font-size:26px;margin:0}#game .finish-card p{font-size:13px;line-height:1.25;margin:5px 0}#game .finish-card .help-link{min-height:36px;padding:3px 0}#game .wordmark{width:106px}#game .club-logo{max-width:100%}#game #toast:empty{display:none}#game footer{bottom:max(14px,env(safe-area-inset-bottom))}#game button:focus-visible,#game input:focus-visible{outline:3px solid #3566a0;outline-offset:3px}@media(max-width:650px){#game #welcome{align-items:end;padding:14px 16px max(16px,env(safe-area-inset-bottom))}#game .room-card{max-width:345px;padding:17px}#game .room-card h1{font-size:39px}#game .room-card p{font-size:14px;margin:8px 0}#game .routes{margin-top:8px}#game.ready .wordmark{right:12px;width:78px}#game .wordmark{width:68px}#game .hud{max-width:70vw}#game #victory{padding:8px 12px max(12px,env(safe-area-inset-bottom))}#game .finish-card{max-width:calc(100vw - 24px)}}@media(max-height:490px){#game .room-card{padding:12px 18px;max-height:calc(100dvh - 24px)}#game .room-card h1{font-size:30px}#game .room-card h1 br{display:none}#game .room-card p{font-size:13px;margin:5px 0}#game #welcome{padding:12px}#game .routes{margin-top:6px}}#game #victory.fort-hud{position:absolute;z-index:5;inset:0;width:auto;max-width:none;padding:0;pointer-events:none;color:var(--ink)}.fort-banner{position:absolute;top:max(12px,env(safe-area-inset-top));right:14px;display:flex;align-items:flex-start;gap:7px;max-width:calc(100% - 110px)}.fort-readout,.fort-options,#fort-menu summary{background:#fff5df;border:2px solid var(--ink);border-radius:12px;box-shadow:0 3px #584133}.fort-readout{padding:8px 13px;max-width:330px}#game #fort-progress{font:700 18px/1.12 Georgia,serif;letter-spacing:-.015em;color:var(--ink);margin:0}#game #fort-status{font:600 13px/1.35 system-ui,sans-serif;margin:3px 0 0}#fort-status:empty{display:none}#fort-menu{position:relative;pointer-events:auto}#fort-menu summary{display:grid;place-items:center;list-style:none;cursor:pointer;min-height:44px;padding:5px 12px;font-weight:750}#fort-menu summary::-webkit-details-marker{display:none}.fort-options{display:grid;position:absolute;right:0;top:calc(100% + 8px);width:171px;padding:5px}.fort-options button{min-height:44px;text-align:left;background:none;color:var(--ink);border:0;border-radius:7px;padding:7px 11px;font:650 14px/1.2 system-ui,sans-serif}.fort-options button:hover,.fort-options button:focus-visible{background:#f2dfb5}#fort-controls{position:absolute;bottom:max(13px,env(safe-area-inset-bottom));inset-inline:16px;display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none}#fort-pad{position:relative;width:104px;height:104px;border:2px solid var(--ink);border-radius:50%;background:#fff4dce8;box-shadow:0 3px #584133;color:#684b33;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}#fort-pad:active{cursor:grabbing}#fort-pad span{position:absolute;pointer-events:none}#fort-pad .pad-up,#fort-pad .pad-down{left:50%;transform:translate(-50%)}#fort-pad .pad-left,#fort-pad .pad-right{top:50%;transform:translateY(-50%)}.pad-up{top:2px}.pad-down{bottom:2px}.pad-left{left:6px}.pad-right{right:6px}#fort-knob{top:50%;left:50%;width:39%;height:39%;border-radius:50%;border:2px solid #436851;background:#b6e4c7;box-shadow:inset 0 2px 1px #efffe7,0 2px 1px #5d503645;transform:translate(calc(-50% + var(--stick-x,0)*67%),calc(-50% + var(--stick-z,0)*67%))}.fort-action-buttons{display:flex;gap:10px;pointer-events:auto}.fort-action-buttons button,#game #fort-return{touch-action:none;border:2px solid var(--ink);border-radius:19px;box-shadow:0 4px #584133;color:var(--ink);min-width:65px;min-height:57px;padding:8px 12px;font:800 17px/1.1 system-ui,sans-serif;background:#ffb8cd}.fort-action-buttons #fort-jump{background:#ffe38c}.fort-action-buttons kbd{display:block;font:600 10px/1.2 system-ui,sans-serif;margin-top:2px}#game #fort-return{position:absolute;bottom:20px;left:16px;pointer-events:auto;min-height:44px;font-size:15px}#fort-key-guide{position:absolute;left:50%;bottom:0;transform:translate(-50%);padding:5px 10px;margin:0;border-radius:16px;color:#fff8eb;background:#263328e8;font:600 12px/1.4 system-ui,sans-serif;white-space:nowrap}@media(max-width:650px){.fort-banner{inset-inline:77px 10px;max-width:none;top:10px;gap:5px}.fort-readout{flex:1;padding:6px 8px}#game #fort-progress{font-size:16px}#game #fort-status{font-size:12px}#fort-menu summary{font-size:13px;padding:4px 8px}#fort-controls{inset-inline:12px}#fort-key-guide{display:none}}@media(pointer:coarse){.fort-action-buttons kbd{display:none}}@media(max-height:480px){#fort-pad{width:86px;height:86px}.fort-options{width:220px;grid-template-columns:1fr 1fr}}#fort-swat{min-width:96px}#fort-swat[data-aligned=true]{background:#a6efcf;border-color:#285b47}.story-imprint{display:block;color:#70513b;font:750 11px/1.3 system-ui,sans-serif;letter-spacing:.06em}#game #welcome .story-imprint{margin-bottom:9px;color:#81482f}#game #welcome [hidden],#story-outcome[hidden],#story-outcome button[hidden]{display:none}#story-chapter{margin-bottom:4px}#story-outcome{margin-top:7px;padding-top:6px;border-top:1px solid #caa97e}#story-outcome strong{display:block;color:#304c3e;font:700 16px/1.15 Georgia,serif}#story-outcome button{pointer-events:auto;touch-action:manipulation;min-height:44px;margin:5px 4px 0 0;padding:6px 10px;color:#254636;background:#c9efd5;border:1px solid #567a5b;border-radius:9px;font:700 13px/1.15 system-ui,sans-serif}#story-outcome #story-replay{background:transparent;color:#654c3c;border-color:#b49878}#victory:has(#fort-controls[hidden]) #story-outcome{display:none}#story-journal{box-sizing:border-box;width:min(375px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:20px;color:var(--ink);background:#fff4da;border:2px solid #624630;border-radius:7px 18px 8px 16px;box-shadow:4px 5px #b9986a,0 16px 58px #2228}#story-journal::backdrop{background:#23352dc4}.journal-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}#story-journal h2{font:700 36px/.98 Georgia,serif;letter-spacing:-.04em;margin:4px 0 0;color:#493425}#journal-close{min-height:44px;border:1px solid #b89b75;border-radius:9px;color:#513b29;background:#fff9ed;padding:6px 10px}.journal-chapters{list-style:none;padding:0;margin:16px 0 10px;border-top:1px solid #cba982}.journal-chapters li{border-bottom:1px solid #cba982}.journal-chapters button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;min-height:65px;background:transparent;border:0;padding:7px 3px;color:#513721;font:700 19px/1.12 Georgia,serif}.journal-chapters .chapter-marker{flex:none;display:grid;place-items:center;width:32px;height:36px;color:#fff5de;background:#36644f;border-radius:2px 2px 12px 12px;font-size:17px}.journal-chapters small{display:block;margin-top:3px;font:600 12px/1.2 system-ui,sans-serif;color:#68543e}.journal-chapters button:disabled{opacity:.65}.journal-chapters button:disabled .chapter-marker{background:#78674e}#journal-hint{font:600 14px/1.4 system-ui,sans-serif;margin:12px 0 0}@media(max-width:650px){#story-chapter{font-size:10px;margin-bottom:2px}#story-outcome strong{font-size:14px}#story-outcome button{font-size:12px}}#game .room-card #room-title{font-size:clamp(38px,4.4vw,54px);text-wrap:balance}#story-rest{pointer-events:auto;touch-action:manipulation;margin-top:5px;min-height:44px;padding:5px 12px;border:1px solid #947140;border-radius:9px;background:#ffedbb;color:#533d28;font:700 13px/1.15 system-ui,sans-serif}#story-rest[hidden]{display:none}.journal-chapters .chapter-marker{width:34px;height:37px;border:1px solid #57806c;background:#f5f0cf;color:#365a46}.chapter-marker svg{width:27px;height:27px}.journal-chapters [data-seal=earned] .chapter-marker{color:#fff1b3;background:#326248;outline:1px solid #bb944c;outline-offset:1px}.journal-chapters [data-seal=locked] .chapter-marker{background:#e8dfcc;color:#75695a;border:1px dashed #847861}#game{--ink:#48180f;--navy:#223a70;--pink:#fd5081;--gold:#febf2e;--blue:#1d9af5;--cream:#fff9eb;--rim:#6f2a21;--paper:#fff9eb;--display:ui-rounded,"Arial Rounded MT Bold","Trebuchet MS",system-ui,sans-serif;--button-shadow:0 3px 0 var(--rim),inset 0 2px 0 #ffffff8a}#game .hud,#game #fort-swat,#game .fort-banner,#game #fort-return,#game footer{display:none!important}#game.ready .wordmark{left:max(18px,env(safe-area-inset-left));right:auto}#game #welcome.overlay{background:linear-gradient(90deg,#223a7042,transparent 70%)}#game #story-welcome,#game dialog{color:var(--ink);background:var(--cream);border:2px solid var(--rim);border-radius:22px;box-shadow:0 5px 0 var(--rim),0 12px 32px #17234e55;text-shadow:none}#game #story-welcome{border-top:7px solid var(--gold);max-width:min(395px,100%)}#game #room-title{font:900 clamp(36px,4.4vw,52px)/1 var(--display);color:var(--ink);letter-spacing:-.06em;margin:5px 0 12px}#game #welcome .story-imprint,#game .story-imprint{color:var(--navy);font:800 11px/1.3 var(--display);letter-spacing:.035em}#game #story-welcome p{color:var(--ink);line-height:1.45}#game #mystery-toolbar{position:absolute;z-index:8;right:max(16px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top))}#game #mystery-gear,#game #mystery-panel button,#game #mystery-settings button,#game #close-help,#game #play,#game #welcome .help-link{color:var(--ink);border:2px solid var(--rim);border-radius:14px;background:#fff3d4;min-height:44px;font:800 14px/1.2 var(--display);padding:7px 12px;box-shadow:var(--button-shadow);touch-action:manipulation}#game #mystery-gear{display:grid;place-items:center;width:48px;height:48px;padding:8px;background:#c9ebff;border-radius:17px;color:var(--navy)}#game #mystery-gear svg{width:24px;height:24px}#game #play,#game #mystery-settings #mystery-apply,#game #close-help,#game #mystery-panel #story-replay{background:linear-gradient(#ffda6c,var(--gold));color:#482303}#game #welcome .help-link{background:#ffe4ee}#game #mystery-panel{position:absolute;z-index:5;top:max(12px,env(safe-area-inset-top));right:76px;max-width:min(354px,calc(100vw - 158px));padding:9px 13px;background:var(--cream);border:2px solid var(--rim);border-left:6px solid var(--pink);border-radius:17px;box-shadow:0 3px 0 var(--rim);color:var(--ink);pointer-events:none}#game #mystery-goal{margin:2px 0;font:850 20px/1.12 var(--display);letter-spacing:-.04em;color:var(--ink)}#mystery-panel button{pointer-events:auto}#game #mystery-hint{margin-top:4px;min-height:38px;padding:4px 12px;background:#d7eeff;color:var(--navy);font-size:13px}#game #mystery-hint[aria-expanded=true]{background:#83c8fc}#mystery-panel p,#game #mystery-welcome-notice{margin:5px 0;font:600 13px/1.35 system-ui,sans-serif}#game #mystery-tip{color:var(--navy);padding:5px 8px;border-radius:8px;background:#e5f2ff}#mystery-sketch{display:flex;flex-wrap:wrap;gap:4px;padding:0;margin:7px 0;list-style:none}#mystery-sketch li{color:var(--ink);font:800 12px/1.3 var(--display);padding:3px 7px;background:#ffda76;border-radius:7px;border:1px solid var(--rim)}#mystery-sketch li[data-matched=true]{color:var(--navy);background:#bce5ff;border-color:#315c89}#mystery-sketch li[data-matched=true]:before{content:"✓ "}#game #mystery-settings,#game #how-to{box-sizing:border-box;width:min(400px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:20px;border-top:7px solid var(--blue)}#game #how-to{width:min(470px,calc(100vw - 28px));border-top-color:var(--pink)}#mystery-settings::backdrop,#how-to::backdrop{background:#142b4fba}#game #mystery-settings h2,#game #how-to h2{color:var(--ink);font:900 30px/1.12 var(--display);margin:0 0 12px;letter-spacing:-.045em}#game dialog p{font:550 14px/1.45 system-ui,sans-serif}#mystery-options{display:grid;gap:0;border:0;margin:0 0 11px;padding:0}#mystery-options label{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:53px;padding:4px 0;border-bottom:1px solid #dfcbb0;font:700 14px/1.2 var(--display)}#mystery-options label:first-child{padding:7px;border:1px solid #84b9e3;border-radius:12px;background:#e0f2ff;color:var(--navy)}#mystery-options select{border:1.5px solid #8f6e58;border-radius:9px;padding:6px;min-height:40px;min-width:108px;background:#fffdf8;color:var(--ink);font:700 14px/1.2 var(--display)}#mystery-settings .button-row{margin-top:14px}#game #fort-sound{background:#fce1e9}#game #mystery-lock,#game #mystery-count-limit{padding:7px 10px;background:#fff0c3;border-radius:9px}#game #fort-pad{background:radial-gradient(circle at 35% 25%,#f6fcff,#ceeaff 70%);color:var(--navy);border:3px solid var(--navy);box-shadow:0 3px #13294d}#game #fort-knob{background:radial-gradient(circle at 33% 28%,#a1dfff,var(--blue) 75%);border:2px solid var(--navy);box-shadow:inset 0 2px #d3f2ff,0 2px 1px #315580}#game #fort-jump{background:linear-gradient(#ffd969,var(--gold));color:var(--ink);border:2px solid var(--rim);border-radius:20px;box-shadow:var(--button-shadow);font:850 18px/1.12 var(--display)}#game #fort-key-guide{color:#fff;border:1px solid #95c5ff;background:#223a70f2}#game button:focus-visible,#game select:focus-visible,#game summary:focus-visible{outline:3px solid #1761a4;outline-offset:3px}@media(max-width:650px){#game.ready .wordmark{left:12px}#game #mystery-panel{right:64px;padding:6px 8px;max-width:calc(100vw - 142px);border-left-width:4px}#game #mystery-goal{font-size:16px}#game #mystery-toolbar{right:10px}#game #mystery-gear{height:44px;width:44px}#game #mystery-hint{min-height:44px}#mystery-panel p{font-size:12px}}@media(min-width:651px)and (max-width:800px){#game #fort-key-guide{max-width:46vw;text-align:center;white-space:normal}}@media(max-height:480px){#game #story-welcome,#game #mystery-settings,#game #how-to{padding:12px 17px}}#game{--chocolate:#3a1615;--crease:#612b25;--butter:#ffcf43;--berry:#ab2849;--plaque:#332829;--display:"Arial Rounded MT Bold","Chalkboard SE","Trebuchet MS",system-ui,sans-serif}#game #story-welcome,#game #mystery-settings,#game #how-to{background:linear-gradient(145deg,#fff8dc 0,#ffedbf 82%,#f1cea1);border:3px solid var(--chocolate);border-radius:21px 24px 22px 19px;box-shadow:inset 0 3px #fffff8,inset 0 -3px #ddac73,0 5px #572923,0 8px 15px #27131060}#game #story-welcome{padding:clamp(17px,2.5vw,28px)}#game #story-welcome .story-imprint,#game #mystery-room{color:#69371e;font-weight:800}#game #room-title{display:table;margin:10px 0 20px;padding:0 5px;font:1000 clamp(49px,5.4vw,70px)/.88 var(--display);letter-spacing:-.095em}#room-title .title-line{display:block;width:max-content;transform:rotate(-3deg)}#room-title .title-line+.title-line{margin:2px 0 0 8px;transform:rotate(-2deg)}#room-title i{display:inline-block;position:relative;font:inherit;font-style:normal;color:#ffcc36;-webkit-text-stroke:5px #431918;paint-order:stroke fill;text-shadow:0 1px #fff2a1,0 3px #d58321,0 5px #6a281b,1px 7px #431918,-1px 7px #431918}#room-title .title-line+.title-line i{color:#ff6499;text-shadow:0 1px #ffc7d9,0 3px #c23368,0 5px #802540,1px 7px #431918,-1px 7px #431918}#room-title i:nth-of-type(3n+1){transform:rotate(-5deg)}#room-title i:nth-of-type(3n+2){transform:translateY(-.015em) rotate(3deg)}#room-title i:nth-of-type(4n){transform:translateY(.025em) rotate(-3deg)}#game #mystery-settings h2,#game #how-to h2{color:#ffcf43;font-weight:1000;letter-spacing:-.045em;-webkit-text-stroke:3px #451b19;paint-order:stroke fill;text-shadow:0 3px #8a451e,0 4px #451b19}#game #mystery-panel{background:linear-gradient(145deg,#453233,#30262a);color:#fff8df;border:2px solid #27171a;border-radius:14px 17px 15px 16px;box-shadow:inset 0 2px #795758,0 3px #1e1418,0 5px 12px #2613194f}#game #mystery-room{color:#ffe4a2}#game #mystery-goal{color:#ffda66;text-shadow:0 2px #49220c;font-weight:900}#game #mystery-tip{color:#262e48;background:#d4e5ec}#game #play,#game #mystery-settings #mystery-apply,#game #close-help,#game #mystery-panel #story-replay{color:#3a2110;background:linear-gradient(#ffe682,#ffcb40 43%,#f4aa2b);border-color:#522a19;box-shadow:inset 0 2px #fff3ba,inset 0 -3px #dc9027,0 3px #5d3021}#game #mystery-gear,#game #mystery-hint,#game #mystery-settings #mystery-close,#game #welcome .help-link,#game #fort-sound{color:#3d2527;background:linear-gradient(#fff7e5,#f9dfb9);border-color:#59322a;box-shadow:inset 0 2px #fff9f0,inset 0 -2px #d6ad8d,0 3px #57352b}#game #mystery-hint[aria-expanded=true],#game #fort-sound[aria-pressed=true]{background:linear-gradient(#ffdded,#f2a7c2)}#game #mystery-gear{border-radius:50%;background:linear-gradient(#e3f5ff,#a6d5ec);color:#29425c}#game #mystery-settings select{border:2px solid #6a473b;border-radius:10px;box-shadow:inset 0 2px 2px #9d74482b}#game #mystery-options label:first-child{background:#ffe4a1;border-color:#c38b40;color:#502e1c}#game #mystery-sketch li{color:#4c2719;background:linear-gradient(#ffe586,#ffc747);border:1px solid #6d3c23;box-shadow:inset 0 1px #fff6c4,0 2px #20191b}#game #mystery-sketch li[data-matched=true]{color:#243d19;background:linear-gradient(#d9ed9f,#a7d55c)}#game #fort-controls{bottom:max(34px,calc(env(safe-area-inset-bottom) + 31px));inset-inline-start:max(16px,env(safe-area-inset-left));justify-content:flex-start;gap:16px;align-items:end}#game #fort-pad,#game #fort-jump{width:99px;height:99px;border-radius:50%;position:relative;margin:0;padding:0;flex:none;overflow:visible}#game #fort-pad{background:#26171c77;border:1px solid #f8dfb05e;box-shadow:none}#game #fort-pad .pad-up,#game #fort-pad .pad-down,#game #fort-pad .pad-left,#game #fort-pad .pad-right{display:none}#game #fort-knob,#game #fort-jump{border:4px solid #351b1b;outline:none;box-shadow:inset 0 3px 1px var(--edge-light),inset 0 -6px 1px var(--edge-dark),inset 1px 0 1px #ffffff4a,0 4px #241618,0 7px 9px #20171c6b}#game #fort-knob{--edge-light:#e86688;--edge-dark:#791b36;display:grid;place-items:center;width:89%;height:89%;border-radius:50%;background:linear-gradient(155deg,#bb3756,#a52948 46%,#92243e);transform:translate(calc(-50% + var(--stick-x,0)*26%),calc(-50% + var(--stick-z,0)*26%))}#game #fort-jump{--edge-light:#d6e675;--edge-dark:#66932b;display:grid;place-items:center;background:linear-gradient(155deg,#aac53d,#90b934 52%,#74a82e)}#game #fort-pad .raised-glyph,#game #fort-jump .raised-glyph{width:66%;height:66%;display:block;overflow:visible;pointer-events:none;filter:drop-shadow(0 2px 1px #32151a55)}#game #fort-pad .paw-glyph{width:65%;height:65%}#game .control-caption{pointer-events:none;position:absolute;top:calc(100% + 4px);left:50%;transform:translate(-50%);white-space:nowrap;font:800 12px/1.2 var(--display);color:#fffbe8;text-shadow:0 1px #241619;background:#30272af2;border:1px solid #705958;border-radius:10px;padding:2px 8px}#game #fort-jump kbd{display:inline;font:700 10px/1 var(--display);margin:0 0 0 3px;color:#f5e8b9}#game #fort-key-guide{border:1px solid #72595f;background:#30292aef}#game #fort-jump:active{filter:brightness(.94);transform:translateY(2px)}#game #fort-jump:focus-visible,#game button:focus-visible,#game select:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px #254973}@media(pointer:coarse){#game #fort-jump kbd{display:none}}@media(max-width:650px){#game #fort-controls{inset-inline:max(14px,env(safe-area-inset-left)) max(14px,env(safe-area-inset-right))}#game #fort-pad,#game #fort-jump{width:86px;height:86px}#game #room-title{font-size:48px}}@media(max-height:480px){#game #fort-pad,#game #fort-jump{width:72px;height:72px}#game #room-title{font-size:40px}#room-title .title-line{display:inline-block}#game #story-welcome{padding:10px 16px}}#game .room-card #room-title{font-size:clamp(55px,5.8vw,76px);letter-spacing:-.07em}#room-title .title-line+.title-line i:nth-of-type(4){margin-inline-start:.17em}#game #fort-pad{border-color:transparent;background:transparent}#game #fort-pad:active{background:#37252b77;border-color:#f8dfb05e}#game :is(#mystery-gear,#mystery-hint,#close-help,#play,#story-replay):active,#game #mystery-settings button:active{translate:0 2px;filter:brightness(.95)}@media(max-width:650px){#game .room-card #room-title{font-size:52px}}@media(max-height:480px){#game .room-card #room-title{font-size:39px}}@media(min-width:651px)and (max-width:900px){#game #fort-key-guide{left:auto;right:0;transform:none;max-width:calc(100% - 235px);white-space:normal}}#game #fort-controls .fort-action-buttons{align-items:center;gap:8px}#game #fort-controls #mystery-hint{flex:none;width:70px;min-width:0;min-height:48px;margin:0;padding:6px 4px;border:3px solid #48252b;border-radius:16px;color:#442628;text-shadow:none;background:linear-gradient(155deg,#fff3db,#edcda7);box-shadow:inset 0 2px #fffbef,inset 0 -3px #c6a07d,0 3px #301d22;font:800 13px/1.2 var(--display);touch-action:manipulation}#game #fort-controls #mystery-hint[aria-pressed=true]{color:#24421f;background:linear-gradient(155deg,#ecf6b9,#bdde7c);box-shadow:inset 0 2px #f8fbd3,inset 0 -3px #91ae5b,0 3px #301d22}#game #fort-controls #mystery-hint:focus-visible{outline:3px solid white;outline-offset:3px;box-shadow:0 0 0 6px #254973}@media(min-width:651px)and (max-width:1000px){#game #fort-key-guide{left:50%;right:auto;bottom:0;transform:translate(-58%);max-width:calc(100% - 380px);white-space:normal;text-align:center}}
