@font-face{font-family:Story;src:local('Trebuchet MS');font-display:swap}
:root{--paper:#fffaf0;--cream:#f3efdf;--ink:#304c3d;--green:#456b4a;--sage:#dce5c9;--muted:#6c795e;--coral:#bf624c;--gold:#d9b76c;--shadow:0 18px 55px #3b4b3020}
*{box-sizing:border-box}html{color-scheme:light;scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Story,'Trebuchet MS',system-ui,sans-serif;line-height:1.5;min-width:280px;overflow-x:hidden;background-image:radial-gradient(#8b95710d 1px,transparent 1px);background-size:6px 6px}button,a,input{touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.7}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #a25c38;outline-offset:5px}button svg{width:34px;height:30px;vertical-align:middle;pointer-events:none}button>*{pointer-events:none}a{color:inherit}.garden-decoration{position:fixed;pointer-events:none;inset:0;background:radial-gradient(ellipse at 0 100%,#839b6433,transparent 32%),radial-gradient(ellipse at 100% 0,#cfab5630,transparent 34%);z-index:-1}
.topbar{max-width:1400px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:18px 34px;gap:14px}.brand{text-decoration:none;font-family:Georgia,serif;font-size:25px;white-space:nowrap;font-weight:bold}.brand i{font-size:20px;font-weight:normal;color:#9b8c63}.brand-sprout{font-size:32px;margin-right:5px;color:var(--green)}.top-actions{display:flex;gap:9px}.utility{min-height:46px;min-width:46px;display:inline-flex;gap:7px;align-items:center;justify-content:center;border:1px solid #b6c3a480;background:#fff9edc9;border-radius:30px;padding:7px 14px;font-size:14px;font-weight:700}.utility svg{width:23px;height:22px}.utility:hover{background:#fffdf5}
.book{width:min(1350px,calc(100% - 50px));margin:4px auto 0;position:relative;border:1px solid #d5d5b9;border-radius:28px;background:var(--paper);box-shadow:var(--shadow);overflow:hidden}.spread{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.85fr);min-height:620px}.art-panel{position:relative;background:#dbe0c3;overflow:hidden;isolation:isolate;align-self:stretch;min-height:400px}.art-panel:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset -8px 0 20px #38332412;z-index:2}.art-image{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:48% center}.art-panel:not(.cover-art) .art-image{object-fit:contain;background:#e8e8ce}.art-caption{position:absolute;left:25px;bottom:20px;right:25px;font-family:Georgia,serif;font-style:italic;color:white;text-shadow:0 1px 9px #293b27;font-size:18px;z-index:4}.chapter-ribbon{position:absolute;left:20px;top:20px;background:#fffbefed;padding:7px 17px 8px;border-radius:3px 19px 19px 3px;font-size:12px;letter-spacing:.11em;text-transform:uppercase;box-shadow:0 3px 12px #293b2724;z-index:3}.story-panel{padding:35px 32px 28px;position:relative;display:flex;flex-direction:column;background:linear-gradient(90deg,#d4c8a21a,transparent 25px),var(--paper)}.eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#8c754b;font-weight:800;margin-bottom:8px;display:block}.story-panel h1,.story-panel h2{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em;line-height:1.08;font-size:42px;font-weight:normal;margin:0 0 18px}.story-text{font-size:20px;line-height:1.65;margin:0 0 19px;max-width:38em}.story-text:empty{display:none}.story-actions{margin-top:auto}.prompt{font-weight:bold;font-size:17px;margin:0 0 12px;color:var(--green)}.primary{border:1px solid #365a3d;border-bottom:4px solid #2f4f35;color:#fffdf1;background:linear-gradient(105deg,#5e7d4e,#426848);border-radius:11px 23px 13px 23px;min-height:53px;padding:12px 22px;font-weight:bold;font-size:17px;box-shadow:0 4px 9px #3b4b3015;display:inline-flex;align-items:center;justify-content:center;gap:14px}.primary:hover{background:#365b3c}.primary:active{transform:translateY(2px);border-bottom-width:2px}.primary.full{width:100%}.secondary{background:#f2e9d4;border:1px solid #d9c9a4;border-radius:18px;min-height:46px;padding:8px 15px;font-size:15px;font-weight:bold}.text-button{min-height:44px;min-width:44px;padding:8px 12px;background:transparent;border:0;color:var(--muted);text-decoration:underline;text-underline-offset:4px;font-size:14px}.small-note{font-size:13px;color:var(--muted);line-height:1.6}.cover .story-panel{padding-top:42px}.cover h1{font-size:55px;margin-bottom:18px}.cover-sub{font-family:Georgia,serif;font-style:italic;font-size:20px;color:#7b765d;margin:0 0 24px}.mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px}.mode{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;padding:13px 15px;border:2px solid #e0d7bd;border-radius:12px 20px 13px 20px;background:#faf5e8;min-height:106px}.mode.active{background:#e7eddb;border-color:#6e8b56}.mode svg{width:37px;height:31px}.mode strong{font-size:16px}.mode small{font-size:12px;color:var(--muted)}.read-option{display:flex;align-items:center;gap:9px;margin:11px 0 20px;font-size:14px}.read-option input{accent-color:var(--green);width:19px;height:19px}.cover-start{display:flex;flex-wrap:wrap;gap:10px}.cover-note{margin-top:15px;font-size:12px;color:#7b806c}
.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.choice{position:relative;border:1px solid #c5b58f;border-bottom:4px solid #bba77c;border-radius:16px 8px 21px 10px;background:linear-gradient(135deg,#f8e9c9,#e8d5af);min-height:112px;padding:12px 9px 10px;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;box-shadow:0 4px 10px #5a543418;transition:transform .18s,background .18s}.choice:hover{transform:translateY(-3px);background:#f8edcf}.choice svg{width:78px;height:65px;filter:drop-shadow(0 3px 1px #69543110)}.choice-label{font-size:15px;font-weight:700}.choice.selected{background:#dde9c8;border-color:#6c8c50;box-shadow:inset 0 0 0 2px #6c8c50}.choice.selected:after{content:'✓';position:absolute;right:8px;top:4px;font-size:21px;color:#496942}.choice-grid.three .choice svg{width:60px;height:57px}.choice-grid.three .choice-label{font-size:13px}.basket-list{border:1px dashed #ad9870;border-radius:10px;padding:9px 12px;display:flex;align-items:center;gap:12px;margin-bottom:12px;background:#f5edd8}.basket-list svg{width:30px;height:29px}.basket-slot{background:#fff9ebcc;border:1px dashed #bdab86;width:40px;height:37px;border-radius:8px;display:flex;align-items:center;justify-content:center}.basket-label{font-size:13px;margin-right:auto}.hint-row{display:flex;align-items:center;justify-content:flex-end;margin-top:8px}.feedback{margin:13px 0 0;padding:15px 17px;background:#edf1df;border:1px solid #d6dfbf;border-radius:8px 21px 10px 20px;animation:appear .25s ease-out}.feedback p{font-size:17px;line-height:1.55;margin:0}.feedback .feedback-audio{background:transparent;border:0;min-height:44px;padding:8px 0;font-size:13px;color:#48623e;display:inline-flex;align-items:center;gap:5px}.feedback-audio svg{width:20px;height:20px}.feedback .primary{margin-top:9px;width:100%;font-size:16px}.rain-drops{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:10px 2px}.rain-drop{border:0;background:#e4eee8;border-radius:55% 45% 45% 55%;height:94px;padding:10px;min-width:44px}.rain-drop svg{width:67px;height:66px}.rain-drop.tapped{opacity:.35;background:transparent}.rain-drop:not(.tapped):hover{background:#d5e7e3}.little-caption{font-size:13px;text-align:center;color:var(--muted);margin:5px 0 10px}.picnic-table{background-color:#faf1db;background-image:linear-gradient(90deg,#ce745724 50%,transparent 50%),linear-gradient(#ce745724 50%,transparent 50%);background-size:27px 27px;border-radius:15px;padding:14px 8px;border:1px solid #d7b7a0}.berries-left{display:flex;justify-content:center;gap:2px;align-items:center;min-height:36px;margin-bottom:10px}.berries-left svg{width:30px;height:30px}.berries-left strong{font-size:14px;margin-right:4px}.plates{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.friend-plate{display:flex;flex-direction:column;align-items:center;min-width:0}.friend-face{width:49px;height:42px}.friend-face svg{width:100%;height:100%}.plate-name{font-size:13px;font-weight:bold;margin:2px 0 5px}.plate{width:100%;border:2px solid #d2bc8c;border-radius:50%;background:#fff9e9;min-height:70px;padding:9px 5px;display:flex;align-items:center;justify-content:center;gap:0;flex-wrap:wrap;box-shadow:inset 0 0 0 4px #f5ebcb,0 2px 4px #6c53341a}.plate svg{width:27px;height:29px}.plate.glow{border-color:#5b824d;animation:glow 1.6s infinite}.plate:disabled{opacity:.8}.take-back{height:44px;width:44px;border:0;background:transparent;font-size:23px;color:#816d52}.take-back:disabled{opacity:.2}.table-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;font-size:12px;color:#715f45}.table-tools button{font-size:12px}.guest-seat{display:flex;gap:10px;align-items:center;background:#eaf0da;padding:13px;border-radius:15px;margin-bottom:16px}.guest-seat svg{width:50px;height:45px}.ending .story-panel h2{font-size:43px}.ending-star{display:flex;gap:7px;align-items:center;margin:7px 0 16px}.ending-star svg{width:35px;height:35px}.ending-actions{display:flex;gap:10px;flex-wrap:wrap}.page-footer{width:min(1280px,calc(100% - 56px));margin:15px auto 22px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#788069}.page-footer button{min-height:44px;background:transparent;border:0;padding:8px 12px;color:#52634c;font-size:14px}.progress{display:flex;align-items:center;gap:10px}.progress-track{width:110px;height:5px;background:#d9dfc9;border-radius:5px;overflow:hidden}.progress-track span{display:block;background:#7c945e;height:100%}.footer-title{font-family:Georgia,serif;font-style:italic}.audio-active{background:#e4edda;border-color:#7c9a65}.sound-status{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);width:min(90%,480px);padding:12px 18px;border:1px solid #c3cda9;background:#fffff2;border-radius:13px;box-shadow:0 4px 20px #3b4b3020;z-index:10;font-size:14px}
.effect-layer{position:absolute;inset:0;z-index:5;pointer-events:none;overflow:hidden}.particle{position:absolute;width:40px;height:40px;animation:floaty 2.4s ease-out both;left:var(--x);top:var(--y)}.particle svg{width:100%;height:100%}.effect-word{position:absolute;left:50%;top:19%;transform:translateX(-50%) rotate(-6deg);padding:7px 20px;background:#fff8e7ed;border:1px solid #b6b98e;border-radius:40%;font:italic 32px Georgia,serif;color:#52744b;animation:wordpop 1.8s both;white-space:nowrap}.art-panel.wiggle .art-image{animation:wiggle .7s}.art-panel.wind .art-image{animation:wiggle .7s}.mini-bug{width:40px;height:34px;border-radius:50%;background:#bb6148;position:relative;box-shadow:inset -17px 0 #a95240;flex-shrink:0}.mini-bug:before{content:'';position:absolute;background:#344433;width:13px;height:15px;border-radius:50%;left:-7px;top:10px}.mini-bug:after{content:'••';font-size:27px;position:absolute;left:7px;top:-5px;letter-spacing:1px;color:#394536}
dialog{width:min(560px,calc(100% - 28px));max-height:90dvh;overflow:auto;border:1px solid #b4bd9f;border-radius:25px;background:var(--paper);padding:32px;color:var(--ink);box-shadow:var(--shadow)}dialog::backdrop{background:#273c2c88;backdrop-filter:blur(3px)}dialog h2{font:normal 32px/1.15 Georgia,serif;margin:12px 0 17px}dialog p{font-size:16px}.dialog-close{float:right;font-size:25px;line-height:1;min-height:44px;padding:0 12px}fieldset{border:0;padding:0;margin:22px 0 16px}legend{font-weight:bold;font-size:15px;margin-bottom:10px}.setting-option{display:flex;align-items:center;gap:12px;border:1px solid #d3d9bd;border-radius:12px;padding:12px;margin-bottom:9px}.setting-option input{accent-color:var(--green);width:20px;height:20px}.setting-option small{display:block;color:var(--muted);margin-top:3px}.switch-row{display:flex;align-items:center;gap:10px}.switch-row input{accent-color:var(--green);width:20px;height:20px}details{font-size:14px;margin:18px 0}details p{font-size:14px}summary{min-height:44px;cursor:pointer;padding:9px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.scene-enter{animation:appear .35s ease-out}
@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-1.4deg)}75%{transform:rotate(1.4deg)}}@keyframes floaty{0%{opacity:0;transform:translateY(30px) rotate(-15deg)}20%{opacity:1}100%{opacity:0;transform:translateY(-110px) rotate(30deg)}}@keyframes wordpop{0%{opacity:0;scale:.7}15%,65%{opacity:1;scale:1}100%{opacity:0;scale:1.1}}@keyframes glow{50%{box-shadow:inset 0 0 0 4px #e0edbd,0 0 0 5px #94b76e45}}
@media(min-width:1450px){.spread{min-height:690px}.story-panel{padding:46px 43px 35px}.story-text{font-size:22px}.story-panel h2{font-size:46px}}
@media(max-width:1050px){.topbar{padding:15px 24px}.book{width:calc(100% - 30px)}.spread{grid-template-columns:minmax(0,1.1fr) minmax(310px,1fr);min-height:590px}.story-panel{padding:27px 24px}.story-panel h2{font-size:35px}.story-text{font-size:19px}.cover h1{font-size:47px}.choice-grid.three .choice-label{font-size:12px}}
@media(max-width:740px){.topbar{padding:9px 15px;gap:8px}.brand{font-size:20px}.brand i{font-size:17px}.brand-sprout{font-size:25px}.top-actions{gap:5px}.utility{padding:6px 10px;font-size:13px;min-height:44px}.desktop-label{display:none}.book{width:calc(100% - 20px);margin:0 auto;border-radius:20px}.spread{display:flex;flex-direction:column;min-height:0}.art-panel{width:100%;height:auto;min-height:0;aspect-ratio:3/2}.art-image{object-fit:contain!important}.art-panel:after{box-shadow:inset 0 -9px 18px #303a2510}.art-caption{left:17px;bottom:13px;font-size:15px}.chapter-ribbon{top:12px;left:12px;padding:5px 12px;font-size:10px}.story-panel{padding:24px 21px 20px}.story-panel:before{content:'';position:absolute;top:-9px;left:0;right:0;height:13px;background:var(--paper);border-radius:55% 38% 0 0}.story-panel h2{font-size:31px;line-height:1.13;margin-bottom:13px}.story-text{font-size:18px;line-height:1.58;margin-bottom:17px}.eyebrow{font-size:10px;margin-bottom:7px}.cover .story-panel{padding-top:25px}.cover h1{font-size:43px;margin-bottom:11px;max-width:300px}.cover-sub{font-size:18px;margin-bottom:16px}.cover-start .primary{flex:1}.mode{min-height:100px}.mode small{font-size:11px}.read-option{margin-bottom:16px}.choice{min-height:108px}.choice svg{width:72px;height:59px}.choice-grid.three .choice{min-height:105px;padding:9px 5px}.choice-grid.three .choice svg{width:61px;height:57px}.prompt{font-size:16px}.primary{min-height:52px;font-size:16px}.story-actions{margin-top:0}.page-footer{margin:8px auto 14px;width:calc(100% - 26px)}.footer-title{display:none}.progress-track{width:80px}.ending .story-panel h2{font-size:35px}.feedback p{font-size:16px}.plate{min-height:72px}.plate svg{width:25px;height:28px}.sound-status{font-size:13px}.guest-seat{margin-bottom:14px}}
@media(max-width:359px){.brand{font-size:18px}.brand-sprout{display:none}.topbar{padding-left:12px;padding-right:12px}.story-panel{padding:22px 16px 18px}.story-text{font-size:17px}.choice-grid.three{gap:6px}.choice-grid.three .choice-label{font-size:11px}.mode{padding:11px}.cover h1{font-size:38px}}
.brand{min-height:44px;display:inline-flex;align-items:center}.read-option{min-height:44px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* BEGIN learning guide: useful observations and one small real-world extension. */
#settings .dialog-toolbar{position:sticky;top:-32px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-32px -32px 18px;padding:14px 24px;background:var(--paper);border-bottom:1px solid #d3d9bd}#settings .dialog-toolbar .eyebrow{line-height:1.5}#settings .dialog-close{float:none;flex:0 0 44px;background:var(--paper);border:1px solid #d3d9bd}@media(max-width:400px){#settings .dialog-toolbar{top:-22px;margin:-22px -18px 18px;padding:12px 18px}}
.learning-link{align-self:flex-start;text-align:left;color:var(--green);font-weight:700}.learning-cards{display:grid;gap:12px;margin:22px 0}.learning-cards section{display:flex;align-items:flex-start;gap:13px;padding:16px;background:#eef1e2;border:1px solid #d4dcc3;border-radius:12px 22px 12px 22px}.learning-number{display:grid;place-items:center;flex:0 0 29px;height:29px;border-radius:50%;background:#496b48;color:white;font-weight:bold}.learning-cards h3,.home-mission h3{font:normal 22px/1.2 Georgia,serif;margin:2px 0 9px}.learning-cards p{font-size:15px;line-height:1.55;margin:0 0 9px}.learning-cards small{display:block;font-size:13px;line-height:1.5;color:#4f5d48}.home-mission{border-left:4px solid #ac8650;background:#f2e9d5;padding:18px;border-radius:0 18px 18px 0;margin:18px 0}#settings p{line-height:1.6}#settings summary{font-weight:700;line-height:1.4}#settings a{color:#365b3c;text-underline-offset:3px}#settings .small-note{font-size:13px}#settings #apply-settings{margin-top:12px}#settings h2{max-width:410px}@media(max-width:400px){#settings{padding:22px 18px}.learning-cards section{padding:13px 10px;gap:10px}.learning-cards h3{font-size:20px}}
/* Replay edition: picture-led navigation, picnic objects and forgiving touch targets. */
html{scroll-padding-top:70px}body{padding-bottom:env(safe-area-inset-bottom);background-color:#f0eddb}.topbar{padding-top:max(10px,env(safe-area-inset-top))}.book{border:6px solid #fff9eb;border-radius:32px;box-shadow:0 3px 0 #d4ceb0,0 22px 60px #3a4c2922}.story-panel{background:radial-gradient(ellipse at 100% 0,#efe6c944,transparent 55%),var(--paper)}.story-panel h2{margin-bottom:12px}.primary.picture-button{min-height:70px;min-width:105px;border-radius:35px 13px 35px 13px;padding:7px 28px;background:linear-gradient(140deg,#739256,#456c49);border:2px solid #3d6644;border-bottom-width:5px;box-shadow:inset 0 2px 0 #adc18c88,0 5px 0 #d5ddbd55}.primary.picture-button svg{width:62px;height:46px;filter:drop-shadow(0 2px 0 #2d573b55)}.primary.picture-button:hover{background:#456c49}.secondary.picture-button{min-width:70px;min-height:64px;display:inline-flex;align-items:center;justify-content:center}.picture-button{touch-action:manipulation}.text-button.picture-button{width:56px;min-height:52px;background:#f7edcf;border:1px solid #d9cbaa;border-radius:50%;padding:8px;text-decoration:none}.text-button.picture-button svg{width:37px;height:32px}.cover-start{margin:4px 0 14px}.cover-start .primary{flex:1}.picture-legend{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px;color:#64724f;font-size:12px}.picture-legend span{display:flex;align-items:center;gap:5px}.picture-legend svg{width:27px;height:26px}.mode{background:#f8f3e4;box-shadow:0 2px 0 #dfd5b9;border-radius:17px;min-height:94px}.mode.active{background:#e8edda;box-shadow:inset 0 0 0 1px #82966a,0 2px 0 #bacba3}.choice{border:2px solid #d8c9a2;border-bottom:5px solid #bdad80;background:radial-gradient(ellipse at 50% 25%,#fffaf0,#f1e4c8);border-radius:22px;box-shadow:0 4px 0 #e2d7b955;min-height:118px}.choice.selected{background:#e6edce;border-color:#7e9a5d}.choice:active,.donor:active,.friend-give:active{transform:scale(.97)}.choice-label{line-height:1.3}.story-words{margin:0 0 16px}.story-words summary{display:flex;align-items:center;gap:8px;font-size:13px;min-height:44px;color:#6c795e;list-style:none}.story-words summary::-webkit-details-marker{display:none}.story-words summary:after{content:'⌄';margin-left:auto}.story-words[open] summary:after{content:'⌃'}.story-words summary svg{width:28px;height:28px}.story-words .story-text{margin:5px 0 0}.feedback{position:relative;padding:13px 15px;background:#edf0df;border:2px solid #d3debe;border-radius:21px}.feedback p{font-size:16px}.feedback-audio{min-width:48px!important;min-height:48px!important;justify-content:center}.feedback-audio svg{width:28px!important;height:26px!important}.feedback .secondary{margin-left:6px}.rain-drop{position:relative;background:linear-gradient(150deg,#e3f1e8,#c2dedf);border:2px solid #a8cbcb;box-shadow:0 4px 0 #bdd4c9;filter:hue-rotate(var(--drop-hue));height:100px}.rain-drop.tapped{opacity:1;background:linear-gradient(150deg,#ebf5e8,#c8e1df)}.rain-drop.tapped:after{content:'♪';position:absolute;right:10px;top:4px;color:#5c8e96;font-size:24px}.rain-drop.ringing{animation:rain-bounce .6s}.rain-drop svg{width:66px;height:64px}.rain-beats{display:flex;justify-content:center;gap:8px;margin:18px}.rain-beats i{width:10px;height:10px;border-radius:50%;background:#d9dfce}.rain-beats .filled{background:#73a6a9}.picnic-table{border:3px solid #e2c8ae;border-radius:24px;padding:13px 8px 8px;background-size:24px 24px}.friend-give{min-height:95px;width:100%;border:2px solid #ddc9a4;border-radius:18px;background:#fff8e9;display:flex;align-items:center;flex-direction:column;padding:6px 3px;position:relative}.friend-give>svg{width:50px;height:44px}.friend-give>span:not(.give-mark){font-size:13px;font-weight:bold}.give-mark{display:flex;align-items:center;font-weight:bold;color:#5c7d4a;line-height:1}.give-mark svg{width:21px;height:22px}.friend-give:disabled{opacity:.8}.plate{min-height:76px;border-radius:25px;margin-top:6px;gap:0;padding:5px 0;align-content:center;box-shadow:inset 0 0 0 3px #f1e5c7}.berry-back{padding:5px 2px 7px;border:0;background:transparent;min-width:44px;min-height:48px;position:relative;flex:0 0 44px;border-radius:50%}.berry-back svg{width:36px;height:34px}.berry-return{position:absolute;right:1px;bottom:-1px;color:#466742;font-size:20px;font-weight:700;text-shadow:0 1px #fff}.berry-back:hover{background:#dce7bf}.empty-plate{background:transparent;border:0;min-width:48px;min-height:52px;opacity:.25}.empty-plate svg{width:35px;height:34px}.empty-plate:disabled{opacity:.15}.move-example{display:flex;align-items:center;gap:2px}.move-example svg{width:27px;height:26px}.table-tools{min-height:52px}.berries-left>svg:first-child{width:33px;margin-right:6px}.berries-left svg{width:26px}.portion-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.portion-choices .choice{min-height:94px}.portion-choices .choice svg{width:64px;height:52px}.donor{display:flex;flex-direction:column;align-items:center;background:#fff9e8;border:2px solid #dac6a1;border-radius:18px;padding:9px 2px 0;min-height:137px;min-width:0}.donor:disabled{opacity:.4}.donor-berries{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;min-height:34px}.donor-berries svg{width:29px;height:30px}.share-down{font-size:23px;line-height:1.2;color:#77965c}.ladybug-plate{display:flex;gap:12px;align-items:center;margin:12px 4px 0;padding:10px;border:2px solid #d6c29d;background:#fff9e9;border-radius:25px;min-height:70px}.ladybug-plate>.friend-face{flex:0 0 49px}.ladybug-food{display:flex;flex-wrap:wrap;align-items:center;gap:3px;min-height:40px}.ladybug-food svg{width:33px;height:34px}.food-ghost{opacity:.25}.guest-seat>svg{width:44px;height:40px;flex:0 0 44px}.picnic-memory{display:flex;align-items:center;justify-content:space-around;gap:3px;padding:15px 4px;margin-bottom:18px;border-top:1px dashed #c8bd96;border-bottom:1px dashed #c8bd96}.picnic-memory svg{width:50px;height:48px;min-width:0}.picnic-memory span{color:#b1a47b}.ending-actions .picnic-again{flex:1}.picnic-again{position:relative}.picnic-again:after{content:'↻';font-size:31px;color:#fff5d9}.rest-mark{font:italic 17px Georgia}.mud-memory{position:absolute;bottom:15px;left:15px;background:#fff5deec;border:1px solid #d6c09d;border-radius:50%;padding:6px;z-index:3}.mud-memory svg{width:43px;height:39px}.page-footer .back-button{width:60px;min-height:50px;border:1px solid #c9d1b7;background:#f8f6e6;border-radius:25px}.back-button svg{width:32px;height:30px}.audio-retry{box-shadow:0 0 0 4px #d6b97877}.switch-row{min-height:48px}.story-actions>.primary.full{margin-top:14px}.sound-status{bottom:max(12px,env(safe-area-inset-bottom));z-index:12}
@keyframes rain-bounce{0%,100%{transform:scale(1)}25%{transform:scale(.9)}60%{transform:scale(1.07)}}
@media(min-width:741px){.story-words summary{display:none}.story-words{margin-bottom:22px}.story-panel{padding-top:30px}.spread{min-height:640px}.book{max-width:1380px}}
@media(max-width:740px){.topbar{position:sticky;top:0;z-index:8;background:#f0eddbf5;backdrop-filter:blur(12px);padding:7px 12px}.brand{font-size:19px}.brand-sprout{font-size:23px}.utility{min-height:48px;min-width:48px;padding:7px 10px}.utility svg{width:27px;height:25px}#listen-label{display:none}.book{width:calc(100% - 16px);border-width:4px;border-radius:25px}.art-panel{aspect-ratio:3/2;max-height:31dvh;background:#dfe3cd}.cover-art{max-height:36dvh}.art-panel:not(.cover-art) .art-image{object-fit:contain}.story-panel{padding:17px 15px 18px}.story-panel h2{font-size:28px;margin-bottom:1px}.story-words{margin:0 0 8px}.story-words summary{min-height:44px;padding:5px 0}.story-words .story-text{font-size:17px;margin-bottom:12px}.story-actions{margin-top:0}.prompt{font-size:14px;line-height:1.4;margin-bottom:10px}.choice{min-height:106px;padding:8px 6px}.choice svg{height:62px}.choice-label{font-size:13px}.choice-grid.three .choice{min-height:100px}.primary.picture-button{min-height:65px}.cover .story-panel{padding-top:19px}.cover h1{font-size:37px;margin-bottom:9px}.cover-sub{font-size:17px;margin-bottom:14px}.picture-legend{margin-bottom:15px}.mode{min-height:96px;padding:11px}.mode strong{font-size:15px}.mode small{font-size:11px}.cover-note{margin-bottom:5px}.feedback p{font-size:14px;line-height:1.5}.feedback .primary{margin-top:3px}.friend-give{min-height:94px}.plates{gap:5px}.plate{padding:5px 0}.berry-back{min-width:44px;flex-basis:44px}.picnic-table{padding:10px 5px 5px}.table-tools{margin-top:5px}.portion-choices .choice{min-height:89px}.portion-choices .choice svg{height:46px}.donor{min-height:128px}.ladybug-plate{margin-top:8px;padding:7px}.page-footer{margin-bottom:14px}.progress-track{width:100px}.ending .story-panel h2{font-size:30px}.chapter-ribbon{font-size:9px;letter-spacing:.06em;top:8px;left:8px}.mud-memory{bottom:8px;left:8px;padding:2px}.mud-memory svg{width:33px;height:30px}}
@media(max-width:359px){.story-panel{padding:15px 10px}.brand-sprout{display:none}.book{width:calc(100% - 10px)}.plate{border-radius:19px}.berry-back{min-width:44px;flex-basis:44px}.berries-left svg{width:23px}.portion-choices{gap:6px}.picnic-memory svg{width:42px}.choice-grid.three{gap:5px}.choice-grid.three .choice svg{width:54px}.story-panel h2{font-size:26px}}
@media(max-height:500px) and (orientation:landscape) and (max-width:1000px){.spread{display:grid;grid-template-columns:44% 56%;min-height:0}.art-panel{position:sticky;top:70px;max-height:75dvh;min-height:240px;align-self:start}.story-panel{padding:18px}.cover h1{font-size:35px}.topbar{position:relative}.book{overflow:visible}.story-panel h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.legend-button{width:100%;border:0;background:transparent;min-height:48px;padding:3px 0;text-align:left}.legend-button:hover{background:#ecf0dc;border-radius:14px}
.berry-back{min-width:48px;min-height:48px;flex-basis:48px}
@media(min-width:741px) and (max-width:900px) and (orientation:portrait){.spread{display:flex;flex-direction:column;min-height:0}.art-panel{width:100%;height:34dvh;min-height:260px;max-height:380px;aspect-ratio:auto}.cover-art{height:38dvh;max-height:430px}.story-panel{padding:26px 30px}.cover .story-panel{padding-top:26px}.story-text{font-size:19px}.story-panel h2{font-size:33px}}
/* Image-first layout: intrinsic dimensions never follow the height of the words. */
.spread{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);min-height:0;align-items:start}
.book{overflow:visible}
.art-panel,.cover-art{position:sticky;top:16px;align-self:start;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:3/2;border-radius:24px;overflow:hidden}
.art-panel .art-image{position:static;inset:auto;display:block;width:100%;height:auto;max-width:100%;aspect-ratio:auto;object-fit:contain!important}
.story-panel,.cover .story-panel{min-width:0;padding:26px 24px;align-self:stretch;border-radius:0 24px 24px 0}
.story-panel:before{display:none}
.cover h1{font-size:clamp(30px,3.5vw,46px);margin-bottom:12px}
.cover-sub{font-size:18px;margin-bottom:15px}
.cover-options{margin-top:6px;border-top:1px solid #dedac3;font-size:13px;color:var(--muted)}
.cover-options>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700;list-style:none}
.cover-options>summary:after{content:'＋';margin-left:auto}
.cover-options[open]>summary:after{content:'−'}
.cover-options>summary::-webkit-details-marker{display:none}
.cover-options .mode-choices{margin-top:10px}
.story-words summary{display:flex}
@media(max-width:900px) and (orientation:portrait){
 .spread{display:flex;flex-direction:column;min-height:0}
 .art-panel,.cover-art{position:relative;top:auto;height:auto;min-height:0;max-height:none;aspect-ratio:3/2;flex:none;border-radius:20px 20px 0 0}
 .story-panel,.cover .story-panel{width:100%;padding:16px 18px;border-radius:0 0 20px 20px}
 .cover h1{font-size:30px;line-height:1.08;margin-bottom:8px}
 .cover-sub{font-size:16px;margin-bottom:10px}
 .cover-start{margin:2px 0 8px}
 .picture-legend{margin-bottom:4px;min-height:44px}
 .cover .eyebrow{display:none}
}
@media(orientation:landscape) and (max-height:600px){
 .topbar{position:relative;padding:7px 16px}
 .spread{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);min-height:0}
 .art-panel,.cover-art{position:sticky;top:8px;min-height:0;max-height:none;height:auto;aspect-ratio:3/2}
 .story-panel,.cover .story-panel{padding:16px}
 .story-panel h2{font-size:27px;line-height:1.12}
 .cover h1{font-size:31px}
 .story-text{font-size:17px;line-height:1.5}
 .story-words{margin-bottom:12px}
 .story-words summary{display:flex}
 .cover .eyebrow{font-size:9px}
}
