.cards .mega-cover.music{background:linear-gradient(135deg,#efe3fc,#e4edf9)}.cards .music .mega-cover-icon{color:#9271bd}.rhythm-game{max-width:430px;margin:auto}.rhythm-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px;font-size:10px;color:#9473aa}.rhythm-heading>b{color:#705a83;font-size:10px;white-space:nowrap}.rhythm-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:12px}.rhythm-stats>span{display:grid;gap:3px;background:#f5effb;border:1px solid #eae0f2;border-radius:10px;padding:9px;font-size:8px;color:#947fa4}.rhythm-stats b{font-size:15px;color:#705a83}.rhythm-game #megaCanvas{display:block;width:100%;height:auto;max-height:44vh;object-fit:contain;background:#faf8fc;border:1px solid #e1d4ee;border-radius:14px;touch-action:auto}.rhythm-pads{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}.rhythm-pads button{display:grid;gap:3px;min-height:54px!important;padding:8px!important;background:#faf8fc!important;border:1px solid var(--lane)!important;border-radius:11px!important;color:var(--lane)!important;touch-action:manipulation;font:inherit}.rhythm-pads b{font-size:18px}.rhythm-pads span{font-size:9px}.rhythm-pads button:active{background:#eee7f7!important;transform:translateY(1px)}.rhythm-pads button:focus-visible{outline:3px solid #c6afd9;outline-offset:2px}.rhythm-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.rhythm-bottom>span{font-size:10px;color:#7f648f;line-height:1.6}.rhythm-bottom button{min-height:38px!important;font:inherit;font-size:11px;padding:9px 15px;border:1px solid #dcccE9;border-radius:10px;background:#ede4f7;color:#77518f;flex-shrink:0}.rhythm-instructions{font-size:10px;line-height:1.8;color:#95839e;margin:10px 0 0}.rhythm-result{display:grid;gap:8px;margin-bottom:18px;padding:17px;background:#f3edf9;border:1px solid #e3d7ed;border-radius:14px;text-align:center}.rhythm-result b{font-size:22px;color:#806397}.rhythm-result span,.rhythm-result small{font-size:11px;line-height:1.7;color:#95809f}@media(max-width:500px){.rhythm-heading{font-size:8px;margin-bottom:9px}.rhythm-heading>b{font-size:9px}.rhythm-stats{margin-bottom:9px;gap:5px}.rhythm-stats>span{padding:7px;font-size:7px;border-radius:8px}.rhythm-stats b{font-size:13px}.rhythm-game #megaCanvas{max-height:40vh}.rhythm-pads{gap:6px;margin-top:8px}.rhythm-pads button{min-height:49px!important}.rhythm-bottom{margin-top:9px;gap:8px}.rhythm-bottom>span{font-size:9px}.rhythm-instructions{font-size:9px;margin-top:8px}}@media(prefers-reduced-motion:reduce){.rhythm-pads button:active{transform:none}}
