/* All academy captions, levels, read-aloud controls and progress stay in normal flow. */
.ex-science-scene, .ex-tech-hero, .ex-typing-hero {
  display: grid;
  align-items: center;
  gap: clamp(14px, 1.8vw, 25px);
  min-width: 0;
  padding: clamp(12px, 1.6vw, 24px);
  color: #122858;
  border: 2px solid #fff;
  border-radius: 24px;
  background: linear-gradient(115deg, #fff9e8 0%, #fff 60%, #e5f4ff);
  box-shadow: 0 8px 25px #18395d1f;
}
.ex-academy-art { display: block; width: 100%; height: auto; min-width: 0; border-radius: 16px; aspect-ratio: 552 / 308; object-fit: cover; }
.ex-science-scene { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-self: stretch; }
.ex-science-title { min-width: 0; }
.ex-science-title h1, .ex-typing-copy h1 { margin: 0; font: 650 clamp(30px, 3.4vw, 54px)/1.04 "Fredoka", var(--head); overflow-wrap: anywhere; }
.ex-science-title h1 span { display: block; }
.ex-science-title h1 .w2 { color: #17684e; }
.ex-science-title p, .ex-typing-intro { margin: 10px 0; color: #374d67; font-size: clamp(15px, 1.12vw, 18px); line-height: 1.45; font-weight: 650; }
.ex-science-title .sc-atom { display: none; }
.ex-science-voice { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid #cfe5d9; border-radius: 14px; background: #f1faf3; }
.ex-science-voice p { margin: 0; color: #214738; line-height: 1.4; }
.ex-science-voice .sc-vc { flex-direction: row; }
.ex-science-voice button { width: 44px; height: 44px; min-width: 44px; }
.ex-tech-hero, .ex-typing-hero { grid-template-columns: minmax(150px,.8fr) minmax(0,1fr) minmax(260px,.92fr); }
.ex-tech-hero .tc-htxt { max-width: none; }
.ex-tech-hero .tc-htxt h1 { margin: 8px 0; font-size: clamp(27px, 2.6vw, 43px); overflow-wrap: anywhere; }
.ex-tech-hero .tc-htxt .tc-tag { display:none; }
.ex-tech-hero .tc-htxt h1 span, .ex-tech-hero .tc-htxt p { text-shadow: none; }
.ex-tech-hero .tc-side { width: 100%; min-width: 0; }
.ex-tech-hero .tc-lvpick a, .ex-typing-hero .ty-ph a { display: inline-flex; align-items: center; min-height: 44px; }
.ex-typing-hero .ty-panel { min-width: 0; }
.ex-typing-hero .ty-ph { flex-wrap: wrap; }
.ex-typing-hero .ty-ph h2 { display: flex; align-items: center; gap: 8px; }
.ex-typing-hero .ty-ph h2 img { width: 27px; height: 27px; object-fit: contain; }
.ex-typing-hero .ty-stats3 img { width: 30px; height: 30px; object-fit: contain; }
.ex-typing-hero .ty-cont { background: #16743d; }
.ex-typing-hero .ty-cont svg { width: 18px; height: 18px; }
.ex-typing-hero .ty-feats { display:grid; grid-template-columns:repeat(auto-fit,minmax(74px,1fr)); gap:6px; }
.ex-typing-hero .ty-feat { min-width:0; padding:8px 4px; margin:0; }
.ex-typing-hero .ty-feat img { width:32px; height:32px; object-fit:contain; }
.ex-typing-hero .ty-feat span { font-size:13px; text-align:center; line-height:1.16; overflow-wrap:anywhere; }
.ex-tech-hero :focus-visible, .ex-science-scene :focus-visible, .ex-typing-hero :focus-visible { outline:3px solid #143f79; outline-offset:3px; }
.tcp .sc-trow, .tcp .tc-trow { grid-template-columns:repeat(3,minmax(0,1fr)); }
.tcp .sc-trow .sc-t > img, .tcp .tc-trow .tc-t > img { display:block; width:100%; height:auto; aspect-ratio:552/308; object-fit:cover; }
.tcp .sc-trow .sc-t b, .tcp .tc-trow .tc-tb b, .ty-gr b { overflow-wrap:anywhere; }
.ty-gr > img, .tg-head > img { object-fit:cover; border-radius:10px; }
@media (max-width: 1050px) {
  .ex-tech-hero, .ex-typing-hero { grid-template-columns:minmax(0,.8fr) minmax(0,1fr); }
  .ex-tech-hero .tc-side, .ex-typing-hero .ty-panel { grid-column:1/-1; }
}
@media (max-width: 760px) {
  .tcp .sc-trow, .tcp .tc-trow { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ex-science-scene, .ex-tech-hero, .ex-typing-hero { border-radius:18px; }
  .ex-tech-hero .tc-side, .ex-typing-hero .ty-panel { order:initial; }
}
@media (max-width: 580px) {
  .ex-tech-hero, .ex-typing-hero { grid-template-columns:minmax(0,1fr); }
  .ex-tech-hero .ex-academy-art, .ex-typing-hero .ex-academy-art { max-height:188px; }
  .ex-science-voice { flex-wrap:wrap; }
  .ex-tech-hero .tc-htxt { text-align:left; }
  .ex-tech-hero .tc-htxt .l2 { justify-content:flex-start; }
}
@media (max-width: 390px) {
  .tcp .sc-trow, .tcp .tc-trow { grid-template-columns:minmax(0,1fr); }
  .ex-science-scene { grid-template-columns:minmax(0,1fr); }
}
.ex-typing-hero > img[src$="/typing-academy.webp"] { object-position: 74% center; }
