/* Shared learning surfaces: illustrated letters, spoken colors, adult decisions. */
.art-letters{background-image:url('assets/letter-objects.webp');background-size:400% 400%}
.letter-object-panel{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;width:100%}
.letter-illustration{width:186px;height:180px;overflow:hidden}
.letter-illustration>.art-letters{width:100%;height:100%;transform:scale(1.35) translateY(-4%)}
.object-name{font-size:24px;line-height:1.2;letter-spacing:.01em;color:#536a4f}
.object-name>b{color:#a45c36}
.letter-object-panel>span{font-size:10px;line-height:1.4;color:#5e705a;max-width:180px}
.illustrated-board.letter-board{grid-template-columns:minmax(0,1fr) 210px}
.letter-board .reading-art{width:210px}
.reading-actions>.primary{max-width:100%;min-width:300px;font-size:17px}
.reading-actions>small{display:block;margin-top:10px;font-size:12px;color:var(--muted)}
.butter{background:#f0e9ce}
.color-chapter-art{display:inline-block;position:relative;width:100%;aspect-ratio:1;transform:rotate(-9deg)}
.color-chapter-art>i{position:absolute;width:52%;height:52%;border:3px solid #fff9;border-radius:60% 50% 60% 50%;background:#d97b6e;left:10%;top:10%;rotate:-12deg}
.color-chapter-art>i:nth-child(2){background:#e7c45f;left:43%;top:12%;rotate:20deg}
.color-chapter-art>i:nth-child(3){background:#8caf85;top:42%;left:15%;rotate:-30deg}
.color-chapter-art>i:nth-child(4){background:#839fc8;top:44%;left:44%;rotate:15deg}
.track-card.butter .chapter-letter,.trail-art:has(.color-chapter-art) .chapter-letter{display:none}
.color-gift{background:none;display:grid;place-items:center}
.color-gift>svg{width:100%;height:100%}
.tracks{grid-template-columns:repeat(4,minmax(0,1fr))}
.track-card{flex-direction:column;align-items:flex-start;padding:16px 18px 20px;gap:12px}
.track-card .chapter-art{align-self:center;width:112px}
.track-card .track-copy{width:100%}
.track-caption{font-size:11px}
.illustrated-board.color-board{display:block;padding:19px 20px 20px;background:#f0ede0}
.color-learning-board{position:relative;min-height:245px;display:flex;flex-direction:column;align-items:center;gap:10px;padding-right:80px}
.big-color-splash{width:170px;height:155px;background:var(--paint);border:2px solid #778873;border-radius:49% 44% 43% 50% / 48% 53% 42% 44%;rotate:-6deg;box-shadow:inset 5px 5px 0 #fff2}
.color-learning-board>strong{font-size:29px;line-height:1.2}
.color-learning-board>.listen-button{position:static;transform:none;min-height:40px;font-size:13px}
.color-learning-friend{position:absolute;right:0;bottom:-1px;width:115px}
.color-learning-friend>.art-sprite{width:100%;height:100%}
.color-mini-main .color-instruction-audio{font-size:12px;min-height:38px;margin-top:3px}
.color-mini-main .bonus-scene{margin-top:6px}
.color-scene{padding:17px 24px 21px;background:#e7ecdc;min-height:384px}
.color-swatch{display:inline-block;flex-shrink:0;width:70px;height:70px;background:var(--paint);border:2px solid #71816f;border-radius:50%;position:relative;box-shadow:inset 5px 4px 0 #fff2}
.color-choice{min-width:70px;min-height:70px;padding:0;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;transition:transform .15s,opacity .15s}
.color-choice:hover:not(:disabled){transform:translateY(-3px)}
.color-choice:active:not(:disabled){transform:scale(.96)}
.color-choice:focus-visible{outline:3px solid #7762a5;outline-offset:4px}
.color-choice>span:last-child,.color-choice>strong{font-size:12px;font-weight:800;line-height:1.3}
.color-target-area{height:192px;display:grid;place-items:center}
.color-sample{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:13px 22px;background:#fffaf0d9;border:1px solid #d6dbc7;border-radius:20px;gap:4px;min-width:158px}
.color-sample>span:first-child{font-size:10px;color:#63715a}
.color-sample>.color-swatch{width:61px;height:61px;margin:3px 0}
.color-sample>strong{font-size:16px;line-height:1.2}
.color-sample>.listen-button{position:static;transform:none;min-height:35px;font-size:11px;padding:5px 10px;margin-top:1px}
.color-sample>.listen-button .icon{width:15px;height:15px}
.balloon-choices{display:flex;justify-content:center;gap:38px;height:155px;align-items:flex-start;margin-top:2px}
.balloon-choices .color-choice{position:relative;justify-content:flex-start;min-height:145px;width:110px}
.balloon-shape{width:89px;height:102px;border-radius:49% 49% 47% 47%;z-index:2}
.balloon-shape:before{content:'';position:absolute;left:17px;top:17px;width:12px;height:24px;background:#fffc;border-radius:50%;rotate:23deg;opacity:.45}
.balloon-shape:after{content:'';position:absolute;left:36px;bottom:-9px;width:14px;height:12px;clip-path:polygon(50% 0,100% 100%,0 100%);background:var(--paint)}
.balloon-string{position:absolute;top:107px;height:29px;width:2px;background:#a7b399;rotate:8deg}
.balloon-choices .color-choice-label{position:absolute;bottom:0;left:0;right:0;text-align:center;color:var(--ink)}
.balloon-choices .color-choice:disabled{opacity:.22}
.color-friend{width:175px;height:175px}
.color-friend>.art-sprite{width:100%;height:100%}
.paint-drops{max-width:430px;margin:6px auto 30px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px 28px}
.paint-drops .color-choice{position:relative;min-height:94px;background:#fff9ed80}
.drop-shape{width:54px;height:54px;border-radius:15% 60% 55% 60%;transform:rotate(45deg);margin:7px 0}
.paint-drops .color-choice>span:last-child{position:absolute;bottom:2px;right:8px;font-size:9px;color:#5a7050}
.paint-drops .color-choice[aria-pressed="true"]{outline:3px solid #756098;outline-offset:2px;background:#fffdf2}
.paint-drops .color-choice:disabled{opacity:.18}
.paint-jars{display:flex;justify-content:center;gap:32px;align-items:center}
.paint-jars .color-choice{min-width:104px}
.paint-jar{position:relative;width:83px;height:83px;border:3px solid #7b806b;border-radius:9px 9px 18px 18px;background:var(--paint);display:grid;place-items:center;color:var(--paint-ink);box-shadow:inset 9px 0 0 #fff2}
.paint-jar:before{content:'';position:absolute;left:-5px;right:-5px;height:13px;border-radius:4px;background:#c8bda1;border:2px solid #8e896e;top:-9px}
.paint-jar>span{font-size:16px;font-weight:850;line-height:1}
.color-pair-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:470px;margin:5px auto}
.color-pair-grid .color-choice{position:relative;height:153px;background:#f9f5e8;border:2px solid #afbf9f;box-shadow:0 4px 0 #c6cfb7;border-radius:18px}
.color-card-back{position:absolute;inset:0;display:grid;place-items:center;background:#c2d1b1;border-radius:15px;color:#779168}
.color-card-back>.icon{width:34px;height:34px}
.color-card-front{position:absolute;inset:9px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;opacity:0}
.color-card-front>span:last-child{font-size:11px;line-height:1.2;font-weight:800}
.color-pair-grid [data-open="true"] .color-card-front{opacity:1}
.color-pair-grid [data-open="true"] .color-card-back{opacity:0}
.color-pair-grid [disabled]{border-color:#7d996c;box-shadow:none}
.color-pair-grid .color-swatch{width:78px;height:78px}
.color-paint{background:#ede7d9}
.painting-stage{display:flex;align-items:center;justify-content:center;gap:32px;height:270px}
.paint-flower{width:245px;height:265px;overflow:visible}
.painting-bunny{width:155px;height:155px}
.painting-bunny>.art-sprite{width:100%;height:100%}
.paint-palette{display:flex;justify-content:center;gap:29px;margin-top:7px}
.paint-palette .color-choice{min-width:93px}
.paint-palette .color-swatch{width:61px;height:61px}
@media(max-width:1100px){.tracks{grid-template-columns:repeat(2,minmax(0,1fr))}.track-card{flex-direction:row;align-items:center;gap:20px}.track-card .chapter-art{width:93px;align-self:center}.track-copy{gap:7px}.track-caption{font-size:12px}}
@media(max-width:540px){
 .tracks{grid-template-columns:1fr}.track-card{padding:11px 18px;min-height:119px;gap:20px}.track-card .chapter-art{width:94px}.track-card .track-copy{width:auto}.track-title{font-size:22px}
 .illustrated-board.letter-board{grid-template-columns:minmax(0,1fr) 123px;padding-right:11px}.letter-board .reading-art{width:123px}
 .letter-illustration{width:123px;height:123px}.object-name{font-size:17px}.letter-object-panel>span{font-size:8px;max-width:120px}.letter-object-panel{gap:4px}
 .reading-actions>.primary{min-width:0;width:100%;font-size:15px;padding-left:13px;padding-right:13px;gap:10px}.reading-actions>small{font-size:10px}
 .illustrated-board.color-board{padding:16px 14px}.color-learning-board{padding-right:54px;min-height:232px;gap:11px}.big-color-splash{width:139px;height:135px}.color-learning-board>strong{font-size:26px}.color-learning-friend{width:81px;right:-3px;bottom:4px}.color-learning-board>.listen-button{font-size:11px;min-height:39px;padding:8px 10px}
 .color-scene{padding:14px 13px 18px;min-height:367px}.color-target-area{height:181px}.color-sample{min-width:139px;padding:10px 15px}.color-sample>.color-swatch{width:58px;height:58px}.color-sample>strong{font-size:14px}
 .balloon-choices{gap:8px;margin-top:9px;height:150px}.balloon-choices .color-choice{width:94px;min-height:145px}.balloon-shape{width:76px;height:94px}.balloon-shape:after{left:28px}.balloon-string{top:100px}.balloon-choices .color-choice-label{font-size:10px}
 .paint-drops{gap:11px 13px;margin-top:3px;margin-bottom:29px}.paint-drops .color-choice{min-height:91px}.drop-shape{width:48px;height:48px}.paint-jars{gap:12px}.paint-jars .color-choice{min-width:86px}.paint-jar{width:70px;height:77px}.paint-jars strong{font-size:10px;max-width:89px}
 .color-pair-grid{gap:14px 10px}.color-pair-grid .color-choice{height:143px;border-radius:13px}.color-card-back{border-radius:10px}.color-card-front{inset:5px;gap:7px}.color-pair-grid .color-swatch{width:63px;height:63px}.color-card-front>span:last-child{font-size:9px}.color-card-back>.icon{width:29px;height:29px}
 .painting-stage{height:252px;gap:0}.paint-flower{width:165px;height:235px}.painting-stage .color-sample{min-width:127px;max-width:137px;padding:10px 12px}.painting-stage .color-sample>span:first-child{font-size:9px}.painting-bunny{width:122px;height:122px}.paint-palette{gap:12px;margin-top:8px}.paint-palette .color-choice{min-width:85px}.paint-palette .color-swatch{width:58px;height:58px}.paint-palette .color-choice>span:last-child{font-size:9px}.color-mini-main .color-instruction-audio{font-size:11px;min-height:35px}
}
@media(max-width:365px){.illustrated-board.letter-board{grid-template-columns:minmax(0,1fr) 108px}.letter-board .reading-art,.letter-illustration{width:108px}.letter-illustration{height:108px}.object-name{font-size:15px}.paint-jars{gap:8px}.paint-jars .color-choice{min-width:78px}.painting-stage .color-sample{min-width:115px}.paint-flower{width:148px}.color-pair-grid .color-swatch{width:54px;height:54px}}
