:root{--bg:#e9dcc3;--card:#fffaf0;--ink:#3b2f2a;--go:#5aa64a;--go-dark:#437f37;--stop:#e5583f;--teal:#2f9c95;--shadow:0 4px 0 #50371e2e, 0 6px 14px #50371e26}*{box-sizing:border-box}html,body{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;background:var(--bg);height:100%;color:var(--ink);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;overscroll-behavior:none;margin:0;font-family:ui-rounded,SF Pro Rounded,Nunito,system-ui,sans-serif;overflow:hidden}.screen{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);flex-direction:column;display:flex;position:fixed;inset:0}.hidden{display:none!important}#map{padding-inline:16px;padding-bottom:calc(env(safe-area-inset-bottom) + 40px);-webkit-overflow-scrolling:touch;touch-action:pan-y;justify-content:flex-start;align-items:center;gap:3vh;overflow-y:auto}#map .logo{margin-top:18px}.logo{letter-spacing:.02em;color:var(--ink);text-shadow:2px 3px #50371e26;margin:0;font-size:clamp(28px,6vw,56px);transform:rotate(-2deg)}#levels{flex-shrink:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2.5vw,28px);width:min(1120px,100%);display:grid}.card{background:var(--card);box-shadow:var(--shadow);cursor:pointer;touch-action:manipulation;border:none;border-radius:20px;padding:10px;transition:transform .12s;position:relative}.card:nth-child(odd){transform:rotate(-1.2deg)}.card:nth-child(2n){transform:rotate(1deg)}.card:active{transform:scale(.96)}.card canvas{aspect-ratio:16/10;border-radius:12px;width:100%;display:block}.card .sticker{width:52px;height:52px;position:absolute;top:-10px;right:-10px}.card.toybox{justify-content:center;align-items:center;display:flex}#play{background:var(--bg)}.bar{align-items:center;gap:12px;min-height:84px;padding:10px 16px 4px;display:flex}.spacer{flex:1}button{font:inherit;color:inherit;touch-action:manipulation}.icon,.go,.goal{cursor:pointer;box-shadow:var(--shadow);border:none;place-items:center;display:grid}.icon{background:var(--card);border-radius:20px;width:68px;height:68px}.icon svg,.go svg{width:40px;height:40px}svg path,svg circle,svg rect{fill:none;stroke:var(--ink);stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}svg .fill{fill:currentColor;stroke:none}.icon[aria-pressed=true]{background:#cfe8d0}.goal{background:var(--card);border-radius:20px;grid-auto-flow:column;gap:4px;height:68px;padding:0 14px 0 6px}.goal canvas{width:200px;height:64px}.goal .speaker{width:34px;height:34px;color:var(--ink)}.go{background:var(--go);color:#fff;width:96px;height:76px;box-shadow:0 5px 0 var(--go-dark), 0 8px 16px #3c64324d;border-radius:24px}.go svg path{stroke:#fff}.go.stop{background:var(--stop);box-shadow:0 5px #b3402c,0 8px 16px #8c3c284d}.go:active,.icon:active{transform:translateY(3px)}#stage{touch-action:none;flex:1;width:100%;min-height:0;display:block}.won{left:50%;bottom:max(12px, env(safe-area-inset-bottom));box-shadow:var(--shadow);background:#fffaf0eb;border-radius:32px;flex-wrap:wrap;justify-content:center;gap:24px;max-width:calc(100vw - 24px);padding:22px 28px;animation:.35s cubic-bezier(.2,1.6,.4,1) pop;display:flex;position:absolute;transform:translate(-50%)}.film{flex-basis:100%;justify-content:center;gap:clamp(6px,1.4vw,14px);display:flex}.film:empty{display:none}.film .frame{cursor:pointer;transform:rotate(var(--tilt,0deg));background:#fff;border:none;border-radius:4px;padding:5px 5px 12px;animation:.3s cubic-bezier(.2,1.6,.4,1) both frame-in;box-shadow:0 3px 8px #50371e40}.film .frame canvas{aspect-ratio:16/10;border-radius:2px;width:clamp(60px,11vw,124px);display:block}.film .frame:active{transform:rotate(var(--tilt,0deg)) scale(.94)}@keyframes frame-in{0%{opacity:0;transform:translateY(14px)rotate(0)scale(.7)}}#btn-guess svg .pencil{fill:#f6d58a}#btn-guess svg .crayon{stroke:var(--stop)}.big{border-radius:28px;width:110px;height:96px}.big svg{width:56px;height:56px}@keyframes pop{0%{opacity:0;transform:translate(-50%)scale(.6)}}@media (width<=700px){#levels{grid-template-columns:repeat(2,minmax(0,1fr))}.goal canvas{width:130px}.icon{width:56px;height:56px}.go{width:76px;height:64px}.bar{gap:8px;padding-inline:8px}}@media (orientation:landscape) and (height<=560px){#play{flex-direction:row}#play .bar{scrollbar-width:none;flex-direction:column;justify-content:flex-start;gap:6px;min-height:0;padding:8px 4px 8px 8px;overflow-y:auto}#play .bar::-webkit-scrollbar{display:none}#play .bar .spacer{display:none}#play .bar .icon{border-radius:15px;flex-shrink:0;width:50px;height:50px}#play .bar .icon svg{width:32px;height:32px}#play .bar .goal{border-radius:15px;flex-shrink:0;width:50px;height:auto;padding:6px 0}#play .bar .goal canvas{width:44px;height:104px}#play .bar .goal .speaker,#play.no-goal .bar .goal{display:none}#play .bar .go{z-index:2;top:calc(env(safe-area-inset-top) + 8px);right:calc(env(safe-area-inset-right) + 8px);border-radius:20px;width:76px;height:60px;position:absolute}#stage{width:auto;min-width:0;height:100%}.won{gap:16px;padding:14px 20px}.won .big{width:88px;height:72px}.film .frame canvas{width:clamp(60px,10vw,100px)}#book .bar{z-index:2;top:calc(env(safe-area-inset-top) + 8px);left:calc(env(safe-area-inset-left) + 8px);min-height:0;padding:0;position:absolute}#book .bar .icon{border-radius:15px;width:50px;height:50px}#book .book-page{width:min(100% - 140px,160dvh - 198.4px);max-height:calc(100dvh - 124px);margin-top:8px}#book .book-strip{min-height:100px;padding-block:6px calc(env(safe-area-inset-bottom) + 6px)}.pinpad-wrap .pinpad{grid-template-columns:1fr 1fr;align-items:center;column-gap:22px;width:min(640px,100%);padding:16px 72px 16px 18px;display:grid}.pinpad-wrap .pinpad>:not(.pin-keys):not(.pin-close){grid-column:1}.pinpad-wrap .pin-keys{grid-area:1/2/span 4}.pinpad-wrap .pin-keys button{height:52px}.pinpad-wrap .pinpad h3{margin:4px 0}.welcome-wrap .welcome{width:min(720px,100%);padding:14px 22px 10px;font-size:15px;line-height:1.4}.welcome-wrap .welcome h3{margin-bottom:4px;font-size:21px}.welcome-wrap .welcome li .acts{vertical-align:middle;margin:0 0 0 10px;display:inline-flex}.welcome-wrap .welcome li{margin-bottom:8px}#map{padding-bottom:calc(env(safe-area-inset-bottom) + 8px);gap:2vh}#map .logo{margin-top:8px}}.turn{display:none}@media (orientation:portrait) and (width<=560px){.turn{z-index:5;background:var(--bg);place-items:center;display:grid;position:absolute;inset:0}.turn svg{width:min(60vw,240px);height:auto}.turn .turn-arrow{stroke:var(--go);stroke-width:5px}.turn .turn-phone{transform-origin:60px 60px;animation:2.4s ease-in-out infinite turn-phone}.turn .turn-phone rect{fill:var(--card);stroke-width:5px}#btn-home{z-index:6;position:relative}}@keyframes turn-phone{0%,25%{transform:rotate(0)}55%,85%{transform:rotate(-90deg)}to{transform:rotate(0)}}.logo img{width:auto;height:clamp(56px,11vh,104px);display:block}.grownups-btn{top:calc(env(safe-area-inset-top) + 14px);right:calc(env(safe-area-inset-right) + 16px);--p:0;width:92px;color:var(--ink);opacity:.8;cursor:pointer;-webkit-touch-callout:none;background:#fffaf0a6;border:none;border-radius:18px;justify-items:center;gap:2px;padding:8px 4px 6px;display:grid;position:absolute}.grownups-btn svg{width:34px;height:34px;position:relative}.grownups-btn svg path,.grownups-btn svg circle{stroke-width:3px}.grownups-btn small{opacity:.75;font-size:11px;line-height:1.15}.grownups-btn .ring{background:conic-gradient(var(--teal) calc(var(--p) * 360deg), transparent 0);border-radius:50%;width:46px;height:46px;position:absolute;top:3px;-webkit-mask:radial-gradient(circle,#0000 19px,#000 20px);mask:radial-gradient(circle,#0000 19px,#000 20px)}.grownups-btn.nudge{animation:.35s nudge}@keyframes nudge{25%{transform:rotate(-6deg)}75%{transform:rotate(6deg)}}#grownups{background:var(--bg)}.gu-bar{align-items:center;gap:14px;padding:10px 16px;display:flex}.gu-bar h2{margin:0;font-size:22px}.text-btn{background:var(--card);min-height:44px;box-shadow:var(--shadow);cursor:pointer;border:none;border-radius:14px;padding:10px 16px;font-weight:600}.text-btn.primary{background:var(--teal);color:#fff}.text-btn.danger{color:#b3402c}.text-btn:disabled{opacity:.6;cursor:default}.gu-main{flex:1;grid-template-columns:210px minmax(0,1fr);min-height:0;display:grid}.gu-nav{flex-direction:column;gap:6px;padding:8px 10px 20px 16px;display:flex;overflow-y:auto}.gu-nav button{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:14px;align-items:center;gap:10px;min-height:48px;padding:10px 12px;font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:16px;font-weight:600;display:flex}.gu-nav button svg{flex:none;width:26px;height:26px}.gu-nav button svg path,.gu-nav button svg circle,.gu-nav button svg rect{stroke-width:3.5px}.gu-nav button.on{background:var(--card);box-shadow:var(--shadow)}.gu-body{-webkit-overflow-scrolling:touch;-webkit-user-select:text;user-select:text;padding:4px 20px 48px;font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:17px;line-height:1.5;overflow-y:auto}.gu-sec{max-width:820px;display:none}.gu-sec.on{display:block}.gu-logo{height:72px;margin:4px 0;display:block}.gu-body h3{margin:24px 0 10px;font-family:ui-rounded,SF Pro Rounded,Nunito,system-ui,sans-serif;font-size:22px}.gu-sec>h3:first-child{margin-top:6px}.gu-body h4{margin:0 0 4px;font-size:18px}.gu-body p{margin:0 0 10px}.gu-body .lead{font-size:18px}.gu-body .small{opacity:.75;margin:10px 0 0;font-size:14px}.gu-body .note{opacity:.8;margin:10px 0 14px;font-size:15px}.gu-card,.skill,.talk,.made-row{background:var(--card);border-radius:16px;box-shadow:0 2px #50371e1f}.gu-card{margin-bottom:14px;padding:16px 18px}.acts{flex-wrap:wrap;gap:10px;margin-top:10px;display:flex}.acts.end{justify-content:flex-end}.tag{vertical-align:2px;background:#efe3cc;border-radius:10px;margin-left:6px;padding:1px 10px;font-size:13px;display:inline-block}.tag.on{color:#2f6b3a;background:#cfe8d0}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{background:var(--card);cursor:pointer;border:2px solid #0000;border-radius:999px;min-height:40px;padding:6px 14px;font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:15px;font-weight:600}.chip.on{border-color:var(--teal);color:var(--teal)}.skills{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;display:grid}.skill{padding:12px 14px}.skill h4{font-size:16px}.skill p{margin:0;font-size:15px}.routine li,.tips li{margin-bottom:6px}.tips li.more{display:none}.tips.all li.more{display:list-item}.room-cards{gap:10px;display:none}.room-cards.on{display:grid}.room-h{display:none}.talk{break-inside:avoid;overflow:hidden}.talk-head{text-align:left;cursor:pointer;width:100%;font-family:inherit;font-size:inherit;background:0 0;border:none;align-items:center;gap:14px;padding:10px 14px;line-height:1.35;display:flex}.talk-pic{aspect-ratio:16/10;border-radius:8px;flex:none;width:120px;transition:width .2s}.talk.open .talk-pic{width:240px}.talk-title{flex:1;align-items:baseline;gap:10px;display:flex}.talk-title b{min-width:1.4em;color:var(--teal);font-size:18px}.talk-title .idea{font-weight:600}.talk .chev{flex:none;width:26px;height:26px;transition:transform .2s}.talk.open .chev{transform:rotate(180deg)}.talk-body{padding:0 16px 16px;display:none}.talk.open .talk-body{display:block}.talk h5{color:var(--teal);margin:4px 0 2px;font-size:15px}.talk p,.talk ul{margin:0 0 6px}.talk ul{padding-left:20px}.talk .cols{grid-template-columns:1fr 1fr;gap:12px;display:grid}.talk .words span{background:#f1e6cf;border-radius:8px;margin:2px 0;padding:0 8px;display:inline-block}.print-acts{margin-top:18px}.made-list{gap:10px;display:grid}.made-row{grid-template-columns:120px 1fr auto;align-items:center;gap:14px;padding:10px 14px;display:grid}.made-pic{aspect-ratio:16/10;border-radius:8px;width:120px}.made-row h4,.made-row .acts{margin:0}.lock-tabs{margin:12px 0}.lock-plat{display:none}.lock-plat.on{display:block}.lock-steps{gap:12px;margin:0;padding:0;list-style:none;display:grid}.lock-steps li{grid-template-columns:150px 1fr;align-items:center;gap:14px;display:grid}.lock-steps p{margin:0}.lock-steps .n{background:var(--teal);color:#fff;border-radius:50%;place-items:center;width:26px;height:26px;margin-right:8px;font-size:14px;font-weight:700;display:inline-grid}.lock-pic{background:#f6eedd;border-radius:10px;width:150px;height:auto}.lock-pic rect,.lock-pic circle,.lock-pic path{stroke-width:2px}.lock-pic .dev{fill:#fff}.lock-pic .scr{fill:#eef3f6;stroke-width:1.5px}.lock-pic .row{fill:#fff;stroke-width:1.5px}.lock-pic .hl{fill:#ffe9a8;stroke:var(--teal);stroke-width:2.5px}.lock-pic .sw{fill:#5aa64a;stroke:none}.lock-pic .knob{fill:#fff;stroke:none}.lock-pic .btn{stroke:var(--teal)}.lock-pic .tap{stroke:var(--teal);stroke-width:2.5px}.lock-pic .dot{fill:var(--ink);stroke:none}.lock-pic text{fill:var(--ink);font:600 9px system-ui,sans-serif}.lock-pic text.big{fill:var(--teal);font-size:13px}@media (width<=760px){.gu-main{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}.gu-nav{flex-direction:row;padding:0 12px 8px;overflow-x:auto}.gu-nav button{flex:none;min-height:44px;padding:8px 12px}.gu-nav button svg{width:22px;height:22px}.gu-body{padding:4px 14px 40px}.gu-bar h2{font-size:19px}.gu-nav,#gu-rooms{scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.gu-nav::-webkit-scrollbar{display:none}#gu-rooms::-webkit-scrollbar{display:none}#gu-rooms .chip{flex:none}.talk-pic{width:84px;transition:none}.talk.open .talk-head{grid-template-columns:minmax(0,1fr) auto;display:grid}.talk.open .talk-pic{grid-column:1/-1;width:100%}.talk-title{flex-direction:column;gap:0}.talk .cols{grid-template-columns:1fr}.made-row{grid-template-columns:84px 1fr}.made-pic{width:84px}.made-row .acts{grid-column:1/-1}.lock-steps li{grid-template-columns:1fr}.lock-pic{width:180px}}@media print{html,body{background:#fff;height:auto;overflow:visible}body>section,body>div{display:none!important}#grownups{position:static;display:block!important}.gu-bar,.gu-nav,.gu-sec,.chips,.note,.acts,.chev{display:none!important}.gu-sec[data-sec=talk]{display:block!important}.gu-main{display:block}.gu-body{padding:0;font-size:11pt;overflow:visible}body[data-print=all] .room-cards{display:grid!important}.room-h{margin:14pt 0 6pt;display:block}.talk{box-shadow:none;border:1px solid #ddd}.talk-pic,.talk.open .talk-pic{width:150px}.talk-body{display:block!important}}.pinpad-wrap,.welcome-wrap{z-index:50;background:#3b2f2a73;place-items:center;padding:16px;font-family:system-ui,-apple-system,Segoe UI,sans-serif;display:grid;position:fixed;inset:0}.pinpad{background:var(--card);width:min(340px,100%);box-shadow:var(--shadow);text-align:center;border-radius:24px;padding:22px 22px 16px;position:relative}.pinpad.shake{animation:.4s pin-shake}@keyframes pin-shake{20%,60%{transform:translate(-8px)}40%,80%{transform:translate(8px)}}.pinpad h3{margin:4px 40px;font-size:20px}.pinpad-wrap{z-index:60}.pin-sub{opacity:.8;min-height:2.6em;margin:0 0 12px;font-size:15px}.pin-sub.err{color:#b3402c;opacity:1}.pin-close{width:48px;height:48px;box-shadow:none;border-radius:14px;position:absolute;top:10px;right:10px}.pin-close svg{width:26px;height:26px}.pin-show{justify-content:center;align-items:center;gap:16px;height:34px;margin-bottom:12px;display:flex}.pin-show i{border:2.5px solid var(--ink);border-radius:50%;width:16px;height:16px}.pin-show i.on{background:var(--ink)}.pin-num{letter-spacing:4px;border-bottom:2.5px solid var(--ink);min-width:3ch;font-size:28px;font-weight:700}.pin-keys{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.pin-keys button{cursor:pointer;background:#f3e8d3;border:none;border-radius:16px;place-items:center;height:60px;font-size:24px;font-weight:600;display:grid}.pin-keys button:active{transform:translateY(2px)}.pin-keys button:disabled{opacity:.4}.pin-keys button svg{width:30px;height:30px}.pin-keys button svg path{stroke-width:3px}.pin-keys .pin-ok{background:var(--teal);color:#fff;font-size:18px}.pin-keys .pin-ok.hidden{visibility:hidden;display:block!important}.pin-forgot{color:var(--teal);cursor:pointer;background:0 0;border:none;margin-top:10px;padding:8px;font-size:15px;font-weight:600}.welcome{background:var(--card);width:min(520px,100%);max-height:calc(100dvh - 32px);box-shadow:var(--shadow);border-radius:24px;padding:22px 24px 18px;font-size:17px;line-height:1.45;overflow-y:auto}.welcome h3{margin:0 0 8px;font-family:ui-rounded,SF Pro Rounded,Nunito,system-ui,sans-serif;font-size:24px}.welcome p{margin:0 0 10px}.welcome ol{margin:0 0 8px;padding-left:22px}.welcome li{margin-bottom:12px}.welcome li .acts{margin-top:6px}.welcome .small{opacity:.75;font-size:14px}@media (width<=700px){.grownups-btn{order:-1;align-self:flex-end;position:static}}.hint .bulb{fill:#ffe9a8}.hint .rays{stroke:var(--teal);opacity:0}.hint.ready{animation:1.6s ease-in-out infinite hint-pulse}.hint.ready .rays{opacity:1}@keyframes hint-pulse{0%,to{box-shadow:var(--shadow);transform:scale(1)}50%{box-shadow:var(--shadow), 0 0 0 8px #2f9c952e;transform:scale(1.08)}}.make .star{fill:#ffe9a8}.make[aria-pressed=true]{background:#cfe8d0}.make[aria-pressed=true] .star{fill:var(--teal)}#btn-make-done{animation:1.6s ease-in-out infinite hint-pulse}.card .made-badge{width:40px;height:40px;position:absolute;bottom:-8px;left:-8px}.card.mine{background:#eef7f3}.card.new-card{box-shadow:none;border:4px dashed var(--accent);background:0 0}.card.new-card canvas{opacity:.75}.card .plus-badge{filter:drop-shadow(0 4px 6px #50371e4d);width:76px;height:76px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.card.saved{background:#fff;border-radius:6px;padding:8px 8px 18px}.save .heart{fill:#f6b5a8}.save:disabled{opacity:.4}.save.kept{animation:.6s ease-out kept}.save.kept .heart{fill:var(--stop)}@keyframes kept{40%{transform:scale(1.25)}}.card.fresh{animation:.9s ease-in-out 3 fresh}@keyframes fresh{50%{box-shadow:var(--shadow), 0 0 0 8px #2f9c9540;transform:scale(1.06)rotate(-1deg)}}.mine-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}@media (width<=460px){.bar{gap:5px;padding-inline:6px}.goal canvas{width:76px}.goal .speaker{display:none}.icon{border-radius:14px;width:48px;height:48px}.icon svg{width:30px;height:30px}.go{width:60px;height:52px}.go svg{width:32px;height:32px}}.room-banner{grid-column:1/-1;align-items:center;gap:14px;margin-top:10px;display:flex}.room-banner:first-child{margin-top:0}.room-banner .tape{background:repeating-linear-gradient(90deg, var(--accent) 0 18px, transparent 18px 28px);opacity:.45;border-radius:5px;flex:1;height:10px}.room-banner>svg{background:var(--paper);border:4px solid var(--accent);width:64px;height:64px;box-shadow:var(--shadow);fill:none;stroke:var(--ink);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;border-radius:50%;padding:6px;transform:rotate(-4deg)}.room-banner .accent{fill:var(--accent)}.room-banner .petal{fill:#f2c94c}.room-banner .leaf{fill:#7cb45a}.room-banner .pink{fill:#f29bb0}.room-banner .back,.room-banner .room-name{flex-shrink:0}#levels.rooms{width:min(1400px,100% - 24px);margin-block:auto;display:block;position:relative}@media (orientation:portrait) and (width>=701px){.path{--tile:min(74vw, 680px)}}.path{--tile:min(66vw, calc((100dvh - 250px) * 1.45), 680px);scroll-snap-type:x mandatory;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scrollbar-width:none;padding:22px calc(50% - var(--tile) / 2) 16px;align-items:flex-start;gap:clamp(12px,3vw,40px);display:flex;position:relative;overflow:auto hidden}.path::-webkit-scrollbar{display:none}.stop{flex:0 0 var(--tile);scroll-snap-align:center;opacity:.75;flex-direction:column;align-items:center;gap:12px;transition:transform .25s,opacity .25s;display:flex;transform:scale(.84)}.stop.here{opacity:1;transform:none}.stop .room-tile{width:100%}.room-name{border:none;border-bottom:5px solid var(--accent);background:var(--card);box-shadow:var(--shadow);letter-spacing:.02em;cursor:pointer;border-radius:18px;padding:4px 22px 2px;font-size:clamp(24px,3.6vw,36px);font-weight:800;transform:rotate(-1.5deg)}.room-name:active{transform:rotate(-1.5deg)scale(.95)}.path-arrow{top:calc(22px + var(--arrow-y,34%));z-index:2;border-radius:50%;width:76px;height:76px;transition:opacity .2s;position:absolute;transform:translateY(-50%)}.path-arrow:active{transform:translateY(calc(3px - 50%))}.path-arrow.prev{left:0}.path-arrow.next{right:0}.path-arrow.gone{opacity:0;visibility:hidden}@media (width<=700px){.path{--tile:min(70vw, 420px)}.path-arrow{width:56px;height:56px}.path-arrow svg{width:30px;height:30px}}.room-tile{padding:10px 10px 12px}.room-tile canvas{border:3px solid var(--accent)}.room-tile .room-pic{background:var(--paper);border:4px solid var(--accent);width:70px;height:70px;box-shadow:var(--shadow);fill:none;stroke:var(--ink);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;border-radius:50%;padding:7px;position:absolute;top:-12px;left:-12px;transform:rotate(-6deg)}.room-pic .accent{fill:var(--accent)}.room-pic .petal{fill:#f2c94c}.room-pic .leaf{fill:#7cb45a}.room-pic .pink{fill:#f29bb0}.room-tile .dots{justify-content:center;gap:8px;min-height:16px;margin-top:10px;display:flex}.room-tile .dots i{border:3px solid var(--accent);background:#fff;border-radius:50%;width:16px;height:16px}.room-tile .dots i.on{background:var(--accent)}.room-tile.toybox{flex-direction:column}#map.in-room .logo,#map.in-room .grownups-btn{display:none}#map.in-room #levels{margin-top:16px}@media (width<=700px){.room-tile .room-pic{width:54px;height:54px}.room-tile .dots{gap:5px}.room-tile .dots i{border-width:2px;width:12px;height:12px}}.book-btn{top:calc(env(safe-area-inset-top) + 14px);left:calc(env(safe-area-inset-left) + 16px);background:var(--card);width:76px;height:76px;box-shadow:var(--shadow);cursor:pointer;border:none;border-radius:22px;place-items:center;display:grid;position:absolute}.book-btn:active{transform:translateY(3px)}.book-btn svg{width:50px;height:50px}.book-btn .page{fill:#fff;stroke-width:3px}.book-btn .dot1{fill:#f29bb0;stroke-width:2.5px}.book-btn .dot2{fill:#f2c94c;stroke-width:2px}.book-btn .new{background:var(--stop);border:3px solid #fff;border-radius:50%;width:22px;height:22px;animation:1.6s ease-in-out infinite hint-pulse;position:absolute;top:-5px;right:-5px}#map.in-room .book-btn{display:none}#book{background:var(--bg);align-items:center}#book .bar{align-self:stretch}.book-page{aspect-ratio:16/10;width:min(100% - 32px,160dvh - 448px);min-height:0;max-height:calc(100dvh - 260px);box-shadow:var(--shadow);outline-offset:-14px;touch-action:none;background:radial-gradient(circle,#3c2d1e14 1.5px,#0000 2px) 0 0/28px 28px,#fffaf0;border-radius:18px;outline:3px dashed #b98a5a73;flex:auto;position:relative}.book-strip{padding:12px 16px calc(env(safe-area-inset-bottom) + 12px);align-self:stretch;align-items:center;gap:18px;min-height:132px;display:flex}.book-tabs{flex-shrink:0;gap:8px;display:flex}.book-tab{border:3px solid var(--accent);background:var(--paper);width:64px;height:64px;box-shadow:var(--shadow);cursor:pointer;border-radius:50%;padding:4px;position:relative}.book-tab img{width:100%;height:100%;display:block}.book-tab.on{border-width:5px;transform:translateY(-5px)}.book-tab.none{opacity:.45}.book-tab .new{background:var(--stop);border:3px solid #fff;border-radius:50%;width:16px;height:16px;position:absolute;top:-2px;right:-2px}.book-shelf{touch-action:pan-x;flex:1;gap:14px;padding:6px 4px;display:flex;overflow-x:auto}.book-shelf .stack{flex-direction:column;flex-shrink:0;align-items:center;gap:6px;display:flex}.book-shelf .stack.used .stk{opacity:.35;filter:grayscale(.6);cursor:default}.book-shelf .dots{gap:5px;display:flex}.book-shelf .dots i{border:2.5px solid var(--accent);background:#fff;border-radius:50%;width:12px;height:12px}.book-shelf .dots i.on{background:var(--accent)}.book-shelf.empty:before{content:"";border:4px dashed #3c2d1e33;border-radius:50%;width:64px;height:64px;margin:auto}.stk{filter:drop-shadow(0 3px 3px #50371e4d);cursor:grab;touch-action:none;flex-shrink:0;width:96px;height:96px}.book-page .stk{aspect-ratio:1;width:13%;height:auto;transform:translate(-50%, -50%) rotate(var(--tilt,0deg));position:absolute}.stk.lifted{z-index:50;filter:drop-shadow(0 10px 8px #50371e59);pointer-events:none;position:fixed;transform:translate(-50%,-50%)rotate(-6deg)scale(1.12)}@media (width<=760px){.book-strip{flex-direction:column;align-items:stretch;gap:10px}.book-tabs{justify-content:center}.book-tab{width:50px;height:50px}}@media (width<=700px){.book-btn{order:-1;align-self:flex-start;width:64px;height:64px;margin-bottom:-60px;position:relative;top:auto;left:auto}.stk{width:72px;height:72px}}@media (width>=701px){#levels.in-room{grid-template-columns:repeat(5,minmax(0,1fr));width:min(1180px,100%)}#levels.in-room .card{border-radius:16px;padding:7px}#levels.in-room .card .sticker{width:40px;height:40px;top:-8px;right:-8px}}.photo-big{z-index:40;cursor:pointer;background:#3b2f2a73;place-items:center;animation:.22s ease-out photo-in;display:grid;position:absolute;inset:0}.photo-big.out{opacity:0;transition:opacity .18s}.photo-big .print{transform:rotate(var(--tilt,0deg));background:#fff;border-radius:6px;padding:14px 14px 44px;animation:.3s cubic-bezier(.2,1.4,.4,1) print-in;box-shadow:0 12px 30px #28190f66}.photo-big canvas{aspect-ratio:16/10;border-radius:3px;width:min(86vw,160dvh - 224px,820px);display:block}@keyframes photo-in{0%{opacity:0}}@keyframes print-in{0%{transform:rotate(0)scale(.3)}}.make:disabled{opacity:.4}.make.ready{animation:1.6s ease-in-out infinite hint-pulse}.clear .bin{fill:#e6ddd0}.clear:disabled{opacity:.4}.clear.sure{background:#f6c9bf;animation:.3s ease-in-out 2 nudge}.clear.sure .bin{fill:var(--stop)}#sleep{z-index:55;background:radial-gradient(at 50% 30%,#3d4a73,#1f2747 70%);place-items:center;padding:24px;display:grid;position:fixed;inset:0}#sleep.hidden{display:none}#sleep>svg{width:min(90vw,140dvh);height:auto}#sleep .moon{fill:#f6d65b;stroke:none}#sleep .moon,#sleep .twinkle,#sleep .bed,#sleep text{stroke:none}#sleep .twinkle{fill:#fbf6ea;animation:3s ease-in-out infinite twinkle}#sleep .twinkle:nth-of-type(2n){animation-delay:1.4s}#sleep .bed{fill:#6a72c9;opacity:.6}#sleep .ball{fill:#cfe8f659;stroke:#cfe8f6;stroke-width:3px}#sleep .eye{fill:none;stroke:#fbf6ea;stroke-width:3px;stroke-linecap:round}#sleep text{fill:#cfe8f6;font:700 22px Nunito,sans-serif;animation:3s ease-in-out infinite drift}#sleep .z2{font-size:26px;animation-delay:.6s}#sleep .z3{font-size:32px;animation-delay:1.2s}#sleep #btn-wake{top:calc(env(safe-area-inset-top) + 12px);right:calc(env(safe-area-inset-right) + 12px);opacity:.85;position:absolute}@keyframes twinkle{50%{opacity:.3}}@keyframes drift{50%{opacity:.6;transform:translateY(-6px)}}
