/* Preschool–college friendly cartoon mini-lesson theater */
.ct-page{max-width:1150px;margin:auto;padding:30px 24px 70px;color:#263e35}
.ct-hero{background:linear-gradient(115deg,#fff8ef,#f0f7ef);border:1px solid #e3dcd1;border-radius:24px;padding:28px 33px;display:flex;justify-content:space-between;gap:25px;align-items:center}
.ct-hero h1{font-size:clamp(31px,4.5vw,51px);line-height:1.09;margin:8px 0 14px;letter-spacing:-1.4px;color:#263d33}
.ct-hero p{font-size:17px;max-width:760px;color:#43554c}
.ct-hero-icons{font-size:58px;white-space:nowrap;animation:ct-bob 2.3s ease-in-out infinite}
.ct-library{padding-top:26px}
.ct-library h2{font-size:30px;margin:0 0 10px}
.ct-library p{color:#52645b}
.ct-episodes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 24px}
.ct-episode{border:1px solid #d9e2d6;border-radius:15px;background:#fff;color:#283f35;display:flex;align-items:center;gap:12px;text-align:left;padding:14px;min-height:85px;cursor:pointer;font-size:16px;font-weight:750;line-height:1.3}
.ct-episode:hover,.ct-episode:focus-visible{border-color:#74946e;box-shadow:0 6px 18px #344f391c}
.ct-episode[aria-pressed="true"]{background:#e9f3e5;border-color:#719471;outline:2px solid #739476;outline-offset:1px}
.ct-episode .ct-icon{font-size:30px;flex:0 0 38px;text-align:center}
.ct-player{background:#fffdfa;border:1px solid #dddfd6;border-radius:24px;overflow:hidden;box-shadow:0 12px 34px rgba(22,42,29,.08);scroll-margin-top:85px}
.ct-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:14px 22px;background:#eef4e9;border-bottom:1px solid #d9e5d2}
.ct-topline h2{font-size:21px;margin:0}
.ct-topline span{font-size:14px;color:#53695c;font-weight:700}
.ct-screen{position:relative;isolation:isolate;min-height:390px;overflow:hidden;background:linear-gradient(#dcedf4 0%,#f4eee1 72%,#c2d7b1 73%);border-bottom:1px solid #dee5d9}
.ct-screen[data-scene="1"]{background:linear-gradient(#e6edfa 0%,#f8f3df 73%,#c4d4bc 74%)}
.ct-screen[data-scene="2"]{background:linear-gradient(#f8e9dc 0%,#fbf2e9 73%,#becfb8 74%)}
.ct-screen[data-scene="3"]{background:linear-gradient(#e4f2e9 0%,#fcf8e9 73%,#a3c9ac 74%)}
.ct-sun{position:absolute;right:13%;top:11%;font-size:46px;z-index:0;animation:ct-rotate 18s linear infinite}
.ct-cloud{position:absolute;top:13%;left:-15%;font-size:56px;opacity:.83;animation:ct-cloud 16s linear infinite}
.ct-cloud.second{top:33%;animation-duration:23s;animation-delay:-8s;font-size:34px}
.ct-sign{position:absolute;top:20px;left:20px;padding:10px 16px;background:#fffdf9;border:2px solid #d8bda1;border-radius:13px;box-shadow:0 5px 0 #c7bba666;font-size:16px;font-weight:800;z-index:2}
.ct-counter{position:absolute;bottom:0;left:0;right:0;height:64px;background:repeating-linear-gradient(90deg,#bc8e6a 0 65px,#b68562 65px 70px);border-top:8px solid #916947;z-index:3}
.ct-cast{position:absolute;bottom:52px;inset-inline:0;display:flex;align-items:flex-end;justify-content:space-between;padding:0 10% 0 12%;gap:20px;z-index:2}
.ct-chef,.ct-byte{position:relative;width:150px;height:170px;display:flex;flex-direction:column;align-items:center;justify-content:end;will-change:transform}
.ct-chef{animation:ct-walk 2.2s ease-in-out infinite}
.ct-byte{animation:ct-float 2.7s ease-in-out infinite}
.ct-character-face{font-size:75px;line-height:1;filter:drop-shadow(0 5px 2px #22322220)}
.ct-character-body{width:77px;height:60px;border-radius:15px 15px 23px 23px;background:#f9f7f0;border:4px solid #6c8771;margin-top:-4px;display:grid;place-items:center;font-weight:900;color:#44664b;font-size:22px;box-shadow:0 6px 0 #324b372b}
.ct-byte .ct-character-face{font-size:72px}
.ct-byte .ct-character-body{background:#d1e6f5;border-color:#62899f;border-radius:18px}
.ct-byte-antenna{position:absolute;top:-8px;font-size:30px;animation:ct-rotate 4s linear infinite}
.ct-prop{position:absolute;left:50%;bottom:98px;font-size:91px;line-height:1;transform:translateX(-50%);z-index:2;filter:drop-shadow(0 9px 4px #263e3526);animation:ct-prop 1.7s ease-in-out infinite}
.ct-screen[data-scene="2"] .ct-prop{animation:ct-prop-spin 2s ease-in-out infinite}
.ct-speech{position:absolute;z-index:5;top:82px;left:26%;right:26%;border-radius:18px;background:#fffdf9;padding:14px 16px;text-align:center;font-weight:800;font-size:clamp(15px,2vw,20px);line-height:1.35;color:#293e33;box-shadow:0 5px 20px #253b3430;border:2px solid #d7e4cf;animation:ct-pop .45s ease-out}
.ct-speech::after{content:'';position:absolute;bottom:-13px;left:20%;width:20px;height:20px;background:#fffdf9;border-right:2px solid #d7e4cf;border-bottom:2px solid #d7e4cf;transform:rotate(45deg)}
.ct-screen:not(.ct-playing) .ct-cloud,.ct-screen:not(.ct-playing) .ct-cloud.second,.ct-screen:not(.ct-playing) .ct-sun,.ct-screen:not(.ct-playing) .ct-chef,.ct-screen:not(.ct-playing) .ct-byte,.ct-screen:not(.ct-playing) .ct-prop,.ct-screen:not(.ct-playing) .ct-byte-antenna{animation-play-state:paused}
.ct-closed-captions{background:#2d4039;color:white;min-height:65px;padding:15px 22px;text-align:center;font-size:18px;line-height:1.55;font-weight:650}
.ct-controls{padding:17px 22px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.ct-controls button{padding:12px 18px;border:1px solid #afc5a7;border-radius:11px;background:#c1d9b6;color:#273e31;font-weight:800;cursor:pointer;min-height:47px}
.ct-controls button:hover{background:#d2e6c8}
.ct-controls button:disabled{opacity:.45;cursor:not-allowed}
.ct-controls .ct-secondary{background:white;border-color:#d7e1d5}
.ct-voice{display:flex;gap:8px;align-items:center;cursor:pointer;font-weight:700;color:#4a6153;margin-left:auto}
.ct-voice input{width:18px;height:18px;accent-color:#4b7b5d}
.ct-progress{height:12px;background:#e8ede6;position:relative}
.ct-progress span{display:block;height:100%;width:0%;background:#82ac84;transition:width .2s linear}
.ct-guide{padding:18px 22px 24px;background:#f8faf4;border-top:1px solid #e4ebdf}
.ct-guide h3{font-size:21px;margin:0 0 6px;color:#304b38}
.ct-guide p{font-size:16px;color:#4a5c50;margin:7px 0 14px}
.ct-guide a{display:inline-block;font-weight:800;color:#385d45}
.ct-footnote{color:#526357;line-height:1.6;max-width:880px;margin:20px 0}
.ct-help-link{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;margin:8px 0;border:1px solid #c7ddc1;border-radius:11px;background:#eef5ea;color:#304f3d;text-decoration:none;font-size:15px;font-weight:800}
.ct-help-link:hover{background:#dae9d6}
@keyframes ct-bob{50%{transform:translateY(-9px)}}
@keyframes ct-cloud{from{transform:translateX(0)}to{transform:translateX(1200px)}}
@keyframes ct-rotate{to{transform:rotate(360deg)}}
@keyframes ct-walk{0%,100%{transform:translateX(-12px) rotate(-2deg)}50%{transform:translateX(14px) rotate(2deg)}}
@keyframes ct-float{0%,100%{transform:translateY(0) rotate(2deg)}50%{transform:translateY(-16px) rotate(-3deg)}}
@keyframes ct-prop{0%,100%{transform:translate(-50%,0) scale(1)}50%{transform:translate(-50%,-17px) scale(1.09)}}
@keyframes ct-prop-spin{0%,100%{transform:translate(-50%,0) rotate(-9deg)}50%{transform:translate(-50%,-19px) rotate(9deg)}}
@keyframes ct-pop{from{opacity:0;transform:scale(.82)}to{opacity:1;transform:scale(1)}}
@media(max-width:900px){.ct-episodes{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.ct-page{padding:16px 12px 45px}.ct-hero{padding:23px 18px}.ct-hero-icons{display:none}.ct-episodes{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ct-episode{font-size:14px;min-height:72px;padding:10px}.ct-episode .ct-icon{font-size:25px;flex-basis:26px}.ct-screen{min-height:300px}.ct-chef,.ct-byte{width:85px;height:113px}.ct-character-face,.ct-byte .ct-character-face{font-size:48px}.ct-character-body{width:52px;height:39px;font-size:14px;border-width:3px}.ct-cast{padding:0 6%}.ct-prop{font-size:66px;bottom:78px}.ct-speech{top:72px;left:17%;right:17%;padding:9px;font-size:14px}.ct-sign{font-size:13px;top:8px;left:8px}.ct-topline,.ct-controls,.ct-guide{padding-left:13px;padding-right:13px}.ct-closed-captions{font-size:16px}.ct-voice{margin-left:0}}
@media(prefers-reduced-motion:reduce){.ct-screen *{animation-duration:.001ms!important;animation-iteration-count:1!important}.ct-hero-icons{animation:none}}
