@font-face{font-family:Nunito;src:url('/fonts/nunito-latin.ttf') format('truetype');font-style:normal;font-weight:400 900;font-display:swap}
:root{--ink:#071747;--muted:#526480;--blue:#0649ef;--green:#0649ef;--cream:#f6f8ff;--paper:#fff;--line:#dce4f2;--sage:#edf3ff;--gold:#ffbf16;--shadow:0 3px 4px #142c5910,0 12px 26px #142c5908;--serif:'Nunito',system-ui,sans-serif;--radius:22px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:104px}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.5 'Nunito',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #0d58f6;outline-offset:4px}button:hover,a:hover{transition:background .16s,box-shadow .16s,transform .16s}a{color:var(--blue)}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:900;letter-spacing:-.035em;line-height:1.13}h1{font-size:clamp(36px,4.6vw,65px)}h2{font-size:clamp(27px,3vw,42px)}h3{font-size:23px}small,.small{font-size:14px;color:var(--muted)}.eyebrow{font-size:14px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:var(--blue)}.icon{width:21px;height:21px;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.shell{max-width:1280px;margin:auto;padding:0 32px}.skip-link{position:fixed;top:-100px;left:16px;background:#fff;padding:12px 20px;z-index:99;border:2px solid var(--blue);border-radius:12px}.skip-link:focus{top:12px}.header{position:sticky;top:0;z-index:10;background:#ffffffed;border-bottom:1px solid #e8edf8;backdrop-filter:blur(16px)}.header-inner{height:88px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:9px;background:none;border:0;text-align:left;padding:0;white-space:nowrap}.brandmark{width:42px;height:42px;display:block;flex-shrink:0}.brandmark img{display:block;width:100%;height:100%}.brand strong{font-size:36px;font-weight:900;letter-spacing:-.065em;line-height:1}.brand-i{position:relative}.brand-i:after{content:'';position:absolute;top:.1em;left:.035em;width:.16em;height:.16em;border-radius:50%;background:#ff8c28}.nav{display:flex;gap:24px;margin:auto;align-items:center}.nav button{border:0;background:none;color:var(--ink);font-size:16px;font-weight:800;padding:12px 0;white-space:nowrap}.nav button.active,.nav button:hover{color:var(--blue)}.nav button.active{box-shadow:0 3px var(--blue)}.header-right{display:flex;align-items:center;gap:12px}.streak{display:flex;align-items:center;gap:5px;background:none;border:0;padding:7px;color:var(--muted);font-size:14px;font-weight:800;white-space:nowrap}.streak .icon{color:#e78624}.iconbtn{background:var(--paper);border:1px solid var(--line);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.header-play{background:linear-gradient(#1764ff,#0343e5);color:white;border:1px solid #0750ec;border-top-color:#6b9cff;border-radius:16px;font-weight:900;min-height:44px;padding:10px 24px;box-shadow:0 3px 0 #0033b7,inset 0 1px 0 #ffffff66;white-space:nowrap}.header-play:hover{background:#1764ff;transform:translateY(-1px)}.nav-bottom{display:none}.main{padding-top:32px;padding-bottom:58px;min-height:72vh}.main:focus{outline:none}body[data-page=home] .main{padding-top:0}.hero{position:relative;min-height:488px;display:flex;align-items:center;background:#bcecff;isolation:isolate;margin:0 -32px;overflow:hidden}.hero-art{position:absolute;inset:0;z-index:-1}.hero-art img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}.hero-content{padding:42px 32px 38px;max-width:58%}.hero .eyebrow{margin-bottom:20px;letter-spacing:.025em;font-size:17px}.hero h1{font-size:clamp(40px,4.65vw,65px);letter-spacing:-.045em;line-height:1.08}.hero-description{font-size:22px;line-height:1.45;margin:22px 0 25px;color:#0b2854}.hero-actions{display:flex;gap:23px;align-items:center}.primary{background:linear-gradient(#ffdc38 0%,#ffc018 75%);color:var(--ink);border:1px solid #edaa05;border-top-color:#fff8bb;border-radius:17px;font-weight:900;min-height:52px;padding:12px 24px;display:inline-flex;align-items:center;justify-content:center;gap:11px;box-shadow:inset 0 2px 0 #fff39a,0 4px 0 #dd9310,0 6px 12px #9a6b0d12;transition:background .15s,transform .15s,box-shadow .15s;text-decoration:none}.primary:hover{background:linear-gradient(#ffe15a,#ffca20);transform:translateY(-2px);box-shadow:inset 0 2px 0 #fff7be,0 6px 0 #dd9310,0 10px 20px #9a6b0d18}.primary:active{transform:translateY(3px);box-shadow:inset 0 1px 0 #fff39a,0 1px 0 #dd9310}.hero .primary{font-size:21px;min-width:190px;min-height:58px}.hero .primary .icon{fill:currentColor;stroke:none;width:19px}.textbutton{border:0;background:none;color:var(--blue);font-size:16px;font-weight:900;padding:8px 0;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.textbutton:hover{text-decoration:underline;text-underline-offset:4px}.hero-note{display:flex;align-items:center;gap:6px;margin-top:22px;font-size:13px;font-weight:700;color:#284f71}.hero-note .icon{width:17px;height:17px}.secondary{background:var(--paper);color:var(--blue);border:1px solid var(--line);border-bottom-width:3px;border-radius:12px;font-weight:800;padding:10px 16px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}.secondary:hover{border-color:#a6c2ff;background:#f6f9ff}.section{margin-top:42px}.sectionhead{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:24px}.sectionhead p{color:var(--muted);font-size:17px;margin-top:8px}.gamegrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 22px}.gamecard{padding:0;text-align:left;border:1px solid #e4e9f4;background:var(--paper);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .18s,box-shadow .18s;display:block;width:100%;min-width:0}.gamecard:hover{transform:translateY(-5px);box-shadow:0 6px 8px #18325b10,0 18px 34px #18325b16}.gamecard:hover .playcircle{background:#1b68ff;transform:scale(1.05)}.cover{aspect-ratio:16/9;position:relative;overflow:hidden;background:#d0f1f8}.cover img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s}.gamecard:hover .cover img{transform:scale(1.035)}.cardbody{padding:17px 18px 19px;display:flex;align-items:center;justify-content:space-between;gap:10px}.cardbody h3{font-size:23px;letter-spacing:-.035em}.cardbody p{color:#3d4c6b;font-size:15px;line-height:1.4;margin-top:4px}.playcircle{width:40px;height:40px;border-radius:50%;background:linear-gradient(#2074ff,#0645eb);color:#fff;box-shadow:0 2px 0 #0036bb,inset 0 1px 0 #89c2ff;display:grid;place-items:center;flex-shrink:0;transition:transform .2s}.playcircle .icon{width:19px;height:19px;fill:currentColor;stroke:none}.daily-banner{position:relative;background:linear-gradient(112deg,#0862ff,#0042df);color:white;min-height:160px;border-radius:26px;margin-top:46px;padding:28px 30px 28px 210px;display:flex;align-items:center;gap:26px;box-shadow:inset 0 2px 0 #4d94ff;isolation:isolate}.daily-banner>img{width:200px;height:188px;object-fit:contain;position:absolute;left:8px;top:50%;transform:translateY(-50%);pointer-events:none}.daily-banner>div{flex:1}.daily-banner h2{font-size:32px;letter-spacing:-.025em}.daily-banner p{font-size:17px;color:#e0eaff;margin-top:7px}.daily-banner .primary{flex-shrink:0;white-space:nowrap;font-size:17px}.daily-section .eyebrow{font-size:13px;margin-bottom:8px;display:block}.daily-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.daily-tile{background:white;border:1px solid var(--line);border-radius:16px;text-align:left;overflow:hidden;position:relative;min-width:0;padding:14px;display:flex;flex-direction:column;gap:6px}.daily-puzzles .daily-tile{padding:0 0 15px;box-shadow:0 3px 6px #16397106;gap:12px}.daily-tile:hover{border-color:#9bbaff}.daily-tile>img{width:100%;height:auto;aspect-ratio:2.1;object-fit:cover;display:block}.daily-tile>div{padding:0 35px 0 13px}.daily-tile strong{display:block;font-size:15px;line-height:1.25;font-weight:900}.daily-tile .small{display:block;margin-top:3px;font-size:13px}.daily-status{position:absolute;right:10px;bottom:22px;color:var(--blue)}.daily-status .icon{width:15px;height:15px}.daily-tile.done{border-color:#79cba6;background:#f0fcf5}.daily-tile.done .daily-status{color:#148450}.daily-tile .num{font-size:26px;font-weight:900;color:var(--blue)}.picture-promo{display:flex;align-items:center;gap:22px;border:1px solid var(--line);padding:16px 22px 16px 16px;background:#fff;border-radius:20px;margin-top:40px;color:var(--ink);text-decoration:none}.picture-promo>img{width:160px;height:100px;object-fit:cover;border-radius:13px}.picture-promo>span:nth-child(2){display:grid;gap:4px;flex:1}.picture-promo strong{font-size:24px;letter-spacing:-.03em;line-height:1.2;font-weight:900}.picture-promo>span>span:last-child{font-size:15px;color:var(--muted)}.picture-promo .eyebrow{font-size:12px}.picture-promo:hover{box-shadow:var(--shadow)}.footer{border-top:1px solid var(--line);padding:34px 0 30px;background:#fff}.footer .shell{display:flex;justify-content:space-between;gap:24px;align-items:center}.footer-brand{font-size:29px;font-weight:900;color:var(--ink);letter-spacing:-.06em;text-decoration:none}.footer-brand span{color:#ff9125}.footer p{font-size:14px;color:var(--muted);margin:2px 0 8px}.footer small{font-size:12px}.footer-links{display:flex;gap:18px;flex-wrap:wrap}.footer-links a,.footer button{border:0;background:none;color:#405372;font-size:14px;padding:8px 0;text-decoration:none;font-weight:700}.footer-links a:hover,.footer button:hover{color:var(--blue)}
/* Game navigation and boards keep the original engine, progress and keyboard controls. */
.pagehead{margin:16px 0 28px}.pagehead .eyebrow{display:block;margin-bottom:9px}.pagehead h1{font-size:clamp(32px,4.3vw,51px)}.pagehead p{margin-top:12px;color:var(--muted);max-width:720px}.category-head{display:grid;grid-template-columns:1fr 320px;gap:35px;align-items:center;margin-bottom:25px;border-bottom:1px solid var(--line);padding-bottom:20px}.category-head>img{width:100%;height:180px;object-fit:cover;border-radius:20px}.level-list{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:24px}.level{background:#fff;border:1px solid var(--line);border-bottom:4px solid #d5e0f3;padding:19px 16px;border-radius:17px;text-align:left;min-width:0}.level:hover{border-color:#729df7;transform:translateY(-2px)}.level strong{display:block;font-size:35px;font-weight:900;color:var(--blue);letter-spacing:-.04em}.level .small{display:block}.game-wrap{max-width:850px;margin:0 auto}.gamebar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.gamebar .secondary{padding:8px 13px}.gameinfo{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:26px;box-shadow:var(--shadow)}.game-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.gameinfo h1{font-size:clamp(29px,4vw,40px);margin-top:4px}.gameinfo .instruction{margin-top:10px;color:var(--muted);font-size:16px}.game-title-row>.playcircle .icon{fill:none;stroke:currentColor}.metrics{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:20px 0 17px}.metric{border:1px solid #dce5f6;background:#f4f7ff;border-radius:10px;padding:7px 10px;font-size:14px;font-weight:700;display:flex;gap:6px;align-items:center}.metric .icon{width:17px;height:17px;color:var(--blue)}.progress{height:8px;background:#e6edfa;border-radius:8px;overflow:hidden;margin-bottom:22px}.progress i{height:100%;display:block;background:linear-gradient(90deg,#1474ff,#16c6d1);border-radius:8px;transition:width .2s}.board{--n:6;display:grid;grid-template-columns:repeat(var(--n),1fr);gap:7px;max-width:600px;margin:auto;background:#e9f1ff;border:1px solid #dce7fa;padding:12px;border-radius:18px;user-select:none;touch-action:manipulation}.cell{border:1px solid #d2e0f4;border-bottom:3px solid #b9cde8;background:linear-gradient(#fff,#f8fbff);border-radius:12px;padding:5px;aspect-ratio:1;display:grid;place-items:center;position:relative;overflow:hidden;min-width:0;box-shadow:0 2px 1px #16367405}.cell svg{width:100%;height:100%;max-width:90px;max-height:90px;overflow:visible;filter:drop-shadow(0 3px 1px #173a6620)}.cell:hover{background:#fff;border-color:#95b9f1;box-shadow:0 3px 8px #15437b18}.cell.wrong,.sceneobj.wrong{outline:2px solid #eb6852;animation:shake .3s}.cell.found,.sceneobj.found{background:#d9f9e8;outline:2px solid #3cb781}.cell.hinted,.sceneobj.hinted{outline:3px solid #f3b61b;outline-offset:-2px}.moving svg{animation:wiggle 2.5s ease-in-out infinite;transform-origin:50% 65%;animation-delay:var(--delay,0s)}.paused .moving svg{animation-play-state:paused}@keyframes wiggle{0%,55%,100%{transform:translateY(0) rotate(0)}65%{transform:translateY(-12%) rotate(-7deg)}75%{transform:translateY(1%) rotate(5deg)}85%{transform:translateY(-6%) rotate(-2deg)}}@keyframes shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}.scene{position:relative;aspect-ratio:1.3;background:#e6ead6;overflow:hidden;border-radius:16px;max-width:620px;margin:auto;isolation:isolate}.scene-bg{position:absolute;inset:0;width:100%;height:100%}.sceneobj{position:absolute;display:grid;place-items:center;background:transparent;border:0;border-radius:40%;padding:0;aspect-ratio:1;transform:translate(-50%,-50%) rotate(var(--rot));z-index:2;min-width:24px}.sceneobj svg{width:100%;height:100%;filter:drop-shadow(0 3px 2px #4e573449)}.sceneobj.found{opacity:.42;outline:2px solid #3cb781}.sceneobj.wrong{animation:none;outline-offset:1px}.targetlist{display:flex;justify-content:center;gap:9px;margin-bottom:16px}.target{display:grid;place-items:center;gap:3px;background:#f5f8ff;border:1px solid var(--line);border-radius:12px;width:86px;padding:6px;font-size:12px;text-align:center}.target svg{width:43px;height:43px}.target.done{background:#dcf7e9;opacity:.6;text-decoration:line-through}.gameactions{display:flex;gap:9px;justify-content:center;margin-top:20px;flex-wrap:wrap}.notice{min-height:25px;text-align:center;color:#3f5b78;font-size:14px;margin-top:17px}.result{margin-top:22px;padding:27px;background:linear-gradient(#e9f8ff,#eff6ff);border:1px solid #cde8fa;border-radius:20px;text-align:center}.result h2{font-size:35px}.result-star{font-size:37px;line-height:1.2;color:#f1ad11;letter-spacing:4px;text-shadow:0 2px #ba7809}.result p{margin:9px 0 20px;color:var(--muted)}.result .buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.statsgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.statbox{background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px;box-shadow:var(--shadow)}.statbox strong{font-size:48px;line-height:1.2;color:var(--blue);font-weight:900;display:block}.statbox span{font-size:15px;color:var(--muted)}.settings{max-width:700px;background:var(--paper);border:1px solid var(--line);padding:24px;border-radius:20px}.settingrow{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}.settingrow:last-child{border:0}.settingrow p{font-size:14px;color:var(--muted);margin-top:4px}.toggle{width:50px;height:30px;border:0;border-radius:20px;background:#bac7dc;padding:4px;display:flex;align-items:center;flex-shrink:0}.toggle.on{background:var(--blue);justify-content:flex-end}.toggle:before{content:'';width:22px;height:22px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;z-index:30;padding:12px 20px;border-radius:25px;font-size:15px;box-shadow:var(--shadow);max-width:90%;text-align:center}.hidden,[hidden]{display:none!important}.mobile-only{display:none}.modal-backdrop{position:fixed;inset:0;z-index:40;background:#091d4e77;backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px}.modal{background:#fff;max-width:520px;width:100%;border-radius:24px;padding:30px;box-shadow:0 20px 70px #0002}.modal h2{font-size:32px}.modal p{margin:14px 0 22px;color:var(--muted)}.memory-back{font-family:inherit;font-weight:900;font-size:clamp(24px,4vw,40px);color:#acd5ff;background:linear-gradient(145deg,#2894ff,#0650e1);border:1px solid #085bcf;border-bottom:4px solid #0036a8;text-shadow:0 2px 0 #064db0;box-shadow:inset 0 2px 0 #8dceff}.memory-back:hover{background:linear-gradient(145deg,#49a5ff,#1764ed)}.cell.found:disabled{opacity:.8}.compare-wrap{display:grid;grid-template-columns:1fr 1fr;gap:14px}.compare-wrap .board{gap:5px;padding:7px;max-width:none}.compare-wrap h3{margin:0 0 9px;font-size:15px;text-align:center;letter-spacing:0;font-weight:800}.compare-wrap .cell{padding:2px;border-radius:9px}.compare-wrap .cell:disabled{opacity:1}.adslot{display:none}
@media(min-width:1400px){.hero{border-radius:0 0 28px 28px}}
@media(max-width:1150px){.nav{gap:15px}.nav button{font-size:14px}.header-inner{gap:18px}.brand strong{font-size:31px}.header-right{gap:7px}.streak-label{display:none}.header-play{padding:9px 19px}.hero{min-height:450px}.hero h1{font-size:52px}.hero-content{max-width:58%}.hero-description{font-size:20px}.cardbody h3{font-size:21px}.cardbody p{font-size:14px}.cardbody{padding:14px}.playcircle{width:36px;height:36px}.daily-banner{padding-left:170px}.daily-banner>img{width:160px;height:165px}.daily-banner h2{font-size:28px}.daily-banner p{font-size:15px}}
@media(max-width:920px){.shell{padding-left:24px;padding-right:24px}.header-inner{height:78px;gap:14px}.nav{gap:15px}.nav button[data-nav=progress]{display:none}.streak{display:none}.brand strong{font-size:29px}.brandmark{width:36px;height:36px}.header-right{gap:9px}.hero{margin:0 -24px;min-height:410px}.hero-content{padding:32px 24px;max-width:60%}.hero h1{font-size:44px}.hero .eyebrow{font-size:14px;margin-bottom:16px}.hero-description{font-size:18px;margin:18px 0 21px}.hero .primary{min-width:160px;font-size:18px}.hero-actions{gap:16px}.hero-actions .textbutton{font-size:14px}.gamegrid{gap:18px}.cardbody h3{font-size:19px}.cardbody p{font-size:14px}.cardbody .playcircle{width:29px;height:29px}.cardbody .icon{width:15px;height:15px}.daily-banner{padding:26px 23px 26px 145px;gap:16px}.daily-banner>img{width:140px}.daily-banner h2{font-size:24px}.daily-banner .primary{font-size:15px;padding:10px 17px}.daily-puzzles{grid-template-columns:repeat(3,1fr)}.picture-promo>img{width:125px;height:100px}.picture-promo strong{font-size:21px}.picture-promo .secondary{font-size:14px}.footer .shell{align-items:flex-start;flex-direction:column}.category-head{grid-template-columns:1fr 240px;gap:20px}.category-head>img{height:155px}.level-list{grid-template-columns:repeat(4,1fr)}}
@media(max-width:740px){.nav{display:none}.header-right{margin-left:auto}.header-inner{height:72px}.streak{display:flex}.hero{min-height:385px}.hero-content{max-width:63%}.hero h1{font-size:41px}.hero-art img{object-position:55% center}.hero-note{font-size:12px}.gamegrid{grid-template-columns:repeat(2,minmax(0,1fr))}.cardbody h3{font-size:21px}.daily-banner{display:grid;grid-template-columns:1fr auto;padding-left:132px}.daily-banner>img{width:125px;height:145px}.daily-banner .primary{grid-column:1/-1;justify-self:start;margin-top:4px}.daily-banner h2{font-size:27px}.daily-banner>div{grid-column:1/-1}.nav-bottom{position:fixed;bottom:0;left:0;right:0;z-index:15;display:grid;grid-template-columns:repeat(4,1fr);background:#ffffffef;border-top:1px solid var(--line);padding:7px 8px calc(7px + env(safe-area-inset-bottom));backdrop-filter:blur(14px);box-shadow:0 -4px 20px #132f5a05}.nav-bottom button{border:0;background:none;color:#586b86;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:12px;font-weight:800;padding:6px;border-radius:12px}.nav-bottom button.active{background:#edf4ff;color:var(--blue)}.nav-bottom .icon{width:23px;height:23px}.footer{padding-bottom:110px}.toast{bottom:95px}.picture-promo{flex-wrap:wrap;gap:16px}.picture-promo .secondary{display:none}.category-head{grid-template-columns:1fr 190px}.category-head h1{font-size:35px}}
@media(max-width:640px){.shell{padding-left:18px;padding-right:18px}.header-inner{height:68px;gap:10px}.brand strong{font-size:29px}.brandmark{width:35px;height:35px}.brand{gap:6px}.header-right{gap:9px}.header-play{font-size:14px;min-height:38px;padding:7px 16px;border-radius:12px}.header-right .streak{display:none}.header-right .iconbtn{width:35px;height:35px;border:0;background:#f2f6ff}.header-right .icon{width:20px;height:20px}.main{padding-top:22px;padding-bottom:35px}.hero{margin:0 -18px;min-height:0;display:flex;flex-direction:column-reverse;align-items:stretch;background:#dcf3ff}.hero-art{position:relative;inset:auto;z-index:0;height:250px;overflow:hidden}.hero-art img{object-fit:cover;object-position:right center;width:100%;height:100%}.hero-art:after{content:'';position:absolute;left:0;right:0;top:0;height:32px;background:linear-gradient(#dcf3ff,transparent)}.hero-content{max-width:none;padding:26px 22px 0;z-index:1}.hero h1{font-size:clamp(37px,7.8vw,48px);letter-spacing:-.04em;line-height:1.08}.hero .eyebrow{font-size:12px;margin-bottom:12px;letter-spacing:.06em}.hero-description{font-size:17px;margin:15px 0 17px}.hero-actions{gap:22px}.hero .primary{font-size:17px;min-height:48px;min-width:155px;padding:9px 20px;border-radius:14px}.hero-actions .textbutton{font-size:15px}.hero-note{margin-top:17px;position:relative;z-index:2;font-size:12px;color:#365672}.section{margin-top:30px}.sectionhead{gap:12px;margin-bottom:18px;align-items:center}.sectionhead h2{font-size:28px;letter-spacing:-.035em}.sectionhead p{font-size:14px;margin-top:6px;max-width:230px}.sectionhead>.textbutton{font-size:14px}.gamegrid{gap:16px 12px}.gamecard{border-radius:16px}.cover{aspect-ratio:1.45}.cardbody{padding:13px 10px 15px;gap:4px;align-items:center}.cardbody h3{font-size:18px;letter-spacing:-.035em;line-height:1.1}.cardbody p{font-size:13px;line-height:1.35;margin-top:6px}.cardbody .playcircle{display:none}.daily-banner{margin-top:34px;border-radius:21px;padding:25px 20px 24px 112px;gap:13px;min-height:196px;align-content:center}.daily-banner>img{left:-8px;width:118px;height:150px;top:42%}.daily-banner h2{font-size:25px;line-height:1.12}.daily-banner p{font-size:14px;line-height:1.4;margin-top:8px}.daily-banner .primary{font-size:15px;min-height:43px;padding:8px 16px;border-radius:12px}.daily-puzzles{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;padding:0 1px 12px;scrollbar-width:thin;scrollbar-color:#b9cdee transparent}.daily-puzzles>.daily-tile{min-width:160px;width:160px;scroll-snap-align:start;flex-shrink:0}.daily-tile strong{font-size:14px}.daily-tile>div{padding-left:11px}.daily-status{bottom:23px}.daily-section .sectionhead h2{font-size:28px}.picture-promo{padding:12px;gap:14px;margin-top:26px;border-radius:16px}.picture-promo>img{width:92px;height:100px}.picture-promo strong{font-size:20px}.picture-promo>span>span:last-child{font-size:13px}.picture-promo .eyebrow{font-size:10px}.footer{padding-top:26px}.footer-links{gap:16px}.footer-links a,.footer button{font-size:13px}.footer small{font-size:12px}.footer p{font-size:14px}.pagehead{margin:8px 0 24px}.pagehead h1{font-size:35px}.pagehead .eyebrow{font-size:12px}.pagehead p{font-size:16px}.category-head{display:flex;flex-direction:column-reverse;align-items:stretch;gap:18px}.category-head>img{height:180px;width:100%;border-radius:17px;object-position:center}.category-head .pagehead{margin:0}.level-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}.level{padding:14px 10px;border-radius:14px}.level strong{font-size:31px}.level .small{font-size:12px}.gameinfo{padding:20px 12px;border-radius:20px}.gameinfo h1{font-size:29px}.gameinfo .instruction{font-size:15px;line-height:1.45}.gameinfo .eyebrow{font-size:12px}.gamebar{margin-bottom:15px;gap:8px}.gamebar .secondary{font-size:14px;padding:8px 10px}.gamebar .small{font-size:12px}.gamebar .iconbtn{width:37px;height:37px}.game-title-row{gap:10px}.game-title-row>.playcircle{width:35px;height:35px}.metrics{gap:6px;margin:17px 0}.metric{font-size:12px;padding:6px 8px;gap:4px;border-radius:8px}.metric .icon{width:15px;height:15px}.progress{margin-bottom:17px;height:7px}.board{gap:4px;padding:6px;border-radius:13px}.cell{border-radius:8px;padding:2px;border-bottom-width:2px}.targetlist{gap:5px;margin-bottom:13px}.target{width:60px;font-size:11px;border-radius:9px;padding:4px}.target svg{width:34px;height:34px}.scene{aspect-ratio:1.03}.gameactions{gap:7px;margin-top:17px}.gameactions .secondary{font-size:14px;padding:8px 11px}.notice{font-size:13px;line-height:1.5;margin-top:15px}.compare-wrap{gap:7px}.compare-wrap .board{gap:3px;padding:4px}.compare-wrap .cell{border-radius:5px}.compare-wrap h3{font-size:13px}.result{padding:22px 12px}.result h2{font-size:29px}.result p{font-size:14px}.result .buttons{gap:9px}.result .buttons button{font-size:14px;padding:9px 13px}.statsgrid{gap:10px}.statbox{padding:17px 11px;border-radius:15px}.statbox strong{font-size:36px}.statbox span{font-size:12px;display:block;line-height:1.4;margin-top:5px}.settings{padding:18px}.settingrow{gap:15px}.settingrow p{font-size:13px}.modal{padding:25px}.modal h2{font-size:28px}.modal p{font-size:16px}}
@media(max-width:370px){.shell{padding-left:14px;padding-right:14px}.hero{margin:0 -14px}.brand strong{font-size:26px}.brandmark{width:31px;height:31px}.header-right{gap:5px}.header-play{font-size:13px;padding:7px 12px}.hero h1{font-size:35px}.hero-content{padding-left:18px;padding-right:18px}.hero-actions{gap:17px}.hero .primary{min-width:143px}.hero-art{height:225px}.sectionhead h2{font-size:25px}.cardbody h3{font-size:17px}.cardbody p{font-size:12px}.daily-banner{padding-left:98px}.daily-banner>img{width:102px}.daily-banner h2{font-size:23px}.daily-banner .primary{font-size:14px}.gamebar .secondary{font-size:12px}.metric{font-size:11px}.level-list{gap:8px}.level{padding:12px 8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.gamecard,.cover img,.primary,.progress i,.playcircle{transition:none}.gamecard:hover,.primary:hover{transform:none}.cell.wrong{animation:none}}
/* Keep the illustrations aligned when adjacent mobile titles wrap. */
.gamecard{display:flex;flex-direction:column;justify-content:flex-start}.gamecard .cover{width:100%;flex-shrink:0}.gamecard .cardbody{width:100%;flex:1}.primary{white-space:nowrap}
@media(max-width:370px){.hero .primary{padding-left:15px;padding-right:15px}}
