:root{font-family:PingFang SC,Microsoft YaHei,sans-serif;color:#634a31;background:#f0eadd;font-synthesis:none;--wood: url(/play/tangram/assets/wood/beech.jpg);--ink: #62462c;--muted: #aa9578;--paper: #fffdf4;--border: #e1d2b7;--green: #895e34}*{box-sizing:border-box}body{margin:0;min-height:100svh;padding:0 env(safe-area-inset-right) 0 env(safe-area-inset-left);background-image:linear-gradient(#f8f5eddd,#f8f5eddd),var(--wood);background-size:auto,760px;-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer;touch-action:manipulation;transition:transform .15s,filter .15s}button:disabled{cursor:default;opacity:.35}button:not(:disabled):active{transform:translateY(2px)}button:focus-visible,input:focus-visible{outline:3px solid #bb893c;outline-offset:5px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}.toy-header{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:28px 5%;gap:20px}.brand{display:flex;align-items:center;gap:13px;text-align:left;padding:0}.brand-mark{font-size:36px;color:#b18b56;line-height:1}.brand>span:last-child{font-family:STKaiti,KaiTi,PingFang SC,sans-serif;font-size:29px;font-weight:700;letter-spacing:3px}.brand small{font-family:PingFang SC,sans-serif;display:block;font-size:10px;letter-spacing:2px;color:#b2a086;font-weight:400;margin-top:6px}.toy-header nav{display:flex;align-items:center;gap:14px}.round-tool{min-width:48px;min-height:48px;border-radius:50%;display:inline-grid;place-items:center;font-size:22px;border:1px solid #d9c8aa;background:#faf6eccc;box-shadow:0 2px #d6c5a766}.round-tool:hover{background:#fffaf0}.parent-tool{font-size:19px;opacity:.65}.toy-home{max-width:1320px;margin:10px auto 20px;padding:20px 6%;display:grid;grid-template-columns:.8fr 1.2fr;gap:45px;align-items:center}.pencil-note{font-family:STKaiti,KaiTi,serif;font-size:16px;color:#aa8b66;letter-spacing:2px}.invitation h1{font-family:STKaiti,KaiTi,serif;font-size:58px;line-height:1.55;letter-spacing:4px;color:#684a2d;font-weight:700;margin:24px 0 20px}.invitation>p{font-size:15px;line-height:2;color:#ad987d;letter-spacing:1px}.play-tag{min-height:66px;padding:12px 25px;display:inline-flex;align-items:center;justify-content:center;gap:18px;font-size:24px;font-weight:600;color:#79512c;background-image:linear-gradient(#fff0cb77,#d4a96722),var(--wood);background-size:auto,360px;border:2px solid #c49b60;border-radius:13px;box-shadow:inset 0 2px #fff3d8,0 5px #a97b4666,0 9px 18px #79522b16}.play-tag:hover{filter:brightness(1.045)}.play-tag small{font-size:12px;font-weight:400;border-left:1px solid #b98e5788;padding-left:16px;color:#a07c52}.play-triangle{font-size:18px}.invitation>.play-tag{margin-top:32px;transform:rotate(-2deg)}.invitation>.play-tag:active{transform:rotate(-2deg) translateY(3px)}.home-footnote{display:block;font-size:11px;color:#baaa90;letter-spacing:1px;margin-top:23px}.toy-display{position:relative;min-height:590px}.desk-shadow{position:absolute;right:20px;top:80px;width:440px;height:400px;border-radius:50%;background:#86664417;filter:blur(30px);transform:rotate(9deg)}.wood-box{position:absolute;width:410px;height:410px;right:10px;top:50px;transform:rotate(8deg);border-radius:18px;background-image:linear-gradient(#fff0c955,#c18e4b11),var(--wood);background-size:auto,100% 100%;box-shadow:inset 0 3px 1px #ffefc9,inset -2px -5px 1px #b07c43,4px 12px 2px #b1875760,10px 23px 27px #56341727;border:1px solid #d7b585;padding:0}.wood-box:hover{transform:rotate(6deg) translateY(-5px)}.wood-box:active{transform:rotate(6deg) translateY(0)!important}.tray-interior{position:absolute;inset:24px 24px 35px;background:#c49b65;box-shadow:inset 0 4px 6px #57341566,inset 0 -1px #f9dab1;border-radius:5px;padding:4px}.home-tangram{width:100%;height:100%;filter:drop-shadow(0 2px 1px #48261544)}.finger-notch{position:absolute;width:10px;height:45px;background:#c39767;border-radius:12px;right:2px;top:43%;box-shadow:inset 2px 0 3px #86512855}.box-engraving{position:absolute;bottom:10px;left:0;right:0;font-size:9px;letter-spacing:4px;color:#ab804f;text-shadow:0 1px #fbe7c4}.book-object{position:absolute;width:190px;height:250px;left:0;bottom:15px;background:#f9f2e2;border:1px solid #d9c8aa;border-radius:3px 9px 9px 3px;box-shadow:1px 3px #e4d8bf,2px 5px #f8efda,3px 7px #d7c6a9,5px 17px 20px #694a2520;transform:rotate(-11deg);padding:25px 15px 20px 24px;display:flex;flex-direction:column;align-items:center}.book-object:hover{transform:rotate(-8deg) translateY(-4px)}.book-thread{position:absolute;left:13px;top:0;bottom:0;border-left:2px dashed #c4b08a80}.book-title{font-family:STKaiti,KaiTi,serif;font-size:19px;color:#8d714b;letter-spacing:2px}.book-cover-art{width:120px;height:115px;margin:15px 0 8px}.book-subtitle{font-size:10px;letter-spacing:3px;color:#b49d77}.book-corner{position:absolute;right:0;bottom:0;border:12px solid transparent;border-bottom-color:#e7d8b8;border-right-color:#e7d8b8}.collection-object{position:absolute;right:-10px;bottom:33px;padding:15px 20px;background:#fffaf0;border:1px solid #ddceb2;box-shadow:2px 6px 14px #6d4b2c14;transform:rotate(5deg);display:flex;align-items:center;gap:14px;border-radius:2px}.collection-object:hover{transform:rotate(2deg) translateY(-4px)}.pressed-star{font-size:43px;color:#bf975b;border:2px solid #c5a269;border-radius:50%;width:60px;height:60px;display:grid;place-items:center;opacity:.8}.collection-object>span:last-child{font-family:STKaiti,KaiTi,serif;font-size:20px;color:#8b7050}.collection-object small{display:block;font-family:PingFang SC,sans-serif;font-size:10px;color:#b29e81;margin-top:7px;letter-spacing:2px}.table-doodle{position:absolute;color:#c6af8b;font-size:27px;font-weight:300}.doodle-a{right:-7px;top:0}.doodle-b{left:26px;top:100px;font-size:20px}.desk-caption{max-width:1120px;margin:25px auto;padding:22px 0;border-top:1px solid #d9cbb255;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#b3a187;font-size:11px;letter-spacing:2px}.desk-caption button{font-size:11px;color:#aa906e}footer{max-width:1320px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:20px 5%;font-size:10px;color:#b9a78c;letter-spacing:1px}footer button{font-size:10px;color:#a78d69}.book-page{position:relative;max-width:1120px;margin:30px auto 50px;padding:36px 45px 35px 65px;background:#fffdf3;box-shadow:0 5px #e0d5bf,1px 9px #fbf2dd,0 17px 25px #74533218;border:1px solid #e0d1b5;border-radius:4px 13px 13px 4px}.book-page-top{display:flex;align-items:center;gap:20px;margin-bottom:40px}.paper-back{min-width:54px;min-height:54px;font-size:38px;line-height:1;display:grid;place-items:center;border:1px solid #deceb0;background:#fffaf0;border-radius:12px;box-shadow:0 3px #dac8a744}.book-page h1{font-family:STKaiti,KaiTi,serif;font-size:35px;color:#725332;letter-spacing:3px;margin-top:7px}.book-page .pencil-note{font-size:12px}.book-tab{margin-left:auto;min-height:48px;padding:10px 17px;background:#eadfc7;border-radius:3px 12px 12px 3px;color:#9c7a4f;font-size:13px}.paper-binding{position:absolute;left:15px;top:60px;bottom:40px;display:flex;flex-direction:column;justify-content:space-around;pointer-events:none}.paper-binding i{width:20px;height:20px;border:2px solid #a98a5e;border-radius:50%;box-shadow:0 2px 2px #79533022}.card-shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.puzzle-card{position:relative;min-height:226px;background:#fcf8ed;border:1px solid #e4d6bd;border-radius:2px;padding:21px 17px 18px;display:flex;align-items:center;flex-direction:column;box-shadow:0 4px 9px #6742200a;transform:rotate(-1deg)}.puzzle-card:nth-child(2n){transform:rotate(1.5deg)}.puzzle-card:hover:not(:disabled){transform:translateY(-5px) rotate(0)}.card-number{font-size:12px;color:#c4b18e;align-self:flex-start;font-variant-numeric:tabular-nums}.card-art{width:130px;height:120px;color:#b9ad90;margin:7px 0 12px;filter:drop-shadow(0 2px 1px #a88a5920)}.card-name{font-family:STKaiti,KaiTi,serif;font-size:22px;color:#89704f}.card-note{font-size:10px;color:#bca789;margin-top:9px}.puzzle-card.locked{opacity:.44}.card-stamp{position:absolute;right:10px;bottom:14px;color:#ad8856;font-size:25px;border:1px solid #bc9a6b;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;transform:rotate(-12deg)}.collected{background:#fcf3dc}.book-pagination{display:block;text-align:center;font-size:10px;color:#c1ad8d;letter-spacing:3px;margin-top:30px}.game-page{max-width:1250px;margin:auto;padding:0 3% 20px}.play-top{display:flex;align-items:center;gap:18px;min-height:77px;margin-bottom:8px}.lesson-title>span{font-size:11px;color:#b5a183;letter-spacing:2px}.lesson-title h1{font-family:STKaiti,KaiTi,serif;font-size:28px;letter-spacing:3px;color:#7a5c37;margin-top:5px}.little-mission{display:flex;align-items:center;gap:10px;font-size:16px;color:#a18a66;margin-left:30px}.little-mission>span{font-size:24px}.play-utilities{display:flex;align-items:center;gap:15px;margin-left:auto}#clock{display:none;font-size:14px;color:#c0aa89}.workbench{position:relative}.paper-page-number{position:absolute;left:31%;bottom:5%;color:#b8a37c;font-size:10px;letter-spacing:3px;pointer-events:none}.page-turn-mark{position:absolute;left:59%;bottom:6%;border:12px solid transparent;border-right-color:#e3d5b955;border-bottom-color:#e3d5b955;pointer-events:none}#canvas-slot{position:relative;width:100%;aspect-ratio:1100/700;max-height:calc(100svh - 305px);min-height:310px}#board-stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}#canvas-slot canvas{display:block;flex-shrink:0;max-width:100%;max-height:100%;margin:0!important;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#pause-cover{position:absolute;inset:0;background:#f7f0dfe8;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px;font-family:STKaiti,KaiTi,serif;font-size:30px;color:#9e8156}.tools{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1100px;margin:4px auto 0;padding:0 25px}.selection-tools,.other-tools{display:flex;align-items:center;gap:12px}.selection-tools>span{font-size:12px;color:#b29a76;margin-right:20px;min-width:150px}.wood-tool,.paper-tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:68px;min-height:66px;padding:7px 13px;border:1px solid #cfab74;border-radius:12px;background-image:linear-gradient(#fff3d866,#c3904922),var(--wood);background-size:auto,240px;box-shadow:inset 0 2px #fff2d3,0 4px #a97b4938}.wood-tool b,.paper-tool b{font-size:30px;font-weight:500;color:#8c6234;line-height:1}.wood-tool span,.paper-tool span{font-size:12px;color:#9c784b}.paper-tool{background:#fff9e8;border-color:#d6c6a5;box-shadow:0 4px #d8c8a644;transform:rotate(2deg)}.paper-tool b{color:#ba934b}.wood-tool:hover,.paper-tool:hover{filter:brightness(1.05)}.piece-select{display:none}#game-note{font-size:11px;color:#baa686;text-align:center;letter-spacing:1px;min-height:20px;margin:15px 0 0}.modal-backdrop{position:fixed;inset:0;background:#4b321d66;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:20;display:grid;place-items:center;padding:22px}.modal{position:relative;width:100%;max-width:520px;max-height:93svh;overflow:auto;padding:35px;background:#fffcf1;border:1px solid #e0ccb0;border-radius:4px 15px 15px 4px;box-shadow:2px 5px #e1d2b5,4px 9px #f8ecd2,0 20px 60px #4b2d2140;text-align:center;animation:paper-in .35s ease both}.modal-close{position:absolute;right:15px;top:15px;min-width:44px;min-height:44px;background:#faf2df;font-size:22px;box-shadow:none;z-index:1}.modal h2{font-family:STKaiti,KaiTi,serif;font-size:27px;color:#8b6b42;margin:5px 22px 20px;letter-spacing:2px}.modal-body{font-size:15px;line-height:1.9;color:#b09a7b}.modal-actions{display:flex;gap:14px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:23px}.modal-actions>.play-tag{width:100%;font-size:24px}.secondary{border:1px solid #ddccab;background:#fcf7e9;min-height:48px;padding:10px 17px;border-radius:9px;font-size:13px;color:#a08256}.finished-card{position:relative;padding:12px 15px 20px;background:#fffdf6;border:1px solid #e7dac0;transform:rotate(-1.5deg)}.finished-card .pencil-note{font-size:12px}.win-puzzle{display:block;width:180px;height:155px;margin:20px auto 15px;filter:drop-shadow(0 3px 2px #6f47222c)}.finished-card h3{font-family:STKaiti,KaiTi,serif;font-size:26px;font-weight:500;color:#8a6b43;letter-spacing:3px}.finished-card>p{font-size:11px;color:#c0a785;margin-top:10px}.reward-motion{position:absolute;width:125px;height:105px;right:0;bottom:-10px;transform:rotate(-15deg);pointer-events:none}.help-steps{text-align:left}.help-steps p{margin-bottom:20px}.help-steps b{display:block;font-size:21px;font-weight:500;color:#907246}.help-steps{font-size:16px}.parent-options{display:flex;flex-direction:column;gap:13px;margin-top:20px}.share-input{width:100%;padding:12px;border:1px solid #dac7a4;background:#fffdf7;color:#9c7c51;border-radius:8px;font-size:12px}.result-stats{font-size:13px;color:#aa8e66}.result-stats>div{display:flex;flex-direction:column;gap:5px}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%);z-index:30;padding:16px 24px;background:#91734e;color:#fff7e5;border-radius:12px;max-width:90vw;opacity:0;pointer-events:none;font-size:14px;transition:opacity .2s}#toast.visible{opacity:1}body[data-screen=game] .toy-header{padding-top:16px;padding-bottom:8px}body[data-screen=game] .brand>span:last-child{font-size:23px}body[data-screen=game] .brand small{display:none}body[data-screen=game] footer{display:none}@keyframes paper-in{0%{opacity:0;transform:translateY(16px) rotate(-2deg)}to{opacity:1;transform:translateY(0) rotate(0)}}@media(min-width:701px)and (max-width:1250px)and (orientation:landscape){.toy-header{padding:18px 4%}.toy-home{gap:20px;padding-left:5%;padding-right:4%;margin-top:0}.invitation h1{font-size:48px}.toy-display{min-height:490px}.wood-box{width:355px;height:355px;right:0;top:30px}.book-object{width:165px;height:220px;left:-10px;bottom:0}.book-cover-art{width:110px;height:100px}.book-title{font-size:16px}.collection-object{right:-2px;bottom:10px;padding:12px 16px}.collection-object>span:last-child{font-size:17px}.pressed-star{font-size:31px;width:47px;height:47px}.desk-caption{margin:20px 5%}.game-page{padding:0 2% 12px}.play-top{min-height:65px;margin-bottom:0;gap:14px}.lesson-title h1{font-size:25px}.little-mission{font-size:16px;margin-left:15px}.selection-tools>span{min-width:100px;margin-right:10px}#canvas-slot{max-height:calc(100svh - 240px);min-height:270px}.tools{margin-top:0;padding:0 15px}.wood-tool,.paper-tool{min-width:70px;min-height:68px}.toy-header .brand small{font-size:9px;letter-spacing:1px}body[data-screen=game] .toy-header{padding-top:8px;padding-bottom:5px}body[data-screen=game] #game-note{display:none}.book-page{margin:25px 4% 45px;padding:30px 30px 30px 50px}.card-shelf{gap:17px}.card-art{width:110px;height:105px}.puzzle-card{min-height:215px}}@media(min-width:701px)and (max-width:1100px)and (orientation:portrait){.toy-header{padding:25px 5%}.toy-home{grid-template-columns:1fr;gap:0;margin-top:0;padding:0 8%}.invitation{text-align:center}.invitation h1{font-size:43px;line-height:1.4;margin:12px 0}.invitation h1 br{display:none}.invitation>p{display:none}.invitation>.play-tag{margin-top:15px}.home-footnote{margin-top:18px;font-size:11px}.toy-display{min-height:465px;max-width:550px;width:100%;margin:auto}.wood-box{width:350px;height:350px;right:45px;top:35px}.book-object{left:0;bottom:15px;width:165px;height:210px}.book-cover-art{height:95px;width:105px}.book-title{font-size:17px}.collection-object{right:5px;bottom:12px}.desk-caption{margin:5px 6% 20px;letter-spacing:1px}.game-page{padding:15px 2% 25px}.play-top{gap:15px;flex-wrap:wrap;min-height:80px}.little-mission{margin-left:5px;font-size:15px}.lesson-title h1{font-size:27px}#canvas-slot{max-height:none;min-height:0}.tools{padding:10px 12px 0}.selection-tools>span{display:none}.wood-tool,.paper-tool{min-width:76px;min-height:78px;border-radius:14px}.wood-tool span,.paper-tool span{font-size:14px}.book-page{margin:25px 4% 45px;padding:30px 24px 30px 48px}.card-shelf{grid-template-columns:repeat(3,1fr);gap:18px}.book-page h1{font-size:29px}.puzzle-card{min-height:200px;padding:17px 12px}.card-art{width:105px;height:100px}.book-page .pencil-note{font-size:10px}.book-page-top{gap:15px}.book-tab{font-size:11px;padding:10px 12px}}@media(max-width:700px){.toy-header{padding:20px 5%;gap:12px}.brand-mark{font-size:29px}.brand>span:last-child{font-size:23px;letter-spacing:2px}.brand small{font-size:8px;letter-spacing:1px}.toy-header nav{gap:9px}.round-tool{min-width:42px;min-height:44px;font-size:20px}.parent-tool{font-size:17px}.toy-home{display:flex;flex-direction:column;padding:5px 7%;gap:0;margin:0}.invitation{text-align:center}.pencil-note{font-size:14px}.invitation h1{font-size:38px;margin:13px 0;line-height:1.5;letter-spacing:2px}.invitation h1 br{display:none}.invitation>p{font-size:13px;line-height:1.8}.invitation>.play-tag{margin-top:22px}.play-tag{min-height:65px;font-size:23px;padding:12px 22px}.play-tag small{font-size:11px}.home-footnote{font-size:10px;margin-top:18px;letter-spacing:0}.toy-display{width:100%;min-height:410px;max-width:390px}.wood-box{width:285px;height:285px;right:5px;top:35px;border-radius:13px}.tray-interior{inset:18px 18px 28px}.box-engraving{font-size:7px;bottom:8px}.book-object{width:135px;height:177px;left:-5px;bottom:25px;padding:19px 10px 12px 18px}.book-thread{left:8px}.book-title{font-size:14px;letter-spacing:1px}.book-cover-art{width:88px;height:82px;margin:10px 0 6px}.book-subtitle{font-size:8px;letter-spacing:1px}.collection-object{right:0;bottom:20px;padding:10px 14px;gap:9px}.collection-object>span:last-child{font-size:16px}.collection-object small{font-size:8px;letter-spacing:1px}.pressed-star{font-size:27px;width:42px;height:42px}.doodle-a{top:10px;right:0}.doodle-b{left:0;top:65px}.desk-caption{margin:10px 6% 15px;flex-direction:column;gap:15px;padding:16px 0;font-size:10px;letter-spacing:1px}.desk-caption button{font-size:10px}footer{font-size:9px;padding:18px 5%;gap:10px;letter-spacing:0}.book-page{margin:10px 4% 35px;padding:25px 16px 25px 32px}.book-page-top{gap:11px;align-items:center;margin-bottom:25px}.paper-back{min-width:44px;min-height:48px;font-size:32px;border-radius:10px}.book-page h1{font-size:27px;letter-spacing:1px;margin-top:2px}.book-page .pencil-note{display:none}.book-tab{font-size:10px;padding:8px;min-height:44px}.paper-binding{left:7px;top:80px}.paper-binding i{width:14px;height:14px}.card-shelf{grid-template-columns:repeat(2,1fr);gap:16px}.puzzle-card{min-height:190px;padding:16px 12px 15px}.card-art{width:105px;height:100px}.card-name{font-size:20px}.card-note{font-size:9px}.card-stamp{font-size:21px;width:29px;height:29px;right:6px;bottom:9px}.card-number{font-size:10px}.game-page{padding:8px 1% 20px}.play-top{gap:10px;padding:0 3%;min-height:66px;flex-wrap:wrap;margin:0}.lesson-title h1{font-size:25px}.lesson-title>span{font-size:9px}.little-mission{order:4;width:100%;font-size:14px;margin:6px 0 0;padding:0 3%}.little-mission>span{font-size:19px}.play-utilities .round-tool{min-height:45px}.workbench{margin-top:0}#canvas-slot{max-height:none;min-height:0}.paper-page-number{font-size:8px;letter-spacing:1px}.page-turn-mark{border-width:8px}.tools{margin:6px 0 0;padding:0 4%;gap:10px}.selection-tools,.other-tools{gap:7px}.selection-tools>span{display:none}.wood-tool,.paper-tool{min-width:54px;min-height:64px;padding:7px;border-radius:11px}.wood-tool b,.paper-tool b{font-size:28px}.wood-tool span,.paper-tool span{font-size:11px}#game-note{font-size:11px;line-height:1.7;margin:20px 20px 0;letter-spacing:0}.modal{padding:35px 20px 25px;border-radius:4px 12px 12px 4px}.modal h2{font-size:25px;margin:5px 20px 23px}.modal-close{min-width:40px;min-height:40px;top:10px;right:10px;font-size:21px}.modal-body{font-size:14px}.finished-card{padding:10px 10px 23px}.win-puzzle{width:160px;height:140px;margin-top:18px}.finished-card h3{font-size:24px}.reward-motion{width:100px;height:90px;right:-5px}.modal-actions>.play-tag{font-size:23px}.secondary{font-size:12px;min-height:48px}.help-steps{font-size:14px}.help-steps b{font-size:20px}body[data-screen=game] .toy-header{padding:14px 5% 6px}body[data-screen=game] .brand>span:last-child{font-size:21px}}@media(max-width:390px){.brand small{display:none}.brand>span:last-child{font-size:22px}.toy-header nav{gap:6px}.round-tool{min-width:39px;min-height:42px}.wood-tool,.paper-tool{min-width:50px}.selection-tools,.other-tools{gap:5px}.play-tag{gap:12px}.card-art{width:90px;height:90px}.book-page h1{font-size:24px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.page-transition{position:fixed;inset:0;z-index:35;background:#f2e7d544;display:grid;place-items:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.page-transition canvas{width:350px;height:250px;filter:drop-shadow(4px 10px 15px #5d3a2728)}body[data-lesson="8"][data-mode=relax] [data-action=left]{animation:wood-turn 1s ease-in-out 3;box-shadow:0 0 0 4px #f0d8a277,inset 0 2px #fff2d3,0 4px #a97b4938}@keyframes wood-turn{50%{transform:rotate(-7deg)}}:root{--ink: #51381f;--muted: #775c3c;font-size:18px;color:var(--ink)}body{-webkit-text-size-adjust:100%;overscroll-behavior-y:none}button{font-weight:600}.brand small,.box-engraving,.home-footnote,.desk-caption>span,.table-doodle{display:none}.toy-header{padding:18px 4%}.toy-header nav{gap:12px}.toy-header .round-tool{min-width:52px;min-height:52px;font-size:26px}.toy-header .parent-tool{opacity:1}.brand>span:last-child{font-size:28px;letter-spacing:1px}.pencil-note,.invitation>p,.play-tag small,.book-subtitle,.collection-object small,.desk-caption button,.book-page .pencil-note,.book-tab,.card-number,.card-note,.book-pagination{font-size:18px;color:var(--muted);letter-spacing:0}.invitation h1{margin:16px 0}.invitation>p{line-height:1.8}.book-object{width:210px;height:265px}.book-title{font-size:23px;letter-spacing:0}.book-subtitle{font-size:18px}.collection-object>span:last-child{font-size:24px}.collection-object small{line-height:1.4}.desk-caption{margin:10px auto 24px;padding:0 4%;border:0;justify-content:center}.desk-caption button{min-height:52px;padding:12px 18px;border:1px solid #d5bd95;border-radius:16px;background:#fff9eb}body:not([data-screen=game]){padding-bottom:calc(104px + env(safe-area-inset-bottom))}.app-tabs{position:fixed;z-index:10;bottom:0;left:0;right:0;max-width:none;margin:0;padding:10px max(16px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#fff9ecf5;border-top:1px solid #d8c3a1;box-shadow:0 -4px 24px #6844240d;justify-content:center;gap:clamp(12px,6vw,80px);letter-spacing:0}.app-tabs button{display:grid;justify-items:center;align-content:center;gap:4px;min-width:88px;min-height:66px;padding:4px 18px;border-radius:18px;color:var(--muted);font-size:18px}.app-tabs b{font-size:28px;line-height:1;font-weight:500}.app-tabs [aria-current=page]{color:#593a1e;background:#ecd6af}.book-page{margin-bottom:30px}.book-tab{min-height:54px;color:#694827}.puzzle-card{min-height:250px;padding:18px}.card-name{font-size:26px;color:#5b4024}.card-note{margin-top:10px;line-height:1.5}.card-number{color:#775c3c}.puzzle-card.locked{opacity:1;background:#f0eadd;border-style:dashed}.puzzle-card.locked .card-art{opacity:.5}.card-stamp{top:12px;bottom:auto}body[data-screen=game] .toy-header{display:none}body[data-screen=game]{min-height:0;height:var(--app-height, 100dvh);overflow:hidden}body[data-screen=game] #app{height:100%}.game-page{height:100%;max-width:1400px;padding:max(10px,env(safe-area-inset-top)) 18px max(10px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px}.play-top{flex:0 0 auto;display:grid;grid-template-columns:56px auto 1fr auto;grid-template-rows:auto;min-height:72px;padding:0 4px;margin:0;gap:16px}.paper-back{min-width:52px;min-height:54px;font-size:38px}.lesson-title>span{font-size:18px;color:var(--muted);letter-spacing:0}.lesson-title h1{font-size:30px;letter-spacing:1px;margin-top:2px;color:#50381e}.little-mission{order:initial;display:flex;width:auto;margin:0;padding:0 12px;gap:10px;font-size:22px;line-height:1.45;color:#654923}.little-mission>span{font-size:inherit}.little-mission>span:first-child{font-size:30px}.play-utilities{gap:12px}.play-utilities .round-tool{min-width:52px;min-height:54px;font-size:27px}.workbench{flex:1 1 0;min-height:0;display:flex;align-items:center;justify-content:center;margin:0}#canvas-slot{height:100%;width:100%;min-height:0;max-height:none;aspect-ratio:auto}.tools{flex:0 0 auto;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;max-width:none;width:100%;margin:0;padding:12px 16px;background:#fff8e8ee;border:1px solid #d8bd93;border-radius:24px;box-shadow:0 4px #d8c4a37a}.selection-tools,.other-tools{display:contents}.selection-tools>span{display:none}.wood-tool,.paper-tool{flex:0 1 100px;min-width:76px;min-height:78px;border-radius:16px;padding:8px;gap:6px;transform:none}.wood-tool b,.paper-tool b{font-size:34px;color:#69451e}.wood-tool span,.paper-tool span{font-size:20px;color:#593a1e;white-space:nowrap;line-height:1.25}#game-note{display:none}#pause-cover{font-size:28px;padding:24px;text-align:center;color:#654923}.modal-backdrop{padding:16px;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom))}.modal{border-radius:24px;max-height:calc(var(--app-height, 100dvh) - 32px);padding:32px 24px 26px}.modal h2{font-size:30px;color:#593d20;margin:8px 26px 20px;letter-spacing:0}.modal-close{min-width:48px;min-height:48px;border-radius:50%;color:#654923}.modal-body,.help-steps,.secondary,.share-input,.result-stats,.finished-card>p,.finished-card .pencil-note{font-size:20px;line-height:1.65;color:#705332}.help-steps b{font-size:24px;color:#593d20}.secondary{min-height:56px;border-radius:14px}.share-input{font-size:18px}.parent-options{gap:10px}.finished-card h3{color:#593d20;font-size:28px}#toast{font-size:20px;bottom:calc(118px + env(safe-area-inset-bottom))}@media(max-width:900px)and (orientation:portrait){.game-page{padding-left:8px;padding-right:8px;gap:4px}.play-top{grid-template-columns:52px 1fr auto;grid-template-rows:auto auto;gap:6px 12px;min-height:100px;padding:0 8px}.lesson-title h1{font-size:28px}.little-mission{grid-column:1 / -1;grid-row:2;justify-content:center;font-size:20px;padding:2px 0}.little-mission>span:first-child{font-size:25px}.play-utilities{grid-column:3;grid-row:1;gap:10px}.tools{padding:10px;gap:8px;border-radius:22px}.wood-tool,.paper-tool{flex:1 1 0;min-width:64px;min-height:78px}.wood-tool span,.paper-tool span{font-size:19px}}@media(max-width:600px){.toy-header{padding:max(14px,env(safe-area-inset-top)) 16px 14px;gap:8px}.brand{gap:6px}.brand-mark{font-size:26px}.brand>span:last-child{font-size:24px;letter-spacing:0}.toy-header nav{gap:6px}.toy-header .round-tool{min-width:46px;min-height:48px;font-size:25px}.toy-header nav [data-action=levels]{display:none}.toy-home{padding:10px 20px 0}.invitation .pencil-note{font-size:20px}.invitation h1{font-size:36px;line-height:1.3}.invitation>p{display:none}.invitation>.play-tag{margin-top:8px;transform:none}.play-tag{font-size:25px;min-height:66px;gap:12px;padding:12px 18px}.play-tag small{font-size:18px;padding-left:10px}.toy-display{min-height:460px;max-width:370px}.wood-box{width:260px;height:260px;right:12px;top:28px}.book-object{width:160px;height:210px;padding:18px 10px 12px 20px;left:0;bottom:25px}.book-title{font-size:20px;letter-spacing:0}.book-cover-art{width:100px;height:100px;margin:10px 0}.book-subtitle{font-size:18px}.collection-object{right:0;bottom:20px;padding:12px;gap:8px;flex-direction:column}.collection-object>span:last-child{font-size:22px}.collection-object small{font-size:18px}.pressed-star{width:42px;height:42px;font-size:30px}.desk-caption{margin:6px 16px 24px;padding:0}.desk-caption button{font-size:18px}.app-tabs{padding-left:10px;padding-right:10px;gap:6px}.app-tabs button{flex:1;min-width:0;padding:4px 6px;font-size:18px}.book-page{margin:6px 10px 26px;padding:22px 14px;border-radius:20px}.paper-binding{display:none}.book-page-top{gap:10px;flex-wrap:wrap;margin-bottom:24px}.book-page h1{font-size:28px;margin:0}.book-page .pencil-note{display:none}.book-tab{font-size:18px;width:100%;min-height:50px;border-radius:12px}.puzzle-card{padding:14px 8px;min-height:230px;transform:none}.puzzle-card:nth-child(2n){transform:none}.card-shelf{gap:12px}.card-art{width:110px;height:100px}.card-name{font-size:23px}.card-note,.card-number{font-size:18px}.book-pagination{font-size:18px;letter-spacing:0}.play-top{grid-template-columns:48px 1fr auto;gap:6px 8px;padding:0 4px}.paper-back{min-width:48px;min-height:50px}.lesson-title>span{font-size:18px}.lesson-title h1{font-size:26px}.play-utilities{gap:6px}.play-utilities .round-tool{min-width:46px;min-height:50px}.tools{gap:8px;padding:10px}.wood-tool,.paper-tool{min-width:calc((100% - 16px) / 3);flex-basis:calc((100% - 16px) / 3);min-height:64px;flex-direction:row;gap:6px;padding:8px 4px;border-radius:14px}.wood-tool b,.paper-tool b{font-size:28px}.wood-tool span,.paper-tool span{font-size:18px}.little-mission{font-size:18px;line-height:1.4}.modal{padding:32px 20px 24px}.modal h2{font-size:27px}}:root[data-compact-height=true] .game-page{padding:6px max(8px,env(safe-area-inset-right)) 6px max(8px,env(safe-area-inset-left));display:grid;grid-template-columns:1fr 178px;grid-template-rows:58px minmax(0,1fr);gap:4px}:root[data-compact-height=true] .play-top{grid-column:1 / -1;min-height:0;grid-template-columns:48px auto 1fr auto;gap:10px}:root[data-compact-height=true] .lesson-title{display:flex;gap:10px;align-items:center}:root[data-compact-height=true] .lesson-title h1{font-size:24px}:root[data-compact-height=true] .little-mission{font-size:18px;padding:0}:root[data-compact-height=true] .paper-back,:root[data-compact-height=true] .play-utilities .round-tool{min-width:46px;min-height:46px}:root[data-compact-height=true] .workbench{grid-column:1;grid-row:2;height:100%}:root[data-compact-height=true] .tools{grid-column:2;grid-row:2;height:100%;padding:8px;gap:8px;align-content:center;border-radius:18px}:root[data-compact-height=true] .wood-tool,:root[data-compact-height=true] .paper-tool{flex:1 1 65px;min-width:65px;min-height:64px;padding:6px 2px;flex-direction:column}:root[data-compact-height=true] .wood-tool b,:root[data-compact-height=true] .paper-tool b{font-size:28px}:root[data-compact-height=true] .wood-tool span,:root[data-compact-height=true] .paper-tool span{font-size:18px}.brand{min-height:52px}button:disabled{opacity:1}.wood-tool:disabled{filter:saturate(.45);box-shadow:inset 0 1px #fff4df}.wood-tool:disabled span,.wood-tool:disabled b{color:#7d6b53}#canvas-slot{flex:0 0 auto}#canvas-slot canvas{max-width:none;max-height:none}.modal-backdrop{bottom:auto;height:var(--app-height, 100dvh)}.game-page,.workbench,.little-mission{min-width:0}:root[data-compact-height=true] .game-page{grid-template-columns:minmax(0,1fr) 178px}:root[data-compact-height=true] .play-top{grid-template-columns:48px auto minmax(0,1fr) auto}
