:root{font-family:ui-rounded,"Arial Rounded MT Bold","Microsoft JhengHei",system-ui,sans-serif;color:#173e39;background:#def2ee;font-size:16px;font-synthesis:none;--green:#126653;--ink:#173e39;--yellow:#ffdf74;--blue:#277aa8;--line:#d5e5db}
*{box-sizing:border-box}body{margin:0;min-width:300px;background:radial-gradient(ellipse at 8% 10%,#fff9cd 0,transparent 32%),linear-gradient(#d7f0ef 0%,#edf7dc 100%);min-height:100vh}button,select{font:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;color:inherit}button:disabled{cursor:default;opacity:.7}button:focus-visible,select:focus-visible{outline:4px solid #a32d83;outline-offset:4px}button:hover:not(:disabled){filter:brightness(.97)}button:active:not(:disabled){transform:translateY(2px)}.topbar{max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 28px}.brand{display:flex;align-items:center;gap:10px;border:0;background:none;text-align:left;font-weight:900;font-size:1.25rem;padding:0;min-height:52px}.brand small{display:block;font-size:.69rem;letter-spacing:.19em;margin-top:4px}.brand-mark{width:47px;height:47px;background:var(--green);color:var(--yellow);border-radius:15px;display:grid;place-items:center;font-size:2rem;transform:rotate(-6deg)}.parent-button,.quiet{border:2px solid #bed6cb;border-radius:16px;background:#fffdf3;padding:12px 18px;min-height:52px;font-weight:700}.parent-button{font-size:.9rem}main{max-width:1100px;margin:0 auto;padding:10px 28px 28px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.25;margin-bottom:10px}h2{font-size:1.6rem;line-height:1.35}p{line-height:1.65}.eyebrow{font-size:.85rem;letter-spacing:.08em;font-weight:800;color:#426c58;margin-bottom:10px}.home-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0 22px}.home-heading p{margin:0;color:#49635b}.hello-art{width:160px;flex:none}.mission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.mission-card{background:#fffef8;border:2px solid #fff;border-radius:28px;box-shadow:0 8px 0 #bdd7c44d;overflow:hidden;display:flex;flex-direction:column}.mission-card .art{height:190px;display:grid;place-items:center;position:relative;background:#fce69b}.mission-card:nth-child(2) .art{background:#bae4ef}.mission-card:nth-child(3) .art{background:#d5d0f5}.mission-card .art>svg{width:180px;height:155px}.mission-number{position:absolute;top:15px;left:15px;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;background:#ffffffb8;font-weight:900}.mission-content{padding:22px;display:flex;flex:1;flex-direction:column}.mission-content h2{margin-bottom:7px}.mission-content p{font-size:.95rem;color:#52635a;margin-bottom:20px}.mission-content button{margin-top:auto}.primary,.secondary,.listen{border:0;min-height:56px;border-radius:17px;font-weight:800;padding:14px 22px}.primary{background:var(--green);color:#fff;box-shadow:0 4px 0 #084b3c}.secondary{background:#fff4c4;color:#64460e;border:2px solid #edcd6b}.listen{background:#fffef8;border:2px solid #c4dbcf;display:inline-flex;align-items:center;justify-content:center;gap:9px}.listen svg{width:24px;height:24px}.resume{background:var(--green);color:#fff;padding:18px 22px;border-radius:22px;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:15px}.resume p{margin:4px 0 0;color:#e3f5ea}.resume .primary{background:var(--yellow);color:var(--ink);box-shadow:0 3px 0 #bca343}.home-bottom{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:25px 4px 0;color:#4f695b;font-size:.95rem}.session-badge{padding:8px 14px;border-radius:99px;background:#f8ffe8;font-weight:700;white-space:nowrap}.game-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:4px 0 16px}.steps{display:flex;gap:8px;align-items:center}.step{background:#c7dacc;width:30px;height:9px;border-radius:9px}.step.active{background:var(--green)}.game-label{font-size:.85rem;font-weight:800;color:#526e62}.stage{background:#fffefa;border:2px solid #fff;border-radius:28px;box-shadow:0 8px 0 #aac8b644;overflow:hidden}.task-header{padding:24px 28px 18px;display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.task-header h1{font-size:clamp(1.55rem,3.6vw,2.15rem);margin:5px 0 7px}.task-header p{margin:0;color:#56715f}.task-header .listen{flex:none}.scene{padding:22px;min-height:260px;position:relative;background:#e9f1d3;border-top:1px solid #d8e4c2;border-bottom:1px solid #d8e4c2}.picnic-scene{background:repeating-linear-gradient(0deg,transparent,transparent 38px,#fff5 38px,#fff5 42px),repeating-linear-gradient(90deg,#f5e6be,#f5e6be 38px,#f8edcf 38px,#f8edcf 42px);display:flex;justify-content:center;align-items:center}.animal-row{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;width:100%;max-width:880px}.animal-row.scatter .animal:nth-child(even){transform:translateY(12px)}.animal-row.scatter .animal:nth-child(odd){transform:translateY(-8px)}.animal{background:none;border:0;min-width:88px;width:140px;padding:0;display:flex;flex-direction:column;align-items:center;gap:4px;border-radius:22px}.animal>svg{width:95px;height:100px}.plate{width:85px;height:57px;border:4px solid #aac0b5;border-radius:50%;background:#fffefa;display:grid;place-items:center;box-shadow:0 3px 0 #85998b22}.plate svg{width:44px;height:44px}.plate.empty:after{content:'+';font-size:1.7rem;font-weight:800;color:#7e998a}.animal.fed .plate{border-color:#408d5e;background:#e7f7da}.animal small{font-size:.8rem;font-weight:700}.tray{padding:20px 24px;display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap}.tray-label{font-size:.95rem;color:#56715f;max-width:165px;line-height:1.6}.item{border:3px solid #d4e1d6;background:#fff;border-radius:22px;width:90px;min-height:87px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:9px;touch-action:none;user-select:none;position:relative}.item svg{width:54px;height:54px;pointer-events:none}.item span{font-size:.88rem;font-weight:700}.item.selected{border-color:var(--green);background:#eff9d6;box-shadow:0 0 0 4px #c6e5aa}.item.selected:after{content:'✓';position:absolute;right:-7px;top:-7px;width:25px;height:25px;border-radius:50%;background:var(--green);color:white}.item:disabled{opacity:.45}.hint-row{padding:0 26px 20px;color:#536955;text-align:center;font-size:.95rem;min-height:44px}.feedback{font-weight:800;color:#166148;line-height:1.6;margin:0}.game-controls{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:22px}.success{background:#edf9d7;border-top:1px solid #d0e2b3;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.success h2{font-size:1.35rem;margin:0 0 5px}.success p{margin:0}.success button{flex:none}.sound-note{font-size:.82rem;line-height:1.6;color:#5c685c;padding:12px 4px 0;margin:0}.bridge-scene{background:#c3e7ec}.bridge-helper{position:absolute;left:20px;bottom:20px;width:95px}.river{padding:12px 8px 22px;margin-left:95px}.bridge-rail{border-top:9px solid #ba8246;border-bottom:9px solid #ba8246;display:flex;gap:7px;padding:10px 0}.plank-space{flex:1;min-height:88px;border:3px dashed #608f9977;border-radius:9px;background:#ecfaf755}.plank-space.filled{border:3px solid #b77334;background:repeating-linear-gradient(0deg,#daa25e 0,#daa25e 17px,#cd9150 18px,#daa25e 20px)}.plank-space.filled.blue{background:repeating-linear-gradient(0deg,#68afc7 0,#68afc7 17px,#5298b0 18px,#68afc7 20px);border-color:#3d819a}.bundle{width:130px}.bundle svg{width:95px}.equation{display:flex;justify-content:center;gap:8px;align-items:center;margin-top:24px;font-size:1.5rem;font-weight:900}.equation span{background:#fffce7;padding:6px 14px;border-radius:12px}.basket-scene{display:flex;justify-content:center;align-items:center;background:#e6e4f8;min-height:220px;gap:36px}.postman{width:115px}.basket{border:3px dashed #a3a0c0;border-radius:25px;background:#ffffff77;min-height:160px;width:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px}.basket>svg{height:110px;width:125px}.basket.received{border-style:solid;border-color:#53836e}.basket span{font-weight:800}.letter-prompt{display:block;font-family:system-ui,sans-serif;font-size:1.3rem;color:#335b86;margin-top:6px}.done-panel{text-align:center;background:#fffdf1;border:2px solid white;border-radius:30px;padding:38px 25px}.done-panel>svg{width:150px;height:160px}.done-panel p{max-width:530px;margin:0 auto 22px}.done-panel .actions{justify-content:center}.actions{display:flex;gap:12px;flex-wrap:wrap}footer{max-width:1100px;margin:auto;text-align:center;padding:0 25px 24px;color:#516858;font-size:.8rem;line-height:1.6}#storage-note{display:block;color:#a34e1e}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{border:0;border-radius:25px;padding:28px;max-width:620px;width:calc(100% - 30px);max-height:90dvh;overflow-y:auto;color:var(--ink);box-shadow:0 15px 60px #12382c44;background:#fffef8}dialog::backdrop{background:#153f3bcc;backdrop-filter:blur(3px)}dialog h2{margin-bottom:14px}dialog p{font-size:.95rem}dialog .close-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}dialog .close-row h2{margin:0}.settings{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.settings label{font-weight:800;font-size:.9rem}.settings select{display:block;width:100%;margin-top:9px;padding:13px 9px;border:2px solid var(--line);border-radius:12px;min-height:50px;background:#fff;color:var(--ink)}.parent-block{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.parent-block h3{font-size:1.05rem;margin-bottom:9px}.progress-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.progress-grid div{border-radius:14px;background:#edf3e8;text-align:center;padding:14px 6px;font-size:.85rem}.progress-grid strong{font-size:1.7rem;display:block}.activity{background:#fff1bc;padding:16px;border-radius:16px;font-size:.95rem;line-height:1.7}.danger{border:2px solid #dcb0a2;background:#fff6f0;color:#863e29;border-radius:14px;min-height:52px;padding:12px 17px;font-weight:700}.drag-ghost{position:fixed;z-index:1000;pointer-events:none;width:72px;height:72px;transform:translate(-50%,-50%);background:#fffcead9;border:3px solid #126653;border-radius:18px;padding:7px;box-shadow:0 8px 25px #173e3944}.drag-ghost svg{width:100%;height:100%}.drop-hover{outline:4px solid #126653;outline-offset:5px}.subtle{font-size:.85rem;color:#526855}.selected-caption{font-size:.9rem;text-align:center}.empty-check{display:block;text-align:center;font-size:1.05rem;font-weight:800;color:#4a6971;margin-top:10px}.end-icon{display:inline-flex;align-items:center;justify-content:center;background:#ffdf74;border-radius:50%;width:40px;height:40px;margin-right:8px}a{color:var(--green)}
@media(max-width:740px){.topbar{padding:16px 18px}main{padding:5px 16px 24px}.home-heading{padding:12px 4px 22px}.hello-art{width:100px}.mission-grid{gap:12px}.mission-card .art{height:135px}.mission-card .art>svg{width:125px;height:115px}.mission-content{padding:16px}.mission-content h2{font-size:1.2rem}.mission-content p{font-size:.88rem}.mission-content button{padding:13px 8px}.task-header{padding:21px 20px 16px}.animal{width:105px}.animal>svg{width:78px;height:85px}.animal-row{gap:14px}.scene{padding:22px 14px}.success{padding:20px}.bridge-helper{width:75px;left:12px}.river{margin-left:73px}.bundle{width:114px}.tray{padding:20px 14px}.home-bottom{font-size:.85rem}.task-header .listen{padding:12px;min-width:56px}.task-header .listen .listen-text{display:none}}
@media(max-width:520px){.brand{font-size:1.04rem}.brand small{font-size:.59rem}.brand-mark{width:39px;height:43px}.parent-button{padding:10px 12px;min-height:48px}.hello-art{display:none}.home-heading h1{font-size:1.8rem}.home-heading p{font-size:.95rem}.mission-grid{grid-template-columns:1fr}.mission-card{display:grid;grid-template-columns:105px 1fr;border-radius:23px}.mission-card .art{height:100%;min-height:163px}.mission-card .art>svg{width:100px;height:115px;margin-top:20px}.mission-number{width:27px;height:27px;left:9px;top:9px;font-size:.8rem}.mission-content{padding:15px}.mission-content h2{font-size:1.25rem}.mission-content p{margin-bottom:11px}.mission-content button{min-height:48px}.home-bottom{align-items:flex-start;gap:10px}.session-badge{white-space:normal;text-align:center}.home-bottom>span:first-child{max-width:210px}.resume{padding:16px;flex-wrap:wrap}.resume p{font-size:.85rem}.game-label{font-size:.78rem}.game-top .quiet{font-size:.9rem;padding:10px 12px;min-height:48px}.stage{border-radius:23px}.task-header{padding:17px 15px 14px;gap:10px}.task-header h1{font-size:1.45rem}.task-header p{font-size:.91rem}.task-header .eyebrow{font-size:.76rem;margin-bottom:3px}.scene{min-height:225px}.animal{width:78px;min-width:72px}.animal>svg{width:65px;height:73px}.animal-row{gap:12px 13px}.plate{width:70px;height:47px}.plate svg{width:36px;height:36px}.animal small{font-size:.72rem}.animal-row.scatter .animal:nth-child(even){transform:translateY(7px)}.animal-row.scatter .animal:nth-child(odd){transform:translateY(-5px)}.tray{gap:14px;padding:17px 12px}.tray-label{font-size:.87rem;max-width:155px}.item{width:78px;min-height:82px;padding:7px;border-radius:18px}.item svg{width:49px;height:49px}.hint-row{padding:0 15px 16px;font-size:.87rem}.success{display:block;padding:18px 16px}.success h2{font-size:1.2rem}.success p{font-size:.91rem}.success button{margin-top:14px;width:100%}.game-controls{margin-top:18px;gap:10px}.game-controls button{font-size:.9rem;padding:11px 13px;min-height:52px}.bridge-helper{width:65px;left:9px;bottom:16px}.river{margin-left:55px;padding:0 0 8px}.bridge-rail{gap:4px;padding:9px 0}.plank-space{min-height:90px;border-width:2px}.bridge-scene{padding:25px 12px 25px 8px;min-height:210px;display:flex;align-items:center}.bridge-scene .river{width:100%}.bridge-scene .empty-check{font-size:.83rem}.bundle{width:105px}.bundle svg{width:88px}.equation{font-size:1.12rem;gap:4px;margin-top:16px}.equation span{padding:5px 10px}.basket-scene{gap:18px;min-height:207px}.postman{width:78px}.basket{width:160px;min-height:147px}.basket>svg{height:100px;width:113px}.letter-prompt{font-size:1.13rem}.settings{grid-template-columns:1fr}.done-panel{padding:28px 18px}.done-panel .actions{flex-direction:column}dialog{padding:22px}.sound-note{font-size:.78rem}.progress-grid{gap:6px}.progress-grid div{font-size:.79rem}.parent-block p{font-size:.88rem}}
@media(prefers-reduced-motion:no-preference){.animal.fed>svg{animation:happy .35s ease-out}.success{animation:arrive .3s ease-out}@keyframes happy{50%{transform:translateY(-8px) rotate(-4deg)}}@keyframes arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}

/* Original rounded 2D dinosaur portraits; mechanics and educational objects retained. */
.dino-portrait{width:100%;height:100%;overflow:visible}.hello-art.dino-hero{width:min(100%,510px);min-width:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;align-items:end}.dino-hero figure{margin:0;min-width:0}.dino-hero svg{width:100%;height:115px}.dino-hero figcaption{text-align:center;font-size:.85rem;font-weight:800}.mission-card .art>.dino-portrait{width:170px;height:180px}.diner-art>.dino-portrait{height:115px}.crossing-beaver>.dino-portrait{width:100%;height:100%}.postman>.dino-portrait{width:100%;height:100%}.collection-mini>.dino-portrait{height:100%;width:100%}
@media(max-width:600px){.home-heading{display:flex;flex-direction:column;align-items:stretch}.hello-art.dino-hero{width:100%;margin:12px 0}.dino-hero svg{height:85px}.dino-hero figcaption{font-size:.76rem}.mission-card .art>.dino-portrait{width:100%;max-width:100%;height:135px;padding:4px}.diner-art>.dino-portrait{height:105px}}

.mission-card .art>.team-art{width:100%;height:190px;padding:10px;box-sizing:border-box;}

.harvest-sent{display:flex;align-items:center;justify-content:center;min-height:56px;color:#176548;font-weight:800;padding:10px}.diner.just-right .wish{min-height:44px;visibility:hidden}.diner.just-right .serve-zone{background:#e2f2df;border-color:#8eb687}
