:root{--ink:#263f3b;--muted:#66746c;--cream:#fcf7ed;--green:#27675b;--line:#e3e0d2;--yellow:#f7c65c;--coral:#e67e63;--blue:#79b7c5;--purple:#a295cf;font-family:ui-rounded,'Trebuchet MS',system-ui,sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background-image:radial-gradient(#c9be9b35 .7px,transparent .7px);background-size:9px 9px}button,input,select{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #184fce;outline-offset:5px}header{max-width:1280px;margin:auto;padding:28px 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;text-align:left;background:none;border:0;font-size:18px;font-weight:850;line-height:1.1}.brandmark{font-size:40px;color:var(--coral);transform:rotate(-12deg)}.brandbottom{display:block;letter-spacing:5px;font-size:10px;margin-top:7px}nav{display:flex;align-items:center;gap:20px}.pilot,.tag{border-radius:99px;background:#edeedc;padding:9px 14px;font-size:12px;font-weight:750}.quiet{border:0;background:none;min-height:48px;font-weight:700;font-size:13px}main{max-width:1208px;margin:auto;padding:34px 24px 60px}.hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;min-height:310px;gap:30px;padding:16px 10px 30px}.eyebrow{font-size:11px;letter-spacing:2.3px;font-weight:850;text-transform:uppercase;color:var(--green);display:flex;gap:12px;align-items:center}.eyebrow:before{content:'';width:27px;height:2px;background:var(--green)}h1{font-size:clamp(35px,4.4vw,59px);line-height:1.08;letter-spacing:-2.5px;font-weight:850;margin:19px 0}h1 em{font-style:normal;color:var(--green);position:relative}h1 em:after{content:'';display:block;width:93%;height:9px;background:#e7c15a6e;position:absolute;bottom:-1px;left:2px;z-index:-1;transform:rotate(-1deg)}p{line-height:1.65}.hero p{max-width:400px;color:var(--muted);font-size:16px}.mini-note{font-size:12px!important;color:var(--green)!important;display:flex;align-items:center;gap:8px}.mini-note span{width:7px;height:7px;background:var(--green);border-radius:50%}.hero-art{height:290px;position:relative;display:flex;align-items:center;justify-content:center}.orbit{width:290px;height:250px;border-radius:50%;background:#e5eadb;transform:rotate(-10deg);position:absolute}.toy{position:absolute;border-radius:20px;box-shadow:inset 0 -7px 0 #00000015,0 16px 20px #425b3320;display:grid;place-items:center}.toy.a{height:98px;width:98px;background:var(--yellow);left:13%;top:26px;transform:rotate(-13deg);font-size:48px}.toy.b{width:158px;height:82px;right:8%;top:77px;background:var(--blue);transform:rotate(16deg);font-size:46px;letter-spacing:5px;color:#fff9e8}.toy.c{height:106px;width:111px;left:32%;bottom:20px;background:var(--coral);transform:rotate(8deg);font-size:50px;color:#fff3dd}.art-star{position:absolute;font-size:27px;right:13%;bottom:25px;color:var(--green)}.art-label{position:absolute;right:2%;top:5px;font-size:12px;transform:rotate(9deg);color:var(--green)}.section-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:17px 0 23px}.section-top h2{font-size:25px;margin:0;letter-spacing:-.5px}.section-top p{font-size:12px;margin:0;color:var(--muted)}.shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.game-card{border:1px solid #dedbce;border-radius:22px;background:#fffdf6;overflow:hidden;box-shadow:0 5px 0 #e8e3d4;position:relative;transition:transform .2s}.game-card:hover{transform:translateY(-4px)}.cover{height:207px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.cover-shapes{background:#e7b75f}.cover-paths{background:#8eb4a8}.cover-sliding{background:#a7a6c9}.cover:before{content:'';position:absolute;width:180px;height:180px;border:1px dashed #ffffff55;border-radius:50%;transform:scale(1.4)}.cover-badge{position:absolute;left:17px;top:16px;font-size:10px;letter-spacing:1px;background:#fff7ddbb;padding:7px 10px;border-radius:7px}.cover svg{width:186px;height:150px;filter:drop-shadow(3px 9px 0 #00000013);transform:rotate(-8deg)}.card-body{padding:23px}.card-body .category{font-size:10px;text-transform:uppercase;letter-spacing:1.8px;color:var(--muted);font-weight:800}.card-body h3{font-size:25px;letter-spacing:-.7px;margin:9px 0}.card-body p{font-size:13px;min-height:42px;color:var(--muted);margin:0 0 20px}.playbutton,.primary{background:var(--green);color:white;border:0;border-radius:12px;min-height:48px;font-weight:750;padding:13px 20px}.playbutton{display:flex;width:100%;align-items:center;justify-content:space-between}.card-bottom{display:flex;justify-content:space-between;font-size:10px;margin-top:14px;color:var(--muted)}.bottom-note{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:27px 30px;background:#eeeddf;border-radius:17px;margin-top:30px}.bottom-note h3{margin:0 0 7px;font-size:17px}.bottom-note p{margin:0;font-size:13px;color:var(--muted)}.secondary{background:#fffdf6;border:1px solid #c9cebf;border-radius:11px;min-height:48px;padding:12px 18px;font-weight:700}.topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.back{border:0;background:none;min-height:48px;padding:0 8px;font-weight:700}.game-heading{text-align:center}.game-heading h1{font-size:35px;margin:11px 0}.game-heading p{font-size:14px;margin:0}.play-layout{display:grid;grid-template-columns:220px minmax(260px,490px) 220px;justify-content:center;align-items:start;gap:28px;margin:30px auto}.sidebar{background:#fffdf6;border:1px solid var(--line);padding:22px;border-radius:18px;margin-top:15px}.sidebar h3{font-size:15px;margin:0 0 10px}.sidebar p{font-size:13px;color:var(--muted)}.step-label{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--green);font-weight:800}.gameboard{aspect-ratio:1;position:relative;padding:10px;background:#d9d9c8;border:9px solid #eeecdc;border-radius:23px;box-shadow:0 9px 0 #d8d5c5,0 16px 30px #37493813;display:grid;gap:5px;user-select:none;touch-action:pan-y}.cell{border:0;border-radius:9px;background:#fbf8ed;font-size:19px;padding:0;position:relative;display:grid;place-items:center;min-width:0}.cell.blocked{background:#bfc7b6;color:#6d7c68}.cell.placed{box-shadow:inset 0 -4px #00000015;color:#233c37;font-weight:800}.cell.hinted,.block.hinted{outline:4px solid #3b5cda;outline-offset:-4px}.cell.selected{outline:4px solid var(--green);outline-offset:-4px}.cell svg{width:100%;height:100%;pointer-events:none}.board-area{min-width:0}.board-caption{text-align:center;font-size:12px;color:var(--muted);margin:20px 0 14px}.tools{display:flex;gap:9px;justify-content:center;flex-wrap:wrap}.tools button{font-size:12px;flex:1;white-space:nowrap;padding:12px 10px}.piece-list{display:flex;flex-direction:column;gap:9px}.piece{background:#f7f4ea;border:2px solid transparent;border-radius:10px;padding:9px;min-height:49px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left}.piece.selected{border-color:var(--green);background:#e6ecdd}.piece.used{opacity:.65}.piece-icon{display:grid;gap:2px}.piece-icon i{display:block;width:13px;height:13px;border-radius:3px}.piece small{font-size:11px}.block{position:absolute;border:0;border-radius:10px;box-shadow:inset 0 -5px #0002,0 3px 4px #0001;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:800;z-index:2;touch-action:none}.block.selected{outline:4px solid #275e52;outline-offset:2px}.exit{position:absolute;right:-26px;color:var(--green);font-size:25px;z-index:4}.slide-controls{display:flex;gap:9px;margin-top:14px}.slide-controls button{flex:1}.hintbox{min-height:90px;background:#f7edc8;border-radius:12px;padding:14px;font-size:13px;line-height:1.5;margin:15px 0}.level-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:25px}.level-grid button{height:55px;border:1px solid #d9dbcb;border-radius:12px;background:#fffdf5;font-weight:700}.level-grid button.done{background:#e0ecdb}.level-grid button.current{border:3px solid var(--green)}dialog{width:min(620px,calc(100% - 30px));max-height:90vh;overflow:auto;border:0;border-radius:23px;padding:30px;color:var(--ink);background:var(--cream);box-shadow:0 25px 100px #15291c44}dialog::backdrop{background:#263f3b70;backdrop-filter:blur(4px)}dialog h2{font-size:29px;letter-spacing:-1px;margin:0 0 13px}dialog p{font-size:14px;color:var(--muted)}.dialog-actions{display:flex;gap:12px;margin-top:22px;flex-wrap:wrap}.dialog-actions button{flex:1}.close{float:right;border:0;background:#eeedde;border-radius:50%;width:44px;height:44px;font-size:22px;margin:-10px -10px 0 10px}.celebrate{font-size:50px;margin:5px 0 14px;color:var(--coral)}.parent-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.parent-item{border:1px solid var(--line);padding:17px;border-radius:14px}.parent-item h3{font-size:15px;margin:0}.parent-item p{font-size:12px}.parent-item select{width:100%;padding:10px;border:1px solid #c9cebf;background:white;border-radius:8px}.danger{color:#a34232}.progress-dots{display:flex;justify-content:center;gap:7px;margin:11px}.progress-dots i{width:9px;height:9px;border-radius:50%;background:#d8dbc9}.progress-dots i.filled{background:var(--green)}footer{max-width:1208px;margin:auto;padding:25px 34px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:absolute;top:-90px;left:10px;background:white;padding:14px;z-index:9}.skip:focus{top:10px}.print-only{display:none}@media(max-width:1050px){.play-layout{grid-template-columns:180px minmax(260px,450px)}.right-help{grid-column:1/-1;margin:0;display:flex;align-items:center;gap:20px}.right-help .hintbox{flex:1;margin:0}.hero-art{height:260px}.shelf{gap:16px}.card-body{padding:18px}}@media(max-width:700px){header{padding:17px 19px}.brand{font-size:14px}.brandmark{font-size:31px}nav{gap:4px}.pilot{display:none}.quiet{font-size:11px}main{padding:20px 18px 40px}.hero{grid-template-columns:1fr;gap:0;padding:8px 0 18px;min-height:0}.hero h1{max-width:370px;letter-spacing:-1.5px}.hero p{font-size:14px}.hero-art{display:none}.section-top{align-items:flex-start}.section-top h2{font-size:22px}.section-top p{max-width:110px;text-align:right;line-height:1.4}.shelf{grid-template-columns:1fr}.game-card{display:grid;grid-template-columns:36% 64%}.cover{height:100%}.cover svg{width:140px;max-width:100%;height:150px}.cover-badge{font-size:8px;left:10px;top:12px;padding:6px}.card-body{padding:20px 17px}.card-body h3{font-size:21px}.card-body p{font-size:12px;min-height:0;margin-bottom:14px}.card-bottom{font-size:9px}.bottom-note{padding:20px;align-items:flex-start;flex-direction:column;gap:14px}.topline{margin-bottom:10px}.topline .tag{font-size:10px}.game-heading h1{font-size:29px}.play-layout{display:flex;flex-direction:column;gap:18px;margin:23px auto;max-width:480px}.board-area{width:100%;order:1}.sidebar{width:100%;margin:0;padding:16px}.left-help{order:2}.right-help{order:3;display:block}.piece-list{flex-direction:row;flex-wrap:wrap}.piece{flex:1;min-width:85px}.left-help p{margin:7px 0}.right-help .hintbox{margin-top:12px}.gameboard{border-width:7px;gap:4px;padding:7px}.tools button{min-height:49px}.parent-grid{grid-template-columns:1fr}.level-grid{grid-template-columns:repeat(4,1fr)}footer{padding:20px;gap:18px;font-size:10px}.exit{right:-20px}.print-only{display:none}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media print{body{background:white}body>*{display:none!important}.print-only{display:block!important;color:#111} .print-page{page-break-after:always;padding:15mm}.print-page h1{font-size:26px;letter-spacing:0}.print-page .gameboard{width:110mm;height:110mm;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-page .cell,.print-page .block{print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-page p{font-size:12px}.print-page .piece-list{flex-direction:row;margin-top:20px}.print-page .piece{border:1px dashed #555;min-width:90px}.print-page .piece-icon i{width:20px;height:20px;print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.piece.hinted{outline:3px solid #3b5cda;outline-offset:2px}@media print{.print-page .gameboard{width:calc(var(--print-cols)*24mm);height:calc(var(--print-rows)*24mm);padding:0;border:0;gap:0;box-shadow:none;border-radius:0}.print-page .cell{border:1px solid #666;border-radius:0}.print-page .piece-list{flex-wrap:wrap;gap:12mm}.print-page .piece{padding:0;border:0;flex:none;display:block}.print-page .piece-icon{grid-template-columns:repeat(var(--piece-cols),24mm)!important;gap:0}.print-page .piece-icon i{width:24mm;height:24mm;border-radius:0;border:1px solid #666}.print-page .piece-icon i[style*="transparent"]{border:0}.print-page .block{border:1px solid #555}}
@media(max-width:700px){.gameboard{--board-inset:7px}}@media print{.gameboard{--board-inset:0px;--block-gap:0px}.print-page .piece{break-inside:avoid}.print-page:last-child{page-break-after:auto}}
.piece-icon i{width:22px;height:22px;color:#233c37;font-style:normal;font-size:14px;line-height:22px;text-align:center}.piece{min-height:58px}.piece-list{gap:10px}@media(max-width:700px){.shape-help{order:0}.shape-help .piece-list{display:flex;justify-content:center}.shape-help .piece{flex:0 1 auto;min-width:75px}.shape-help>p{font-size:13px}.shape-help>h3{margin-bottom:12px}}
@media print{.print-page .piece-icon i{width:24mm;height:24mm;font-size:16px;line-height:24mm}}
