@font-face{font-family:Bricolage;src:url('/fonts/bricolage.woff2') format('woff2');font-display:swap;font-weight:200 800}
@font-face{font-family:Nunito;src:url('/fonts/nunito.woff2') format('woff2');font-display:swap;font-weight:200 1000}
:root{color-scheme:light;--ink:#193f3b;--paper:#fcf5e5;--green:#124b3e;font-family:Nunito,system-ui,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(ellipse at 18% 0%,#fffdf4,transparent 58%),var(--paper);min-height:100vh}
main{width:min(1020px,100%);margin:0 auto;padding:clamp(12px,2.4vw,28px) clamp(12px,3vw,30px) 25px}
header,.header-tools,.heading,.controls,#levels,.ribbon{display:flex;align-items:center}
header,.heading,.controls{justify-content:space-between}
header{margin-bottom:clamp(8px,2.2vw,22px)}
button,a{font:inherit;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{text-decoration:none}
button:focus-visible,a:focus-visible{outline:3px solid #ed9317;outline-offset:3px}
#library,.quiet{font-size:.91rem;font-weight:850}
#library{display:inline-flex;align-items:center;min-height:44px}
.header-tools{gap:7px}
.quiet{min-width:44px;height:44px;padding:0 10px;border:1px solid #d6cfba;background:#fffaf0;border-radius:22px}
#restart{font-family:system-ui,sans-serif;font-size:1.55rem}
.heading{gap:12px;flex-wrap:wrap;margin-bottom:clamp(12px,2vw,20px)}
h1,h2{font-family:Bricolage,Nunito,system-ui,sans-serif;margin:0}
h1{font-size:clamp(2rem,4.35vw,3.8rem);line-height:1.07;font-weight:800;letter-spacing:-.045em}
#levels{gap:2px}
#levels button{display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;padding:4px;font-weight:900;font-size:.95rem}
#levels span{width:32px;height:32px;display:grid;place-items:center;border:1px solid #bcbca7;border-radius:50%;background:#fffaf0}
#levels button:disabled{color:#76786b;cursor:default}
#levels button[aria-current=step] span{background:var(--green);border-color:var(--green);color:white}
.storybook{border:1px solid #c9c4a8;border-radius:24px;overflow:hidden;background:#fffcf2;box-shadow:0 5px 0 #ddd5b9,0 12px 30px #4c483212}
.pond{position:relative;isolation:isolate;overflow:hidden;container-type:size;width:100%;aspect-ratio:1.97;background:#409b87 url('pond.webp') center / cover}
.ribbon{position:absolute;z-index:2;pointer-events:none;left:2.4%;top:4%;gap:10px;padding:7px 15px 7px 8px;border-radius:30px;background:#fff8df;border:1px solid #4b6141;box-shadow:0 2px 0 #233b3838}
#counter{background:#9e412b;color:white;border-radius:20px;min-width:30px;text-align:center;padding:3px 7px;font-size:clamp(.65rem,1.3vw,.84rem);font-weight:850}
h2{font-size:clamp(.88rem,1.9vw,1.2rem);font-weight:800;line-height:1.05}
.board{position:absolute;inset:23% 6% 6%}
#tiles{position:absolute;inset:0;display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(3,1fr)}
.tile{position:relative;overflow:visible;margin:0;padding:0;border:0;background:transparent;color:#4f351e}
.tile:focus-visible{outline-offset:-3px;border-radius:18px}
.arm,.hub,.turner{position:absolute;pointer-events:none}
.arm{z-index:1;border:1px solid #875e34;box-shadow:0 3px 0 #755034,0 6px 5px #1c604e88}
.arm.east,.arm.west{height:5.7cqw;top:calc(50% - 2.85cqw);width:50.5%;background:repeating-linear-gradient(90deg,#bd894d 0 1px,#e6bd77 2px,#eacf93 7px,#deb77e 12px,#90663e 14px)}
.arm.east{left:50%}.arm.west{right:50%}
.arm.north,.arm.south{width:5.7cqw;left:calc(50% - 2.85cqw);height:50.5%;background:repeating-linear-gradient(0deg,#bd894d 0 1px,#e6bd77 2px,#eacf93 7px,#deb77e 12px,#90663e 14px)}
.arm.north{bottom:50%}.arm.south{top:50%}
.hub{left:50%;top:50%;width:6.4cqw;height:6.4cqw;transform:translate(-50%,-50%);z-index:2;border-radius:29%;background:repeating-linear-gradient(97deg,#cf9e64 0 1px,#e6c18a 2px 10px,#d2ac70 12px);border:1.5px solid #91683c;box-shadow:0 3px 0 #745035}
.dock .hub{width:11.2cqw;height:7.4cqw;border-radius:17%;background:repeating-linear-gradient(4deg,#a87847 0 2px,#e7bd81 3px 10px,#cda168 12px)}
.turner{display:grid;place-items:center;z-index:3;top:50%;left:50%;transform:translate(-50%,-50%);width:clamp(27px,5.9cqw,52px);height:clamp(27px,5.9cqw,52px);border-radius:50%;border:2px solid #fff3bd;background:#ae4829;color:#fff9dd;box-shadow:0 0 0 2px #76391d,0 3px 0 2px #603b23;font:bold clamp(18px,3.4cqw,30px)/1 system-ui,sans-serif}
.tile:hover .turner,.tile:focus-visible .turner{background:#86301a}
.tile.bump .turner{animation:twist .28s ease-out}
@keyframes twist{from{transform:translate(-50%,-50%) rotate(-85deg)}to{transform:translate(-50%,-50%) rotate(0)}}
.actor{position:absolute;pointer-events:none;width:1px;height:1px;z-index:4}
.actor img{display:block;position:absolute;bottom:0;left:0;transform:translateX(-50%) scaleX(var(--look,1));height:var(--height);width:auto;max-width:none;transform-origin:50% 98%;filter:drop-shadow(0 2px 1px #684a2c40)}
.yak{--height:min(18cqw,35cqh);--look:-1}
.yasha{--height:min(12.124cqw,23.575cqh);z-index:5}
.walking img{animation:steps .35s ease-in-out infinite alternate}
@keyframes steps{to{bottom:3px;rotate:1.4deg}}
.controls{min-height:85px;gap:20px;padding:14px clamp(14px,2.4vw,28px)}
#message{font-size:clamp(.94rem,1.6vw,1.13rem);line-height:1.35;font-weight:750;margin:0;max-width:42em}
#action{flex:none;padding:11px 20px;min-height:46px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:900;font-size:1.02rem;border:1px solid #163f34;background:#205c48;color:white;border-radius:32px;box-shadow:0 2px 0 #143b30}
#action:hover{background:#174a3a}
#action-icon{font-family:system-ui,sans-serif;font-size:.84em}
@media(max-width:620px){
  main{padding:10px 10px 18px}
  header{margin-bottom:5px}
  .heading{gap:4px}
  .pond{aspect-ratio:1.3}
  .ribbon{left:3%;top:4%;padding:5px 10px 5px 5px;gap:6px}
  .board{inset:26% 3% 6%}
  .yak{--height:18cqw}
  .yasha{--height:12.124cqw}
  .controls{align-items:flex-start;gap:12px;min-height:85px}
  #action{padding:10px 12px}
  .storybook{border-radius:17px}
}
@media(max-width:430px){.heading{display:block}.controls{align-items:stretch;flex-direction:column;gap:10px}#levels{margin:3px 0 -3px}#action{align-self:flex-end}}
@media(max-height:500px) and (min-width:621px){main{padding-top:2px}.heading{margin-bottom:4px}header{margin:0}h1{font-size:1.75rem}.pond{aspect-ratio:auto;height:max(230px,60svh)}.controls{min-height:52px;padding-block:6px}}
@media(prefers-reduced-motion:reduce){.walking img,.tile.bump .turner{animation:none}}
.picnic .yak::after{content:'';position:absolute;z-index:6;left:-.4cqw;top:-.5cqw;width:7.8cqw;height:4.7cqw;border-radius:20%;transform:rotate(-8deg);border:1px solid #924220;background:url('/art/picnic/pizza.webp') center / contain no-repeat,repeating-conic-gradient(#e99d73 0 25%,#fff0ce 0 50%) 0 0 / 1.8cqw 1.8cqw;box-shadow:0 2px 3px #57523966}
[hidden]{display:none!important}
.header-tools{margin-left:auto}
#hero-action{position:absolute;pointer-events:auto;background:transparent;border:0;border-radius:45%;width:max(30px,calc(var(--height)*.57));height:calc(var(--height)*.78);bottom:calc(var(--height)*.20);left:0;transform:translateX(-50%)}
.picnic .dock:last-child .hub{width:22cqw;height:12cqw;transform:translate(-53%,-44%)}
.picnic .yak::after{background-size:min(3.35cqw,6.6cqh) auto,1.8cqw 1.8cqw}
