/* Bunnimoo 6.2.x-beta — activity base, Teach Bunnimoo, Bunnimoo copies me */
.act-level .act-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.act-segb { border: 2px solid #e4def0; background: #fff; border-radius: 16px; padding: 10px 6px; min-height: 64px; display: flex; flex-direction: column; gap: 3px; align-items: center; justify-content: center; font: inherit; color: #463c5a; cursor: pointer; }
.act-segb small { font-size: .78rem; color: #8a829c; line-height: 1.25; text-align: center; }
.act-segb.on { border-color: #9b7fe0; background: #f3eeff; box-shadow: 0 0 0 2px #9b7fe0 inset; }
.act-segb.on b::before { content: "✓ "; }

.tc { padding-bottom: 24px; }
.tc-head h1 { font-size: 1.25rem; }
.tc-say { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 22px; padding: 10px 12px; margin: 10px auto; max-width: 460px; box-shadow: 0 4px 14px rgba(70, 60, 90, .08); }
.tc-cap { flex: 1; margin: 0; font-size: 1.12rem; line-height: 1.45; font-weight: 700; color: #463c5a; }
.tc-rep { flex: 0 0 auto; width: 44px; height: 44px; }
.tc-say.flash { outline: 3px solid #ffcf5c; outline-offset: 2px; }
.tc-hero { position: relative; width: 190px; height: 180px; margin: 4px auto 0; }
.tc-hero .tc-herobun { position: absolute; inset-inline: 0; margin: auto; width: 150px; top: 8px; }
.tc-herobun svg, .tc-bun svg { width: 100%; height: auto; display: block; }
.tc-scens { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px auto 0; max-width: 440px; }
.tc-scen { position: relative; border: 0; background: #fff; border-radius: 22px; padding: 14px 8px 12px; min-height: 128px; display: flex; flex-direction: column; align-items: center; gap: 6px; font: inherit; color: #463c5a; box-shadow: 0 4px 14px rgba(70, 60, 90, .1); cursor: pointer; }
.tc-scen b { font-size: 1.05rem; }
.tc-scen small { font-size: .8rem; color: #4f9a5a; font-weight: 700; }
.tc-scenart { width: 62px; height: 62px; display: grid; place-items: center; background: #fff8e6; border-radius: 50%; }
.tc-scenart svg { width: 46px; height: 46px; }
.tc-scen.done { background: #f3fbf1; }

.tc-stage { position: relative; width: min(300px, 86vw); height: 250px; margin: 6px auto 0; border-radius: 28px; background: linear-gradient(#fdf6ff, #f2ecfb 72%, #e9f6e6 72%); overflow: hidden; }
.tc-floor { position: absolute; inset-inline: 0; bottom: 0; height: 28%; background: #e2f3dd; }
.tc-stage .tc-bun { position: absolute; width: 150px; bottom: 14px; inset-inline-start: 18%; }
.tc-prop { position: absolute; width: 54px; height: 54px; z-index: 3; transition: all .5s cubic-bezier(.3, 1.4, .5, 1); filter: drop-shadow(0 3px 2px rgba(70, 60, 90, .15)); }
.tc-prop svg { width: 100%; height: 100%; display: block; }
/* anchors are set in physical px relative to the stage so the bunny's ear/mouth/foot line up in RTL and LTR */
.tc-stage .tc-bun { left: 30px; right: auto; }
.tc-prop.at-ear { left: 56px; top: 66px; transform: rotate(-32deg); }
.tc-prop.at-head { left: 70px; top: 80px; transform: rotate(-6deg) scale(1.05); }
.tc-prop.at-mouth { left: 84px; top: 136px; width: 46px; height: 46px; transform: rotate(-35deg); }
.tc-prop.at-nose { left: 80px; top: 114px; width: 46px; height: 46px; transform: rotate(-70deg); }
.tc-prop.at-foot { left: 98px; top: 190px; }
.tc-prop.at-hand { left: 146px; top: 150px; transform: rotate(-10deg); }
.tc-prop.at-side { right: 14px; left: auto; top: 140px; width: 92px; height: 92px; }
.tc-prop.at-sidein { right: 32px; left: auto; top: 110px; width: 56px; height: 56px; z-index: 4; }
.tc-prop.at-bedtop { right: 56px; left: auto; top: 160px; width: 40px; height: 40px; z-index: 4; }
.tc-prop.at-inside { right: 34px; left: auto; top: 146px; width: 52px; height: 52px; z-index: 4; }
.tc-hero .tc-prop.at-ear { left: 50px; top: 42px; }

.tc-stage.trying .tc-bun { animation: tcHop .8s ease-in-out 2; }
.tc-stage.oops .tc-bun { animation: tcWobble .5s ease-in-out 3; }
.tc-stage.funny .tc-bun { animation: tcWobble .55s ease-in-out 2; }
.tc-stage.funny .tc-prop { animation: tcJiggle .4s ease-in-out 3; }
.tc-stage.good .tc-bun, .tc-stage.yay .tc-bun { animation: tcHop .6s ease-in-out 3; }
.tc-stage.asking .tc-bun { animation: tcTilt 2.6s ease-in-out infinite alternate; }
.tc-confetti { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(circle, #ffcf5c 3px, transparent 4px) 10% 20% / 40px 40px,
  radial-gradient(circle, #ff9fb8 3px, transparent 4px) 30% 10% / 52px 46px,
  radial-gradient(circle, #9fd7ff 3px, transparent 4px) 70% 30% / 46px 58px; animation: tcFall 2.4s linear infinite; opacity: .9; }
@keyframes tcHop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes tcWobble { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-6deg); } 70% { transform: rotate(6deg); } }
@keyframes tcJiggle { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }
@keyframes tcTilt { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes tcFall { from { background-position: 10% -20%, 30% -40%, 70% -10%; } to { background-position: 10% 120%, 30% 110%, 70% 130%; } }

.tc-opts { display: grid; gap: 10px; margin: 6px auto 0; max-width: 440px; grid-template-columns: repeat(3, 1fr); }
.tc-opts.n2 { grid-template-columns: 1fr 1fr; }
.tc-opt { position: relative; border: 3px solid transparent; background: #fff; border-radius: 22px; padding: 10px 4px; min-height: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font: inherit; color: #463c5a; box-shadow: 0 4px 14px rgba(70, 60, 90, .1); cursor: pointer; }
.tc-opt b { font-size: 1.02rem; }
.tc-optart { width: 64px; height: 64px; }
.tc-optart svg { width: 100%; height: 100%; }
.tc-opt:active { transform: scale(.97); }
.tc-opt[disabled] { opacity: .7; }
.tc-opt.tried { background: #faf8fd; }
.tc-opt.tried::after { content: "😄"; position: absolute; top: 6px; inset-inline-end: 8px; font-size: 1rem; }
.tc-opt.hinted { border-color: #ffcf5c; animation: tcGlow 1.6s ease-in-out infinite; }
.tc-hintdot { position: absolute; top: -10px; inset-inline-start: -8px; width: 30px; height: 30px; }
@keyframes tcGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 207, 92, .7); } 50% { box-shadow: 0 0 0 10px rgba(255, 207, 92, 0); } }
.tc-row { display: flex; justify-content: center; margin-top: 12px; }
.tc-hintbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; }
.tc-hintbtn svg { width: 26px; height: 26px; }
.tc-col { display: flex; flex-direction: column; gap: 12px; align-items: stretch; margin: 14px auto 0; max-width: 420px; }
.tc-big { min-height: 58px; font-size: 1.12rem; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.tc-big svg { width: 30px; height: 30px; }
.tc-skip { align-self: center; min-height: 44px; padding-inline: 22px; opacity: .85; }
.tc-stickers { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.tc-stickers .hs-stk { width: 150px; }

html.rm .tc-stage *, html.rm .tc-opt, html.rm .tc-confetti { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .tc-stage *, .tc-opt, .tc-confetti { animation: none !important; transition: none !important; } }

/* ---------- 6.2.2 Bunnimoo copies me ---------- */
.mm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px auto 0; max-width: 440px; }
.mm-card { position: relative; border: 0; background: #fff; border-radius: 22px; padding: 14px 8px 12px; min-height: 122px; display: flex; flex-direction: column; align-items: center; gap: 6px; font: inherit; color: #463c5a; box-shadow: 0 4px 14px rgba(70, 60, 90, .1); cursor: pointer; }
.mm-card b { font-size: 1.05rem; }
.mm-card small { font-size: .78rem; color: #8a829c; }
.mm-card.done { background: #f3fbf1; }
.mm-card.combo { background: #fff8e6; }
.mm-cardart { width: 66px; height: 66px; display: grid; place-items: center; }
.mm-cardart svg { width: 60px; height: 60px; }
.mm-count { position: absolute; top: 14px; right: 18px; width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; color: #9b7fe0; box-shadow: 0 4px 14px rgba(70, 60, 90, .15); animation: mmCount .7s ease-out infinite; }
.fx-wavepaw { animation: mmWave .5s ease-in-out infinite alternate; }
.fx-clapl { animation: mmClapL .45s ease-in-out infinite alternate; }
.fx-clapr { animation: mmClapR .45s ease-in-out infinite alternate; }
.fx-pop { animation: mmPop .9s ease-out infinite; }
.fx-rise { animation: mmRise .9s ease-in-out infinite alternate; }
.fx-sink { animation: mmSink 1s ease-in-out infinite alternate; }
.fx-pulse { animation: mmPulse 1s ease-in-out infinite; }
.mm-stage.mm-wave .tc-bun { animation: tcTilt .9s ease-in-out infinite alternate; }
.mm-stage.mm-bob .tc-bun { animation: tcHop .45s ease-in-out infinite; }
.mm-stage.mm-stretch .tc-bun { animation: mmStretch 1.2s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.mm-stage.mm-wow .tc-bun { animation: mmWow .8s ease-out 2; }
.mm-stage.mm-tilt .tc-bun { animation: mmTiltBig .5s ease-in-out infinite alternate; }
.mm-stage.mm-jump .tc-bun { animation: mmJump .7s cubic-bezier(.3, 0, .4, 1) infinite; }
.mm-stage.mm-wobble .tc-bun { animation: tcWobble .55s ease-in-out infinite; }
@keyframes mmWave { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }
@keyframes mmClapL { from { transform: translateX(-8px) rotate(-18deg); } to { transform: translateX(14px) rotate(-8deg); } }
@keyframes mmClapR { from { transform: translateX(8px) rotate(18deg); } to { transform: translateX(-14px) rotate(8deg); } }
@keyframes mmPop { 0% { transform: scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }
@keyframes mmRise { from { transform: translateY(12px); } to { transform: translateY(-8px); } }
@keyframes mmSink { from { transform: translateY(-6px) rotate(-8deg); } to { transform: translateY(6px) rotate(8deg); } }
@keyframes mmPulse { 0%, 100% { opacity: .5; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes mmStretch { from { transform: scaleY(1); } to { transform: scaleY(1.07); } }
@keyframes mmWow { 0% { transform: scale(1); } 30% { transform: scale(1.08) translateY(-6px); } 100% { transform: scale(1); } }
@keyframes mmTiltBig { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes mmJump { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-34px); } }
@keyframes mmCount { from { transform: scale(1.15); } to { transform: scale(1); } }
html.rm .mm-stage *, html.rm .mm-count { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .mm-stage *, .mm-count { animation: none !important; } }

/* ---------- 6.2.3 secret house ---------- */
.sh-room { position: relative; width: min(360px, 94vw); height: 300px; margin: 8px auto 0; border-radius: 26px; overflow: hidden; box-shadow: 0 6px 18px rgba(70, 60, 90, .12); }
.sh-wall { position: absolute; inset: 0 0 42% 0; background: repeating-linear-gradient(90deg, #fbf3ff 0 22px, #f6ecfd 22px 44px); }
.sh-floor { position: absolute; inset: 58% 0 0 0; background: linear-gradient(#f3d9b8, #e9c9a2); }
.sh-window { position: absolute; left: 40%; top: 7%; width: 20%; height: 26%; border-radius: 14px 14px 4px 4px; background: linear-gradient(#cfeaff, #eaf6ff); border: 4px solid #fff; box-shadow: 0 0 0 2px #e4d8f2; }
.sh-room.fx-stars .sh-wall, .sh-room.fx-stars .sh-window { filter: brightness(.72) saturate(.9); }
.sh-bun { position: absolute; left: 39%; top: 30%; width: 96px; z-index: 2; pointer-events: none; }
.sh-bun svg { width: 100%; height: auto; display: block; }
.sh-z { position: absolute; top: -6px; right: -18px; font-weight: 800; color: #9b7fe0; font-size: 1.1rem; animation: shZ 1.6s ease-in-out infinite; }
.sh-spot { position: absolute; border: 0; background: transparent; padding: 0; cursor: pointer; z-index: 3; display: grid; place-items: center; }
.sh-spot.at-wallL { left: 7%; top: 9%; width: 74px; height: 62px; }
.sh-spot.at-wallR { right: 7%; top: 9%; width: 74px; height: 62px; }
.sh-spot.at-floorL { left: 2%; top: 46%; width: 118px; height: 98px; }
.sh-spot.at-floorC { left: 30%; top: 72%; width: 128px; height: 70px; z-index: 1; }
.sh-spot.at-floorR { right: 3%; top: 48%; width: 84px; height: 84px; }
.sh-spot.at-frontL { left: 5%; top: 77%; width: 70px; height: 66px; z-index: 4; }
.sh-spot.at-frontR { right: 6%; top: 77%; width: 70px; height: 66px; z-index: 4; }
.sh-spot.at-corner { right: 29%; top: 50%; width: 62px; height: 66px; }
.sh-art { position: relative; width: 100%; height: 100%; display: block; filter: drop-shadow(0 3px 2px rgba(70, 60, 90, .18)); }
.sh-art > svg { width: 100%; height: 100%; display: block; }
.sh-spot.focus .sh-art { outline: 3px dashed #9b7fe0; outline-offset: 2px; border-radius: 14px; }
.sh-spot.free .sh-ring { width: 54px; height: 54px; border-radius: 50%; border: 3px dashed #9b7fe0; background: rgba(155, 127, 224, .12); animation: tcGlow 1.4s ease-in-out infinite; }
.sh-mem { position: absolute; left: 30%; top: 27%; width: 40%; height: 44%; display: grid; place-items: center; background: #fff; border-radius: 6px; }
.sh-mem svg { width: 90%; height: 90%; }
.sh-grow { position: absolute; left: 22%; top: -46%; width: 56%; height: 70%; transform-origin: 50% 100%; animation: shGrow 1.4s cubic-bezier(.3, 1.4, .5, 1) both, shSneeze .4s ease-in-out 1.6s 2; }
.sh-grow svg { width: 100%; height: 100%; }
.sh-stars { position: absolute; inset: 0 0 42% 0; pointer-events: none; z-index: 1; }
.sh-st { position: absolute; width: 22px; height: 22px; animation: shTw 1.4s ease-in-out infinite alternate; }
.sh-st svg { width: 100%; height: 100%; }
.sh-st.s1 { left: 12%; top: 18%; } .sh-st.s2 { left: 28%; top: 44%; animation-delay: .3s; } .sh-st.s3 { left: 63%; top: 16%; animation-delay: .6s; }
.sh-st.s4 { left: 78%; top: 52%; animation-delay: .2s; } .sh-st.s5 { left: 46%; top: 64%; animation-delay: .5s; } .sh-st.s6 { left: 88%; top: 20%; animation-delay: .8s; }
.sh-room.fx-bounce .sh-bun { animation: tcHop .5s ease-in-out 3; }
.sh-room.fx-toys .it-toybox { animation: tcWobble .4s ease-in-out 3; }
.sh-room.fx-memory .it-picture { animation: mmWow .7s ease-out 1; }
.sh-bar { display: flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 10px auto 0; max-width: 420px; background: #fff; border-radius: 18px; padding: 8px 10px; box-shadow: 0 4px 12px rgba(70, 60, 90, .08); }
.sh-bar b { color: #463c5a; }
.sh-bar .btn { min-height: 44px; }
.sh-barnote { color: #6e6584; font-size: .95rem; }
.sh-tray { margin: 12px auto 0; max-width: 440px; }
.sh-tray h2 { font-size: 1rem; margin: 0 4px 8px; color: #6e6584; }
.sh-trayrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sh-ti { position: relative; border: 3px solid transparent; background: #fff; border-radius: 18px; padding: 8px 4px; min-height: 100px; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; color: #463c5a; box-shadow: 0 3px 10px rgba(70, 60, 90, .08); cursor: pointer; }
.sh-ti.on { border-color: #9b7fe0; background: #f3eeff; }
.sh-ti.locked { opacity: .6; cursor: default; background: #f6f4fa; box-shadow: none; }
.sh-ti small { font-size: .7rem; color: #8a829c; line-height: 1.2; text-align: center; }
.sh-tiart { width: 50px; height: 50px; display: grid; place-items: center; }
.sh-tiart svg { width: 100%; height: 100%; }
.sh-new { position: absolute; top: -8px; inset-inline-end: -6px; background: #ffcf5c; color: #463c5a; font-style: normal; font-weight: 800; font-size: .72rem; padding: 2px 7px; border-radius: 10px; }
@keyframes shZ { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-6px); } }
@keyframes shGrow { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes shSneeze { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-14deg) scale(1.08); } }
@keyframes shTw { from { opacity: .35; transform: scale(.8); } to { opacity: 1; transform: scale(1.1); } }
html.rm .sh-room *, html.rm .sh-ring { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .sh-room *, .sh-ring { animation: none !important; } }

/* ---------- 6.2.4 mysterious suitcase ---------- */
.sc-case { width: 170px; height: 150px; margin: 18px auto 0; animation: scShake 1.6s ease-in-out infinite; }
.sc-case svg, .sc-opencase svg, .sc-thing svg { width: 100%; height: 100%; display: block; }
.sc-reveal { position: relative; width: 210px; height: 190px; margin: 8px auto 0; }
.sc-opencase { position: absolute; left: 15px; bottom: 0; width: 180px; height: 150px; }
.sc-thing { position: absolute; left: 60px; top: 0; width: 90px; height: 90px; animation: scPop .9s cubic-bezier(.3, 1.6, .5, 1) both; filter: drop-shadow(0 4px 3px rgba(70, 60, 90, .2)); }
.sc-ov { position: absolute; width: 58px; height: 58px; z-index: 3; filter: drop-shadow(0 3px 2px rgba(70, 60, 90, .15)); }
.sc-ov svg { width: 100%; height: 100%; display: block; }
.sc-ov.at-hand { left: 140px; top: 104px; }
.sc-ov.at-side { right: 12px; top: 128px; width: 98px; height: 98px; }
.sc-ov.at-sidein { right: 36px; top: 118px; width: 54px; height: 54px; z-index: 4; }
.sc-ov.at-sky { left: 16px; top: 6px; width: 268px; height: 64px; }
.sc-ov.at-mic { left: 98px; top: 120px; width: 46px; height: 46px; transform: rotate(-40deg); }
.sc-ov.at-neck { left: 66px; top: 128px; width: 76px; height: 54px; }
.sc-stage.sc-float .at-side { animation: scFloat 1.6s ease-in-out infinite; }
.sc-stage.sc-rock .at-side, .sc-stage.sc-rock .at-sidein { animation: scRock 1.8s ease-in-out infinite; transform-origin: 50% 0; }
.sc-stage .at-sky svg { animation: mmPulse 1.4s ease-in-out infinite; }
@keyframes scShake { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-4deg); } 88% { transform: rotate(4deg); } 92% { transform: rotate(-3deg); } 96% { transform: rotate(2deg); } }
@keyframes scPop { from { transform: translateY(70px) scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes scFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes scRock { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
html.rm .sc-case, html.rm .sc-thing, html.rm .sc-stage * { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .sc-case, .sc-thing, .sc-stage * { animation: none !important; } }

/* ---------- 6.2.5 surprise garden ---------- */
.pg-stage .pg-soil { position: absolute; right: 22px; bottom: 6px; width: 120px; height: 120px; z-index: 2; }
.pg-stage .pg-soil svg, .pg-plant svg, .pg-can svg, .pg-drops svg, .pg-seedgrab svg, .pg-bedart svg, .pg-canic svg { width: 100%; height: 100%; display: block; }
.pg-stage .pg-plant { position: absolute; right: 32px; bottom: 46px; width: 104px; height: 128px; z-index: 3; transform-origin: 50% 100%; animation: pgGrow .9s cubic-bezier(.3, 1.5, .5, 1) both; filter: drop-shadow(0 4px 3px rgba(70, 60, 90, .18)); }
.pg-stage .pg-can { position: absolute; right: 70px; top: 12px; width: 78px; height: 78px; z-index: 4; transform: scaleX(-1) rotate(-24deg); animation: pgTilt 1s ease-in-out both; }
.pg-stage .pg-drops { position: absolute; right: 52px; top: 84px; width: 54px; height: 54px; z-index: 4; animation: pgFall .9s ease-in both; }
.pg-hand { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 10px auto 0; max-width: 420px; }
.pg-hand small { color: #6f6684; font-size: .9rem; line-height: 1.3; flex: 1; }
.pg-seedgrab { width: 74px; height: 74px; flex: 0 0 auto; background: #fff8e6; border-radius: 50%; padding: 8px; touch-action: none; cursor: grab; box-shadow: 0 4px 12px rgba(70, 60, 90, .12); position: relative; z-index: 6; }
.pg-seedgrab.dragging { cursor: grabbing; box-shadow: 0 10px 22px rgba(70, 60, 90, .25); }
.pg-canic { width: 30px; height: 30px; display: inline-block; }
.pg-meter { display: flex; justify-content: center; gap: 10px; margin: 10px auto 0; }
.pg-meter i { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #7cc8ff; background: #fff; }
.pg-meter i.on { background: #7cc8ff; }
.pg-meter i.on::after { content: ""; }
.pg-garden { margin: 16px auto 0; max-width: 440px; background: #f3fbf1; border-radius: 22px; padding: 10px 10px 12px; }
.pg-gt { margin: 0 4px 8px; font-weight: 800; color: #4f7a4a; }
.pg-gt small { font-weight: 600; color: #6f6684; }
.pg-beds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pg-bedb { border: 0; background: #fff; border-radius: 18px; padding: 6px 2px; min-height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; font: inherit; color: #463c5a; }
.pg-bedb small { font-size: .72rem; font-weight: 700; line-height: 1.15; text-align: center; }
.pg-bedb[disabled] { opacity: .55; }
.pg-bedart { width: 56px; height: 56px; transform-origin: 50% 100%; }
.pg-bedb:active { transform: scale(.96); }
.pg-sneeze .pg-bedart, .pg-plant.pg-sneeze { animation: pgSneeze 1.3s ease-in-out .9s 2 both; }
.pg-sway .pg-bedart, .pg-plant.pg-sway { animation: pgSway 1.4s ease-in-out .9s 2 both; }
.pg-boing .pg-bedart, .pg-plant.pg-boing { animation: pgBoing .7s ease-in-out .9s 3 both; }
.pg-dance .pg-bedart, .pg-plant.pg-dance { animation: pgDance .8s ease-in-out .9s 3 both; }
.pg-bedb.pg-sneeze .pg-bedart, .pg-bedb.pg-sway .pg-bedart, .pg-bedb.pg-boing .pg-bedart, .pg-bedb.pg-dance .pg-bedart { animation-delay: 0s; }
.pg-stage.pg-yay .tc-bun { animation: tcHop .6s ease-in-out 2; }
@keyframes pgGrow { from { transform: scale(.2, .1); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pgTilt { from { transform: scaleX(-1) rotate(0); } to { transform: scaleX(-1) rotate(-24deg); } }
@keyframes pgFall { from { transform: translateY(-14px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(16px); opacity: .2; } }
@keyframes pgSneeze { 0%, 100% { transform: none; } 40% { transform: scale(1.04, .94) rotate(-4deg); } 55% { transform: scale(.96, 1.08) rotate(8deg); } 70% { transform: rotate(-3deg); } }
@keyframes pgSway { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg); } 75% { transform: rotate(7deg); } }
@keyframes pgBoing { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pgDance { 0%, 100% { transform: rotate(0) scale(1); } 25% { transform: rotate(-8deg) scale(1.04); } 75% { transform: rotate(8deg) scale(1.04); } }
html.rm .pg-stage *, html.rm .pg-bedart, html.rm .pg-seedgrab { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .pg-stage *, .pg-bedart { animation: none !important; transition: none !important; } }

/* 6.2.7 sound detective (bm-sound.js) */
.sd-hero { position: relative; display: flex; justify-content: center; margin: 4px 0 6px; }
.sd-hero .charwrap { width: 132px; height: 132px; }
.sd-glass { position: absolute; inset-inline-start: calc(50% + 34px); bottom: 6px; width: 54px; height: 54px; }
.sd-glass svg, .sd .tc-optart svg { width: 100%; height: 100%; }
.sd-round { text-align: center; margin: 0 0 4px; color: #7b6f93; font-size: .92rem; }
.sd-listen { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 4px 0 10px; }
.sd-play { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 14px 22px; min-height: 64px; background: linear-gradient(180deg, #b9a6f2, #9b86e6); color: #fff; font: inherit; font-weight: 700; font-size: 1.08rem; box-shadow: 0 6px 16px rgba(91, 79, 115, .22); cursor: pointer; }
.sd-play svg { width: 26px; height: 26px; }
.sd-play[disabled] { opacity: .9; cursor: default; }
.sd-wave { display: inline-flex; align-items: center; gap: 3px; height: 26px; }
.sd-wave i { display: block; width: 4px; height: 8px; border-radius: 3px; background: rgba(255, 255, 255, .9); }
.sd-listen.playing .sd-wave i { animation: sdWave 1.1s ease-in-out infinite alternate; }
.sd-listen.playing .sd-wave i:nth-child(2) { animation-delay: .18s; } .sd-listen.playing .sd-wave i:nth-child(3) { animation-delay: .36s; }
.sd-listen.playing .sd-wave i:nth-child(4) { animation-delay: .54s; } .sd-listen.playing .sd-wave i:nth-child(5) { animation-delay: .72s; }
@keyframes sdWave { from { height: 6px; } to { height: 24px; } }
html.rm .sd-listen.playing .sd-wave i { animation: none !important; height: 16px; }
@media (prefers-reduced-motion: reduce) { .sd-listen.playing .sd-wave i { animation: none !important; height: 16px; } }
.sd-word { margin: 2px 0 0; padding: 6px 14px; border-radius: 14px; background: #fff7d6; color: #5b4f73; font-size: 1.25rem; font-weight: 800; }
.sd-on { min-height: 44px; }
.sd-cats { grid-template-columns: 1fr 1fr; }
.sd .tc-optart { width: 64px; height: 64px; display: block; }
.sd-opt.sd-yes { border-color: #7ac68a; box-shadow: 0 0 0 4px rgba(122, 198, 138, .25); }

/* 6.2.7.1 — sound detective hotfix: Bunnimoo reacts beside the line, a different pick shakes gently and fades, a right pick pops */
.sd-say .sd-bun { flex: 0 0 auto; width: 58px; height: 58px; display: block; }
.sd-say .sd-bun .charwrap { width: 58px; height: 58px; }
.sd-bounce { animation: sdBounce .6s ease-out 1; }
@keyframes sdBounce { 0% { transform: scale(1); } 35% { transform: scale(1.18) rotate(-6deg); } 70% { transform: scale(.96) rotate(4deg); } 100% { transform: scale(1); } }
.sd-opt.tried, .sd-opt.tried[disabled] { opacity: .5; }
.sd-opt.sd-shake { animation: sdShake .5s ease-in-out 1; }
@keyframes sdShake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px) rotate(-2deg); } 40% { transform: translateX(6px) rotate(2deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.sd-opt.sd-yes, .sd-opt.sd-yes[disabled] { opacity: 1; animation: sdPop .55s ease-out 1; }
@keyframes sdPop { 0% { transform: scale(1); } 40% { transform: scale(1.1); } 100% { transform: scale(1); } }
.sd-next { min-height: 64px; font-size: 1.3rem; }
html.rm .sd-bounce, html.rm .sd-opt { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .sd-bounce, .sd-opt { animation: none !important; } }

/* 6.7.2 copy-me: the living 3D bunny over the stage (it moves its own paws); the 2D bunny is only the fallback */
.mm-stage { width: min(340px, 90vw); height: 300px; }
.mm-stage .mm-3d { position: absolute; inset: 0; z-index: 2; }
.mm-stage.mm-live .tc-bun { visibility: hidden; animation: none !important; }
.mm-stage .mm-count { z-index: 4; }
