/* Shared Eden App accessibility settings and local activity record */
.app-preferences{display:flex;gap:12px;flex-wrap:wrap;padding:12px max(20px,calc((100vw - 1120px)/2));background:#f0f8eb}
.app-preferences details{flex:1 1 260px;border:1px solid #bed6b2;border-radius:16px;background:#fff;padding:12px 16px}
.app-preferences summary{cursor:pointer;font-weight:900;min-height:36px;color:#225438}
.app-setting-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));padding:14px 0}
.app-check{display:flex;gap:10px;align-items:center;min-height:48px;font-weight:750}
.app-check input{min-width:24px;min-height:24px}
.app-progress-list{display:grid;gap:7px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.app-progress-item{border-radius:12px;background:#f0f7e9;padding:12px;display:grid;gap:4px}
.app-progress-item strong{color:#376c4c;font-size:.82rem}
html.eden-app-large{font-size:118%}
html.eden-app-large button{min-height:52px}
html.eden-app-contrast body{background:#fff!important;color:#101010!important}
html.eden-app-contrast .app-preferences,html.eden-app-contrast .app-install{background:#fff!important;color:#111!important}
html.eden-app-contrast .app-preferences details,html.eden-app-contrast .app-progress-item{border:2px solid #111;background:#fff!important;color:#111!important}
html.eden-app-calm .game-card,html.eden-app-calm .activity-tools,html.eden-app-calm .stage{box-shadow:none!important}
html.eden-app-motion *,html.eden-app-motion *::before,html.eden-app-motion *::after{
 animation-duration:.001ms!important;animation-iteration-count:1!important;
 transition-duration:.001ms!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){.app-install *, .app-preferences *{animation:none!important}}

/* Number Meadow progression from Eden OS's 20-level model */
.eden-count-grid{overflow:visible;text-align:center}
.eden-count-objects{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;max-width:690px;margin:0 auto}
.eden-count-object{font-size:clamp(1.1rem,2.3vw,2.1rem);line-height:1.3}
.number-meadow-head{font-weight:850}
.eden-number-reset{margin:15px auto!important}
@media(max-width:560px){.eden-count-objects{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}}

/* Eden OS illustrated Story Garden library */
.eden-story-library{display:flex;gap:8px;overflow-x:auto;padding:12px 0;scroll-snap-type:x proximity}
.eden-book-choice{flex:0 0 auto;max-width:195px;min-height:52px;padding:10px 16px;border-radius:16px;scroll-snap-align:start}
.eden-book-choice[aria-pressed="true"]{outline:3px solid #4b8a61}
.eden-story-book{display:grid;justify-items:center;gap:12px;max-width:880px;margin:0 auto}
.eden-story-title{font-size:clamp(1.2rem,3vw,1.8rem);text-align:center;margin:6px}
.eden-story-book img{display:block;width:100%;max-width:840px;aspect-ratio:3/2;object-fit:contain;border-radius:18px;background:#edf5e7}
.eden-page-count{font-weight:850;margin:0}
.eden-story-words{font-size:clamp(1.05rem,2.6vw,1.45rem);line-height:1.65;margin:0;max-width:820px;padding:10px 15px;text-align:left}
@media(max-width:600px){.eden-story-book img{border-radius:10px}.eden-story-words{padding:7px}.eden-book-choice{max-width:165px}}

/* Eden App v35 Word Woodland and Puzzle Pond */
.eden-game-banner{display:block;width:100%;max-width:870px;max-height:220px;object-fit:contain;margin:0 auto 12px}
.eden-word-image{display:block;margin:15px auto;max-width:min(370px,85vw);height:clamp(150px,38vw,300px);object-fit:contain}
.eden-puzzle-grid{display:grid;grid-template-columns:repeat(var(--puzzle-columns,3),minmax(0,1fr));gap:12px;max-width:730px;margin:16px auto}
.eden-puzzle-card{min-height:130px;aspect-ratio:1.17;border:3px solid #c0d9b4;border-radius:18px;background:#ecf8e3;color:#316c48;font-size:2.5rem;display:grid;place-items:center}
.eden-puzzle-card img{width:95%;height:95%;object-fit:contain}
.eden-puzzle-card.matched{background:#def4d4;border-color:#4a9957}
@media(max-width:600px){.eden-puzzle-grid{gap:7px}.eden-puzzle-card{min-height:75px;border-width:2px;border-radius:12px}.eden-game-banner{max-height:140px}}
