/* Kalama picture-book direction. Website only; all text remains live. */
:root{--cream:#faf7ef;--ink:#213e38;--muted:#647069;--teal:#315c48;--mint:#e9efe5;--coral:#d88968;--yellow:#e7b965;--border:#dcd8cc;--shadow:0 3px 12px #283c3005;font-family:'Trebuchet MS',Arial,sans-serif;background:var(--cream);color:var(--ink)}
body{background:radial-gradient(ellipse at 80% 15%,#fffdf8 0,transparent 56%),var(--cream)}
button{font-weight:600;border-width:1px;border-radius:14px;box-shadow:none;line-height:1.45}
button:hover{border-color:#52715b;background-color:#f6f8f1}button:active{transform:translateY(1px)}
button.primary,.primary,.download-link{background:#315540;border-color:#315540;color:#fffdf6;box-shadow:none}
button.primary:hover,.primary:hover,.download-link:hover{background:#244831;border-color:#244831}
.secondary{background:#f9e4cf;border-color:#f9e4cf}
.site-header{max-width:1440px;padding:20px 38px;gap:28px;border-bottom:1px solid #e8e3d7}
.brand{color:#315540;letter-spacing:-1.3px;font-family:Georgia,serif;font-size:35px}.brand-mark{display:none}.brand-dot{color:inherit}
.site-header nav{gap:6px}.site-header nav button{font-size:15px;padding:10px 15px;border-radius:10px}
.site-header nav button[aria-current=page]{background:#eaf0e5;color:#315540}
select.language{border:1px solid #d9d4c8;background:transparent;border-radius:12px;font-weight:500}
main{max-width:1360px;padding:24px 38px 72px}
:is(h1,h2,.card-title,.footer-brand){font-family:Georgia,'Times New Roman',serif;font-weight:600;letter-spacing:-.6px}
.eyebrow{color:#68745d;font-weight:600;letter-spacing:1.5px}
.hero{grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);gap:50px;padding:42px 0 56px}
.hero h1{font-size:clamp(40px,4.5vw,65px);line-height:1.09;color:#254c3b;letter-spacing:-1.6px}
.hero p{font-size:18px;line-height:1.75;margin:25px 0 28px;max-width:465px}
.hero-art.illustrated{min-height:0;border-radius:25px;overflow:hidden;box-shadow:0 14px 35px #403c2010;max-width:none}
.hero-art.illustrated img{width:100%;height:auto;max-width:100%;margin:0;display:block;aspect-ratio:3/2;object-fit:contain}
.hero .primary{padding:16px 23px;border-radius:14px}
.section-head h2{font-size:34px;line-height:1.25}.section-head{margin-top:16px}
.library-search{max-width:680px}.library-search>div{border-width:1px;border-color:#d8d8cb;border-radius:13px;background:#fffefa}.library-search label{font-weight:600}.library-search button{background:#eef1e8;border-radius:9px}
.filters{border-bottom:1px solid #e4dfd3;padding-bottom:14px;gap:6px}.filters button{font-size:15px;font-weight:600;padding:10px 19px}.filters button[aria-pressed=true]{background:#315540}
.activity-card{border:1px solid #e4dfd2;border-radius:19px;box-shadow:0 3px 9px #333c2805;background:#fffefa}.activity-card:hover{border-color:#aab99e;box-shadow:0 7px 22px #333c2810}
.card-preview{height:230px;padding:12px;background:#f0eadc}.card-preview:has(>img){padding:0}
.card-preview>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.card-title{font-size:25px;line-height:1.25}.card-body{padding:22px}.card-caption{font-size:15px;color:#647069}.card-meta{font-size:12px;color:#6c756b}
.band{background:#315540;border-radius:22px;padding:32px;margin-top:48px}.band p{color:#e3e9dc}.band h3{font-weight:500}
.toolbar{margin:0 0 22px}.toolbar .back{border-color:transparent;padding-inline-start:0;font-weight:500}.toolbar .tools button{padding:11px 18px}.toolbar .tools{gap:10px}
.game-head{margin:14px 0 26px}.game-head h2{font-size:clamp(32px,3.9vw,48px);line-height:1.2;color:#254c3b}.game-head .eyebrow{margin-bottom:12px}.game-head p{line-height:1.7;font-size:17px;max-width:720px}
.game-stage{border:1px solid #ded9ca;border-radius:24px;box-shadow:none;background:#fffefa;max-width:1080px;padding:30px}
.stage-prompt{font-size:22px;font-weight:500;color:#244c40;line-height:1.6}
.parent-note{font-size:13px;color:#6b7469;max-width:1080px;line-height:1.8}
body:has(.feelings-shell) main{max-width:1480px}
body:has(.feelings-shell) .game-head{text-align:start;margin:20px 0 26px}
body:has(.feelings-shell) .game-head p{margin-inline:0;max-width:850px}
body:has(.feelings-shell) .game-stage{max-width:none;padding:26px 28px}
body:has(.feelings-shell) .parent-note{max-width:none}
body:has(.feelings-shell) .stage-feedback:empty{display:none}
.feelings-shell{max-width:none}
.feelings-top{gap:14px}.feelings-top>div{max-width:none}.feelings-top label{font-weight:500;font-size:15px}
.feelings-top select{border:1px solid #d9d3c5;border-radius:12px;background:#fffefa;color:var(--ink);font-size:17px;font-weight:500;padding:11px 14px}
.feelings-top p{color:#6c7469;font-size:12px;align-self:center;min-width:85px}.feelings-top strong{color:#416347;font-size:21px;font-weight:500}
.feelings-modes{gap:0;padding:4px;border:1px solid #d9d3c5;border-radius:15px;background:#f6f3eb;flex-wrap:nowrap;align-self:end}
.feelings-modes button{border:0;box-shadow:none;border-radius:11px;flex:1;background:transparent;font-size:15px;padding:12px 13px;line-height:1.45;font-weight:500}
.feelings-modes button[aria-pressed=true]{background:#315540;color:#fffdf6}
.feelings-read{font-size:13px;line-height:1.65;color:#6a766b;margin:0}
.feelings-scene{border:0;border-radius:16px;background:transparent;overflow:visible}
.feelings-scene>.feelings-illustration{border-radius:16px;aspect-ratio:auto;width:100%;height:auto;object-fit:contain}
.feelings-scene figcaption{background:transparent;border:0;font-size:19px;color:#365744;padding:16px 1px 8px;line-height:1.65}
.feelings-dialogue{gap:10px;min-width:0}
.feelings-dialogue blockquote{background:#fcecc7;color:#2c4d3b;border:0;border-radius:18px!important;box-shadow:none;font-family:Georgia,serif;font-weight:500;font-size:28px;line-height:1.5;min-height:0;padding:18px 22px;display:block}
.feelings-dialogue .stage-prompt{font-size:17px;font-weight:500;text-align:start;margin:0;line-height:1.6}
.feelings-story-only{font-size:12px;color:#687469;margin:0;line-height:1.65}
.feelings-choices{gap:12px;width:100%;max-width:none;margin:0}
.feelings-choices button{min-height:128px;border:1px solid #d7d5c8;border-radius:16px;background:#fbf9f2;font-size:22px;line-height:1.4;font-family:Georgia,serif;font-weight:500;padding:16px 10px;justify-content:center}
.feelings-choices button>svg{width:62px;height:62px}
.feelings-choices.three button{font-size:17px;min-height:120px}
.feelings-access{gap:12px;width:100%;max-width:none;margin:0}
.feelings-access button{flex-direction:row;min-height:50px;font-weight:500;border:1px solid #bdc7b9;background:#fffefa;border-radius:13px;font-size:15px;padding:10px}
.feelings-access button>svg{width:24px;height:24px}
.feelings-choices button.is-selected,.feelings-access button.is-selected{border-color:#315540;background:#e8efdf;box-shadow:inset 0 0 0 1px #315540}
.feelings-confirm{margin:0;gap:8px;justify-content:stretch}.feelings-confirm button{flex:1;min-height:52px;font-size:16px}.feelings-confirm p{width:100%;font-size:13px;font-weight:500;color:#687469}
.feelings-confirm .primary{background:#315540;border-color:#315540}.feelings-confirm .primary:disabled{opacity:1;background:#e7e8df;border-color:#d9dccf;color:#70786b}
.feelings-status{color:#416347;font-size:14px;line-height:1.65;text-align:start;margin:0;max-width:none}
.feelings-response{background:#eff3e9;border:1px solid #d4deca;border-radius:16px;padding:20px;margin:0;max-width:none}
.feelings-actions{justify-content:flex-start;gap:8px;margin:0;padding-top:16px;border-top:1px solid #e2ddcf}
.feelings-actions button{font-size:14px;border-color:#dedbcc;font-weight:500}.feelings-actions button:disabled{opacity:.55}
.feelings-adult{border-top:0;padding-top:0;color:#65705f}.feelings-adult summary{display:flex;align-items:center;font-weight:500}.feelings-adult summary::before{content:'+';font-size:21px;margin-inline-end:12px}.feelings-adult[open] summary::before{content:'−'}
.feelings-shell :is(button,select,blockquote):focus-visible{outline:3px solid #4b78a4;outline-offset:3px}
.page-hero-art:has(img){background:transparent;border-radius:20px;overflow:hidden;transform:none;padding:0;aspect-ratio:3/2}
.page-hero-art>img{display:block;width:100%;height:100%;object-fit:cover}
.visitor-scene>img{display:block;width:100%;height:auto;border-radius:16px 16px 0 0;object-fit:contain}
@media(min-width:1000px){
 .feelings-shell{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);grid-template-areas:'top modes' 'read read' 'scene quote' 'scene choices' 'scene access' 'scene confirm' 'status status' 'response response' 'actions actions' 'adult adult';gap:16px 30px}
 .feelings-top{grid-area:top}.feelings-modes{grid-area:modes;margin:0}.feelings-read{grid-area:read;padding-bottom:2px}.feelings-layout{display:contents}.feelings-scene{grid-area:scene;align-self:start}.feelings-dialogue{grid-area:quote}.feelings-choices{grid-area:choices}.feelings-access{grid-area:access}.feelings-confirm{grid-area:confirm}.feelings-status{grid-area:status}.feelings-response{grid-area:response}.feelings-actions{grid-area:actions}.feelings-adult{grid-area:adult}
 .feelings-top>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center}.feelings-top label{margin:0}
}
@media(max-width:999px){
 .feelings-shell{display:flex;flex-direction:column;gap:16px}.feelings-layout{display:flex;flex-direction:column;gap:18px}.feelings-modes{align-self:stretch;margin:0}.feelings-read{margin:0}.feelings-scene{width:100%}.feelings-choices{margin:0}.feelings-dialogue{width:100%}
 .site-header{padding:18px 24px;gap:18px}main{padding-inline:26px}.hero{gap:30px}.hero h1{font-size:46px}.library{gap:18px}.card-preview{height:185px}
}
@media(max-width:620px){
 .site-header{padding:16px 18px;gap:12px}.brand{font-size:30px}select.language{font-size:14px;padding:9px 10px;max-width:115px}.menu-toggle{border:1px solid #ddd8cb;border-radius:11px}
 main{padding:16px 18px 44px}.hero{grid-template-columns:1fr;gap:26px;padding:18px 0 34px}.hero h1{font-size:clamp(36px,10.5vw,48px)}.hero p{font-size:16px;margin:18px 0 22px}.hero-art.illustrated{width:100%;max-width:none;min-height:0;border-radius:19px}.hero .primary{font-size:15px;padding:14px 18px}
 .section-head h2{font-size:29px}.section-head p{font-size:14px}.library{grid-template-columns:1fr;gap:22px}.card-preview{height:auto;min-height:190px;aspect-ratio:16/10}.card-preview>svg{max-height:210px}.card-title{font-size:25px}.card-body{padding:21px}.card-caption{font-size:15px}.card-meta{font-size:12px}.activity-card{border-radius:18px;min-height:0}
 .toolbar{margin:0 0 18px}.toolbar .tools button{font-size:13px;padding:10px 13px}.toolbar .back{font-size:14px;padding:10px 0}.toolbar .tools{gap:8px}
 .game-head h2{font-size:32px}.game-head p{font-size:15px}.game-head .eyebrow{font-size:11px}.game-stage,body:has(.feelings-shell) .game-stage{padding:17px 15px;border-radius:19px}
 body:has(.feelings-shell) .game-head{margin:12px 0 22px}.feelings-top{gap:12px}.feelings-top>div{flex:1}.feelings-top label{font-size:13px}.feelings-top select{font-size:14px;padding:10px;min-height:48px}.feelings-top p{font-size:11px;min-width:65px;max-width:75px}.feelings-top strong{font-size:20px}
 .feelings-modes button{font-size:13px;padding:11px 9px}.feelings-read{font-size:12px}.feelings-scene figcaption{font-size:16px;padding:12px 0 0}.feelings-dialogue blockquote{font-size:25px;padding:18px}.feelings-dialogue .stage-prompt{font-size:16px}
 .feelings-choices button{min-height:125px;font-size:21px}.feelings-choices button>svg{width:58px;height:58px}.feelings-choices.three{grid-template-columns:1fr}.feelings-choices.three button{flex-direction:row;text-align:start;justify-content:flex-start;font-size:16px;min-height:78px;padding:12px 16px}.feelings-choices.three button>svg{width:42px;height:42px}
 .feelings-access button{font-size:14px}.feelings-confirm button{font-size:14px}.feelings-actions button{flex:1 1 100px;font-size:13px}.feelings-status{font-size:13px}.feelings-response{padding:16px}.feelings-adult{font-size:13px}.parent-note{font-size:12px}
}
html:is([lang=ar],[lang=hi],[lang=ur]) :is(h1,h2,.brand,.card-title,.footer-brand,.feelings-dialogue blockquote,.feelings-choices button){font-family:Arial,Tahoma,sans-serif;letter-spacing:0;line-height:1.65}
html[lang=ur] :is(p,button,select,.card-title,.feelings-scene figcaption){line-height:1.9}
html[lang=ur] .hero h1{line-height:1.65}html[dir=rtl] .hero h1{font-size:clamp(36px,4.1vw,58px)}
@media(max-width:620px){html[dir=rtl] .hero h1{font-size:35px}html:is([lang=ar],[lang=hi],[lang=ur]) .game-head h2{font-size:29px}html:is([lang=ar],[lang=hi],[lang=ur]) .card-title{font-size:23px}}
@media(prefers-reduced-motion:reduce){.activity-card:hover{transform:none}}

/* Shared public-page and visitor artwork. */
.educator-hero .educator-scene{width:100%;height:auto;border-radius:20px;max-width:none;transform:none}
body:has(.visitor-shell) .game-stage{max-width:1200px}.visitor-scene>img{border-radius:16px}.visitor-scene figcaption{font-family:Georgia,serif;font-size:21px;font-weight:500;color:#315540;padding:15px 0}.visitor-invitation{background:#fbf9f1;border-color:#e0dbca;border-radius:16px}.visitor-invitation h4{font-family:Georgia,serif;color:#315540;font-weight:500}.visitor-clues{background:#eef1e5}.visitor-introduction{border-color:#dedbc9}.visitor-introduction p{font-family:Georgia,serif;font-size:23px;color:#315540}.visitor-clue p{font-size:17px}.visitor-shell #visitor-show{background:#315540;border-color:#315540;color:white}.visitor-scene{align-self:start}html:is([lang=ar],[lang=hi],[lang=ur]) :is(.visitor-scene figcaption,.visitor-invitation h4,.visitor-introduction p){font-family:Arial,Tahoma,sans-serif;line-height:1.75}

/* Every colouring picture remains visible on compact screens. */
.art-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(64px,1fr));overflow:visible;gap:8px;padding:5px}.art-picker button{min-width:0;max-width:100%;padding:5px}.art-picker svg{max-width:100%;height:61px}

/* Illustrated question collection and music play. */
body:has(.question-shell) .game-stage,body:has(.music-shell) .game-stage{max-width:1200px}
.question-scene{align-self:start}.question-image-wrap{border-radius:17px;overflow:hidden;background:#f4efe2}.question-image-wrap>img{display:block;width:100%;height:auto;object-fit:contain}.question-character-names{display:flex;gap:12px;padding:10px 16px;background:#f0eddf;color:#365744;font-size:14px;font-weight:600}.question-character-names>span{flex:1;text-align:center}
.question-scene figcaption{padding:17px 0 0;color:#365744;font-size:18px;line-height:1.7;font-weight:400}.question-invitation{background:#fbf9f1;border-color:#e0dbca;border-radius:18px}.question-invitation h4{font-family:Georgia,serif;font-size:28px;line-height:1.4;font-weight:500;color:#315540}.question-idea{background:#eef2e7;border-color:#d6dfca}.question-methods button{border-color:#c7cfbc;font-weight:500}.question-actions button{font-weight:500}
.music-garden{height:auto;display:block;overflow:hidden;background:transparent;border-radius:18px}.music-garden>img{display:block;width:100%;height:auto}.music-garden>span{display:none}.music-instrument>img{width:80px;height:80px;object-fit:contain;grid-column:1/-1;justify-self:center}.music-track{border:1px solid #dfdbce;background:#f8f0e3}.music-track:nth-child(2){background:#f1ece1}.music-track:nth-child(3){background:#eef2e7}.music-track:nth-child(4){background:#efedf3}.music-beat[aria-pressed=true]{background:#315540;border-color:#315540}.music-access{background:#f0f2e9;border:1px solid #dbe0ce}.music-hint{font-size:16px;line-height:1.7}.music-adult{line-height:1.7}
.pop-cover>img{display:block;width:100%;height:auto;border-radius:16px}.pop-cover{overflow:hidden;padding:0;border:1px solid #ddd5c5}.pop-cover>span{display:block;padding:18px;color:#315540;background:#f2f3e7}
@media(min-width:1000px){.music-shell{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:0 28px}.music-shell>*{grid-column:1/-1}.music-garden{grid-column:1;grid-row:1/3;margin:0 0 22px}.music-access{grid-column:2;grid-row:1;align-content:start;align-items:center;gap:15px;padding:20px}.music-hint{grid-column:2;grid-row:2;margin:16px 0 22px;align-self:start}}
@media(max-width:620px){.question-scene figcaption{font-size:16px}.question-invitation h4{font-size:24px}.question-character-names{font-size:13px}.music-instrument>img{width:62px;height:62px;flex:none}.music-garden{margin-bottom:18px}.music-access{padding:14px}}
html:is([lang=ar],[lang=hi],[lang=ur]) .question-invitation h4{font-family:Arial,Tahoma,sans-serif;line-height:1.7}

/* Painted picture-building worlds. */
body:has(.world-shell) .game-stage{max-width:1240px}.world-palette button{border-color:#d6d9c9;background:#fbf8ef}.world-palette [aria-pressed=true]{background:#eaf0e0;border-color:#5d7858}.world-palette svg{width:70px;height:70px}.world-board{border-color:#c6cfb8;border-radius:18px}.world-board button{border-color:#72846c44}.world-board button.world-last{box-shadow:inset 0 0 0 3px #5d7858}.world-status{background:#f0f2e9;border:1px solid #dbe1ce}.world-modes [aria-pressed=true]{background:#e9f0e0}.world-selection{font-weight:500}
@media(max-width:850px){.world-palette svg{width:60px;height:60px}}

/* Painted search scenes. */
.expanded-scene,.hunt-scene{border-color:#c6cfb8;background:#f6f3e7}.expanded-picture-list button{background:#fbf8ef;border-color:#d6d9c9}.expanded-picture-list button[aria-pressed=true]{background:#eaf0e0;border-color:#5d7858}.hunt-inventory{background:#f5f2e8;border-color:#d6d9c9}.hunt-object>span:not(.hunt-badge){background:#fffaf0ee;color:#243e30}

/* Painted room and spatial scenes. */
.room-scene{max-width:720px;background:#f5f1e7;border-color:#d6d9c9;box-shadow:none;gap:14px;padding:14px}.room-zone{background:#fbf5e8;border:1px solid #d8d2bf;border-radius:15px;overflow:hidden}.room-zone-backdrop{border-radius:14px}.room-picture-card{background:#fffcf4;border-color:#a3b49a;box-shadow:0 2px 0 #304b3014}.room-controls select{border-color:#b9c5ac;background:#fffcf4}.room-object:hover{border-color:#557653;background:#ffffff99}
@media(max-width:620px){.room-scene{gap:8px;padding:8px}.room-zone{border-radius:10px}}

/* Keep both comparison pictures visible together on phones. */
.listen-pictures{grid-template-columns:repeat(2,minmax(0,1fr))}.listen-pictures button{min-width:0}.listen-pictures strong{max-width:100%}@media(max-width:540px){.listen-pictures{gap:12px}.listen-pictures button{padding:10px;gap:8px;border-radius:20px}.listen-pictures strong{font-size:clamp(16px,4.5vw,20px)}.listen-choice-label,.listen-target-label{font-size:14px;padding:4px 6px}}
@media(max-width:360px){.listen-pictures{gap:8px}.listen-pictures button{padding-inline:4px}}

/* Painted action scenes keep full frames and live captions. */
[data-illustrated-tool-scene]{border-radius:12px;overflow:hidden}

/* Complete painted phrase scenes stay readable without cropping. */
.trail-art:has([data-illustrated-phrase]){max-width:480px;aspect-ratio:3/2}
[data-illustrated-phrase]{border-radius:12px;overflow:hidden}
