/* ================= Đánh răng theo vùng ================= */
.brush { gap: 10px; }
.mouth { width: min(86vw, 340px); height: auto; filter: drop-shadow(0 6px 14px rgba(90,71,67,.12)); }
.mouth .tooth { fill: #fff; stroke: #E8D7CF; stroke-width: 2; transition: fill .3s; }
.mouth .tongue { fill: #FF7F98; transition: fill .3s; }
.mouth .on { fill: #C9F2DF; stroke: #2FA472; stroke-width: 4; filter: drop-shadow(0 0 5px rgba(47,164,114,.7)); }   /* sáng tĩnh, không nhấp nháy (đỡ vẽ lại SVG) */
.mouth .tongue.on { fill: #FFB0C0; stroke: #2FA472; }
.mouth .done { fill: #F4FFFA; }
.zone-label { font-size: 24px; font-weight: 800; color: #2F7D5C; min-height: 1.3em; }
.brush-row { display: flex; align-items: center; gap: 14px; width: min(90vw, 380px); }
.brush-row .mascot { width: 130px; height: 140px; min-height: 0; flex: 0 0 auto; }
.brush-time { flex: 1; text-align: center; }
.brush-time b { font-size: 44px; line-height: 1; display: block; }
.brush-time .bar { margin-top: 10px; }

/* ================= Súc miệng (bé tự chạm cốc) ================= */
.rinse .rinse-may { width: min(60vw, 240px); height: min(60vw, 250px); min-height: 0; }
.rinse-cups { display: flex; gap: 18px; justify-content: center; }
.rinse-cup { position: relative; width: 88px; height: 88px; border-radius: 50%; background: #fff; font-size: 48px; display: grid; place-items: center; box-shadow: 0 6px 0 #BFE3FA; opacity: .55; transition: transform .3s, opacity .3s; }
.rinse-cup:active { transform: translateY(4px) !important; box-shadow: none !important; }
.rinse-cup.now { opacity: 1; animation: cupCall 1.2s ease-in-out infinite; transform: scale(1.18); box-shadow: 0 0 0 6px rgba(127,183,255,.45), 0 6px 0 #BFE3FA; }
.rinse-cup.done { opacity: 1; background: #E2F7EE; box-shadow: 0 6px 0 #BFE8D5; }
.rinse-cup.done::after { content: '✓'; position: absolute; right: -4px; top: -4px; width: 30px; height: 30px; border-radius: 50%; background: var(--mint-deep); color: #fff; font-size: 18px; font-weight: 800; display: grid; place-items: center; border: 3px solid #fff; }

/* ================= Bữa ăn ================= */
.meal-setup h3.m-h { margin: 16px 0 6px; font-size: 18px; }
.m-group { margin: 12px 0; }
.m-group > b { display: block; margin-bottom: 6px; font-size: 17px; }
.meal-setup .chip { min-height: 44px; }
.meal-setup .chip.on { background: var(--pink); color: #fff; }

.overlay.meal { background: linear-gradient(180deg, #FFF6E3, #FFE9F0); justify-content: flex-start; -webkit-backdrop-filter: none; backdrop-filter: none; z-index: 70; }
.meal-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 560px; margin: 0 auto;
  padding: calc(22px + var(--safe-t)) 16px calc(14px + var(--safe-b)); }
.meal-dots { display: flex; gap: 10px; align-self: flex-start; min-height: 40px; padding-right: 60px; }
.meal-dots i { font-style: normal; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 22px; opacity: .45; }
.meal-dots i.on { opacity: 1; box-shadow: 0 0 0 3px var(--pink); }
.meal-dots i.past { opacity: 1; background: #E2F7EE; }
.dish { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dish-emoji { font-size: min(36vw, 150px); line-height: 1.1; animation: pop .5s; filter: drop-shadow(0 8px 12px rgba(90,71,67,.15)); }
.dish-name { font-size: 34px; font-weight: 800; }
.meal-bubble { min-height: 2.6em; font-size: 20px; font-weight: 700; text-align: center; line-height: 1.3; }
.meal-row { display: flex; align-items: flex-end; gap: 10px; width: 100%; }
.meal-row .mascot { width: 110px; height: 118px; min-height: 0; flex: 0 0 auto; }
.meal-quick { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.meal-quick button { min-height: 48px; border-radius: 16px; background: rgba(255,255,255,.9); font-weight: 700; font-size: 15px; box-shadow: 0 3px 0 #EADBD2; }
.meal-quick button:active { transform: translateY(3px); box-shadow: none; }
.meal .actions { width: 100%; }
@keyframes cupCall { 50% { transform: scale(1.28); } }
