:root{--yellow:#ffd23f;--red:#e63946;--blue:#1d6fd8;--green:#2a9d4b;--ink:#1b2a49;--paper:#fffaf0;--sat:env(safe-area-inset-top,0px);--sar:env(safe-area-inset-right,0px);--sab:env(safe-area-inset-bottom,0px);--sal:env(safe-area-inset-left,0px);font-family:ui-rounded,SF Pro Rounded,Nunito,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%;color:var(--ink);background:#bfe3ff;margin:0;overflow:hidden}body{overscroll-behavior:none;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}img{-webkit-user-drag:none}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;border:0}button:disabled{cursor:default}button:focus-visible{outline:4px solid var(--ink);outline-offset:2px}h1,h2,p{margin:0}.app,.screen{position:fixed;inset:0}.screen{animation:.4s cubic-bezier(.2,.8,.2,1) both screen-in}@keyframes screen-in{0%{opacity:0;transform:translate(5%)}to{opacity:1;transform:none}}.btn{color:#fff;border-radius:28px;justify-content:center;align-items:center;gap:10px;min-width:56px;min-height:56px;padding:0 28px;font-size:22px;font-weight:800;transition:transform .1s,box-shadow .1s;display:inline-flex;box-shadow:0 6px #00000038}.btn:active{transform:translateY(5px);box-shadow:0 1px #00000038}.btn-big{border-radius:42px;min-height:84px;padding:0 56px;font-size:38px}.btn-yellow{background:var(--yellow);color:var(--ink)}.btn-red{background:var(--red)}.btn-blue{background:var(--blue)}.btn-gray{background:#8a94a6}.btn-link{color:var(--ink);opacity:.7;background:0 0;min-height:48px;padding:0 12px;font-size:16px}.icon-btn{width:52px;min-width:48px;height:52px;box-shadow:0 4px 0 #0003, 0 0 0 3px var(--ink) inset;background:#fff;border-radius:50%;place-items:center;font-size:24px;font-weight:800;line-height:1;transition:transform .1s;display:grid}.icon-btn:active:not(:disabled){transform:scale(.92)}.icon-btn.off{opacity:.55}.icon-btn:disabled{opacity:.35}.icon-btn.big{background:var(--yellow);width:68px;height:68px;font-size:34px}.icon-btn.ok{background:var(--green);color:#fff}.row{flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;display:flex}.bar{padding:calc(10px + var(--sat)) calc(14px + var(--sar)) 10px calc(14px + var(--sal));align-items:center;gap:12px;display:flex}.bar h2{white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:clamp(20px,3vw,30px);overflow:hidden}.title{padding:var(--sat) var(--sar) var(--sab) var(--sal);background:linear-gradient(#8fd0ff,#dff3ff 70%,#b7e07a 70%);flex-direction:column;justify-content:center;align-items:center;gap:22px;display:flex;position:absolute;inset:0;overflow:hidden}.floaters{pointer-events:none;position:absolute;inset:0}.floater{opacity:.9;border-radius:8px;animation:linear infinite float;position:absolute;bottom:-80px;box-shadow:inset 0 -6px #0000002e}.floater:before{content:"";background:inherit;width:24%;height:10px;box-shadow:calc(var(--w,28px)) 0 0 0 transparent;border-radius:4px 4px 0 0;position:absolute;top:-8px;left:18%}@keyframes float{0%{transform:translateY(0)rotate(0)}to{transform:translateY(-120vh)rotate(300deg)}}.logo{text-align:center;z-index:1}.logo h1{color:var(--red);text-shadow:0 5px 0 var(--ink), 0 8px 12px #00000040;letter-spacing:1px;font-size:clamp(40px,8vw,84px);font-weight:900}.logo p{font-size:clamp(16px,2.4vw,26px);font-weight:700}.logo-bricks{gap:8px;margin-bottom:6px;display:inline-flex}.logo-bricks b{border-radius:6px;width:44px;height:30px;animation:1.6s ease-in-out infinite bob;box-shadow:inset 0 -5px #0003}.logo-bricks b:nth-child(2){animation-delay:.2s}.logo-bricks b:nth-child(3){animation-delay:.4s}@keyframes bob{50%{transform:translateY(-8px)}}.title .btn{z-index:1}.corner-row{z-index:1;right:calc(16px + var(--sar));bottom:calc(16px + var(--sab));gap:12px;display:flex;position:absolute}.levels{background:linear-gradient(#bfe3ff,#fff3c4);flex-direction:column;display:flex;position:absolute;inset:0}.level-grid{padding:12px calc(20px + var(--sar)) calc(24px + var(--sab)) calc(20px + var(--sal));touch-action:pan-y;flex:1;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));align-content:start;gap:18px;display:grid;overflow-y:auto}.card{background:var(--paper);border-radius:22px;flex-direction:column;align-items:center;gap:6px;min-height:200px;padding:10px;transition:transform .12s;display:flex;box-shadow:0 6px #0000002e}.card:active:not(:disabled){transform:scale(.96)}.card-img{aspect-ratio:1;background:#dff3ff;border-radius:14px;place-items:center;width:100%;display:grid;position:relative;overflow:hidden}.card-img img{object-fit:contain;width:100%;height:100%}.card-emoji{font-size:64px}.card.locked{filter:grayscale(.8);opacity:.75}.lock{background:#ffffff73;place-items:center;font-size:48px;display:grid;position:absolute;inset:0}.card-name{font-size:18px;font-weight:800}.stars{letter-spacing:2px;font-size:26px}.stars i{color:#cfd6e2;font-style:normal}.stars i.on{color:#ffb400;text-shadow:0 2px #b97800}.play{background:#cfeaff;position:absolute;inset:0;overflow:clip}.stage{touch-action:none;position:absolute;inset:0}.hud{pointer-events:none;position:absolute;inset:0}.hud>*{pointer-events:auto}.topbar{pointer-events:none;background:linear-gradient(#ffffffd9,#fff0);position:absolute;top:0;left:0;right:0}.topbar>*{pointer-events:auto}.topbar>.spacer{pointer-events:none}.counter{background:var(--blue);color:#fff;text-align:center;border-radius:22px;min-width:64px;padding:8px 16px;font-size:22px;font-weight:900}.boxcard{aspect-ratio:1;background:var(--paper);border:4px solid var(--red);border-radius:16px;place-items:center;width:clamp(88px,14vw,150px);padding:6px;font-size:48px;transition:transform .15s;display:grid;position:relative;box-shadow:0 5px #0003}.boxcard.on{border-color:var(--green);transform:scale(1.06)}.boxcard img{object-fit:contain;width:100%;height:100%}.held{left:50%;bottom:calc(var(--tray-h) + 6px);opacity:.8;white-space:nowrap;text-overflow:ellipsis;background:#fff;border-radius:16px;max-width:60vw;padding:3px 14px;font-size:15px;font-weight:800;position:absolute;overflow:hidden;transform:translate(-50%);box-shadow:0 4px #0000002e}.held.has{background:var(--yellow);opacity:1}.play{--tray-base:212px;--top-stack:70px;--tray-h:calc(var(--tray-base) + var(--sab))}@media (height<=520px){.play{--tray-base:142px}.tiles{grid-template-rows:1fr}}.bubble{border:4px solid var(--ink);background:#fff;border-radius:22px;padding:12px 20px;font-size:22px;font-weight:800;box-shadow:0 6px #0003}.oops{pointer-events:none;background:#fff3c4;animation:.3s cubic-bezier(.3,1.6,.5,1) both pop-in;position:absolute;top:32%;left:50%;transform:translate(-50%)}@keyframes pop-in{0%{opacity:0;transform:translate(-50%)scale(.6)}to{opacity:1;transform:translate(-50%)scale(1)}}.tray{width:100%;height:calc(var(--tray-base) + var(--sab));padding:8px calc(10px + var(--sar)) var(--sab) calc(10px + var(--sal));flex-direction:column;gap:8px;display:flex;position:relative}.chips{touch-action:pan-x;scrollbar-width:none;flex:none;align-items:center;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.chip{background:#e4ebf5;border-radius:24px;flex:none;min-width:48px;min-height:48px;padding:0 16px;font-size:17px;font-weight:800}.chip.on{background:var(--blue);color:#fff}.chip.dot{background:var(--dot);width:48px;padding:0;box-shadow:inset 0 0 0 3px #00000026}.chip.dot.on{box-shadow:0 0 0 4px var(--ink)}.chip-sep{background:#c3cde0;flex:none;width:2px;height:28px}.tiles{touch-action:pan-x;flex:1;grid-template-rows:repeat(2,1fr);grid-auto-columns:64px;grid-auto-flow:column;place-content:start;gap:8px;min-height:0;display:grid;overflow:auto hidden}.tile{background:#fff;border-radius:14px;place-items:center;width:64px;height:100%;min-height:48px;padding:2px;transition:transform .15s,box-shadow .15s;display:grid;box-shadow:0 3px #0000002e,inset 0 0 0 2px #dbe3f0}.tile img{object-fit:contain;pointer-events:none;width:100%;height:100%}.tile-fallback{border-radius:6px;width:70%;height:50%}.tile.selected{box-shadow:0 10px 14px #00000040, 0 0 0 4px var(--blue);transform:translateY(-8px)scale(1.08)}.tile.used{opacity:.3;filter:grayscale(.7)}.tile.pulse{animation:1s ease-in-out infinite pulse}@keyframes pulse{50%{box-shadow:0 0 0 5px var(--yellow), 0 0 18px 6px #ffd23fe6;transform:scale(1.12)}}.coach{pointer-events:none;z-index:20;position:absolute;inset:0}.spot{box-shadow:0 0 0 9999px #141e3c8c, 0 0 0 4px var(--yellow);border-radius:22px;transition:all .3s;position:absolute}.coach-bubble{text-align:center;pointer-events:auto;background:var(--paper);flex-direction:column;align-items:center;gap:6px;width:min(420px,92vw);padding:12px 16px 6px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.coach-bubble h3{color:var(--red);margin:0;font-size:26px;font-weight:900}.coach-bubble p{font-size:22px;line-height:1.25}.coach-icon{font-size:56px;line-height:1;animation:1.6s ease-in-out infinite bob}.coach-dim{background:#141e3c73;position:absolute;inset:0}.btn.sm{min-height:52px;padding:0 22px;font-size:20px}.dots{gap:8px;margin:2px 0 4px;display:flex}.dots i{background:#cfd6e2;border-radius:50%;width:12px;height:12px}.dots i.seen{background:var(--blue);opacity:.55}.dots i.on{background:var(--red);transform:scale(1.35)}.hand{z-index:2;filter:drop-shadow(0 4px 4px #00000059);font-size:56px;line-height:1;animation:2.4s ease-in-out infinite hand-drag;position:absolute;top:0;left:0}@keyframes hand-drag{0%{transform:translate(var(--x0), var(--y0)) scale(1);opacity:0}12%{opacity:1;transform:translate(var(--x0), var(--y0)) scale(.85)}75%{opacity:1;transform:translate(var(--x1), var(--y1)) scale(.85)}90%,to{opacity:0;transform:translate(var(--x1), var(--y1)) scale(1)}}.panel{background:#fffaf0f5;border-radius:18px;flex-direction:column;max-width:calc(100vw - 16px);display:flex;position:absolute;box-shadow:0 4px 14px #00000038}.panel.gone{display:none}.panel-head{flex:none;align-items:center;display:flex}.panel-tab,.panel-pin{background:0 0;border-radius:18px;justify-content:center;align-items:center;gap:6px;min-width:44px;min-height:44px;font-size:16px;font-weight:800;display:inline-flex}.panel-tab{flex:1;justify-content:flex-start;padding:0 10px}.panel-icon{font-size:22px;line-height:1}.panel-title{white-space:nowrap;text-overflow:ellipsis;max-width:38vw;overflow:hidden}.panel-chev{opacity:.6;margin-left:auto}.panel-pin{opacity:.35;filter:grayscale();padding:0;font-size:18px;transition:opacity .2s,transform .2s}.panel-pin.on{opacity:1;filter:none;transform:rotate(-30deg)}.panel-body{opacity:0;grid-template-rows:0fr;transition:grid-template-rows .28s cubic-bezier(.2,.8,.2,1),opacity .2s;display:grid}.panel.open .panel-body{opacity:1;grid-template-rows:1fr}.panel-inner{min-height:0;overflow:hidden}.panel.open .panel-inner{overflow:visible}.panel-peek{align-items:center;gap:8px;padding:0 6px 6px;display:flex}.panel-peek:empty{display:none}.panel.folded{background:#fffaf0e0}.panel.folded .panel-title,.panel.folded .panel-pin{display:none}.panel.folded .panel-tab{justify-content:center}.panel.folded .panel-chev{margin-left:0}.panel.folded .panel-peek{padding-top:0}.panel:focus-within{box-shadow:0 4px 14px #00000038, 0 0 0 3px var(--blue)}.topbar{align-items:flex-start;gap:8px}.topbar .spacer{flex:1}.topbar .panel{position:relative}.steps-panel .panel-title{max-width:26vw}@media (width<=480px){.steps-panel .panel-title{display:none}.steps-panel.open .steps-info:before{content:attr(data-name) " ";display:block}}.steps-panel.folded .panel-head{display:inline-flex}.steps-panel.folded{flex-direction:row;align-items:center;padding-right:4px}.steps-panel.folded .panel-peek{padding:0}.steps-panel.folded .panel-body{display:none}.steps-info{padding:4px 14px 12px;font-size:18px;font-weight:800}.settings-panel .panel-body{min-width:0}.settings-slot{flex:none;width:44px;height:44px;position:relative}.topbar .settings-panel{z-index:3;position:absolute;top:0;right:0}.topbar .settings-panel.open{top:52px}.settings-panel.open .panel-title{max-width:120px;display:none}.row.tight{flex-wrap:nowrap;gap:8px;padding:2px 10px 10px}.icon-btn.sm{width:44px;min-width:44px;height:44px;font-size:20px}.icon-btn.on{background:var(--yellow)}.counter{min-width:56px;padding:8px 12px;font-size:18px}.counter.mini{left:calc(14px + 48px + 12px + var(--sal));top:calc(20px + var(--sat));opacity:.85;min-width:0;padding:4px 12px;font-size:16px;position:absolute}.picture-panel{left:calc(8px + var(--sal));top:calc(var(--top-stack) + var(--sat))}.picture-panel .panel-body{padding:0 8px 8px}.picture-panel.open{padding-bottom:0}.picture-panel.folded .panel-head{width:44px}.tools-panel{right:calc(8px + var(--sar));bottom:calc(var(--tray-h) + 14px);box-shadow:none;background:0 0;flex-direction:column-reverse;align-items:center}.tools-panel .panel-head{background:#fffaf0eb;border-radius:22px;margin-top:8px;box-shadow:0 3px 8px #0003}.tools-panel .panel-title{max-width:80px}.tools-panel .panel-peek{flex-flow:wrap-reverse;justify-content:center;gap:8px;max-width:132px;padding:0}.tools-panel .icon-btn.big{width:60px;height:60px;font-size:30px}.tools-panel .panel-body,.tools-panel:focus-within{box-shadow:none}.tools-col{flex-flow:wrap;justify-content:center;gap:8px;max-width:132px;padding-bottom:8px;display:flex}.zoom-slot:empty{display:none}.tray-panel{border-radius:24px 24px 0 0;max-width:none;bottom:0;left:0;right:0;box-shadow:0 -4px 14px #0000002e}.tray-panel .panel-head{padding:0 8px}.tray-panel .panel-tab{flex:none;margin:0 auto}.tray-panel .panel-pin{right:calc(8px + var(--sar));position:absolute;top:0}.tray-panel.folded{border-radius:22px 22px 0 0;width:76px;left:50%;right:auto;transform:translate(-50%)}.tray-panel.folded .panel-head{padding:0}.tray-panel.folded .panel-tab{flex:1;margin:0}.tray-panel .panel-tab .panel-chev{margin-left:4px}.tray-panel .panel-title{max-width:50vw}.play.tray-folded .held{bottom:58px}.play.tray-folded .tools-panel{bottom:62px}.play:not(.tray-folded) .tools-panel{bottom:calc(var(--tray-h) + 8px)}.focus-exit{right:calc(12px + var(--sar));top:calc(12px + var(--sat));opacity:.7;position:absolute}.swipe-handle{left:50%;bottom:calc(var(--sab) + 2px);touch-action:none;z-index:4;background:#fffaf0b3;border-radius:22px 22px 0 0;width:120px;height:44px;font-size:20px;font-weight:800;position:absolute;transform:translate(-50%);box-shadow:0 -2px 8px #00000026}.play.focus .topbar{background:0 0}.play.focus .tray-panel{z-index:3}.play.focus .tray-panel .panel-pin{display:none}.play.max-css{z-index:100;width:100vw;height:100dvh;position:fixed;inset:0}.play.max .topbar h2{display:none}.play:fullscreen{width:100vw;height:100vh}.complete{padding:var(--sat) var(--sar) var(--sab) var(--sal);background:radial-gradient(#fff3c4,#8fd0ff);flex-direction:column;justify-content:center;align-items:center;gap:28px;display:flex;position:absolute;inset:0;overflow:hidden}.complete h2{color:var(--red);text-shadow:0 4px 0 var(--ink);z-index:1;font-size:clamp(40px,8vw,80px);font-weight:900}.big-stars{z-index:1;gap:12px;display:flex}.big-stars i{color:#fff;text-shadow:0 0 #b8c4d8,0 6px #aab6cc;opacity:.6;font-size:clamp(70px,14vw,140px);font-style:normal}.big-stars i.pop{color:#ffb400;opacity:1;text-shadow:0 6px #b97800;animation:.6s cubic-bezier(.3,1.8,.5,1) both star-pop}@keyframes star-pop{0%{transform:scale(0)rotate(-120deg)}to{transform:none}}.complete .row{z-index:1}.confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.confetti i{border-radius:2px;animation:linear infinite fall;position:absolute;top:-30px}@keyframes fall{to{transform:translateY(110vh)rotate(720deg)}}@media (width<=600px){.floater.mid{display:none}.floater{max-width:34px;max-height:24px}.btn-big{min-height:72px;padding:0 36px;font-size:30px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.floaters,.confetti{display:none}}@media (width<=430px){.topbar{gap:6px;padding-left:6px;padding-right:6px}.topbar .icon-btn.sm{width:40px;min-width:40px;height:40px}.picture-panel .panel-title{display:none}}.btn-green{background:var(--green)}.btn-big.btn-green{flex-direction:column;gap:0;padding-top:6px;padding-bottom:8px;line-height:1.05}.btn-sub{opacity:.92;font-size:16px;font-weight:700}.dialog-back{z-index:50;background:#1418288c;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.dialog{background:var(--paper);border:4px solid var(--ink);text-align:center;border-radius:24px;flex-direction:column;align-items:stretch;gap:12px;width:min(420px,100%);max-height:92dvh;padding:20px;display:flex;overflow:auto}.dialog h2{color:var(--red);margin:0;font-size:30px;font-weight:900}.dialog p{margin:0;font-size:17px;font-weight:700}.dialog form{flex-direction:column;gap:12px;display:flex}.dialog input{font:inherit;border:3px solid var(--ink);background:#fff;border-radius:14px;min-height:52px;padding:12px 14px;font-size:20px;font-weight:700}.dialog .btn{min-height:56px;padding:0 24px;font-size:22px}.dialog .err{color:var(--red)}.dialog .muted{opacity:.7;font-size:14px}.dialog .sync-synced{color:var(--green)}.dialog .sync-offline{color:#b45f06}.dialog .tabs{gap:8px;display:flex}.dialog .tabs button{border:3px solid var(--ink);background:#fff;border-radius:14px;flex:1;min-height:48px;font-size:18px;font-weight:800}.dialog .tabs button.on{background:var(--yellow)}.turn-pill{left:50%;bottom:calc(var(--tray-h) + 44px);z-index:4;background:var(--blue);color:#fff;border-radius:30px;align-items:center;gap:10px;min-height:60px;padding:0 26px;font-size:24px;font-weight:900;animation:.5s ease-out turn-pop,1.6s ease-in-out .5s 3 turn-nudge;display:inline-flex;position:absolute;transform:translate(-50%);box-shadow:0 5px #00000040}.turn-pill small{opacity:.85;font-size:13px;font-weight:700}.turn-pill small:empty{display:none}.turn-pill .turn-top{background:#ffffffeb;border-radius:4px;flex:none;transition:transform .28s cubic-bezier(.3,1.5,.5,1);display:inline-block;position:relative}.turn-pill .turn-top:after{content:"";background:var(--yellow);border:2px solid var(--ink);box-sizing:border-box;border-radius:50%;width:8px;height:8px;margin-left:-4px;position:absolute;top:-5px;left:50%}.turn-pill.ask{background:var(--yellow);color:var(--ink);animation:.5s ease-out turn-pop,1s ease-in-out .5s infinite turn-ask}@keyframes turn-ask{0%,to{transform:translate(-50%)scale(1)}50%{transform:translate(-50%)scale(1.12)}}@media (prefers-reduced-motion:reduce){.turn-pill.ask{outline:4px solid var(--blue);animation:none}}.turn-pill .turn-ico{font-size:34px;line-height:1;display:inline-block}.turn-pill:active{transform:translate(-50%)translateY(4px);box-shadow:0 1px #00000040}.turn-pill:active .turn-ico{transition:transform .2s;transform:rotate(90deg)}@keyframes turn-pop{0%{opacity:0;transform:translate(-50%)scale(.6)}to{opacity:1;transform:translate(-50%)scale(1)}}@keyframes turn-nudge{0%,to{transform:translate(-50%)scale(1)}50%{transform:translate(-50%)scale(1.08)}}@media (height<=520px){.turn-pill{min-height:48px;bottom:calc(var(--tray-h) + 40px);padding:0 20px;font-size:20px}}.play.tray-folded .turn-pill{bottom:92px}@media (height<=520px){.play.tray-folded .turn-pill{bottom:90px}}.share-box{z-index:1;border:3px solid var(--ink);background:#ffffffd9;border-radius:22px;align-items:center;gap:16px;max-width:min(92vw,720px);padding:12px 16px;display:flex}.share-preview{border:3px solid var(--ink);background:#fff;border-radius:14px;flex:none;place-items:center;width:150px;height:150px;font-size:70px;display:grid;overflow:hidden}.share-preview img{object-fit:contain;width:100%;height:100%}.share-col{flex-direction:column;gap:8px;min-width:0;display:flex}.share-name{flex-direction:column;gap:2px;font-size:14px;font-weight:800;display:flex}.share-name input{border:3px solid var(--ink);box-sizing:border-box;border-radius:12px;width:100%;min-height:44px;padding:0 12px;font-size:20px;font-weight:700}.share-btns{flex-wrap:wrap;gap:8px;display:flex}.share-btns .btn{min-height:48px;padding:0 16px;font-size:18px}.share-invite{color:var(--ink);font-size:18px;line-height:1.2}.share-movie{margin-top:-2px}.share-progress{accent-color:#2a9d4b;width:100%;height:12px}.share-btns .btn:disabled{opacity:.5}.btn-wa{background:#25d366}.share-note{color:#34455f;font-size:13px;font-weight:700}@media (height<=680px){.complete{gap:8px}.complete h2{font-size:34px}.big-stars i{font-size:48px}.share-box{padding:8px 12px}.share-preview{width:96px;height:96px;font-size:44px}.share-name span{display:none}.share-name input{min-height:38px;font-size:17px}.share-btns .btn{min-height:40px;padding:0 12px;font-size:15px}}@media (width<=520px) and (height>=521px){.share-box{flex-direction:column}}.turn-pill.dragging{pointer-events:none;opacity:.3}.turn-pill.ask .turn-top{animation:1.4s ease-in-out infinite turn-spin}@keyframes turn-spin{0%,30%{translate:0;rotate:0deg}60%,to{rotate:90deg}}.rot-handle{z-index:3;background:var(--blue);color:#fff;touch-action:none;will-change:transform;border-radius:50%;place-items:center;width:46px;height:46px;margin:-66px 0 0 -23px;font-size:28px;font-weight:900;line-height:1;position:absolute;top:0;left:0;box-shadow:0 4px #00000040,inset 0 0 0 3px #fff}.rot-handle:after{content:"";background:var(--blue);pointer-events:none;border-radius:2px;width:3px;height:20px;margin-left:-1.5px;position:absolute;top:100%;left:50%}.rot-handle:active{filter:brightness(1.15)}@media (height<=520px){.rot-handle{width:40px;height:40px;margin:-58px 0 0 -20px;font-size:24px}}.skip-btn{border-radius:22px;width:auto;padding:0 12px;font-size:14px;font-weight:900}.skip-btn.sure{background:var(--red);color:#fff}.hint-fab-wrap{left:calc(10px + var(--sal));bottom:calc(var(--tray-h) + 14px);z-index:4;flex-direction:column;align-items:flex-start;gap:8px;display:flex;position:absolute}.hint-fab{background:var(--yellow);min-width:76px;height:76px;color:var(--ink);box-shadow:0 5px 0 #00000040, 0 0 0 4px var(--yellow);touch-action:manipulation;border:4px solid #fff;border-radius:40px;flex-direction:column;justify-content:center;align-items:center;gap:0;padding:0 10px;font-weight:900;line-height:1;display:flex;position:relative}.hint-bulb{font-size:34px}.hint-label{font-size:15px}.hint-fab.ready{animation:1.8s ease-in-out infinite hint-glow}.hint-fab.shown{box-shadow:0 5px 0 #00000040, 0 0 0 4px var(--green);background:#fff3b0}.hint-fab.locked{color:#5b6477;background:#d5d9e0;box-shadow:0 4px #0003}.hint-fab:active{transform:translateY(2px)}.hint-count{background:var(--red);color:#fff;border:2px solid #fff;border-radius:13px;place-items:center;min-width:26px;height:26px;padding:0 6px;font-size:15px;display:grid;position:absolute;top:-6px;right:-4px}@keyframes hint-glow{50%{transform:scale(1.08);box-shadow:0 5px #00000040,0 0 0 10px #ffd23f73}}@media (prefers-reduced-motion:reduce){.hint-fab.ready{animation:none}}.hint-note{max-width:min(300px,70vw);color:var(--ink);background:#fff;border-radius:16px;padding:10px 14px;font-size:15px;font-weight:800;box-shadow:0 4px 12px #00000040}.hint-note p{margin:0 0 6px}.hint-note p:last-child{margin:0}@media (height<=520px){.hint-fab{min-width:62px;height:62px}.hint-bulb{font-size:28px}.hint-label{font-size:13px}}.dlg-back{z-index:60;background:#141e3c8c;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.dlg{background:var(--paper);text-align:center;width:100%;max-width:420px;max-height:calc(100vh - 32px);color:var(--ink);border-radius:24px;padding:18px 20px 20px;overflow:auto;box-shadow:0 10px 30px #0006}.dlg-icon{font-size:44px;line-height:1}.dlg h3{margin:6px 0 8px;font-size:26px;font-weight:900}.dlg p{margin:0 0 10px;font-size:17px;font-weight:700;line-height:1.35}.dlg .row{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin-top:12px;display:flex}.dlg .kinds{flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:10px;display:flex}.dlg-text{box-sizing:border-box;width:100%;font:inherit;resize:vertical;color:var(--ink);background:#fff;border:3px solid #c9d1e0;border-radius:14px;padding:10px 12px;font-size:17px}.btn.disabled{opacity:.45;pointer-events:none}a.btn{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.set-list{flex-direction:column;gap:6px;min-width:250px;max-height:calc(100vh - 140px);padding:2px 12px 12px;display:flex;overflow:auto}.set-row{background:#fff;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;min-height:44px;padding:4px 8px 4px 12px;font-size:16px;font-weight:800;display:flex}.set-row.sub{margin-left:14px}.switch{background:#b8c0cf;border:0;border-radius:16px;flex:none;width:56px;height:32px;padding:0;transition:background .15s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:26px;height:26px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0000004d}.switch[aria-checked=true]{background:var(--green)}.switch[aria-checked=true]:after{transform:translate(24px)}.set-actions{flex-direction:column;gap:6px;display:flex}.set-credit{opacity:.7;text-align:center;margin:4px 2px 0;font-size:12px;font-weight:700;line-height:1.3}.theme{margin:6px 0 14px}.theme-head{color:var(--ink);align-items:baseline;gap:8px;margin:8px 12px 4px;font-size:24px;display:flex}.theme-head small{color:#34455f;font-size:14px;font-weight:700}.theme-head em{border:2px solid var(--ink);background:#fffc;border-radius:12px;margin-left:auto;padding:0 10px;font-size:16px;font-style:normal;font-weight:800}.level-scroll{touch-action:pan-y;padding-bottom:calc(24px + var(--sab));flex:1;overflow-y:auto}.level-scroll .level-grid{flex:none;padding-top:4px;padding-bottom:8px;overflow:visible}.say-bubble{z-index:6;left:50%;top:calc(66px + var(--sat));border:3px solid var(--ink);max-width:min(92vw,640px);color:var(--ink);text-align:left;background:#fff;border-radius:20px;align-items:center;gap:10px;padding:8px 16px;font-size:20px;font-weight:800;line-height:1.2;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 5px #0000002e}.say-bubble mark{background:#ffd23f;border-radius:8px;padding:0 6px}@media (height<=520px){.say-bubble{top:calc(46px + var(--sat));padding:4px 12px;font-size:16px}}.word-wall{z-index:1;border:3px solid var(--ink);background:#ffffffd9;border-radius:22px;flex-direction:column;align-items:center;gap:6px;max-width:min(92vw,720px);padding:8px 16px;display:flex}.word-wall small{color:#34455f;margin-left:6px;font-weight:700}.word-chips{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.word-chip{border:3px solid var(--ink);min-height:40px;color:var(--ink);text-transform:capitalize;background:#ffd23f;border-radius:999px;padding:0 14px;font-size:18px;font-weight:800;box-shadow:0 3px #0003}.word-chip:active{transform:translateY(2px)}.rest-back{z-index:50}.set-limit{color:#34455f;margin:4px 2px;font-size:13px;font-weight:700}.coop-join{justify-content:center;gap:8px;display:flex}.coop-join input{letter-spacing:.15em;text-align:center;text-transform:uppercase;border:3px solid var(--ink);border-radius:14px;width:7ch;padding:6px;font:900 28px/1 inherit}.coop-levels{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.coop-bar{top:calc(100px + var(--sat));z-index:20;background:var(--paper);border:3px solid var(--ink);border-radius:18px;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;max-width:96vw;padding:6px 12px;font-size:15px;font-weight:800;display:flex;position:fixed;left:50%;transform:translate(-50%)}.coop-code{letter-spacing:.1em;cursor:pointer;background:0 0;border:0;font:900 18px/1 inherit}.coop-team i{opacity:.5;margin-right:8px;font-style:normal}.coop-team i.on{opacity:1}.coop-team i:before{content:"● ";color:#999}.coop-team i.on:before{color:#2eaf4d}.coop-job{background:#ffe066;border-radius:10px;padding:2px 8px}.coop-msg{color:var(--red)}.card-meta{color:#34455f;font-size:13px;font-weight:800}.dialog.box{max-width:460px}.box-img{border:4px solid var(--ink);aspect-ratio:1;background:#dff3ff;border-radius:20px;flex:none;place-items:center;width:min(72%,200px);margin:0 auto;font-size:96px;display:grid;overflow:hidden}.box-img img{object-fit:contain;width:100%;height:100%}.box-meta{color:#34455f;font-size:15px}.picture-panel .panel-inner{flex-direction:column;align-items:center;gap:6px;display:flex}.booklet{flex-direction:column;gap:4px;width:clamp(150px,19vw,210px);display:flex}.book-page{aspect-ratio:1;color:var(--ink);background:#e3ebf3;border:2px solid #b9c7d6;border-radius:6px;animation:.2s ease-out book-in;position:relative;overflow:hidden;box-shadow:2px 3px #1b2a4938}.book-page[data-dir="-1"]{animation-name:book-in-back}@keyframes book-in{0%{opacity:.2;transform:translate(40%)rotateY(-25deg)}to{opacity:1;transform:none}}@keyframes book-in-back{0%{opacity:.2;transform:translate(-40%)rotateY(25deg)}to{opacity:1;transform:none}}.book-num{z-index:1;font-size:34px;font-weight:900;line-height:1.1;position:absolute;top:0;left:6px}.book-pic{object-fit:contain;place-items:center;width:100%;height:100%;padding:12% 2% 2%;font-size:56px;display:grid;position:absolute;inset:0}.book-parts{z-index:1;background:#f6f9fc;border:1.5px solid #9fb2c6;border-radius:10px;padding:2px 5px 1px;position:absolute;top:5px;right:5px}.book-parts ul,.book-inv{flex-wrap:wrap;justify-content:center;gap:2px 6px;margin:0;padding:0;list-style:none;display:flex}.book-part{align-items:flex-end;gap:1px;font-size:13px;font-weight:900;display:flex}.book-part img,.book-ph{object-fit:contain;width:34px;height:34px}.book-title{text-align:center;margin:0;padding:6px 6px 2px;font-size:15px;font-weight:900}.book-inv{max-height:calc(100% - 34px);padding:2px 6px 6px;overflow:auto}.book-inv .book-part{flex-direction:column;align-items:center}.book-inv .book-part img{width:46px;height:46px}.book-nav{justify-content:space-between;align-items:center;gap:4px;display:flex}.book-count{white-space:nowrap;font-size:14px;font-weight:900}.book-btn,.book-back{border:2px solid var(--ink);min-height:44px;color:var(--ink);background:#fff;border-radius:12px;font-weight:900}.book-btn{min-width:44px;font-size:18px}.book-btn:disabled{opacity:.35}.book-back{background:var(--yellow);padding:0 8px;font-size:13px}@media (prefers-reduced-motion:reduce){.book-page{animation:none}}@media (height<=520px){.picture-panel .panel-inner{flex-direction:row;align-items:flex-start;gap:6px}.picture-panel .boxcard{flex:none;width:78px}.booklet{flex:none;width:128px}.book-count{font-size:12px}.book-nav{gap:2px}.book-title{padding:3px 4px 0;font-size:12px}.book-inv{gap:1px 2px;max-height:calc(100% - 22px);padding:2px 3px 3px}.book-inv .book-part{width:29px;font-size:11px}.book-inv .book-part img{width:29px;height:29px}}.say-bubble{transition:max-width .25s,padding .25s}.say-bubble.mini{opacity:.9;border-radius:50%;padding:6px 10px}.say-bubble.mini .say-text{display:none}@media (width<=520px){.say-bubble{top:calc(60px + var(--sat));left:auto;right:calc(8px + var(--sar));border-width:2px;border-radius:16px;gap:8px;max-width:calc(100vw - 76px);padding:6px 12px;font-size:15px;transform:none;box-shadow:0 3px #0000002e}.say-bubble .say-text{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.topbar [data-coach=max]{display:none}}@media (height<=520px){.say-bubble{left:auto;right:calc(8px + var(--sar));max-width:min(56vw,520px);transform:none}.say-bubble .say-text{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}.picture-panel.open .panel-peek,.picture-panel.folded .panel-head{display:none}.picture-panel.folded .panel-peek{padding:4px}.pic-peek{border:3px solid var(--red);background:var(--paper);border-radius:14px;width:60px;height:60px;padding:2px;display:block;box-shadow:0 3px #0003}.pic-peek img{object-fit:contain;width:100%;height:100%;display:block}.held.guide{opacity:1;border:3px solid var(--ink);pointer-events:none;border-radius:26px;align-items:center;gap:8px;max-width:calc(100vw - 150px);min-height:48px;padding:4px 16px 4px 10px;font-size:18px;display:flex}.held.guide img{object-fit:contain;flex:none;width:44px;height:44px}.guide-hand{font-size:26px;animation:1.2s ease-in-out infinite guide-tap}.guide-arrow{font-size:20px}.guide-spot{background:#9ecbff99;border:3px dashed #1a73e8;border-radius:6px;flex:none;width:30px;height:22px;animation:1.2s ease-in-out infinite guide-glow}@keyframes guide-tap{0%,to{transform:translateY(0)}50%{transform:translateY(5px)scale(.9)}}@keyframes guide-glow{0%,to{box-shadow:0 0 #1a73e880}50%{box-shadow:0 0 0 6px #1a73e800}}@media (width<=520px){.held.guide{left:auto;right:calc(8px + var(--sar));max-width:calc(100vw - 120px);bottom:calc(var(--tray-h) + 22px);font-size:16px;transform:none}.play.tray-folded .held.guide{bottom:calc(22px + var(--sab))}}@media (height<=520px){.held.guide{min-height:40px;font-size:15px}.held.guide img{width:34px;height:34px}}.intro-back{z-index:40;position:absolute}.dialog.intro{gap:10px;max-width:520px}.dialog.intro h2{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.intro-pics{justify-content:center;align-items:stretch;gap:10px;display:flex}.intro-pics figure{width:min(78%,240px);margin:0;position:relative}.intro-pics.two figure{width:calc(50% - 5px);max-width:220px}.intro-pics figcaption{color:var(--ink);background:#ffffffe0;padding:2px 4px;font-size:14px;font-weight:900;position:absolute;bottom:0;left:0;right:0}.box-img.real{background:#fff;transform:rotate(2deg)}.box-img.real img{object-fit:cover}.intro-links{flex-wrap:wrap;justify-content:center;gap:18px;display:flex}.age-badge{background:var(--yellow);border:2px solid var(--ink);min-width:34px;height:24px;color:var(--ink);border-radius:8px;place-items:center;padding:0 6px;font-size:14px;font-weight:900;line-height:1;display:inline-grid}.age-badge.big{border-width:3px;border-radius:10px;height:32px;font-size:18px}.card-img .age-badge{position:absolute;top:6px;left:6px}@media (height<=520px){.dialog.intro{flex-flow:wrap;justify-content:center;align-items:center;gap:8px;max-width:720px;padding:12px}.dialog.intro h2{width:100%;font-size:22px}.dialog.intro .intro-pics{width:46%}.dialog.intro>p,.dialog.intro .word-chips{display:none}.dialog.intro .btn-big{min-height:56px}.dialog.intro .howto{flex-direction:row;width:100%}}.howto{flex-direction:column;align-items:center;gap:10px;display:flex}.demo{border:4px solid var(--ink);background:#dff3ff;border-radius:20px;flex:none;width:min(100%,300px);height:130px;position:relative;overflow:hidden}.demo-plate{background:var(--green);border-radius:4px;height:16px;position:absolute;bottom:14px;left:50%;right:6%}.demo-spot{background:#9ecbff99;border:3px dashed #1a73e8;border-radius:6px;width:64px;height:34px;animation:1.2s ease-in-out infinite guide-glow;position:absolute;bottom:30px;left:60%}.demo-brick{background:var(--red);border-radius:5px;width:64px;height:34px;position:absolute;bottom:30px;box-shadow:inset 0 -5px #0000002e}.demo-brick i{background:var(--red);border-radius:3px 3px 0 0;width:20px;height:8px;position:absolute;top:-8px}.demo-brick.src{animation:4s linear infinite demo-src;bottom:16px;left:9%}.demo-brick.dst{animation:4s linear infinite demo-dst;left:60%}.demo-hand{filter:drop-shadow(0 3px 3px #00000059);font-size:44px;line-height:1;animation:4s ease-in-out infinite demo-hand;position:absolute;top:62px;left:13%}@keyframes demo-hand{0%,8%{left:14%;transform:scale(1)}16%{left:14%;transform:scale(.78)}24%{left:14%;transform:scale(1)}52%{left:66%;transform:scale(1)}60%{left:66%;transform:scale(.78)}68%,to{left:66%;transform:scale(1)}}@keyframes demo-src{0%,15%{opacity:1;outline:0 solid var(--yellow)}16%,59%{opacity:1;outline:4px solid var(--yellow)}60%,to{opacity:0}}@keyframes demo-dst{0%,59%{opacity:0;transform:translateY(-14px)}64%,to{opacity:1;transform:translateY(0)}}.howto-steps{flex-direction:column;gap:6px;width:100%;margin:0;padding:0;list-style:none;display:flex}.howto-steps li{border:3px solid var(--ink);text-align:left;background:#fff;border-radius:16px;align-items:center;gap:10px;padding:6px 12px;font-size:19px;font-weight:900;display:flex}.howto-steps b{background:var(--blue);color:#fff;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;display:grid}.howto-steps span{flex:none;font-size:24px}.age-row{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 12px 0;display:flex}.age-q{color:var(--ink);margin-right:4px;font-size:18px;font-weight:900}.age-chip{border:3px solid var(--ink);min-width:48px;height:48px;font:inherit;color:var(--ink);background:#fff;border-radius:24px;padding:0 12px;font-size:20px;font-weight:900;box-shadow:0 3px #0003}.age-chip.on{background:var(--yellow);transform:translateY(2px);box-shadow:0 1px #0003}.swipe-tip{color:#34455f;justify-content:center;align-items:center;gap:6px;font-size:15px;font-weight:800;display:flex}.swipe-tip span{font-size:22px;animation:1.4s ease-in-out infinite swipe-left;display:inline-block}@keyframes swipe-left{0%,to{transform:translate(8px)}50%{transform:translate(-8px)}}.held.guide.swipes{pointer-events:auto;touch-action:none}.guide-swipe{opacity:.85;font-size:20px}.book-page,.dialog.intro{touch-action:pan-y}@media (height<=520px){.howto-steps{grid-template-columns:1fr 1fr;display:grid}.howto-steps li{padding:4px 8px;font-size:15px}.swipe-tip{display:none}}@media (width<=520px){.level-grid{padding-left:calc(12px + var(--sal));padding-right:calc(12px + var(--sar));grid-template-columns:repeat(2,1fr);gap:12px}.card{min-height:0;padding:8px}.card-name{text-align:center;font-size:16px}.stars{font-size:22px}.age-row{box-sizing:border-box;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:8px 10px 0;display:grid}.age-q{grid-column:1/-1;margin:0;font-size:16px}.age-chip{min-width:0;height:46px;padding:0;font-size:19px}}.phone-only,.pic-zoom,.turn-arrow{display:none}.howto-steps .pic{flex:none;justify-content:center;align-items:center;gap:2px;min-width:76px;display:inline-flex;position:relative}.howto-steps em{font-style:normal;display:inline-block}.howto-steps .tapper{animation:1.2s ease-in-out infinite guide-tap}.howto-steps .glow{background:#9ecbff99;border:3px dashed #1a73e8;border-radius:5px;width:30px;height:20px;animation:1.2s ease-in-out infinite guide-glow;display:inline-block}.gest-swipe{color:var(--blue);font-size:26px;font-weight:900}.gest-swipe em{animation:1.4s ease-in-out infinite gest-slide}.gest-hold .ring{border:3px solid var(--blue);border-radius:50%;width:30px;height:30px;margin:-15px 0 0 -2px;animation:1.4s ease-out infinite gest-ring;position:absolute;top:50%;left:30px}@keyframes gest-slide{0%,to{transform:translate(-9px)}50%{transform:translate(9px)}}@keyframes gest-ring{0%{opacity:1;transform:scale(.4)}to{opacity:0;transform:scale(1.3)}}.demo{width:min(100%,340px);height:150px}.demo-brick,.demo-spot{width:84px;height:42px}.demo-brick i{width:26px;height:10px;top:-10px}.demo-brick i:first-child{left:10px}.demo-brick i:last-child{right:10px}.demo-brick.src{left:8%}.demo-brick.dst,.demo-spot{left:60%}.demo-hand{font-size:48px;top:92px}@media (width<=520px),(height<=520px){.phone-only{display:flex}.topbar .skip-btn,.topbar [data-coach=max]{display:none}.topbar [data-coach=focus]{display:grid}.topbar .icon-btn.sm,.topbar .icon-btn.sm.skip-btn{width:44px;min-width:44px;height:44px}.steps-panel .panel-head,.steps-panel .panel-body{display:none}.steps-panel.folded,.steps-panel{box-shadow:none;background:0 0;padding:0}.steps-panel .panel-peek{padding:0}.steps-panel .counter{box-sizing:border-box;min-height:44px;padding:9px 14px;font-size:20px;box-shadow:0 3px #0003}.settings-panel.folded .panel-chev,.settings-panel.folded .panel-pin{display:none}.settings-panel.folded{border-radius:50%}.settings-panel.folded .panel-tab{width:44px;padding:0}.settings-panel.folded .panel-icon{font-size:26px}.set-actions.phone-only{flex-direction:column}.picture-panel.folded{box-shadow:none;background:0 0;width:auto}.picture-panel.folded .panel-body{display:none}.picture-panel.folded .panel-peek{padding:0}.pic-peek{width:72px;height:72px;position:relative}.pic-zoom{border:2px solid var(--ink);background:#fff;border-radius:50%;place-items:center;width:28px;height:28px;font-size:15px;display:grid;position:absolute;bottom:-8px;right:-8px}.picture-panel.open{max-width:46vw}.picture-panel.open .panel-head{justify-content:flex-end;display:flex}.picture-panel.open .panel-tab{background:var(--yellow);border-radius:18px;flex:none;width:52px}.picture-panel.open .panel-icon,.picture-panel.open .panel-pin{display:none}.picture-panel.open .panel-chev{opacity:1;margin:0;font-size:0}.picture-panel.open .panel-chev:before{content:"✕";font-size:22px;font-weight:900}.picture-panel.open .booklet{width:100%}.picture-panel.open .boxcard{width:64px}.say-bubble.mini{left:calc(128px + var(--sal));right:auto;top:calc(10px + var(--sat));border-radius:50%;place-items:center;width:44px;height:44px;padding:0;display:grid}.say-bubble:not(.mini){left:calc(88px + var(--sal));right:calc(8px + var(--sar));top:calc(60px + var(--sat));max-width:none}.hint-fab{min-width:68px;height:68px}.hint-fab-wrap{bottom:calc(var(--tray-h) + 18px)}.held.guide{left:calc(96px + var(--sal));max-width:none;right:auto;bottom:calc(var(--tray-h) + 22px);gap:6px;padding:4px 12px 4px 8px;transform:none}.play.tray-folded .held.guide{bottom:calc(22px + var(--sab))}.held.guide.pics .guide-txt{display:none}.held.guide .guide-txt{font-size:15px}.turn-pill{left:calc(100% - 82px - var(--sar));bottom:calc(var(--tray-h) + 24px);touch-action:none;justify-content:center;gap:2px;width:148px;min-height:60px;padding:0 8px;font-size:22px}.play.tray-folded .turn-pill{bottom:calc(24px + var(--sab))}.turn-pill .turn-word,.turn-pill small{display:none}.turn-pill .turn-ico{font-size:32px}.turn-pill .turn-arrow{opacity:.85;font-size:30px;font-weight:900;display:inline-block}.turn-pill .turn-arrow.l{animation:1.2s ease-in-out infinite arrow-l}.turn-pill .turn-arrow.r{animation:1.2s ease-in-out infinite arrow-r}.turn-pill .turn-top{margin:0 4px}}@keyframes arrow-l{0%,to{opacity:.9;transform:translate(0)}50%{opacity:.4;transform:translate(-5px)}}@keyframes arrow-r{0%,to{opacity:.9;transform:translate(0)}50%{opacity:.4;transform:translate(5px)}}@media (height<=520px){.dialog.intro .howto{align-items:center;gap:10px}.dialog.intro .demo{width:42%;height:150px}.dialog.intro .howto-steps{flex-direction:column;flex:1;gap:3px;display:flex}.dialog.intro .howto-steps li{gap:6px;padding:2px 8px;font-size:15px}.dialog.intro .howto-steps b{width:22px;height:22px;font-size:13px}.dialog.intro .howto-steps .pic{min-width:64px;margin:-4px 0;transform:scale(.8)}.dialog.intro h2{font-size:20px}}@media (width<=520px),(height<=520px){.steps-panel.folded .panel-head,.steps-panel.open .panel-head{display:none}.say-bubble.mini{left:calc(150px + var(--sal))}}.howto-steps li{font-size:18px}.howto-steps .pic{font-size:28px}@media (width<=520px),(height<=520px){.turn-pill{left:calc(100% - 92px - var(--sar))}}@media (height<=520px){.dialog.intro{gap:6px;width:min(94vw,760px);max-width:none;padding:8px 12px}.dialog.intro .demo{width:40%;height:130px}.dialog.intro .howto-steps li{white-space:nowrap}.dialog.intro .howto-steps .pic{font-size:24px}.dialog.intro .btn-big{width:60%;min-height:52px}}.switch:before{content:"";position:absolute;inset:-6px -4px}.oops-ico{color:#fff;vertical-align:middle;background:#e5484d;border-radius:50%;place-items:center;width:28px;height:28px;margin-right:4px;font-size:16px;font-weight:900;display:inline-grid}@media (width<=520px),(height<=520px){.oops{top:auto;bottom:calc(var(--tray-h) + 100px);white-space:nowrap;max-width:92vw;padding:6px 14px;font-size:17px}.say-bubble:has(~.oops){visibility:hidden}.topbar{gap:12px}.topbar .icon-btn.sm,.topbar .icon-btn.sm.skip-btn{width:48px;min-width:48px;height:48px}.settings-slot{width:48px;height:48px}.topbar .settings-panel.open{top:56px}.settings-panel.folded .panel-tab{width:48px;min-height:48px}.steps-panel .counter{min-height:48px;padding:11px 14px}.say-bubble.mini{left:calc(172px + var(--sal));width:48px;height:48px}.say-bubble:not(.mini){left:calc(104px + var(--sal));font-size:16px}.pic-peek:after{content:"";position:absolute;inset:-6px}.picture-panel.open{z-index:8;max-width:180px;max-height:70vh;overflow-y:auto}.picture-panel.open .panel-tab{width:56px;min-width:56px;min-height:44px}}@media (width<=520px){.say-bubble .say-text{-webkit-line-clamp:unset;display:block;overflow:visible}}@media (height<=520px){.say-bubble:not(.mini){max-width:62vw;right:auto}.say-bubble .say-text{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.picture-panel.open{max-height:55vh}.hint-fab{min-width:56px;height:56px}.hint-bulb{font-size:26px}.hint-label{font-size:12px}.held.guide{left:50%;transform:translate(-50%)}}@media (width<=520px),(height<=520px){.picture-panel.open .panel-title{display:none}.picture-panel.open .panel-tab{justify-content:center;gap:0;padding:0}}@media (width<=520px){.held.has.guide{gap:2px;padding:4px 6px}.held.has.guide img{width:36px;height:36px}.turn-pill{width:136px;left:calc(100% - 76px - var(--sar))}}@media (height<=520px){.picture-panel.open{width:300px;max-width:300px;max-height:72vh}.picture-panel.open .booklet{flex:1;width:auto;min-width:0}.picture-panel.open{max-height:calc(100dvh - 78px)}}.complete{justify-content:safe center;overflow:hidden auto}.complete>*{flex:none}.complete .next-go{animation:1.4s ease-in-out 2.4s infinite next-go}@keyframes next-go{0%,to{transform:none}50%{transform:scale(1.07)}}@media (prefers-reduced-motion:reduce){.complete .next-go{animation:none}}.loupe{z-index:60;pointer-events:none;box-shadow:0 6px 22px #0006, 0 0 0 3px var(--blue);will-change:transform;background:#dff1ff;border:5px solid #fff;border-radius:50%;position:fixed;top:0;left:0;overflow:hidden}.loupe canvas{width:100%;height:100%;display:block}.loupe-cross{border:2px solid #141e3cb3;border-radius:50%;width:14px;height:14px;margin:-7px 0 0 -7px;position:absolute;top:50%;left:50%;box-shadow:0 0 0 1px #fffc}.viewer-back{z-index:45;position:absolute}.dialog.viewer{gap:10px;width:100%;max-width:560px;max-height:100%;position:relative;overflow:auto}.dialog.viewer h2{text-align:center;margin:0 44px;font-size:clamp(20px,4vw,28px)}.viewer-x{position:absolute;top:10px;right:10px}.viewer-img{border:4px solid var(--ink);aspect-ratio:1;background:#dff3ff;border-radius:20px;place-items:center;width:min(100%,52vh,420px);margin:0 auto;display:grid}.viewer-img img{object-fit:contain;width:100%;height:100%}.side-row{justify-content:center;gap:8px;display:flex}.side-thumb{aspect-ratio:1;border:3px solid var(--ink);cursor:pointer;background:#dff3ff;border-radius:14px;width:22%;max-width:100px;padding:0;position:relative;overflow:hidden}.side-thumb.on{border-color:var(--green);box-shadow:0 0 0 3px var(--green)}.side-thumb img{object-fit:contain;width:100%;height:100%;display:block}.side-thumb em{background:#ffffffe0;padding:1px 0;font-size:12px;font-style:normal;font-weight:900;position:absolute;bottom:0;left:0;right:0}.viewer-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.ref-bar{left:0;right:0;bottom:calc(18px + var(--sab));z-index:44;pointer-events:none;flex-direction:column;align-items:center;gap:6px;display:flex;position:absolute}.ref-bar .btn{pointer-events:auto}.ref-tip{background:#ffffffe6;border-radius:12px;padding:2px 12px;font-size:14px;font-weight:800}@media (height<=520px){.dialog.viewer{flex-flow:wrap;justify-content:center;align-items:center;max-width:720px;padding:10px}.dialog.viewer h2{width:100%;margin:0 40px;font-size:18px}.viewer-img{width:min(40vh,220px);margin:0}.side-row{flex-wrap:wrap;width:30%}.side-thumb{width:44%}}.aids{background:#fff3d6;border:3px dashed #e0a030;border-radius:16px;flex-wrap:wrap;justify-content:center;gap:6px;margin:0;padding:8px 12px;font-size:14px;font-weight:800;list-style:none;display:flex}.aids .aids-head{text-align:center;flex:100%;font-weight:900}.aids li.chip{background:#fff;border:2px solid #e0a030;border-radius:999px;padding:2px 10px}@media (height<=520px){.dialog.intro .aids{width:52%;padding:4px 8px;font-size:12px}}.showcase{flex-direction:column;align-items:center;gap:10px;width:min(92vw,560px);max-height:96dvh;padding:12px;display:flex}.showcase h2{color:#fff;text-shadow:0 3px 0 var(--ink);margin:0;font-size:clamp(22px,5vw,34px);font-weight:900}.show-stage{aspect-ratio:1;background:var(--paper);border:4px solid var(--ink);border-radius:24px;place-items:center;width:min(86vw,52dvh,480px);font-size:96px;display:grid;position:relative;overflow:hidden}.show-stage img,.show-stage canvas{object-fit:contain;width:100%;height:100%}.show-side{background:var(--yellow);border:3px solid var(--ink);border-radius:16px;padding:2px 14px;font-size:20px;font-weight:900;position:absolute;bottom:10px;left:10px}.show-dots{gap:8px;display:flex}.show-dots i{border:2px solid var(--ink);background:#ffffff80;border-radius:50%;width:12px;height:12px}.show-dots i.on{background:var(--yellow)}.show-bar{border:2px solid var(--ink);background:#fff6;border-radius:5px;width:min(86vw,480px);height:10px;overflow:hidden}.show-bar i{background:var(--yellow);transform-origin:0;height:100%;animation:linear forwards show-fill;display:block}@keyframes show-fill{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@media (height<=520px){.showcase{flex-flow:wrap;justify-content:center;gap:8px}.showcase h2{width:100%;font-size:20px}.show-stage{width:min(60dvh,300px)}.showcase .btn-big{min-height:56px;padding:0 32px;font-size:26px}}.pull-ring{pointer-events:none;z-index:70;filter:drop-shadow(0 2px 3px #00000073);width:68px;height:68px;margin:-34px 0 0 -34px;position:fixed}.pull-ring[hidden]{display:none}.pull-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.pull-ring circle{fill:none;stroke-width:6px}.pull-ring .bg{stroke:var(--ink);stroke-width:10px}.pull-ring .fg{stroke:var(--yellow);stroke-linecap:round;stroke-dasharray:113.1;stroke-dashoffset:113.1px}@keyframes pull-fill{0%{stroke-dashoffset:113.1px}to{stroke-dashoffset:0}}.pic-clip{border-radius:inherit;width:100%;height:100%;position:relative;overflow:hidden}.pic-slides{width:100%;height:100%;transition:transform .25s;display:flex}.pic-slide{flex:0 0 100%;place-items:center;width:100%;height:100%;display:grid}.pic-slide img{object-fit:contain;width:100%;height:100%}.boxcard,.pic-peek{touch-action:pan-y;position:relative}.boxcard .pic-slide img[data-testid=pic-real],.pic-peek .pic-slide img[data-testid=pic-real]{object-fit:cover}.pic-dots{pointer-events:none;justify-content:center;gap:4px;display:flex;position:absolute;bottom:3px;left:0;right:0}.pic-dots i{border:1px solid var(--ink);background:#fffc;border-radius:50%;width:6px;height:6px}.pic-dots i.on{background:var(--yellow)}.pic-tag{text-align:center;color:var(--ink);pointer-events:none;border-radius:inherit;background:#ffffffd9;font-size:10px;font-weight:900;position:absolute;top:0;left:0;right:0}@media (width<=760px),(height<=520px){.pic-tag{display:none}}.viewer-tabs{justify-content:center;gap:8px;display:flex}.viewer-tabs button{border:3px solid var(--ink);min-height:40px;color:var(--ink);background:#fff;border-radius:20px;padding:0 16px;font-size:16px;font-weight:900}.viewer-tabs button.on{background:var(--yellow)}.viewer-img{touch-action:pan-y}.viewer-img img[data-testid=viewer-real]{object-fit:cover;border-radius:14px}.run-timer{right:calc(10px + var(--sar));bottom:calc(8px + var(--sab));z-index:5;border:3px solid var(--ink);font-variant-numeric:tabular-nums;color:var(--ink);pointer-events:none;background:#fffaf0eb;border-radius:16px;padding:4px 12px;font-size:20px;font-weight:900;position:absolute}.focus-pic{left:calc(12px + var(--sal));top:calc(12px + var(--sat));opacity:.7;position:absolute}.share-time{align-items:center;gap:8px;font-size:15px;font-weight:800;display:flex}input,textarea{-webkit-user-select:text;user-select:text}.dlg{max-height:calc(100dvh - 32px - var(--sab))}.set-list{max-height:calc(100dvh - 140px)}.share-more,.coop-x{display:none}@media (width<=520px),(height<=520px){.complete{padding-top:calc(10px + var(--sat));padding-bottom:calc(16px + var(--sab));-webkit-overflow-scrolling:touch;justify-content:flex-start;overflow-y:auto}.complete>h2{flex:none;order:0;margin:0}.complete>.big-stars{flex:none;order:1}.complete>.row{flex-wrap:wrap;flex:none;order:2;justify-content:center;gap:8px}.complete>.word-wall{flex:none;order:3}.complete>.share-box{flex:none;order:4}.share-btns .btn,.share-more{min-height:48px}.share-more{border:3px solid var(--ink);min-width:48px;color:var(--ink);background:#fff;border-radius:14px;justify-content:center;align-items:center;font-size:24px;font-weight:900;display:inline-flex}.share-box:not(.more-open) .share-name,.share-box:not(.more-open) .share-movie,.share-box:not(.more-open) .share-invite{display:none}}@media (width<=520px) and (height>=521px){.complete{gap:14px}}@media (width<=380px){.bar h2{display:none}.bar .btn.sm{margin-left:auto}}@media (width<=520px){.dialog{position:relative}.dialog .coop-intro{display:none}.coop-x{border:3px solid var(--ink);width:48px;height:48px;color:var(--ink);background:#fff;border-radius:50%;place-items:center;font-size:22px;font-weight:900;display:grid;position:absolute;top:8px;right:8px}.dialog:has(.coop-x) h2{padding-left:48px;padding-right:48px}}.tile{touch-action:pan-x;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.tile.dragging{touch-action:none;opacity:.55}.dnd-ghost{z-index:100000;pointer-events:none;filter:drop-shadow(0 8px 10px #00000059);will-change:transform;width:72px;height:72px;position:fixed;top:0;left:0}.dnd-ghost img{object-fit:contain;width:100%;height:100%;display:block}.dnd-ghost-plain{background:#fff;border-radius:14px;box-shadow:0 0 0 3px #4a90e2}.zc{gap:6px;display:flex}.zc button{color:#234;cursor:pointer;touch-action:manipulation;background:#fff;border:0;border-radius:12px;place-items:center;width:44px;min-width:44px;height:44px;font-size:22px;font-weight:700;line-height:1;display:grid;box-shadow:0 2px #0000002e,inset 0 0 0 2px #dbe3f0}.zc button:active{transform:translateY(1px)}.zc button:focus-visible{outline-offset:2px;outline:3px solid #4a90e2}
