/* DEMO 10.86 — keep the proven 10.85 audio path untouched; visual/detail fixes only. */
#audioDiag{display:none!important}

/* Recording area: the pseudo-label used to sit outside layout and collide with the privacy text. */
#pronunciationActions{padding-bottom:48px!important;margin-bottom:0!important}
#recordBtn::after{bottom:-38px!important;line-height:1.2!important}
.record-notice{margin:2px 0 0!important;min-height:22px!important;line-height:1.45!important;position:relative!important;z-index:1!important}
.next-primary{margin-top:22px!important}

/* Rebuild the panda head used for articulation without the old pseudo-element collision. */
.panda-face::before,.panda-face::after{display:none!important;content:none!important}
.panda-face{box-sizing:border-box!important;overflow:visible!important;background:#fffdf8!important;border:3px solid #6f9488!important;box-shadow:inset 0 -5px #f8eadf,0 5px 0 #d7eee0!important}
.panda-face .panda-ear{display:block!important;position:absolute!important;top:-12px!important;width:31px!important;height:31px!important;border-radius:50%!important;background:#4c4a48!important;border:2px solid #403f3d!important;z-index:-1!important}
.panda-face .panda-ear.left{left:8px!important;transform:rotate(-15deg)!important}
.panda-face .panda-ear.right{right:8px!important;transform:rotate(15deg)!important}
.panda-face .panda-patch{position:absolute!important;top:22px!important;width:21px!important;height:27px!important;background:#6c6764!important;border-radius:52%!important;z-index:2!important}
.panda-face .panda-patch.left{left:14px!important;transform:rotate(14deg)!important}
.panda-face .panda-patch.right{right:14px!important;transform:rotate(-14deg)!important}
.panda-face .panda-patch::after{content:''!important;display:block!important;position:absolute!important;top:8px!important;left:8px!important;width:6px!important;height:8px!important;border-radius:50%!important;background:#fff!important}
.panda-face .panda-nose{position:absolute!important;top:46px!important;left:50%!important;transform:translateX(-50%)!important;width:10px!important;height:7px!important;border-radius:50%!important;background:#514c49!important;z-index:4!important}
.panda-face .cartoon-cheek{top:52px!important;left:7px!important;width:15px!important;height:7px!important;background:#f6b1a9!important;box-shadow:49px 0 #f6b1a9!important;z-index:1!important}
.panda-face .cartoon-mouth{position:absolute!important;left:50%!important;top:48px!important;transform:translateX(-50%)!important;width:58px!important;height:37px!important;z-index:5!important;overflow:visible!important}
.panda-face .panda-scarf,.panda-face .panda-brow{display:none!important}

/* Large front-view articulation head: keep eyes/nose/mouth in a natural vertical order. */
.mouth-animation #guideFace{display:flex;justify-content:center;min-height:132px;padding-top:12px}
.mouth-animation #guideFace .panda-face{width:120px!important;height:112px!important;margin:0 auto!important;border-radius:47% 47% 50% 50%!important}
.mouth-animation #guideFace .panda-ear{top:-13px!important;width:34px!important;height:34px!important}
.mouth-animation #guideFace .panda-ear.left{left:13px!important}.mouth-animation #guideFace .panda-ear.right{right:13px!important}
.mouth-animation #guideFace .panda-patch{top:29px!important;width:27px!important;height:34px!important}
.mouth-animation #guideFace .panda-patch.left{left:23px!important}.mouth-animation #guideFace .panda-patch.right{right:23px!important}
.mouth-animation #guideFace .panda-patch::after{top:11px!important;left:10px!important;width:7px!important;height:9px!important}
.mouth-animation #guideFace .panda-nose{top:63px!important;width:12px!important;height:8px!important}
.mouth-animation #guideFace .cartoon-cheek{top:70px!important;left:12px!important;width:18px!important;height:8px!important;box-shadow:84px 0 #f6b1a9!important}
.mouth-animation #guideFace .cartoon-mouth{top:64px!important;width:66px!important;height:42px!important}
.mouth-animation{padding:12px 10px 14px!important}
.mouth-animation .articulation-label:first-child{margin-top:2px!important;font-size:13px!important}
.mouth-detail-label{margin:5px 0 7px!important;font-size:13px!important;font-weight:800!important}

/* Small speaking popup uses the same corrected face, scaled down. */
#popFace .panda-face{width:84px!important;height:82px!important;border-radius:48%!important}
#popFace .panda-ear{top:-9px!important;width:25px!important;height:25px!important}
#popFace .panda-ear.left{left:7px!important}#popFace .panda-ear.right{right:7px!important}
#popFace .panda-patch{top:20px!important;width:18px!important;height:23px!important}
#popFace .panda-patch.left{left:13px!important}#popFace .panda-patch.right{right:13px!important}
#popFace .panda-patch::after{top:7px!important;left:7px!important;width:5px!important;height:7px!important}
#popFace .panda-nose{top:42px!important;width:9px!important;height:6px!important}
#popFace .cartoon-cheek{top:48px!important;left:8px!important;box-shadow:52px 0 #f6b1a9!important}
#popFace .cartoon-mouth{top:43px!important;width:54px!important;height:34px!important}

@media(max-width:390px){
  #pronunciationActions{padding-bottom:44px!important}
  #recordBtn{width:132px!important;height:132px!important}
  #recordBtn::before{font-size:60px!important}
  #recordBtn::after{font-size:17px!important;bottom:-36px!important}
  .mouth-animation #guideFace{min-height:126px!important}
}
