/* 301.148 — keep the shared Pinyin arrow controls visually inside the fixed header. */
body.app-kids-mode .kp148-lesson-header.kp145-has-stepper,
body.app-kids-mode #kp148VowelHeader .kids-vowel-drill-head.kp145-has-stepper{gap:8px!important}
body.app-kids-mode .kp145-header-stepper{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.app-kids-mode .kp145-header-stepper button{position:relative!important;display:grid!important;place-items:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#fff!important;box-shadow:none!important;transition:transform .14s ease!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important}
body.app-kids-mode .kp145-header-stepper button::before{content:"";position:absolute;inset:3.5px;border:1px solid #34785f;border-radius:50%;background:#478b70;box-shadow:0 1px 0 #cbded2}
body.app-kids-mode .kp145-header-stepper button svg{position:relative;z-index:1;display:block;width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:3!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.app-kids-mode .kp145-header-stepper button svg path{fill:none!important;stroke:currentColor!important;stroke-width:3!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.app-kids-mode .kp145-header-stepper button:disabled{color:#6e8579!important}
body.app-kids-mode .kp145-header-stepper button:disabled::before{border-color:#c2d3c9;background:#e7f0eb;box-shadow:0 1px 0 #d7e3dc}
body.app-kids-mode .kp145-header-stepper button:active:not(:disabled){transform:translateY(1px)!important}
body.app-kids-mode .kp145-header-stepper button:active:not(:disabled)::before{background:#36775e;box-shadow:inset 0 1px 2px rgba(35,76,55,.16)}
body.app-kids-mode .kp145-header-stepper button:focus-visible{outline:3px solid rgba(67,139,103,.5)!important;outline-offset:1px!important}
body.app-kids-mode .kp145-header-stepper span{display:block!important;min-width:38px!important;color:#315f50!important;font-size:14px!important;line-height:1!important;font-weight:800!important;text-align:center!important;white-space:nowrap!important}
body.app-kids-mode .kp145-header-stepper span[hidden]{display:none!important}
@media(max-width:360px){body.app-kids-mode .kp145-header-stepper{gap:2px!important}body.app-kids-mode .kp145-header-stepper span{min-width:34px!important;font-size:13px!important}}
@media(prefers-reduced-motion:reduce){body.app-kids-mode .kp145-header-stepper button{transition:none!important}}

body.app-kids-mode .kp148-vowel-header#kp148VowelHeader .kids-vowel-drill-head.kp145-has-stepper {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  padding-inline: max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-right)) !important;
  gap: 4px !important;
}
body.app-kids-mode #kp148VowelHeader .kp145-has-stepper #kidsVowelDrillBack {
  flex: 0 1 auto;
  min-width: 0 !important;
  padding-inline: 8px !important;
  white-space: normal;
}
