@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/andika-cyrillic-ext-400-normal-VNDy5CZS.woff2) format("woff2"),url(/assets/andika-cyrillic-ext-400-normal-BJwze9_g.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/andika-cyrillic-400-normal-DYbdP60f.woff2) format("woff2"),url(/assets/andika-cyrillic-400-normal-CIdpN1kB.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/andika-vietnamese-400-normal-afg23LQ3.woff2) format("woff2"),url(/assets/andika-vietnamese-400-normal-Bw99zChb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/andika-latin-ext-400-normal-D580Nkki.woff2) format("woff2"),url(/assets/andika-latin-ext-400-normal-NXfvB_tZ.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/andika-latin-400-normal-BTFTIZb-.woff2) format("woff2"),url(/assets/andika-latin-400-normal-BK42By1L.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--ink: #1d1d1d;--panel: rgba(28, 24, 20, .86);--cream: #fff8e6;--gold: #ffe14d;--green: #5bbf3a;--blue: #3a7ad0;--en: "Andika", "Avenir Next", system-ui, sans-serif;--zh: "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;--safe-b: env(safe-area-inset-bottom, 0px)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}html,body,#root{margin:0;width:100%;height:100%;background:#6fa8ff}html{overflow:hidden}body,#root{overflow:visible}body{font-family:var(--zh);color:var(--ink);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:auto;overscroll-behavior:none}button{-webkit-appearance:none;appearance:none;font:inherit;color:inherit;padding:0;border:none;text-align:center;cursor:pointer;touch-action:manipulation}.en{font-family:var(--en)}.screen{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;background:linear-gradient(#6fa8ff,#9cc8ff 60%,#c9e2ff);padding:24px}.screen:after{content:"";position:absolute;left:0;right:0;bottom:0;height:22%;background:repeating-linear-gradient(90deg,#5d9b34 0 40px,#6aa83d 40px 80px);border-top:10px solid #77b547;z-index:0}.screen>*{position:relative;z-index:1}.title{font-size:44px;font-weight:800;color:#fff;text-shadow:0 4px 0 #2a4a8a,0 0 18px rgba(0,0,0,.25);letter-spacing:2px}.subtitle{font-size:22px;color:#1d2b4a}.panel{background:var(--cream);border:6px solid #1a1a1a;box-shadow:inset -6px -6px #c9b98f,inset 6px 6px #fff;padding:22px 28px;border-radius:4px}.btn{min-width:120px;min-height:76px;padding:12px 28px;font-size:28px;font-weight:700;color:#fff;background:var(--green);border:5px solid #1a1a1a;box-shadow:inset -5px -5px #00000040,inset 5px 5px #ffffff59;border-radius:4px}.btn:active{transform:translateY(3px)}.btn.blue{background:var(--blue)}.btn.grey{background:#8a8a8a}.btn.small{min-height:60px;font-size:22px;min-width:90px}.row{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap}.letters{display:grid;grid-template-columns:repeat(13,72px);gap:8px}.letters button{height:72px;font-size:34px;font-weight:700;font-family:var(--en);background:#f3e3b5;border:4px solid #1a1a1a;box-shadow:inset -4px -4px #c9a868;border-radius:3px}.letters button:active{background:var(--gold)}.nameTiles{display:flex;gap:8px;min-height:96px;align-items:center}.nameTiles span{width:76px;height:92px;display:grid;place-items:center;font-size:56px;font-family:var(--en);font-weight:700;background:#fff;border:5px solid #1a1a1a;border-radius:3px}.nameTiles span.empty{background:#fff6;border-style:dashed}.profiles{display:flex;gap:20px;flex-wrap:wrap;justify-content:center}.profile{width:200px;height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#fff;border:6px solid #1a1a1a;box-shadow:inset -6px -6px #ccc;border-radius:4px}.profile .n{font-family:var(--en);font-size:40px;font-weight:700}.profile .l{font-size:18px;color:#555}.bar{width:520px;height:28px;background:#1a1a1a;padding:4px;border-radius:3px}.bar i{display:block;height:100%;background:linear-gradient(#8fe060,#5bbf3a);transition:width .2s}.game{position:absolute;inset:0}.game canvas{position:absolute;inset:0;display:block}.game>canvas{touch-action:none}.game-tools{display:contents}.lane-count,.hotbar-scroll-hint{display:none}.overlay{position:absolute;inset:0;pointer-events:none}.overlay>*{pointer-events:auto}.hud{position:absolute;top:12px;right:184px;display:flex;align-items:center;gap:12px;padding:8px 16px;background:#00000073;border-radius:6px;color:#fff;font-size:20px}.hud .day{font-family:var(--en);font-weight:700;font-size:24px;color:var(--gold)}.hud .tbar{width:200px;height:16px;background:#222;border:2px solid #000}.hud .tbar i{display:block;height:100%;background:linear-gradient(90deg,#ffe066,#ff9a2a)}.topright{position:absolute;top:12px;right:14px;display:flex;gap:10px}.iconbtn{display:inline-flex;align-items:center;justify-content:center;flex:none;white-space:nowrap;line-height:1;width:72px;height:72px;font-size:22px;font-weight:700;color:#fff;background:#00000080;border:4px solid #1a1a1a;border-radius:6px}.guide{position:absolute;top:12px;left:12px;max-width:390px;display:flex;gap:10px;align-items:flex-start}.guide .face{width:64px;height:64px;flex:none;image-rendering:pixelated;border:4px solid #1a1a1a;background:#f0c49a;border-radius:4px}.guide .bubble{background:#fff;border:4px solid #1a1a1a;border-radius:10px;padding:8px 12px;font-size:21px;line-height:1.35;box-shadow:0 4px #00000040}.guide .who{font-size:14px;color:#8a5a2b;font-weight:700}.guide.duo{max-width:430px}.guide.duo .faces{display:flex;flex-direction:column;gap:6px;flex:none}.guide.duo .face{width:52px;height:52px;opacity:.55;transition:opacity .2s,transform .2s}.guide.duo .face.on{opacity:1;transform:scale(1.06)}.guide.duo .face.allay{background:#bfe6ff;object-fit:contain}.guide.duo .who{color:#2a7bc0}.guide.duo .en{font-size:23px;font-weight:700;color:#16324f}.guide.duo .zh{margin-top:6px;padding-top:6px;border-top:2px dashed #d9d0c2;font-size:18px;color:#3a3a3a}.guide.duo .zh .who{display:block;color:#8a5a2b}.guide.duo .zh.wait{font-size:14px;color:#a39a8c}.guide.duo .zh.ok{font-size:17px;font-weight:700;color:#2f9e44}.guide.duo .en .w.tap,.table .tip .en .w.tap{border-bottom:2px dotted #9fb8cf}.guide.duo .en .w.mark,.table .tip .en .w.mark{background:#ffe066;border-radius:4px;box-shadow:0 0 0 2px #ffe066}.guide.duo .gloss,.table .tip .gloss{margin-top:4px;font-size:19px;color:#1d5c96}.guide.duo .gloss b,.table .tip .gloss b{margin-right:6px}.guide.duo .zh.tipline{font-size:16px;color:#6b5a44}.guide.duo .zh.pairs b,.table .tip .zh.pairs b{font-weight:600;color:#16324f;margin-right:6px}.ghelp{display:flex;gap:6px;margin-top:8px}.ghelp button{display:flex;align-items:center;gap:3px;padding:4px 8px;font-size:17px;background:#f4efe6;border:2px solid #1a1a1a;border-radius:8px;color:#1a1a1a}.ghelp button small{font-size:13px}.ghelp button:disabled{opacity:.35}.table .tip .gbody{display:flex;flex-direction:column}.table .tip .gbody .en{font-weight:700;color:#16324f}.table .tip .gbody .zh{font-size:15px;color:#3a3a3a}.table .tip .gbody .zh.wait{font-size:13px;color:#a39a8c}.center{position:absolute;top:104px;left:50%;transform:translate(-50%);width:min(1100px,96vw);display:flex;flex-direction:column;align-items:center;gap:22px;pointer-events:none}.center>*{pointer-events:auto}.dialogue{position:relative;min-width:460px;max-width:900px;text-align:center}.dialogue-toggle{position:absolute;left:8px;top:4px;z-index:1;min-width:48px;min-height:44px;font-size:14px;color:#5b4326;background:transparent}.dialogue-toggle~.card>.dialogue-heading{min-height:44px}.dialogue-rest{min-height:44px;padding:6px 12px;max-width:100%;border:2px solid #c9b27a;border-radius:8px;color:#fff8e6;background:#1c1814d1;font-size:14px}.dialogue .card{position:relative;background:var(--cream);border:5px solid #1a1a1a;border-radius:12px;padding:12px 56px 14px;box-shadow:0 6px #00000040}.dialogue .who{display:inline-block;font-family:var(--en);font-weight:700;font-size:20px;background:#1a1a1a;color:var(--gold);padding:2px 12px;border-radius:6px;margin-bottom:6px}.dialogue .who.zhwho{font-family:var(--zh)}.dialogue .en{font-size:38px;line-height:1.2;font-weight:700}.dialogue .zh{font-size:20px;color:#6a5a40;margin-top:4px}.dialogue .hints{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 14px;margin-top:6px;font-size:19px;color:#6a5a40}.dialogue .hints span{background:#f3e3b5;border-radius:6px;padding:2px 8px;animation:pop .3s}.dialogue .hints b{font-family:var(--en);color:#1a1a1a}.dialogue .help{position:absolute;right:8px;bottom:8px;width:46px;height:46px;font-size:22px;line-height:1;background:#ffe38a;border:3px solid #1a1a1a;border-radius:50%;overflow:hidden}.dialogue .help small{position:absolute;left:0;right:0;bottom:1px;font-size:10px;font-weight:700}.dialogue .help.wait{background:#ddd;filter:grayscale(1)}.dialogue .help.wait:after{content:"";position:absolute;inset:0;background:#ffe38ae6;transform-origin:left;animation:helpfill 5s linear forwards;mix-blend-mode:multiply}@keyframes helpfill{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.dialogue .replay{position:absolute;right:10px;top:10px;font-size:26px;background:none}.choices{display:flex;gap:16px;row-gap:40px;flex-wrap:wrap;justify-content:center;width:100%}.choice{min-height:96px;min-width:240px;max-width:520px;padding:12px 22px;background:#fff;border:5px solid #1a1a1a;border-radius:22px;box-shadow:0 6px #0000004d;text-align:center;position:relative}.choice .en{font-size:30px;font-weight:700;line-height:1.2}.choice .zh{font-size:17px;color:#777;margin-top:2px}.choice.sel{background:#fff3a8;border-color:#c98a00;transform:translateY(-4px)}.choice.sel:after{content:"再点一下，说出来！";position:absolute;left:50%;bottom:-34px;transform:translate(-50%);white-space:nowrap;font-size:17px;color:#fff;background:#c98a00;padding:2px 10px;border-radius:8px}.choice.wrong{animation:shake .45s;opacity:.55}@keyframes shake{20%,60%{transform:translate(-10px)}40%,80%{transform:translate(10px)}}.pick{display:flex;gap:22px}.pick button{width:150px;height:150px;padding:0;display:flex;align-items:center;justify-content:center;flex:none;line-height:1;background:#fff;border:6px solid #1a1a1a;border-radius:16px;box-shadow:0 6px #0000004d;font-size:84px}.pick.big button{width:170px;height:170px;font-size:100px}.pick .pick-content{display:block;line-height:1;text-align:center}.pick button img{display:block;flex:none;width:110px;height:110px;image-rendering:pixelated}.pick button.wrong{animation:shake .45s;opacity:.5}.pick.rows{flex-direction:column;gap:14px;align-items:center}.pick.rows button{width:auto;min-width:260px;height:96px;padding:0 22px;font-size:56px;letter-spacing:6px}.dialogue .dpic{float:left;width:64px;height:64px;margin:2px 12px 0 0;font-size:52px;line-height:64px;text-align:center;image-rendering:pixelated}.pick.titled{flex-wrap:wrap;justify-content:center;max-width:620px}.pick-title{flex-basis:100%;text-align:center;font-size:54px;line-height:1.25;padding:8px 16px;background:#fff;border:6px solid #1a1a1a;border-radius:16px;box-shadow:0 6px #0000004d;letter-spacing:4px}.teaching-picture{display:block;width:100%;height:auto;aspect-ratio:9 / 7;border-radius:10px}.game canvas.teaching-picture{position:static;inset:auto}.pick.scenes{flex-wrap:wrap;justify-content:center;gap:12px;max-width:760px}.pick.scenes>button{width:224px;height:178px;overflow:hidden}.pick.scenes .teaching-picture{width:100%;height:auto}.picture-controls{flex-basis:100%;display:flex;justify-content:center}.pick .picture-controls button{width:auto;height:auto;min-height:40px;padding:6px 16px;font-size:18px;border-width:3px;box-shadow:0 3px #0003}.dialogue .dpic.teaching-picture{width:162px;height:126px;float:left}.craft .pic.teaching-picture{width:206px;height:160px;margin:8px auto}.speech-location-scene{width:162px;max-width:100%;margin:4px auto}.craft{position:absolute;left:50%;top:108px;transform:translate(-50%);padding:18px 26px;background:#c6c6c6;border:6px solid #1a1a1a;box-shadow:inset -6px -6px #555,inset 6px 6px #fff;text-align:center}.craft .label{font-size:20px;margin-bottom:8px;display:flex;align-items:center;justify-content:center;gap:14px}.craft .label .ghelp{margin-top:0}.craft .label .ghelp button{font-size:20px;padding:6px 12px}.craft .label .ghelp button small{font-size:15px}.craft .slots,.craft .tiles{display:flex;gap:10px;justify-content:center;min-height:86px;margin:8px 0}.craft .slot{min-width:120px;height:80px;background:#8b8b8b;border:4px solid;border-color:#373737 #fff #fff #373737}.craft .tile{min-width:120px;height:80px;padding:0 16px;font-family:var(--en);font-size:34px;font-weight:700;background:#f3e3b5;border:4px solid #1a1a1a;box-shadow:inset -4px -4px #c9a868}.craft .tile.used{visibility:hidden}.craft .tile.lock{background:#d9f0c4;box-shadow:inset -4px -4px #8fbf6a}.craft.spelling .tile{min-width:76px;font-size:42px}.craft.spelling .slot{min-width:76px}.craft .slots{align-items:center}.craft .pic{width:84px;height:84px;image-rendering:pixelated;margin-right:12px;background:#fff;border:4px solid #1a1a1a}.craft .pic.emoji{display:inline-grid;place-items:center;font-size:56px;line-height:1}.craft .context{font-size:24px;margin:4px 0 6px;color:#333}@keyframes pop{0%{transform:scale(.2)}70%{transform:scale(1.25)}}@keyframes rise{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-30px)}}.craft.wrong .slots{animation:shake .45s}.song{position:absolute;top:100px;left:50%;transform:translate(-50%);width:820px;background:#141028d1;border:5px solid #1a1a1a;border-radius:14px;padding:14px 24px;color:#fff;text-align:center}.song .l{font-family:var(--en);font-size:28px;opacity:.5;margin:4px 0}.song .l.cur{opacity:1;font-size:36px;color:var(--gold);font-weight:700}.toast{position:absolute;top:146px;right:14px;width:420px;display:flex;gap:12px;align-items:center;background:#212121;border:5px solid #555;padding:12px;color:#fff;animation:slide .35s}.toast img{width:64px;height:64px;image-rendering:pixelated;background:#8b8b8b;border:3px solid #373737}.toast .t1{color:#ff5;font-size:16px;font-family:var(--en)}.toast .t2{font-family:var(--en);font-size:24px;font-weight:700}.toast .t3{font-size:16px;color:#ccc}@keyframes slide{0%{transform:translateY(-160px)}}.board{position:absolute;top:146px;right:14px;width:330px;background:#8a6236;border:6px solid #3b2a1a;padding:14px;color:#fff;box-shadow:inset -5px -5px #6b4a2a}.board h3{margin:0 0 8px;font-size:22px}.board li{list-style:none;font-size:20px;padding:6px 0}.board ul{margin:0;padding:0}.board .done{color:#c8f5a0;text-decoration:line-through}.board .later{color:#d8c4a8;opacity:.7}.board .later small{font-size:15px;margin-left:6px}.board .skipped{color:#e3d1b9}.board .skipped small{font-size:15px}.skip-panel{z-index:30;max-width:calc(100vw - 32px)}.skip-task{white-space:nowrap;flex-direction:column}.skip-task small{font-size:11px;line-height:1.2}.skip-task:disabled{opacity:.55}.visitor{display:flex;gap:10px;align-items:center;margin-top:8px;padding:6px 8px;background:#00000040;border:3px solid #3b2a1a}.visitor img{width:56px;height:56px;image-rendering:pixelated}.visitor .q{width:56px;text-align:center;font-size:34px}.visitor .t{font-size:19px;font-weight:700}.visitor .s{font-size:15px;color:#f3e3b5}.visitor.here{background:#ffe14d4d}.controls{position:absolute;left:0;right:0;bottom:0;height:140px;padding-bottom:var(--safe-b);pointer-events:none}.controls>*{pointer-events:auto}.pad{position:absolute;bottom:calc(18px + var(--safe-b));width:104px;height:104px;font-size:46px;color:#fff;background:#00000061;border:5px solid rgba(0,0,0,.65);border-radius:18px}.pad.active{background:#ffffff59}.pad.l{left:20px}.pad.r{left:138px}.pad.j{right:22px;width:120px;height:120px;font-size:30px;font-weight:800}.pad.lane{right:156px;width:88px;height:76px;font-size:34px}.pad.lane.up{bottom:calc(104px + var(--safe-b))}.pad.lane.dn{bottom:calc(18px + var(--safe-b))}.pad.lane.off{opacity:.35}.lanes{position:absolute;right:156px;width:88px;bottom:calc(188px + var(--safe-b));display:flex;flex-direction:column;align-items:center;gap:3px;pointer-events:none}.lanes i{display:block;width:26px;height:9px;background:#00000059;border:2px solid rgba(0,0,0,.6)}.lanes i.me{background:#ffe14d}.lanes b.n{font-size:18px}.lanes b{margin-top:4px;font:700 14px var(--en);color:#fff;text-shadow:1px 1px 0 #000;white-space:nowrap}.hotbar{position:absolute;bottom:calc(14px + var(--safe-b));left:50%;transform:translate(-50%);display:flex;background:#141414b8;padding:5px;gap:3px}.hotbar button{width:62px;height:62px;position:relative;background:#8b8b8b99;border:3px solid #555;display:grid;place-items:center}.hotbar button.sel{border-color:#fff;box-shadow:0 0 0 3px #fff;z-index:1}.hotbar img{width:46px;height:46px;image-rendering:pixelated}.hotbar .n{position:absolute;right:3px;bottom:0;color:#fff;font-family:var(--en);font-weight:700;font-size:17px;text-shadow:2px 2px 0 #000}.stats{position:absolute;bottom:calc(92px + var(--safe-b));left:50%;transform:translate(-50%);width:596px;display:flex;justify-content:space-between;pointer-events:none}.stats img{width:24px;height:24px;image-rendering:pixelated}.sleep{position:absolute;inset:0;background:#05081800;animation:dark 3s forwards;display:grid;place-items:center;color:#fff;font-size:64px;font-family:var(--en);pointer-events:none}@keyframes dark{to{background:#050818eb}}.rotate{position:fixed;inset:0;z-index:99;background:#1a2350;color:#fff;display:none;place-items:center;font-size:32px;text-align:center}@media (orientation: portrait){.rotate{display:grid}}.fps{position:absolute;left:8px;bottom:150px;color:#fff;font:14px monospace;background:#0006;padding:2px 6px}.stars{font-size:64px;letter-spacing:8px}.summaryLines{font-family:var(--en);font-size:26px;line-height:1.5;text-align:center}.err{color:#b00;font-size:20px}.iconbtn.gear{font-size:34px}.musicpanel{position:absolute;top:90px;right:0;z-index:5;width:260px;padding:14px;background:var(--cream);border:5px solid #1a1a1a;border-radius:10px;display:flex;flex-direction:column;gap:12px;box-shadow:0 6px #00000040}.musicpanel .mt{font-size:20px;font-weight:700}.musicpanel .row{justify-content:space-between;flex-wrap:nowrap;gap:8px}.musicpanel .row:not(.vol)>.seg{flex:1}.musicpanel .vol>.seg{flex:0 0 48px;min-width:48px}.musicpanel .seg{display:inline-flex;align-items:center;justify-content:center;padding:0 8px;white-space:nowrap;line-height:1.2;min-width:64px;height:56px;font-size:24px;font-weight:700;background:#fff;border:4px solid #1a1a1a;border-radius:8px}.musicpanel .seg.on{background:var(--green);color:#fff}.musicpanel .seg:disabled{opacity:.35}.musicpanel .bars{display:flex;flex:none;gap:5px;align-items:flex-end;height:40px}.musicpanel .bars i{width:12px;background:#ccc;border:2px solid #1a1a1a}.musicpanel .bars i:nth-child(1){height:12px}.musicpanel .bars i:nth-child(2){height:18px}.musicpanel .bars i:nth-child(3){height:24px}.musicpanel .bars i:nth-child(4){height:30px}.musicpanel .bars i:nth-child(5){height:36px}.musicpanel .bars i.lit{background:var(--gold)}.musicpanel .close{width:100%}.musicpanel .sub{font-size:16px;color:#555;margin-bottom:-4px}.musicpanel hr{width:100%;border:0;border-top:3px dashed #bbb;margin:2px 0}.musicpanel .seg.exit{background:#e05a47;color:#fff}.musicpanel>.seg{width:100%}.musicpanel .note{font-size:17px;line-height:1.45}.bag{position:absolute;top:92px;right:14px;display:flex;gap:6px;align-items:center;padding:6px 12px 6px 8px;background:#00000080;border:4px solid #1a1a1a;border-radius:6px;color:#fff;font-size:20px;font-weight:700}.bag>img{width:36px;height:36px;image-rendering:pixelated}.bag.busy{opacity:.45}.reward{position:absolute;right:14px;top:186px;padding:12px 22px;background:#212121eb;border:5px solid #555;color:#fff;text-align:center;pointer-events:none;animation:reward 2.6s forwards}.reward .t1{color:#ff5;font-size:22px;font-weight:700}.reward .items{display:flex;gap:18px;justify-content:center;margin:8px 0;font-size:20px}.reward .items span{display:flex;align-items:center;gap:6px}.reward .items img{width:48px;height:48px;image-rendering:pixelated}.reward .t3{font-size:15px;color:#ccc}@keyframes reward{0%{opacity:0;transform:translateY(-40px) scale(.6);transform-origin:top right}12%{opacity:1;transform:translateY(0) scale(1.08)}18%{transform:scale(1)}75%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-50px)}}.bag .plus{position:absolute;right:4px;top:58px;display:flex;gap:2px;animation:rise 1.6s forwards;font-size:22px;color:#ffe14d;text-shadow:2px 2px 0 #000;pointer-events:none}.bag .plus img{width:30px;height:30px;image-rendering:pixelated}.bag .plus .got1{display:inline-flex;flex-direction:column;align-items:center}.bag .plus .got1 small{font-family:var(--en);font-size:15px;font-weight:700;line-height:1}.table{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:20;display:flex;gap:14px;padding:14px;max-height:calc(100% - 24px);background:#c6c6c6;border:6px solid #1a1a1a;box-shadow:inset -6px -6px #555,inset 6px 6px #fff}.table .slot{position:relative;width:72px;height:72px;padding:0;display:grid;place-items:center;background:#8b8b8b;border:4px solid;border-color:#373737 #fff #fff #373737}.table .slot img{width:52px;height:52px;image-rendering:pixelated}.table .slot .n{position:absolute;right:3px;bottom:1px;font:700 20px var(--en);color:#fff;text-shadow:2px 2px 0 #3f3f3f}.table .book{width:250px;overflow-y:auto;display:flex;flex-direction:column;gap:6px;padding-right:4px}.table .bt,.table .tt{font-size:20px;font-weight:700;color:#3f3f3f}.table .none{font-size:16px;color:#555;padding:6px}.table .brow{display:grid;grid-template-columns:44px 1fr;align-items:center;column-gap:8px;padding:4px 6px;text-align:left;background:#aaa;border:3px solid #555;border-radius:3px;opacity:.6}.table .brow.ok{background:#fff;border-color:#1a1a1a;opacity:1}.table .brow.on{outline:4px solid #ffe14d}.table .brow img{grid-row:span 2;width:40px;height:40px;image-rendering:pixelated}.table .brow .bn{font-size:17px;font-weight:700}.table .brow .need{font-size:13px;color:#8a2a1a}.table .work{display:flex;flex-direction:column;gap:10px;min-width:0}.table .top{display:flex;align-items:center;gap:12px}.table .got{display:flex;align-items:center;gap:4px;font-size:18px;font-weight:700;color:#1a6a1a}.table .got img{width:34px;height:34px;image-rendering:pixelated;animation:pop .5s}.table .close{margin-left:auto;height:52px;padding:0 16px;font-size:20px;font-weight:700;color:#fff;background:#8a2a1a;border:4px solid #1a1a1a;border-radius:4px}.table .gridbox{display:flex;align-items:center;gap:16px}.table .cgrid{display:grid;gap:0}.table .cgrid.s3{grid-template-columns:repeat(3,72px)}.table .cgrid.s2{grid-template-columns:repeat(2,72px)}.table .slot.ghost img{opacity:.45}.table .slot.ghost.miss{background:#b06a6a}.table .arrow{font-size:40px;color:#8b8b8b}.table .arrow.lit{color:#fff;text-shadow:0 0 8px #ffe14d}.table .slot.big{width:100px;height:100px}.table .slot.big img{width:72px;height:72px}.table .slot.big.ready{box-shadow:0 0 0 4px #ffe14d}.table .pop{animation:pop .5s ease-out}.table .clear{height:48px;padding:0 14px;font-size:18px;background:#e0e0e0;border:3px solid #1a1a1a;border-radius:4px}.table .msg{min-height:30px;font-size:19px;color:#333}.table .made{font-weight:700;color:#1a6a1a;animation:pop .4s;display:inline-block}.table .inv{display:grid;grid-template-columns:repeat(8,72px);gap:4px;overflow-y:auto;max-height:250px}.table .inv .slot{height:84px;align-content:start;padding-top:4px}.table .inv .slot img{width:44px;height:44px}.table .inv .slot .n{bottom:18px}.table .inv .slot .nm{position:absolute;bottom:1px;left:0;right:0;font-size:12px;color:#fff;text-shadow:1px 1px 0 #333;white-space:nowrap;overflow:hidden}.table .inv .slot.sel{border-color:#fff;box-shadow:0 0 0 4px #ffe14d}.table .inv .slot.empty img{opacity:.35}.table .tip{display:flex;gap:8px;align-items:flex-start;max-width:600px;padding:6px 10px;background:#fff;border:3px solid #1a1a1a;border-radius:8px;font-size:17px;line-height:1.35}.table .tip img{width:36px;height:36px;image-rendering:pixelated;flex:none}.table .tobar{margin-left:12px;height:40px;padding:0 12px;font-size:17px;background:#fff;border:3px solid #1a1a1a;border-radius:4px}.dialogue .en .w{border-radius:6px;padding:0 2px;transition:background .15s}.dialogue .en .w:active{background:#ffe38a}.dexbtn{position:absolute;top:92px;right:150px;display:flex;gap:6px;align-items:center;padding:6px 12px 6px 6px;background:#00000080;border:4px solid #1a1a1a;border-radius:6px;color:#fff;font-size:20px;font-weight:700}.dexbtn>img{width:40px;height:40px;image-rendering:pixelated}.dexbtn.busy{opacity:.45}.mobcard{position:absolute;top:84px;left:50%;transform:translate(-50%);min-width:220px;padding:10px 26px 14px;background:#212121eb;border:5px solid #555;color:#fff;text-align:center;pointer-events:none;animation:mobcard 5.2s forwards}.mobcard .t1{color:#ff5;font-size:22px;font-weight:700}.mobcard img{width:120px;height:120px;image-rendering:pixelated;display:block;margin:2px auto}.mobcard .en{font-family:var(--en);font-size:34px;font-weight:700}.mobcard .zh{font-size:18px;color:#ccc}@keyframes mobcard{0%{opacity:0;transform:translate(-50%,-12px)}8%{opacity:1;transform:translate(-50%)}85%{opacity:1}to{opacity:0}}.dex{position:absolute;inset:0;background:#00000073;display:grid;place-items:center;z-index:30}.dexpanel{width:min(920px,94vw);max-height:90vh;display:flex;flex-direction:column;gap:10px;padding:16px 20px}.dexhead{display:flex;justify-content:space-between;align-items:center;font-size:26px;font-weight:700}.dexhead .x{width:56px;height:56px;font-size:26px;background:#f3e3b5;border:4px solid #1a1a1a;border-radius:4px}.dexdetail{display:flex;gap:20px;align-items:center;background:#2b2b2b;color:#fff;padding:8px 18px;border:4px solid #1a1a1a}.dexdetail img{width:200px;height:200px;image-rendering:pixelated}.dexdetail .en.big{font-family:var(--en);font-size:48px;font-weight:700}.dexdetail .zh{font-size:22px;color:#ccc;margin:4px 0 12px}.dexdetail .row{display:flex;gap:12px}.dexdetail .row button{font-size:20px;padding:10px 16px;background:#f3e3b5;border:4px solid #1a1a1a;border-radius:4px}.dexbody{overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:2px}.dexgh{font-size:20px;font-weight:700;margin:2px 0 4px}.dexgh small{font-size:16px;color:#6b5a3a;margin-left:6px}.dexcell .lock{font-size:12px;color:#eee;white-space:nowrap}.dexcell.locked{opacity:.75}.dexgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}.dexcell{display:flex;flex-direction:column;align-items:center;padding:4px 2px 6px;background:#8b8b8b;border:3px solid #1a1a1a;box-shadow:inset -3px -3px #555,inset 3px 3px #c6c6c6}.dexcell img{width:72px;height:72px;image-rendering:pixelated}.dexcell .en{font-family:var(--en);font-size:15px;font-weight:700;color:#fff;text-shadow:1px 1px 0 #000;white-space:nowrap}.dexcell.unknown{background:#6d6d6d}.dexcell.sel{outline:4px solid #ffe14d}.dexfoot{font-size:16px;color:#6b5a3a}.bookwrap{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;min-height:0;background:#00000059;z-index:30;pointer-events:auto}.book{width:min(760px,92vw);max-height:88vh;display:flex;flex-direction:column;background:#f4ead0;border:6px solid #1a1a1a;box-shadow:inset 0 0 0 6px #c9b27a,0 10px #0000004d;border-radius:6px;padding:18px 26px 16px;animation:pop .25s}.bookhead{display:flex;justify-content:space-between;align-items:center;color:#5b4326;font-size:22px;font-weight:700;border-bottom:3px dashed #c9b27a;padding-bottom:6px;margin-bottom:8px}.bookn{font-size:18px;background:#5b4326;color:#f4ead0;border-radius:8px;padding:1px 10px}.bookwrap>.book{min-width:0;min-height:0;max-height:calc(100% - 16px);overflow:hidden}.bookhead,.bookbtns{flex-shrink:0}.page{min-height:0;overflow-y:auto;flex:1 1 auto;overscroll-behavior:contain;touch-action:pan-y}.bline{display:flex;align-items:center;gap:10px;padding:6px 2px}.bline .btext{flex:1;min-width:0;overflow-wrap:anywhere;font-size:34px;line-height:1.3;font-weight:700;color:#2b2116}.bline.done .btext{color:#6f8a4a}.bline.reading{background:#ffe9a3;border-radius:8px}.bline .tick{font-size:26px}.bline .bsay{font-size:26px;background:none;width:48px;height:48px;flex:none}.gw{position:relative;border-bottom:4px dotted #3a6fd0;color:#1d4aa8;cursor:pointer}.gzh{position:absolute;left:50%;bottom:100%;transform:translate(-50%);white-space:nowrap;font-style:normal;font-family:var(--zh);font-size:22px;font-weight:700;color:#fff;background:#3a6fd0;border-radius:8px;padding:2px 10px}.bookbtns{display:flex;justify-content:space-between;gap:12px;margin-top:12px}.bookbtns .seg{min-height:64px;padding:0 22px;font-size:24px;font-weight:700;background:#fff;border:4px solid #1a1a1a;border-radius:12px}.bookbtns .seg.go{background:#7cc24a;color:#fff;min-width:180px}.bookbtn{position:relative;font-size:34px}.bookbtn small{position:absolute;right:4px;bottom:2px;font-size:14px}.bookbtn.pulse{animation:bookpulse 1s ease-in-out infinite;border-color:#ffe38a}@keyframes bookpulse{50%{transform:scale(1.12)}}.choice.cancel{min-width:96px;max-width:96px;font-size:34px;background:#eee}.table .hbar{margin-top:10px;padding-top:8px;border-top:3px solid #8b8b8b}.table .hbar .bl{display:block;font-size:16px;font-weight:700;color:#3f3f3f;margin-bottom:4px}.table .hbar .brow2{display:flex;gap:4px}.table .hbar .slot{width:60px;height:60px}.table .hbar .slot img{width:44px;height:44px}.table .hbar .slot.sel{outline:3px solid #fff}.table .hbar.target .slot{border-color:#c98a00 #ffe38a #ffe38a #c98a00;animation:bookpulse 1.2s ease-in-out infinite}.furn{width:min(760px,94vw);max-height:90vh;display:flex;flex-direction:column;gap:10px;padding:16px 20px;overflow-y:auto}.furn .slot{position:relative;width:72px;height:72px;padding:0;display:grid;place-items:center;background:#8b8b8b;border:4px solid;border-color:#373737 #fff #fff #373737}.furn .slot img{width:52px;height:52px;image-rendering:pixelated}.furn .slot .n{position:absolute;right:3px;bottom:1px;font:700 20px var(--en);color:#fff;text-shadow:2px 2px 0 #3f3f3f}.furn .slot.big{width:96px;height:96px}.furn .slot.ready{outline:4px solid #ffe14d}.furn .frow{display:flex;align-items:center;gap:24px;justify-content:center}.furn .fcol{display:flex;flex-direction:column;align-items:center;gap:4px}.furn .flame{font-size:30px;filter:grayscale(1);opacity:.35}.furn .flame.on{filter:none;opacity:calc(.4 + var(--k) * .6)}.furn .farrow{position:relative;font-size:48px;color:#6d6d6d;width:80px;text-align:center}.furn .farrow .bar{position:absolute;left:6px;top:50%;height:8px;background:#fff;border:2px solid #373737;transform:translateY(-50%);max-width:68px}.furn .msg{font-size:18px;text-align:center;min-height:24px;color:#3a3a3a}.furn .flists{display:grid;grid-template-columns:1fr 1fr;gap:14px}.furn .bt{font-weight:700;font-size:18px;margin-bottom:4px}.furn .inv{display:flex;flex-wrap:wrap;gap:6px}.furn .inv .slot{width:auto;min-width:72px;height:auto;padding:4px 6px 2px;grid-template-rows:52px auto}.furn .inv .nm{font-size:13px;white-space:nowrap}.furn .inv .slot .n{top:1px;bottom:auto;font-size:17px}.furn .none{font-size:14px;color:#6b5a3a}.advbtn{right:262px}.progpanel{width:min(920px,94vw);max-height:90vh;display:flex;flex-direction:column;gap:10px;padding:16px 20px;overflow-y:auto}.progpanel .tabs{display:flex;gap:8px}.progpanel .tabs button{font-size:18px;padding:8px 16px;background:#c6c6c6;border:4px solid #1a1a1a;border-radius:4px}.progpanel .tabs button.on{background:#f3e3b5;font-weight:700}.progpanel .books{display:flex;flex-wrap:wrap;gap:6px;font-size:15px}.progpanel .books span{padding:3px 8px;border-radius:4px;background:#ddd;color:#777}.progpanel .books span.done{background:#cfe8b8;color:#2f5a14}.progpanel .books span.cur{background:#ffe14d;color:#3b2a1a;font-weight:700}.progpanel .units{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;padding:8px;background:#3b3b3b;border:4px solid #1a1a1a}.progpanel .unit{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:none;color:#fff;padding:2px}.progpanel .unit .frame{width:72px;height:72px;display:grid;place-items:center;background:#8b8b8b;border:4px solid #555}.progpanel .unit .frame img{width:56px;height:56px;image-rendering:pixelated}.progpanel .unit.done .frame{background:#d8b54a;border-color:#fff3a0}.progpanel .unit.next .frame{border-color:#ffe14d;animation:pulse 1.2s ease-in-out infinite alternate}.progpanel .unit.locked .frame{opacity:.55}.progpanel .unit.sel .nm{text-decoration:underline}.progpanel .unit .nm{font-size:14px}@keyframes pulse{0%{box-shadow:0 0 #ffe14d33}to{box-shadow:0 0 12px 4px #ffe14dcc}}.progpanel .udetail{background:#f7ecd0;border:3px solid #1a1a1a;padding:10px 14px}.progpanel .ut{font-size:20px;font-weight:700}.progpanel .us{font-size:16px;color:#6b5a3a;margin:4px 0 6px}.progpanel .ulist{display:flex;flex-wrap:wrap;gap:10px}.progpanel .ulist span{display:flex;align-items:center;gap:4px;font-size:16px}.progpanel .ulist img{width:40px;height:40px;image-rendering:pixelated}.advtree{display:flex;flex-direction:column;gap:8px}.advcount{font-size:16px;color:#6b5a3a}.advcanvas{position:relative;background:#5a4a38;border:4px solid #1a1a1a;margin:0 auto}.advcanvas svg{position:absolute;inset:0}.adv{position:absolute;width:52px;height:52px;display:grid;place-items:center;background:#8b8b8b;border:4px solid #3a3a3a;padding:0}.adv img{width:36px;height:36px;image-rendering:pixelated}.adv.ok{background:#d8b54a;border-color:#fff3a0}.adv.sel{outline:3px solid #fff}.advdetail{font-size:17px;min-height:26px}.dexdetail .vrow{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}.dexdetail .vt{font-size:16px;color:#ccc;margin-right:4px}.dexdetail .vcell{display:flex;flex-direction:column;align-items:center;background:#444;border:2px solid #1a1a1a;padding:2px 4px;color:#fff}.dexdetail .vcell img{width:48px;height:48px;image-rendering:pixelated}.dexdetail .vcell small{font-size:12px;white-space:nowrap}.chestgrid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px}.chestgrid .slot{width:100%;height:auto;aspect-ratio:1;min-width:0}.chestgrid .slot img{width:80%;height:80%;object-fit:contain}.chestgrid .slot:disabled{opacity:1}@media (max-width: 600px){.chestpanel{padding:10px}.chestgrid{gap:2px}.chestgrid .slot{border-width:2px}.chestgrid .slot .n{font-size:13px}}.colour-swatch{display:inline-block;width:1em;height:1em;flex:none;border:2px solid rgba(0,0,0,.2);border-radius:.08em;box-shadow:inset 0 2px #ffffff59}.speech-guide{max-width:360px;width:calc(100% - 24px);pointer-events:none;gap:8px}.speech-guide .face.allay{width:48px;height:48px;background:#bfe6ff;object-fit:contain}.speech-guide .bubble{min-width:0;flex:1;pointer-events:auto;padding:8px 10px;max-height:calc(100dvh - 240px - var(--safe-b));overflow:auto}.speech-guide .who{color:#2a7bc0}.speech-guide small{font-size:12px;font-weight:400;color:#655d54;line-height:1.4}.speech-question{font-size:21px;font-weight:700;line-height:1.25;margin:4px 0}.speech-eggs{display:grid;grid-template-columns:repeat(6,1fr);max-width:240px;margin:6px auto;font-size:24px;line-height:1.2}.speech-balloon{height:40px;width:32px;border:2px solid #79623d;border-radius:50%;margin:6px auto 16px;position:relative}.speech-balloon:after{content:"";position:absolute;width:1px;height:12px;background:#79623d;bottom:-14px;left:50%}.speech-location{display:flex;flex-direction:column;align-items:center;font-size:26px;line-height:1;margin:6px 0}.speech-status{margin:6px 0;font-size:13px;color:#52656d;line-height:1.4;overflow-wrap:anywhere}.speech-transcript{color:#70665b;font-size:13px;overflow-wrap:anywhere}.speech-reply{font-size:18px;margin:6px 0;font-weight:700}.speech-reply small{display:block}.speech-example{font-size:17px;background:#e8f4fa;border-radius:5px;padding:6px;margin:5px 0}.speech-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.speech-actions button{min-height:44px;padding:6px 10px;border:2px solid #9ab8c9;border-radius:7px;background:#f4fbff;color:#24485e;font-size:14px}.speech-actions button.primary{background:#3d6e3c;color:#fff;border-color:#294b28}.speech-actions button:disabled,.speech-dock button:disabled{opacity:.5}.speech-help{margin-top:6px;border-top:1px solid #d4e4ec}.speech-help>small{display:block;margin-top:6px}.speech-dock{position:absolute;right:22px;bottom:calc(154px + var(--safe-b));width:120px;pointer-events:auto}.speech-dock .speech-hold{width:120px;min-height:80px;padding:10px 8px;border:4px solid #225067;border-radius:16px;background:#d9f4ff;color:#183f51;font-size:20px;font-weight:700;box-shadow:0 4px #0003;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.speech-dock .speech-hold[aria-pressed=true]{color:#fff;background:#a63b31;border-color:#74261f}.speech-dock meter{position:absolute;left:10px;right:10px;bottom:-8px;width:100px;height:8px;pointer-events:none}.speech-practice-scene{padding:8px 16px;border-radius:8px;background:#fff8e6;min-width:180px;pointer-events:none}@media (max-height:600px){.speech-guide{max-width:320px}.speech-guide .face.allay{width:36px;height:36px}.speech-guide .bubble{max-height:calc(100dvh - 155px - var(--safe-b))}}@media (max-width:900px){.speech-guide{top:96px}.speech-guide .bubble{max-height:calc(100dvh - 250px - var(--safe-b))}}.auth-screen{overflow-y:auto;justify-content:flex-start;padding:36px 18px;gap:18px}.auth-screen .title{font-size:clamp(24px,4vw,42px);text-align:center}.account-form{width:min(420px,100%);display:flex;flex-direction:column;gap:14px;font-size:17px;text-align:left}.account-form h1,.account-form h2,.account-form p{margin:0}.account-form h1{font-size:28px}.account-form label{display:flex;flex-direction:column;gap:6px}.account-form input{width:100%;min-height:44px;padding:9px 12px;border:2px solid #8a785f;border-radius:5px;font:inherit;background:#fffdf6;color:#302719}.account-form input:focus{outline:3px solid #3892b9;outline-offset:2px}.account-form small{font-size:13px;color:#605742}.account-form .btn{font-size:20px;min-height:46px}.account-links{display:flex;justify-content:space-between;gap:16px}.account-links button{background:none;border:none;color:#215477;text-decoration:underline;padding:8px 0;cursor:pointer;font:inherit}.account-email{overflow-wrap:anywhere}.rotate.auth-rotate{display:none}.overlay{inset:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);--safe-b: 0px}.screen{overflow-y:auto;touch-action:pan-y}.screen>*{flex-shrink:0;max-width:100%}.screen>.panel{min-width:0!important}.screen small{text-align:center}.pad{touch-action:none}.guide .bubble,.center,.craft,.musicpanel,.board,.table,.dex,.bookwrap,.pp{touch-action:pan-y}@media (max-height: 600px),(max-width: 1100px) and (orientation: landscape){.screen{justify-content:flex-start;gap:12px;padding:16px max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.screen .title{font-size:28px;text-align:center}.screen .panel{padding:12px 18px}.screen .btn{min-height:48px;font-size:20px;padding:8px 18px}.summaryLines{font-size:20px}.stars{font-size:36px}.hud{top:8px;left:8px;right:auto;height:44px;gap:8px;padding:6px 8px;font-size:13px;white-space:nowrap}.hud .day{font-size:17px}.hud .tbar{width:64px;height:10px}.game-tools{position:absolute;top:8px;right:8px;display:flex;align-items:center;gap:4px}.topright{position:static;display:flex;gap:4px;order:1}.iconbtn{width:44px;height:44px;border-width:2px;font-size:15px}.iconbtn.gear,.iconbtn.bookbtn{font-size:24px}.bookbtn small{font-size:10px}.bag,.dexbtn{position:relative;top:auto;right:auto;height:44px;padding:4px 6px;gap:3px;border-width:2px;font-size:14px;white-space:nowrap}.bag>img,.dexbtn>img{width:22px;height:22px}.bag .plus{top:46px}.musicpanel{top:50px;width:260px;max-height:calc(100dvh - 72px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;gap:8px;padding:10px}.musicpanel .seg{min-height:44px;height:auto;font-size:17px}.musicpanel .row{flex-shrink:0}.board{top:58px;right:8px;width:280px;max-height:calc(100% - 66px);overflow-y:auto;z-index:6;padding:10px}.board li{font-size:16px}.controls{height:76px}.pad{bottom:8px;width:54px;height:58px;border-width:3px;border-radius:12px;font-size:26px}.pad.l{left:8px}.pad.r{left:68px}.pad.j{right:8px;width:60px;height:60px;font-size:23px}.pad.lane{right:76px;width:44px;height:44px;font-size:22px}.pad.lane.up{bottom:58px}.pad.lane.dn{bottom:8px}.lanes{right:76px;bottom:104px;width:44px;font:12px var(--en);color:#fff;text-shadow:1px 1px #000}.lanes i,.lanes b{display:none}.lane-count{display:block}.hotbar{bottom:8px;padding:4px;gap:2px}.hotbar button{width:44px;height:44px;flex:none;border-width:2px}.hotbar img{width:34px;height:34px}.hotbar .n{font-size:13px}.stats{bottom:62px;width:420px;line-height:1}.stats img{width:14px;height:14px}.speech-dock{right:8px;bottom:78px;width:60px}.speech-dock .speech-hold{width:60px;min-height:58px;padding:6px;border-width:3px;border-radius:12px;font-size:16px}.speech-dock meter{left:4px;right:4px;width:52px}.fps{bottom:82px;font-size:10px}.guide,.guide.duo,.speech-guide{top:60px;left:8px;width:min(340px,calc(100% - 148px));max-width:none;gap:6px}.guide .face,.guide.duo .face,.speech-guide .face.allay{width:32px;height:32px;border-width:2px}.guide .bubble,.speech-guide .bubble{min-width:0;flex:1;padding:8px;border-width:2px;font-size:17px;max-height:calc(100dvh - 148px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto}.guide.duo .en,.speech-question{font-size:18px}.speech-guide .bubble{padding:6px}.speech-question{margin:2px 0}.guide.duo .zh{font-size:15px}.ghelp{flex-wrap:wrap}.ghelp button{min-height:44px;font-size:14px}.speech-status{font-size:12px;margin:4px 0}.speech-actions{gap:4px;margin-top:4px}.speech-actions button{padding:6px 8px}.speech-location-scene{width:126px}.speech-eggs{font-size:20px}.speech-balloon{width:22px;height:28px;margin:2px auto 8px}.speech-balloon:after{height:6px;bottom:-8px}.center{top:60px;left:8px;right:136px;width:auto;transform:none;gap:10px;max-height:calc(100% - 146px);overflow-y:auto;padding:0 4px 8px}.center:empty{padding:0}.center>*{flex-shrink:0;max-width:100%}.side-guide .guide{width:30%}.side-guide .center{left:32%}.dialogue{min-width:0;width:100%}.dialogue .card{padding:8px 46px 8px 10px;border-width:3px}.dialogue .en{font-size:22px}.dialogue .zh,.dialogue .hints,.dialogue .who{font-size:14px}.dialogue .replay{top:4px;right:4px;width:40px;height:40px;font-size:22px}.dialogue .dpic,.dialogue .dpic.teaching-picture{width:72px;height:56px;font-size:42px;line-height:56px}.choices{gap:10px;row-gap:32px;padding-bottom:28px}.choice{min-width:120px;min-height:56px;padding:8px 12px;border-width:3px;border-radius:12px;flex:1}.choice .en{font-size:20px}.choice .zh{font-size:13px}.choice.sel:after{font-size:12px;bottom:-26px}.choice.cancel{min-width:48px;max-width:48px}.pick,.pick.scenes{gap:8px;flex-wrap:wrap;justify-content:center}.pick button,.pick.big button{width:96px;height:96px;border-width:3px;font-size:58px}.pick button img{width:72px;height:72px}.pick.scenes>button{width:138px;height:110px}.pick.rows button{min-width:180px;width:auto;height:56px;font-size:32px}.pick-title{font-size:28px;padding:4px;border-width:3px}.craft{top:60px;left:8px;right:8px;transform:none;max-height:calc(100% - 146px);overflow-y:auto;padding:8px;border-width:3px}.side-guide .craft{left:32%}.craft .label{flex-wrap:wrap;gap:6px;font-size:16px}.craft .slots,.craft .tiles{flex-wrap:wrap;gap:6px;min-height:48px}.craft .tile,.craft .slot,.craft.spelling .tile,.craft.spelling .slot{min-width:44px;height:48px;font-size:22px;padding:0 8px}.craft .context{font-size:18px}.craft .pic,.craft .pic.teaching-picture{width:72px;height:56px;font-size:36px;margin:0 6px 0 0}.song{top:60px;width:calc(100% - 32px);max-height:calc(100% - 146px);overflow-y:auto}.song .l{font-size:18px}.song .l.cur{font-size:24px}.toast,.reward{top:60px;right:8px;max-width:min(300px,calc(100% - 16px));padding:8px;z-index:7;pointer-events:none}.toast img,.reward .items img{width:32px;height:32px}.toast .t2,.reward .items{font-size:18px}.mobcard{top:60px;min-width:160px;padding:6px 12px}.mobcard img{width:64px;height:64px}.mobcard .en{font-size:22px}.table{width:calc(100% - 16px);max-height:calc(100% - 16px);gap:10px;padding:8px;border-width:3px;overflow-y:auto}.table .book{width:28%;flex-shrink:0;max-height:none;overflow:visible;padding:6px}.table .work{flex:1}.table .top{position:sticky;top:-8px;z-index:2;background:#c6c6c6;padding:4px 0;flex-wrap:wrap}.table .slot{width:48px;height:48px;border-width:3px}.table .slot img,.table .inv .slot img,.table .hbar .slot img{width:34px;height:34px}.table .cgrid.s3{grid-template-columns:repeat(3,48px)}.table .cgrid.s2{grid-template-columns:repeat(2,48px)}.table .slot.big{width:64px;height:64px}.table .slot.big img{width:48px;height:48px}.table .gridbox{gap:8px;flex-wrap:wrap}.table .inv{grid-template-columns:repeat(auto-fill,minmax(48px,1fr));overflow:visible;max-height:none}.table .inv .slot{width:100%;height:64px}.table .hbar .brow2{flex-wrap:wrap}.table .hbar .slot{width:44px;height:44px}.table .tip{font-size:14px}.table .msg{font-size:15px}.table .brow{grid-template-columns:28px 1fr;column-gap:4px}.table .brow img{width:26px;height:26px}.table .brow .bn{font-size:14px}.table .brow .need{font-size:12px}.dexpanel,.progpanel,.furn,.bookwrap>.book{width:calc(100% - 16px);max-height:calc(100% - 16px);padding:10px;border-width:3px}.dexpanel{overflow-y:auto}.dexbody{overflow:visible}.dexhead,.bookhead{position:sticky;top:-10px;z-index:2;background:var(--cream);flex-shrink:0;font-size:20px}.dexhead .x{width:44px;height:44px;font-size:20px}.dexdetail{flex-shrink:0;gap:10px;padding:6px}.dexdetail img{width:96px;height:96px}.dexdetail .en.big{font-size:28px}.bline .btext{font-size:24px}.bookbtns .seg{min-height:44px;font-size:18px;padding:0 12px}.bookbtns .seg.go{min-width:120px}.bookbtns{flex-shrink:0}}@media (max-width: 800px) and (orientation: landscape){.hud .tbar{display:none}.bag>img,.dexbtn>img{display:none}.bag,.dexbtn{min-width:44px}.hotbar{width:calc(100% - 280px);max-width:420px;overflow-x:auto;touch-action:pan-x;overscroll-behavior-x:contain;scrollbar-width:none}.hotbar::-webkit-scrollbar{display:none}.hotbar button.sel{box-shadow:inset 0 0 0 1px #fff}.stats{width:calc(100% - 280px);max-width:420px}.stats img{width:10px;height:10px}.hotbar-scroll-hint{display:block;position:absolute;bottom:78px;left:50%;transform:translate(-50%);padding:2px 6px;border-radius:4px;font-size:11px;color:#fff;background:#0009;pointer-events:none;white-space:nowrap}.guide .bubble,.speech-guide .bubble{max-height:calc(100dvh - 164px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.center,.craft,.song{max-height:calc(100% - 162px)}}@media (orientation: portrait){.screen{justify-content:flex-start;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}.screen .title{font-size:28px;text-align:center}.rotate{padding:24px;font-size:24px}}.answer-layer{position:absolute;inset:0;margin:0;padding:0;border:0;width:100%;height:100%;max-width:none;max-height:none;background:transparent;color:inherit;overflow:visible;pointer-events:none}.answer-layer>.hud,.answer-layer>.game-tools{pointer-events:auto}.answer-content,.answer-tools{display:contents}.answer-content>*{pointer-events:auto}.answer-content>.center{pointer-events:none}.answer-layer.focused{position:fixed;inset:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);width:auto;height:auto;pointer-events:auto}.answer-layer::backdrop{background:#0c141e9e}.answer-layer.focused .answer-tools{opacity:.35}.answer-layer.focused .game-tools{z-index:2}.answer-notice{position:absolute;top:22px;left:16px;color:#fff;font-size:20px}.answer-layer.focused .answer-content{position:absolute;inset:100px 16px 16px;display:flex;flex-direction:column;align-items:center;gap:16px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:8px 6px 16px}.answer-layer.focused .answer-content>*{flex-shrink:0}.answer-layer.focused .guide{position:static;max-width:min(760px,100%)}.answer-layer.focused .center{position:static;transform:none;width:100%;max-width:1100px;max-height:none;overflow:visible;padding:0}.answer-layer.focused .craft{position:static;transform:none;max-width:100%;max-height:none;overflow:visible}.answer-layer.focused .craft .tiles,.answer-layer.focused .craft .slots{flex-wrap:wrap}.answer-layer.focused .dialogue{min-width:0;max-width:100%}@media (max-height: 600px),(max-width: 1100px) and (orientation: landscape){.answer-notice{top:16px;left:12px;font-size:15px}.answer-layer.focused .hud,.answer-layer.focused .answer-tools{display:none}.answer-layer.focused .answer-content{inset:58px 6px 4px;gap:10px;padding:4px 4px 12px}.answer-layer.focused .guide{width:100%}}.health{display:flex}.heart{position:relative;display:inline-flex}.heart-fill{position:absolute;inset:0}.oxygen{position:absolute;right:0;bottom:100%;display:flex;gap:2px;padding-bottom:3px}.oxygen .bubble{display:block;box-sizing:border-box;width:22px;height:22px;border:2px solid #c7f6ff;box-shadow:inset -2px -2px #359bdd,0 0 0 1px #193d62;background:#4dbdf4;border-radius:50%}.oxygen .bubble.empty{background:transparent;opacity:.25;box-shadow:none}@media (max-height: 600px),(max-width: 1100px) and (orientation: landscape){.oxygen .bubble{width:12px;height:12px;border-width:1px}}@media (max-width: 800px) and (orientation: landscape){.oxygen .bubble{width:8px;height:8px}}.camera-nav{pointer-events:none;position:absolute;left:12px;bottom:calc(164px + var(--safe-b));color:#fff;font-size:14px;text-shadow:1px 1px #182f3e}.camera-nav>span{pointer-events:none;padding:5px 8px;background:#0006;border-radius:5px}.camera-nav>button{pointer-events:auto;min-height:44px;padding:6px 12px;color:#fff;background:#243e50e8;border:2px solid #b8d9e8;border-radius:6px;font:inherit}@media (max-height: 600px),(max-width: 1100px) and (orientation: landscape){.camera-nav{left:8px;bottom:calc(80px + var(--safe-b));font-size:12px}}.game{position:fixed;inset:0;width:auto;height:100%;height:100dvh;max-width:none;overflow:hidden}.guide-heading{display:flex;align-items:center;justify-content:space-between}.inventory-dock{position:absolute;inset:0;pointer-events:none}.inventory-dock>*{pointer-events:auto}.inventory-dock .hotbar-scroll-hint{pointer-events:none}.food{display:flex}@media (max-height: 600px),(max-width: 900px) and (orientation: landscape){.game-tools{gap:6px}.game-tools>.answer-tools{order:-1}.topright{flex-direction:row-reverse;gap:6px}.iconbtn,.bag{background:#141e24a6;border:1px solid #ffffff60;border-radius:8px;font-weight:600}.menu-toggle{font-size:14px}.task-count{display:inline-grid;place-items:center;margin-left:2px;min-width:14px;height:14px;font-size:10px;background:#f0cd58;color:#24313b;border-radius:7px}.hud{background:#141e248c;font-size:12px;padding:4px 8px;gap:6px}.hud .day{font-size:15px}.hud .tbar{display:none}.mobile-menu-items{display:flex;flex-wrap:wrap;gap:8px}.mobile-menu-items .dexbtn,.mobile-menu-items .bookbtn{position:static;min-width:64px;flex:1;color:#24313b;background:#edf2ed;border:1px solid #748b80}.mobile-menu-items .bookbtn{font-size:22px}.mobile-menu-items img{display:none}.musicpanel{z-index:20}.pad{background:#121d2361;border:1px solid #ffffff75;box-shadow:none}.pad:active,.pad.active{background:#326c89bf}.camera-nav{font-size:11px}.camera-nav>button{background:#182d3aad;border:1px solid #bdd9e8}.inventory-dock{inset:auto auto 8px 50%;transform:translate(-50%);width:min(420px,calc(100% - 280px));pointer-events:none}.inventory-dock.compact{width:auto}.inventory-dock .hotbar{position:static;transform:none;width:100%;max-width:none;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x;padding:4px;gap:2px;border-radius:0 0 8px 8px;background:#141e24b3}.inventory-dock .hotbar::-webkit-scrollbar{display:none}.inventory-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;padding:0 4px;background:#141e24d9;border-radius:8px 8px 0 0;color:#fff;font-size:12px}.inventory-actions>span{margin-right:auto;padding:0 4px}.inventory-actions button{min-width:48px;height:44px;color:#fff;background:transparent}.inventory-actions button[aria-pressed=true]{color:#ffe14d}.quick-bar{display:flex;gap:4px;padding:3px;background:#141e24a6;border:1px solid #ffffff60;border-radius:8px}.quick-bar button{position:relative;min-width:44px;height:44px;border-radius:4px;color:#fff;font-size:12px;background:transparent}.quick-bar .quick-slot{border:1px solid #fff;display:grid;place-items:center}.quick-slot img{width:34px;height:34px;image-rendering:pixelated}.quick-slot .n{position:absolute;right:2px;bottom:0;font-size:12px;text-shadow:1px 1px #000}.inventory-dock .hotbar-scroll-hint{display:block;bottom:100%;margin-bottom:4px;font-size:11px}.stats{bottom:64px;width:min(420px,calc(100% - 280px));gap:12px;align-items:center}.controls.inventory-open .stats{bottom:112px}.stats .full{opacity:.65}.stats .health.full .heart:not(:first-child),.stats .food.full img:not(:first-child){display:none}.stats .full:after{content:"满";color:#fff;font-size:10px;line-height:14px;margin-left:3px;text-shadow:1px 1px #111}.oxygen{opacity:1;bottom:100%;padding-bottom:5px}.guide.floating-guide,.speech-guide{width:min(310px,calc(100% - 148px));gap:5px}.floating-guide .face,.speech-guide .face.allay{width:28px;height:28px;border-width:1px}.guide.floating-guide .bubble,.speech-guide .bubble{position:relative;background:#12232ed6;color:#fff;border:1px solid #d3eaf080;border-radius:9px;box-shadow:0 2px 8px #0003}.floating-guide .guide-heading{padding-right:36px;min-height:16px}.guide-fold{position:absolute;right:0;top:0;width:44px;height:44px;color:#d6e8ef;background:transparent;font-size:24px}.guide.floating-guide .en{color:#fff;font-size:17px;padding-right:22px;font-weight:600}.guide.floating-guide .who,.speech-guide .who{color:#9bddff;font-size:12px}.guide.floating-guide .zh,.guide.floating-guide .gloss,.guide.floating-guide .zh b,.speech-guide small,.speech-status,.speech-transcript{color:#e0edf4}.guide.floating-guide .w.mark{color:#172f3d}.floating-guide .ghelp{gap:4px;margin-top:3px}.floating-guide .ghelp button{background:#ffffff15;border:1px solid #ffffff55;color:#fff;min-height:44px;padding:3px 6px}.floating-guide .ghelp button small{font-size:12px}.guide-rest{position:absolute;top:60px;left:8px;display:flex;gap:6px;align-items:flex-start;max-width:calc(100% - 148px);pointer-events:none}.guide-rest button{pointer-events:auto;color:#fff;background:#12232ec7;border:1px solid #ffffff60;border-radius:8px}.guide-avatar{width:44px;height:44px;flex-shrink:0}.guide-avatar img{width:30px;height:30px;image-rendering:pixelated}.guide-reminder{min-height:44px;max-width:240px;padding:6px 8px;font:14px var(--en);text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.speech-guide .speech-question{font-size:17px}.speech-example{background:#ffffff20}.speech-actions button{background:#ffffff18;border-color:#ffffff70;color:#fff}.speech-help{border-color:#ffffff50}}
