/* Practice English · Music (song lessons). Uses pratik.css as the base. */
.music-page .hero{background:#ffe9f1;border-color:#f6cfdd}
.music-page .hero h1{color:#b03366}
.music-page .activity-icon{color:#c4467a}
.music-page .topline #skill{background:#fde7ef;color:#a3345f}
.mu-song-hero{justify-content:flex-start!important;gap:22px!important}
.mu-cover{width:180px;height:101px;object-fit:cover;border-radius:16px;border:3px solid #fff;box-shadow:0 4px 0 #f0c9d8;flex-shrink:0;transform:rotate(-3deg)}
.mu-song-hero h1{margin-top:6px!important}

/* Song list */
.mu-songs{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.mu-song{display:flex;flex-direction:column;background:#fff;border:2px solid #f3d6e1;border-radius:22px;overflow:hidden;text-decoration:none;color:var(--ink);box-shadow:0 5px 0 #f1dbe4;transition:transform .18s,box-shadow .18s}
.mu-song:hover{transform:translateY(-4px);box-shadow:0 9px 0 #f1dbe4}
.mu-song img{display:block;width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;background:#f6eef1}
.mu-song-body{display:flex;flex-direction:column;gap:4px;padding:14px 16px 16px}
.mu-song-body strong{font-size:1.3rem;letter-spacing:-.4px;color:#9c2f5b}
.mu-artist{font-size:.85rem;color:#6d6672;font-weight:700}
.mu-song-prog{margin-top:8px;align-self:flex-start;font-size:.78rem;font-weight:800;background:#fdeef3;color:#9c2f5b;border-radius:99px;padding:6px 11px}

/* Listen bar */
.mu-listen{align-items:center}
.mu-slow{min-height:45px;font-size:.88rem}

/* Word step */
.mu-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:6px}
.mu-choice{min-height:78px;padding:14px 10px;border:3px solid #e6dcef;background:#fff;border-radius:20px;font-size:clamp(1.15rem,3.2vw,1.6rem);font-weight:900;color:#3b4766;cursor:pointer;box-shadow:0 4px 0 #ebe5ef;overflow-wrap:anywhere;transition:transform .15s,border-color .15s}
.mu-choice:nth-child(2){border-color:#f2dfcc}.mu-choice:nth-child(3){border-color:#d4e9ef}
.mu-choice:hover:not(:disabled){transform:translateY(-3px);border-color:#c4467a}
.mu-choice:disabled{cursor:default;opacity:1}
.mu-choice.correct{border-color:#20a477;background:#edf9ef;color:#16764f;box-shadow:0 4px 0 #b5d9c3}
.mu-choice.wrong{border-color:#da6666;background:#fff1ee;color:#b73d3d;text-decoration:line-through;box-shadow:0 4px 0 #edceca}
.mu-reveal{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 16px;margin-top:16px;padding:16px;background:#fff7e6;border:2px dashed #f2d9a6;border-radius:18px;animation:muPop .35s ease-out}
.mu-word{font-size:clamp(1.6rem,5vw,2.3rem);font-weight:900;color:#9c2f5b;letter-spacing:-.5px}
.mu-say{border:0;background:#fde7ef;border-radius:12px;min-width:44px;min-height:44px;font-size:1.2rem;cursor:pointer}

/* Word step with pictures (uses .options/.option from pratik.css) */
.mu-pics{margin-bottom:6px}
.mu-pics .option img{aspect-ratio:4/3;object-fit:cover}
.mu-pics .option.wrong{opacity:.75}

/* Sentence step */
.mu-answer{display:flex;flex-wrap:wrap;gap:9px;min-height:74px;align-items:center;padding:12px;border:3px dashed #e3cfd9;border-radius:18px;background:#fffafc;margin-bottom:14px}
.mu-answer.empty:before{content:"Tap the words below ↓";color:#a99aa3;font-weight:700;font-size:.9rem;margin:auto}
.mu-bank{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;min-height:54px}
.mu-bank:empty{display:none}
.mu-tile{min-height:48px;padding:9px 15px;border:2px solid #dcd2e8;border-radius:13px;background:#fff;font-size:1.08rem;font-weight:800;color:#3b4766;cursor:pointer;box-shadow:0 3px 0 #e6e0ec;transition:transform .12s}
.mu-tile:hover{transform:translateY(-2px)}
.mu-answer .mu-tile{background:#f4efff;border-color:#c9b8ec}
.mu-tile.correct{background:#edf9ef!important;border-color:#27905e!important;color:#23724b}
.mu-tile.wrong{background:#ffeded!important;border-color:#d25459!important;color:#ac353c}
.mu-locked .mu-tile{cursor:default;transform:none}
.mu-full{margin:14px 0 0;text-align:center;font-size:clamp(1.1rem,3vw,1.45rem);font-weight:900;color:#9c2f5b;animation:muPop .35s ease-out}
.mu-status-btns{display:flex;gap:9px}

/* Done + learned lines */
.mu-trophy{font-size:4rem;line-height:1;animation:muPop .5s ease-out}
.mu-done h2{font-size:1.7rem;color:#9c2f5b;margin:10px 0 6px}
.mu-score{font-weight:900;color:#7c5d16!important}
.mu-lyrics{margin-top:18px;background:#fff;border:2px solid #f0e4ea;border-radius:20px;padding:4px 18px}
.mu-lyrics summary{cursor:pointer;font-weight:800;min-height:46px;padding:12px 0;color:#7a4860}
.mu-lyrics summary span{display:inline-block;margin-left:6px;background:#fde7ef;border-radius:99px;padding:2px 9px;font-size:.8rem}
.mu-lyrics ol{margin:0 0 14px;padding-left:22px;line-height:1.8;color:#4a4f63}
@keyframes muPop{from{transform:scale(.85);opacity:0}to{transform:none;opacity:1}}

@media(max-width:600px){
.mu-cover{width:110px;height:62px;border-radius:12px}
.mu-song-hero{gap:14px!important}
.mu-choices{gap:8px}
.mu-choice{min-height:62px;padding:10px 6px;border-radius:15px;font-size:1.05rem}
.mu-tile{min-height:44px;padding:8px 11px;font-size:.98rem}
.mu-status-btns{flex:1 1 100%}.mu-status-btns .primary{flex:1}
.actions #restart{font-size:.8rem;padding:10px 12px}
}

/* Context pictures support abstract words and complete sentence meanings. */
.mu-scene{display:flex;justify-content:center;max-width:380px;margin:0 auto 18px;padding:8px;background:#fff7eb;border:2px solid #f0dcc8;border-radius:20px;overflow:hidden}
.mu-scene-image{display:block;width:100%;height:auto;max-height:320px;object-fit:contain;border-radius:12px;background:#fff}
@media(max-width:600px){.mu-scene{max-width:290px;margin-bottom:14px}.mu-scene-image{max-height:250px}}

.mu-sing{margin:20px 0;padding:20px;background:#fff4d9;border:2px solid #f1c85c;border-radius:18px;text-align:center}.mu-sing h3{margin:0 0 12px}.mu-sing-line{font-size:clamp(1.2rem,4vw,1.8rem);font-weight:700;min-height:3em;overflow-wrap:anywhere}.mu-sing progress{display:block;width:100%;margin:14px 0}.mu-sing audio{display:none}
