:root{color-scheme:dark;--night:#0b101b;--night2:#111a2a;--paper:#ecf4ec;--muted:#9daabd;--aqua:#9be6d5;--coral:#f77b65;--line:#263345;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--night);color:var(--paper);min-height:100vh}a{color:inherit;text-decoration:none}button{font:inherit}button:not(:disabled),a{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--aqua);outline-offset:5px}button:disabled{opacity:.45;cursor:not-allowed}.site-shell{width:min(1170px,calc(100% - 60px));margin:auto}.site-header{height:95px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wordmark{font-size:32px;font-weight:1000;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:-.11em;color:var(--aqua)}.wordmark span{color:var(--paper)}.wordmark-dot,.dot{color:var(--coral)}.header-status,.top-link{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;letter-spacing:.11em;color:#b4c6d2}.header-status{display:flex;align-items:center;gap:10px}.header-status i{display:block;width:7px;height:7px;border-radius:50%;background:var(--aqua);box-shadow:0 0 14px var(--aqua)}.top-link:hover{color:var(--aqua)}.eyebrow,.card-kicker{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;letter-spacing:.15em;color:var(--aqua);font-weight:800}.eyebrow-line{display:inline-block;width:25px;height:1px;background:var(--aqua);vertical-align:middle;margin-right:10px}.hero{min-height:620px;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:28px;padding:74px 0 85px}.hero-copy h1,.collection h1,.play-intro h1{font-weight:950;letter-spacing:-.085em;line-height:1.04;font-size:clamp(64px,6.7vw,102px);margin:25px 0 25px}.hero-copy h1 em,.collection h1 em,.play-intro h1 em{font-style:normal;color:var(--aqua)}.hero-copy>p,.collection-lede,.play-intro>p{color:var(--muted);font-size:17px;max-width:480px;line-height:1.7}.hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:35px}.button{min-height:54px;display:inline-flex;align-items:center;justify-content:space-between;gap:20px;padding:0 24px;border:0;border-radius:6px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;letter-spacing:.07em;font-weight:900}.button-primary{background:var(--aqua);color:#0d1c27;box-shadow:0 8px 40px #9be6d51e}.button-primary:hover{background:#c2ffee;transform:translateY(-1px)}.tiny-note,.under-note{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;letter-spacing:.08em;color:#72869b}.hero-art{height:480px;position:relative;display:grid;place-items:center;background:radial-gradient(circle at center,#213f49 0%,#17283b 42%,transparent 71%);overflow:hidden}.art-orbit{position:absolute;width:330px;height:330px;border:1px dashed #4c7c80aa;border-radius:50%;transform:rotate(-17deg)}.hero-art .mascot{position:relative;width:295px;height:auto;filter:drop-shadow(0 30px 32px #0006);transform:rotate(-5deg);animation:float 4s ease-in-out infinite}.damage-pill{position:absolute;right:22px;top:110px;background:var(--night2);border:1px solid #506a6b;border-radius:6px;padding:11px 16px;transform:rotate(9deg);font-weight:900;font-family:ui-monospace,monospace;letter-spacing:.08em;box-shadow:0 12px 26px #0005}.damage-pill span{color:var(--coral)}.art-caption{position:absolute;bottom:24px;font:10px ui-monospace,monospace;letter-spacing:.15em;color:#91aeb6}.art-cross,.art-spark{position:absolute;color:var(--coral)}.cross-a{top:70px;left:60px;font-size:70px}.cross-b{bottom:65px;right:75px;font-size:33px}.spark-a{top:70px;right:90px;font-size:33px}.spark-b{bottom:145px;left:47px;font-size:38px}.shelf{padding:55px 0 100px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1.05fr;gap:45px;align-items:center}.shelf h2{font-size:52px;letter-spacing:-.06em;margin:10px 0}.shelf p{color:var(--muted);line-height:1.6;max-width:390px}.shelf-card{border:1px solid #3c5660;border-radius:12px;padding:30px;display:flex;align-items:center;gap:25px;background:linear-gradient(135deg,#182c38,#111927)}.shelf-card:hover,.game-tile:hover{border-color:var(--aqua)}.shelf-icon{font-size:76px;color:var(--coral)}.shelf-card h3{font-size:23px;letter-spacing:-.04em;margin:8px 0}.card-sub{font-size:13px;color:#acbcc9}.card-arrow{margin-left:auto;font-size:24px;color:var(--aqua)}.site-footer{border-top:1px solid var(--line);padding:25px 0 35px;display:flex;justify-content:space-between;gap:15px;color:#72859b;font:10px ui-monospace,monospace;letter-spacing:.09em}.collection{padding:90px 0 135px}.collection h1{margin:20px 0;font-size:clamp(56px,9vw,115px)}.collection-lede{margin-bottom:45px}.game-tile{display:grid;grid-template-columns:42% 1fr;min-height:310px;border:1px solid #3b5361;border-radius:12px;overflow:hidden;max-width:980px;background:#142333}.tile-art{background:radial-gradient(circle,#284e55,#122737 65%);display:grid;place-items:center;position:relative;overflow:hidden}.hazard-symbol{color:var(--coral);font-size:190px;transform:rotate(13deg)}.tile-zero{position:absolute;bottom:26px;left:29px;font:bold 38px ui-monospace,monospace;letter-spacing:-.12em;color:var(--aqua)}.tile-zero span{color:#fff}.tile-details{padding:42px 38px;display:flex;flex-direction:column;align-items:flex-start}.tile-details h2{font-size:38px;letter-spacing:-.06em;margin:18px 0 7px}.tile-details p{line-height:1.65;color:var(--muted);max-width:370px;margin-bottom:auto}.tile-cta{font:800 12px ui-monospace,monospace;letter-spacing:.07em;color:var(--aqua);padding-top:25px}.tile-cta span{margin-left:18px}.under-note{margin-top:24px}.play-layout{padding:56px 0 80px;display:grid;grid-template-columns:1fr minmax(330px,480px);gap:65px;align-items:start}.play-intro{padding-top:45px}.play-intro h1{font-size:clamp(55px,6.1vw,92px)}.play-intro>p{font-size:16px}.game-rules{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin-top:40px;display:grid;gap:17px;font:800 12px ui-monospace,monospace;letter-spacing:.05em}.game-rules>div{display:flex;gap:18px}.game-rules span{color:var(--coral)}.control-help{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#a4b5c4;margin-top:35px}.control-help strong{font:800 11px ui-monospace,monospace;color:var(--aqua);letter-spacing:.11em;margin-bottom:6px}.game-panel{background:#142031;border:1px solid #35485b;border-radius:13px;padding:13px;box-shadow:0 24px 80px #0003}.game-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px 15px}.score-group{display:flex;gap:14px;align-items:center}.score-group>span{font:10px ui-monospace,monospace;color:#8c9eaf;letter-spacing:.07em;display:grid;gap:3px}.score-group strong{font-size:23px;color:var(--paper);letter-spacing:0}.score-group .hearts{font-size:20px;color:#f7ad9e;letter-spacing:.04em;white-space:nowrap}.quiet-button{background:transparent;border:1px solid #3d5264;border-radius:6px;color:var(--aqua);min-height:42px;padding:0 13px;font:800 11px ui-monospace,monospace;letter-spacing:.06em}/* Let vertical swipes scroll the page even when they start on the game. Horizontal dragging remains available for player movement. */
.canvas-wrap{position:relative;background:#101b2a;overflow:hidden;border-radius:6px;touch-action:pan-y;user-select:none}.canvas-wrap canvas{display:block;width:100%;height:auto;aspect-ratio:3/4;touch-action:pan-y}.game-overlay{position:absolute;inset:0;background:linear-gradient(180deg,#0f1b2ce5,#0c1925f4);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px}.game-overlay[hidden]{display:none}.overlay-mascot{height:170px;width:155px;display:grid;place-items:center;margin-bottom:5px}.overlay-mascot img{width:170px;height:180px;object-fit:contain}.game-overlay h2{font-size:clamp(25px,4vw,40px);font-weight:950;letter-spacing:-.05em;line-height:1.1;margin:15px 0}.game-overlay p{max-width:310px;color:#abbecc;font-size:14px;line-height:1.5;margin:0 0 25px}.start-button{min-width:210px}.game-status{margin:10px 10px 0;font-size:12px;color:#9baebd;min-height:20px}
@keyframes float{50%{transform:translateY(-10px) rotate(-2deg)}}@media(max-width:900px){.hero{grid-template-columns:1fr;padding:65px 0 40px}.hero-art{height:380px}.hero-art .mascot{width:260px}.shelf{grid-template-columns:1fr}.play-layout{grid-template-columns:1fr;gap:28px;padding-top:35px}.play-intro{padding:0}.play-intro h1{margin:15px 0}.game-rules{margin-top:22px}.control-help{margin-top:20px}.game-panel{max-width:490px;margin:auto;width:100%}}@media(max-width:570px){.site-shell{width:calc(100% - 32px)}.site-header{height:74px}.wordmark{font-size:27px}.header-status{font-size:9px}.hero{padding-top:55px}.hero-copy h1{font-size:clamp(52px,13vw,78px)}.hero-copy>p{font-size:15px}.hero-art{height:320px}.art-orbit{width:240px;height:240px}.hero-art .mascot{width:220px}.damage-pill{right:10px;top:75px;padding:8px}.shelf{padding:40px 0 65px;gap:20px}.shelf h2{font-size:42px}.shelf-card{padding:20px;gap:15px}.shelf-icon{font-size:46px}.shelf-card h3{font-size:18px}.site-footer{font-size:9px;flex-wrap:wrap}.collection{padding:65px 0 85px}.collection h1{font-size:52px}.game-tile{grid-template-columns:1fr}.tile-art{min-height:180px}.hazard-symbol{font-size:135px}.tile-details{padding:26px}.tile-details h2{font-size:29px}.play-intro h1{font-size:58px}.play-intro>p{font-size:14px}.game-rules{font-size:10px}.control-help{font-size:12px}.score-group{gap:20px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* Play comes first on school Chromebooks; the mascot remains supporting identity. */
.home-page .shelf{border-top:0;padding:65px 0 78px}
.home-page .shelf h1{font-size:clamp(42px,4.8vw,68px);letter-spacing:-.065em;line-height:1.07;margin:12px 0 16px}
.home-page .shelf .button{margin-top:18px}
.home-page .hero{border-top:1px solid var(--line);min-height:430px;padding:44px 0 65px}
.home-page .hero-copy h2{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:800;letter-spacing:-.015em;line-height:1.16;font-size:clamp(42px,4.8vw,68px);margin:18px 0}
.home-page .hero-copy h2 em{font-style:normal;color:var(--aqua)}
.home-page .hero-art{height:350px}
.home-page .hero-art .mascot{width:245px}
@media(max-width:900px){.home-page .shelf{padding:42px 0 65px}.home-page .hero{padding:45px 0 55px}.home-page .hero-art{height:320px}}
@media(max-width:570px){.home-page .shelf h1{font-size:44px}.home-page .shelf{padding-top:38px}.home-page .hero-copy h2{font-size:clamp(38px,10vw,48px);letter-spacing:-.01em;line-height:1.2}.home-page .hero-art{height:290px}}

.home-page .shelf-card h2{font-size:23px;letter-spacing:-.04em;margin:8px 0}
@media(max-width:570px){.home-page .shelf-card h2{font-size:18px}}

/* Chromebook-height fit: keep the full canvas and controls visible on short
   desktop screens while preserving the 3:4 gameplay coordinate mapping. */
@media (min-width:901px) and (max-height:850px) {
  .play-layout{padding:20px 0 22px;gap:35px;grid-template-columns:minmax(0,1fr) minmax(330px,440px)}
  .play-intro{padding-top:4px}
  .play-intro h1{font-size:clamp(46px,4.7vw,69px);margin:15px 0}
  .play-intro>p{line-height:1.45}
  .game-rules{margin-top:20px;gap:12px;padding:14px 0}
  .control-help{margin-top:18px}
  .game-panel{width:100%;max-width:calc((100dvh - 260px) * .75 + 26px);margin-inline:auto}
}

/* v0.1 game-first layout: one-click primary action; game art stays original. */
.shelf-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:24px}
.home-page .shelf .button{margin-top:0}
.quiet-link{font:800 12px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.06em;color:var(--aqua);text-decoration:underline;text-decoration-color:#9be6d566;text-underline-offset:5px}
.quiet-link:hover{color:var(--paper);text-decoration-color:currentColor}
.shelf-preview{height:112px;flex:0 0 125px;display:grid;place-items:center;position:relative;overflow:hidden;border-radius:9px;background:radial-gradient(circle at 55% 50%,#3b6570,#172b3b 72%)}
.shelf-preview img{position:relative;height:115px;width:105px;object-fit:contain;filter:drop-shadow(0 7px 8px #0008);transform:rotate(-7deg)}
.shelf-danger{position:absolute;top:-24px;right:-8px;font-size:92px;color:var(--coral);opacity:.85;line-height:1}
.collection-games{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:24px;max-width:1080px;align-items:stretch}
.collection-games .game-tile{display:flex;flex-direction:column;min-height:434px;width:100%;max-width:none}
.collection-games .tile-art{height:204px;min-height:204px;flex:none;display:block}
.collection-games .hazard-symbol{position:absolute;top:-38px;left:7px;font-size:190px;line-height:1;opacity:.88}
.collection-games .tile-mascot{position:absolute;right:18px;bottom:-25px;height:230px;width:195px;object-fit:contain;filter:drop-shadow(0 14px 13px #0007);transform:rotate(-6deg)}
.collection-games .tile-zero{font-size:28px;bottom:15px;left:20px}
.collection-games .tile-details{flex:1;padding:26px 24px 25px}
.collection-games .tile-details h2{font-size:29px;margin:14px 0 8px}
.collection-games .tile-details p{font-size:14px;line-height:1.55}
.collection-games .tile-cta{margin-top:auto}
@media(max-width:570px){
  .shelf-actions{align-items:stretch;gap:16px}
  .shelf-preview{flex-basis:80px;height:90px}
  .shelf-preview img{height:95px;width:80px}
  .shelf-danger{font-size:65px;top:-14px}
  .collection-games{grid-template-columns:minmax(0,1fr)}
  .collection-games .game-tile{min-height:410px}
}

/* Mobile game-first repair: get Start inside the initial screen. */
.mobile-game-label{display:none}
@media(max-width:570px){
  .play-layout{display:flex;flex-direction:column;gap:26px;padding-top:20px}
  .play-layout .game-panel{order:0;max-width:490px}
  .play-layout .play-intro{order:1}
  .mobile-game-label{display:block;font:900 12px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em;color:var(--aqua);padding:9px 12px 1px}
}

/* Game 002: original gameplay screenshot, distinct dungeon visual language. */
.collection-games .penguingeon-tile-art{background:#12121f}
.collection-games .penguingeon-tile-cover{display:block;width:100%;height:100%;object-fit:cover}
.latest-game{padding:44px 0 70px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:40px}
.latest-game h2{font-size:clamp(36px,4.3vw,62px);line-height:1.06;letter-spacing:-.06em;margin:12px 0}
.latest-game p{color:var(--muted);line-height:1.6;max-width:415px}
.latest-game .button{margin-top:14px}
.latest-game-cover{display:block;overflow:hidden;border-radius:12px;border:1px solid #3c5660;background:#12121f;min-height:200px}
.latest-game-cover img{display:block;width:100%;aspect-ratio:850/365;object-fit:cover}
.latest-game-cover:hover{border-color:var(--aqua)}
@media(max-width:900px){.latest-game{grid-template-columns:1fr;gap:20px;padding:34px 0 45px}}
@media(max-width:570px){.latest-game{padding:28px 0 38px}.latest-game h2{font-size:38px}.latest-game-cover{min-height:140px}}

@media(max-width:570px){.score-group{gap:10px}.score-group strong{font-size:19px}.score-group .hearts{font-size:18px}.game-toolbar{gap:6px}.quiet-button{padding:0 10px}}

/* Child-friendly privacy policy and direct navigation from all game routes. */
.header-links{display:flex;align-items:center;gap:22px;flex-wrap:wrap;justify-content:flex-end}
.site-footer .footer-link{font:800 11px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em;color:var(--aqua);text-decoration:underline;text-underline-offset:4px}
.site-footer .footer-link:hover{color:var(--paper)}
.privacy-layout{width:min(780px,100%);margin:0 auto;padding:70px 0 90px}
.privacy-intro h1{font-size:clamp(43px,7vw,78px);line-height:1.05;letter-spacing:-.075em;margin:17px 0 22px;font-weight:950}
.privacy-lede{color:var(--paper);font-size:clamp(19px,2.3vw,24px);line-height:1.55;max-width:650px}
.privacy-summary{background:#172d37;border:1px solid #4e807c;border-radius:12px;padding:28px 32px;margin:38px 0 45px}
.privacy-summary p{font-weight:750;font-size:clamp(17px,2vw,20px);line-height:1.6;margin:12px 0 0}
.privacy-sections{display:grid;gap:0}
.privacy-sections section{padding:26px 0 27px;border-bottom:1px solid var(--line)}
.privacy-sections h2{font-size:clamp(23px,3.5vw,30px);letter-spacing:-.04em;margin:0 0 12px}
.privacy-sections p{color:#c5d3df;font-size:16px;line-height:1.78;margin:0 0 13px}
.privacy-sections p:last-child{margin-bottom:0}
.privacy-sections strong{color:var(--paper)}
.privacy-updated{color:var(--muted);font:700 11px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em;margin:28px 0}
.privacy-back{margin-top:4px}
@media(max-width:570px){
 .header-links{gap:12px}
 .home-page .header-status{display:none}
 .privacy-layout{padding:42px 0 65px}
 .privacy-summary{padding:22px 20px;margin:28px 0}
 .privacy-sections section{padding:24px 0}
}


/* Pip's first-party CSS-art tile; no remote artwork, images, fonts or animation dependencies. */
.pip-feature{border-top:1px solid var(--line);padding:70px 0;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:28px}
.pip-feature h2{font-size:clamp(30px,4vw,55px);line-height:1.09;letter-spacing:-.055em;margin:16px 0 14px}
.pip-feature p{font-size:16px;line-height:1.7;color:var(--muted);max-width:440px}
.pip-feature .button{margin-top:16px}
.pip-feature-art,.pip-tile-art{min-height:270px;display:grid;place-items:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 120%,#8bcdd1 0%,#285d81 35%,#111b45 75%);border-radius:12px}
.pip-feature-art{min-height:350px;border:1px solid #437d8b}
.pip-feature-art::before,.pip-tile-art::before{content:"";position:absolute;inset:-55% -20% 30%;transform:rotate(-24deg);background:linear-gradient(100deg,transparent 27%,#67ffd25a 35%,#ccffe65a 42%,transparent 52%,#9eaaf65e 59%,transparent 69%);filter:blur(13px)}
.pip-penguin{font-size:clamp(75px,10vw,132px);filter:drop-shadow(0 14px 10px #020c29aa);z-index:1}
.pip-sky,.pip-snow{position:absolute;font-size:36px;letter-spacing:.6em;color:#d7fce4}.pip-sky{top:16%;left:10%}.pip-snow{bottom:9%;right:2%;color:#d2eeff}
@media(max-width:760px){.pip-feature{grid-template-columns:1fr;padding:45px 0}.pip-feature-art{min-height:230px}.pip-feature h2{font-size:37px}}

/* Keep the eight-spoked hazard symbol as recolorable text, never an OS-specific green emoji. */
.shelf-danger,.hazard-symbol,.art-cross{font-variant-emoji:text}
