/* A small arcade, a quiet corner, and a studio of your own. */
@font-face{font-family:"Bugtian Play Emoji";src:url('/assets/play-emoji-v2.woff2') format('woff2');font-display:swap;font-style:normal;font-weight:400}
:root{--lab-radius:22px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html{scroll-padding-top:120px}.wrap{width:min(1320px,calc(100% - 104px))}.header{height:90px;position:sticky;top:0;z-index:50;background:var(--page)}.header::before{content:"";position:absolute;inset:0 calc((100vw - 100%)/-2);background:var(--page);border-bottom:1px solid var(--line);z-index:-1}.header nav{font-size:13px;gap:27px}.header nav>a{padding-block:10px}.hero{padding-top:46px;padding-bottom:44px;gap:55px}.hero h1{font-size:clamp(56px,5.8vw,85px)}.hero-description{font-size:15px;line-height:2}.hero-visual{max-width:560px;justify-self:end}.hero-actions .button{font-size:13px;padding:17px 22px}.hero-bottom>p{font-size:10px}.hero-sticker{background:#f9de86;box-shadow:5px 6px 0 #282a2518}.dice-icon{font-size:0!important;width:18px;height:18px;border:1.5px solid currentColor;border-radius:4px;background:radial-gradient(circle at 5px 5px,currentColor 1px,transparent 1.3px),radial-gradient(circle at 11px 5px,currentColor 1px,transparent 1.3px),radial-gradient(circle at 8px 8px,currentColor 1px,transparent 1.3px),radial-gradient(circle at 5px 11px,currentColor 1px,transparent 1.3px),radial-gradient(circle at 11px 11px,currentColor 1px,transparent 1.3px)}
.experience-hub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:30px;border:1px solid var(--line);background:var(--surface);border-radius:18px;overflow:hidden}.experience-hub>a{display:flex;align-items:center;gap:22px;padding:24px 30px;transition:background .2s}.experience-hub>a+a{border-left:1px solid var(--line)}.experience-hub>a:hover{background:var(--soft)}.experience-hub small{font-size:10px;color:var(--muted)}.experience-hub strong{font-size:19px;font-weight:600;display:block;margin-top:6px}.experience-hub strong>span{font-size:15px;margin-left:8px;color:var(--muted)}.experience-hub p{font-size:10px;color:var(--muted);margin:8px 0 0}.hub-icon{width:56px;height:56px;flex-shrink:0;display:grid;place-items:center;border-radius:15px;color:#282a25;position:relative;font-size:0}.hub-play{background:#e9eed2}.hub-play::before{content:"";border-left:17px solid #485a30;border-block:12px solid transparent;margin-left:4px}.hub-slow{background:#dce6ef}.hub-slow::before{content:"";width:26px;height:26px;border:2px solid #526b7e;border-radius:50%}.hub-slow::after{content:"";position:absolute;width:8px;height:11px;border-left:2px solid #526b7e;border-bottom:2px solid #526b7e;top:18px;left:27px}.hub-create{background:#ece0f4 url('/assets/pencil.svg') center/30px no-repeat}
.section{padding-top:80px}.section-heading h2{font-size:35px;letter-spacing:-1px}.section-description{font-size:13px;line-height:1.9;max-width:670px}.section-seal{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px;padding:13px 17px;border:1px solid var(--line);border-radius:30px;white-space:nowrap}.section-seal>i{width:6px;height:6px;border-radius:50%;background:#99ad71}.game-grid{gap:25px}.game-card{border-radius:20px}.game-art{height:225px}.game-info{padding:23px}.game-title-row h3{font-size:21px}.game-info>p{font-size:12px;line-height:1.8}.game-meta{font-size:10px;padding-top:15px}.game-badge{font-size:9px;left:20px;top:18px}.art-caption{font-size:7px;left:20px;bottom:16px}.break-banner{padding:27px 32px;margin-top:44px;border-radius:18px}.break-banner strong{font-size:18px}.toy-card{border-radius:20px;padding:27px}.toy-card h3{font-size:21px}.toy-card>p{font-size:12px}.toy-index,.toy-tag{font-size:9px}.toy-bottom>span,.toy-bottom>output{font-size:11px}.toy-bottom .small-button{font-size:12px}.achievement-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:13px}.achievement{border-radius:17px;padding:24px 8px 20px}.achievement h3{font-size:12px}.achievement p{font-size:9px}.storage-note{font-size:11px}.goodbye{padding-block:65px}.goodbye h2{font-size:40px}.goodbye p:not(.eyebrow){font-size:13px}
.slow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:34px}.lab-card{min-width:0;display:flex;flex-direction:column;padding:29px;background:var(--surface);border:1px solid var(--line);border-radius:var(--lab-radius)}.lab-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.lab-chip{font-size:9px;color:var(--muted)}.lab-card h3{font-size:25px;font-weight:650;letter-spacing:-.8px;margin:24px 0 11px}.lab-description{font-size:12px;line-height:1.9;margin:0;color:var(--muted)}.lab-actions{display:flex;align-items:center;justify-content:center;gap:11px;margin-top:auto;padding-top:23px;flex-wrap:wrap}.lab-actions .button{padding:12px 19px;font-size:12px;gap:10px}.lab-actions .small-button{padding:12px 15px;font-size:11px}.lab-footnote{font-size:10px;line-height:1.8;text-align:center;color:var(--muted);margin:17px 0 0}.focus-task{margin-top:2px}.focus-task input{border:0;border-bottom:1px solid var(--line);padding:10px 0 12px;width:100%;color:var(--ink);background:transparent;outline:none;font-size:12px}.focus-task input:focus{border-bottom-color:#99ad71}.focus-modes{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:17px}.focus-modes>button{padding:7px 10px;border:1px solid var(--line);border-radius:20px;font-size:9px}.focus-modes>button.selected{background:#e9eed2;color:#46592e;border-color:#bac995}.custom-minutes{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:4px;margin-left:auto}.custom-minutes input{width:42px;padding:6px 2px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink);font:11px var(--mono);text-align:center;appearance:textfield}.custom-minutes input::-webkit-inner-spin-button{appearance:none}.focus-clock{position:relative;width:218px;height:218px;margin:27px auto 6px}.focus-clock svg{width:100%;height:100%;transform:rotate(-90deg)}.clock-track{fill:none;stroke:var(--soft);stroke-width:6}.clock-progress{fill:none;stroke:#a9bf70;stroke-width:6;stroke-linecap:round;stroke-dasharray:622.04;stroke-dashoffset:0;transition:stroke-dashoffset .3s linear}.focus-clock>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px}.focus-clock output{font:52px/1 var(--mono);font-weight:500;letter-spacing:-3px;font-variant-numeric:tabular-nums}.focus-clock span{font-size:10px;color:var(--muted)}
.breathe-card{background:linear-gradient(145deg,#e8e3f0,#dce6ed);color:#3a3e46;border-color:#ccd3db}.breathe-card .toy-index,.breathe-card .lab-chip,.breathe-card .lab-description,.breathe-card .lab-footnote{color:#74808b}.breathe-card .button-dark{background:#3a3e46;color:#f6f8f1;border-color:#3a3e46}.breathe-card .small-button{background:#ffffff66;border-color:#afbac8;color:#526270}.breath-stage{height:266px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:6px -12px 0}.breath-orbit{position:absolute;width:197px;height:197px;border:1px solid #6a879933;border-radius:50%}.orbit-b{width:233px;height:233px;border-style:dashed;border-color:#6a879922}.breath-core{width:151px;height:151px;border-radius:50%;background:radial-gradient(circle at 34% 24%,#f5f6eb,#c3d3e1 45%,#9eb4c8);box-shadow:0 0 50px #8598c530,inset -5px -6px 16px #768ca33d;display:grid;place-items:center;transform:scale(.75);will-change:transform}.breath-core>span{font-size:0;width:38px;height:38px;background:url('/assets/spark.svg') center/contain no-repeat;opacity:.4}.breath-caption{position:absolute;inset:auto 0 0;text-align:center;display:flex;flex-direction:column;gap:6px}.breath-caption strong{font-size:16px;font-weight:550}.breath-caption>span{font-size:10px;color:#74808b}.breath-rhythms{display:flex;justify-content:center;gap:6px;margin-top:20px}.breath-rhythms button{font-size:9px;padding:7px 10px;border:1px solid #bec9d0;border-radius:20px;color:#74808b}.breath-rhythms button.selected{background:#ffffff88;color:#46566a;border-color:#8fa4b8}
.sound-card{background:#283c46;color:#edf4ee;border-color:#324b57}.sound-card .lab-chip,.sound-card .toy-index,.sound-card .lab-description,.sound-card .lab-footnote{color:#a9bdc5}.sound-card .button-dark{background:#e5eedc;color:#30414a;border-color:#e5eedc}.sound-scene{position:relative;height:171px;margin:23px -5px 19px;overflow:hidden;border:1px solid #476171;border-radius:15px;background:linear-gradient(#405d70,#334c5a)}.scene-moon{position:absolute;right:43px;top:24px;width:30px;height:30px;border-radius:50%;background:#f0dda2;box-shadow:0 0 25px #f0dda244}.scene-mountain{position:absolute;bottom:0;left:-10%;width:120%;height:100px;clip-path:polygon(0 100%,0 85%,20% 30%,33% 60%,49% 10%,69% 56%,86% 20%,100% 75%,100% 100%)}.mountain-back{background:#749296;height:106px;bottom:15px}.mountain-front{background:#a2b3a6;transform:translateX(-20px) scaleX(1.3)}.scene-window{position:absolute;bottom:30px;left:54%;width:15px;height:15px;background:#efd593;box-shadow:0 0 20px #efd593aa}.scene-window::before{content:"";position:absolute;inset:-7px -8px;background:#324c52;z-index:-1}.rain-line{position:absolute;width:1px;height:25px;background:#c3e3e755;top:13px;transform:rotate(16deg);opacity:.4}.rain-one{left:23%}.rain-two{left:42%;top:50px}.rain-three{left:67%;top:70px}.sound-card.playing .rain-line{animation:soft-rain 2s linear infinite}.sound-card.playing .rain-two{animation-delay:-.7s}.sound-card.playing .rain-three{animation-delay:-1.2s}.scene-star{position:absolute;width:3px;height:3px;border-radius:50%;background:#bedadd}.star-one{left:26%;top:32px}.star-two{left:52%;top:17px}.star-three{left:66%;top:48px}.sound-scene-caption{position:absolute;bottom:12px;left:14px;font:6px var(--mono);letter-spacing:1.4px;color:#32494d}.sound-mixer{display:flex;flex-direction:column;gap:17px}.sound-mixer label{display:grid;grid-template-columns:65px 1fr 30px;align-items:center;gap:12px}.sound-mixer label>span{font-size:11px}.sound-mixer small{display:block;font:6px var(--mono);color:#a9bdc5;letter-spacing:1px;margin-top:3px}.sound-mixer input{width:100%;min-width:0;accent-color:#b4cda2;cursor:pointer}.sound-mixer output{font:9px var(--mono);color:#a9bdc5}.audio-state{font-size:9px;color:#b4c9cb}.sound-card .lab-actions{justify-content:space-between}.sound-card .lab-actions .button{font-size:11px;padding-inline:15px}
.creative-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;margin-top:34px}.palette-card{grid-column:1/-1}.color-palette{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-radius:16px;overflow:hidden;margin-top:27px;min-height:238px}.swatch{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:19px;transition:background .25s}.swatch>small{font:8px var(--mono);opacity:.65;letter-spacing:1px}.swatch-lock{position:absolute;top:14px;right:14px;width:31px;height:31px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font-size:13px;opacity:.65}.swatch-lock[aria-pressed="true"]{opacity:1;box-shadow:0 0 0 3px #fff4}.swatch-hex{align-self:flex-start;margin-top:auto;padding:12px 0 3px;font:18px var(--mono);font-weight:550;letter-spacing:-.4px}.swatch-hex:hover{text-decoration:underline;text-underline-offset:5px}.palette-detail{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:19px}.palette-detail>span:first-child{font-size:12px;color:var(--muted)}.palette-detail>span:last-child{font:9px var(--mono);color:var(--muted)}.palette-actions{justify-content:flex-start;padding-top:23px;margin-top:0}.palette-card .lab-footnote{text-align:left}.workspace-open{font-size:10px;white-space:nowrap;color:var(--muted);padding:5px 0;border-bottom:1px solid var(--line)}.workspace-open:hover{color:var(--ink);border-color:var(--ink)}.pixel-editor{margin-top:24px;display:flex;gap:16px;align-items:flex-start;justify-content:center}.pixel-editor canvas{width:min(100%,360px);max-width:calc(100% - 42px);height:auto;border:1px solid #d8d3c7;background:#fffcf5;border-radius:8px;image-rendering:pixelated;touch-action:none;cursor:crosshair}.pixel-tools{width:32px;display:flex;flex-direction:column;gap:12px;flex-shrink:0}.pixel-palette{display:flex;flex-direction:column;gap:8px}.pixel-color{width:27px;height:27px;border:3px solid var(--surface);outline:1px solid var(--line);border-radius:7px;padding:0}.pixel-color.selected{outline:2px solid #9477df;outline-offset:1px}.pixel-eraser{padding:6px 3px;font-size:8px!important;line-height:1.7;word-break:keep-all;border-radius:5px}.pixel-eraser[aria-pressed="true"]{background:#e9dcf5;color:#504463;border-color:#a693c4}.pixel-actions{justify-content:flex-start;gap:16px}.pixel-actions .button{margin-left:auto}.pixel-actions .text-button{font-size:11px}.mood-options{display:flex;justify-content:space-between;gap:7px;margin-top:24px}.mood-options button{flex:1;min-width:0;padding:11px 3px;border-radius:12px;border:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:8px}.mood-options button.selected{border-color:#b49bcf;background:#ecdefa44}.mood-options span{font-family:"Bugtian Play Emoji","Apple Color Emoji","Segoe UI Emoji",var(--font);font-size:25px;line-height:1}.mood-options small{font-size:9px;color:var(--muted)}.journal-writing{margin-top:18px;display:block;position:relative}.journal-writing textarea{resize:vertical;min-height:110px;max-height:230px;width:100%;padding:16px 16px 30px;font-size:13px;line-height:1.9;border:1px solid var(--line);background:var(--page);color:var(--ink);border-radius:13px}.journal-writing>span{position:absolute;bottom:14px;right:13px;font:8px var(--mono);color:var(--muted)}.journal-card .lab-actions{justify-content:space-between;margin-top:0;padding-top:15px}.journal-local{font-size:9px;color:var(--muted)}.journal-list{margin-top:20px;display:flex;flex-direction:column;gap:10px;max-height:239px;overflow:auto;padding-right:3px}.journal-note{position:relative;display:flex;gap:12px;background:var(--soft);border:1px solid var(--line);border-radius:13px;padding:15px 36px 15px 13px}.journal-note-icon{font-family:"Bugtian Play Emoji","Apple Color Emoji","Segoe UI Emoji",var(--font);font-size:21px;line-height:1.4}.journal-note-body{min-width:0}.journal-note p{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.journal-note small{display:block;color:var(--muted);font:8px var(--mono);margin-top:8px}.journal-note button{position:absolute;right:9px;top:8px;font-size:17px;line-height:1;padding:3px;color:var(--muted)}
/* The same live game fills the window; no remount and no lost progress. */
.game-dialog{--board-size:min(540px,calc(100dvh - 330px),calc(100vw - 96px));width:min(900px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 28px);padding:26px;border-radius:24px}.game-surface{display:flex;flex-direction:column;min-width:0}.dialog-header{gap:24px}.dialog-header h2{font-size:28px}.dialog-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}.view-button{padding:10px 14px;border:1px solid var(--line);border-radius:9px;background:var(--soft);font-size:11px;white-space:nowrap}.view-button:hover{background:var(--purple);color:#282a25}.game-instructions{font-size:12px}.score-bar{padding:12px 17px;border-radius:12px;font-size:12px}.score-bar strong{font-size:26px}.score-bar>div>span{font-size:11px}.game-stage{width:100%;gap:17px;justify-content:center;flex:1}.game-canvas,.tile-board,.memory-board,.star-board,.ttt-board{width:var(--board-size);max-width:100%;flex-shrink:0}.game-canvas{border-radius:13px}.tile-board{gap:clamp(6px,calc(var(--board-size)/50),14px);padding:clamp(7px,calc(var(--board-size)/45),15px);border-radius:14px}.number-tile{font-size:clamp(23px,calc(var(--board-size)/11),63px);border-radius:8px}.number-tile[data-value="128"],.number-tile[data-value="256"]{font-size:clamp(22px,calc(var(--board-size)/14),50px)}.number-tile[data-value="512"],.number-tile[data-value="1024"],.number-tile[data-value="2048"]{font-size:clamp(20px,calc(var(--board-size)/17),44px)}.number-tile.big-tile{font-size:clamp(17px,calc(var(--board-size)/20),38px)}.memory-board{gap:clamp(7px,calc(var(--board-size)/45),15px)}.memory-tile{font-size:clamp(27px,calc(var(--board-size)/8),94px);border-radius:14px}.memory-tile:not(.flipped):not(.matched){background-size:clamp(22px,calc(var(--board-size)/11),65px)}.star-board{gap:clamp(9px,calc(var(--board-size)/26),25px);padding:clamp(13px,calc(var(--board-size)/18),34px);border-radius:18px}.star-hole{font-size:clamp(36px,calc(var(--board-size)/6),115px)}.ttt-board{gap:clamp(8px,calc(var(--board-size)/40),16px)}.ttt-cell{font-size:clamp(42px,calc(var(--board-size)/4.5),140px);border-radius:13px}.reaction-pad{min-height:calc(var(--board-size)*.75);max-width:1100px;border-radius:19px;gap:20px}.reaction-pad strong{font-size:clamp(29px,4vw,48px)}.reaction-pad.result strong{font-size:clamp(43px,6vw,78px)}.reaction-pad>span{font-size:14px}.dpad{grid-template-columns:repeat(3,43px);gap:6px}.dpad>button{width:43px;height:35px}.game-pad-row{gap:25px}.game-controls .button,.game-controls .small-button{font-size:12px;padding:12px 19px}.dialog-footer{font-size:10px;padding-top:13px}.game-dialog.immersive{--board-size:min(760px,calc(100dvh - 225px),calc(100vw - 64px));inset:0;margin:0;width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0;padding:0}.immersive .game-surface,.game-surface:fullscreen{padding:17px 28px;height:100dvh;overflow:auto;background:var(--surface)}.game-surface:fullscreen{width:100vw}.immersive .game-instructions{display:none}.immersive .score-bar{margin-top:12px;padding-block:9px}.immersive .game-stage{padding-top:13px;gap:13px}.immersive .dialog-footer{padding-top:9px;margin-top:12px}.immersive[data-game="reaction"] .reaction-pad{min-height:min(600px,calc(100dvh - 230px));width:min(1100px,100%)}
.workspace-dialog{width:min(1200px,calc(100% - 30px));max-width:none;max-height:calc(100dvh - 26px);padding:26px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:22px;overflow:auto}.workspace-dialog::backdrop{background:#171d16a0;backdrop-filter:blur(7px)}.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.workspace-header h2{font-size:25px;margin:6px 0 0;font-weight:650}.workspace-dialog .lab-card,.workspace-dialog .toy-card{border:0;padding:0;background:transparent}.workspace-dialog .lab-heading,.workspace-dialog .toy-heading,.workspace-dialog .lab-card>h3,.workspace-dialog .lab-card>.lab-description,.workspace-dialog .toy-card>h3,.workspace-dialog .toy-card>p{display:none}.workspace-dialog .pixel-editor{margin-top:0;gap:24px}.workspace-dialog .pixel-editor canvas{width:min(680px,calc(100dvh - 230px));max-width:calc(100vw - 132px)}.workspace-dialog .pixel-palette{gap:12px}.workspace-dialog .pixel-color{width:33px;height:33px}.workspace-dialog .pixel-tools{width:39px}.workspace-dialog .pixel-actions{justify-content:center;gap:24px}.workspace-dialog .pixel-actions .button{margin-left:0}.workspace-dialog .drawing-tools{margin-top:0}.workspace-dialog #doodle-canvas{width:min(100%,1100px);max-height:calc(100dvh - 230px);object-fit:contain;height:auto}.workspace-surface:fullscreen{padding:24px 32px;background:var(--surface);color:var(--ink);width:100vw;height:100dvh;overflow:auto}.workspace-surface:fullscreen .pixel-editor canvas{width:min(760px,calc(100dvh - 220px));max-width:calc(100vw - 120px)}
@keyframes soft-rain{from{transform:translateY(-40px) rotate(16deg);opacity:0}30%{opacity:.5}to{transform:translateY(135px) rotate(16deg);opacity:0}}
@media(max-width:1160px){.wrap{width:calc(100% - 72px)}.hero{gap:30px}.hero h1{font-size:69px}.experience-hub>a{gap:17px;padding:23px}.experience-hub strong{font-size:17px}.experience-hub p{font-size:9px}.hub-icon{width:48px;height:48px}.hub-slow::after{top:14px;left:23px}.section-heading h2{font-size:31px}.game-art{height:207px}.game-title-row h3{font-size:19px}.game-info{padding:20px}.game-info>p{font-size:11px}.game-meta{font-size:9px}.slow-grid,.creative-grid{gap:19px}.lab-card{padding:24px}.lab-card h3{font-size:23px}.lab-chip{font-size:8px}.focus-modes{gap:4px}.focus-modes>button{padding:7px 8px;font-size:8px}.custom-minutes{margin-left:0}.sound-card .lab-actions{justify-content:center}.audio-state{display:none}.achievement-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.wrap{width:calc(100% - 48px)}.header nav{gap:20px;font-size:12px}.hero{gap:22px}.hero h1{font-size:57px}.hero-description{font-size:13px}.hero-actions .button{font-size:11px;padding:14px 17px}.experience-hub>a{padding:22px 17px;gap:12px}.experience-hub strong{font-size:15px}.experience-hub p{font-size:8px}.hub-icon{width:40px;height:40px;border-radius:12px}.hub-slow::before{width:23px;height:23px}.hub-slow::after{top:11px;left:19px}.hub-create{background-size:24px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.slow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sound-card{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:40px}.sound-card .lab-heading,.sound-card>h3,.sound-card>.lab-description{grid-column:1}.sound-card .sound-scene{grid-column:1;grid-row:4/7;margin-top:20px;height:200px}.sound-card .sound-mixer{grid-column:2;grid-row:2/5;align-self:center}.sound-card .lab-actions{grid-column:2;grid-row:5;justify-content:flex-start;padding-top:10px}.sound-card .lab-footnote{grid-column:2;grid-row:6;text-align:left}.sound-card .audio-state{display:inline}.section{padding-top:64px}.creative-grid{grid-template-columns:1fr 1fr}.lab-card h3{font-size:24px}.pixel-editor{gap:12px}.pixel-editor canvas{max-width:calc(100% - 40px)}.pixel-tools{width:29px}.pixel-color{width:24px;height:24px}.pixel-actions{gap:12px}.pixel-actions .button{margin-left:0;font-size:11px}.mood-options span{font-size:22px}.mood-options small{font-size:8px}.journal-local{display:none}.swatch{padding:16px}.swatch-hex{font-size:15px}.swatch-lock{right:10px;top:12px;width:28px;height:28px}.toy-card{padding:23px}.toy-card>p{font-size:11px}.game-dialog{padding:22px}.dialog-header h2{font-size:25px}.view-button{font-size:10px;padding:9px 12px}.game-instructions{font-size:11px}.game-dialog.immersive{--board-size:min(700px,calc(100dvh - 225px),calc(100vw - 48px))}}
@media(max-width:600px){html{scroll-padding-top:120px}.wrap{width:calc(100% - 36px)}.header{height:101px;flex-wrap:wrap;gap:10px;padding-top:12px;padding-bottom:10px}.header nav{order:3;flex-basis:100%;justify-content:space-between;font-size:11px;gap:15px}.header nav>a{display:inline!important;padding:3px 0}.header-controls{margin-left:auto}.hero{padding-top:36px;padding-bottom:36px;gap:22px}.hero h1{font-size:62px}.hero-description{font-size:14px}.hero-actions .button{font-size:12px;padding:15px 18px}.hero-bottom>p{font-size:9px}.hero-visual{max-width:420px;justify-self:center}.experience-hub{margin-top:23px;grid-template-columns:1fr;border-radius:17px}.experience-hub>a{padding:19px 21px;gap:17px}.experience-hub>a+a{border-left:0;border-top:1px solid var(--line)}.hub-icon{width:46px;height:46px}.hub-slow::after{top:14px;left:22px}.experience-hub>a>div{flex:1}.experience-hub strong{font-size:17px;margin-top:3px}.experience-hub strong>span{float:right}.experience-hub small{font-size:9px}.experience-hub p{font-size:10px;margin-top:5px}.section{padding-top:51px}.section-heading h2{font-size:28px;line-height:1.5}.section-description{font-size:12px}.section-seal{font-size:10px;padding:10px 14px}.game-grid{gap:14px}.game-art{height:156px}.game-badge{font-size:6px;left:10px;top:11px}.game-info{padding:14px 12px}.game-title-row h3{font-size:15px}.game-info>p{font-size:10px}.game-meta{font-size:8px;gap:7px}.art-caption{font-size:4px;left:10px;bottom:11px}.game-card{border-radius:15px}.break-banner{padding:22px;margin-top:30px;border-radius:16px}.break-banner strong{font-size:13px}.slow-grid{grid-template-columns:1fr;gap:18px;margin-top:26px}.lab-card{padding:26px;border-radius:20px}.lab-heading{gap:12px}.lab-chip{font-size:9px}.lab-card h3{font-size:25px;margin-top:22px}.lab-description{font-size:12px}.lab-footnote{font-size:10px}.focus-task input{font-size:16px}.focus-modes>button{font-size:10px;padding:8px 11px}.custom-minutes{margin-left:auto;font-size:9px}.custom-minutes input{font-size:14px;width:40px}.focus-clock{margin-top:29px;margin-bottom:8px;width:230px;height:230px}.focus-clock output{font-size:58px}.focus-clock span{font-size:11px}.lab-actions .button{font-size:12px;padding:13px 19px}.lab-actions .small-button{font-size:11px}.breath-stage{height:276px}.breath-rhythms button{font-size:10px}.sound-card{display:flex;grid-column:auto}.sound-card .sound-scene{height:185px;margin:25px 0 24px}.sound-card .lab-actions{justify-content:space-between;padding-top:24px}.sound-card .lab-footnote{text-align:center}.sound-card .sound-mixer{gap:20px}.sound-mixer label>span{font-size:12px}.sound-mixer output{font-size:10px}.sound-card .lab-actions .button{font-size:12px}.creative-grid{grid-template-columns:1fr;gap:18px;margin-top:26px}.palette-card{grid-column:auto}.color-palette{min-height:220px;margin-top:22px}.swatch{padding:10px;min-width:0}.swatch>small{font-size:6px;letter-spacing:0;writing-mode:vertical-rl}.swatch-lock{right:calc(50% - 12px);top:45px;width:25px;height:25px;font-size:12px}.swatch-hex{font-size:9px;letter-spacing:-.5px;writing-mode:vertical-rl;margin-bottom:4px;align-self:center;transform:rotate(180deg)}.palette-detail{margin-top:18px;gap:12px}.palette-detail>span:first-child{font-size:11px}.palette-detail>span:last-child{font-size:8px}.palette-actions{justify-content:space-between;gap:8px;padding-top:20px}.palette-actions .button{padding:12px 14px;font-size:11px}.palette-actions .small-button{padding:12px 10px;font-size:10px}.pixel-editor{margin-top:24px;gap:15px}.pixel-tools{width:30px}.pixel-palette{gap:9px}.pixel-color{width:27px;height:27px}.pixel-editor canvas{width:100%;max-width:calc(100% - 45px)}.pixel-actions{gap:14px;justify-content:space-between}.pixel-actions .button{margin-left:0;padding:11px 13px;font-size:11px}.pixel-actions .small-button{font-size:10px;padding:11px 10px}.pixel-actions .text-button{font-size:10px}.mood-options{gap:8px}.mood-options button{padding:12px 3px}.mood-options span{font-size:27px}.mood-options small{font-size:9px}.journal-writing textarea{font-size:16px;min-height:140px}.journal-writing>span{font-size:9px}.journal-local{display:inline;font-size:8px}.journal-list{max-height:258px}.journal-note p{font-size:13px}.journal-note small{font-size:9px}.toy-card{padding:23px;border-radius:20px}.toy-card h3{font-size:22px}.toy-card>p{font-size:12px}.toy-bottom>span,.toy-bottom>output{font-size:10px}.toy-index,.toy-tag{font-size:9px}.achievement-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.achievement{padding:19px 8px 16px}.achievement h3{font-size:10px}.achievement p{font-size:8px}.goodbye{padding-block:40px}.goodbye h2{font-size:27px}.goodbye p:not(.eyebrow){font-size:11px}.game-dialog{--board-size:min(550px,calc(100dvh - 300px),calc(100vw - 58px));width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:18px;border-radius:18px}.dialog-header{gap:11px}.dialog-header>div:first-child{min-width:0;flex:1}.dialog-header .eyebrow{font-size:6px;letter-spacing:.7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}.dialog-header h2{font-size:20px;white-space:nowrap}.dialog-tools{gap:5px}.view-button{padding:8px 9px;font-size:9px;border-radius:7px}.close-game{width:29px;height:29px;font-size:17px}.game-instructions{font-size:10px;margin:13px 0}.score-bar{padding:10px 12px;font-size:10px}.score-bar strong{font-size:22px}.score-bar>div>span{font-size:9px}.game-stage{padding-top:16px;gap:13px}.dialog-footer{font-size:8px;margin-top:16px;padding-top:11px}.game-controls .button,.game-controls .small-button{padding:10px 14px;font-size:11px}.game-pad-row{gap:14px}.dpad{grid-template-columns:repeat(3,36px);gap:5px}.dpad>button{width:36px;height:30px}.game-dialog.immersive{--board-size:min(650px,calc(100dvh - 215px),calc(100vw - 26px))}.immersive .game-surface,.game-surface:fullscreen{padding:13px}.immersive .dialog-header h2{font-size:19px}.immersive .dialog-footer{font-size:7px}.reaction-pad strong{font-size:28px}.reaction-pad>span{font-size:12px}.workspace-dialog{width:calc(100% - 14px);padding:17px;border-radius:17px;max-height:calc(100dvh - 14px)}.workspace-header{gap:12px;margin-bottom:17px}.workspace-header h2{font-size:20px}.workspace-header .eyebrow{font-size:6px;letter-spacing:.5px}.workspace-dialog .pixel-editor{gap:13px}.workspace-dialog .pixel-editor canvas{width:100%;max-width:calc(100% - 47px)}.workspace-dialog .pixel-tools{width:32px}.workspace-dialog .pixel-color{width:27px;height:27px}.workspace-dialog .pixel-palette{gap:9px}.workspace-dialog .pixel-actions{gap:11px;justify-content:space-between}.workspace-dialog #doodle-canvas{max-height:calc(100dvh - 220px)}.workspace-surface:fullscreen{padding:16px}.workspace-surface:fullscreen .pixel-editor canvas{width:min(700px,calc(100dvh - 220px));max-width:calc(100% - 47px)}}
@media(max-width:370px){.wrap{width:calc(100% - 28px)}.hero h1{font-size:55px}.hero-description{font-size:12px}.hero-actions .button{padding:13px 14px;font-size:11px}.section-heading h2{font-size:25px}.game-title-row h3{font-size:13px}.game-art{height:139px}.game-info{padding:13px 10px}.game-info>p{font-size:9px}.lab-card{padding:22px}.focus-modes>button{font-size:9px;padding:7px 9px}.custom-minutes{margin-left:0}.palette-actions .button{padding-inline:10px}.palette-actions .small-button{padding-inline:8px}.pixel-actions{gap:9px}.pixel-actions .small-button{font-size:9px;padding-inline:8px}.pixel-actions .button{font-size:10px;padding-inline:10px}.mood-options{gap:6px}.mood-options small{font-size:8px}.journal-local{display:none}.dialog-header h2{font-size:18px}.dialog-tools{gap:4px}.view-button{font-size:8px;padding:8px 7px}.dialog-header .eyebrow{font-size:5px}.game-dialog{padding:15px}.game-dialog.immersive{--board-size:min(600px,calc(100dvh - 220px),calc(100vw - 26px))}}
@media(max-height:540px) and (min-width:600px){.game-dialog,.game-dialog.immersive{--board-size:min(440px,calc(100dvh - 125px));width:calc(100vw - 16px);max-height:calc(100dvh - 12px);padding:12px}.game-dialog.immersive{width:100vw;height:100dvh;padding:0}.immersive .game-surface,.game-surface:fullscreen{padding:12px}.dialog-header h2{font-size:20px}.dialog-header .eyebrow,.game-instructions,.dialog-footer{display:none}.dialog-header{gap:12px}.score-bar{padding:7px 12px;font-size:10px;margin-top:8px}.score-bar strong{font-size:19px}.game-stage{display:grid;grid-template-columns:auto 220px;justify-content:center;align-items:center;gap:24px;padding-top:11px}.game-pad-row{flex-direction:column}.game-stage>.game-controls{flex-direction:column}.game-stage>.mode-select{grid-column:2;grid-row:1;align-self:start}.game-stage>.ttt-board{grid-column:1;grid-row:1}.game-stage>#ttt-reset{grid-column:2;grid-row:1;align-self:end}.game-stage>.reaction-pad{grid-column:1/-1;min-height:calc(100dvh - 125px);height:auto}.immersive[data-game="reaction"] .reaction-pad{min-height:calc(100dvh - 125px)}.workspace-dialog .pixel-editor canvas{width:calc(100dvh - 145px)}.workspace-dialog .pixel-palette{display:grid;grid-template-columns:repeat(2,27px)}.workspace-dialog .pixel-tools{width:64px}.workspace-dialog .lab-footnote{display:none}}
@media(prefers-reduced-motion:reduce){.breath-core{will-change:auto}.sound-card.playing .rain-line{animation:none}.clock-progress{transition:none}}
button,input,textarea,canvas{scroll-margin-top:130px;scroll-margin-bottom:45px}.swatch-lock::before{content:"";position:absolute;width:10px;height:8px;border:1.5px solid currentColor;border-radius:2px;left:calc(50% - 5px);top:calc(50% - 1px)}.swatch-lock::after{content:"";position:absolute;width:7px;height:7px;border:1.5px solid currentColor;border-bottom:0;border-radius:5px 5px 0 0;left:calc(50% - 3.5px);top:calc(50% - 7px);transform:translateX(3px) rotate(28deg);transform-origin:left bottom}.swatch-lock[aria-pressed="true"]::after{transform:none}
.hero-visual{width:100%}
.game-dialog.immersive{--page:#1f2924;--surface:#1f2924;--ink:#edf1e6;--muted:#a5b4a5;--line:#405043;--soft:#2c3a30;background:var(--surface);color:var(--ink)}
@media(min-width:901px){.game-stage{display:grid;grid-template-columns:minmax(0,var(--board-size)) 180px;gap:25px;align-items:center;align-content:center}.game-pad-row{flex-direction:column;gap:24px}.game-stage>.game-controls{flex-direction:column}.game-stage>.small-button{justify-self:center}.game-stage>.mode-select{grid-column:2;grid-row:1;align-self:start;flex-direction:column;padding-top:12px}.game-stage>.ttt-board{grid-column:1;grid-row:1}.game-stage>#ttt-reset{grid-column:2;grid-row:1;align-self:end;margin-bottom:12px}.game-stage>.reaction-pad{grid-column:1/-1}.immersive .game-stage{grid-template-columns:minmax(0,var(--board-size)) 200px;gap:35px}.immersive[data-game="reaction"] .game-stage{grid-template-columns:1fr}}
