@font-face{font-family:Bricolage;src:url('/assets/fonts/variable-2.woff2') format('woff2');font-weight:400 800;font-display:swap}@font-face{font-family:DM;src:url('/assets/fonts/variable-4.woff2') format('woff2');font-weight:400 700;font-display:swap}@font-face{font-family:Newsreader;src:url('/assets/fonts/variable-7.woff2') format('woff2');font-weight:400 600;font-style:italic;font-display:swap}
:root{--ink:#142e27;--deep:#0b201c;--paper:#fff0d3;--muted:#b6c8b2;--orange:#ff9b70;--lime:#e7ec9c;--line:#c7dfad30;--display:Bricolage,Arial,sans-serif;--body:DM,Arial,sans-serif;color-scheme:dark;font-family:var(--body);background:var(--ink);color:var(--paper);font-synthesis:none}*{box-sizing:border-box}html,body{height:100%;overscroll-behavior:none}body{margin:0;height:100dvh;overflow:hidden;display:flex;flex-direction:column;background:radial-gradient(ellipse at 20% 0,#304b37,transparent 70%),var(--ink);padding-top:env(safe-area-inset-top)}h1,h2,h3,p{margin:0}button,a,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit;color:inherit}button{cursor:pointer;border:0;touch-action:manipulation}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:3px}a{color:inherit}em{font-family:Newsreader,Georgia,serif;font-weight:400}[hidden]{display:none!important}header{height:58px;flex-shrink:0;max-width:1400px;width:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 20px}.wordmark{font:750 25px var(--display);letter-spacing:-1px;text-decoration:none;display:flex;gap:5px;align-items:center}.wordmark span{color:var(--orange);transform:rotate(25deg);margin-right:4px}.wordmark b{color:var(--orange);margin-left:-5px}.header-right{display:flex;gap:7px;align-items:center}.edition{font-size:9px;letter-spacing:1.5px;margin-right:18px;color:var(--muted)}.icon{height:40px;min-width:40px;background:#0b201c88;border:1px solid var(--line);border-radius:8px;font-size:19px}.icon small{font-size:11px}.icon[aria-pressed=true] small{display:none}main{flex:1;min-height:0;display:flex;padding:0 18px max(12px,env(safe-area-inset-bottom));justify-content:center}.arcade{width:100%;max-width:1360px;display:flex;flex-direction:column;min-height:0;border:1px solid #789269;border-radius:14px;overflow:hidden;box-shadow:0 20px 70px #0005;background:var(--deep)}.hud{height:70px;flex-shrink:0;display:grid;grid-template-columns:minmax(0,1fr) 110px 130px 100px;gap:24px;padding:0 24px;align-items:center;background:#1b382d;border-bottom:1px solid var(--line)}.eyebrow{font-size:9px;letter-spacing:1.7px;color:var(--lime);line-height:1.8}.hud .eyebrow{font-size:8px;letter-spacing:1px}.hud i{font-style:normal;font-size:7px;border:1px solid #bed79a66;border-radius:3px;padding:1px 4px;margin-left:5px}.hud strong{display:block;font:650 21px var(--display);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label{display:block;font-size:8px;letter-spacing:1px;color:var(--muted)}.objective strong,.score strong{font-size:26px;line-height:1;font-variant-numeric:tabular-nums}.score small{font-size:8px;color:var(--muted);display:block;margin-top:3px}.lives strong{color:var(--orange);font-size:20px;letter-spacing:2px}.viewport{flex:1;min-height:0;position:relative;overflow:hidden;background:#102820}canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}#toast{position:absolute;top:12px;left:50%;transform:translateX(-50%);padding:9px 18px;border:1px solid #d8e99866;border-radius:30px;background:#102b22ed;box-shadow:0 4px 18px #0005;max-width:95%;text-align:center;font-size:12px;font-weight:600;pointer-events:none;opacity:0;transition:opacity .15s;white-space:nowrap}#toast.show{opacity:1}#countdown{position:absolute;inset:0;display:grid;place-items:center;background:#0a201c88;font:750 80px var(--display);color:var(--lime);text-shadow:0 6px 24px #000}.statusbar{height:30px;flex-shrink:0;display:flex;align-items:center;gap:18px;padding:0 22px;border-block:1px solid var(--line);font-size:8px;letter-spacing:1.1px;color:var(--muted);background:#19352a}.statusbar>span{min-width:160px}.statusbar>span:last-child{text-align:right}.collection-meter{height:3px;background:#66875a55;flex:1}.collection-meter i{display:block;width:0;height:100%;background:var(--lime);transition:width .15s}.controls{height:100px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:5px 22px;background:#122e25;gap:20px}.dpad{display:grid;grid-template-columns:42px 42px 42px;grid-template-rows:28px 30px 28px;gap:2px;flex-shrink:0}.dpad button{background:#244739;border:1px solid #78946177;border-radius:7px;font-size:21px;line-height:1;touch-action:none;user-select:none}.dpad button:active{background:var(--lime);color:var(--ink)}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-row:2;grid-column:1}.dpad span{grid-row:2;grid-column:2;place-self:center;color:#b7cd86}.dpad button:nth-of-type(3){grid-column:3;grid-row:2}.dpad button:last-child{grid-column:2;grid-row:3}.legend{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;font-size:9px;color:var(--muted);max-width:370px}.legend b{color:var(--lime);font-size:12px}.legend .bone-key{color:#f9c978}.legend .toy-key{color:var(--orange)}.legend small{width:100%;text-align:center;font-size:7px;letter-spacing:1.1px}.bark{min-height:60px;min-width:240px;background:var(--lime);color:var(--ink);display:flex;align-items:center;justify-content:center;gap:10px;border-radius:11px;border:1px solid #fff0d3;box-shadow:0 3px 0 #91a858}.bark>span{font-size:43px;line-height:1}.bark b{font:750 15px var(--display);display:block}.bark small{font-size:7px;letter-spacing:.7px;display:block;margin-top:5px}.bark:disabled{opacity:.7;background:#304f3d;color:var(--muted);border-color:#789269;box-shadow:none}.start{position:absolute;inset:0;background:linear-gradient(90deg,#132b24f7 0%,#102c23db 42%,#112c2355 100%),url('/assets/v2/worlds/level-01.webp') center 45%/cover;display:flex;align-items:center;padding:32px 6%;isolation:isolate}.start-copy{position:relative;z-index:2;width:54%;max-width:600px}.start .eyebrow{font-size:9px;color:#bed392;letter-spacing:2px}h1{font:800 clamp(46px,5.8vw,92px)/.84 var(--display);letter-spacing:-4px;margin:18px 0 16px}h1>span{color:var(--orange)}.title-dot{color:var(--lime)}.lede{font:600 26px/1.05 var(--display);margin:15px 0}.lede em{font-size:27px;color:#f1d4aa}.intro{font-size:11px;line-height:1.7;color:var(--muted)}.launch{margin-top:20px;max-width:325px;display:grid;grid-template-columns:1fr;gap:8px}.launch label{font-size:8px;letter-spacing:1.5px;color:var(--muted)}select{border:1px solid #99b47d88;background:#0f2a21;border-radius:8px;padding:9px 12px;font-size:12px;width:100%}.primary{display:flex;align-items:center;justify-content:space-between;text-align:left;background:var(--lime);color:var(--ink);border-radius:9px;padding:14px 20px;font:750 16px var(--display);box-shadow:0 3px 0 #91a858}.primary span{font-size:24px}.primary:hover{background:#f4f8b8}.text{background:transparent;text-decoration:underline;text-underline-offset:4px;font-size:11px;color:var(--paper);padding:7px}.start-art{position:absolute;right:2%;top:4%;width:51%;height:90%;display:grid;place-items:center;z-index:1}.start-art img{width:95%;height:95%;object-fit:contain;filter:drop-shadow(0 16px 35px #0005);position:relative;z-index:1}.art-orbit{width:85%;aspect-ratio:1;border:1px solid #ddbf7b77;border-radius:50%;position:absolute;background:radial-gradient(circle,#d5bd6a1f,transparent 70%);box-shadow:0 0 0 20px #d5bd6a07,0 0 0 21px #d5bd6a15}.roundel{position:absolute;bottom:9%;right:0;z-index:2;background:#eab789;color:#16382b;font-size:8px;text-align:center;line-height:1.8;letter-spacing:1px;border-radius:50%;width:92px;height:92px;padding-top:21px;transform:rotate(12deg);border:1px solid #fff0d3;box-shadow:0 0 0 5px #eab78933}.roundel b{font-size:11px}.start-credit{position:absolute;bottom:13px;left:6%;font-size:9px;line-height:1.6;color:#cee0be;z-index:4}.start-credit a{color:var(--paper);text-underline-offset:3px}dialog{background:#17372c;color:var(--paper);border:1px solid #829b6a;border-radius:17px;width:min(860px,94vw);max-height:91dvh;padding:20px 25px;box-shadow:0 30px 100px #0009;overscroll-behavior:contain}dialog::backdrop{background:#071710bb;backdrop-filter:blur(8px)}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}h2{font:700 38px/1.02 var(--display);letter-spacing:-1px;margin:12px 0}h3{font:650 21px var(--display);margin:15px 0 7px}.body-copy{font-size:13px;line-height:1.7;color:#c9d8bd}.panel-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.secondary{padding:12px 16px;background:#2b503d;border:1px solid #a0b97b66;border-radius:8px;font-size:12px}.level-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:22px 0}.level-card{position:relative;background:#0f2b22;border:1px solid #7f996b66;padding:0;overflow:hidden;text-align:left;border-radius:9px}.level-card img{width:100%;height:100px;object-fit:cover;display:block}.level-card strong{font:650 12px var(--display);display:block;padding:7px 8px;min-height:43px}.level-card span{position:absolute;top:5px;left:5px;border-radius:5px;background:#102c23dc;padding:3px 6px;font-size:9px}.level-card:disabled{opacity:.5}.reward-scene{position:relative;height:220px;overflow:hidden;border-radius:12px;margin:15px 0;background:#0c211c}.reward-scene>img{width:100%;height:100%;object-fit:cover;opacity:.72}.reward-scene canvas{position:absolute;inset:0}.reward-scene .seal{position:absolute;right:18px;top:8px;width:170px;height:200px;object-fit:contain;opacity:1}.reward-text{font-size:15px;line-height:1.7;color:#e2e5cb}.source{font-size:11px;margin-top:12px;line-height:1.6;color:#bbd29e}.fiction{font-size:10px;line-height:1.7;color:#a9bea5;margin-top:9px}.upgrade{display:grid;grid-template-columns:190px 1fr;gap:20px;align-items:center;background:#294b35;border:1px solid #8ca76e66;border-radius:12px;padding:8px 20px;margin:18px 0}.upgrade canvas{width:190px;height:180px}.upgrade p{font-size:12px;line-height:1.7;color:#c7dcb7}.upgrade h3{margin:4px 0 6px}.credit{font-size:11px;line-height:1.8;margin:20px 0;color:#ced8bf}.credit a{text-underline-offset:4px}.score-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:10px 0;font-size:12px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.help-grid p{font-size:12px;line-height:1.7;color:#c9d8bd}.storage-note{font-size:10px;color:var(--orange);margin-top:10px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:700px){header{height:48px;padding:0 12px}.wordmark{font-size:22px}.edition{display:none}.icon{height:35px;min-width:35px}.header-right{gap:5px}main{padding:0 7px max(5px,env(safe-area-inset-bottom))}.arcade{border-radius:10px}.hud{height:61px;padding:0 11px;gap:9px;grid-template-columns:minmax(0,1fr) 57px 70px 55px}.hud strong{font-size:14px}.hud .eyebrow{font-size:6px;letter-spacing:.6px}.hud i{font-size:5px;padding:1px 2px;margin-left:1px}.label{font-size:6px;letter-spacing:.5px}.objective strong,.score strong{font-size:20px}.score small{font-size:6px}.lives strong{font-size:14px;letter-spacing:0}.statusbar{height:28px;padding:0 10px;gap:8px;font-size:6px;letter-spacing:.4px}.statusbar>span{min-width:100px}.controls{height:106px;padding:5px 12px;gap:10px}.dpad{grid-template-columns:43px 43px 43px;grid-template-rows:29px 30px 29px;gap:3px}.legend{display:none}.bark{min-width:0;width:calc(100% - 150px);min-height:67px;gap:4px;border-radius:10px}.bark>span{font-size:33px}.bark b{font-size:13px}.bark small{font-size:5.5px;letter-spacing:.2px;line-height:1.5}.start{padding:20px 22px;align-items:flex-start;background:linear-gradient(90deg,#102c23ed,#102c2388),url('/assets/v2/worlds/level-01.webp') center/cover}.start-copy{width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start}.start .eyebrow{font-size:6px;letter-spacing:1.2px}h1{font-size:clamp(38px,12.5vw,67px);letter-spacing:-2.5px;margin:12px 0}.lede{font-size:18px;margin:7px 0;z-index:3}.lede em{font-size:19px}.intro{font-size:8px;line-height:1.5;max-width:55%;margin-top:8px}.launch{margin-top:auto;width:100%;max-width:100%;gap:5px;padding-bottom:24px;z-index:3}.launch label{font-size:6px}.launch select{font-size:11px;padding:8px 10px}.primary{padding:10px 16px;font-size:14px}.text{font-size:10px;padding:5px}.start-art{width:59%;height:61%;right:-3%;top:11%;opacity:1}.roundel{display:none}.start-credit{bottom:8px;left:22px;right:18px;font-size:6.5px}.level-grid{grid-template-columns:repeat(3,1fr);gap:8px}.level-card img{height:95px}.level-card strong{font-size:11px}.level-card span{font-size:8px}dialog{padding:15px;width:94vw;max-height:91dvh}h2{font-size:30px}.reward-scene{height:180px}.reward-text{font-size:13px}.upgrade{grid-template-columns:115px 1fr;padding:6px 10px;gap:10px}.upgrade canvas{width:115px;height:150px}.upgrade h3{font-size:18px}.upgrade p{font-size:10px}.help-grid{grid-template-columns:1fr}.body-copy{font-size:12px}#toast{font-size:10px;padding:8px 12px;max-width:98%;white-space:normal;width:max-content}}
@media(max-height:670px) and (max-width:700px){.intro{display:none}.start{padding-top:13px}h1{font-size:42px;margin:9px 0}.lede{font-size:16px}.lede em{font-size:17px}.start-art{top:5%;height:63%}.launch{gap:3px}.launch label{display:none}.controls{height:94px}.dpad{grid-template-rows:25px 27px 25px}.start-credit{font-size:6px}.hud{height:53px}.primary{padding:8px 13px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.start-credit a{display:inline-block;padding:8px 0;min-height:30px}.source a,.credit a{display:inline-block;padding:10px 0;min-height:44px}.source{margin-top:4px}.fiction{margin-top:3px}
@media(max-width:700px){.start-credit{font-size:8px;bottom:2px;line-height:1.25}.start-credit a{padding:6px 0}.launch{padding-bottom:35px}.intro{font-size:9px}}
body.home .hud,body.home .controls,body.home .statusbar{display:none}body.home .start{padding-top:35px;padding-bottom:50px}body.home .start-copy{max-height:100%}.start-art img{max-height:100%}.start-credit{bottom:6px}
@media(max-width:700px){body.home .start{padding-top:28px;padding-bottom:15px}.start-art{top:10%;height:65%}.start-copy h1{font-size:clamp(52px,14.5vw,80px)}.start-copy .lede{font-size:22px}.start-copy .lede em{font-size:23px}.intro{margin-top:14px}.start-copy .launch{padding-bottom:35px}.start-credit{bottom:6px}}
@media(max-height:650px) and (min-width:701px){h1{font-size:59px}.start .lede{font-size:22px}.start .lede em{font-size:23px}.launch{margin-top:12px}.start-copy .intro{font-size:10px}.start .eyebrow{font-size:8px}}
@media(max-width:700px){.controls{height:150px}.dpad{grid-template-columns:44px 44px 44px;grid-template-rows:44px 44px 44px;gap:3px}.bark{width:calc(100% - 148px);min-height:78px}.bark b{font-size:12px}.bark small{max-width:110px;font-size:6px}.statusbar{font-size:7px}.statusbar>span{min-width:94px}.start-credit{font-size:9px}}
@media(max-height:650px) and (max-width:700px){.controls{height:119px}.dpad{grid-template-rows:35px 35px 35px}}
@media(max-width:700px){.score strong{font-size:18px;letter-spacing:-.6px;overflow:visible;text-overflow:clip}.score{min-width:74px}.hud{grid-template-columns:minmax(0,1fr) 54px 76px 55px;gap:7px}}
dialog[data-view=reward] .panel-actions{position:sticky;bottom:-21px;padding:16px 0 12px;margin-bottom:0;background:linear-gradient(#17372ce8,#17372c 35%);z-index:4}dialog[data-view=reward] .upgrade{margin-top:16px}dialog[data-view=reward] .panel-actions .primary{flex:1;min-width:180px}
@media(max-width:700px){dialog[data-view=reward] .panel-actions{bottom:-16px;padding:12px 0}.upgrade{grid-template-columns:120px 1fr}.upgrade canvas{height:155px}.source a{font-size:11px}}
.adventure{margin-top:12px}
.start-credit{font-size:10px}@media(max-width:700px){.start-credit{font-size:9px}}

@media(max-width:700px){.reward-scene .seal{width:105px;height:145px;right:8px;top:20px}}
/* Cinematic caper cover: dedicated landscape/portrait artwork, not a playfield crop. */
body.home .caper-cover{padding:0;background:#0c201b;align-items:stretch;isolation:isolate}.cover-scene,.cover-shade{position:absolute;inset:0;z-index:-2}.cover-scene img{width:100%;height:100%;object-fit:cover;object-position:65% 50%}.cover-shade{z-index:-1;background:linear-gradient(90deg,#0b201bf5 0%,#0b201be8 30%,#0b201b70 53%,#0b201b08 73%),linear-gradient(0deg,#0b201b 0%,transparent 18%)}.cover-copy{width:54%;max-width:670px;padding:4.5% 0 65px 5.5%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;z-index:2}.cover-kicker{display:flex;align-items:center;gap:18px;font-size:9px;letter-spacing:2.4px;color:#c3d0ac}.cover-kicker b{border:1px solid #b9c28b70;color:#e9c79b;padding:3px 7px;letter-spacing:1px}.cover-copy h1{font:800 clamp(62px,7.1vw,106px)/.82 var(--display);letter-spacing:-4.5px;margin:18px 0 18px;transform:rotate(-2deg);transform-origin:left center}.cover-copy h1>span{color:#f28b62}.cover-stop{color:#e5eab4}.cover-lede{font:650 27px/1.05 var(--display);letter-spacing:-.6px;margin:8px 0 14px}.cover-lede em{font-size:31px;color:#e9c89d}.cover-blurb{font-size:11px;line-height:1.7;color:#c1cdb3}.cover-launch{margin-top:22px;max-width:330px;width:100%;gap:7px}.cover-pace{display:flex;justify-content:space-between;align-items:center;gap:10px}.cover-pace label{font-size:8px;letter-spacing:1.5px}.cover-pace span{font-size:8px;letter-spacing:1px;color:#c3d0ac}.cover-pace b{color:#fff0d3}.cover-launch select{background:#102b23dc;border-color:#a1ad7a;padding:10px 12px;border-radius:3px}.cover-launch .primary{background:#e6edac;border-radius:3px;border:1px solid #f4edd5;box-shadow:0 3px 0 #788954;padding:13px 17px;font-size:16px}.cover-launch .text{font-size:10px;padding:5px}.cover-controls{font-size:7px;letter-spacing:1.8px;color:#a4b49b;text-align:center;margin-top:2px}.cover-stamp{position:absolute;bottom:75px;right:5%;display:flex;align-items:center;gap:10px;border-top:1px solid #ebd4a788;border-bottom:1px solid #ebd4a788;padding:9px 0;color:#ebd4a7;transform:rotate(-3deg)}.cover-stamp b{font:750 49px/.8 var(--display)}.cover-stamp span{font-size:8px;letter-spacing:1.4px;line-height:1.7}.caper-cover .start-credit{left:0;right:0;bottom:0;min-height:49px;margin:0;padding:5px 5.5%;display:flex;flex-wrap:wrap;align-items:center;gap:3px;background:#0b201bdd;border-top:1px solid #c5b58b40;font-size:10px;line-height:1.5}.caper-cover .start-credit a{padding:7px 0;min-height:34px;display:inline-flex;align-items:center}
@media(max-width:700px){body.home .caper-cover{padding:0}.cover-scene img{object-position:50% 50%}.cover-shade{background:linear-gradient(180deg,#0b201b55 0%,#0b201b08 42%,#0b201b08 62%,#0b201be8 77%,#0b201b 100%),linear-gradient(90deg,#0b201b80,transparent 70%)}.cover-copy{padding:26px 22px 60px;width:100%;max-width:none;height:100%;justify-content:flex-start}.cover-kicker{font-size:7px;letter-spacing:1.8px;gap:12px}.cover-copy h1{font-size:clamp(53px,14.5vw,76px);letter-spacing:-2.8px;line-height:.85;margin:18px 0 13px}.cover-lede{font-size:21px;margin:7px 0 12px}.cover-lede em{font-size:25px}.cover-blurb{font-size:9px;line-height:1.6;max-width:53%;color:#d4d9bd}.cover-launch{max-width:none;margin-top:auto;gap:6px;padding:0!important}.cover-launch select{font-size:12px;padding:10px 12px}.cover-launch .primary{font-size:15px;padding:13px 16px}.cover-launch .text{font-size:11px;padding:5px}.cover-pace label,.cover-pace span{font-size:7px}.cover-controls{display:none}.cover-stamp{display:none}.caper-cover .start-credit{padding:4px 22px;font-size:9px;min-height:49px;gap:2px;line-height:1.2}.caper-cover .start-credit a{min-height:32px;padding:7px 0}}
@media(max-height:690px) and (min-width:701px){.cover-copy{padding-top:22px;padding-bottom:58px}.cover-copy h1{font-size:68px;margin:12px 0}.cover-lede{font-size:22px;margin:5px 0 9px}.cover-lede em{font-size:25px}.cover-launch{margin-top:13px}.cover-blurb{font-size:10px}.cover-launch .primary{padding:9px 16px}.cover-controls{display:none}}
@media(max-height:690px) and (max-width:700px){.cover-copy{padding-top:18px}.cover-copy h1{font-size:45px;margin:12px 0 9px}.cover-lede{font-size:17px;margin:5px 0}.cover-lede em{font-size:20px}.cover-blurb{font-size:8px;margin-top:9px}.cover-launch{gap:4px}.cover-launch .primary{padding:9px 14px}.cover-launch select{padding:7px 10px}}

/* Mobile play prioritizes the maze and controls over decorative chrome. */
.dpad{touch-action:none;-webkit-user-select:none;user-select:none}.dpad button.is-held{background:var(--lime);color:var(--ink);box-shadow:inset 0 0 0 2px #fff0d3}.dpad button.is-queued:not(.is-held){border-color:var(--orange);box-shadow:inset 0 0 0 2px var(--orange);color:#ffe0ae}.pad-center{font-size:8px;line-height:1.5;text-align:center;letter-spacing:.3px}.bark-touch,.bark-keys{display:block}.bark-keys{margin-top:2px;opacity:.8}#countdown.ready{pointer-events:none;background:#091d1866;font:inherit;text-shadow:none}.ready-card{width:min(290px,85%);padding:18px;background:#102c24f2;border:1px solid #becb8d;border-radius:14px;box-shadow:0 12px 40px #0008;display:grid;gap:11px;text-align:left;pointer-events:auto}.ready-card strong{font:650 24px/1.12 var(--display);color:var(--paper)}.ready-card .primary{min-height:48px;font-size:16px}.ready-card small{font-size:11px;color:#cfdbbf;line-height:1.5}#toast{white-space:normal;line-height:1.4;width:max-content;max-width:calc(100% - 20px)}
@media(max-width:700px){
 header{height:48px;padding:0 10px}.icon{min-width:44px;height:44px}.header-right{gap:4px}.wordmark{font-size:21px}
 main{padding:0 5px max(4px,env(safe-area-inset-bottom))}.arcade{border-radius:8px}.hud{height:52px;padding:0 9px;grid-template-columns:minmax(0,1fr) 48px 67px 48px;gap:6px}.hud strong{font-size:13px}.hud .eyebrow{font-size:7px;letter-spacing:.4px}.hud i{font-size:6px}.label{font-size:7px;letter-spacing:.2px}.objective strong,.score strong{font-size:19px}.score{min-width:0}.score small{display:none}.lives strong{font-size:14px}.statusbar{height:24px;padding:0 9px;font-size:7px;gap:7px}.statusbar>span{min-width:0}.statusbar>span:first-child{max-width:46%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.statusbar>span:last-child{min-width:90px}
 .controls{height:164px;padding:5px 14px;gap:16px}.dpad{width:154px;height:154px;grid-template-columns:repeat(3,48px);grid-template-rows:repeat(3,48px);gap:5px}.dpad button{min-width:48px;min-height:48px;font-size:27px;border-radius:10px;border-color:#9ab678}.dpad span{color:#c2d6b0}.bark{width:auto;flex:1;min-width:0;min-height:88px;gap:1px;padding:10px 5px;border-radius:14px;flex-direction:column}.bark>span{font-size:34px}.bark b{font-size:13px}.bark small{max-width:none;font-size:8px;letter-spacing:.2px;line-height:1.5}.bark-keys{display:none}.legend{display:none}#toast{top:6px;font-size:11px;padding:7px 12px}
 .ready-card{padding:15px;gap:9px}.ready-card strong{font-size:22px}.ready-card .eyebrow{font-size:8px}.ready-card small{font-size:10px}
}
@media(max-width:700px) and (max-height:700px){
 header{height:44px}.hud{height:48px}.statusbar{height:22px}.controls{height:158px;padding-block:2px}.hud strong{font-size:12px}.objective strong,.score strong{font-size:18px}.hud i{display:none}.ready-card{padding:12px;gap:7px}.ready-card strong{font-size:20px}.ready-card small{font-size:10px}.ready-card .primary{padding:9px 14px}
}
/* A side rail preserves the entire maze on a phone held sideways. */
@media(max-height:500px) and (min-width:600px) and (max-width:1000px){
 body:not(.home) header{height:44px;padding:0 max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left))}body:not(.home) .edition{display:none}body:not(.home) .wordmark{font-size:21px}body:not(.home) .icon{height:40px;min-width:44px}
 body:not(.home) main{padding:0 max(5px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left))}body:not(.home) .arcade{display:grid;grid-template-columns:minmax(0,1fr) 176px;grid-template-rows:48px minmax(0,1fr) 24px;border-radius:8px}body:not(.home) .hud{grid-column:1 / -1;grid-row:1;height:auto;grid-template-columns:minmax(0,1fr) 85px 100px 82px;gap:14px;padding:0 14px}body:not(.home) .hud strong{font-size:15px}body:not(.home) .label{font-size:7px}body:not(.home) .objective strong,body:not(.home) .score strong{font-size:22px}body:not(.home) .score small{display:none}body:not(.home) .viewport{grid-column:1;grid-row:2 / 4;min-width:0}body:not(.home) .statusbar{grid-column:2;grid-row:3;height:auto;justify-content:center;padding:0 5px;font-size:7px}body:not(.home) .statusbar>span:first-child,body:not(.home) .collection-meter{display:none}body:not(.home) .statusbar>span:last-child{min-width:0;text-align:center}
 body:not(.home) .controls{grid-column:2;grid-row:2;height:auto;min-height:0;padding:5px 10px;gap:7px;flex-direction:column;justify-content:center;border-left:1px solid var(--line)}body:not(.home) .dpad{width:154px;height:154px;grid-template-columns:repeat(3,48px);grid-template-rows:repeat(3,48px);gap:5px}body:not(.home) .dpad button{min-width:48px;min-height:48px;font-size:26px;border-radius:9px}body:not(.home) .legend{display:none}body:not(.home) .bark{width:154px;min-width:0;min-height:48px;max-height:54px;gap:6px;padding:5px;border-radius:9px;flex-direction:row}body:not(.home) .bark>span{font-size:30px}body:not(.home) .bark b{font-size:12px}body:not(.home) .bark small{font-size:7px;max-width:none}body:not(.home) .bark-keys{display:none}body:not(.home) .ready-card{padding:12px;gap:7px}body:not(.home) .ready-card strong{font-size:20px}body:not(.home) .ready-card .primary{padding:9px 12px}
}
@media(max-width:700px){#toast{max-height:48px;overflow:hidden}}@media(max-width:700px) and (max-height:700px){#toast{top:3px;max-height:25px;white-space:nowrap;text-overflow:ellipsis;font-size:10px;padding:4px 10px}}

/* A second thumb can bark while the steering thumb stays down. */
#bark{touch-action:none}

@media(max-width:700px){body.home .cover-launch select,body.home .cover-launch .text{min-height:44px}}

/* Keep sideways-phone feedback above the maze and pause targets thumb-sized. */
@media(max-height:500px) and (min-width:600px) and (max-width:1000px){
 body:not(.home) .icon{height:44px;min-width:44px}
 body:not(.home) #toast{position:fixed;z-index:5;top:4px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 310px);max-height:36px;overflow:hidden;font-size:10px;line-height:1.3;padding:5px 8px;white-space:normal}
}
/* Home cover: compact launch composition for short phones and sideways play. */
@media(max-width:700px) and (max-height:700px){
 body.home .cover-copy{padding:16px 18px 76px;justify-content:flex-start;gap:0;min-height:0}
 body.home .cover-copy h1{font-size:46px;line-height:.85;margin:13px 0 10px}
 body.home .cover-lede{font-size:18px;line-height:1.05;margin:3px 0 10px}body.home .cover-lede em{font-size:21px}
 body.home .cover-blurb{display:none}
 body.home .cover-launch{margin-top:auto;gap:5px;flex-shrink:0}
 body.home .cover-launch select{min-height:44px;padding:10px 12px}body.home .cover-launch .primary{min-height:48px;padding:10px 14px}body.home .cover-launch .text{min-height:44px;padding:10px}
 body.home .caper-cover .start-credit{min-height:58px;padding:3px 18px;justify-content:center;font-size:9px;gap:0 3px}body.home .caper-cover .start-credit a{min-height:38px;padding:9px 0}
}
@media(max-height:500px) and (min-width:500px) and (max-width:1000px){
 body.home header{height:44px;padding:0 max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left))}body.home .edition{display:none}body.home .wordmark{font-size:21px}body.home .icon{height:44px;min-width:44px}
 body.home main{padding:0 max(5px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left))}body.home .arcade{border-radius:8px}
 body.home .cover-scene img{object-position:70% 50%}body.home .cover-shade{background:linear-gradient(90deg,#0b201bf5 0%,#0b201be8 35%,#0b201b50 69%,#0b201b08 100%)}
 body.home .cover-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,1.12fr);grid-template-rows:20px auto 1fr;align-content:center;align-items:start;column-gap:22px;row-gap:6px;width:min(78%,630px);max-width:none;height:100%;padding:18px 0 62px 24px;min-height:0}
 body.home .cover-kicker{grid-column:1;grid-row:1;font-size:7px;letter-spacing:1.4px;gap:8px}
 body.home .cover-copy h1{grid-column:1;grid-row:2;font-size:clamp(38px,6.8vw,55px);line-height:.85;letter-spacing:-2px;margin:7px 0 0;transform:none}
 body.home .cover-lede{grid-column:1;grid-row:3;font-size:16px;line-height:1.15;letter-spacing:-.3px;margin:5px 0 0}body.home .cover-lede em{font-size:18px}body.home .cover-blurb,body.home .cover-stamp,body.home .cover-controls{display:none}
 body.home .cover-launch{grid-column:2;grid-row:1 / 4;align-self:center;display:grid;grid-template-columns:1fr;gap:6px;width:100%;max-width:none;margin:0;padding:0!important}
 body.home .cover-pace label,body.home .cover-pace span{font-size:7px}body.home .cover-launch select{min-height:44px;font-size:12px;padding:10px 12px}body.home .cover-launch .primary{min-height:48px;font-size:14px;padding:10px 12px}body.home .cover-launch .text{min-height:44px;font-size:11px;padding:9px 4px}
 body.home .caper-cover .start-credit{min-height:50px;padding:3px 24px;font-size:9px;line-height:1.2;gap:0 3px;justify-content:flex-start}body.home .caper-cover .start-credit a{min-height:40px;padding:10px 0}
}
@media(max-height:350px) and (min-width:500px) and (max-width:700px){
 body.home .cover-copy{width:90%;column-gap:18px;padding-top:12px;padding-bottom:58px;grid-template-rows:17px auto 1fr;row-gap:4px}
 body.home .cover-copy h1{font-size:38px;margin-top:3px}body.home .cover-lede{font-size:14px;margin-top:4px}body.home .cover-lede em{font-size:16px}body.home .cover-launch{gap:4px}body.home .cover-launch .primary{min-height:46px}
}
