/* Centered single-cat exercise with frosted glass surfaces. */
body:has(#testing:not([hidden])){background:radial-gradient(ellipse at 18% 25%,#d7eee8 0,transparent 48%),radial-gradient(ellipse at 85% 65%,#e5e5f7 0,transparent 48%),#f4f7f5;background-attachment:fixed}
#testing{max-width:900px}#testing progress{display:block;margin-top:18px;border:0;border-radius:8px;overflow:hidden;height:5px}#testing progress::-webkit-progress-bar{background:#dce7e4}#testing progress::-webkit-progress-value{background:#4f9688;border-radius:8px}
.test-card:has(.exercise-layout){max-width:720px;padding:0;border-radius:30px;overflow:hidden;background:rgba(255,255,255,.65);border:1px solid rgba(255,255,255,.95);box-shadow:0 24px 70px #315b5014,inset 0 1px 0 white;backdrop-filter:blur(22px) saturate(130%);-webkit-backdrop-filter:blur(22px) saturate(130%)}
.exercise-layout{display:flex;flex-direction:column;text-align:center;min-height:0}.listen-panel{position:relative;min-height:150px;overflow:hidden;text-align:left;padding:24px 34px;background:linear-gradient(115deg,#dbeee78c,#ffffff52);border-bottom:1px solid #ffffffc9}.listen-panel .eyebrow{font-size:9px;letter-spacing:1.5px}.listen-panel h2{font-size:22px;line-height:1.45;margin:5px 0}.listen-note{font-size:11px;color:#536e65;margin:0}.practice-cat{position:absolute;right:30px;bottom:0;width:116px;height:148px;overflow:hidden;pointer-events:none;animation:study-breathe 4s ease-in-out infinite;transform-origin:bottom center}.practice-cat img{position:absolute;left:0;bottom:0;width:232px;height:auto;max-width:none}
.answer-panel{padding:25px 42px 30px;min-width:0}.exercise-steps{display:flex;align-items:center;justify-content:center;gap:12px;font-size:11px;color:#61766f}.exercise-steps i{font-style:normal;color:#80958d}.exercise-steps span{border-radius:20px;padding:5px 10px}.exercise-steps .current{background:#ffffffb3;color:#246353;box-shadow:0 1px 5px #345e4510;font-weight:600}.answer-panel h2{font-size:25px;margin:14px 0 6px;line-height:1.4}.answer-intro{font-size:12px;color:#5d746c;margin:0 0 14px}.practice-audio{display:flex;flex-direction:column;align-items:center;margin-bottom:17px}.practice-audio .play{width:64px;height:64px;min-height:64px;margin:0;padding:18px;display:grid;place-items:center;border-radius:22px;border:1px solid #ffffffed;background:linear-gradient(145deg,#ffffffed,#c4e3dc99);color:#256959;box-shadow:inset 0 1px 2px white,0 6px 18px #3b746422;transition:transform .2s,box-shadow .2s}.practice-audio .play:hover{transform:translateY(-2px);box-shadow:inset 0 1px 2px white,0 9px 22px #3b746430}.play svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.play.playing{box-shadow:0 0 0 5px #7bb6a51f,inset 0 1px 2px white,0 6px 18px #3b746422}#audio-status{font-size:11px;color:#536f65;margin:9px 0 0;min-height:18px}
.letter-hint{padding:11px 15px;margin-bottom:18px;background:#ffffff66;border-radius:14px;pointer-events:none;user-select:none}.letter-hint p{font-size:11px;color:#61766b;margin:0 0 8px}.letter-hint .letters{justify-content:center;gap:7px;margin:0;pointer-events:none}.letter-hint .letter{width:25px;height:29px;line-height:27px;font-size:22px;border:0;border-bottom:2px solid #b7ccc2;border-radius:4px 4px 0 0;background:#dce8e16e;color:#7d9789}.letter-hint .letter.fixed{width:12px;background:none;border:0}.answer-panel form{text-align:left}.answer-panel label{font-size:13px;margin:0 0 8px}.answer-panel .spell-input{max-width:none;width:100%;min-height:56px;margin:0;border:1px solid #a6bfb4;border-radius:15px;background:#ffffffb3;text-align:left;padding:14px 17px;font-size:20px;letter-spacing:1px;box-shadow:inset 0 2px 5px #41665106}.answer-panel .spell-input::placeholder{font-size:12px;color:#697d72;letter-spacing:0}.answer-panel .spell-input:focus{outline:3px solid #3e8d7333;outline-offset:2px;border-color:#40836e}.input-note{font-size:11px;color:#62786b;margin:8px 0 19px}.answer-panel .primary{width:100%;min-height:53px;margin:0;border-radius:28px;display:flex;justify-content:center;align-items:center;border:1px solid #579b87;background:linear-gradient(165deg,#468e7d,#236b59);color:white;box-shadow:inset 0 1px 0 #ffffff6b,0 7px 17px #2a6d5826;text-shadow:0 1px 1px #16493633;transition:transform .2s,box-shadow .2s}.answer-panel .primary:hover{background:linear-gradient(165deg,#397f6e,#1c5d4e);box-shadow:inset 0 1px 0 #ffffff6b,0 9px 22px #2a6d5833}.answer-panel .primary:active{transform:translateY(1px)}.practice-save{font-size:11px;color:#64796e;margin:18px 0 0}.saved-spelling{background:#ffffff80;padding:12px;border-radius:14px;overflow-wrap:anywhere;font-size:12px}.saved-spelling strong{display:block;font-size:21px}.answer-panel .choices{grid-template-columns:1fr;margin:16px 0 23px}.answer-panel .choices button{background:#ffffff9c;min-height:55px;padding:10px 14px;font-size:14px}.answer-panel .choices button.selected{background:#dceee5;border-color:var(--green)}
@keyframes study-breathe{50%{transform:translateY(-3px) rotate(1deg)}}
@media(max-width:760px){.test-card:has(.exercise-layout){border-radius:24px}.listen-panel{padding:22px;min-height:148px}.listen-panel .eyebrow{font-size:8px}.listen-panel h2{font-size:21px}.listen-note{font-size:10px;max-width:205px}.practice-cat{right:4px;width:106px;height:144px}.practice-cat img{width:212px}.answer-panel{padding:23px 20px 26px}.answer-panel h2{font-size:22px}.exercise-steps{font-size:10px;gap:5px}.answer-intro{font-size:11px}.letter-hint .letters{gap:5px}}
@supports not (backdrop-filter:blur(1px)){.test-card:has(.exercise-layout){background:#f4faf7}}
@media(prefers-reduced-motion:reduce){.practice-cat{animation:none}}
