:root{--ink:#312852;--muted:#807991;--cream:#fffaf0;--lav:#dcd1ff;--purple:#7454cf;--yellow:#ffcf73;--orange:#ff9d65;--mint:#b5efdb;--pink:#ffd0de;--line:#eee7e9;--shadow:0 14px 32px rgba(59,42,97,.10);--bigshadow:0 24px 46px rgba(62,43,91,.16);--round:25px;--heading:ui-rounded,"Arial Rounded MT Bold","Trebuchet MS",Nunito,system-ui,-apple-system,"Segoe UI",sans-serif;--body:"Trebuchet MS",ui-rounded,system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.6 var(--body);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7454cf;outline-offset:3px}::selection{background:#ddceff;color:#382452}.shell{width:min(1160px,calc(100% - 44px));margin-inline:auto}.skip-link{position:absolute;top:-70px;left:20px;background:var(--ink);color:white;padding:10px 14px;border-radius:9px;z-index:99}.skip-link:focus{top:10px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--heading);letter-spacing:-.045em;line-height:1.14}h1{font-size:clamp(3.5rem,6.4vw,6rem)}h2{font-size:clamp(2rem,3.5vw,3rem)}h3{font-size:1.38rem}p{color:var(--muted)}.site-header{position:relative;z-index:10;background:#fffaf0;box-shadow:0 1px rgba(48,38,75,.055)}.header-inner{min-height:90px;display:flex;align-items:center;gap:25px}.brand{display:inline-flex;align-items:center;gap:10px;font:bold 28px/1 var(--heading);letter-spacing:-.07em;white-space:nowrap}.brand-icon{width:49px;height:49px;display:block;flex:none;filter:drop-shadow(0 3px 0 #eddfcf)}.brand-dot{color:#fc975c}.desktop-nav{display:flex;gap:34px;margin-left:auto;margin-right:28px;font-weight:800;color:#655b74}.desktop-nav a:hover,.footer-links a:hover,.back-link:hover{color:var(--purple)}.language-pill{border:2px solid #e5dbe3;background:white;border-radius:99px;padding:9px 17px;font-size:14px;font-weight:800;box-shadow:0 4px 0 #f1e6dc;white-space:nowrap}.language-pill:hover{transform:translateY(-2px)}.lang-icon{margin-right:5px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:14px 24px;min-height:54px;border-radius:17px;border:2px solid transparent;font-weight:900;line-height:1.25;transition:transform .17s,box-shadow .17s;text-align:center}.btn:hover{transform:translateY(-3px)}.btn-primary{background:#7753d9;color:white;box-shadow:0 6px 0 #5335ae,0 12px 22px #8d72cc37}.btn-primary:hover{box-shadow:0 8px 0 #5335ae,0 16px 26px #8d72cc37}.btn-dark{background:var(--ink);color:#fff;box-shadow:0 6px 0 #231b3d}.btn-light{background:white;color:var(--ink);border-color:#f2e6e6;box-shadow:0 4px 0 #e8e0da}.btn-light:hover{box-shadow:0 6px 0 #e8e0da}.btn-small{font-size:14px;min-height:41px;padding:9px 16px;border-radius:12px}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
/* cheerful hero */
.hero{background:#fff1dc;position:relative;overflow:hidden;isolation:isolate}.hero::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 85% 25%,#ffdfad 0 7%,transparent 7.1%),radial-gradient(circle at 18% 85%,#ffe2cc 0 4%,transparent 4.1%);z-index:-1}.hero-inner{display:grid;grid-template-columns:1.06fr .94fr;min-height:540px;align-items:center;padding-block:42px 79px;gap:38px}.hero-copy{z-index:2}.eyebrow,.section-kicker{display:inline-block;color:#7357ad;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.eyebrow{background:white;padding:9px 18px;border-radius:50px;border:2px solid #f5dfca;box-shadow:0 5px 0 #f8dfc4;margin-bottom:24px;text-transform:none;letter-spacing:.02em}.hero h1{margin:0 0 20px;font-weight:1000;letter-spacing:-.07em}.hero h1 em{color:#8b5de1;font-style:normal;position:relative}.hero-copy>p{font-size:18px;line-height:1.75;max-width:465px;margin-bottom:24px;color:#6e6075}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px}.hero-side-note{font-size:13px;font-weight:800;color:#86728c}.hero-trust{display:flex;gap:12px;margin-top:28px;align-items:center;font-size:13px;color:#897d81;font-weight:800}.hero-trust span:first-child{color:#f5a34e;font-size:18px;letter-spacing:.12em}.hero-confetti{position:absolute;color:#efbb8a;font-size:57px;opacity:.7}.confetti1{left:2%;top:7%}.confetti2{left:48%;top:11%;font-size:27px}.confetti3{right:3%;bottom:30%}.hero-wave{height:28px;position:absolute;bottom:-1px;left:0;right:0;background:var(--cream);clip-path:polygon(0 75%,5% 45%,10% 63%,16% 35%,23% 75%,30% 45%,38% 80%,45% 37%,53% 70%,60% 40%,68% 80%,75% 40%,82% 75%,90% 34%,95% 70%,100% 36%,100% 100%,0 100%)}
.hero-scene{height:440px;position:relative;display:flex;align-items:center;justify-content:center}.scene-orbit{position:absolute;width:410px;height:410px;border-radius:48%;background:#d9cdf9;transform:rotate(-20deg);box-shadow:inset 0 -15px #c8b9f4,0 16px 0 #d7c8ee}.scene-orbit::before{content:'';position:absolute;width:300px;height:300px;border:3px dashed #e9e1ff;border-radius:50%;top:53px;left:52px}.scene-blob{position:absolute;z-index:2;width:210px;height:195px;background:#ffac60;left:50%;top:48%;transform:translate(-50%,-46%) rotate(-8deg);border:5px solid #3d305d;border-radius:47% 55% 49% 47%;box-shadow:12px 15px 0 #ffcf71,15px 20px 0 #44335f}.scene-blob::before,.scene-blob::after{content:'';position:absolute;background:#ffac60;border:5px solid #3d305d;border-radius:100%}.scene-blob::before{width:48px;height:53px;top:-19px;left:14px;transform:rotate(-24deg);z-index:-1}.scene-blob::after{width:46px;height:53px;top:-20px;right:13px;transform:rotate(22deg);z-index:-1}.blob-eye{position:absolute;width:17px;height:23px;background:#312852;border-radius:50%;top:75px}.eye-left{left:56px}.eye-right{right:56px}.blob-cheek{position:absolute;background:#fa7b86;width:34px;height:18px;border-radius:50%;top:112px;opacity:.85}.cheek-left{left:23px}.cheek-right{right:23px}.blob-smile{position:absolute;width:51px;height:25px;left:calc(50% - 25px);top:108px;border-bottom:5px solid #312852;border-radius:0 0 50% 50%}.scene-card{position:absolute;z-index:3;border:4px solid #392b59;border-radius:21px;box-shadow:6px 8px 0 #3d305b;font-weight:1000;text-align:center}.game-a{font-size:64px;padding:5px 22px;background:#c0f0dc;left:5%;top:20%;transform:rotate(-15deg);line-height:1.18}.game-a small{display:block;font-size:13px;letter-spacing:.13em}.game-b{right:1%;bottom:14%;width:124px;height:128px;background:#ffc9d8;transform:rotate(13deg);display:grid;place-items:center}.scene-2048{font-size:34px;font-weight:1000;line-height:1.08;letter-spacing:.22em;color:#8752bd}.scene-yellow-star{position:absolute;z-index:4;top:6%;right:15%;font-size:104px;color:#ffc657;text-shadow:4px 5px 0 #44315d;-webkit-text-stroke:3px #403259;transform:rotate(17deg)}.scene-bubble{position:absolute;z-index:3;border-radius:50%;background:#a7e8fa;border:3px solid #42335f;color:#42335f;display:grid;place-items:center;font-size:25px;font-weight:900}.b1{right:10%;top:19%;width:52px;height:52px}.b2{bottom:13%;left:17%;width:60px;height:60px;background:#ffe39b}.scene-caption{position:absolute;z-index:5;bottom:3%;left:26%;background:#fff;border:2px solid #4c3a65;border-radius:16px;padding:8px 16px;font-weight:900;transform:rotate(-6deg);box-shadow:4px 5px 0 #4c3a65;font-size:14px}
/* library cards */
.games-section{padding-top:73px;padding-bottom:60px;scroll-margin-top:32px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:29px;gap:15px}.section-heading h2{margin:11px 0 8px}.section-heading p{margin:0}.section-doodle{font-size:77px;color:#fbb45f;margin-right:18px;line-height:1}.games-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}.game-card{border-radius:24px;background:#fff;box-shadow:0 8px 0 #eee8e4,0 12px 30px #4a37730b;border:2px solid #f1e9e9;overflow:hidden;transition:transform .18s,box-shadow .18s;display:flex;flex-direction:column;min-width:0}.game-card:hover{transform:translateY(-6px);box-shadow:0 12px 0 #e7e0e4,0 23px 40px #4a377321}.poster{position:relative;aspect-ratio:1.15;overflow:hidden}.illustration{width:100%;height:100%;position:relative;display:grid;place-items:center;overflow:hidden}.ill-mines{background:#ffe0c3}.ill-tile{background:#dccffc}.ill-sudoku{background:#c9f3e2}.ill-cards{background:#ffd5dd}.illustration:before,.illustration:after{content:'';position:absolute;border-radius:50%;background:#ffffff50;width:110px;height:110px;top:-38px;right:-14px}.illustration:after{width:78px;height:78px;top:auto;right:auto;bottom:-30px;left:-20px}.illus-spark{position:absolute;font-size:39px;color:#ffffffa6;font-weight:900;line-height:1}.s1{top:14%;left:12%}.s2{bottom:14%;right:11%}.mines-mini{width:146px;height:146px;background:#fff9ed;border:4px solid #54416e;border-radius:15px;display:grid;grid-template-columns:repeat(4,1fr);padding:8px;gap:4px;transform:rotate(-8deg);box-shadow:7px 9px 0 #493565}.mini-mine{background:#e4daf2;border-radius:6px;text-align:center;line-height:27px;font-weight:1000;color:#7762bc;font-size:17px}.mini-mine.bomb{background:#ffc179}.tile-mini{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;transform:rotate(9deg)}.tile-mini b{width:66px;height:66px;border:3px solid #54416e;border-radius:13px;background:#fff3ad;display:grid;place-items:center;box-shadow:4px 5px 0 #493565;font-size:30px}.tile-mini b:nth-child(2){background:#ffc4ce}.tile-mini b:nth-child(3){background:#b1eadc}.tile-mini b:nth-child(4){background:#f7ac79}.sudoku-mini{display:grid;grid-template-columns:repeat(3,1fr);width:153px;height:153px;border:4px solid #514165;background:#fffaf0;border-radius:14px;overflow:hidden;transform:rotate(-9deg);box-shadow:7px 10px 0 #614d73}.sudoku-mini span{border:1px solid #e5dfea;display:grid;place-items:center;font-weight:1000;font-size:27px;color:#6952b7}.sudoku-mini span:nth-child(5){background:#ffdf9b}.cards-mini{position:relative;width:160px;height:165px;transform:rotate(8deg)}.cards-mini>span{position:absolute;display:flex;align-items:start;flex-direction:column;justify-content:flex-start;background:#fffdfa;border:4px solid #4e405f;border-radius:14px;width:93px;height:136px;font-size:32px;font-weight:1000;padding:9px;box-shadow:5px 6px 0 #4c3b60}.cards-mini>span:nth-child(1){left:0;top:15px;transform:rotate(-18deg);color:#e25c78}.cards-mini>span:nth-child(2){left:36px;top:0;transform:rotate(2deg)}.cards-mini>span:nth-child(3){left:74px;top:19px;transform:rotate(16deg);color:#e25c78}.cards-mini small{font-size:38px;line-height:1}.poster-tag{position:absolute;bottom:13px;left:13px;background:#ffffffed;border:1px solid #ffffff;border-radius:50px;padding:4px 11px;font-size:11px;font-weight:900;box-shadow:0 3px 8px #4d3c5530}.game-card-body{display:flex;justify-content:space-between;gap:10px;padding:19px 16px 10px;flex:1}.game-card-body h3{font-size:21px;margin-bottom:8px}.game-card-body p{font-size:13px;line-height:1.65;margin:0}.card-play{align-self:flex-start;flex:none;border-radius:50%;background:#f6f0fe;width:31px;height:31px;display:grid;place-items:center;font-weight:1000;color:#7656c5}.game-card-foot{display:flex;justify-content:space-between;gap:4px;border-top:1px dashed #e8e1e5;padding:12px 16px 16px;font-size:11px;font-weight:900;color:#867b92}.game-card-foot span:last-child{color:#7651c4;white-space:nowrap}
/* daily, benefits, footer */
.daily-wrap{padding-bottom:72px}.daily-banner{position:relative;display:grid;grid-template-columns:160px 1fr auto;align-items:center;gap:18px;background:#f7c7d9;padding:26px 35px;border-radius:28px;border:2px solid #ebbdcf;overflow:hidden}.daily-banner:after{content:'✦';font-size:110px;position:absolute;bottom:-80px;right:8%;color:#ffe6ef77;pointer-events:none}.daily-art{font-size:88px;position:relative;text-align:center;text-shadow:6px 9px #e9a9c5}.daily-art span{position:absolute;font-size:39px;top:-4px;right:9px;color:#fff}.daily-label{font-size:12px;letter-spacing:.15em;font-weight:1000;color:#985672}.daily-copy h2{font-size:29px;margin:8px 0}.daily-copy p{max-width:475px;color:#6f5572;margin:0}.daily-banner>.btn{position:relative;z-index:2}.benefit-section{padding-bottom:85px}.section-centered{justify-content:center;text-align:center;margin-bottom:28px}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.benefit{text-align:center;padding:25px 22px 22px}.benefit-emoji{display:grid;place-items:center;width:80px;height:80px;margin:0 auto 18px;background:#ebdffb;border-radius:24px;font-size:36px;transform:rotate(-6deg)}.benefit:nth-child(2) .benefit-emoji{background:#d0f4e8;transform:rotate(7deg)}.benefit:nth-child(3) .benefit-emoji{background:#ffe7b5;transform:rotate(-5deg)}.benefit h3{margin-bottom:8px}.benefit p{font-size:14px;margin:0}.site-footer{background:#f2eaf8;border-top:2px solid #e9dcf4}.footer-inner{display:flex;justify-content:space-between;gap:30px;padding-block:45px 30px}.footer-logo{font-size:23px}.footer-logo .brand-icon{width:43px;height:43px}.footer-brand p{max-width:360px;font-size:14px;margin:15px 0 0}.footer-links{display:flex;align-items:flex-start;gap:24px;flex-wrap:wrap;font-size:14px;font-weight:900;color:#645878;padding-top:18px}.footer-bottom{border-top:1px solid #dfd3e9;padding-block:18px 25px;font-size:12px;color:#898198}
/* game page */
.game-page{padding-top:35px;padding-bottom:85px}.breadcrumbs{display:flex;align-items:center;gap:10px;color:#94899a;font-size:13px;font-weight:800}.breadcrumbs a{color:#7655ba}.game-intro{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:28px 0}.game-intro-title{display:flex;align-items:center;gap:18px}.game-emoji{width:90px;height:90px;display:grid;place-items:center;border-radius:25px;background:#f9e5bc;border:2px solid #fae1b3;font-size:47px;box-shadow:0 6px 0 #f3dfd5}.game-intro h1{font-size:clamp(2.1rem,4.1vw,3.45rem);margin:4px 0 0}.game-intro p{margin:3px 0 0}.back-link{font-size:13px;color:#8b7ba2;font-weight:900}.game-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 266px;gap:24px;align-items:start}.play-panel{background:white;border:2px solid #eee3ed;border-radius:25px;padding:22px;box-shadow:0 9px 0 #efe6e6,0 15px 28px #4e3c7a0d;min-width:0}.game-loading{text-align:center;padding:70px 10px;color:#8e84a2}.game-aside{display:grid;gap:18px}.side-panel{border:2px solid #f1e4dd;background:#fff9f1;padding:25px 18px;border-radius:24px;box-shadow:0 7px 0 #f1e6e2}.side-panel-icon{font-size:36px}.side-panel h3{font-size:20px;margin:7px 0 19px}.related-list{display:grid;gap:9px}.related-item{display:flex;align-items:center;gap:10px;background:white;border:1px solid #eee7e8;border-radius:13px;padding:10px 12px;font-size:13px}.related-item span:first-child{font-size:23px}.related-item span:last-child{margin-left:auto;color:#8d7a9b}.related-item:hover{background:#f6efff}.side-bottom{display:flex;gap:12px;align-items:center;padding:10px 5px}.side-bottom svg{width:40px;height:40px;flex:none}.side-bottom p{font-size:12px;margin:0}.rule-content{padding:36px 6px 10px}.rule-content h2{font-size:25px;margin-bottom:14px}.rule-content>p{font-size:15px;line-height:1.85}.tip-box{display:flex;gap:12px;align-items:start;background:#eaf9f1;border:1px solid #d2eddf;border-radius:18px;padding:16px 18px;margin-top:20px}.tip-box>span{font-size:26px}.tip-box p{margin:0;color:#526b64;font-size:14px;line-height:1.7}.tip-box strong{color:#336357}.info-page{padding-top:50px;padding-bottom:105px;max-width:820px}.info-hero{margin:35px 0 50px}.info-icon{font-size:52px}.info-hero h1{font-size:clamp(2.3rem,5vw,4.5rem);margin:12px 0}.info-hero p{font-size:18px}.info-content{background:white;border:2px solid #eee4e9;box-shadow:0 8px 0 #ede5e4;border-radius:27px;padding:35px}.info-content p{line-height:1.9;font-size:16px;color:#645d70}.info-content p:last-child{margin-bottom:0}.info-content a{color:#7654bd;text-decoration:underline}.updated{font-size:13px!important}
/* shared game widgets */
.game-ui{--gaccent:#7858cd}.game-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.game-toolbar h2{font-size:20px;margin:0}.game-toolbar-sub{font-size:12px;color:#8b8099}.game-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.tiny-btn{border:2px solid #eee4f1;background:#fbf7ff;border-radius:11px;padding:9px 12px;color:#6e5b8f;font-size:13px;font-weight:900;min-height:39px}.tiny-btn:hover{background:#efe5ff}.tiny-btn:disabled{opacity:.45;cursor:default}.tiny-btn.active{background:#7554c8;border-color:#7554c8;color:#fff}.game-status{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:10px 0 18px}.stat-pill{padding:8px 12px;border-radius:12px;background:#f8f4ff;min-width:88px;text-align:center;display:flex;flex-direction:column;gap:0}.stat-pill b{font-size:19px;line-height:1.25;font-family:var(--heading)}.stat-pill span{font-size:10px;letter-spacing:.06em;font-weight:900;color:#9084a1;text-transform:uppercase}.game-message{min-height:28px;color:#7855c0;font-size:13px;font-weight:800;margin-top:13px}.game-end{background:#fff1d4;color:#5f456c;border:2px solid #ffe1ac;border-radius:13px;padding:11px 14px;font-weight:900;font-size:14px;text-align:center}.difficulty-select{border:2px solid #eee4f1;background:white;color:#554877;border-radius:11px;padding:8px 10px;font-weight:800;font-size:13px;min-height:39px;max-width:140px}.utility-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:10px 0 0}.utility-note{font-size:12px;color:#9c8da7}.help-inline{font-size:13px;color:#8b7e98;margin:15px 0 0}
/* 2048 */
.game2048-center{display:flex;flex-direction:column;align-items:center}.puzzle2048{background:#b9add4;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:min(100%,410px);aspect-ratio:1;padding:11px;border-radius:20px;touch-action:none;user-select:none;box-shadow:0 7px 0 #a698c5}.tile2048{background:#dcd4e9;border-radius:12px;display:grid;place-items:center;font:bold clamp(22px,5vw,39px) var(--heading);color:#3e315c;transition:background .1s;min-width:0}.tile2048[data-v="2"]{background:#fff0d3}.tile2048[data-v="4"]{background:#ffe2ba}.tile2048[data-v="8"]{background:#ffc69e}.tile2048[data-v="16"]{background:#ffb0ac}.tile2048[data-v="32"]{background:#fa8eab}.tile2048[data-v="64"]{background:#d5acff}.tile2048[data-v="128"]{background:#b9b0ff;font-size:31px}.tile2048[data-v="256"]{background:#91cbe9;font-size:31px}.tile2048[data-v="512"]{background:#9be6d2;font-size:31px}.tile2048[data-v="1024"]{background:#f8d26c;font-size:27px}.tile2048[data-v="2048"]{background:#f6b74b;font-size:27px}.tile2048[data-v="4096"]{background:#f38e60;font-size:27px}.tile2048[data-v="8192"]{background:#ea6c88;font-size:27px;color:white}
/* minesweeper */
.mine-wrap{display:flex;justify-content:center;max-width:100%;overflow:auto;padding:5px 0 8px}.mine-board{--cols:9;display:grid;grid-template-columns:repeat(var(--cols),1fr);gap:3px;background:#bcb1d5;border:7px solid #bcb1d5;border-radius:16px;width:min(100%,var(--mw));aspect-ratio:var(--cols);box-shadow:0 6px 0 #aa99cb;touch-action:manipulation;user-select:none}.mine-cell{border:0;border-radius:5px;background:#e7ddfc;box-shadow:inset 0 -3px #d4c5ee;display:grid;place-items:center;font-weight:1000;font-family:var(--heading);font-size:clamp(11px,2.3vw,21px);padding:0;color:#6b52ac;aspect-ratio:1;line-height:1;min-width:0}.mine-cell:active:not(.open){background:#c7b8e4}.mine-cell.open{background:#fcf8ff;box-shadow:none}.mine-cell.mine-hit{background:#ffadc3}.mine-cell.flagged{background:#f6dfab}.mine-cell.n1{color:#3d86bf}.mine-cell.n2{color:#2d9d7f}.mine-cell.n3{color:#d55c67}.mine-cell.n4{color:#7a56ab}.mine-cell.n5{color:#b66b3a}.mine-cell.n6{color:#308f9d}.mine-cell.n7{color:#4d4663}.mine-cell.n8{color:#a45fa1}.mine-cell:focus-visible{z-index:2;position:relative}
/* sudoku */
.sudoku-layout{display:flex;align-items:center;flex-direction:column;gap:13px}.sudoku-board{width:min(100%,475px);aspect-ratio:1;display:grid;grid-template-columns:repeat(9,1fr);background:#6b597e;border:3px solid #6b597e;border-radius:13px;overflow:hidden;box-shadow:0 6px 0 #d6c9d9;touch-action:manipulation}.sudoku-cell{display:grid;place-items:center;position:relative;background:#fffdfd;border:0;border-right:1px solid #d8d0e0;border-bottom:1px solid #d8d0e0;aspect-ratio:1;padding:0;font-weight:850;font-family:var(--heading);font-size:clamp(14px,2.8vw,25px);color:#7155bf}.sudoku-cell:nth-child(3n){border-right:2px solid #9e90b1}.sudoku-cell[data-row="2"],.sudoku-cell[data-row="5"]{border-bottom:2px solid #9e90b1}.sudoku-cell.given{color:#342853;font-weight:1000}.sudoku-cell.selected{background:#f4d59d!important}.sudoku-cell.peer{background:#f5effc}.sudoku-cell.same{background:#e5d9f7}.sudoku-cell.conflict{color:#d64c69;background:#ffebee}.sudoku-cell .notes-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);width:100%;height:100%;font-size:clamp(6px,1vw,10px);font-family:var(--body);color:#8f80b4;text-align:center}.notes-grid span{display:grid;place-items:center;line-height:1}.number-pad{display:grid;grid-template-columns:repeat(9,1fr);gap:6px;width:min(100%,475px)}.number-pad button{border:2px solid #eee4f6;background:#f7f2ff;color:#7352bd;border-radius:10px;font:900 clamp(14px,2.4vw,22px) var(--heading);height:46px;padding:0}.number-pad button:hover{background:#e8dbff}.number-pad button.active{background:#7654c8;color:white}.number-pad .number-clear{background:#ffeff1;color:#cf6b80}.sudoku-erase{height:37px;border:1px solid #f1dbe7;border-radius:10px;background:#fff1f5;color:#af607b;font-size:13px;font-weight:900;padding:0 13px}.sudoku-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:center}
/* Solitaire */
.solitaire-area{background:#c8ecdc;border:3px solid #92cfbd;border-radius:18px;padding:15px 12px 18px;min-height:490px;overflow:hidden;box-shadow:0 7px 0 #a6d5c5;--card-w:clamp(35px,7.35vw,73px);--card-h:calc(var(--card-w) * 1.39);--pile-step:clamp(18px,2.55vw,30px);--card-gap:clamp(3px,1.15vw,11px)}.sol-top{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:var(--card-gap);margin-bottom:23px;min-height:var(--card-h)}.sol-top-slot,.sol-column{position:relative;display:flex;align-items:flex-start;justify-content:center;min-width:0}.sol-placeholder{width:var(--card-w);height:var(--card-h);border:2px dashed #89bda9;background:#d6f4e8;border-radius:9px;display:grid;place-items:center;font-size:24px;color:#95c2af}.sol-placeholder.fdn{font-size:clamp(17px,2.4vw,26px);color:#80b7a5}.sol-tableau{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:var(--card-gap)}.sol-column{min-height:340px;position:relative}.sol-card{position:absolute;width:var(--card-w);height:var(--card-h);background:#fffdf9;border:2px solid #fff;border-radius:9px;box-shadow:0 2px 0 #b5b0b0,0 3px 5px #2c5e5034;display:flex;flex-direction:column;align-items:flex-start;padding:3px 5px;line-height:1;color:#3b3151;font:1000 clamp(14px,2vw,22px) var(--heading);cursor:pointer;user-select:none;transition:filter .14s;overflow:hidden}.sol-card.red{color:#e45472}.sol-card .sol-suit{font-size:clamp(15px,2.7vw,29px);align-self:center;margin-top:auto;margin-bottom:auto}.sol-card.back{background:repeating-linear-gradient(45deg,#a795e2,#a795e2 7px,#c7b8f7 7px,#c7b8f7 14px);border:5px solid #fff;padding:0;box-shadow:0 2px 0 #98a7a3}.sol-card.back:before{content:'✿';font-size:22px;color:#fff9ed;margin:auto;text-shadow:0 1px #7162aa}.sol-card.selected{outline:3px solid #ffad51;outline-offset:-1px;filter:drop-shadow(0 0 3px #ffad51)}.sol-card.hint-card{outline:3px solid #5e62d7;outline-offset:0}.sol-top-slot .sol-card{position:relative}.sol-card:focus-visible{outline:3px solid #5543ae;z-index:5}.sol-message{background:#e8fff1;border:1px solid #bfe9cd;border-radius:10px;padding:8px 12px;color:#568971;font-size:12px;margin-top:13px}.solitaire-area .sol-card{touch-action:manipulation}.sol-top-slot[role="button"]{cursor:pointer}.sol-top-slot[role="button"]:focus-visible{outline:3px solid #7554c8}
@media(max-width:1000px){.hero-inner{grid-template-columns:1fr .9fr}.hero-scene{transform:scale(.86)}.games-grid{grid-template-columns:repeat(2,1fr)}.poster{aspect-ratio:1.5}.game-page-grid{grid-template-columns:minmax(0,1fr) 215px}.daily-banner{grid-template-columns:110px 1fr}.daily-banner>.btn{grid-column:2;justify-self:start}.daily-art{font-size:68px}}
@media(max-width:700px){.shell{width:min(100% - 32px,550px)}.header-inner{min-height:74px}.brand{font-size:25px}.brand-icon{width:43px;height:43px}.desktop-nav{display:none}.language-pill{margin-left:auto;padding:7px 11px;font-size:12px}.hero-inner{grid-template-columns:1fr;padding-top:45px;padding-bottom:58px;gap:5px}.hero h1{font-size:clamp(3.2rem,10vw,4.6rem)}.hero-copy>p{font-size:16px;max-width:500px}.hero-scene{height:280px;transform:scale(.69);transform-origin:center;max-width:100%;margin-top:-20px;margin-bottom:-32px}.hero-wave{height:15px}.games-section{padding-top:49px;padding-bottom:45px}.section-heading{margin-bottom:23px}.section-doodle{display:none}.games-grid{gap:13px}.poster{aspect-ratio:1.12}.game-card-body{padding:14px 12px 10px}.game-card-body h3{font-size:18px}.game-card-body p{font-size:12px}.game-card-foot{padding:10px 11px 13px}.card-play{display:none}.daily-wrap{padding-bottom:50px}.daily-banner{grid-template-columns:70px 1fr;gap:12px;padding:20px 18px;border-radius:23px}.daily-art{font-size:58px}.daily-copy h2{font-size:22px}.daily-copy p{font-size:13px}.daily-banner .btn{grid-column:1/-1;margin-top:5px;width:100%}.benefits{gap:10px}.benefit{padding:12px 5px}.benefit h3{font-size:16px}.benefit p{font-size:12px}.benefit-emoji{width:66px;height:66px;font-size:29px}.footer-inner{flex-direction:column;gap:16px}.footer-links{padding:0}.game-page{padding-top:23px}.game-intro{margin:20px 0 26px}.game-emoji{width:68px;height:68px;font-size:37px;border-radius:20px}.game-intro-title{gap:12px}.game-intro h1{font-size:2.15rem}.game-intro p{font-size:13px}.game-intro .section-kicker{font-size:10px}.game-intro>.back-link{display:none}.game-page-grid{grid-template-columns:1fr;gap:26px}.game-aside{display:none}.play-panel{padding:17px 13px}.rule-content{padding-top:29px}.info-page{padding-bottom:70px}.info-content{padding:24px}.solitaire-area{padding:10px 6px 16px;--card-w:clamp(34px,10vw,64px);--pile-step:clamp(20px,5vw,27px);--card-gap:3px;min-height:405px}.sol-column{min-height:285px}.sol-card{padding:2px 3px;border-radius:6px}.sol-placeholder{border-radius:6px}.sol-top{margin-bottom:18px}}
@media(max-width:400px){.game-card-body p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.game-card-foot span:first-child{display:none}.game-card-foot{justify-content:flex-end}.mini-mine{line-height:25px}.mines-mini{transform:scale(.85) rotate(-8deg)}.tile-mini{transform:scale(.85) rotate(9deg)}.sudoku-mini{transform:scale(.85) rotate(-9deg)}.cards-mini{transform:scale(.83) rotate(8deg)}.solitaire-area{--card-w:clamp(32px,9.2vw,48px);--card-gap:2px;padding-inline:4px}.sol-card{font-size:13px}.sol-card .sol-suit{font-size:16px}.puzzle2048{gap:6px;padding:7px}.mine-board{gap:2px;border-width:5px}.mine-cell{border-radius:3px}.number-pad{gap:3px}.number-pad button{height:40px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Wider workstations and 4K displays (including 200% scaling). */
@media(min-width:1700px){.shell{width:min(1370px,calc(100% - 112px))}.hero-inner{min-height:600px}.hero-scene{transform:scale(1.1)}.games-grid{gap:23px}.game-card-body{padding:21px 20px 14px}.game-card-body h3{font-size:24px}.game-card-body p{font-size:15px}.game-card-foot{padding:14px 20px 18px;font-size:12px}.poster{aspect-ratio:1.28}.game-page-grid{grid-template-columns:minmax(0,1fr) 290px;gap:31px}.play-panel{padding:28px}.puzzle2048{width:min(100%,510px)}.sudoku-board,.number-pad{width:min(100%,530px)}.mine-board{width:min(100%,calc(var(--mw) * 1.1))}.solitaire-area{--card-w:clamp(58px,4.15vw,86px);--pile-step:33px}}
