/* Only the introductory round occupies the game area while it is active. */
body.in-practice :is(.game,#adIntro,#adResults,#packPanel){display:none}
.practice-round{
 max-inline-size:38rem;margin:0 auto 1.4rem;padding:clamp(1.15rem,4vw,2rem);
 text-align:left;border:1px solid #ccdaea;border-top:3px solid #336ec5;border-radius:18px;
 background:#fff;box-shadow:0 5px 22px #223b6710
}
.practice-round h2{margin:0;color:#172b4d;font-size:clamp(1.35rem,4vw,1.65rem);letter-spacing:-.035em}
.practice-round p{color:#435871;line-height:1.5;font-size:.95rem;margin:.45rem 0 .85rem}
.practice-round .practice-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:.9rem 0}
.practice-round .practice-actions button,.practice-round .guess-row button{width:auto;min-height:44px;font-size:.92rem}
.practice-round form{margin:1rem 0 .5rem}
.practice-round .practice-skip{margin-top:.2rem;min-height:44px;font-size:.9rem;color:#294e7b;text-underline-offset:.2em}
.practice-round [role=status]:empty{display:none}
.practice-round [role=status]{font-weight:600;color:#254970}
.practice-slots{display:flex;gap:.35rem;margin:.85rem 0}
.practice-slots span{display:grid;place-items:center;box-sizing:border-box;width:clamp(2rem,9vw,2.5rem);aspect-ratio:1;border:2px solid #7188a8;border-radius:.4rem;background:#f1f5fb;color:#183354;font-weight:750}
.practice-slots.revealed span{border-color:#3c8068;background:#e7f5ee;color:#14543b}
body.in-practice #replayPractice{display:none}
@media(max-width:380px){.practice-round .guess-row{flex-wrap:wrap}.practice-round .guess-row input{flex:1 1 100%}}

.practice-round[hidden],.practice-round [hidden]{display:none}
.practice-round #practicePrompt{font-weight:650;min-height:2.8em;color:#203f69}
.practice-round[data-step=listen] #practiceListen,
.practice-round[data-step=record] #practiceRecord,
.practice-round[data-step=stop] #practiceRecord,
.practice-round[data-step=reverse] #practiceReverse,
.practice-round[data-step=guess] :is(#practiceGuess,#practiceForm button){
 outline:2px solid #2874c9;outline-offset:2px;box-shadow:0 0 .7rem #65b7fa80;
 transition:box-shadow .15s ease
}
.practice-round .practice-actions{gap:.8rem}
.practice-round :focus-visible{outline:3px dashed #243957!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.practice-round *{transition:none!important;animation:none!important}}
