:root{--brand-teal:#104f52;--brand-sage:#477e65;--brand-coral:#e96e42;--brand-peach:#fbe5d2;--ink:#184e4e;--muted:#738075;--green:#477e65;--green-soft:#eaf0df;--purple:#af5935;--purple-dark:#b55734;--cream:#fff9ed;--line:#e9e1d2;--yellow:#f3c65f;--red:#ed8055}
body{background:radial-gradient(ellipse at 4% 15%,#fbe3c34a 0,transparent 28%),radial-gradient(ellipse at 96% 30%,#e5edd94d 0,transparent 33%),var(--cream)}
body::before,body::after{content:"";position:fixed;pointer-events:none;width:105px;height:260px;background:url('assets/paw-trail.svg') center/contain no-repeat;opacity:.11;z-index:-1}
body::before{left:max(9px,calc(50% - 720px));top:170px;transform:rotate(-13deg)}
body::after{right:max(9px,calc(50% - 720px));top:650px;transform:rotate(12deg)}
.topbar{padding:18px 0 17px;border-bottom-color:#e2dccb}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:0;letter-spacing:0;flex-shrink:0}
.brand-wordmark{--logo-scale:.51;position:relative;width:calc(480px * var(--logo-scale));height:calc(100px * var(--logo-scale));overflow:hidden;mix-blend-mode:multiply}
.brand-wordmark img{display:block;position:absolute;width:calc(1254px * var(--logo-scale));height:calc(1254px * var(--logo-scale));max-width:none;left:calc(-390px * var(--logo-scale));top:calc(-18px * var(--logo-scale))}
.brand-tagline{font-family:"Bookman Old Style",Georgia,serif;font-size:11.5px;font-weight:700;color:#a36747;line-height:1.4;margin:2px 0 0 4px;white-space:nowrap;letter-spacing:.05px}
.sound-toggle{border-color:#d9dfcf;background:#fffdf5;color:var(--brand-teal)}
.sound-toggle[aria-pressed=true]{background:#e8f0de;border-color:#bdcdb0}
.sound-toggle[aria-pressed=true] .sound-dot{background:var(--brand-sage)}
.private-badge{color:#85907c}
.intro{padding:27px 0 24px;position:relative;isolation:isolate;min-height:215px;gap:25px}
.intro::after{content:"";position:absolute;width:115px;height:160px;right:310px;top:29px;background:url('assets/paw-trail.svg') center/contain no-repeat;opacity:.13;transform:rotate(-27deg);z-index:-1;pointer-events:none}
.eyebrow{color:#6d8d65;letter-spacing:1.7px;font-size:10px}
.eyebrow .pill{background:#e8eddc;color:#5e805b;border-radius:7px;padding:5px 9px}
.intro h1{color:var(--brand-teal);font-family:"Cooper Black","Bookman Old Style",Georgia,serif;font-size:43px;line-height:1.15;letter-spacing:-1.6px;font-weight:900;max-width:680px}
.intro h1 .five{color:#db683d}
.intro h1 .five:after{height:4px;background:#f5cc83;bottom:0}
.intro p{color:#7d8875;font-size:14px;line-height:1.65}
.intro-art.puppy-window{width:300px;height:195px;position:relative;overflow:hidden;flex-shrink:0;border-radius:36% 35% 20% 24%;mix-blend-mode:multiply;mask-image:linear-gradient(#000 82%,transparent 100%)}
.puppy-window img{position:absolute;width:650px;height:650px;max-width:none;left:-175px;top:-298px;display:block}
.game-nav.adventure-nav{gap:9px;margin-bottom:26px}
.adventure-nav button{background:#fffdf5;border-color:#e6e1d1;color:#6b7a6d;box-shadow:0 2px 0 #e8e3d469}
.adventure-nav button[aria-pressed=true]{background:var(--brand-sage);border-color:#488067;color:#fff;box-shadow:0 3px 0 #376d56}
.nav-emoji{filter:saturate(.92)}
.nav-emoji svg{width:21px;height:22px;color:#eab17c}
.adventure-nav button:not([aria-pressed=true]) .nav-emoji svg{color:#de9463}
.game-card{border-color:#e4ddce;box-shadow:0 5px 0 #e4dbc97a;background:#fffdf7}
.game-top,.memory-header,.brain-header{background:#f7f7eb;border-bottom-color:#e5e3d3;position:relative}
.game-top::after,.memory-header::after,.brain-header::after{content:"";position:absolute;width:31px;height:33px;right:128px;top:22px;background:url('assets/paw-coral.svg') center/contain no-repeat;opacity:.22;transform:rotate(16deg);pointer-events:none}
.game-top::after{right:135px;top:24px}
.memory-header h2,.brain-header h2{color:var(--brand-teal)}
.memory-eyebrow{color:#9c937a;letter-spacing:1.4px}
.level-pill{background:#fbeddb;color:#aa7044;border:1px solid #f2dcc0}
.primary-btn{background:var(--brand-sage);box-shadow:0 4px 0 #376d56;color:#fffdf3;border-radius:16px}
.primary-btn:active{box-shadow:0 1px 0 #376d56}
.primary-btn:focus-visible,button:focus-visible{outline-color:#d8895b}
.listen-btn{background:#f8ebdc;color:#ad764a}
.mode-switch{background:#ebeede}
.mode[aria-pressed=true]{background:#fffdf5;color:var(--brand-teal)}
.aside-card{background:#fffdf6;border-color:#e7dfcf}
.how-card{background:#eef2e4;position:relative;overflow:hidden}
.how-card::after{content:"";width:76px;height:80px;position:absolute;bottom:9px;right:10px;background:url('assets/paw-coral.svg') center/contain no-repeat;opacity:.065;transform:rotate(15deg);pointer-events:none}
.how-card>*{position:relative;z-index:1}
.how-card h3{color:#4c7459}
.memory-levels .level-button[aria-pressed=true],.brain-levels button[aria-pressed=true]{border-color:#bfd2b2;background:#eaf0df;color:#4f7653}
.memory-levels .level-button,.brain-levels button{background:#f7f5eb}
.memory-grid .memory-tile{background:#edf1df;border-color:#dce5ca;color:#6d8d5a}
.memory-tile .tile-back{color:#9ab58a}
.memory-grid .memory-tile.revealed{background:#fff3da;border-color:#e8d29c}
.memory-grid .memory-tile.matched{background:#e8f2dc;border-color:#b3c99d}
.memory-stats{background:#f4f1e4}
.memory-stat strong{color:#5f7e5d}
.brain-stage{background:#f5f4e7;border-color:#e8e6d6}
.brain-slot{border-color:#e6e2ce;background:#fffcf1}
.brain-slot.active{background:#fff0ce;border-color:#e0b46b;box-shadow:0 0 0 4px #f2ddad4a}
.brain-slot.found{background:#edf4df;border-color:#bed0a6}
.brain-choice{background:#fffcf2;border-color:#e8dfcb;border-bottom-color:#d9cbb0}
.brain-rule{background:#ffeed1;border-color:#eed3a2;color:#927243}
.brain-rule strong{color:#806335}
.num-box.answer{background:#fff0e1;color:#bb7548;border-color:#e4ba95}
.num-box.answer.filled{border-color:#e9c5a6}
.num-box.total{background:#fff0c9;color:#a57c32}
.blocks .basket-side{background:#f9eedd}
.blocks .basket-item .counting-block,.blocks .add-item .counting-block{background:#d6a376;border-color:#bf8b60}
.blocks .basket-side .scene-label{color:#a1825e}
.little-note .daisy{color:#df9668;width:39px;height:39px}
.little-note p strong{color:#718365}
.game-bottom{color:#8c977e}
.game-bottom svg{width:16px;height:16px;color:#d29568;transform:rotate(-13deg)}
.game-bottom::after{content:"";width:13px;height:14px;background:url('assets/paw-coral.svg') center/contain no-repeat;opacity:.48;transform:rotate(13deg);margin-left:3px;flex-shrink:0}
.sound-note{background:#faf4e5;border-color:#e9dec7;color:#8b8b77}
.sound-note>svg{color:#a88560}
.footer{padding:20px 0 25px;border-top:1px solid #e7dfcd;margin-top:22px;gap:16px}
.footer-brand{display:flex;align-items:center;gap:10px}
.footer-brand>svg{width:27px;height:29px;color:#db9264;transform:rotate(-12deg);flex-shrink:0}
.footer-brand strong{display:block;font-size:15px;color:var(--brand-teal);font-family:"Bookman Old Style",Georgia,serif;font-weight:850}
.footer-brand small{display:block;margin-top:4px;font-size:10px;color:#9b987f;line-height:1.4}
.restart-link{color:#819172}
@media(min-width:1300px){.intro h1{font-size:46px}}
@media(max-width:1000px){.intro-art.puppy-window{width:240px;height:185px}.puppy-window img{width:600px;height:600px;left:-169px;top:-274px}.intro::after{right:230px;width:85px;height:130px}.intro h1{font-size:39px}}
@media(max-width:720px){body::before,body::after{display:none}.topbar{padding:16px 0 15px;gap:12px}.brand-wordmark{--logo-scale:.36}.brand-tagline{font-size:8.8px;margin:1px 0 0 3px;letter-spacing:0}.top-actions{gap:0}.sound-toggle{padding:10px 11px;min-height:44px}.intro{min-height:0;padding:25px 0 21px;gap:13px}.intro::after{width:50px;height:80px;right:92px;top:31px;opacity:.10}.intro h1{font-size:34px;letter-spacing:-1.2px;max-width:260px;line-height:1.16}.intro p{font-size:12px;max-width:240px;line-height:1.7}.eyebrow{font-size:8px;letter-spacing:1.1px;gap:7px;max-width:235px}.eyebrow .pill{font-size:9px;padding:4px 7px}.intro-art.puppy-window{width:101px;height:126px;border-radius:38% 37% 16% 24%;mask-image:linear-gradient(#000 82%,transparent 100%)}.puppy-window img{width:439px;height:439px;left:-126px;top:-201px}.game-nav.adventure-nav{margin-bottom:22px;gap:7px}.adventure-nav button{border-radius:13px;font-size:11px}.game-top::after,.memory-header::after,.brain-header::after{display:none}.game-bottom{font-size:9px;line-height:1.5;gap:5px}.game-bottom svg{width:14px;height:14px;flex-shrink:0}.game-bottom::after{width:11px;height:12px;margin-left:0}.little-note .daisy{width:29px;height:29px}.footer{margin-top:18px;padding:17px 0 24px;gap:10px}.footer-brand{gap:7px}.footer-brand>svg{width:22px;height:24px}.footer-brand strong{font-size:13px}.footer-brand small{font-size:8px;margin-top:3px}.restart-link{font-size:10px;padding:9px 4px;white-space:nowrap}.sound-note{font-size:10.5px}}
@media(max-width:370px){.brand-wordmark{--logo-scale:.34}.brand-tagline{font-size:8.3px}.sound-toggle{padding:10px 9px;gap:6px;font-size:10px}.intro-art.puppy-window{width:80px;height:118px}.puppy-window img{width:415px;height:415px;left:-124px;top:-190px}.intro h1{font-size:29px;letter-spacing:-.9px}.intro p{font-size:11px}.intro{gap:8px}.intro::after{right:75px;width:40px;height:65px}.eyebrow{font-size:7.5px;letter-spacing:.75px}.eyebrow .pill{font-size:8px}.adventure-nav button{font-size:10px}.footer-brand small{font-size:7.7px}}

.footer-brand .copyright-notice,
.parent-footer .copyright-notice {
  display: block;
  margin-top: 4px;
  color: #315d4c;
  font-size: 0.75rem;
  line-height: 1.4;
}
