*{box-sizing:border-box}[hidden]{display:none!important}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f4ead6;--edge:#667f78;--quiet:#c0d0c2;--accent:#f3cd8b;--surface:#294749;background:#192f31;font:1rem/1.45 Trebuchet MS,system-ui,sans-serif}body{margin:0}main{width:min(100% - 2rem,640px);margin:clamp(.85rem,5vh,3.5rem) auto}header{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:.6rem 1rem;margin-bottom:.75rem;display:flex}.game-title{color:var(--quiet);margin:0;font-size:.875rem}h1{margin:0;font:700 clamp(1.7rem,5vw,2.6rem)/1.08 Georgia,serif}h2{margin:0 0 .5rem;font-family:Georgia,serif}.room-actions,.movement,.dialog-actions,.title-menu{flex-wrap:wrap;gap:.5rem;display:flex}button{border:1px solid var(--edge);background:var(--surface);min-height:44px;color:inherit;cursor:pointer;border-radius:3px;padding:.35rem .85rem;font:600 .95rem/1.2 system-ui,sans-serif}button:hover{background:#38585a}button:disabled{opacity:.58;cursor:default}button:active,button.held,button.primary{color:#243235;background:var(--accent);border-color:var(--accent)}button.primary:hover{background:#ffdea2}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.viewport{position:relative}#game{aspect-ratio:16/9;width:100%;box-shadow:0 0 0 1px var(--edge);background:#3a5453}canvas{image-rendering:pixelated;display:block}.title-card{color:#fff2d6;pointer-events:none;background:#172b2de8;padding:.65rem .85rem;position:absolute;inset:auto auto 7% 4%;box-shadow:inset 3px 0 #e6af74}.title-card h1{font-size:clamp(1.25rem,5vw,2.7rem)}.title-menu{align-items:center;margin-top:.85rem}.checkpoint{color:var(--quiet);margin:0 0 0 .25rem;font-size:.88rem}.intro{margin-top:.85rem}.intro-copy p{max-width:64ch;margin:0 0 .8rem}.cake-sign{pointer-events:none;color:#ffe3a8;font:700 clamp(.65rem,2.9vw,1.4rem)/1 Georgia,serif;position:absolute;top:28.9%;left:50%;transform:translate(-50%,-50%)}.notice{color:#ffe0ad;border-inline-start:2px solid var(--accent);margin:.6rem 0 0;padding-inline-start:.55rem;font-size:.85rem}.controls{justify-content:space-between;margin-top:.75rem;display:flex}.controls button{touch-action:none;-webkit-user-select:none;user-select:none;min-width:56px;min-height:49px}.controls .movement button{font-size:1.35rem}.room-caption{min-height:1.4em;margin:.45rem 0 0;font-size:.92rem}.keyboard{color:var(--quiet);margin:.25rem 0 0;font-size:.82rem}.keyboard span{margin-inline:.25rem}dialog{border:1px solid var(--edge);max-width:calc(100vw - 2rem);color:inherit;background:#203b3c;padding:1.25rem}dialog::backdrop{background:#102024bd}.settings-fields{grid-template-columns:auto minmax(5rem,1fr);align-items:center;gap:.8rem 1.25rem;margin:.9rem 0 1.25rem;display:grid}input{accent-color:var(--accent)}input[type=range]{width:100%;min-height:28px;margin:0}input[type=checkbox]{justify-self:start;width:1.1rem;height:1.1rem}.reduced-motion *,.reduced-motion :before,.reduced-motion :after{scroll-behavior:auto}@media (width>=992px) and (height>=810px){main{width:960px}}@media (pointer:coarse){.keyboard{display:none}}@media (height<=530px) and (orientation:landscape){main{width:min(100% - 2rem,120vh);margin-top:.35rem}header{margin-bottom:.35rem}h1,.title-card h1{font-size:1.35rem}.controls{margin-top:.35rem}}
