.suite .story h1{color:var(--accent);font-size:39px}.suite .story>.eyebrow{color:var(--accent)}.suite .counter{min-width:105px;justify-content:center}.suite .counter strong{font-size:16px}.suite .welcome-character{width:110px;margin:0 auto}.suite .welcome h2{font-size:29px}.suite-board{height:520px;touch-action:manipulation}.playfield{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px;gap:15px}.playfield button{color:#243426}.playfield button:focus-visible{outline:4px solid #fff;outline-offset:3px}.suite .controls-row p{font-size:14px}.suite .guidance p{font-size:15px}.suite .welcome .eyebrow{font-size:12px}.difficulty{border:0;display:flex;gap:10px;justify-content:center;padding:0;margin:0 0 18px;font-size:15px}.difficulty legend{font-size:13px;margin-bottom:8px;color:#627054}.difficulty label{border:1px solid #bac7a8;border-radius:9px;padding:10px}.difficulty input{accent-color:#e57321}.memory-board{background:radial-gradient(circle at 30% 10%,#497899,#1b344e)}.memory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:min(520px,100%)}.memory-grid.many{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;width:100%}.memory-card{position:relative;aspect-ratio:.85;border:2px solid #b6d4e0;border-bottom-width:5px;border-radius:17px;background:linear-gradient(145deg,#4677a5,#244c77);padding:0;overflow:hidden}.card-back{position:absolute;inset:0;display:grid;place-items:center;color:#d2ebff;font-size:48px;font-weight:bold;font-style:italic}.card-face{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fff8e7;opacity:0;gap:3px;padding:5px}.card-art{width:100%;aspect-ratio:1;background-image:url('/assets/game/trio.png');background-size:300% 100%;background-repeat:no-repeat}.card-art.parent{background-image:url('/assets/mboy-family-v2.webp');background-size:200% 200%;width:90%;border-radius:8px}.card-face b{font-size:13px}.memory-card.revealed .card-face,.memory-card.matched .card-face{opacity:1}.memory-card.revealed .card-back,.memory-card.matched .card-back{opacity:0}.memory-card.matched{border-color:#b5e994;opacity:.85}.memory-card.matched:after{content:'✓';position:absolute;top:4px;right:4px;background:#307240;color:white;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;font-size:15px}.memory-note{margin:0;color:#dcecf6;font-size:15px;text-align:center}.puzzle-board{background:radial-gradient(circle,#564333,#252222)}.puzzle-wrap{width:min(650px,100%)}.puzzle-grid{display:grid;grid-template-columns:repeat(3,1fr);aspect-ratio:1.777;border:6px solid #fff3d9;gap:3px;background:#fff3d9;border-radius:12px;overflow:hidden;box-shadow:0 12px 30px #0006}.puzzle-piece{background-image:url('/assets/mboy-hero-v2.webp');background-size:300% 200%;border:0;min-width:0;position:relative;border-radius:3px;outline-offset:-5px!important;padding:0}.puzzle-piece.selected{outline:5px solid #ffb25f!important;z-index:1}.puzzle-piece.hinted{box-shadow:inset 0 0 0 5px #96d7ff}.puzzle-piece span{position:absolute;bottom:6px;left:6px;border-radius:5px;background:#111b;color:#fff;padding:3px 7px;font-weight:bold;font-size:13px}.puzzle-reference{width:190px;aspect-ratio:1.777;object-fit:cover;border:3px solid #f5ddb2;border-radius:7px}.puzzle-reference-label{font-size:12px;text-transform:uppercase;letter-spacing:1.5px;color:#e3ccae;margin:0}.sequence-board{background:radial-gradient(circle at 50% 50%,#333e72,#171c37)}.sequence-guide{display:flex;align-items:center;gap:13px;margin:0;color:#e1e5ff;font-size:16px}.sequence-guide .sprite{width:72px;background-position:50% 0}.sequence-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:320px;max-width:100%}.sequence-pad{min-height:105px;border-radius:21px;border:3px solid #ffffff60;border-bottom-width:7px;background:var(--pad);display:flex;align-items:center;justify-content:center;gap:10px;font-weight:bold;font-size:16px;position:relative;transition:filter .1s,box-shadow .1s}.sequence-pad span{font-size:36px}.sequence-pad.lit{filter:brightness(1.4);box-shadow:0 0 0 5px white,0 0 35px var(--pad);border-color:white}.sequence-pad:disabled{opacity:1}.sequence-pad.lit:after{content:'●';position:absolute;top:6px;right:9px;color:#172135;font-size:14px}.sequence-dots{display:flex;gap:9px}.sequence-dots span{width:12px;height:12px;border-radius:50%;background:#7d84a0}.sequence-dots span.done{background:#ffd071}.maze-board{background-image:linear-gradient(#35682330,#35682330),url('/assets/game/garden.png')}.maze-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;width:min(402px,100%);aspect-ratio:1;background:#375a30;border:7px solid #375a30;border-radius:15px;box-shadow:0 8px 30px #1b3b5c55}.maze-cell{border:0;border-radius:5px;background:#365b30;min-width:0;padding:0;position:relative;display:grid;place-items:center}.maze-cell.path{background:#efdcaa;box-shadow:inset 0 -3px #a98b59}.maze-cell.path:not(:disabled):hover{background:#fff0c7}.maze-cell:disabled{opacity:1}.maze-cell .sprite{position:absolute;width:130%;height:130%;left:-15%;bottom:0;pointer-events:none;z-index:3}.maze-cell .maze-treat{font-size:27px;filter:drop-shadow(0 1px #8e642b);pointer-events:none}.maze-cell.goal .sprite{background-position:100% 0}.maze-cell.hinted{outline:4px solid #fcffff;outline-offset:-5px}.maze-cell.visited.path{background:#e9ca80}.maze-cell.current{background:#ffb65c!important}.maze-buttons{display:flex;gap:5px}.maze-buttons button,.catch-buttons button{border:1px solid #879974;background:#405a39;color:white;width:42px;height:40px;border-radius:9px;font-size:21px}.catch-board{touch-action:none}.catch-board .playfield{padding:0}.catch-tita{position:absolute;bottom:20px;width:120px;aspect-ratio:1;transform:translateX(-50%);pointer-events:none;background-position:100% 0;filter:drop-shadow(0 8px 3px #26432855)}.falling-treat{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;border:2px solid #fff5c8;background:#ffca5b;box-shadow:0 4px 0 #b6812c;font-size:28px;padding:0;will-change:top,left}.catch-ground{position:absolute;bottom:18px;left:6%;right:6%;height:12px;border:2px dashed #fff9;border-radius:50%;pointer-events:none}.catch-buttons{display:flex;gap:7px}.catch-buttons button{width:52px}.catch-message{position:absolute;left:50%;top:35px;transform:translateX(-50%);font-weight:bold;background:#fff8e9;padding:12px 18px;border-radius:18px;color:#314826;white-space:nowrap;font-size:16px;pointer-events:none}.suite .game-bottom{min-height:78px}.suite #extra-controls:empty{display:none}.suite #extra-controls{flex-shrink:0}.suite dialog .modal-content>a{font-size:15px}.suite .playfield button:disabled{cursor:default}
@media(max-width:760px){.suite .story h1{font-size:27px;margin-bottom:15px}.suite-board{height:clamp(350px,49dvh,460px)}.suite .welcome-character{width:87px}.suite .welcome h2{font-size:25px}.suite .counter{min-width:84px;padding:8px}.suite .counter strong{font-size:13px}.suite .toolbar .location strong{font-size:11px;letter-spacing:.5px}.playfield{padding:17px;gap:12px}.memory-grid{gap:10px;max-width:340px}.memory-grid.many{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.many .memory-card{border-width:1px;border-bottom-width:4px;border-radius:10px;aspect-ratio:.58}.many .card-back{font-size:29px}.many .card-face b{font-size:9px}.many .card-face{padding:2px}.memory-card{border-radius:13px}.card-face b{font-size:11px}.memory-note{font-size:13px}.puzzle-grid{border-width:4px;gap:2px}.puzzle-reference{width:142px}.puzzle-piece span{font-size:10px;bottom:4px;left:4px;padding:2px 5px}.sequence-grid{width:270px;gap:12px}.sequence-pad{min-height:88px;border-radius:18px;font-size:14px;gap:5px}.sequence-pad span{font-size:28px}.sequence-guide{font-size:14px}.sequence-guide .sprite{width:57px}.maze-grid{max-width:315px;gap:3px;border-width:5px}.maze-cell .maze-treat{font-size:23px}.suite .controls-row{align-items:center;gap:8px}.suite .controls-row p{font-size:12px}.suite .guidance p{font-size:14px}.maze-buttons{gap:3px;display:grid;grid-template-columns:repeat(2,1fr)}.maze-buttons button{width:32px;height:30px;font-size:18px}.catch-tita{width:95px;bottom:18px}.falling-treat{width:43px;height:43px;font-size:25px}.catch-message{font-size:14px;padding:10px 13px}.catch-buttons button{width:42px}.suite .game-bottom{min-height:84px}.suite .welcome .eyebrow{font-size:10px}}
@media(max-width:360px){.suite .toolbar{gap:4px}.suite .counter{min-width:75px}.suite .tools{gap:3px}.suite .icon-button{width:31px;height:31px}.suite .story h1{font-size:24px}.playfield{padding:13px}.suite .guidance p{font-size:13px}.sequence-pad{font-size:12px}.maze-grid{gap:2px}.suite .hint-button{padding-inline:7px}}
@media(max-width:760px){.memory-grid.many{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-width:330px}.many .memory-card{aspect-ratio:.86}.many .card-face b{font-size:11px}.many .memory-card:nth-last-child(2){grid-column:2}.many .memory-card:last-child{grid-column:3}}
.puzzle-reference{height:auto;flex-shrink:0}
.maze-grid{grid-template-rows:repeat(6,minmax(0,1fr))}
.puzzle-wrap{width:min(560px,100%);flex-shrink:0}
