@charset "UTF-8";
.embedded .site-header,.embedded .intro,.embedded .clinic-strip,.embedded footer{display:none}.embedded main{max-width:none;padding:8px 12px 20px}.embedded .play-layout{display:block;max-width:500px;margin:auto}
:root{--ink:#eaf6fc;--cyan:#00d2dc;--muted:#99afc1;--paper:#03111f;--panel:#071827;--line:#1b3348;--radius:24px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 78% 26%,#06304488,transparent 48%)}a{color:inherit}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible,.stage:focus-visible{outline:3px solid #67e8f9;outline-offset:4px}.skip{position:fixed;top:-60px;left:12px;z-index:2000;background:var(--cyan);color:#03111f;padding:12px}.skip:focus{top:10px}.site-header{max-width:1184px;margin:auto;padding:22px 40px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #22d3ee1a;background:#020d18d9}.brand{display:flex;text-decoration:none;flex-shrink:0}.brand img{display:block;width:224px;height:80px;object-fit:contain}.return-link{font-size:12px;font-weight:600;text-decoration:none;display:flex;gap:12px;align-items:center;color:#b8cddd}.return-link:hover{color:var(--cyan)}.return-link span{font-size:18px}main{max-width:1184px;margin:auto;padding:42px 40px 24px}.play-layout{display:grid;grid-template-columns:1fr 430px;gap:70px;align-items:start;max-width:1030px;margin:auto}.intro{padding-top:30px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;display:flex;align-items:center;gap:8px;color:#67e8f9}.eyebrow>span{height:6px;width:6px;background:var(--cyan);border-radius:50%}h1{font-size:clamp(38px,4.2vw,56px);line-height:1.14;letter-spacing:-2.4px;margin:24px 0 20px;font-weight:650}h1>span{color:var(--cyan)}.lead{color:var(--muted);font-size:15px;line-height:1.8;max-width:365px;margin:0}.benefits{display:flex;gap:15px;margin-top:22px;flex-wrap:wrap}.benefits span{font-size:11px;color:#b9dae5;display:flex;align-items:center;gap:5px}.benefits span::before{content:"✓";color:var(--cyan);font-size:12px;font-weight:700}.instructions{margin-top:33px;border-top:1px solid var(--line);padding-top:24px;display:grid;gap:19px}.instruction{display:flex;align-items:center;gap:13px}.instruction-icon{height:37px;width:37px;border:1px solid #22d3ee33;border-radius:10px;display:grid;place-items:center;color:var(--cyan);font-size:21px;flex-shrink:0;background:#09243a}.instruction p{margin:0}.instruction strong{display:block;font-size:13px;font-weight:650}.instruction p>span{font-size:12px;color:var(--muted);display:block;margin-top:4px;line-height:1.5}.worlds{margin-top:30px}.worlds>p{font-size:8px;letter-spacing:1.4px;color:#7897ad;font-weight:700}.worlds ol{list-style:none;padding:0;margin:15px 0 0;display:grid;gap:11px}.worlds li{display:flex;align-items:center;gap:10px;font-size:12px;color:#b8cfde}.worlds li>span{font-size:9px;color:var(--cyan);font-variant-numeric:tabular-nums}.worlds li>small{font-size:9px;margin-left:auto;color:#7193aa}.small-note{font-size:10px;color:#6e8aa1;margin-top:23px;line-height:1.5}.game-card{background:linear-gradient(150deg,#09243a,#061421 65%);border:1px solid #22d3ee40;border-radius:var(--radius);padding:21px;box-shadow:0 18px 60px #0004;overflow:hidden}.game-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.game-tag{font-size:8px;letter-spacing:1.5px;color:#749ab2;font-weight:650}h2{margin:5px 0 0;font-size:23px;letter-spacing:-.5px;font-weight:650}.game-top h2>span{font-size:15px;color:var(--cyan);margin-left:3px}.fullscreen{display:flex;align-items:center;gap:7px;min-height:42px;padding:9px 12px;border-radius:10px;background:#0b2c40;border:1px solid #22d3ee55;color:#9beef3;font-size:11px;font-weight:650;white-space:nowrap}.fullscreen:hover{background:#10445a}.fullscreen>span:first-child{font-size:22px;line-height:1}.scoreboard{display:flex;gap:24px;padding:15px 0 12px}.scoreboard>div{display:flex;align-items:center;gap:9px}.scoreboard span{font-size:8px;letter-spacing:1px;color:#84a7bd;font-weight:700}.scoreboard strong{font-size:21px;font-variant-numeric:tabular-nums;font-weight:650;color:#e7f9ff}.best-score{border-left:1px solid var(--line);padding-left:24px}.phase-track{margin-bottom:12px}.phase-track>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.phase-track span:first-child{font-size:8px;letter-spacing:.8px;color:#8bdeeb;font-weight:750}.phase-track span:last-child{font-size:8px;color:#7d9cb2}progress{display:block;width:100%;height:3px;border:0;border-radius:3px;overflow:hidden;background:#143048;accent-color:var(--cyan)}progress::-webkit-progress-bar{background:#143048}progress::-webkit-progress-value{background:var(--cyan)}progress::-moz-progress-bar{background:var(--cyan)}.play-area{min-height:0;width:100%;display:grid;place-items:center}.stage{position:relative;background:#174c67;width:100%;aspect-ratio:420/520;overflow:hidden;border-radius:16px;touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer}canvas{width:100%;height:100%;display:block}.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#03111f10,#03111f77)}.overlay[hidden]{display:none}.overlay-box{width:calc(100% - 40px);max-width:290px;text-align:center;padding:23px 20px 20px;background:#061827f2;border:1px solid #51cddb40;border-radius:20px;box-shadow:0 8px 30px #0003;backdrop-filter:blur(5px)}.overlay-label{font-size:8px;letter-spacing:1.5px;font-weight:750;color:var(--cyan)}.overlay-box h3{font-size:25px;letter-spacing:-.9px;font-weight:650;margin:9px 0 11px;color:#e8faff}.overlay-box p{font-size:12px;line-height:1.8;color:#99b7c7;margin:0 0 20px;white-space:pre-line}.primary{width:100%;min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 17px;border:0;background:var(--cyan);color:#03111f;border-radius:10px;font-size:12px;font-weight:750}.primary:hover{background:#67e8f9}.primary>span:last-child{font-size:18px}.overlay-tip{font-size:9px;color:#7394a9;display:block;margin-top:13px;line-height:1.5}.in-game-tip{position:absolute;bottom:47px;left:0;right:0;text-align:center;font-size:9px;letter-spacing:2px;color:#e7faff;pointer-events:none;text-shadow:0 1px 6px #0008}.phase-banner{position:absolute;top:28px;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;text-align:center;background:#03111fe6;border:1px solid #67e8f955;border-radius:13px;padding:13px 25px;pointer-events:none;box-shadow:0 4px 20px #0003}.phase-banner span{display:block;font-size:8px;letter-spacing:2px;color:var(--cyan);font-weight:750}.phase-banner strong{display:block;font-size:18px;margin-top:4px;color:white}.controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px}.mode{margin:0;display:flex;padding:3px;border:1px solid #1d3e52;background:#04121e;border-radius:10px;gap:2px}.mode label{position:relative;cursor:pointer}.mode input{position:absolute;opacity:0;width:1px;height:1px}.mode span{font-size:11px;display:block;padding:9px 12px;border-radius:7px;color:#7093ac;font-weight:600}.mode input:checked+span{background:#103248;color:#b3f8ff}.mode input:focus-visible+span{outline:3px solid #67e8f9;outline-offset:2px}.mode input:disabled+span{opacity:.65;cursor:default}.pause{border:1px solid #284b61;background:#092137;color:#b0d4e8;font-size:11px;min-height:38px;padding:8px 10px;border-radius:9px;display:flex;align-items:center;gap:6px}.pause:disabled{opacity:.4}.keyboard-note{text-align:center;font-size:9px;color:#6b91a8;margin:13px 0 0;line-height:1.6}kbd{font-family:inherit;background:#102d41;padding:1px 4px;border-radius:3px}.storage-note{font-size:10px;color:#e5c990;line-height:1.5}.clinic-strip{display:flex;align-items:center;gap:18px;max-width:1030px;margin:45px auto 30px;background:linear-gradient(100deg,#063044,#075165,#063044);border:1px solid #22d3ee40;padding:24px 27px;border-radius:17px}.clinic-symbol{font-size:31px;color:var(--cyan)}.clinic-strip div{flex:1}.clinic-strip h2{font-size:15px;letter-spacing:-.2px;margin:0}.clinic-strip p{font-size:11px;color:#92bccb;line-height:1.7;margin:6px 0 0}.clinic-strip>a{text-decoration:none;font-size:11px;font-weight:650;display:flex;align-items:center;gap:15px;flex-shrink:0;color:#9df2f5}.clinic-strip>a>span{font-size:17px}footer{max-width:1030px;margin:auto;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:14px;padding-top:20px;font-size:10px;color:#67869f}.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}
.game-expanded{overflow:hidden}.game-card.expanded{position:fixed;inset:0;z-index:1000;width:100%;height:100vh;height:100dvh;border:0;border-radius:0;display:flex;flex-direction:column;gap:0;background:#03111f;padding:12px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom));padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));box-shadow:none}.expanded .game-top,.expanded .scoreboard,.expanded .phase-track,.expanded .controls{width:100%;max-width:560px;margin-left:auto;margin-right:auto;flex-shrink:0}.expanded .game-tag{display:none}.expanded h2{font-size:20px;margin:0}.expanded .scoreboard{padding:10px 0}.expanded .play-area{flex:1;min-height:0;overflow:hidden}.expanded .stage{flex-shrink:0;border-radius:12px}.expanded .keyboard-note{display:none}.expanded .controls{margin-top:10px}.expanded .storage-note{font-size:9px;text-align:center;margin:5px 0 0}.expanded .phase-track{margin-bottom:10px}.expanded .overlay-box{width:calc(100% - 24px);padding:20px 16px}.game-card::backdrop{background:#03111f}
@media(min-width:1150px){.play-layout{gap:100px}}
@media(max-width:900px){.play-layout{grid-template-columns:minmax(0,1fr) 380px;gap:35px}.intro{padding-top:22px}h1{font-size:42px;letter-spacing:-2px}.lead{font-size:14px}.site-header{padding:20px 24px}main{padding:30px 24px 22px}.game-card{padding:18px}.instructions{margin-top:27px}}
@media(max-width:700px){.site-header{padding:10px 18px;gap:10px}.brand img{width:175px;height:64px}.return-link{font-size:10px;max-width:115px;gap:5px;line-height:1.5}main{padding:22px 16px}.play-layout{display:flex;flex-direction:column;align-items:stretch;gap:20px;max-width:440px}.intro{padding:0 5px}.eyebrow{font-size:9px;letter-spacing:1.4px}h1{font-size:34px;line-height:1.14;letter-spacing:-1.5px;margin:13px 0 12px}h1 br{display:none}.lead{font-size:13px;line-height:1.7;max-width:100%}.benefits{margin-top:14px;gap:14px}.benefits span{font-size:10px}.instructions,.small-note,.worlds{display:none}.game-card{padding:16px;border-radius:22px}.game-tag{font-size:7px;letter-spacing:1.1px}.game-top h2{font-size:22px}.scoreboard{padding:12px 0}.clinic-strip{max-width:440px;margin:24px auto;padding:20px;gap:12px;flex-wrap:wrap}.clinic-strip div{flex-basis:calc(100% - 50px)}.clinic-strip>a{margin-left:43px}.clinic-strip h2{font-size:14px}.clinic-strip p{font-size:11px}footer{font-size:9px;padding-top:17px;max-width:440px}footer span:last-child{display:none}.game-card.expanded{border-radius:0;padding:10px;padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(10px,env(safe-area-inset-bottom))}}
@media(max-width:350px){.site-header{padding:10px 14px}.brand img{width:146px;height:55px}.return-link{font-size:9px}.game-card{padding:12px}.mode span{padding:9px}.scoreboard{gap:14px}.best-score{padding-left:14px}.overlay-box{padding:20px 14px}.overlay-box h3{font-size:22px}.fullscreen{font-size:10px;padding:9px;gap:5px}.phase-track span{font-size:7px!important}}
@media(orientation:landscape) and (max-height:580px){.game-card.expanded{display:grid;grid-template-columns:minmax(170px,230px) minmax(0,1fr);grid-template-rows:auto auto 1fr auto;column-gap:20px;padding:12px}.expanded .game-top{grid-column:1;grid-row:1}.expanded .scoreboard{grid-column:1;grid-row:2;gap:12px;flex-wrap:wrap}.expanded .best-score{padding-left:12px}.expanded .phase-track{grid-column:1;grid-row:3;align-self:start;margin-top:12px}.expanded .phase-track>div{flex-wrap:wrap}.expanded .controls{grid-column:1;grid-row:4;flex-wrap:wrap}.expanded .play-area{grid-column:2;grid-row:1/span 4;height:100%}.expanded .game-top{gap:8px}.expanded h2{font-size:17px}.expanded .fullscreen{font-size:10px;padding:8px}.expanded .overlay-box{padding:14px}.expanded .overlay-box h3{font-size:18px}.expanded .overlay-box p{font-size:10px;margin-bottom:12px}.expanded .overlay-label{font-size:7px}.expanded .overlay-tip{display:none}.expanded .primary{min-height:38px;font-size:10px}.expanded .storage-note{display:none}.expanded .phase-banner{top:12px;padding:9px 15px}.expanded .phase-banner strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
.worlds ol{gap:9px}.worlds li{font-size:11px}.world-cycle{display:block;margin-top:14px;font-size:10px;color:#7897ad;line-height:1.6}.game-signature{display:none}.expanded .play-area{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px}.expanded .game-signature{display:flex;justify-content:center;align-items:center;height:55px;flex-shrink:0;pointer-events:none}.game-signature img{display:block;width:160px;height:55px;object-fit:contain}.phase-banner img{display:block;margin:0 auto 5px;object-fit:contain}
@media(orientation:landscape) and (max-height:580px){.expanded .game-signature{height:34px}.expanded .game-signature img{width:110px;height:34px}.expanded .phase-banner img{width:20px;height:20px;margin-bottom:3px}}
.phase-track .bird-status{margin-top:9px;margin-bottom:0;gap:8px;line-height:1.5}.bird-status span:first-child{letter-spacing:.3px!important;color:#7897ad!important}.bird-status strong{font-weight:650;color:var(--bird-color,#67e8f9);letter-spacing:0}.phase-banner small{display:block;font-size:9px;color:#99b7c7;margin-top:6px}.phase-banner small[hidden]{display:none}
.math-guide{display:flex;align-items:center;gap:12px;margin:25px 0 0;min-width:0}.math-character{display:block;width:164px;height:246px;object-fit:contain;flex-shrink:0;order:2}.math-message{flex:1;min-width:0;padding:17px 15px;background:#09243a;border:1px solid #22d3ee40;border-radius:17px}.math-name{display:block;color:var(--cyan);font-size:9px;font-weight:750;letter-spacing:.9px}.math-message p{font-size:13px;line-height:1.65;color:#c5dce8;margin:10px 0 13px}.math-message a{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:#03111f;background:var(--cyan);padding:10px 13px;border-radius:9px;font-size:12px;font-weight:750;text-decoration:none}.math-message a:hover{background:#67e8f9}.math-message a>span{font-size:17px}
@media(min-width:701px) and (max-width:900px){.math-guide{gap:8px}.math-character{width:116px;height:174px}.math-message{padding:13px 11px}.math-message p{font-size:12px}.math-message p br{display:none}.math-name{font-size:8px;letter-spacing:.3px}.math-message a{padding:9px 10px;font-size:11px;gap:6px}}
@media(max-width:700px){.math-guide{margin-top:18px;gap:15px;max-width:370px}.math-character{width:98px;height:147px;order:0}.math-message{padding:13px 15px}.math-message p{font-size:12px;margin:7px 0 8px}.math-message p br{display:none}.math-name{font-size:8px;letter-spacing:.6px}.math-message a{font-size:11px;padding:9px 12px}}
@media(orientation:landscape) and (max-height:580px){.bird-status{flex-direction:column;align-items:flex-start!important}.phase-banner small{font-size:8px}}
