:root{
  --bg:#eefcff;--bg2:#cff6f5;--panel:#fbfff3;--aqua:#45d2de;--teal:#147989;--ink:#15353f;--mint:#e6ffe9;--sand:#fff7de;--orange:#ffb342;--shadow:#a0e5e9;--edge:#0f6573;--dark:#112731;
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;font:16px/1.6 "Trebuchet MS",Verdana,sans-serif;color:var(--ink);background:linear-gradient(180deg,#f3ffff 0,#e8fdfb 100%)} a{color:inherit} a:focus-visible,button:focus-visible{outline:3px solid #ff7c66;outline-offset:4px} img{max-width:100%;display:block}.pixel-art{image-rendering:pixelated;image-rendering:crisp-edges}.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}.skip{position:absolute;left:-9999px;z-index:3;background:white;padding:10px}.skip:focus{left:12px;top:12px}.site-width{width:min(1130px,calc(100% - 56px));margin:0 auto}
.subnav{background:#f7ffff;border-bottom:4px solid #a3edf2}.subnav>.site-width{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 0}.crumb{font-weight:800;font-size:.83rem;text-decoration:none}.crumb:hover{text-decoration:underline}.subnav-right{color:#3f8790;font-weight:800;letter-spacing:.16em;font-size:.7rem}.subnav-right span{font-size:1.2rem;color:#ff9c67;margin:0 8px}
.paper-hero{background:linear-gradient(180deg,#d6fbfb 0 20px,transparent 20px 100%),linear-gradient(180deg,#d5f8fa 0,#ecfffe 100%);position:relative;overflow:hidden;border-bottom:8px solid #a7eef2}.hero-layout{padding:52px 0 68px;display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center}.microheading,.section-label{text-transform:uppercase;letter-spacing:.18em;font-size:.75rem;font-weight:900;color:#178092}.wordmark{width:min(100%,470px);margin:10px 0 16px}.introtext{font-size:1.03rem;max-width:560px;margin:0 0 18px}.facts-inline{display:flex;gap:20px;flex-wrap:wrap;font-size:.82rem;color:#34656e;margin:16px 0 0}.facts-inline b{display:block;color:#16515a;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase}.hero-links{display:flex;gap:12px;margin-top:26px;flex-wrap:wrap}.play-cta,.soft-cta{text-decoration:none;font-weight:900;padding:13px 20px;font-size:.9rem;border:4px solid var(--edge);box-shadow:6px 6px 0 #9fdfe2;text-transform:uppercase;letter-spacing:.06em}.play-cta{background:#ffbf52;color:#0a3340}.play-cta:hover{background:#ffcf79}.soft-cta{background:#f9ffef;color:#14505a}.soft-cta:hover{background:#fff}
.hero-art-frame{position:relative;background:#ecfffe;border:6px solid var(--edge);box-shadow:12px 12px 0 #9fdfe2;padding:26px 22px;min-height:360px;overflow:hidden;display:flex;align-items:center;justify-content:center}.tagline{width:min(100%,420px);position:relative;z-index:2}.hero-fish{position:absolute;width:148px;right:46px;bottom:26px;filter:drop-shadow(6px 6px 0 rgba(0,0,0,.14));z-index:3}.weed{position:absolute;bottom:-12px;width:88px;opacity:.98}.weed-a{left:20px}.weed-b{right:190px}
.play-section{background:linear-gradient(180deg,#e3ffdf 0,#f0fdf0 100%);padding:65px 0 92px;border-top:6px solid #b4f3c0}.dot{display:inline-block;width:10px;height:10px;background:#ff9646;margin-right:9px;vertical-align:middle}.play-section h2,.summary h2{font:800 clamp(2rem,4vw,3rem)/1.05 "Trebuchet MS",Verdana,sans-serif;letter-spacing:-.05em;text-transform:uppercase;margin:14px 0 16px;color:#104a52;text-shadow:3px 3px 0 #fff}.section-intro{max-width:760px;margin:0 0 28px;color:#28515b}.game-layout{display:grid;grid-template-columns:minmax(0,1.56fr) minmax(250px,.72fr);gap:32px;align-items:start}.aquarium-shell{border:6px solid var(--edge);background:#f8ffff;box-shadow:0 0 0 6px #a4ebef,12px 12px 0 #9fdfe2;overflow:hidden}.tank-top,.tank-footer{background:#effffe;padding:10px 17px;display:flex;justify-content:space-between;align-items:center;font-size:.68rem;letter-spacing:.08em;font-weight:900;color:#246873;text-transform:uppercase}.tank-dots{color:#ff8a59;letter-spacing:.2em}.tank-footer{gap:8px;flex-wrap:wrap}.tank-footer button{border:0;background:none;font:inherit;color:#0e7684;cursor:pointer}.game-stage{aspect-ratio:4/3;position:relative;background:linear-gradient(180deg,#b9efef,#77d1d7);overflow:hidden}.game-stage::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 18%,rgba(255,255,255,.38) 0 16px,transparent 17px),radial-gradient(circle at 84% 26%,rgba(255,255,255,.28) 0 8px,transparent 9px),linear-gradient(180deg,rgba(255,255,255,.18),transparent 50%);z-index:1}#html5-frame{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:#a8edf0;z-index:2}.game-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:28px;background:rgba(236,255,248,.94);z-index:3}.game-overlay[hidden]{display:none}.overlay-fish{width:88px;margin-bottom:16px}.game-overlay h3{font:900 clamp(1.35rem,3vw,1.9rem)/1.1 "Trebuchet MS",Verdana,sans-serif;text-transform:uppercase;letter-spacing:-.03em;margin:8px 0;color:#0f4a54;text-shadow:2px 2px 0 #fff}.game-overlay p{font-size:.84rem;max-width:370px;margin:4px 0 18px;color:#24545d}.start-button{display:flex;align-items:center;gap:18px;border:4px solid var(--edge);color:#072c32;background:#ffbf52;font:900 .92rem "Trebuchet MS",sans-serif;padding:12px 20px;cursor:pointer;box-shadow:6px 6px 0 #9fdfe2;text-transform:uppercase}.start-button:hover{background:#ffd071}.stage-status{font-size:.72rem;margin:14px 0 0!important;opacity:.88}
.howto{position:relative;background:#f8ffeb;border:6px solid #1e7c88;box-shadow:10px 10px 0 #afe8cd;padding:20px 22px 25px;overflow:hidden}.panel-weed{position:absolute;right:-6px;top:28px;width:74px;opacity:.92}.howto h3{font:900 1.35rem/1.14 "Trebuchet MS",Verdana,sans-serif;text-transform:uppercase;margin:10px 0 18px;color:#0f4b55;text-shadow:2px 2px 0 #fff;max-width:240px}.howto-step{display:grid;grid-template-columns:34px 1fr;gap:12px;border-top:2px dashed #b8e4cc;padding:13px 0}.howto-step span{font-weight:900;color:#ff8a59}.howto-step p{font-size:.9rem;line-height:1.55;margin:0}.small-note{font-size:.8rem;color:#355e65;border-top:2px dashed #b8e4cc;padding-top:14px}.download-links{display:flex;flex-direction:column;gap:8px;margin-top:12px}.download{font-size:.82rem;display:inline-block;text-decoration:underline;font-weight:900;color:#155864}
.summary{padding:82px 0 96px;background:linear-gradient(180deg,#f7ffff 0,#effcf7 100%);border-top:6px solid #a9ebe8}.summary-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:56px;align-items:center}.summary-visual{position:relative;min-height:360px;background:#ebfffe;border:6px solid var(--edge);box-shadow:10px 10px 0 #9fdfe2;overflow:hidden;padding:20px}.summary-fish{width:170px;position:absolute;left:50%;top:50%;transform:translate(-50%,-48%)}.summary-weed{position:absolute;bottom:-10px;width:84px}.summary-weed-a{left:16px}.summary-weed-b{right:18px}.tagline-small{position:absolute;left:24px;right:24px;top:26px;max-width:420px;margin:0 auto}.summary-content>p{font-size:1rem;color:#25535b;line-height:1.78}.facts{margin-top:28px;border-top:3px solid #b1ece8;display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding-top:20px}.facts span{font-size:.66rem;color:#2a8885;letter-spacing:.12em;font-weight:900}.facts b{display:block;color:#17353e;font-size:.82rem;letter-spacing:0;margin-top:5px}.fish-footer{background:#0f404a;color:#f3fffd;padding:24px 0;border-top:6px solid #5cd3dd}.fish-footer>.site-width{display:flex;justify-content:space-between;align-items:center;gap:20px}.fish-footer p{font-size:.82rem;margin:0}.fish-footer nav{display:flex;gap:18px;flex-wrap:wrap}.fish-footer a{font-size:.8rem;text-decoration:none}.fish-footer a:hover{text-decoration:underline}
@media(max-width:900px){.hero-layout,.game-layout,.summary-grid{grid-template-columns:1fr}.hero-art-frame{min-height:290px}.hero-fish{right:20px;width:120px}.weed{width:70px}.tagline{max-width:380px}.summary-visual{min-height:300px}} @media(max-width:640px){.site-width{width:calc(100% - 32px)}.subnav-right{font-size:.59rem}.hero-layout{padding:40px 0 48px}.wordmark{width:100%}.hero-art-frame{min-height:250px;padding:18px 16px}.tagline{max-width:300px}.hero-fish{width:98px;right:10px}.weed{width:54px}.play-section{padding:46px 0 66px}.tank-top,.tank-footer{font-size:.56rem;padding:8px}.game-overlay{padding:14px}.game-overlay p{font-size:.74rem;margin-bottom:10px}.overlay-fish{width:64px}.howto{padding:18px}.panel-weed{width:50px}.summary{padding:54px 0 70px}.summary-visual{min-height:240px}.summary-fish{width:120px}.summary-weed{width:60px}.tagline-small{max-width:260px}.facts{grid-template-columns:1fr 1fr}.fish-footer>.site-width{flex-direction:column;align-items:start}} @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* October 27 — animated aquarium graphics. Render all sprite pixels sharply. */
.hero-art-frame{isolation:isolate;min-height:365px;background:linear-gradient(180deg,#e8ffff,#d2f4f7);padding:22px 14px}
.hero-art-frame .tagline{position:relative;z-index:2;width:min(100%,420px);max-width:none;filter:drop-shadow(3px 4px 0 #d4eef0)}
.hero-fish-healthy,.hero-fish-flapping{position:absolute;z-index:3;width:112px;height:88px;max-width:none;image-rendering:pixelated;object-fit:contain;filter:drop-shadow(5px 5px 0 #32627830)}
.hero-fish-healthy{left:5%;top:9%;}
.hero-fish-flapping{right:4%;bottom:9%;}
.game-overlay .overlay-fish{width:144px;height:auto;image-rendering:pixelated;margin-bottom:12px;filter:drop-shadow(3px 5px 0 #245f5d24)}
.howto{isolation:isolate}
.howto .panel-weed{top:auto;bottom:0;right:0;width:65px;height:235px;max-height:70%;max-width:none;object-fit:contain;object-position:bottom right;opacity:1;z-index:0;pointer-events:none;image-rendering:pixelated}
.howto h3,.howto .howto-step,.howto .small-note,.howto .download-links{position:relative;z-index:1}
.howto .small-note,.howto .download-links{padding-right:65px}
.summary-visual{position:relative;min-height:305px;background:transparent;border:0;box-shadow:none;overflow:visible;padding:0;align-self:end}
.summary-visual .summary-weed{position:absolute;bottom:0;width:65px;height:235px;max-width:none;object-fit:contain;object-position:bottom;image-rendering:pixelated}
.summary-visual .summary-weed-a{left:5%}
.summary-visual .summary-weed-b{right:5%;transform:scaleX(-1)}
.summary-visual .summary-crab{position:absolute;bottom:0;left:50%;width:112px;height:88px;max-width:none;transform:translateX(-50%);image-rendering:pixelated;object-fit:contain}
@media (max-width:900px){.summary-visual{min-height:278px;max-width:540px;width:100%;margin:0 auto}}
@media (max-width:640px){.hero-art-frame{min-height:285px;padding:20px 12px}.hero-art-frame .tagline{width:min(100%,310px)}.hero-fish-healthy,.hero-fish-flapping{width:84px;height:66px}.hero-fish-healthy{left:2%;top:6%}.hero-fish-flapping{right:2%;bottom:7%}.game-overlay .overlay-fish{width:104px}.howto .panel-weed{width:56px;max-height:60%}.howto .small-note,.howto .download-links{padding-right:50px}.summary-visual{min-height:264px}.summary-visual .summary-weed-a{left:10%}.summary-visual .summary-weed-b{right:10%}}
/* Keep instructions clear of the gently waving lower-right seaweed. */
.howto .howto-step p{padding-right:67px}
@media(max-width:640px){.howto .howto-step p{padding-right:50px}}

/* October 27 final polish: original pixel-art lesson banner above the aquarium trio. */
.summary-visual{min-height:380px;}
.summary-visual .summary-lesson-art{
  position:absolute;left:50%;top:8px;transform:translateX(-50%);
  width:min(94%,365px);height:auto;max-width:none;z-index:2;
  object-fit:contain;image-rendering:pixelated;
}
@media (max-width:900px){.summary-visual{min-height:380px}}
@media (max-width:640px){
 .summary-visual{min-height:362px}
 .summary-visual .summary-lesson-art{top:8px;width:min(94%,325px)}
}
