/* 301.114 — group the tone label and speaker on the left; reserve the right for the contour. */

/* Keep the fixed selector compact and leave all lesson text below it visible. */
body.app-kids-mode:has(.is-roadmap-lesson-active #kidsVowelDrill:not([hidden])) #kidsVowelDrill .kids-vowel-tone-navigation,
body.app-kids-mode:has(.is-roadmap-lesson-active .kp-single-item-nav) .kp-single-item-nav,
body.app-kids-mode:has(.is-roadmap-lesson-active .initials-letter-navigation) .initials-letter-navigation{
  height:62px!important;min-height:62px!important;max-height:62px!important;padding:5px 10px!important;
}
#kidsVowelDrill .kids-vowel-tone-navigation button,
#kidsCourse .is-roadmap-lesson-active .kp-single-item-nav button,
#kidsCourse .is-roadmap-lesson-active .initials-letter-navigation button{
  height:48px!important;min-height:48px!important;max-height:48px!important;line-height:1.2!important;
}

/* Make playback obvious while keeping the entire tone card one generous tap target. */
#kidsVowelDrill .kp135-tones #kidsVowelToneGrid>button{
  grid-template-columns:minmax(0,1fr) minmax(94px,.75fr)!important;
  grid-template-rows:auto minmax(76px,auto) auto!important;
  min-height:158px!important;padding:10px 16px 12px!important;
}
#kidsVowelDrill .kp135-tones .vowel-tone-card-top{
  grid-column:1!important;grid-row:1!important;width:100%;flex-direction:row!important;
  align-items:center!important;justify-content:flex-start!important;gap:12px!important;
}
#kidsVowelDrill .kp135-tones .vowel-tone-card-top b{font-size:15px!important}
#kidsVowelDrill .kp135-tones .tone-audio-label{
  display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;
  border:0;border-radius:0;background:transparent;box-shadow:none;
  font-family:system-ui,-apple-system,"Hiragino Kaku Gothic ProN",sans-serif;
  font-size:clamp(34px,9vw,42px);font-weight:400;line-height:1;
}
#kidsVowelDrill .kp135-tones .tone-mark{grid-column:1!important;grid-row:2!important;font-size:clamp(66px,17vw,84px)!important}
#kidsVowelDrill .kp135-tones .vowel-tone-contour{grid-column:2!important;grid-row:2!important}
#kidsVowelDrill .kp135-tones #kidsVowelToneGrid small{grid-row:3!important}
#kidsVowelDrill .kp135-tones #kidsVowelToneGrid>button:active{transform:translateY(1px)!important}

/* The pitch card already explains the tone; remove the duplicate sentence beneath it. */
#kidsVowelDrill .kp148-tone-hint{display:none!important}

/* Make the pronunciation tips visibly expandable instead of plain body text. */
#kidsCourse .is-roadmap-lesson-active .kp134-teacher-note{
  margin:14px 0 8px!important;border:1px solid #d8e3d9!important;border-radius:16px!important;
  background:#f8faf5!important;overflow:hidden!important;
}
#kidsCourse .is-roadmap-lesson-active .kp134-teacher-note>summary{
  position:relative;display:flex!important;align-items:center;justify-content:space-between;gap:12px;
  min-height:52px;padding:12px 16px!important;box-sizing:border-box;list-style:none!important;
  color:#315f50!important;font-size:16px!important;font-weight:750!important;line-height:1.35!important;
  cursor:pointer!important;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
}
#kidsCourse .is-roadmap-lesson-active .kp134-teacher-note>summary::-webkit-details-marker{display:none!important}
#kidsCourse .is-roadmap-lesson-active .kp134-teacher-note>summary::after{
  content:"＋";display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;
  border-radius:50%;background:#e7f0e7;color:#315f50;font-size:20px;font-weight:500;line-height:1;
}
#kidsCourse .is-roadmap-lesson-active .kp134-teacher-note[open]>summary::after{content:"−"}
#kidsCourse .is-roadmap-lesson-active .kp134-teacher-note>summary:focus-visible{outline:3px solid #4b8b6d;outline-offset:-3px}
#kidsCourse .is-roadmap-lesson-active .kp134-teacher-note>p,
#kidsCourse .is-roadmap-lesson-active .kp134-teacher-note>a{margin:0 16px 12px!important}
@media(max-width:390px){
  #kidsVowelDrill .kp135-tones #kidsVowelToneGrid>button{grid-template-columns:minmax(0,1fr) 88px!important;padding:9px 12px 11px!important}
}
