/* Góc Mầm non (assets/mn.js): nút to, ít chữ, chạm được bằng cả bàn tay */
.mn .mn-stars { font-weight: 900; background: #FFF4D6; border-radius: 999px; padding: 4px 10px; font-size: 15px; white-space: nowrap; }
.mn-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.mn-tile { border: 0; border-radius: 26px; min-height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font: inherit; color: #3B2A14; cursor: pointer; box-shadow: 0 6px 0 rgba(0,0,0,.12); transition: transform .12s; -webkit-tap-highlight-color: transparent; }
.mn-tile:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0,0,0,.12); }
.mn-tile-em { font-size: 58px; line-height: 1; }
.mn-tile-t { font-family: 'Baloo 2', Nunito, sans-serif; font-weight: 800; font-size: 20px; }
.mn-t-tap { background: #FFD8C2; } .mn-t-count { background: #CDEBFF; } .mn-t-trace { background: #FFF0B3; } .mn-t-en { background: #D9F5D0; }
.mn-t-story { background: #EAD9FF; grid-column: 1 / -1; min-height: 110px; flex-direction: row; gap: 14px; }
.mn-dim .mn-tile { opacity: .45; }
.mn-rest { text-align: center; background: #F1ECFF; border-radius: 22px; padding: 16px; margin-top: 14px; }
.mn-rest-em { font-size: 46px; }
.mn-foot { display: flex; justify-content: center; margin-top: 18px; }
.mn-holding { position: relative; overflow: hidden; }
.mn-holding::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; background: #FF9F1C; animation: mn-hold 2s linear forwards; }
@keyframes mn-hold { from { width: 0; } to { width: 100%; } }

.mn-play .topbar .title { font-size: 18px; }
.mn-dots { display: flex; gap: 5px; }
.mn-dots span { width: 10px; height: 10px; border-radius: 50%; background: #E6DED2; }
.mn-dots span.on { background: #2BA84A; } .mn-dots span.cur { background: #FF9F1C; transform: scale(1.25); }
.mn-stage { padding-top: 6px; }
.mn-ask { display: block; width: 100%; border: 0; background: #FFF4D6; border-radius: 20px; padding: 14px 16px; font: 800 20px/1.3 Nunito, sans-serif; color: #3B2A14; cursor: pointer; text-align: center; }
.mn-opts { display: grid; gap: 14px; margin-top: 18px; }
.mn-opts.mn-n2 { grid-template-columns: 1fr 1fr; } .mn-opts.mn-n3 { grid-template-columns: 1fr 1fr 1fr; } .mn-opts.mn-n4 { grid-template-columns: 1fr 1fr; }
.mn-opt { border: 4px solid #F0E6D8; background: #fff; border-radius: 24px; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; font: inherit; padding: 8px; -webkit-tap-highlight-color: transparent; transition: transform .1s; }
.mn-opt:active { transform: scale(.96); }
.mn-opt.mn-right { border-color: #2BA84A; background: #E7F8E3; animation: mn-pop .4s; }
.mn-opt.mn-wrong { opacity: .55; }
.mn-em { font-size: 64px; line-height: 1.1; }
.mn-em.xl { font-size: 92px; }
.mn-swatch { width: 74px; height: 74px; border-radius: 50%; border: 3px solid rgba(0,0,0,.15); }
.mn-shape { width: 78px; height: 78px; }
.mn-num b { font: 900 48px/1 'Baloo 2', Nunito, sans-serif; color: #1D70D6; }
.mn-num i { font-style: normal; color: #FF9F1C; letter-spacing: 2px; font-size: 18px; }
.mn-shake { animation: mn-shake .45s; }
@keyframes mn-shake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }
@keyframes mn-pop { 50% { transform: scale(1.1); } }

.mn-count-box { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; padding: 10px; background: #F7F3EC; border-radius: 22px; min-height: 90px; }
.mn-obj { position: relative; border: 0; background: none; font-size: 50px; line-height: 1.1; cursor: pointer; padding: 4px; border-radius: 16px; }
.mn-obj.on { background: #FFE9A8; }
.mn-obj.on::after { content: attr(data-n); position: absolute; top: -4px; right: -4px; background: #FF7A00; color: #fff; font: 900 15px/24px Nunito; width: 24px; height: 24px; border-radius: 50%; }

.mn-trace-wrap { display: flex; justify-content: center; margin-top: 14px; }
.mn-cv { background: #fff; border: 4px solid #F0E6D8; border-radius: 26px; touch-action: none; }

.mn-learn { display: flex; flex-direction: column; align-items: center; margin-top: 16px; }
.mn-learn .mn-opt { min-width: 170px; min-height: 160px; cursor: default; }
.mn-learn .mn-em { font-size: 96px; }
.mn-word { font: 900 44px/1.1 'Baloo 2', Nunito, sans-serif; color: #2BA84A; margin-top: 10px; }
.mn-lvl-wrap { height: 8px; background: #EEE; border-radius: 4px; margin: 14px auto 0; max-width: 220px; overflow: hidden; }
.mn-lvl { height: 100%; background: #2BA84A; transform-origin: left; transform: scaleX(0); transition: transform .08s; }

.mn-story-cover, .mn-scene { text-align: center; margin-top: 18px; }
.mn-story-cover b { display: block; font: 800 24px 'Baloo 2', Nunito, sans-serif; margin-top: 8px; }
.mn-line { font-size: 21px; font-weight: 700; line-height: 1.45; margin: 14px 4px 0; }
.mn-done { text-align: center; padding-top: 10px; }
.mn-done h2 { font: 900 40px 'Baloo 2', Nunito, sans-serif; margin: 6px 0 0; color: #FF7A00; }

.mn-home-tile { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; border-radius: 20px; padding: 12px 14px; background: #EAD9FF; font: inherit; text-align: left; cursor: pointer; }
.mn-home-tile .mn-em { font-size: 40px; }

.mn-parent .card { background: #fff; border-radius: 18px; padding: 14px; }
.mn-prog { background: #fff; border-radius: 16px; padding: 12px 14px; }
.mn-bar { height: 8px; background: #F0E6D8; border-radius: 4px; margin: 6px 0 8px; overflow: hidden; }
.mn-bar i { display: block; height: 100%; background: #2BA84A; }
.mn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mn-chips span { min-width: 34px; height: 34px; padding: 0 6px; border-radius: 10px; background: #F7F3EC; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; opacity: .3; font-weight: 800; }
.mn-chips span.tried { opacity: .6; } .mn-chips span.on { opacity: 1; background: #E7F8E3; }
.mn-chips .mn-shape { width: 22px; height: 22px; }
.mn-dot { width: 20px; height: 20px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.2); }
.mn-hl { margin: 6px 0 0; padding-left: 4px; list-style: none; font-size: 14px; }
.mn-hl li { padding: 3px 0; }
