@font-face{font-family:Fredoka;src:url('assets/fredoka.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Nunito;src:url('assets/nunito-semibold.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Nunito;src:url('assets/nunito.ttf') format('truetype');font-weight:800;font-display:swap}
:root{--paper:#fbf6e9;--ink:#244f3e;--forest:#255d43;--forest-dark:#1d4935;--muted:#5e6c4e;--mint:#bddcb7;--square:#f0f3d4;--gold:#f7c75e;--lilac:#a78ace;--line:#dce2ce;--white:#fffdf5;--accent:#47734e;--island:#eaf3c8;--display:Fredoka,'Trebuchet MS',sans-serif;--body:Nunito,'Trebuchet MS',sans-serif;color-scheme:light;scrollbar-color:#91ad81 var(--paper)}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:600 16px/1.5 var(--body);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;touch-action:manipulation}button{transition:background .16s,transform .16s,box-shadow .16s}button:active:not(:disabled){transform:translateY(2px)}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b6752d;outline-offset:4px}::selection{background:#ffdd87;color:var(--forest-dark)}svg{display:block;width:1.25em;height:1.25em}button svg{flex-shrink:0}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--display);font-weight:600;text-wrap:balance}h1{font-size:clamp(30px,3.7vw,46px);line-height:1.12;letter-spacing:-.025em}h2{font-size:28px;line-height:1.2;letter-spacing:-.015em}h3{font-size:21px;line-height:1.25}.muted{color:var(--muted)}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:var(--forest);color:white;padding:12px}.skip-link:focus{top:12px}input,select{accent-color:var(--forest);caret-color:var(--forest)}
.app-header{max-width:1250px;margin:auto;padding:0 32px;height:86px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line)}.brand{border:0;background:none;display:flex;gap:9px;align-items:center;padding:0;flex-shrink:0}.brand-symbol{background:var(--forest);width:43px;height:46px;display:grid;place-items:center;border-radius:14px;transform:rotate(-4deg)}.brand-symbol svg{width:33px;height:38px}.brand-word{font:600 25px/1 var(--display);letter-spacing:-.035em}.brand-word span{color:#5c7745}.header-nav{display:flex;align-items:center;gap:3px}.nav-button{border:0;background:none;display:flex;gap:7px;align-items:center;padding:11px 13px;border-radius:12px;font-size:13px;white-space:nowrap;min-height:44px}.nav-button svg{width:18px;height:18px}.nav-button.active{background:#e8edd8;color:var(--forest)}.nav-button:hover{background:#eef0e1}.header-tools{display:flex;gap:8px;align-items:center}.circle-button{width:43px;height:43px;border-radius:50%;border:1.5px solid #d9dfca;background:transparent;display:grid;place-items:center}.circle-button:hover{background:#e8edd8}.circle-button svg{width:19px;height:19px}.circle-button.off{background:#eeeadf;color:#7d806c}.profile-button{display:flex;align-items:center;gap:7px;border:0;background:none;padding:0 4px;min-height:44px}.avatar-mini{width:38px;height:40px;display:block}.avatar-mini svg{width:100%;height:100%}.profile-button strong{font-size:12px;max-width:98px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bottom-nav{display:none}#main{max-width:1190px;padding:28px 32px 0;margin:auto;min-height:calc(100svh - 170px)}.boot-message{padding:70px 25px;text-align:center}.boot-message p{margin-top:20px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 25px}.page-intro h1 em{font-style:normal;color:#7b9563}.page-intro p{margin-top:9px;color:var(--muted);font-size:15px}.garden-count{display:flex;align-items:center;gap:11px;flex-shrink:0}.garden-count>.flower-art{width:48px;height:57px;transform:rotate(-8deg)}.garden-count strong{display:block;font:600 25px/1.1 var(--display)}.garden-count span{display:block;font-size:11px;color:var(--muted);margin-top:3px}.world-nav{display:flex;align-items:stretch;gap:8px;margin-bottom:18px;overflow-x:auto;padding:3px 2px 8px;scrollbar-width:thin}.world-tab{min-width:125px;flex:1;min-height:66px;border:1px solid transparent;background:transparent;border-radius:13px;display:flex;align-items:center;gap:8px;padding:9px 10px;text-align:left}.world-tab.active{background:var(--island);border-color:var(--accent)}.world-tab:hover{background:#edf0df}.world-tab .world-icon{width:28px;height:31px;flex:none;display:grid;place-items:center;color:var(--accent)}.world-tab svg{width:24px;height:24px}.world-tab strong{font-size:12px;line-height:1.25;display:block;max-width:10ch}.world-tab small{font-size:10px;color:var(--muted);display:block;margin-top:3px}.adventure-stage{background:var(--island);display:grid;grid-template-columns:285px 1fr;border-radius:28px;position:relative;min-height:370px;box-shadow:0 8px 18px #47734e0d,0 16px 28px #37563d0a;overflow:hidden}.island-intro{padding:28px 0 26px 32px;position:relative;z-index:2}.island-intro h2{font-size:33px;max-width:11ch;color:var(--accent)}.island-intro>p{font-size:13px;line-height:1.55;max-width:28ch;margin-top:10px;color:#536647}.island-buddy{width:92px;height:100px;margin:18px 0 11px;transform:rotate(-5deg)}.island-buddy svg{width:100%;height:100%}.current-puzzle-name{font-size:12px;margin-bottom:9px;display:block;color:#4b633f}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:13px;min-height:46px;padding:12px 18px;font-size:14px;font-weight:800;text-decoration:none;white-space:normal}.button svg{width:19px;height:19px}.button.primary{background:var(--forest);color:#fff7dc;box-shadow:0 4px 8px #234f3b18}.button.primary:hover{background:#32784e}.button.gold{background:var(--gold);color:#684c1f}.button.secondary{border:1.5px solid #d4dcc3;background:transparent}.button.secondary:hover{background:#e8edda}.button.plain{background:transparent;padding-left:0;padding-right:0;color:#5b704f}.button.small{font-size:12px;min-height:42px;padding:10px 13px}.island-map{position:relative;min-height:370px;margin:15px 28px 19px 36px}.map-paths{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.map-paths path{stroke:#a6bd856e;stroke-width:3.6;fill:none;stroke-linecap:round;stroke-dasharray:1 7}.map-node{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:63px;height:63px;padding:5px;border:3px solid #e5eacb;background:#fcf9e9;border-radius:50%;display:grid;place-items:center;box-shadow:0 5px 7px #4d623318}.map-node:active:not(:disabled){transform:translate(-50%,calc(-50% + 2px))}.map-node:hover{background:#ffedb0;box-shadow:0 7px 10px #4d623321}.map-node .piece-svg{width:39px;height:43px}.map-node .flower-art{width:44px;height:53px}.map-node .node-number{position:absolute;bottom:-6px;right:-4px;font:800 10px/1 var(--body);background:#f9f5df;border:1px solid #dbe3c6;width:20px;height:20px;border-radius:50%;display:grid;place-items:center}.map-node.done{background:#d5e8bc;border-color:#c4dea5}.map-node.current{width:71px;height:71px;background:#ffe29a;border-color:#d0a142;box-shadow:0 5px 12px #96732325}.map-node.current:after{content:'';position:absolute;inset:-8px;border:2px dashed #aa7c36;border-radius:50%;pointer-events:none}.map-node .node-flag{position:absolute;right:-6px;top:-11px;width:24px;height:24px;color:#b18331;transform:rotate(10deg)}.map-node .node-flag svg{width:100%;height:100%}.map-leaf{position:absolute;color:#9fbb7e;pointer-events:none;opacity:.7;width:25px;height:25px}.map-leaf svg{width:100%;height:100%}.island-footer{display:flex;justify-content:space-between;align-items:center;margin:17px 2px 0;font-size:12px;color:#61734d;gap:15px}.island-footer>span{display:flex;align-items:center;gap:7px}.island-footer svg{width:16px;height:16px}.text-link{background:none;border:0;padding:8px 0;font-size:12px;color:#4b6a43;display:flex;align-items:center;gap:7px;min-height:38px}.text-link:hover{text-decoration:underline;text-underline-offset:4px}.home-extras{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-top:32px;padding-top:26px;border-top:1px solid var(--line)}.feature-line{display:grid;grid-template-columns:74px 1fr;gap:16px;align-items:center}.feature-line .feature-art{width:74px;height:77px;color:#a88749;display:grid;place-items:center}.feature-art svg{width:58px;height:58px}.feature-line h3{font-size:24px}.feature-line p{font-size:13px;color:var(--muted);margin-top:5px}.feature-line .text-link{font-weight:800;font-size:13px}.page-footer{margin:34px 0 0;border-top:1px solid var(--line);padding:16px 0 22px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#657354;gap:15px}.page-footer .text-link{font-size:11px}.inline-icons{display:flex;align-items:center;gap:6px}.inline-icons svg{width:14px;height:14px}
/* Playroom: playable previews carry the choices. */
.playroom-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.game-tile{border:0;border-radius:20px;display:grid;grid-template-columns:1fr 150px;align-items:center;gap:15px;text-align:left;min-height:200px;padding:28px;background:#e7edcd;overflow:hidden}.game-tile:hover{transform:translateY(-3px);box-shadow:0 10px 22px #354e3913}.game-tile h2{font-size:29px}.game-tile p{font-size:13px;line-height:1.55;color:#59684a;max-width:30ch;margin-top:8px}.game-tile .game-tag{display:inline-flex;align-items:center;gap:6px;font-size:11px;margin-top:16px;color:#536744}.game-tag svg{width:15px;height:15px}.game-tile.trail{background:#e5ddf3}.game-tile.detective{background:#ffe7bb}.game-tile.memory{background:#deede1}.game-tile.race{background:#d9eef0}.preview-cards{display:flex;align-items:center;justify-content:center;position:relative;height:130px}.preview-cards>span{width:72px;height:102px;background:#fff9e6;display:grid;place-items:center;border-radius:12px;box-shadow:0 5px 12px #47634520;position:absolute}.preview-cards>span:first-child{left:-5px;transform:rotate(-15deg)}.preview-cards>span:nth-child(2){left:38px;transform:rotate(3deg);background:#678e69;color:#e8eed5}.preview-cards>span:last-child{right:-5px;transform:rotate(15deg)}.preview-cards svg{width:48px;height:58px}.preview-cards>span:nth-child(2) svg{width:32px;height:32px}.preview-grid{display:grid;grid-template-columns:repeat(4,1fr);width:140px;height:140px;transform:rotate(7deg);border:7px solid #776599;border-radius:13px;overflow:hidden;box-shadow:0 6px 14px #5c4a7022}.preview-grid>span{background:#fff5d9;display:grid;place-items:center}.preview-grid>span.dark{background:#c6b7df}.preview-grid svg{width:28px;height:28px;color:#daa940}.preview-grid .piece-svg{height:31px}.preview-detective{display:flex;align-items:center;position:relative;gap:4px}.preview-detective>span{width:64px;height:94px}.preview-detective svg{width:100%;height:100%;color:#b58c3f}.preview-detective b{font:600 45px/1 var(--display);color:#967129;transform:rotate(-10deg)}.preview-detective>span:last-child{position:absolute;right:-10px;top:-26px;width:41px;height:45px;opacity:.8}.preview-race{position:relative;display:flex;align-items:end;height:130px}.preview-race>.piece-svg{width:68px;height:95px}.preview-race>.piece-svg:nth-child(2){transform:translateY(-20px)}.preview-race>span{position:absolute;right:0;top:-5px;color:#559499}.preview-race>span svg{width:36px;height:36px}.full-chess-invite{display:flex;align-items:center;justify-content:space-between;padding:23px 3px;border-top:1px solid var(--line);margin-top:27px;gap:20px}.full-chess-invite h2{font-size:26px}.full-chess-invite p{font-size:13px;color:var(--muted);margin-top:4px}.full-chess-invite>div:first-child{display:flex;align-items:center;gap:17px}.preview-chess{display:flex;gap:0;align-items:center}.preview-chess .piece-svg{width:45px;height:60px}.full-chess-invite .button{flex-shrink:0}
/* Focused puzzle surface. */
.game-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 22px}.game-heading h1{font-size:32px;line-height:1.18;flex:1;text-align:center}.game-heading .button{font-size:12px;min-width:108px}.game-heading .puzzle-position{min-width:108px;text-align:right;font-size:12px;color:var(--muted)}.puzzle-layout{display:grid;grid-template-columns:minmax(330px,min(55%,calc(100svh - 325px))) minmax(270px,370px);justify-content:center;gap:44px;align-items:start}.board-side{min-width:0}.board-topline{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:0 0 10px;min-height:22px;gap:12px}.board-topline>span{display:flex;align-items:center;gap:6px}.board-topline svg{width:16px;height:16px;color:#a37d32}.board-status{padding:4px 9px;border-radius:20px;background:#e8ecd7;font-size:11px;color:#527244;white-space:nowrap}.board-frame{background:var(--forest);padding:16px 16px 23px 25px;border-radius:21px;position:relative;box-shadow:0 7px 12px #1d49351f,0 15px 23px #294b351e;isolation:isolate}.chess-board{display:grid;grid-template-columns:repeat(8,1fr);aspect-ratio:1;border-radius:5px;overflow:hidden;position:relative;touch-action:none}.board-row{display:contents}.square{border:0;border-radius:0;aspect-ratio:1;padding:2px;display:grid;place-items:center;position:relative;background:var(--square);isolation:isolate;width:100%;cursor:pointer;transition:background .15s}.square.dark{background:var(--mint)}.square:hover{background:#e0e8b5}.square.dark:hover{background:#afd19f}.square.selected{background:#f9d273}.square.last:not(.selected){background:#d5dfa2}.square.last.dark:not(.selected){background:#acca8d}.square.checked{background:#edb9a8}.square:focus-visible{outline:3px solid #a3642f;outline-offset:-4px;z-index:4}.square .piece-svg{width:90%;height:90%;position:relative;z-index:3;filter:drop-shadow(0 3px 1px #2e383b24);transition:transform .2s}.square.selected .piece-svg{transform:translateY(-3px) scale(1.06);filter:drop-shadow(0 6px 2px #2e383b32)}.square .legal-dot{position:absolute;width:18%;height:18%;border-radius:50%;background:#567d47;z-index:1}.square.capture:after{content:'';position:absolute;inset:6%;border:3px dashed #51783e;border-radius:50%;z-index:4;pointer-events:none}.square.goal{background:#f6e5aa}.square .target-star{position:absolute;width:58%;height:58%;color:#eeb748;filter:drop-shadow(0 2px 1px #a9853229);z-index:2}.square.goal:has(.piece-svg) .target-star{width:28%;height:28%;top:1px;right:1px;z-index:4}.square .obstacle-mark{width:66%;height:66%;color:#87ac6e;opacity:.8}.square .obstacle-mark svg{width:100%;height:100%}.square.hint-square{box-shadow:inset 0 0 0 4px #d69730}.square.correct-square{box-shadow:inset 0 0 0 3px #6b9d51}.rank-labels{position:absolute;left:1px;top:16px;bottom:23px;width:23px;display:grid;grid-template-rows:repeat(8,1fr);text-align:center;font-size:11px;color:#d4e7c5}.rank-labels span{align-self:center}.file-labels{position:absolute;left:25px;right:16px;bottom:3px;display:grid;grid-template-columns:repeat(8,1fr);text-align:center;font-size:11px;color:#d4e7c5}.hint-path{position:absolute;left:25px;top:16px;width:calc(100% - 41px);height:calc(100% - 39px);z-index:6;pointer-events:none}.hint-path path{stroke:#9e681c;stroke-width:1.3;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:2 2}.hint-path circle{fill:#9e681c}.board-below{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#637350;margin:21px 0 13px;gap:10px}.board-below .remaining-stars{display:flex;align-items:center;gap:3px}.remaining-stars svg{width:18px;height:18px;color:#daa239}.remaining-stars .faded{opacity:.25}.board-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.board-actions .button{font-size:12px;min-height:44px;padding:10px 14px}.coach-side{padding-top:12px;max-width:370px;width:100%;justify-self:end}.coach-buddy-line{display:flex;align-items:center;gap:13px;margin:0 0 14px}.coach-buddy{width:94px;height:99px;flex-shrink:0;transform-origin:50% 80%}.coach-buddy svg{width:100%;height:100%}.coach-buddy-line strong{display:block;font:600 25px/1.2 var(--display);transform:rotate(-3deg)}.coach-buddy-line small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.coach-bubble{background:var(--white);border-radius:17px;padding:24px;position:relative;box-shadow:0 9px 23px #244f3e0c}.coach-bubble:before{content:'';position:absolute;width:20px;height:20px;top:-10px;left:37px;transform:rotate(45deg);background:var(--white)}.coach-message{font:600 23px/1.35 var(--display);text-wrap:pretty;min-height:88px}.coach-support{font-size:13px;color:#637151;margin-top:13px;line-height:1.6}.listen-button{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:#89612b;padding:9px 0;min-height:44px;font-size:12px;font-weight:800;margin-top:7px}.listen-button svg{width:19px;height:19px}.listen-button:hover{color:var(--forest)}.lesson-goal{display:flex;align-items:center;gap:10px;padding:20px 1px;border-bottom:1px dashed #d3ddc3}.goal-piece{width:44px;height:51px;flex:none}.goal-piece svg{width:100%;height:100%}.lesson-goal strong{font:600 17px/1.3 var(--display)}.lesson-goal p{font-size:12px;color:var(--muted);margin-top:4px}.coach-tip{padding:16px 2px;color:#64734f;font-size:12px;display:flex;align-items:start;gap:9px}.coach-tip svg{width:18px;height:18px;flex:none;color:#ae8c49}.completed-bloom{width:83px;height:98px;margin:0 auto 10px}.completed-bloom svg{width:100%;height:100%}.coach-bubble.complete{background:#fff8de}.coach-bubble.complete:before{background:#fff8de}.coach-bubble.complete .coach-message{text-align:center;font-size:28px;min-height:0}.coach-bubble.complete .coach-support{text-align:center}.coach-bubble.complete .button{width:100%;margin-top:18px}.coach-bubble.complete .listen-button{margin-left:auto;margin-right:auto}.family-role{display:flex;align-items:center;gap:8px;font-size:12px;padding:9px 12px;border-radius:12px;background:#e9e0f4;margin-bottom:14px;color:#725696}.family-role svg{width:17px;height:17px}.pass-curtain{position:absolute;inset:0;z-index:8;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px;background:#eef0d9f2;text-align:center;border-radius:20px}.pass-curtain h2{font-size:29px;margin-top:10px}.pass-curtain p{max-width:28ch;font-size:14px;margin:12px 0 19px;color:#687451}.pass-curtain .pass-art{width:70px;height:80px}.pass-art svg{width:100%;height:100%}.chess-options{display:flex;gap:10px;margin-top:22px}.chess-options label{font-size:11px;flex:1}.chess-options select{display:block;width:100%;padding:10px 8px;margin-top:5px;border:1px solid #d2dcc1;background:#fffbee;border-radius:10px;color:var(--ink);font-size:12px;min-height:42px}.captured-row{display:flex;align-items:center;min-height:27px;gap:2px;flex-wrap:wrap;margin-top:12px}.captured-row svg{height:28px;width:22px}.chess-setup{text-align:center;margin:18px 0 0;font-size:12px;color:var(--muted)}
/* Mini games and family rituals. */
.activity-intro{max-width:800px;margin:20px auto 35px;text-align:center}.activity-intro h1{font-size:44px}.activity-intro p{margin:16px auto 0;max-width:53ch;color:var(--muted);font-size:16px}.family-hero{background:#f4e4e4;border-radius:25px;display:grid;grid-template-columns:1fr 1fr;gap:45px;padding:42px;align-items:center}.family-hero h1{font-size:43px;max-width:13ch}.family-hero p{margin:15px 0 23px;max-width:40ch;color:#725f59;font-size:15px;line-height:1.7}.picnic-art{display:flex;align-items:center;justify-content:center;gap:25px;background:#f9eee0;border-radius:50%;aspect-ratio:1.25;position:relative}.picnic-art>.family-big{width:122px;height:134px;transform:rotate(-8deg)}.family-big svg{width:100%;height:100%}.picnic-art>.picnic-piece{width:79px;height:94px;transform:rotate(10deg)}.picnic-piece svg{width:100%;height:100%}.picnic-art>.picnic-heart{position:absolute;top:17%;right:32%;width:33px;height:33px;color:#d28b7b}.picnic-heart svg{width:100%;height:100%}.family-rules{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin:34px 0 0}.family-rules>div{display:flex;gap:13px;align-items:start}.family-rules svg{width:28px;height:28px;color:#ae8c4d;flex:none}.family-rules h3{font-size:20px}.family-rules p{font-size:13px;line-height:1.65;color:var(--muted);margin-top:6px}.session-finish{max-width:700px;margin:18px auto 0;text-align:center}.session-finish .finish-art{width:150px;height:160px;margin:0 auto 24px}.finish-art svg{width:100%;height:100%}.session-finish h1{font-size:42px}.session-finish p{max-width:45ch;margin:17px auto;color:var(--muted)}.finish-buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:11px;margin-top:24px}.five-flowers{display:flex;justify-content:center;gap:12px;margin:26px 0}.five-flowers svg{width:55px;height:65px}.mini-game-top{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;gap:14px}.mini-game-top h1{font-size:31px}.mini-game-top>.button{font-size:12px}.activity-coach{display:flex;align-items:center;gap:14px;max-width:730px;margin:0 auto 25px}.activity-coach .tiny-pip{width:58px;height:65px;flex-shrink:0}.tiny-pip svg{width:100%;height:100%}.activity-coach p{font-size:16px;color:#61724e;flex:1}.activity-coach .circle-button{flex:none}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;max-width:620px;margin:auto}.memory-card{height:140px;border:0;background:transparent;padding:0;perspective:700px;border-radius:15px;position:relative}.memory-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .36s cubic-bezier(.2,.8,.2,1)}.memory-card.open .memory-inner,.memory-card.matched .memory-inner{transform:rotateY(180deg)}.memory-face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:15px;backface-visibility:hidden;flex-direction:column}.memory-back{background:#5d8661;box-shadow:0 5px 9px #416a472e,0 8px 14px #31573e19;color:#dce9c9}.memory-back>svg{width:42px;height:42px}.memory-front{transform:rotateY(180deg);background:#fff6d8;box-shadow:0 4px 9px #b49a5230}.memory-front .piece-svg{width:58px;height:67px}.memory-front strong{font:600 17px/1.2 var(--display);margin-top:6px}.memory-card.matched .memory-front{background:#e1edcc;box-shadow:0 4px 9px #70985826}.memory-card.matched .memory-front:after{content:'';position:absolute;inset:6px;border:1px dashed #a2c180;border-radius:10px}.memory-footer{display:flex;justify-content:space-between;align-items:center;max-width:620px;margin:24px auto;font-size:13px;color:var(--muted)}.memory-footer strong{font-family:var(--display);font-size:20px;color:var(--forest)}.detective-stage{max-width:730px;margin:0 auto;text-align:center}.detective-diagram{width:230px;height:230px;margin:0 auto 24px;background:#f6e7b8;border-radius:35px;display:grid;place-items:center;position:relative}.detective-diagram>svg{width:150px;height:150px;color:#a57a32}.detective-diagram .detective-clue{position:absolute;bottom:13px;font-size:12px;color:#765926}.detective-stage h2{font-size:28px;max-width:35ch;margin:auto}.detective-choices{display:flex;gap:14px;justify-content:center;margin-top:24px}.detective-choice{width:155px;min-height:155px;border:2px solid #d8dfc8;background:#fffaf0;border-radius:16px;display:flex;align-items:center;flex-direction:column;justify-content:center;padding:15px;gap:8px}.detective-choice svg{width:65px;height:75px}.detective-choice strong{font:600 20px/1.1 var(--display)}.detective-choice.correct{background:#dbecc1;border-color:#69914e}.detective-choice:hover{background:#f7e9c3}.quiz-progress{display:flex;justify-content:center;gap:7px;margin:25px 0}.quiz-progress span{width:33px;height:7px;border-radius:6px;background:#e3e7d7}.quiz-progress span.done{background:#86a66a}.trail-types{display:flex;gap:8px;align-items:center;justify-content:center;margin:18px 0}.trail-types button{width:49px;height:49px;border:1px solid #d4ddc3;border-radius:12px;background:transparent;display:grid;place-items:center}.trail-types button.active{background:#ffe0a1;border-color:#bd9141}.trail-types svg{width:32px;height:39px}
/* Collection and parent corner. */
.flower-collection{display:grid;grid-template-columns:repeat(4,1fr);gap:25px 20px;margin-top:20px}.flower-plot{min-height:220px;text-align:center;position:relative;padding:15px 10px;border-bottom:2px solid #dce3ca}.flower-plot .flower-art{width:104px;height:124px;margin:0 auto 15px}.flower-plot h3{font-size:20px}.flower-plot p{font-size:12px;color:var(--muted);margin-top:6px}.flower-plot .plot-progress{display:flex;justify-content:center;gap:3px;margin-top:11px}.plot-progress span{width:7px;height:7px;border-radius:50%;background:#dce2d1}.plot-progress span.done{background:#82a56b}.collection-note{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:28px;color:var(--muted);font-size:13px}.collection-note svg{width:20px;height:20px}.ribbon-row{display:flex;justify-content:center;flex-wrap:wrap;gap:15px;margin:30px 0}.ribbon{display:flex;align-items:center;gap:9px;border-radius:13px;padding:12px 16px;background:#ebe4f2;font-size:12px;color:#725c8e}.ribbon svg{width:22px;height:22px}.parents-intro{max-width:70ch;margin:15px 0 30px;color:var(--muted)}.parent-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:40px}.parent-panel h2{margin-bottom:15px;font-size:26px}.skill-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.skill-row>svg{width:24px;height:24px;color:var(--accent)}.skill-row .skill-name{flex:1;font-size:14px}.skill-row .skill-count{font-size:12px;color:var(--muted);min-width:42px;text-align:right;font-variant-numeric:tabular-nums}.skill-track{width:95px;height:6px;border-radius:10px;background:#e3e8d7;overflow:hidden}.skill-track>span{display:block;height:100%;background:#8caa6e;border-radius:10px}.parent-tip{padding:20px 0;border-bottom:1px solid var(--line)}.parent-tip h3{font-size:19px;margin-bottom:8px}.parent-tip p{font-size:13px;line-height:1.7;color:var(--muted)}.parent-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.parent-actions .button{font-size:12px}.parent-facts{font-size:12px;line-height:1.75;color:var(--muted);padding-top:22px;margin-top:24px;border-top:1px solid var(--line)}.parent-facts strong{color:var(--forest)}.parent-metric{display:flex;gap:10px;align-items:center;margin-bottom:20px;font-size:14px}.parent-metric strong{font:600 28px/1.1 var(--display)}
/* Native settings and recoverable actions. */
.garden-dialog{border:0;border-radius:22px;background:#fffaf0;color:var(--ink);padding:29px;max-width:500px;width:calc(100% - 28px);max-height:calc(100svh - 40px);box-shadow:0 25px 80px #1e413932;overflow-y:auto}.garden-dialog::backdrop{background:#24463885;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.dialog-head h2{font-size:29px}.dialog-head .circle-button{flex:none;border:0;background:#ecedde}.setting-row{padding:16px 0;border-bottom:1px solid #e2e5d4;display:flex;align-items:center;justify-content:space-between;gap:15px}.setting-row>div{flex:1}.setting-row strong{display:block;font-size:14px}.setting-row small{display:block;font-size:12px;color:var(--muted);margin-top:4px;line-height:1.5}.setting-row input[type=checkbox]{width:22px;height:22px;flex:none}.setting-row input[type=range]{width:130px;max-width:42%;height:26px}.setting-row select{font-size:13px;max-width:155px;border:1px solid #d6dcc5;border-radius:9px;background:#f7f5e7;color:var(--forest);padding:9px;min-height:43px}.setting-row input[type=checkbox]{accent-color:var(--forest)}.settings-buttons{display:flex;justify-content:space-between;gap:10px;margin-top:23px}.settings-buttons .button{font-size:12px}.dialog-note{font-size:12px;color:var(--muted);line-height:1.6;margin-top:19px}.profile-list{display:grid;gap:9px;margin-bottom:18px}.profile-option{display:flex;align-items:center;gap:13px;border:1.5px solid #d8dfc9;background:transparent;border-radius:14px;padding:12px;text-align:left;min-height:68px}.profile-option.active{background:#e7efce;border-color:#89a66b}.profile-option .profile-art{width:45px;height:49px}.profile-art svg{width:100%;height:100%}.profile-option strong{font-size:15px;display:block}.profile-option small{font-size:12px;color:var(--muted);display:block;margin-top:2px}.profile-form{border-top:1px solid var(--line);padding-top:21px;margin-top:19px}.profile-form label{display:block;font-size:13px;margin-bottom:7px}.profile-form input[type=text]{width:100%;padding:12px;border-radius:10px;border:1px solid #ccd6bc;background:#fffef6;font-size:16px;color:var(--ink)}.avatar-options{display:flex;gap:10px;margin:16px 0}.avatar-choice{width:55px;height:59px;border:1.5px solid #d8dfc9;border-radius:12px;background:transparent;padding:5px}.avatar-choice svg{width:100%;height:100%}.avatar-choice.active{background:#f8e2aa;border-color:#bd9847}.dialog-body{font-size:15px;line-height:1.65;color:#637153}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:23px}.promotion-options{display:flex;gap:10px;margin-top:23px}.promotion-options button{width:25%;padding:12px 5px;border-radius:12px;border:1px solid #d6ddc2;background:#ebefd6;display:flex;align-items:center;flex-direction:column;font-size:12px}.promotion-options svg{width:53px;height:63px;margin-bottom:7px}.promotion-options button:hover{background:#fae0a1}.error-text{color:#a24730;font-size:13px;margin-top:12px}.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:var(--forest);color:#fff8db;border-radius:13px;padding:12px 18px;max-width:calc(100% - 35px);z-index:100;font-size:13px;box-shadow:0 8px 25px #143f3a26}.particles{position:fixed;inset:0;pointer-events:none;z-index:90;overflow:hidden}.confetti{position:absolute;left:var(--left);top:var(--top);width:9px;height:13px;border-radius:3px;background:var(--color);animation:confetti 1.2s cubic-bezier(.16,1,.3,1) forwards}.drag-ghost{position:fixed;width:65px;height:72px;pointer-events:none;z-index:95;transform:translate(-50%,-65%);filter:drop-shadow(0 9px 4px #254c3839)}.drag-ghost svg{width:100%;height:100%}.pip-speaking .coach-buddy,.pip-speaking .tiny-pip{animation:pip-speak .35s ease-in-out infinite alternate}.pip-speaking .pip-mouth{transform:scaleY(1.3);transform-origin:60px 89px}.help-label{display:flex;align-items:center;gap:6px;font-size:11px;color:#65744f}.help-label svg{width:13px;height:13px}.mini-empty{padding:25px;text-align:center;color:var(--muted)}
@keyframes confetti{0%{opacity:1;transform:translate(0,0) rotate(0)}80%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--spin))}}
@keyframes pip-speak{from{transform:rotate(-2deg)}to{transform:rotate(2deg)}}
@media(min-width:1450px){.adventure-stage{min-height:397px}.island-map{min-height:397px}.map-node{width:69px;height:69px}.map-node.current{width:77px;height:77px}}
@media(max-width:1100px){.header-nav{gap:0}.nav-button{font-size:12px;padding:10px 9px}.nav-button svg{display:none}.profile-button strong{display:none}.world-tab{min-width:110px}.adventure-stage{grid-template-columns:240px 1fr}.island-intro{padding-left:25px}.island-intro h2{font-size:29px}.island-map{margin-left:30px;margin-right:20px}.puzzle-layout{gap:27px;grid-template-columns:minmax(320px,55%) minmax(250px,1fr)}.coach-message{font-size:21px}.coach-bubble{padding:20px}.game-tile{grid-template-columns:1fr 120px;padding:23px}.game-tile h2{font-size:27px}.preview-grid{width:115px;height:115px}.preview-cards>span{width:60px;height:88px}.preview-cards>span:nth-child(2){left:29px}.family-hero{gap:25px;padding:32px}.family-hero h1{font-size:37px}}
@media(min-width:901px) and (max-height:800px){.app-header{height:72px}#main{padding-top:22px}.puzzle-layout{grid-template-columns:minmax(320px,calc(100svh - 325px)) minmax(260px,370px);max-width:1040px;margin:0 auto}.game-heading{margin-bottom:18px}.game-heading h1{font-size:29px}.coach-buddy{width:72px;height:80px}.coach-buddy-line{margin-bottom:10px}.coach-buddy-line strong{font-size:22px}.coach-bubble{padding:21px}.coach-message{font-size:21px;min-height:70px}.coach-support{font-size:12px}.lesson-goal{padding:14px 0}.coach-tip{padding-top:13px}.page-intro{margin-bottom:20px}.adventure-stage{min-height:340px}.island-map{min-height:330px}.island-intro{padding-top:23px;padding-bottom:23px}.island-buddy{width:72px;height:78px;margin:14px 0 10px}}
@media(max-width:900px){.app-header{height:77px;padding:0 23px}.header-nav{display:none}.profile-button strong{display:block}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:40;display:flex;justify-content:space-around;background:#fffaf0;border-top:1px solid #d9dfca;padding:7px 10px calc(7px + env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.bottom-nav .nav-button{flex:1;display:flex;flex-direction:column;gap:3px;font-size:11px;padding:6px 5px;min-height:51px;border-radius:11px}.bottom-nav .nav-button svg{display:block;width:21px;height:21px}.bottom-nav .nav-button.active{background:#e8edd8}.is-playing .bottom-nav{display:none}body{padding-bottom:78px}body.is-playing{padding-bottom:12px}#main{padding:24px 23px 0}.page-intro h1{font-size:34px}.page-intro p{font-size:13px}.world-tab{min-width:120px}.adventure-stage{grid-template-columns:215px 1fr;min-height:340px}.island-intro{padding:24px 0 23px 22px}.island-intro h2{font-size:28px}.island-intro>p{font-size:12px}.island-buddy{width:75px;height:80px}.island-map{min-height:340px;margin-left:27px}.map-node{width:53px;height:53px}.map-node.current{width:61px;height:61px}.map-node .piece-svg{width:32px;height:38px}.map-node .flower-art{width:38px;height:43px}.map-node .node-number{width:18px;height:18px;font-size:9px}.map-node.current:after{inset:-6px}.puzzle-layout{grid-template-columns:minmax(300px,1.25fr) minmax(220px,1fr);gap:22px}.coach-buddy{width:66px;height:75px}.coach-buddy-line strong{font-size:21px}.coach-buddy-line small{font-size:11px}.coach-message{font-size:20px}.coach-bubble{padding:18px}.coach-support{font-size:12px}.game-heading h1{font-size:27px}.game-heading .button,.game-heading .puzzle-position{min-width:82px}.family-hero h1{font-size:35px}.family-rules{gap:17px}.family-rules>div{flex-direction:column}.family-rules h3{font-size:18px}.game-tile{grid-template-columns:1fr 90px;gap:10px;padding:23px;min-height:220px}.game-tile h2{font-size:25px}.game-tile p{font-size:12px}.preview-grid{width:100px;height:100px}.preview-grid svg{width:23px;height:23px}.preview-cards>span{width:48px;height:73px}.preview-cards>span:nth-child(2){left:20px}.preview-cards svg{width:36px;height:46px}.preview-race>.piece-svg{width:46px;height:69px}.preview-race>span svg{width:26px;height:26px}.preview-detective>span{width:45px;height:71px}.preview-detective b{font-size:34px}.parent-columns{gap:27px}.flower-collection{gap:20px 13px}.flower-plot h3{font-size:18px}.flower-plot .flower-art{width:86px;height:107px}.toast{bottom:85px}.is-playing .toast{bottom:20px}}
@media(max-width:680px){.app-header{height:71px;padding:0 18px;gap:12px}.brand-word{font-size:23px}.brand-symbol{width:37px;height:40px;border-radius:12px}.brand-symbol svg{width:29px;height:34px}.header-tools{gap:5px}.circle-button{width:39px;height:39px}.profile-button strong{display:none}.avatar-mini{width:33px;height:37px}.header-tools .voice-header{display:none}#main{padding:23px 18px 0}.page-intro{align-items:flex-start;margin-bottom:20px;gap:12px}.page-intro h1{font-size:31px;line-height:1.16;max-width:14ch}.page-intro p{font-size:12px;max-width:29ch;line-height:1.6;margin-top:9px}.garden-count{gap:5px;padding-top:5px}.garden-count>.flower-art{width:32px;height:43px}.garden-count strong{font-size:20px}.garden-count span{font-size:10px;max-width:9ch;line-height:1.3}.world-nav{margin:0 -18px 15px;padding:3px 18px 8px;gap:7px}.world-tab{min-width:119px;min-height:62px;padding:9px}.world-tab strong{font-size:11px}.world-tab small{font-size:10px}.world-tab svg{width:21px;height:21px}.world-tab .world-icon{width:24px}.adventure-stage{display:flex;flex-direction:column;border-radius:21px;min-height:0}.island-intro{padding:21px 21px 0;display:grid;grid-template-columns:1fr 69px;gap:0 12px}.island-intro h2{font-size:29px;max-width:none;grid-column:1}.island-intro>p{font-size:12px;margin-top:6px;max-width:29ch;grid-column:1}.island-buddy{grid-column:2;grid-row:1/4;width:66px;height:75px;margin:0;align-self:center}.current-puzzle-name{grid-column:1/-1;font-size:12px;margin:16px 0 8px}.island-intro .button{grid-column:1/-1;justify-self:start;min-height:43px;padding:10px 15px;font-size:13px}.island-map{height:285px;min-height:0;width:calc(100% - 38px);margin:23px 19px 17px}.map-node{width:49px;height:49px;border-width:2px}.map-node.current{width:57px;height:57px}.map-node .piece-svg{width:32px;height:37px}.map-node .flower-art{width:35px;height:41px}.map-node .node-number{bottom:-5px;right:-4px}.map-node.current:after{inset:-5px}.map-node .node-flag{width:18px;height:18px;right:-5px;top:-9px}.map-leaf{width:20px;height:20px}.island-footer{font-size:11px;margin-top:15px;gap:8px}.island-footer>span{max-width:24ch;line-height:1.5}.island-footer .text-link{font-size:11px;white-space:nowrap}.home-extras{grid-template-columns:1fr;gap:23px;padding-top:22px;margin-top:23px}.feature-line{grid-template-columns:54px 1fr;gap:13px}.feature-line .feature-art{width:52px;height:65px}.feature-art svg{width:43px;height:43px}.feature-line h3{font-size:23px}.feature-line p{font-size:12px}.feature-line .text-link{font-size:12px}.page-footer{font-size:10px;margin-top:24px;padding-bottom:20px}.page-footer .text-link{font-size:11px;white-space:nowrap}.page-footer .inline-icons svg{display:none}.playroom-grid{grid-template-columns:1fr;gap:15px}.game-tile{grid-template-columns:1fr 110px;min-height:178px;border-radius:17px;padding:22px;gap:15px}.game-tile h2{font-size:28px}.game-tile p{font-size:12px;max-width:27ch}.game-tile .game-tag{margin-top:12px}.preview-grid{width:110px;height:110px}.preview-cards>span{width:57px;height:86px}.preview-cards>span:nth-child(2){left:25px}.preview-cards svg{width:41px;height:51px}.preview-race>.piece-svg{width:55px;height:81px}.preview-detective>span{width:52px;height:79px}.full-chess-invite{flex-direction:column;align-items:stretch;gap:15px;padding-top:22px}.full-chess-invite h2{font-size:25px}.full-chess-invite p{font-size:12px}.preview-chess .piece-svg{width:34px;height:49px}.full-chess-invite .button{align-self:flex-start}.game-heading{gap:9px;margin:0 0 17px;flex-wrap:wrap}.game-heading h1{font-size:24px;order:3;flex-basis:100%;text-align:left;margin-top:2px}.game-heading .button{min-width:0;font-size:11px;padding:7px 10px;min-height:38px}.game-heading .puzzle-position{font-size:11px;min-width:0;margin-left:auto}.puzzle-layout{display:flex;flex-direction:column;gap:0}.coach-side{display:contents}.coach-buddy-line{display:none}.coach-bubble{order:1;width:100%;padding:16px 16px 13px;margin:0 0 17px;display:grid;grid-template-columns:1fr 43px;gap:0 8px;border-radius:14px}.coach-bubble:before{display:none}.coach-message{font-family:var(--body);font-weight:800;font-size:15px;line-height:1.55;min-height:0}.coach-support{display:none}.listen-button{font-size:0;width:42px;height:42px;border-radius:50%;background:#f8eed6;margin:0;justify-content:center;padding:0;align-self:center}.listen-button svg{width:19px;height:19px}.board-side{order:2;width:100%}.board-topline{font-size:11px;margin-bottom:9px}.board-topline svg{width:14px;height:14px}.board-status{font-size:10px}.board-frame{padding:12px 12px 20px 21px;border-radius:17px;box-shadow:0 6px 12px #1d49351f,0 13px 20px #294b3517}.rank-labels{left:0;top:12px;bottom:20px;width:21px;font-size:10px}.file-labels{left:21px;right:12px;bottom:2px;font-size:10px}.hint-path{left:21px;top:12px;width:calc(100% - 33px);height:calc(100% - 32px)}.square{padding:1px}.square .piece-svg{width:93%;height:93%}.square.selected .piece-svg{transform:translateY(-2px) scale(1.04)}.square.capture:after{border-width:2px}.square.hint-square{box-shadow:inset 0 0 0 3px #d69730}.board-below{font-size:11px;margin-top:18px}.board-actions{gap:8px}.board-actions .button{font-size:12px;padding:10px 12px;min-height:44px}.lesson-goal{order:3;width:100%;padding:20px 0 13px}.goal-piece{width:37px;height:45px}.lesson-goal strong{font-size:17px}.lesson-goal p{font-size:11px}.coach-tip{order:4;font-size:12px;padding:14px 0 0;width:100%}.completed-bloom{width:50px;height:58px;margin:0;grid-column:2;grid-row:1/3;align-self:start;justify-self:center}.coach-bubble.complete .coach-message{font-family:var(--display);font-size:25px;text-align:left}.coach-bubble.complete .coach-support{display:block;text-align:left;grid-column:1;font-size:12px;margin-top:7px}.coach-bubble.complete .button{grid-column:1/-1;margin-top:12px;font-size:13px}.coach-bubble.complete .listen-button{display:none}.family-role{order:0;width:100%;font-size:11px;padding:8px 10px;margin-bottom:12px}.pass-curtain h2{font-size:26px}.pass-curtain p{font-size:13px}.chess-options{order:3;width:100%;margin-top:20px;gap:9px}.chess-options select{font-size:12px}.captured-row{order:4;width:100%}.chess-setup{order:5;width:100%;font-size:11px}.activity-intro{margin:10px 0 25px}.activity-intro h1{font-size:34px}.activity-intro p{font-size:14px}.family-hero{display:flex;flex-direction:column;padding:26px;gap:30px;border-radius:21px}.family-hero h1{font-size:37px;max-width:14ch}.family-hero p{font-size:14px;margin-top:12px}.family-hero .button{width:100%}.picnic-art{width:100%;max-width:290px;aspect-ratio:1.7;gap:24px}.picnic-art>.family-big{width:88px;height:98px}.picnic-art>.picnic-piece{width:61px;height:75px}.picnic-art>.picnic-heart{width:25px;height:25px;top:8%}.family-rules{grid-template-columns:1fr;gap:22px;margin-top:27px}.family-rules>div{flex-direction:row;gap:14px}.family-rules h3{font-size:21px}.family-rules p{font-size:12px}.mini-game-top{flex-wrap:wrap;gap:9px;margin-bottom:17px}.mini-game-top h1{order:3;flex-basis:100%;font-size:28px;margin-top:5px}.mini-game-top>.button{font-size:11px;min-height:38px;padding:8px 10px}.mini-game-top .help-label{margin-left:auto}.activity-coach{gap:10px;margin-bottom:21px}.activity-coach .tiny-pip{width:44px;height:51px}.activity-coach p{font-size:13px}.activity-coach .circle-button{width:40px;height:40px}.memory-grid{grid-template-columns:repeat(3,1fr);gap:11px}.memory-card{height:112px}.memory-front .piece-svg{width:48px;height:56px}.memory-front strong{font-size:14px}.memory-back>svg{width:32px;height:32px}.memory-footer{font-size:12px;margin-top:23px}.memory-footer strong{font-size:19px}.detective-diagram{width:190px;height:190px;border-radius:27px;margin-bottom:20px}.detective-diagram>svg{width:125px;height:125px}.detective-stage h2{font-size:24px}.detective-choices{gap:9px;margin-top:19px}.detective-choice{width:33%;min-height:126px;padding:10px}.detective-choice svg{width:49px;height:59px}.detective-choice strong{font-size:16px}.detective-diagram .detective-clue{font-size:11px;bottom:12px}.session-finish{margin-top:15px}.session-finish h1{font-size:35px}.session-finish p{font-size:14px}.session-finish .finish-art{width:117px;height:130px;margin-bottom:23px}.five-flowers{gap:8px}.five-flowers svg{width:43px;height:53px}.finish-buttons{gap:10px}.finish-buttons .button{font-size:13px}.flower-collection{grid-template-columns:repeat(2,1fr);gap:16px}.flower-plot{min-height:200px;padding:14px 6px}.flower-plot h3{font-size:20px}.flower-plot p{font-size:11px}.flower-plot .flower-art{width:83px;height:102px}.collection-note{font-size:12px;align-items:start}.collection-note svg{flex:none}.ribbon-row{gap:9px;margin-top:24px}.ribbon{font-size:11px;padding:10px 12px}.parent-columns{grid-template-columns:1fr;gap:30px}.parents-intro{font-size:14px;margin-top:10px;margin-bottom:23px}.parent-panel h2{font-size:25px}.skill-row .skill-name{font-size:13px}.skill-track{width:70px}.skill-row .skill-count{font-size:11px}.parent-tip p{font-size:13px}.garden-dialog{padding:23px;max-height:calc(100svh - 30px)}.dialog-head{margin-bottom:17px}.dialog-head h2{font-size:26px}.setting-row select{max-width:135px;font-size:12px}.setting-row strong{font-size:13px}.setting-row small{font-size:11px}.settings-buttons{flex-wrap:wrap}.promotion-options{gap:7px}.promotion-options svg{width:42px;height:52px}.dialog-actions .button{font-size:12px}.dialog-body{font-size:14px}.page-footer .inline-icons{font-size:10px}.toast{font-size:12px;bottom:86px}}
@media(max-width:360px){.app-header{padding:0 12px;gap:8px}.brand-word{font-size:21px}.brand-symbol{width:33px;height:37px}.header-tools{gap:4px}.circle-button{width:37px;height:37px}.avatar-mini{width:31px;height:34px}#main{padding-left:12px;padding-right:12px}.page-intro h1{font-size:28px;max-width:13ch}.garden-count strong{font-size:19px}.garden-count>.flower-art{width:28px}.world-nav{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.island-intro{padding-left:18px;padding-right:18px}.island-intro h2{font-size:27px}.island-map{width:calc(100% - 34px);margin-left:17px;margin-right:17px;height:274px}.map-node{width:44px;height:44px}.map-node.current{width:51px;height:51px}.map-node .piece-svg{width:29px;height:34px}.map-node .node-number{width:17px;height:17px;font-size:9px}.game-tile{grid-template-columns:1fr 85px;padding:20px;gap:10px}.game-tile h2{font-size:25px}.preview-grid{width:91px;height:91px;border-width:5px}.preview-cards>span{width:45px;height:72px}.preview-cards>span:nth-child(2){left:19px}.preview-cards svg{width:35px;height:44px}.preview-race>.piece-svg{width:43px;height:70px}.preview-detective>span{width:42px;height:70px}.preview-detective b{font-size:31px}.memory-card{height:102px}.memory-front .piece-svg{width:42px;height:51px}.memory-front strong{font-size:13px}.detective-choice{min-height:116px}.detective-choice svg{width:43px;height:53px}.detective-choice strong{font-size:15px}.family-hero{padding:22px}.family-hero h1{font-size:33px}.game-heading h1{font-size:23px}.coach-message{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.square.selected .piece-svg{transform:none}.confetti{display:none}.memory-inner{transition:none!important}}
.count-button{border:0;background:none;text-align:left;padding:0;min-height:54px}.flower-plot{border:0;border-bottom:2px solid #dce3ca;background:transparent;border-radius:14px 14px 0 0}.flower-plot:hover{background:#edf0df}.square:disabled,.memory-card:disabled,.detective-choice:disabled{opacity:1}.square:disabled{cursor:default}.memory-inner{display:block}.hint-path path{stroke-width:.065;stroke-dasharray:.09 .13}.captured-row{font-size:11px}.captured-row>div{display:flex;gap:1px;flex-wrap:wrap;align-items:center}.captured-row>span{width:100%;color:var(--muted);margin-bottom:4px}.trail-types button{height:69px;width:61px;gap:0}.trail-types button span{font-size:10px}.help-label{font-size:11px;color:var(--muted)}.quiz-next{margin-top:20px}.quiz-feedback{font-size:13px;color:var(--muted);margin-top:19px}.detective-choice.not-yet{border-style:dashed}.detective-choice>.piece-svg+strong+svg{position:absolute;width:21px;height:21px;right:8px;top:8px;color:var(--forest)}.detective-choice{position:relative}.family-rules>div>span{width:33px;height:33px;border-radius:50%;background:#e8e5cf;display:grid;place-items:center;flex:none;font:600 18px var(--display)}.listen-button.speaking{color:#30683d}.pip-speaking .coach-buddy,.pip-speaking .tiny-pip{animation:pip-talk .65s ease-in-out infinite alternate}.resume-line{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff5d4;padding:12px 18px;border-radius:14px;margin-bottom:20px;font-size:13px}.resume-line .text-link{font-size:13px;font-weight:800;white-space:nowrap}@keyframes pip-talk{to{transform:rotate(-3deg) translateY(-2px)}}
@media(max-width:680px){.trail-types{order:5;width:100%;margin-top:15px}.resume-line{font-size:12px;padding:10px 13px}.resume-line .text-link{font-size:12px}.captured-row>span{font-size:11px}.coach-side .chess-setup{text-align:left}.mini-game-top .help-label{font-size:10px}.family-rules>div>span{width:30px;height:30px}.coach-bubble:not(.complete) .coach-support.chess-notice{display:block;grid-column:1;font-size:12px}.coach-bubble .listen-button{grid-column:2;grid-row:1/3}}
@media(prefers-reduced-motion:reduce){.pip-speaking .coach-buddy,.pip-speaking .tiny-pip{animation:none}}

.text-link svg{width:16px;height:16px;flex:none}.memory-card.matched{cursor:default}@media(min-width:901px) and (max-height:800px){.memory-card{height:116px}.memory-grid{max-width:560px}.activity-coach{margin-bottom:18px}}
.danger-path{z-index:5}.danger-path path{stroke:#a65a39;stroke-width:.055;stroke-dasharray:.08 .12}.danger-path circle{fill:none;stroke:#a65a39;stroke-width:.045;stroke-dasharray:.08 .1}
.completed-bloom svg,.map-node.just-planted .flower-art{transform-origin:50% 95%;animation:flower-grow .65s cubic-bezier(.16,1,.3,1) both}.target-star{animation:star-wink 1.8s ease-in-out 3}.map-node:hover .piece-svg{transform:translateY(-2px)}@keyframes flower-grow{0%{opacity:0;transform:scale(.3) rotate(-14deg)}65%{opacity:1;transform:scale(.96) rotate(1deg)}100%{opacity:1;transform:scale(1) rotate(0)}}@keyframes star-wink{50%{filter:drop-shadow(0 0 5px #e6b32f80);transform:scale(1.07)}}
@media(prefers-reduced-motion:reduce){.completed-bloom svg,.map-node.just-planted .flower-art,.target-star{animation:none}}

.profile-option>.profile-art{flex:none}.profile-option>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.profile-option>svg{width:22px;height:22px;flex:none;margin-left:auto}
