#screen-word-study .study-word-audio-row{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin:4px 0 10px;}
#screen-word-study .study-word-audio-row #study-word{margin:0!important;min-width:0;overflow-wrap:anywhere;line-height:1.3;}
#screen-word-study #study-listen{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;padding:0;border:1px solid #a9dcf2;border-radius:50%;background:var(--fui-sky);color:#326b8d;box-shadow:inset 0 2px white,0 2px 0 #b3e7fa;}
#screen-word-study #study-listen svg{display:block;width:20px;height:20px;margin:0;flex:none;}
#screen-word-study .study-recording{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;margin-top:10px;}
#screen-word-study .study-recording:is([data-phase=requesting],[data-phase=recording],[data-phase=saving]) #study-record{color:#803750;border:1px solid #f0a5bf;background:radial-gradient(ellipse at 26% 12%,#fff 0,transparent 38%),linear-gradient(145deg,#fff6fa,#ffc2d7);box-shadow:inset 0 3px white,0 3px #f4bad0;}
#screen-word-study .study-recording[data-phase=requesting] #study-record,
#screen-word-study .study-recording[data-phase=saving] #study-record{opacity:.85;}
.study-recording-wave{display:none;align-items:center;justify-content:center;gap:5px;height:22px;margin-top:10px;}
#screen-word-study .study-recording[data-phase=recording] .study-recording-wave{display:flex;}
.study-recording-wave i{display:block;width:4px;height:10px;border-radius:6px;background:#f197b4;animation:study-record-wave .8s ease-in-out infinite alternate;}
.study-recording-wave i:nth-child(3n){height:18px;animation-delay:-.6s}.study-recording-wave i:nth-child(even){height:14px;animation-delay:-.3s}
@keyframes study-record-wave{from{transform:scaleY(.55)}to{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){.study-recording-wave i{animation:none}}

/* Match the header's 30.8px visible plate and 18.2px glyph, retain44px hit area. */
#screen-word-study #study-listen{position:relative;isolation:isolate;border:0;background:transparent;box-shadow:none;}
#screen-word-study #study-listen::before{content:"";position:absolute;inset:6.6px;border:1px solid #a9dcf2;border-radius:50%;background:var(--fui-sky);box-shadow:inset 0 2px white,0 2px 0 #b3e7fa;z-index:-1;pointer-events:none;}
#screen-word-study #study-listen svg{width:18.2px;height:18.2px;}
/* Equal button geometry through ready/recording/playback. Wave belongs to mic column. */
#screen-word-study .study-recording{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:8px;align-items:start;}
#screen-word-study .study-recording-buttons{display:contents;}
#screen-word-study .study-voice-action{box-sizing:border-box;width:100%;height:64px;min-height:64px;max-height:64px;border-width:1px;border-radius:22px;padding:8px;gap:4px;margin:0;}
#screen-word-study #study-record{grid-column:1;grid-row:1;}
#screen-word-study #study-my-voice{grid-column:2;grid-row:1;}
#screen-word-study .study-recording-wave{grid-column:1;grid-row:2;width:100%;margin:0;height:22px;}
#screen-word-study #study-recording-status{display:none;}
#screen-word-study .study-recording[data-show-feedback=true] #study-recording-status{display:block;grid-column:1/-1;margin:0;}
/* Inset upper-right badge, on the45-degree corner diagonal; digits stay upright. */
#screen-word-study #study-record-count{top:8px;right:8px;min-width:18px;height:18px;padding:0 3px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff9fc;color:#803750;font:800 12px/1 Nunito,sans-serif;}
#screen-word-study #study-record-count:empty{display:none;}
#screen-word-study #study-listen::before{box-sizing:border-box;width:30.8px;height:30.8px;}
