button.ipa,button.record-ipa,button.bank-ipa,button.feedback-ipa{cursor:pointer;border-radius:9px;padding:5px 9px;background:#f3effa;color:#6f58a2;text-align:left;min-height:36px}button.record-ipa{display:block;margin:7px auto;text-align:center}button.ipa::after,button.record-ipa::after,button.bank-ipa::after,button.feedback-ipa::after{content:' ♪ 拆开学';font-size:12px;white-space:nowrap;font-family:inherit}button.ipa:hover,button.record-ipa:hover,button.bank-ipa:hover{background:#e8e0f5}
.phonics-dialog{padding:0;width:min(660px,calc(100vw - 24px));border:1px solid #dfd8ed;border-radius:24px;max-height:92dvh;color:var(--ink);background:#fdfcff;overscroll-behavior:contain}.phonics-dialog::backdrop{background:#19392c88;backdrop-filter:blur(5px)}.phonics-content{padding:24px}.phonics-content h3{text-align:center;font-size:36px;overflow-wrap:anywhere}.phonics-content #phonics-meaning{text-align:center;color:#708578;font-size:16px;margin:3px 0 8px}.phonics-variants{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.phonics-variants button{font-size:21px;padding:7px 12px;color:#7660a2;border-radius:12px;border:1px solid #dfd4ed}.phonics-variants button[aria-pressed=true]{background:#eee7f7}.phonics-actions{display:flex;justify-content:center;gap:10px;margin:18px 0 26px}.phonics-actions button,.phonics-bottom button{min-height:44px;padding:10px 16px;border-radius:12px;background:#ede8f7;color:#6f579c;font-size:15px}.phonics-content section{margin:22px 0}.phonics-content h4{font-size:17px}.phonics-hint{font-size:14px;color:#75817c;line-height:1.8;margin:5px 0 12px}.phonics-parts,.phonics-sounds{display:flex;flex-wrap:wrap;gap:10px}.phonics-parts button{min-width:80px;padding:10px 16px;background:white;border:1px solid #dcd0ed;border-radius:14px;color:#6c5696}.phonics-parts b{font-size:23px;font-weight:500}.phonics-parts small{display:block;font-size:12px;color:#87799b;margin-top:4px}.phonics-sounds button{font-size:23px;padding:8px 14px;min-width:52px;min-height:50px;border:1px solid #e1d7ee;border-radius:12px;background:white;color:#705b9a}.phonics-dialog .is-playing{background:#7864ab;color:white;box-shadow:0 0 0 3px #dfd5ee}.phonics-dialog .is-playing small{color:white}.phonics-coach{display:flex;align-items:center;gap:16px;border-radius:16px;background:#f3eff9;padding:16px;margin-top:16px}.phonics-mouth{width:100px;flex:0 0 100px}.phonics-mouth svg{width:100%;height:auto}.phonics-coach b{font-size:27px;color:#6f579c}.phonics-coach p{font-size:15px;line-height:1.9;margin:5px 0}.phonics-coach button{font-size:14px;color:var(--green);min-height:44px;padding:6px 0}#phonics-status{font-size:14px;line-height:1.8;min-height:50px;color:#746480;margin:18px 0}.phonics-bottom{position:sticky;bottom:0;background:#fdfcff;display:flex;gap:10px;padding:12px 0}.phonics-bottom button:first-child{flex:1;background:#7864ab;color:white;min-height:48px}
@media(max-width:760px){.phonics-content{padding:20px 16px}.phonics-content h3{font-size:32px}.phonics-coach{gap:10px;padding:12px}.phonics-mouth{width:76px;flex-basis:76px}.phonics-bottom{padding-bottom:max(16px,env(safe-area-inset-bottom))}.phonics-variants button{font-size:20px;min-height:44px}.phonics-coach p{font-size:15px}.phonics-parts button{min-height:60px}}
