@import url("https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@500;700;800&display=swap");
:root { --bg: #fff4e0; --fg: #2b2233; --muted: #7a6b80; --accent: #ff6b6b; --border: #f1d9b5; --radius: 22px;
  --font: "Baloo Bhaijaan 2", system-ui, sans-serif; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--fg); min-height: 100vh;
  background: radial-gradient(circle at 10% 10%, #ffe3ef 0, transparent 40%), radial-gradient(circle at 90% 80%, #d9f2ff 0, transparent 40%), var(--bg); }
button { font-family: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid #3b82f6; outline-offset: 3px; }
.app { max-width: 480px; margin: 0 auto; min-height: 100vh; padding-bottom: 96px; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 1.5rem; font-weight: 800; color: #e2557a; }
.stars { background: #fff; border-radius: 99px; padding: 4px 14px; font-size: 1.1rem; color: var(--fg); box-shadow: 0 3px 0 var(--border); }
.play, .album { padding: 0 16px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; background: #fff; padding: 12px; border-radius: var(--radius); box-shadow: 0 5px 0 var(--border); }
.sw { position: relative; width: 48px; height: 48px; border-radius: 14px; border: 4px solid #fff; box-shadow: 0 0 0 2px #2b223322, 0 4px 0 #0002; transition: transform .15s; }
.sw:active { transform: scale(.9); }
.glow { animation: glow 1s infinite; }
.pulse { animation: pop .5s 3; }
.shake { animation: shake .4s; }
.finger { position: absolute; bottom: -30px; left: 8px; font-size: 26px; animation: tap .6s infinite alternate; }
@keyframes glow { 50% { box-shadow: 0 0 0 6px #fff, 0 0 22px 8px #ffd54a; transform: scale(1.1); } }
@keyframes pop { 50% { transform: scale(1.25); } }
@keyframes shake { 25% { transform: translateX(-6px) rotate(-6deg); } 75% { transform: translateX(6px) rotate(6deg); } }
@keyframes tap { to { transform: translateY(-8px); } }
.q { text-align: center; font-size: 1.45rem; margin: 22px 0 10px; line-height: 1.4; }
.q span { color: #e2557a; }
.q small { display: block; font-size: 1.05rem; color: var(--muted); font-weight: 500; }
.stage { position: relative; background: #fff; border-radius: 28px; padding: 14px; box-shadow: 0 6px 0 var(--border); overflow: hidden; }
.big { width: 100%; display: block; }
.wipe { transition: r 1.2s cubic-bezier(.3,.7,.3,1); }
.thumb { position: absolute; top: 10px; left: 10px; width: 92px; background: #fff8ec; border: 3px dashed #f3b8c8; border-radius: 16px; padding: 4px; z-index: 2; }
.thumb svg { width: 100%; display: block; }
.count { position: absolute; inset: 0; display: grid; place-items: center; font-size: 7rem; font-weight: 800; color: #e2557a;
  text-shadow: 0 6px 0 #fff; animation: zoom 1s; pointer-events: none; }
@keyframes zoom { from { transform: scale(2); opacity: 0; } 30% { transform: scale(1); opacity: 1; } }
.praise { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 1.8rem; font-weight: 800; color: #16a34a; animation: zoom .6s; }
.confetti i { position: absolute; top: -20px; font-style: normal; font-size: 26px; animation: fall 1.8s ease-in forwards; }
.confetti i:nth-child(1) { left: 10%; } .confetti i:nth-child(2) { left: 30%; animation-delay: .2s; }
.confetti i:nth-child(3) { left: 50%; animation-delay: .1s; } .confetti i:nth-child(4) { left: 70%; animation-delay: .3s; }
.confetti i:nth-child(5) { left: 88%; animation-delay: .15s; }
@keyframes fall { to { transform: translateY(330px) rotate(360deg); opacity: 0; } }
.actions { margin-top: 16px; display: grid; gap: 12px; }
.toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; background: #fff; border-radius: 16px; padding: 8px 14px; font-weight: 700; }
.toggle input { width: 22px; height: 22px; accent-color: #e2557a; }
.row2 { display: flex; gap: 10px; }
.btn { min-height: 52px; border: 0; border-radius: 18px; font-size: 1.15rem; font-weight: 800; padding: 0 18px; }
.btn.main { flex: 1; background: #ff6b8b; color: #fff; box-shadow: 0 5px 0 #c94566; }
.btn.ghost { background: #fff; color: var(--fg); box-shadow: 0 5px 0 var(--border); }
.btn:active { transform: translateY(3px); box-shadow: none; }
.progress { text-align: center; color: var(--muted); margin: 0; }
.agrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.acard { background: #fff; border-radius: 20px; padding: 10px; text-align: center; box-shadow: 0 4px 0 var(--border); opacity: .7; }
.acard.ok { opacity: 1; }
.acard svg { width: 100%; }
.acard span { font-weight: 700; }
.tabs { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; background: #fff;
  padding: 8px 12px max(8px, env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px #0001; }
.tabs button { flex: 1; max-width: 220px; min-height: 58px; border: 0; background: none; border-radius: 16px; font-size: 1rem; font-weight: 700; color: var(--muted); display: flex; flex-direction: column; align-items: center; }
.tabs button b { font-size: 1.4rem; }
.tabs button.on { background: #ffe3ea; color: #e2557a; }
