:root{color-scheme:light;--ink:#292636;--muted:#6d6878;--paper:#f9f8f5;--white:#fff;--purple:#7250b7;--purple-dark:#58358f;--line:#e7e3eb;--soft:#eeE8f6;--radius:18px;font-family:ui-rounded,'Avenir Next','Segoe UI',system-ui,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.6}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{color:var(--purple-dark)}button:disabled{cursor:default}button:focus-visible,a:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #8054ca;outline-offset:5px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}button{color:inherit}svg{max-width:100%}[hidden]{display:none!important}.container{width:min(1160px,calc(100% - 80px));margin-inline:auto}.visually-hidden,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{position:fixed;top:10px;left:10px;z-index:100;background:white;padding:12px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.16em;line-height:1.5;color:var(--muted)}
.site-header{border-bottom:1px solid var(--line);background:var(--paper)}.nav-wrap{width:min(1280px,calc(100% - 80px));height:94px;display:flex;align-items:center;justify-content:space-between;gap:28px;margin:auto}.brand{display:inline-flex;align-items:center;gap:12px;font-size:25px;font-weight:800;letter-spacing:-1.2px;white-space:nowrap}.brand-light{font-weight:470}.brand-mark{display:grid;grid-template-columns:repeat(2,11px);gap:4px;transform:rotate(-8deg)}.brand-mark i{width:11px;height:11px;background:var(--purple);border-radius:3px}.brand-mark i:last-child{transform:rotate(13deg) translate(1px,1px);background:#a78cce}.site-header nav{display:flex;gap:34px;font-size:13px;font-weight:650;margin-left:auto;margin-right:30px}.site-header nav a{padding:12px 0}.surprise-button{border:1px solid #d7cce7;padding:10px 19px;border-radius:99px;background:transparent;min-height:44px;font-size:13px;font-weight:650;display:flex;align-items:center;gap:10px;transition:background .18s,transform .18s}.surprise-button span{font-size:23px;line-height:1}.surprise-button:hover{background:var(--soft);transform:translateY(-2px)}
.hero{background:#f1edf7;overflow:hidden}.hero-inner{max-width:1160px;min-height:532px;margin:auto;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:50px;padding:56px 0 62px}.hero-copy{position:relative;z-index:1}.hero .eyebrow{color:#675078;display:flex;align-items:center;gap:9px}.tiny-star{font-size:23px;line-height:1}.hero h1{font-size:clamp(46px,5.1vw,72px);font-weight:760;line-height:1.08;margin-top:20px;letter-spacing:-3.2px}.hero h1 em{font-style:normal;color:var(--purple);position:relative}.hero h1 em:after{content:'';position:absolute;bottom:-5px;left:0;right:0;height:6px;border-top:2px solid #b397d4;border-radius:50%;transform:rotate(-2deg)}.hero-description{margin-top:23px;color:#696173;font-size:17px;line-height:1.7}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:28px;border:1px solid var(--purple);background:var(--purple);color:white;border-radius:12px;padding:13px 24px;font-size:14px;font-weight:680;min-height:48px;transition:background .18s,transform .18s}.primary-button:hover{color:white;background:var(--purple-dark);border-color:var(--purple-dark);transform:translateY(-2px)}.hero-cta{margin-top:27px}.hero-note{font-size:11px;color:#736b7b;margin-top:19px}.hero-note span{padding:0 8px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:400px;isolation:isolate}.hero-art:before{content:'';position:absolute;width:365px;height:365px;border:1px solid #dcd1e9;border-radius:50%;z-index:-1}.hero-art:after{content:'';position:absolute;width:450px;height:450px;border:1px dashed #e0d8e9;border-radius:50%;z-index:-1}.hero-board-wrap{transform:rotate(-9deg);transition:transform .4s;filter:drop-shadow(0 22px 20px #5d347520)}.hero-art:hover .hero-board-wrap{transform:rotate(-5deg) translateY(-5px)}.hero-caption{position:absolute;right:-5px;bottom:-6px;font-size:11px;letter-spacing:.025em;transform:rotate(-5deg);color:#6b5977}.hero-caption span{font-size:26px;margin-left:5px}.orbit-star{position:absolute;font-size:57px;line-height:1;color:#8b67b3}.star-one{right:5px;top:28px;transform:rotate(12deg)}.star-two{left:2px;bottom:13px;font-size:40px;color:#b79dcc}.hero-copy,.hero-board-wrap{animation:arrive .6s ease-out both}.hero-board-wrap{animation-delay:.12s}@keyframes arrive{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
.collection{padding-block:70px 28px;scroll-margin-top:25px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:28px}.section-heading h2{font-size:32px;margin-top:10px;font-weight:700}.collection-count{font-size:12px;color:var(--muted);padding-bottom:5px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:30px 0}.filter-button{border:1px solid var(--line);border-radius:99px;background:transparent;min-height:44px;padding:8px 18px;font-size:13px;font-weight:650;display:flex;align-items:center;gap:10px;transition:background .18s}.filter-button span{font-size:10px;min-width:17px;color:var(--muted)}.filter-button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:white}.filter-button[aria-pressed=true] span{color:#ddd2ed}.filter-button:hover:not([aria-pressed=true]){background:var(--soft)}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px 26px}.game-card{display:block;min-width:0}.game-art{height:226px;border-radius:var(--radius);display:flex;position:relative;align-items:center;justify-content:center;overflow:hidden;background:var(--art-bg);transition:filter .2s}.color-purple{--art-bg:#eae2f7;--art-ink:#6b469e}.color-yellow{--art-bg:#f6edca;--art-ink:#886821}.color-pink{--art-bg:#f4e2e6;--art-ink:#a05975}.color-blue{--art-bg:#e1eaf4;--art-ink:#4e7598}.color-green{--art-bg:#e5eddc;--art-ink:#608241}.color-peach{--art-bg:#f5e7d9;--art-ink:#a77244}.art-index{position:absolute;top:17px;left:20px;font-size:10px;color:var(--art-ink);font-weight:700;letter-spacing:.1em}.card-play{position:absolute;right:16px;bottom:16px;background:#fff9;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;font-size:19px;transition:background .2s,transform .2s}.game-card:hover .card-play{background:white;transform:translate(2px,-2px)}.game-card .preview-board{transition:transform .3s}.game-card:hover .preview-board{transform:rotate(-3deg) translateY(-3px)}.card-info{padding:18px 3px 0}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.card-heading h3{font-size:20px;font-weight:730}.category-label{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.card-info p{font-size:13px;margin-top:8px;color:var(--muted)}.game-mode{display:block;color:#797180;font-size:11px;margin-top:10px}.preview-board{display:grid;grid-template-columns:repeat(var(--cols),1fr);width:156px;gap:5px;padding:7px;border-radius:10px;background:#8d6caa26;transform:rotate(-5deg);aspect-ratio:1}.preview-cell{min-width:0;display:flex;align-items:center;justify-content:center;border-radius:5px;background:#f8f4fd;font-size:17px;font-weight:800;color:#6d4b93;aspect-ratio:1;line-height:1}.preview-cell[data-v=""]{background:#d9cce8}.preview-hero{width:314px;gap:9px;padding:12px;border-radius:18px;transform:none;background:#c6b4de}.preview-hero .preview-cell{font-size:29px;border-radius:9px;box-shadow:0 3px 0 #00000005}.preview-2048 .preview-cell[data-v="8"]{background:#e2d4f6}.preview-2048 .preview-cell[data-v="16"]{background:#d3bfed}.preview-2048 .preview-cell[data-v="32"]{background:#b89bdc;color:#352445}.preview-2048 .preview-cell[data-v="64"]{background:#9c7ac6;color:#fff}.preview-2048 .preview-cell[data-v="128"]{background:#8660b3;color:#fff;font-size:14px}.preview-2048 .preview-cell[data-v="256"]{background:#7750a7;color:white;font-size:14px}.preview-2048 .preview-cell[data-v="512"]{background:#68438f;color:white;font-size:14px}.preview-hero .preview-cell[data-v="128"],.preview-hero .preview-cell[data-v="256"],.preview-hero .preview-cell[data-v="512"]{font-size:24px}.preview-lights-out{background:#d1be7930;width:160px;gap:5px;padding:8px}.preview-lights-out .preview-cell{background:#d8c98d;border:1px solid #c4b77e;border-radius:4px}.preview-lights-out .preview-cell[data-v=on]{background:#fffae6;border-color:#fff7d1;box-shadow:0 0 8px #fff9d070}.preview-memory-match{background:transparent;padding:0;gap:7px;width:162px;transform:rotate(7deg)}.preview-memory-match .preview-cell{background:#b37691;color:#ffeff5;border:2px solid #bc839a;font-size:22px}.preview-memory-match .preview-cell:not([data-v="?"]){background:#fff5f8;color:#a05a7b;border-color:#fff5f8}.preview-slide-puzzle{background:#a3b9cf;width:158px;gap:6px;padding:7px}.preview-slide-puzzle .preview-cell{color:#4e6f95;background:#f1f6fb;font-size:25px}.preview-slide-puzzle .preview-cell[data-v=""]{background:#91acc7}.preview-minesweeper{width:170px;background:#b8c8a8;gap:3px;padding:6px}.preview-minesweeper .preview-cell{border-radius:2px;font-size:14px;background:#f3f6ec;color:#4b7763}.preview-minesweeper .preview-cell[data-v=""]{background:#cad8b8}.preview-minesweeper .preview-cell[data-v="⚑"]{background:#b8cba2;color:#96572c}.preview-minesweeper .preview-cell[data-v="0"]{color:transparent}.preview-snake{width:178px;background:#eee1c8;border:6px solid #bd966e;gap:1px;padding:5px;transform:rotate(5deg)}.preview-snake .preview-cell{border-radius:2px;background:#e7d5b830}.preview-snake .preview-cell[data-v=snake],.preview-snake .preview-cell[data-v=head]{background:#857957}.preview-snake .preview-cell[data-v=head]{color:white;font-size:15px}.preview-snake .preview-cell[data-v=food]{background:#b05f44;border-radius:50%}
.slow-note{border-top:1px solid var(--line);margin-top:44px;padding-block:48px 62px;display:flex;align-items:center;gap:35px}.note-icon{font-size:64px;color:#b8a6cf;line-height:1}.slow-note h2{font-size:27px;margin-top:12px;font-weight:650;line-height:1.2}.slow-note>p{font-size:14px;color:var(--muted);margin-left:auto;line-height:1.9}.site-footer{border-top:1px solid var(--line);max-width:1280px;width:calc(100% - 80px);margin:auto;padding:34px 0 23px}.footer-top{display:flex;align-items:center;gap:23px}.site-footer .brand{font-size:20px}.footer-top>p{font-size:12px;color:var(--muted)}.footer-top nav{margin-left:auto;display:flex;flex-wrap:wrap;gap:25px;font-size:12px}.footer-top nav a{padding:10px 0}.footer-bottom{display:flex;justify-content:space-between;color:#78717e;font-size:10px;margin-top:25px;letter-spacing:.025em}.footer-bottom span span{color:var(--purple);margin-left:6px}.continue-link{display:flex;align-items:center;justify-content:space-between;background:#eee8f6;border:1px solid #ddd2ed;border-radius:12px;padding:14px 20px;font-size:14px;margin-bottom:35px;gap:15px}.continue-link span{font-size:12px}.text-link{font-size:13px;font-weight:650;text-decoration:underline;text-underline-offset:4px}
.game-page{padding-top:28px}.breadcrumbs{font-size:12px;color:var(--muted)}.breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:10px;list-style:none;margin:0;padding:0}.breadcrumbs li{display:flex;align-items:center;gap:10px}.breadcrumbs a{display:inline-block;padding-block:9px;text-decoration:underline;text-underline-offset:3px}.breadcrumbs [aria-current]{color:var(--ink)}.breadcrumb-separator{color:var(--muted)}.game-page-heading{margin:23px 0 32px;display:flex;align-items:center;justify-content:space-between;gap:25px}.game-page-heading h1{font-size:44px;margin:8px 0 10px}.game-page-heading>div>p:last-child{color:var(--muted);font-size:15px}.game-page-heading .eyebrow span{margin:0 10px;color:#bbb1c6}.game-heading-star{font-size:58px;line-height:1;color:var(--art-ink);background:var(--art-bg);height:90px;width:90px;display:grid;place-items:center;border-radius:24px;transform:rotate(7deg)}.play-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:58px;align-items:start}.play-area{min-width:0;background:white;border:1px solid var(--line);border-radius:24px;padding:26px}.game-guide{padding-top:12px}.game-guide h2{font-size:21px;margin-bottom:20px}.game-guide ol{list-style:none;counter-reset:rule;padding:0;margin:0}.game-guide li{position:relative;padding:0 0 19px 34px;counter-increment:rule;font-size:13px;color:var(--muted);line-height:1.7}.game-guide li:before{content:counter(rule);position:absolute;left:0;top:1px;display:grid;place-items:center;width:22px;height:22px;border:1px solid #d9cde6;border-radius:50%;font-size:10px;color:var(--purple);font-weight:700}.guide-detail{padding-block:5px 22px}.game-guide h3{font-size:12px;letter-spacing:0;margin-bottom:7px}.game-guide p{font-size:12px;color:var(--muted);line-height:1.75}.guide-tip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;display:flex;gap:14px}.guide-tip>span{font-size:28px;color:var(--purple);line-height:1}.personal-best{padding-top:21px}.personal-best>span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:var(--muted)}.personal-best strong{display:block;font-size:22px;letter-spacing:-.03em;margin:4px 0}.personal-best p{font-size:11px}.game-guide .save-note{margin-top:18px;font-size:11px}.game-stats{display:flex;justify-content:space-between;gap:14px;padding:0 3px 20px;flex-wrap:wrap}.game-stat span,.game-stat small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}.game-stat strong{display:block;font-size:27px;font-weight:720;font-variant-numeric:tabular-nums;letter-spacing:-.03em}.game-board{width:min(100%,430px);margin:auto;display:grid;gap:8px;padding:10px;background:#e4d9ef;border-radius:15px;aspect-ratio:1;user-select:none;position:relative}.board-2048{grid-template-columns:repeat(4,1fr);touch-action:pan-y}.board-slide{grid-template-columns:repeat(var(--board-size,3),1fr);background:#c5d5e5}.tile,.game-cell{border:0;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;aspect-ratio:1;border-radius:9px;background:#f5f0fa;font-size:clamp(24px,3vw,40px);font-weight:750;line-height:1;color:#5f467b;transition:background .13s,scale .13s;position:relative}.tile[data-value="0"]{background:#d2c4df;color:transparent}.tile[data-value="2"]{background:#f4eefb}.tile[data-value="4"]{background:#eaddf8}.tile[data-value="8"]{background:#d8c3f0}.tile[data-value="16"]{background:#c2a2e5}.tile[data-value="32"]{background:#ab82d4;color:#31203e}.tile[data-value="64"]{background:#8055b0;color:#fff}.tile[data-value="128"],.tile[data-value="256"],.tile[data-value="512"],.tile[data-value="1024"],.tile[data-value="2048"]{background:#663b92;color:white;font-size:clamp(20px,2.6vw,30px)}.tile[data-value="4096"],.tile[data-value="8192"]{background:#42235f;color:white;font-size:24px}.board-slide .tile{background:#f2f6fc;color:#47698e}.board-slide .tile:disabled,.board-slide .tile[data-value="0"]{background:#a9bfd6}.board-lights{grid-template-columns:repeat(5,1fr);background:#dfd5af}.light-cell{font-size:20px;border-radius:8px;background:#91875e;box-shadow:inset 0 -3px #0000000d}.light-cell[aria-pressed=true]{background:#fff3a6;box-shadow:0 0 12px #fff4bd50;color:#75621b}.light-cell[aria-pressed=false]{color:#f9f5e1}.board-memory{grid-template-columns:repeat(4,1fr);background:#f0e0e6;gap:9px}.memory-card{background:#a3637e;color:#fff3f9;border:2px solid #a3637e;border-radius:9px;aspect-ratio:1;font-size:clamp(24px,3vw,39px);font-weight:650;transition:background .18s,transform .18s;position:relative;min-width:0}.memory-card[data-open=true],.memory-card[data-matched=true]{background:#fff8fb;color:#955573;border-color:#fff8fb}.memory-card[data-matched=true]{box-shadow:inset 0 0 0 2px #ceb0bd}.board-mines{grid-template-columns:repeat(var(--board-size,8),1fr);background:#d4dfc5;padding:7px;gap:3px}.mine-cell{aspect-ratio:1;min-width:0;padding:0;border:0;border-radius:4px;background:#a6ba8f;color:#294522;font-size:17px;font-weight:750}.mine-cell[data-revealed=true]{background:#f1f5e9}.mine-cell[data-mine=true]{color:#8b2c23;background:#f3c6b5}.mine-cell[data-count="1"]{color:#235f86}.mine-cell[data-count="2"]{color:#386229}.mine-cell[data-count="3"]{color:#97392c}.board-snake{grid-template-columns:repeat(12,1fr);background:#f1e7d6;gap:2px;padding:8px;touch-action:pan-y}.snake-cell{border-radius:3px;min-width:0;aspect-ratio:1;background:#ece0ca}.snake-cell[data-kind=snake]{background:#837453}.snake-cell[data-kind=head]{background:#574b32;position:relative}.snake-cell[data-kind=head]:after{content:'··';position:absolute;color:white;inset:0;text-align:center;line-height:1;font-size:24px}.snake-cell[data-kind=food]{background:#b15e42;border-radius:50%;scale:.8}.game-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:19px}.control-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cec3db;border-radius:10px;background:white;min-height:44px;padding:9px 16px;font-size:13px;font-weight:650;transition:background .15s}.control-button:hover{background:#f0eaf7}.control-button[aria-pressed=true]{background:#e4d8f4;color:#523479;border-color:#b9a2d7}.control-button:disabled{opacity:.5}.game-message{text-align:center;font-size:12px;color:var(--muted);margin:15px auto 0;min-height:22px;line-height:1.7;max-width:440px}.direction-controls,.d-pad{display:grid;grid-template-columns:repeat(3,44px);gap:5px;justify-content:center;margin:15px auto 0}.direction-controls button,.d-pad button{min-height:44px;padding:5px}.result-panel{margin-top:22px;border-top:1px solid var(--line);padding-top:24px;text-align:center}.result-panel h2{font-size:27px;margin-top:7px}.result-panel>p:not(.eyebrow){font-size:13px;color:var(--muted);margin:10px 0 15px}.result-panel .game-controls{margin-top:10px}#share-box{margin-top:20px;text-align:left}#share-box label{display:block;font-size:12px;margin-bottom:8px}#share-text{width:100%;border:1px solid #ccc0db;border-radius:9px;padding:12px;background:var(--paper);resize:vertical;font-size:12px;line-height:1.7}#share-status{font-size:12px;text-align:center;margin-top:10px}.related-games{padding:58px 0}.related-games .section-heading h2{font-size:26px;margin:0}.related-games .game-art{height:190px}.loading-state{min-height:440px;display:grid;place-items:center;font-size:14px}.storage-notice{max-width:1160px;margin:20px auto;padding:12px 20px;background:#f5eacf;color:#6a5024;border-radius:10px;font-size:13px}
.prose-page{max-width:760px;padding-block:65px 85px}.prose-page h1{font-size:48px;margin:15px 0}.prose-lead{font-size:20px;color:var(--muted);margin-bottom:40px}.prose{font-size:15px;color:#5f5968;line-height:1.9}.prose h2{font-size:24px;color:var(--ink);margin:34px 0 14px}.prose p{margin-bottom:17px}.prose a:not(.primary-button){text-decoration:underline;text-underline-offset:4px;color:var(--purple-dark)}.prose a[href^="mailto:"]{overflow-wrap:anywhere}.prose code{overflow-wrap:anywhere;font-size:12px}.prose .primary-button{margin-top:22px}.not-found{text-align:center;padding-block:70px 110px}.not-found>span{font-size:90px;color:#a489c3}.not-found h1{font-size:46px;margin:18px 0}.not-found>p:not(.eyebrow){color:var(--muted);margin-bottom:25px}
@media(min-width:1450px){.hero-inner{min-height:575px}.hero-art{scale:1.06}}
@media(max-width:1100px){.hero-inner{width:calc(100% - 80px);gap:25px}.hero h1{font-size:58px}.preview-hero{width:270px}.hero-art:before{width:310px;height:310px}.hero-art:after{width:370px;height:370px}.hero-caption{right:0;font-size:10px}.play-layout{gap:30px;grid-template-columns:minmax(0,1.5fr) minmax(235px,1fr)}.play-area{padding:22px}.game-art{height:200px}.section-heading h2{font-size:28px}}
@media(max-width:760px){.container,.nav-wrap,.site-footer{width:calc(100% - 40px)}.nav-wrap{height:76px;gap:15px}.site-header nav{margin:0 0 0 auto;gap:18px}.site-header nav a{font-size:12px}.site-header nav a:nth-child(2){display:none}.brand{font-size:22px}.surprise-button{padding:8px 12px;font-size:12px}.surprise-button span{display:none}.hero-inner{width:calc(100% - 40px);min-height:0;padding:40px 0 36px;gap:15px;grid-template-columns:1fr 1fr}.hero h1{font-size:42px;letter-spacing:-1.8px}.hero .eyebrow{font-size:8px;letter-spacing:.1em;gap:6px}.tiny-star{font-size:18px}.hero-description{font-size:13px;margin-top:20px}.hero-cta{margin-top:20px;padding:12px 16px;gap:15px;font-size:12px}.hero-note{font-size:9px;max-width:230px}.hero-note span{padding:0 3px}.hero-art{min-height:260px}.preview-hero{width:210px;gap:6px;padding:8px;border-radius:12px}.preview-hero .preview-cell{font-size:22px;border-radius:6px}.preview-hero .preview-cell[data-v="128"],.preview-hero .preview-cell[data-v="256"],.preview-hero .preview-cell[data-v="512"]{font-size:19px}.hero-art:before{width:220px;height:220px}.hero-art:after{width:285px;height:285px}.star-one{font-size:35px;right:-8px;top:0}.star-two{font-size:28px;left:-5px;bottom:-2px}.hero-caption{display:none}.collection{padding-top:44px}.section-heading{align-items:flex-start}.section-heading h2{font-size:26px}.collection-count{display:none}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}.game-art{height:190px}.card-heading h3{font-size:19px}.category-label{font-size:9px}.card-info p{font-size:12px}.slow-note{gap:22px;flex-wrap:wrap;padding-block:35px}.slow-note>p{margin-left:68px;font-size:13px}.note-icon{font-size:46px}.slow-note h2{font-size:25px}.footer-top{flex-wrap:wrap;gap:12px 24px}.footer-top nav{width:100%;margin:4px 0 0;gap:24px}.footer-top>p{margin-left:auto}.footer-bottom{font-size:9px;gap:20px}.play-layout{grid-template-columns:1fr;gap:30px}.play-area{max-width:580px;width:100%;margin:auto}.game-guide{max-width:580px;width:100%;margin:auto}.game-guide ol{columns:1}.game-page-heading{margin:16px 0 25px}.game-page-heading h1{font-size:37px}.game-page-heading>div>p:last-child{font-size:14px}.game-heading-star{width:68px;height:68px;flex-shrink:0;font-size:44px;border-radius:18px}.game-board{max-width:430px}.game-guide .save-note{margin-top:12px}.related-games .game-grid a:last-child{display:none}.related-games .section-heading h2{font-size:23px}.related-games .text-link{white-space:nowrap}.tile{font-size:35px}.prose-page{padding-block:40px 60px}.prose-page h1{font-size:38px}.prose-lead{font-size:18px}.storage-notice{margin-inline:20px}.not-found h1{font-size:35px}}
@media(max-width:480px){.nav-wrap{height:70px}.brand{font-size:20px;gap:9px}.brand-mark{grid-template-columns:repeat(2,9px);gap:3px}.brand-mark i{width:9px;height:9px;border-radius:2px}.site-header nav{display:none}.surprise-button{font-size:11px;min-height:42px}.hero-inner{padding:34px 0 26px;grid-template-columns:1fr;gap:8px}.hero-copy{text-align:center}.hero .eyebrow{justify-content:center;font-size:9px}.hero h1{font-size:49px;line-height:1.04;margin-top:14px;letter-spacing:-2px}.hero-description{font-size:14px;margin-top:19px;line-height:1.6}.hero-note{max-width:none;font-size:10px;margin-top:13px}.hero-cta{margin-top:20px;min-height:45px}.hero-art{min-height:235px;margin-top:12px}.hero-art:before{width:200px;height:200px}.hero-art:after{width:260px;height:260px}.preview-hero{width:196px;gap:6px}.preview-hero .preview-cell{font-size:20px}.preview-hero .preview-cell[data-v="128"],.preview-hero .preview-cell[data-v="256"],.preview-hero .preview-cell[data-v="512"]{font-size:17px}.star-one{right:32px;top:17px;font-size:32px}.star-two{left:35px;bottom:16px;font-size:28px}.section-heading h2{font-size:26px;max-width:280px}.eyebrow{font-size:9px}.filters{gap:6px;margin:23px 0}.filter-button{font-size:11px;padding:8px 12px;gap:7px}.game-grid{gap:26px 14px}.game-art{height:160px;border-radius:13px}.game-card .preview-board{width:116px;gap:4px;padding:5px}.game-card .preview-cell{font-size:13px;border-radius:3px}.game-card .preview-slide-puzzle .preview-cell{font-size:20px}.game-card .preview-minesweeper{gap:2px}.game-card .preview-minesweeper .preview-cell{font-size:10px}.game-card .preview-snake{gap:1px;border-width:4px}.game-card .preview-memory-match{gap:5px;padding:0;width:108px}.game-card .preview-memory-match .preview-cell{font-size:16px}.game-card .preview-2048 .preview-cell[data-v="128"],.game-card .preview-2048 .preview-cell[data-v="256"],.game-card .preview-2048 .preview-cell[data-v="512"]{font-size:11px}.art-index{top:11px;left:12px;font-size:8px}.card-play{width:23px;height:23px;right:9px;bottom:9px;font-size:15px}.card-info{padding:12px 0 0}.card-heading{flex-wrap:wrap;gap:6px}.card-heading h3{font-size:17px;width:100%}.category-label{font-size:8px}.card-info p{font-size:11px;margin-top:6px;line-height:1.7}.game-mode{font-size:9px;margin-top:6px}.slow-note{margin-top:30px;gap:18px}.slow-note h2{font-size:23px}.slow-note>p{margin-left:0}.note-icon{display:none}.footer-top>p{font-size:10px}.footer-top nav{font-size:11px;gap:20px}.footer-bottom{flex-direction:column;gap:6px;margin-top:16px}.game-page{padding-top:16px}.game-page-heading{gap:14px}.game-page-heading h1{font-size:34px}.game-heading-star{width:55px;height:55px;font-size:33px}.game-page-heading>div>p:last-child{font-size:12px}.play-area{padding:16px 12px;border-radius:17px}.game-stats{padding-bottom:15px;gap:10px}.game-stat strong{font-size:24px}.game-board{gap:6px;padding:8px;border-radius:11px}.tile{font-size:30px;border-radius:6px}.board-lights{gap:5px;padding:7px}.light-cell{border-radius:6px}.board-memory{gap:7px}.memory-card{border-radius:7px}.board-mines{gap:2px;padding:5px;width:100%}.mine-cell{font-size:14px;border-radius:3px}.board-snake{gap:1px;padding:5px}.snake-cell{border-radius:2px}.snake-cell[data-kind=head]:after{font-size:20px}.control-button{padding:8px 12px;font-size:12px}.game-controls{gap:8px}.game-message{font-size:11px;min-height:38px}.related-games{padding-block:40px}.related-games .section-heading{display:block}.related-games .text-link{display:inline-block;margin-top:14px}.related-games .game-art{height:160px}.game-guide h2{font-size:23px}.continue-link{font-size:12px;padding:14px}.continue-link span{font-size:10px}.prose-page h1{font-size:34px}.prose{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-copy,.hero-board-wrap{animation:none}.primary-button,.surprise-button,.hero-board-wrap,.game-card .preview-board,.card-play,.memory-card,.tile,.game-cell{transition:none}.primary-button:hover,.surprise-button:hover{transform:none}}
.daily-teaser{display:flex;align-items:center;justify-content:space-between;gap:20px;border-block:1px solid var(--line);padding:22px 0;margin-bottom:28px;font-size:14px}.daily-teaser strong{display:block;font-size:18px}.daily-teaser small{display:block;color:var(--muted);margin-top:4px}.daily-teaser>span:last-child{white-space:nowrap;font-weight:700;color:var(--purple-dark)}.daily-mode{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:22px}.daily-mode>p:not(.eyebrow){font-size:13px;margin:8px 0}.daily-mode .game-controls{justify-content:flex-start}.game-help{border-top:1px solid var(--line);margin-top:44px;padding-top:38px}.rule-example{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:60px;align-items:center;max-width:930px}.rule-example h2{font-size:29px;margin:9px 0 16px}.rule-example [data-demo-status]{color:var(--muted);max-width:540px;min-height:78px}.rule-example button{margin-top:16px}.example-grid{display:grid;grid-template-columns:repeat(var(--example-cols),1fr);gap:5px;background:#e8e2ed;padding:8px;border-radius:12px}.example-cell{display:grid;place-items:center;aspect-ratio:1;background:#fff;border-radius:5px;font-size:22px;font-weight:700;color:var(--purple-dark)}.example-cell.is-empty{background:transparent}.example-after{display:none}.rule-example[data-moved=true] .example-before{display:none}.rule-example[data-moved=true] .example-after{display:grid}.game-questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px;margin-top:32px}.game-questions details{padding:18px 0;border-bottom:1px solid var(--line)}.game-questions summary{cursor:pointer;font-weight:650;font-size:15px;min-height:28px}.game-questions p{font-size:14px;color:var(--muted);margin-top:12px;max-width:570px}.game-questions summary:focus-visible{outline:3px solid var(--purple);outline-offset:4px}.preview-sudoku{gap:2px!important}.preview-sudoku .preview-cell{font-size:10px!important;border-radius:1px!important}.preview-sokoban{gap:1px!important;background:#d5c6b6!important}.preview-sokoban .preview-cell{font-size:13px!important;border-radius:2px!important;background:#faf1e6}.preview-sokoban .preview-cell[data-v="#"]{background:#a48c78;color:transparent}.preview-sokoban .preview-cell[data-v="$"]{background:#dda671;color:#493421}.preview-sokoban .preview-cell[data-v="@"]{background:var(--purple);color:white}
@media(max-width:700px){.rule-example{grid-template-columns:1fr;gap:24px}.example-boards{width:min(260px,100%);margin:auto}.game-questions{grid-template-columns:1fr}.rule-example h2{font-size:25px}.rule-example [data-demo-status]{min-height:0;font-size:14px}.daily-teaser{gap:12px;font-size:12px}.daily-teaser strong{font-size:16px}.daily-teaser small{max-width:205px;font-size:11px}.related-games .game-grid a:last-child{display:block}.game-card .preview-sudoku .preview-cell{font-size:8px!important}}

.mode-picker{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:22px}.mode-picker label,.backup-file label{display:block;font-size:14px;font-weight:650;margin-bottom:8px}.mode-actions{display:flex;flex-wrap:wrap;gap:10px}.mode-actions select{flex:1 1 220px;min-width:0;max-width:100%;min-height:44px;padding:9px 12px;background:white;border:1px solid var(--line);border-radius:9px;color:var(--ink);font:inherit;font-size:14px}.mode-picker p{font-size:12px;color:var(--muted);margin-top:10px}.mode-actions select:focus-visible,.backup-file input:focus-visible{outline:3px solid var(--purple);outline-offset:3px}.mine-board-scroll{width:min(100%,430px);margin:auto;overflow-x:auto;padding:3px;overscroll-behavior-x:contain}.mine-board-scroll .board-mines{width:100%;min-width:calc(var(--board-size,8)*24px + (var(--board-size,8) - 1)*2px + 10px);gap:2px;padding:5px}.mine-cell:focus-visible{outline-offset:-3px}.mine-scroll-note{font-size:11px;color:var(--muted);text-align:center;margin:8px 0 0}.backup-file{margin-top:24px}.backup-file input{display:block;max-width:100%;font:inherit;font-size:14px}.backup-file input::file-selector-button{min-height:44px;margin-right:10px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font:inherit}.backup-file p{font-size:13px}.backup-review{border:1px solid var(--line);border-radius:14px;background:white;padding:20px;margin-top:18px}.backup-review h3{margin:0}.backup-review .game-controls{justify-content:flex-start}.backup-review button{white-space:normal;text-align:left}.backup-review p,#backup-status{overflow-wrap:anywhere}#backup-status{min-height:1.8em}#backup-tools{scroll-margin-top:24px}.backup-review[hidden]{display:none}
