@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&family=Nunito:wght@400;600;700;800;900&display=swap');
:root{color-scheme:light;--ink:#244c49;--muted:#5d746f;--teal:#167b69;--teal-dark:#105c50;--mint:#e5f2e9;--cream:#faf9f2;--line:#e0e7dc;--coral:#d27a62;--shadow:0 8px 28px #365a4410;font-family:Nunito,system-ui,sans-serif;color:var(--ink);background:var(--cream)}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;font-weight:800;color:inherit;background:#fff;border:1px solid var(--line);border-radius:12px;min-height:44px;padding:10px 15px;cursor:pointer;transition:background .15s,box-shadow .15s,transform .15s}button:hover:not(:disabled){background:#f1f7ed;border-color:#8fb4a5}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,a:focus-visible,.body-zone:focus-visible{outline:3px solid #dc941b;outline-offset:4px}button:disabled{cursor:default;opacity:.56}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Fredoka,ui-rounded,system-ui,sans-serif;font-weight:500;line-height:1.13}h2{font-size:28px}h3{font-size:24px}p{line-height:1.6}a{color:var(--teal)}.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-link{position:fixed;left:12px;top:-100px;z-index:200;background:#fff;padding:15px}.skip-link:focus{top:12px}.ppgh{border-bottom:1px solid var(--line)!important;background:#fffdf8!important}.ppgh-mark{background:var(--teal)!important}.game-shell{width:min(1380px,100%);padding:28px 40px 0;margin:auto}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:900;color:#53796c;line-height:1.5}.game-heading h1{font-size:clamp(25px,3vw,38px);margin-top:6px}.game-heading h1>span:first-child{color:var(--teal)}.title-spark{color:#d2a23f;display:inline-block;margin-left:12px;vertical-align:top;font-size:26px}.rewards{display:flex;gap:20px}.rewards>span{display:grid;grid-template-columns:auto auto;gap:0 7px;align-items:center;font-size:19px}.rewards small{grid-column:2;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}.toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:26px}.mode-tabs,.utility{display:flex;gap:6px}.mode-tabs{padding:4px;border-radius:14px;background:#eeeee5}.tab{border:0;background:transparent;color:#536c63;white-space:nowrap;padding:10px 20px}.tab.active{background:#fff;color:var(--teal-dark);box-shadow:0 2px 8px #365a4412}.tab span{font-size:20px;margin-right:6px}.utility button{font-size:12px;min-height:40px;background:transparent;padding:8px 10px}.primary{background:var(--teal);color:white;border:1px solid var(--teal);box-shadow:0 4px 0 var(--teal-dark)}.primary:hover:not(:disabled){background:var(--teal-dark);border-color:var(--teal-dark)}.primary.large{padding:16px 24px;font-size:17px;display:inline-flex;gap:30px;align-items:center}.secondary{background:#f9f3d9;border-color:#e8dab2}.text-button{background:transparent;border-color:transparent;box-shadow:none}.pill{display:inline-flex;align-items:center;font-size:10px;font-weight:900;letter-spacing:1.2px;border-radius:8px;padding:8px 10px;background:#dceee0;color:#346c56}.microcopy{font-size:12px;color:var(--muted);line-height:1.5}.welcome-grid{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid #dfeadd;background:#eef5e9;border-radius:25px;min-height:360px}.welcome-copy{padding:34px 0 34px 38px;z-index:1;align-self:center}.welcome-copy h2{font-size:clamp(34px,4vw,54px);line-height:1.1;margin:20px 0 14px;letter-spacing:-.5px}.welcome-copy em{color:var(--teal);font-style:normal}.welcome-copy>p{color:#527064;margin-bottom:24px;font-size:16px}.welcome-copy .microcopy{display:block;margin-top:14px}.welcome-art{position:relative;min-width:0;align-content:center}.welcome-art img{display:block;width:100%;height:auto;mix-blend-mode:multiply}.art-caption{position:absolute;bottom:22px;right:26px;background:#fffdf6;box-shadow:var(--shadow);border:1px solid #ddd7bd;font-size:12px;font-weight:800;border-radius:25px;padding:9px 15px;transform:rotate(-4deg)}.mission-section{margin-top:30px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-heading h2{margin-top:6px;font-size:25px}.overall{font-size:12px;font-weight:800;display:grid;gap:7px;min-width:150px}progress{appearance:none;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:#e3e7dd}progress::-webkit-progress-bar{background:#e3e7dd}progress::-webkit-progress-value{background:var(--teal);border-radius:8px}progress::-moz-progress-bar{background:var(--teal)}.level-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.level-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;position:relative;min-height:152px;padding:20px;border-radius:18px;background:#fffdf7}.level-card.chosen{border:2px solid var(--teal);background:#f0f7ed;padding:19px}.level-icon{position:absolute;right:14px;top:14px;display:grid;place-content:center;font-size:27px;width:42px;height:42px;background:#eee9db;border-radius:14px}.level-label{font-size:10px;letter-spacing:1px;color:#647866;margin-bottom:14px}.level-card strong{font-family:Fredoka,system-ui,sans-serif;font-weight:500;font-size:21px}.level-card>span:not(.level-icon):not(.level-label){font-size:12px;font-weight:600;margin-top:5px}.level-card small{margin-top:16px;font-size:11px;color:var(--muted)}.mission-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.mission-card{display:flex;text-align:left;align-items:center;gap:14px;padding:16px 18px}.mission-symbol{display:grid;place-content:center;border-radius:12px;background:var(--mint);font-size:24px;width:42px;height:42px;flex-shrink:0}.mission-card strong{display:block;font-size:15px}.mission-card small{display:block;font-size:11px;font-weight:600;margin-top:4px}.mission-stars{margin-left:auto;color:#ad7926;white-space:nowrap}.game-footer{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#6c7c70;padding:23px 0;margin-top:15px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#569b76;margin-right:5px}.mission-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;font-weight:900;letter-spacing:.7px;margin-top:-12px;margin-bottom:12px}.mission-topline button{font-size:12px;padding-left:0}.play-grid{display:grid;grid-template-columns:minmax(215px,.9fr) minmax(280px,1.5fr) minmax(220px,.95fr);gap:20px;align-items:start}.mission-panel,.pieces-panel{padding:22px;background:#fffdf8;border-radius:20px;border:1px solid var(--line);box-shadow:var(--shadow)}.mission-panel h2{font-size:28px;margin:20px 0 16px}.mission-prompt{font-size:17px;font-weight:700}.step-progress{display:flex;gap:5px;margin:20px 0 10px}.step-progress span{height:6px;flex:1;background:#e6e8dc;border-radius:8px}.step-progress .now{background:#d8b762}.step-progress .done{background:var(--teal)}.replay{color:var(--teal);background:transparent;border:none;padding:6px 0;font-size:13px}.explorer-tip{margin:22px 0 8px;padding:16px;background:#f3f4e8;border:1px solid #e7e9d7;border-radius:13px}.explorer-tip>span{font-size:10px;letter-spacing:1px;font-weight:900}.explorer-tip p{font-size:13px;margin-top:7px;color:#536b58}.feedback{font-size:13px;line-height:1.55;padding:13px 0;min-height:65px;color:#637566}.feedback.success{color:#196044}.feedback.retry{color:#a0522e}.feedback.hint{color:#81601b}.mission-actions{display:flex;gap:8px;flex-wrap:wrap}.mission-actions .primary{flex:1}.body-panel{background:#eef4ea;border:1px solid #dce7d8;border-radius:24px;overflow:hidden;position:relative}.body-label{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 18px 0}.body-label .eyebrow{font-size:9px;letter-spacing:1px}.live-badge{font-size:9px;color:#437660;background:#dfeedd;padding:5px 8px;border-radius:20px;font-weight:800}.body-viewport{height:490px;position:relative;overflow:hidden;touch-action:none;background-image:radial-gradient(#b6d4bd77 .8px,transparent .8px);background-size:20px 20px;user-select:none}.body-viewport:before{content:"";position:absolute;inset:30px 18%;border:1px dashed #bccfba;border-radius:50%;pointer-events:none}.body-viewport>svg{height:100%;width:100%;display:block;position:relative}.view-tools{display:flex;align-items:center;justify-content:center;gap:4px;margin:0 6px 8px}.view-tools button{font-size:11px;background:#fffdf7;padding:7px 9px;min-height:38px}.view-tools button:first-child,.view-tools button:nth-child(3){font-size:20px;min-width:38px}.view-tools .active{background:var(--teal);color:white}.diagram-note{text-align:center;font-size:9px;line-height:1.5;margin:0 5px 12px;color:#69816c}.organ-art{width:70px;height:70px;display:block;overflow:visible;filter:drop-shadow(0 4px 2px #77513814)}.detail{fill:none;stroke:#fff4e7;stroke-width:4}.tube{fill:none;stroke:#e5bfad;stroke-width:7;stroke-linecap:round}.organ-tray{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.organ-card{padding:14px 8px 12px;min-width:0;display:flex;align-items:center;flex-direction:column;touch-action:none;background:#fffefb;border-radius:16px;position:relative}.organ-card strong{font-size:13px;margin-top:7px}.organ-card small{font-size:9px;font-weight:600;color:var(--muted);margin-top:3px}.organ-card.selected{border:2px solid var(--teal);padding:13px 7px 11px;background:#eaf4e6;box-shadow:0 0 0 3px #167b6914}.organ-card.placed{background:#edf5ec;opacity:.65}.pieces-panel .section-heading h2{font-size:22px}.pieces-panel .eyebrow{font-size:9px}.kit-count{font-size:14px;display:grid;place-content:center;background:#ecf0e2;width:29px;height:29px;border-radius:50%}.kit-footer{border-top:1px solid var(--line);margin-top:18px;padding-top:12px;font-size:10px;font-weight:800;display:flex;justify-content:space-between}.kit-footer span{color:#c69c3f}.body-zone{cursor:pointer;outline:none}.zone-hit{fill:transparent;stroke:transparent;stroke-width:1.5}.body-zone.unplaced>svg{opacity:.22;filter:grayscale(.8)}.body-zone.unplaced .zone-hit{stroke:#879e8a;stroke-dasharray:3 4;fill:#f9fcf229}.body-zone:hover .zone-hit,.body-zone:focus .zone-hit,.selected-zone .zone-hit,.drop-hover .zone-hit{stroke:var(--teal);stroke-dasharray:none;fill:#bedec635;stroke-width:2}.body-zone.activated>svg{filter:drop-shadow(0 1px 1px #8e756b33)}.body-zone.unfocused{opacity:.5}.hint-zone .zone-hit{stroke:#ae7d13!important;stroke-width:3;animation:hint-pulse 1s ease-in-out infinite}.region-hint{position:absolute;bottom:20px;left:10px;right:10px;text-align:center;font-weight:800;font-size:13px;color:#825b0c;background:#fff3bdec;padding:10px;border-radius:15px;pointer-events:none}.activate-heart>svg{transform-box:fill-box;transform-origin:center;animation:heartbeat 1.3s ease-in-out infinite}.activate-lungs>svg{transform-box:fill-box;transform-origin:center bottom;animation:breathe 4s ease-in-out infinite}.activate-brain>svg{animation:brain-light 3s ease-in-out infinite}.activate-muscles>svg{transform-box:fill-box;transform-origin:center bottom;animation:contract 3s ease-in-out infinite}.flow-path,.signal-path,.food-path{fill:none;stroke-width:3;stroke-linecap:round;pointer-events:none;stroke-dasharray:3 10;animation:flow 3s linear infinite}.flow-path{stroke:#cd6e78}.signal-path{stroke:#9875c0;stroke-width:2}.food-path{stroke:#d09d35;stroke-width:4}.panning{cursor:grab}.panning:active{cursor:grabbing}.panning .body-zone{cursor:grab}.drag-ghost{position:fixed;left:0;top:0;width:80px;height:80px;background:#fffdf6ee;box-shadow:0 8px 20px #214f4733;border:2px solid var(--teal);border-radius:18px;padding:8px;pointer-events:none;z-index:100}.drag-ghost svg{width:60px;height:60px}.dragging{overscroll-behavior:none;user-select:none}.discovery-card{background:#fffdf7;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:var(--shadow)}.discovery-title{display:flex;gap:16px;align-items:center;margin-bottom:18px}.discovery-title h3{font-size:30px;margin:5px 0}.discovery-title>div>span:last-child{font-size:11px;color:#687a68}.discovery-card>p{font-size:16px}.discovery-card dl{margin:14px 0}.discovery-card dl div{display:flex;gap:12px;font-size:12px}.discovery-card dt{color:#647968}.discovery-card dd{margin:0;font-weight:800}.fun-fact{padding:14px 16px;border-radius:12px;background:#fcf2d7}.fun-fact strong{font-size:12px;color:#8c6424}.fun-fact p{font-size:13px;margin-top:5px;color:#735f3e}.discovery-card>.text-button{font-size:12px;margin-top:8px;padding-left:0}.discovery-card.compact{margin-top:16px;padding:13px;border-radius:13px;box-shadow:none}.compact .discovery-title{gap:9px;margin-bottom:8px}.compact .discovery-title .organ-art{width:45px;height:45px}.compact .discovery-title h3{font-size:22px}.compact .eyebrow{font-size:8px}.compact .fun-fact{padding:10px}.scan-card{padding:30px 10px;text-align:center}.scan-card .organ-art{width:100px;height:100px;margin:0 auto 30px}.scan-card>span{font-size:10px;letter-spacing:1px;font-weight:900}.scan-card p{font-size:14px;margin-top:14px}.answer-list{display:grid;gap:12px}.answer-list button{text-align:left;font-size:14px;padding:16px}.explore-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:25px 0}.explore-intro h2{margin-top:7px}.explore-intro>p{font-size:14px;color:var(--muted)}.system-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.system-tabs button{font-size:12px;padding:10px 14px;border-radius:30px}.system-tabs .active,.explore-parts .active{background:var(--teal);color:#fff}.explore-grid{display:grid;grid-template-columns:minmax(300px,1.1fr) 1fr;gap:24px;max-width:1020px;margin:auto}.explore-grid .body-viewport{height:520px}.explore-details{display:grid;align-content:start;gap:18px}.system-story{padding:20px;border:1px solid #e0e6d5;background:#eef2e5;border-radius:18px}.system-story h3{margin:7px 0 12px}.system-story p{font-size:14px}.system-story .primary{margin:16px 0;font-size:13px}.system-story .microcopy{font-size:11px;margin-top:12px}.explore-parts{display:flex;gap:6px;flex-wrap:wrap}.explore-parts button{font-size:12px}.collection-heading{text-align:center;margin:32px 0}.collection-heading h2{font-size:38px;margin:15px 0}.collection-heading p{font-size:14px;color:var(--muted)}.badge-shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:25px}.badge{text-align:center;border:1px dashed #bbc8b6;border-radius:18px;padding:18px;background:#f0f1e8;color:#71836d}.badge>span{display:block;font-size:30px;margin-bottom:8px}.badge strong{display:block;font-size:13px}.badge small{display:block;font-size:10px;margin-top:6px}.badge.earned{border:1px solid #c5b878;background:#fcf1d2;color:#805d21}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.locked-card{border:1px dashed #cbd4c2;background:#f0f2e9;border-radius:20px;text-align:center;padding:32px 22px}.locked-card>span{display:grid;place-content:center;font-family:Fredoka,system-ui,sans-serif;font-size:40px;background:#e3e8db;color:#879d82;width:75px;height:75px;border-radius:24px;margin:0 auto 20px}.locked-card h3{font-size:24px}.locked-card p{font-size:12px;color:var(--muted);margin-top:12px}.completion{text-align:center;position:relative;padding:20px 20px 35px;background:#edf4e7;border:1px solid var(--line);border-radius:25px}.celebration-stars{font-size:48px;letter-spacing:8px;color:#c39830;margin-bottom:14px;animation:celebrate .5s ease-out}.completion h2{font-size:38px;margin:17px 0 10px}.completion>p{max-width:560px;margin:0 auto;color:#57705b}.completed-body{height:290px;margin:15px auto;max-width:180px;pointer-events:none}.completed-body>svg{height:100%;width:100%}.completion-stats{display:flex;gap:26px;justify-content:center;margin-bottom:24px;font-size:12px}.completion-stats b{display:block;font-family:Fredoka,system-ui,sans-serif;font-size:26px;margin-bottom:5px}.completion-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:20px 0}.earned-message{font-weight:800}.completion .microcopy{font-size:11px}.loading{padding:60px 25px;text-align:center}.loading h1{font-size:35px;margin:15px}dialog{border:1px solid var(--line);border-radius:25px;padding:35px;text-align:center;color:var(--ink);background:var(--cream);max-width:min(440px,calc(100% - 32px));box-shadow:0 25px 90px #133e4a40}dialog::backdrop{background:#203f46aa;backdrop-filter:blur(5px)}dialog h2{margin:15px 0}dialog p{margin:15px 0 25px}dialog button{margin:6px}.dialog-icon{display:grid;place-content:center;background:var(--mint);width:60px;height:60px;border-radius:50%;font-size:27px;margin:auto}.paused *{animation-play-state:paused!important}
@keyframes heartbeat{0%,35%,100%{transform:scale(1)}15%{transform:scale(1.08)}25%{transform:scale(1.02)}}@keyframes breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.04,1.06)}}@keyframes brain-light{50%{filter:drop-shadow(0 0 3px #9263c9)}}@keyframes contract{50%{transform:scale(1.12,.9)}}@keyframes hint-pulse{50%{stroke-opacity:.3}}@keyframes flow{to{stroke-dashoffset:-52}}@keyframes celebrate{from{transform:translateY(10px) scale(.8);opacity:0}to{transform:none;opacity:1}}
@media(min-width:1500px){.body-viewport{height:560px}}
@media(max-width:1100px){.game-shell{padding:22px 24px 0}.utility .fullscreen{display:none}.tab{padding:10px 14px;font-size:13px}.play-grid{gap:12px;grid-template-columns:minmax(190px,.9fr) minmax(260px,1.3fr) minmax(180px,.8fr)}.mission-panel,.pieces-panel{padding:17px}.mission-panel h2{font-size:25px}.pieces-panel .section-heading h2{font-size:19px}.organ-card .organ-art{width:55px;height:55px}.organ-card{padding:10px 5px}.organ-card.selected{padding:9px 4px}.organ-tray{gap:7px}.welcome-copy{padding:25px}.level-card strong{font-size:18px}.level-icon{font-size:23px;width:32px;height:32px}.body-label{padding:12px 10px 0}.live-badge{font-size:8px}.body-label .eyebrow{font-size:8px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.game-shell{padding:18px 16px 0}.game-heading{gap:10px;margin-bottom:18px}.rewards{gap:12px}.rewards>span{font-size:15px;gap:0 4px}.game-heading .eyebrow{font-size:8px;letter-spacing:1px}.title-spark{display:none}.toolbar{gap:9px;flex-wrap:wrap;margin-bottom:18px;padding-bottom:14px}.mode-tabs{flex:1;justify-content:space-between}.tab{padding:9px 12px;font-size:12px;flex:1}.utility{margin-left:auto}.utility button{min-height:36px}.welcome-grid{min-height:280px}.welcome-copy h2{font-size:34px}.welcome-copy{padding:25px 0 25px 24px}.welcome-copy>p{font-size:14px}.welcome-copy .primary.large{font-size:13px;padding:14px 17px;gap:15px}.welcome-copy .pill{font-size:8px}.welcome-copy .microcopy{font-size:10px}.art-caption{font-size:9px;right:12px;bottom:18px}.level-grid{gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))}.level-card{min-height:137px}.level-card strong{font-size:22px}.mission-list{grid-template-columns:1fr}.play-grid{grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:12px}.mission-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:8px 15px;padding:16px}.mission-panel>.pill{grid-column:1;justify-self:start;font-size:8px;padding:5px 7px}.mission-panel h2{grid-column:1;font-size:22px;margin:0}.mission-prompt{grid-column:1;grid-row:3;font-size:15px;line-height:1.4}.step-progress{grid-column:1;margin:4px 0}.mission-panel>.replay{grid-column:2;grid-row:1/3;font-size:11px;align-self:start}.explorer-tip{display:none}.mission-panel>.feedback{grid-column:1;font-size:12px;min-height:0;padding:5px 0}.mission-actions{grid-column:2;grid-row:3/6;flex-direction:column;justify-content:end;max-width:150px}.mission-actions button{font-size:12px;min-height:40px;padding:8px 12px}.mission-panel .discovery-card.compact{grid-column:1;margin-top:0;padding:0;background:transparent;border:0}.compact .discovery-title,.compact dl{display:none}.compact .fun-fact{padding:8px}.compact .fun-fact p{font-size:12px;line-height:1.4}.compact>.text-button{min-height:34px;margin:0;padding:6px 0}.body-viewport{height:430px}.pieces-panel{padding:16px}.organ-card .organ-art{width:55px;height:55px}.organ-card strong{font-size:12px}.organ-card small{font-size:8px}.body-label{gap:4px}.live-badge{display:none}.body-label .eyebrow{font-size:9px}.body-panel{border-radius:18px}.mission-topline>span:nth-child(2){display:none}.diagram-note{font-size:8px}.view-tools{flex-wrap:wrap}.view-tools button{min-height:36px;padding:5px 8px}.explore-intro{display:block}.explore-intro>p{margin-top:12px}.explore-grid{gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.explore-grid .body-viewport{height:460px}.discovery-card{padding:17px}.discovery-title{gap:10px}.discovery-title .organ-art{width:50px;height:50px}.discovery-title h3{font-size:25px}.system-story{padding:16px}.system-story h3{font-size:22px}.game-footer{font-size:9px;flex-wrap:wrap}.badge-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.game-shell{padding:14px 12px 0}.game-heading h1{font-size:24px}.game-heading .eyebrow{font-size:7px}.rewards{gap:8px}.rewards>span{font-size:13px}.rewards small{font-size:7px;letter-spacing:0}.rewards>span:last-child{display:none}.toolbar{margin-bottom:15px;padding-bottom:10px}.mode-tabs{min-width:100%}.tab{font-size:11px;padding:9px 6px;min-height:42px}.tab span{font-size:16px;margin-right:3px}.utility{gap:10px}.utility button{padding:3px 10px;font-size:11px;min-height:32px}.welcome-grid{display:flex;flex-direction:column;position:relative}.welcome-copy{padding:25px;text-align:center}.welcome-copy h2{font-size:38px;margin:16px 0 10px}.welcome-copy>p{font-size:14px;margin-bottom:18px}.welcome-copy .primary.large{font-size:14px;justify-content:center;width:100%}.welcome-art{max-height:180px;overflow:hidden;margin-top:-12px}.welcome-art img{width:78%;margin:-12px auto 0}.art-caption{bottom:12px;font-size:8px}.section-heading h2{font-size:22px}.section-heading .eyebrow{font-size:8px}.overall{min-width:90px;max-width:90px;font-size:10px}.level-card{padding:16px}.level-card.chosen{padding:15px}.level-card strong{font-size:20px}.level-label{font-size:9px;margin-bottom:16px}.level-icon{font-size:21px;top:9px;right:9px;width:30px;height:30px}.level-card small{font-size:10px}.mission-card{padding:13px;font-size:13px}.mission-card strong{font-size:13px}.mission-card small{font-size:10px}.play-grid{gap:8px;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr)}.mission-panel{padding:12px;gap:7px 10px;border-radius:15px}.mission-panel h2{font-size:20px}.mission-prompt{font-size:14px}.mission-panel>.replay{font-size:10px;max-width:88px;line-height:1.4}.mission-actions{max-width:91px}.mission-actions button{font-size:11px;line-height:1.4;padding:8px}.body-viewport{height:345px}.body-label{padding:10px 7px 0}.body-label .eyebrow{font-size:7px;letter-spacing:.5px}.pieces-panel{padding:10px 8px;border-radius:15px}.pieces-panel .section-heading{margin-bottom:10px;gap:3px}.pieces-panel .section-heading h2{font-size:16px}.pieces-panel .eyebrow{font-size:7px;letter-spacing:.4px}.kit-count{display:none}.organ-tray{gap:5px}.organ-card{padding:8px 3px;min-height:79px;border-radius:10px}.organ-card.selected{padding:7px 2px}.organ-card .organ-art{width:36px;height:36px}.organ-card strong{font-size:10px;margin-top:5px;word-break:normal}.organ-card small{font-size:7px}.kit-footer{font-size:8px;margin-top:9px;padding-top:8px}.view-tools{gap:3px;margin:0 3px 5px}.view-tools button{font-size:9px;min-height:36px;padding:5px 6px;border-radius:9px}.view-tools button:first-child,.view-tools button:nth-child(3){min-width:32px}.view-tools button:last-child{min-height:32px}.diagram-note{font-size:7px}.scan-card{padding:20px 0}.scan-card .organ-art{width:70px;height:70px;margin-bottom:20px}.scan-card>span{font-size:8px}.scan-card p{font-size:12px}.answer-list{gap:8px}.answer-list button{font-size:11px;padding:10px 8px}.region-hint{font-size:10px;padding:6px;bottom:8px}.system-tabs{gap:5px;margin-bottom:15px}.system-tabs button{font-size:10px;padding:8px 10px;min-height:40px}.explore-intro h2{font-size:27px}.explore-grid{grid-template-columns:minmax(0,1fr);gap:15px}.explore-grid .body-viewport{height:350px}.explore-grid .body-label{padding:12px}.explore-grid .body-label .eyebrow{font-size:9px}.explore-grid .view-tools button{font-size:11px}.explore-details{gap:12px}.collection-grid{grid-template-columns:1fr}.collection-heading h2{font-size:30px}.collection-heading>p{font-size:12px}.badge-shelf{gap:9px}.badge{padding:14px 10px}.completion{padding:20px 12px}.completion h2{font-size:31px}.completion>p{font-size:14px}.completion-stats{gap:20px}.completion-actions{gap:9px}.completion-actions button{font-size:13px}.game-footer{font-size:8px;margin-top:8px;padding:16px 0;gap:7px}}
@media(max-height:560px) and (min-width:650px){.game-shell{padding-top:12px}.game-heading{margin-bottom:10px}.game-heading h1{font-size:25px}.toolbar{margin-bottom:10px;padding-bottom:8px}.body-viewport{height:330px}.explore-grid .body-viewport{height:340px}.play-grid{grid-template-columns:minmax(180px,.9fr) minmax(230px,1.3fr) minmax(180px,.9fr)}.mission-panel{display:block;grid-column:auto}.mission-panel h2{margin:12px 0;font-size:23px}.mission-prompt{font-size:14px}.mission-actions{flex-direction:row;max-width:none}.pieces-panel{padding:12px}.organ-card .organ-art{width:35px;height:35px}.organ-card{padding:7px 4px}.organ-card.selected{padding:6px 3px}.organ-card small{display:none}}
/* Keep the shared wordmark image; its background must not be replaced by a color. */
.ppgh-mark{background:url('/shared/logo-wordmark.png') left center / contain no-repeat!important}
@media(min-width:801px){body[data-screen="play"] .body-viewport{height:clamp(330px,calc(100dvh - 345px),490px)}body[data-screen="play"] .organ-card .organ-art{width:52px;height:52px}body[data-screen="play"] .organ-card{padding:9px 6px}body[data-screen="play"] .organ-card.selected{padding:8px 5px}}
@media(max-width:500px){body[data-screen="play"] .game-heading{margin-bottom:10px}body[data-screen="play"] .toolbar{margin-bottom:8px}body[data-screen="play"] .mission-topline{margin-bottom:4px}body[data-screen="play"] .body-viewport{height:clamp(275px,calc(100dvh - 385px),345px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.mix-food{transform-origin:61px 60px;animation:mix-food 3s linear infinite}.nutrient-flow{fill:none;stroke:#a87429;stroke-width:3;stroke-dasharray:3 13;animation:flow 4s linear infinite}.bile-drop{animation:bile 3s ease-in infinite}.filter-drops{animation:filter-water 2.5s ease-in infinite}.selected-zone.activate-bones .zone-hit{fill:#fff4bc88;stroke:#b19746}.drag-ghost .organ-art{width:60px;height:60px}
.region-highlight{fill:#f9dd7244;stroke:#b49128;stroke-width:2;stroke-dasharray:4 3;pointer-events:none}
.utility button,.mission-actions button,.explore-parts button{min-height:44px!important}.badge{color:#52674e}
@keyframes mix-food{to{transform:rotate(360deg)}}@keyframes bile{0%{transform:translate(0,0);opacity:1}100%{transform:translate(10px,13px);opacity:.25}}@keyframes filter-water{0%{transform:translateY(-13px);opacity:.4}50%{opacity:1}100%{transform:translateY(12px);opacity:.3}}
@media(max-width:500px){.ppgh{flex-direction:row!important;gap:6px!important;padding:8px 12px!important}.ppgh-mark{width:125px!important;height:24px!important}.ppgh-brand small{display:none!important}.ppgh-actions{flex-wrap:nowrap!important}.ppgh-btn{font-size:10px!important;padding:7px 8px!important;min-height:36px!important}.ppgh-label{display:inline!important}body[data-screen="play"] .game-heading h1{font-size:21px}body[data-screen="play"] .game-heading .rewards>span:nth-child(2){display:none}body[data-screen="play"] .mission-panel h2{display:none}body[data-screen="play"] .mission-prompt{grid-row:2}body[data-screen="play"] .mission-panel>.replay{grid-row:1;min-height:30px;padding:0}body[data-screen="play"] .mission-actions{grid-row:2/5}body[data-screen="play"] .step-progress{grid-row:3}.body-panel .view-tools button{min-height:44px}.body-panel .view-tools button:first-child,.body-panel .view-tools button:nth-child(3){min-width:44px}.game-footer{font-size:9px}}
