/* ============================================================
   MAMMAL MYSTERY styles. Big tap targets, warm "case file" paper,
   thick dark outlines to match the lab's other games.
   ============================================================ */
.mm-wrap { --mm-ink: #2a2233; --mm-paper: #fff4dc; --mm-paper-2: #ffe7b8; --mm-font: "Fredoka", "IBM Plex Sans", system-ui, sans-serif; display: grid; gap: 1rem; }
.mm-stage { position: relative; height: clamp(540px, 78svh, 780px); border-radius: 18px; overflow: hidden; border: 4px solid #0b0a10; box-shadow: 0 0 0 3px var(--teal), 0 10px 0 #0b0a10, 0 14px 30px rgba(0,0,0,0.45);
  background: radial-gradient(circle at 20% 15%, #fffaf0 0, transparent 40%), repeating-linear-gradient(0deg, transparent 0 27px, rgba(42,34,51,.05) 27px 28px), var(--mm-paper);
  color: var(--mm-ink); color-scheme: light; font-family: var(--mm-font); -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; display: grid; grid-template-rows: auto 1fr; }
.mm-stage:fullscreen { height: 100vh; height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
.mm-stage:-webkit-full-screen { height: 100vh; border: 0; border-radius: 0; }
.mm-stage button { font-family: var(--mm-font); color: var(--mm-ink); cursor: pointer; }
.mm-stage svg { display: block; }
.mm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* top bar */
.mm-bar { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; }
.mm-bar .mm-sp { flex: 1; }
.mm-ib { width: 56px; height: 56px; border-radius: 16px; border: 3px solid var(--mm-ink); background: #fff; box-shadow: 0 4px 0 var(--mm-ink); display: grid; place-items: center; padding: 6px; transition: transform .08s, box-shadow .08s; }
.mm-ib:active, .mm-tile:active, .mm-big:active, .mm-suspect:active, .mm-choice:active, .mm-card:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--mm-ink); }
.mm-ib svg { width: 100%; height: 100%; }
.mm-ib.off { background: #ddd; }
.mm-ib.off svg { opacity: .45; }
.mm-badge { display: flex; align-items: center; gap: .35rem; height: 56px; padding: 0 .9rem 0 .6rem; border-radius: 16px; border: 3px solid var(--mm-ink); background: #fff; box-shadow: 0 4px 0 var(--mm-ink); font: 700 1.5rem/1 var(--mm-font); }
.mm-badge svg { width: 40px; height: 40px; }
.mm-fsb { font-size: 1.5rem; font-weight: 700; }

/* main view */
.mm-view { position: relative; overflow-y: auto; overscroll-behavior: contain; padding: .25rem 1rem 1.25rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; }
.mm-cap { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); max-width: min(92%, 46rem); margin: 0; padding: .45rem .9rem; border-radius: 12px; background: rgba(42,34,51,.88); color: #fff; font: 500 1rem/1.35 var(--mm-font); text-align: center; pointer-events: none; z-index: 6; }
.mm-head { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.mm-head .mm-ollie { width: 92px; height: 92px; flex: none; }
.mm-q { margin: 0; font: 700 clamp(1.3rem, 3.4vw, 2rem)/1.15 var(--mm-font); }
.mm-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* big buttons and tiles */
.mm-big { width: 104px; height: 104px; border-radius: 50%; border: 4px solid var(--mm-ink); background: #3ddc6f; box-shadow: 0 7px 0 var(--mm-ink); display: grid; place-items: center; padding: 22px; transition: transform .08s, box-shadow .08s; }
.mm-big svg { width: 100%; height: 100%; }
.mm-big.mm-again { background: #ffd23f; } .mm-big.mm-tog { background: #f2c46b; }
.mm-tile { border: 4px solid var(--mm-ink); border-radius: 22px; background: #fff; box-shadow: 0 7px 0 var(--mm-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; padding: 1rem; font: 700 1.35rem/1.1 var(--mm-font); transition: transform .08s, box-shadow .08s; }
.mm-tile svg { width: 84px; height: 84px; }
.mm-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; width: min(100%, 44rem); }
.mm-grade { min-height: 150px; font-size: 2.4rem; }
.mm-grade:nth-child(1) { background: #ffd6e8; } .mm-grade:nth-child(2) { background: #d7f5f2; } .mm-grade:nth-child(3) { background: #fff0b3; } .mm-grade:nth-child(4) { background: #e6dcff; }
.mm-grade-dots { display: flex; gap: 6px; } .mm-grade-dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--mm-ink); }
.mm-grade-dots.sm i { width: 10px; height: 10px; }
.mm-menu { display: flex; flex-wrap: wrap; gap: 1.1rem; justify-content: center; width: min(100%, 46rem); }
.mm-act { width: 13rem; min-height: 12rem; }
.mm-act.mm-main { background: #d7f5f2; width: 15rem; }
.mm-act.mm-main svg { width: 110px; height: 110px; }
.mm-chip { border: 3px solid var(--mm-ink); border-radius: 999px; background: #fff; padding: .55rem 1rem; font: 600 1rem/1 var(--mm-font); display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; box-shadow: 0 3px 0 var(--mm-ink); }
.mm-chip-go { background: #3ddc6f; }
@media (max-width: 560px) { .mm-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mm-act { width: 10rem; min-height: 9.5rem; } .mm-act.mm-main { width: 10rem; } .mm-tile svg, .mm-act.mm-main svg { width: 64px; height: 64px; } }

/* title */
.mm-title { display: flex; flex-direction: column; align-items: center; gap: .6rem; position: relative; width: 100%; }
.mm-title-art .mm-ollie { width: min(200px, 34vw); height: auto; animation: mm-bob 3s ease-in-out infinite; }
.mm-logo { margin: 0; font: 700 clamp(2.4rem, 8vw, 4.4rem)/1 var(--mm-font); letter-spacing: .01em; text-align: center; }
.mm-logo span:first-child { color: #c2552a; } .mm-logo span:last-child { color: #6b4fd8; }
.mm-logo span { -webkit-text-stroke: 2px var(--mm-ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--mm-ink); }
.mm-title-row { display: flex; gap: .4rem; }
.mm-title-row .mm-mini { width: clamp(46px, 9vw, 70px); }
.mm-gear { position: absolute; right: 0; bottom: 0; width: 52px; height: 52px; border: 0; background: none; padding: 4px; opacity: .6; touch-action: none; }
.mm-gear.holding { opacity: 1; animation: mm-spin .9s linear; }
@keyframes mm-bob { 50% { transform: translateY(-8px) rotate(-2deg); } }
@keyframes mm-spin { to { transform: rotate(180deg); } }
.mm-mini { display: inline-block; width: 64px; aspect-ratio: 1; }
.mm-mini svg { width: 100%; height: 100%; }
.mm-mini.big { width: 110px; }

/* mystery screen */
.mm-case { width: min(100%, 60rem); display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.mm-casebar { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.mm-casenum { display: inline-flex; align-items: center; gap: .3rem; font: 700 1.3rem/1 var(--mm-font); }
.mm-casenum svg { width: 36px; height: 36px; }
.mm-dots { display: flex; gap: 8px; } .mm-dots i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--mm-ink); background: #fff; } .mm-dots i.on { background: #ffd23f; }
.mm-cluebox { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: .6rem; }
.mm-ollie-sm .mm-ollie { width: clamp(70px, 12vw, 110px); height: auto; }
.mm-lens { width: clamp(190px, 34svh, 290px); aspect-ratio: 1; position: relative; }
.mm-clue-card { position: absolute; inset: 0; }
.mm-clue-card.new { animation: mm-pop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes mm-pop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } }
.mm-zoom { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; border: 10px solid var(--mm-ink); background: #d8f0ff; box-shadow: inset 0 0 0 5px #cfefff, 0 6px 0 rgba(42,34,51,.35); }
.mm-zoom::after { content: ""; position: absolute; right: -30%; bottom: -30%; }
.mm-clue-card::after { content: ""; position: absolute; width: 26%; height: 11%; right: -14%; bottom: 0%; background: #8a6440; border: 5px solid var(--mm-ink); border-radius: 12px; transform: rotate(45deg); z-index: -1; }
.mm-zoom svg { width: 100%; height: 100%; }
.mm-zoom.mm-pic { background: #fff; display: grid; place-items: center; }
.mm-zoom.mm-pic svg { width: 120%; height: auto; max-width: none; }
.mm-zoom.mm-foodclue svg { width: 80%; }
.mm-shadow svg > g[data-part] { filter: brightness(0) opacity(.85); }
.mm-hear { position: absolute; left: -6px; bottom: -6px; width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--mm-ink); background: #fff; padding: 7px; box-shadow: 0 3px 0 var(--mm-ink); z-index: 2; }
.mm-hear svg { width: 100%; height: 100%; }
.mm-hear.sm { position: static; width: 40px; height: 40px; padding: 5px; flex: none; }
.mm-round { width: 66px; height: 66px; border-radius: 50%; border: 3px solid var(--mm-ink); background: #ffd23f; box-shadow: 0 4px 0 var(--mm-ink); padding: 8px; position: relative; }
.mm-round svg { width: 100%; height: 100%; }
.mm-round b { position: absolute; right: -2px; top: -6px; background: #fff; border: 3px solid var(--mm-ink); border-radius: 50%; width: 28px; height: 28px; font: 700 1.2rem/22px var(--mm-font); }
.mm-round:disabled { opacity: .35; cursor: default; }
.mm-lineup { display: grid; gap: .8rem; width: 100%; justify-content: center; grid-template-columns: repeat(var(--n, 4), minmax(0, 150px)); }
.mm-lineup.n3 { --n: 3; } .mm-lineup.n4 { --n: 4; } .mm-lineup.n5 { --n: 5; }
.mm-suspect { aspect-ratio: 1; border: 4px solid var(--mm-ink); border-radius: 22px; background: #fff; box-shadow: 0 6px 0 var(--mm-ink); padding: 6px; transition: transform .1s, box-shadow .1s, opacity .2s; }
.mm-suspect svg { width: 100%; height: 100%; }
.mm-suspect.nope { opacity: .35; animation: mm-shake .4s; box-shadow: 0 2px 0 var(--mm-ink); transform: translateY(4px); }
.mm-suspect.yes { background: #c9f7d4; animation: mm-jump .6s; }
.mm-suspect.hint { animation: mm-glow 1s ease-in-out infinite; }
.mm-suspect[aria-pressed="true"] { background: #fff0b3; outline: 6px solid #ffd23f; outline-offset: 2px; }
.mm-suspect.dim { opacity: .5; }
@keyframes mm-shake { 25% { transform: translateX(-8px); } 50% { transform: translateX(8px); } 75% { transform: translateX(-5px); } }
@keyframes mm-jump { 40% { transform: translateY(-18px) scale(1.06); } }
@keyframes mm-glow { 50% { box-shadow: 0 6px 0 var(--mm-ink), 0 0 0 10px #ffd23f; } }
.mm-stamp { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%) rotate(-12deg); font: 700 clamp(2rem, 6vw, 3.4rem)/1 var(--mm-font); color: #d8304f; border: 6px solid #d8304f; border-radius: 12px; padding: .2rem .8rem; background: rgba(255,255,255,.8); animation: mm-stampin .4s cubic-bezier(.3,1.6,.5,1); pointer-events: none; z-index: 3; }
@keyframes mm-stampin { from { transform: translate(-50%, -50%) rotate(-12deg) scale(2.4); opacity: 0; } }
@media (max-width: 560px) { .mm-lineup.n5 { grid-template-columns: repeat(3, minmax(0, 110px)); } .mm-lineup.n4 { grid-template-columns: repeat(2, minmax(0, 120px)); } }
@media (max-height: 560px) and (min-width: 561px) { .mm-case { flex-direction: row; flex-wrap: wrap; justify-content: center; } .mm-casebar { order: -1; } .mm-lineup { width: auto; } }

/* bonus screens */
.mm-bonus { display: flex; flex-direction: column; align-items: center; gap: .8rem; width: 100%; }
.mm-bigpic { width: min(100%, 52svh, 440px); aspect-ratio: 1; background: #d8f0ff; border: 4px solid var(--mm-ink); border-radius: 24px; }
.mm-bigpic svg { width: 100%; height: 100%; cursor: pointer; }
.mm-glow { filter: drop-shadow(0 0 6px #ffd23f) drop-shadow(0 0 10px #ffd23f) brightness(1.15); }
.mm-pulse { animation: mm-pulse 1s ease-in-out infinite; }
@keyframes mm-pulse { 50% { filter: drop-shadow(0 0 10px #ff5fa2) brightness(1.2); } }
.mm-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 1rem; justify-content: center; width: 100%; }
.mm-choice { border: 4px solid var(--mm-ink); border-radius: 20px; background: #fff; box-shadow: 0 6px 0 var(--mm-ink); padding: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; transition: transform .1s, box-shadow .1s, opacity .2s; }
.mm-choice svg.mm-hab { width: 100%; height: auto; }
.mm-choice.mm-diet { padding: .6rem; gap: .2rem; }
.mm-choice.mm-diet svg { width: 80%; height: auto; }
.mm-choice b { font: 700 1.3rem/1 var(--mm-font); } .mm-choice small { font: 500 1rem/1 var(--mm-font); opacity: .8; }
.mm-choice.nope { opacity: .35; animation: mm-shake .4s; }
.mm-choice.yes { outline: 8px solid #3ddc6f; animation: mm-jump .6s; }
@media (max-width: 560px) { .mm-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; } .mm-choice b { font-size: 1rem; } }

/* end of round */
.mm-end { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.mm-end .mm-ollie { width: 150px; height: auto; animation: mm-bob 2s ease-in-out infinite; }
.mm-stars { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.mm-stars .mm-mini { width: 72px; background: #fff; border: 3px solid var(--mm-ink); border-radius: 50%; padding: 4px; }

/* field guide */
.mm-guide-head { display: flex; align-items: center; gap: .4rem; font: 700 1.8rem/1 var(--mm-font); }
.mm-guide-head svg { width: 50px; height: 50px; }
.mm-guide { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .8rem; width: min(100%, 52rem); }
.mm-card { border: 4px solid var(--mm-ink); border-radius: 18px; background: #fff; box-shadow: 0 5px 0 var(--mm-ink); padding: .4rem .4rem .5rem; display: flex; flex-direction: column; align-items: center; gap: .2rem; font: 600 1rem/1.1 var(--mm-font); color: var(--mm-ink); }
.mm-card svg { width: 100%; aspect-ratio: 1; height: auto; }
.mm-card.locked { background: #e9e1cf; box-shadow: 0 5px 0 rgba(42,34,51,.5); border-style: dashed; }
.mm-card.locked svg { filter: brightness(0) opacity(.25); }
.mm-card.locked span { font-size: 1.6rem; }

/* family tree */
.mm-mini-tree { width: min(100%, 420px); display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.mm-tree-svg { width: 100%; height: auto; }
.mm-treewrap { width: 100%; overflow-x: auto; flex-shrink: 0; }
.mm-tree-svg.big { min-width: 640px; }
.mm-tlabel { font: 700 15px var(--mm-font); fill: var(--mm-ink); paint-order: stroke; stroke: var(--mm-paper); stroke-width: 5px; }
.mm-node { cursor: pointer; } .mm-node.on circle:first-child { fill: #ff5fa2; }
.mm-node:focus-visible circle:first-child { stroke: #ff5fa2; stroke-width: 6; }
.mm-clade { width: min(100%, 44rem); background: #fffaf0; border: 4px solid var(--mm-ink); border-radius: 18px; padding: .8rem 1rem; box-shadow: 0 6px 0 var(--mm-ink); font: 500 1.05rem/1.35 var(--mm-font); animation: mm-pop .35s cubic-bezier(.3,1.4,.5,1); }
.mm-clade h3 { margin: 0 0 .3rem; font: 700 1.5rem/1.1 var(--mm-font); }
.mm-clade-faces { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .3rem; } .mm-clade-faces .mm-mini { width: 44px; height: 44px; }
.mm-clade ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .25rem; } .mm-clade li.now { background: #fff2b8; border-radius: 6px; }
.mm-clade-also { margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.mm-clade-also span { background: #e9e1ff; border: 2px solid var(--mm-ink); border-radius: 999px; padding: .05rem .55rem; font-size: .95rem; }
.mm-stick { position: sticky; bottom: .4rem; align-self: flex-end; z-index: 7; flex-shrink: 0; }
.mm-diet-teeth { width: clamp(140px, 22vw, 220px); background: #fffaf0; border: 4px solid var(--mm-ink); border-radius: 16px; padding: .3rem; }
.mm-diet-teeth svg { width: 100%; height: auto; display: block; }
.mm-clade-teeth { float: right; width: clamp(110px, 20vw, 170px); margin: 0 0 .4rem .6rem; background: #fff; border: 3px solid var(--mm-ink); border-radius: 12px; padding: .2rem; } .mm-clade-teeth svg { width: 100%; height: auto; display: block; }
.mm-clade::after { content: ""; display: block; clear: both; }
.mm-late { animation: mm-late 1.4s both; } @keyframes mm-late { 0%, 60% { opacity: 0; transform: scale(.6); pointer-events: none; } 100% { opacity: 1; transform: none; } }
.mm-tip { cursor: pointer; transition: opacity .2s; } .mm-tip.dim { opacity: .25; }

/* case file popup */
.mm-pop { position: absolute; inset: 0; z-index: 8; display: grid; align-items: start; justify-items: center; padding: .8rem; background: rgba(42,34,51,.55); overflow-y: auto; }
.mm-pop > * { margin-block: auto; }
.mm-file { position: relative; width: min(100%, 56rem); background: #f7dfa6; border: 4px solid var(--mm-ink); border-radius: 8px 22px 22px 22px; box-shadow: 0 10px 0 var(--mm-ink); padding: 1.2rem 1.2rem 1rem; animation: mm-pop .4s cubic-bezier(.3,1.4,.5,1); }
.mm-file-tab { position: absolute; top: -36px; left: -4px; display: flex; align-items: center; gap: .4rem; background: #f7dfa6; border: 4px solid var(--mm-ink); border-bottom: 0; border-radius: 14px 14px 0 0; padding: .25rem .9rem; font: 700 1rem/1 var(--mm-font); letter-spacing: .08em; }
.mm-file-tab svg { width: 26px; height: 26px; }
.mm-file-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1.1rem; align-items: start; background: #fffaf0; border: 3px solid var(--mm-ink); border-radius: 14px; padding: 1rem; }
.mm-photo { margin: 0; position: relative; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--mm-ink), 4px 6px 0 3px rgba(42,34,51,.35); transform: rotate(-2deg); background: #d8f0ff; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.mm-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 1; }
.mm-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: rgba(0,0,0,.55); color: #fff; font: 400 .7rem/1.3 var(--body, sans-serif); padding: .2rem .4rem; }
.mm-photo figcaption a { color: #fff; }
.mm-photo-fallback { width: 100%; height: 100%; }
.mm-nophoto .mm-photo-fallback { position: absolute; inset: 0; }
.mm-file-text h3 { margin: 0 0 .3rem; font: 700 clamp(1.7rem, 4vw, 2.4rem)/1.05 var(--mm-font); color: var(--mm-ink); }
.mm-where { display: flex; align-items: center; gap: .6rem; margin: 0 0 .6rem; font: 600 1.05rem/1.2 var(--mm-font); }
.mm-where svg { width: 66px; height: auto; border: 3px solid var(--mm-ink); border-radius: 8px; flex: none; }
.mm-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.mm-facts li { display: flex; gap: .55rem; align-items: center; font: 500 clamp(1.05rem, 2.2vw, 1.25rem)/1.3 var(--mm-font); color: var(--mm-ink); padding: .25rem .4rem; border-radius: 10px; transition: background .2s; }
.mm-facts li.now { background: #fff0b3; }
.mm-file-next { position: absolute; right: -10px; bottom: -22px; width: 88px; height: 88px; padding: 20px; }
@media (max-width: 640px) { .mm-file-body { grid-template-columns: 1fr; } .mm-photo { max-width: 320px; justify-self: center; width: 100%; } .mm-file { margin-bottom: 1.5rem; } }

/* teacher panel */
.mm-teacher { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; max-width: 32rem; font: 500 1.05rem/1.3 var(--mm-font); }
.mm-teacher h3 { margin: 0; font: 700 1.6rem/1 var(--mm-font); }
.mm-teacher label { display: grid; gap: .3rem; }
.mm-teacher label.mm-check { display: flex; align-items: center; gap: .5rem; }
.mm-teacher input[type="checkbox"] { width: 24px; height: 24px; }
.mm-teacher select { font: 500 1.05rem var(--mm-font); padding: .45rem; border: 3px solid var(--mm-ink); border-radius: 10px; background: #fff; color: var(--mm-ink); }
.mm-t-note { font-size: .9rem; margin: 0; }
.mm-t-voice { display: flex; gap: .5rem; align-items: center; }
.mm-t-voice select { flex: 1; min-width: 0; width: 100%; }

/* confetti */
.mm-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 9; }
.mm-confetti i { position: absolute; top: -12px; width: 12px; height: 16px; border-radius: 3px; animation: mm-fall 1.6s ease-in forwards; }
@keyframes mm-fall { to { transform: translate(var(--dx), 110vh) rotate(540deg); } }

/* tap areas inside drawings */
.mm-hit { pointer-events: all; }
@media (prefers-reduced-motion: reduce) { .mm-stage *, .mm-stage *::before, .mm-stage *::after { animation: none !important; transition: none !important; } }

/* the page below the stage */
.mm-help { color: var(--muted); }
.mm-grownups { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: .5rem; }
.mm-grownups > div { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; background: var(--panel); }
.mm-grownups h3 { margin: 0 0 .4rem; }
.mm-grownups ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.mm-mute .mm-x { display: none; } .mm-mute.off .mm-x { display: inline; }

/* small phones */
.mm-view { overflow-x: hidden; padding-bottom: 4.6rem; }
@media (max-width: 560px) {
  .mm-stage { height: min(86svh, 760px); }
  .mm-bar { gap: .35rem; padding: .45rem .5rem; }
  .mm-ib { width: 46px; height: 46px; border-radius: 13px; padding: 5px; }
  .mm-badge { height: 46px; font-size: 1.2rem; padding: 0 .6rem 0 .4rem; }
  .mm-badge svg { width: 30px; height: 30px; }
  .mm-fsb { display: none; }
  .mm-view { padding: .2rem .6rem 4.2rem; gap: .6rem; }
  .mm-cluebox { gap: .3rem; }
  .mm-ollie-sm .mm-ollie { width: 54px; }
  .mm-lens { width: min(54vw, 34svh); }
  .mm-round { width: 54px; height: 54px; }
  .mm-hear { width: 46px; height: 46px; }
  .mm-cap { font-size: .85rem; bottom: 6px; padding: .35rem .7rem; }
  .mm-head .mm-ollie { width: 64px; height: 64px; }
  .mm-guide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .mm-card { font-size: .8rem; border-width: 3px; }
  .mm-mini.big { width: 80px; }
}

/* tap to color (Pre-K and K) */
.mm-colorwrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "pic crayons" "row crayons"; gap: .8rem 1rem; align-items: center; width: min(100%, 60rem); }
.mm-canvas { grid-area: pic; justify-self: center; width: min(100%, 56svh, 520px); aspect-ratio: 1; background: #fff; border: 4px solid var(--mm-ink); border-radius: 22px; box-shadow: 0 6px 0 var(--mm-ink); }
.mm-canvas svg { width: 100%; height: 100%; cursor: pointer; }
.mm-canvas [data-paint] { transition: fill .15s, stroke .15s; }
.mm-colorwrap > .mm-row { grid-area: row; }
.mm-crayons { grid-area: crayons; display: grid; grid-template-columns: repeat(2, 64px); gap: .45rem; }
.mm-crayon { width: 64px; height: 64px; border: 3px solid var(--mm-ink); border-radius: 16px; background: #fff; padding: 2px 0; box-shadow: 0 4px 0 var(--mm-ink); display: grid; place-items: center; transition: transform .08s; }
.mm-crayon svg { height: 100%; width: auto; }
.mm-crayon[aria-checked="true"] { background: var(--c); outline: 5px solid var(--mm-ink); outline-offset: 2px; transform: scale(1.08); }
.mm-crayon[style*="#ffffff"][aria-checked="true"] { background: #eee; }
.mm-round.mm-clear { background: #fff; }
.mm-card svg + span { margin-top: auto; }
@media (max-width: 700px) {
  .mm-colorwrap { grid-template-columns: 1fr; grid-template-areas: "pic" "crayons" "row"; }
  .mm-canvas { width: min(100%, 46svh); }
  .mm-crayons { grid-template-columns: repeat(6, minmax(0, 52px)); justify-content: center; }
  .mm-crayon { width: 52px; height: 52px; border-radius: 13px; }
}
.mm-credits ul { margin: .3rem 0 0; padding-left: 1.1rem; }
.mm-canvas { width: min(100%, 50svh, 500px); }

/* ===== 2026 revamp: lively animals, expedition map, hide and seek, superpowers, games, ranks ===== */

/* lively animals: blink, wag, twitch, breathe */
.mm-live { animation: mm-breathe 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes mm-breathe { 50% { transform: scale(1.012, 1.025); } }
.mm-live g[data-part="eyes"]:not(.mm-hitlayer) { transform-box: fill-box; transform-origin: center; animation: mm-blink 4.6s infinite; }
@keyframes mm-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.mm-live g[data-part="tail"]:not(.mm-hitlayer) { transform-box: fill-box; transform-origin: 0% 100%; animation: mm-wag 2.2s ease-in-out infinite; }
@keyframes mm-wag { 50% { transform: rotate(-5deg); } }
.mm-live g[data-part="ears"]:not(.mm-hitlayer) { transform-box: fill-box; transform-origin: 50% 100%; animation: mm-twitch 5.5s ease-in-out infinite; }
@keyframes mm-twitch { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-4deg); } 94% { transform: rotate(3deg); } }
.mm-live g[data-part="trunk"]:not(.mm-hitlayer) { transform-box: fill-box; transform-origin: 50% 0%; animation: mm-wag 3s ease-in-out infinite; }
.mm-live g[data-part="mane"]:not(.mm-hitlayer) { transform-box: fill-box; transform-origin: center; animation: mm-fluff 3.2s ease-in-out infinite; }
@keyframes mm-fluff { 50% { transform: scale(1.03); } }

/* superpower moves */
.mm-act-hop { animation: mm-a-hop .55s ease-in-out 3 !important; }
@keyframes mm-a-hop { 50% { transform: translateY(-14%) scaleY(1.04); } }
.mm-act-pounce { animation: mm-a-pounce 1.4s ease-in-out 1 !important; }
@keyframes mm-a-pounce { 30% { transform: translateY(-18%) rotate(-8deg); } 60% { transform: translateY(2%) rotate(6deg) scaleY(.95); } }
.mm-act-swim { animation: mm-a-swim .8s ease-in-out 2 !important; }
@keyframes mm-a-swim { 25% { transform: translateX(-5%) rotate(-3deg); } 75% { transform: translateX(5%) rotate(3deg); } }
.mm-act-wiggle { animation: mm-a-wiggle .35s ease-in-out 4 !important; }
@keyframes mm-a-wiggle { 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
.mm-act-roar { animation: mm-a-roar 1.4s ease-in-out 1 !important; transform-origin: 50% 70%; }
@keyframes mm-a-roar { 20% { transform: scale(1.08); } 30%, 50%, 70% { transform: scale(1.08) translateX(-1.5%); } 40%, 60% { transform: scale(1.08) translateX(1.5%); } }
.mm-act-sniff { animation: mm-a-sniff .4s ease-in-out 4 !important; }
@keyframes mm-a-sniff { 50% { transform: translate(-2%, 1.5%) rotate(-2deg); } }
.mm-act-dig { animation: mm-a-dig .25s linear 6 !important; }
@keyframes mm-a-dig { 50% { transform: translateY(2%) rotate(2deg); } }
.mm-act-sway { animation: mm-a-sway 1.2s ease-in-out 2 !important; transform-origin: 50% 100%; }
@keyframes mm-a-sway { 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
.mm-act-stretch { animation: mm-a-stretch 1.6s ease-in-out 1 !important; transform-origin: 50% 100%; }
@keyframes mm-a-stretch { 40%, 70% { transform: scaleY(1.12); } }

/* effects that burst from the superpower body part */
.mm-fx { position: absolute; width: 0; height: 0; pointer-events: none; z-index: 4; }
.mm-fx i { position: absolute; left: 0; top: 0; }
.mm-fx-waves i { width: 30px; height: 30px; margin: -15px; border-radius: 50%; border: 5px solid #ff5fa2; opacity: 0; animation: mm-wave 1.4s ease-out forwards; }
@keyframes mm-wave { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(5); opacity: 0; } }
.mm-fx-bubbles i, .mm-fx-drops i, .mm-fx-leaves i, .mm-fx-dust i, .mm-fx-sparkle i, .mm-fx-scent i { width: 26px; height: 26px; margin: -13px; opacity: 0; animation: mm-burst 1.8s ease-out forwards; }
@keyframes mm-burst { 0% { transform: rotate(var(--a)) translateX(0) scale(.4); opacity: 1; } 100% { transform: rotate(var(--a)) translateX(var(--r)) scale(1.1); opacity: 0; } }
.mm-fx-bubbles i { border-radius: 50%; border: 3px solid #4aa3df; background: rgba(255,255,255,.7); }
.mm-fx-drops i { border-radius: 50% 50% 50% 0; background: #4aa3df; border: 2px solid var(--mm-ink); }
.mm-fx-leaves i { border-radius: 0 70% 0 70%; background: #6fc35a; border: 2px solid var(--mm-ink); }
.mm-fx-dust i { border-radius: 50%; background: #c9a77a; width: 24px; height: 24px; }
.mm-fx-sparkle i { background: #ffd23f; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.mm-fx-scent i { width: 10px; height: 26px; border-radius: 50%; border-left: 4px solid #8fc0e8; }

/* expedition map */
.mm-s-map { justify-content: center; }
.mm-map { position: relative; width: min(100%, 58rem, 150svh); aspect-ratio: 5 / 3; border: 5px solid var(--mm-ink); border-radius: 26px; box-shadow: 0 8px 0 var(--mm-ink);
  background: radial-gradient(circle at 80% 20%, #fff8e6 0, transparent 45%), radial-gradient(circle at 15% 85%, #ecd6a6 0, transparent 40%), #f6e2b5; }
.mm-map::before { content: ""; position: absolute; inset: 10px; border: 3px dashed rgba(138,100,64,.45); border-radius: 18px; pointer-events: none; }
.mm-map-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.mm-stop { position: absolute; width: clamp(78px, 17%, 150px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 5px solid var(--mm-ink); background: #fff; padding: 0; overflow: visible; box-shadow: 0 6px 0 var(--mm-ink); }
.mm-stop-hab { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.mm-stop-hab svg { width: 100%; height: 100%; } .mm-stop-hab svg.mm-hab { width: 150%; height: 100%; margin-left: -25%; }
.mm-stop-q { position: absolute; right: -10%; top: -10%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: #ffd23f; border: 4px solid var(--mm-ink); display: grid; place-items: center; font: 700 clamp(1rem, 2.6vw, 1.6rem)/1 var(--mm-font); }
.mm-stop-sticker { position: absolute; right: -14%; top: -14%; width: 58%; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 4px solid var(--mm-ink); padding: 3px; animation: mm-stampin .4s cubic-bezier(.3,1.6,.5,1); }
.mm-stop-sticker svg { width: 100%; height: 100%; }
.mm-stop.now { animation: mm-stopglow 1.2s ease-in-out infinite; }
@keyframes mm-stopglow { 50% { box-shadow: 0 6px 0 var(--mm-ink), 0 0 0 12px rgba(255,210,63,.85); } }
.mm-stop.done { filter: saturate(.75); }
.mm-walker { position: absolute; width: clamp(54px, 11%, 96px); transform: translate(-50%, -88%); transition: left 1.2s ease-in-out, top 1.2s ease-in-out; z-index: 3; pointer-events: none; filter: drop-shadow(0 4px 0 rgba(42,34,51,.3)); }
.mm-walker svg { width: 100%; height: auto; }
.mm-walker.walk { animation: mm-waddle .3s ease-in-out infinite; }
@keyframes mm-waddle { 50% { transform: translate(-50%, -96%) rotate(6deg); } }

/* hide and seek */
.mm-hunt { gap: .5rem; }
.mm-hunt .mm-lens { width: clamp(140px, 25svh, 230px); }
.mm-hunt .mm-ollie-sm { width: clamp(60px, 11svh, 100px); }
.mm-scene { position: relative; width: min(100%, 100svh, 58rem); aspect-ratio: 2 / 1; border: 5px solid var(--mm-ink); border-radius: 22px; overflow: hidden; box-shadow: 0 6px 0 var(--mm-ink); background: #bfe6ff; flex-shrink: 0; }
.mm-scene-bg, .mm-scene-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mm-scene-bg svg { transform: scale(1.02); }
.mm-spot { position: absolute; aspect-ratio: 1; border: 0; background: none; padding: 0; overflow: visible; touch-action: manipulation; }
.mm-peek { position: absolute; left: 10%; right: 10%; top: 2%; aspect-ratio: 1; transition: transform .35s cubic-bezier(.3,1.5,.5,1); animation: mm-peekab 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.mm-peek svg { width: 100%; height: 100%; }
@keyframes mm-peekab { 0%, 62%, 100% { transform: translateY(0); } 68%, 74% { transform: translateY(48%); } 82% { transform: translateY(-4%) rotate(-4deg); } 88% { transform: translateY(0) rotate(3deg); } }
.mm-prop { position: absolute; left: -8%; right: -8%; bottom: -2%; height: 64%; animation: none; }
.mm-prop svg { width: 100%; height: 100%; }
.mm-spot:active .mm-prop, .mm-spot.out .mm-prop { animation: mm-rustle .35s ease-in-out 2; }
@keyframes mm-rustle { 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
.mm-spot.out .mm-peek { animation: none; transform: translateY(-46%) scale(1.06); }
.mm-spot.gone { pointer-events: none; }
.mm-spot.gone .mm-peek { animation: none; transform: translateY(70%); opacity: .0; transition: transform .5s, opacity .5s; }
.mm-spot.hint .mm-prop { animation: mm-rustle .5s ease-in-out infinite; filter: drop-shadow(0 0 10px #ffd23f); }
.mm-found { position: absolute; left: var(--x); bottom: 2%; width: 46%; aspect-ratio: 1; transform: translateX(-50%); animation: mm-foundin .7s cubic-bezier(.3,1.5,.5,1) both; z-index: 3; pointer-events: none; }
.mm-found svg { width: 100%; height: 100%; animation: mm-dance 1s ease-in-out .7s 3; }
@keyframes mm-foundin { from { transform: translateX(-50%) translateY(60%) scale(.3); opacity: 0; } }
@keyframes mm-foundmove { to { left: 50%; } }
@keyframes mm-dance { 25% { transform: translateY(-10%) rotate(-6deg); } 50% { transform: translateY(0) rotate(0); } 75% { transform: translateY(-10%) rotate(6deg); } }
.mm-hunt .mm-stamp { top: 50%; }
@media (min-width: 900px) and (max-height: 820px) { .mm-hunt { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "bar bar" "clue scene"; align-items: center; column-gap: 1rem; width: min(100%, 72rem); }
  .mm-hunt .mm-casebar { grid-area: bar; } .mm-hunt .mm-cluebox { grid-area: clue; flex-direction: column; align-items: center; } .mm-hunt .mm-scene { grid-area: scene; width: 100%; } }
@media (max-width: 560px) { .mm-scene { aspect-ratio: 3 / 2; } }

/* superpower */
.mm-powername { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 4px solid var(--mm-ink); border-radius: 999px; padding: .3rem 1rem .3rem .5rem; box-shadow: 0 4px 0 var(--mm-ink); animation: mm-stampin .5s cubic-bezier(.3,1.6,.5,1); }
.mm-powername svg { width: 40px; height: 40px; }
.mm-power .mm-bigpic { position: relative; overflow: hidden; }
.mm-flystar { position: absolute; left: 50%; top: 40%; width: 90px; animation: mm-flystar 1.4s ease-in forwards; pointer-events: none; z-index: 5; }
@keyframes mm-flystar { 0% { transform: translate(-50%, -50%) scale(.2) rotate(0); } 40% { transform: translate(-50%, -50%) scale(1.6) rotate(200deg); } 100% { transform: translate(-50%, -400%) scale(.4) rotate(360deg); opacity: 0; } }

/* mini-games */
.mm-game .mm-q { display: inline-flex; align-items: center; gap: .6rem; } .mm-game .mm-q > svg { width: 52px; height: 52px; }
.mm-gdots { display: flex; gap: 6px; } .mm-gdots i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--mm-ink); background: #fff; } .mm-gdots i.on { background: #ffd23f; }
.mm-game .mm-bigpic { position: relative; width: min(100%, 360px, max(170px, calc(78svh - 410px))); overflow: hidden; }
.mm-sil svg { filter: brightness(0); opacity: .82; transition: filter .8s, opacity .8s; }
.mm-sil.reveal svg { filter: none; opacity: 1; }
.mm-sil.reveal svg { animation: mm-dance 1s ease-in-out 1; }
.mm-trackpic { background: #f3e2bf; }
.mm-walkby { position: absolute; bottom: 0; left: 0; width: 60%; aspect-ratio: 1; animation: mm-walkby 2.6s linear forwards; pointer-events: none; }
.mm-walkby svg { width: 100%; height: 100%; animation: mm-a-hop .4s ease-in-out infinite; }
@keyframes mm-walkby { from { transform: translateX(-100%); } to { transform: translateX(170%); } }
.mm-pick3 .mm-choice { aspect-ratio: 1; padding: 6px; }
.mm-pick3 .mm-choice svg { width: 100%; height: 100%; }
.mm-pick3 { grid-template-columns: repeat(3, minmax(0, min(150px, 17svh))); }

/* ranks and sticker book */
.mm-rank { width: 64px; height: 64px; flex-shrink: 0; }
.mm-rankchip { display: inline-flex; align-items: center; gap: .4rem; border: 3px solid var(--mm-ink); border-radius: 999px; background: #fff; padding: .15rem .9rem .15rem .2rem; box-shadow: 0 3px 0 var(--mm-ink); font: 700 1.05rem/1 var(--mm-font); }
.mm-rankchip .mm-rank { width: 46px; height: 46px; }
.mm-rankcard { display: flex; flex-direction: column; align-items: center; gap: .4rem; font: 700 1.6rem/1 var(--mm-font); }
.mm-rankcard .mm-rank { width: 120px; height: 120px; }
.mm-rankcard.up .mm-rank { animation: mm-rankup 1.2s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes mm-rankup { 0% { transform: scale(.2) rotate(-200deg); } 60% { transform: scale(1.25) rotate(10deg); } 100% { transform: none; } }
.mm-rankbar { width: 220px; height: 18px; border: 3px solid var(--mm-ink); border-radius: 999px; background: #fff; overflow: hidden; } .mm-rankbar i { display: block; height: 100%; background: #3ddc6f; }
.mm-guide-head .mm-rank { width: 64px; height: 64px; }
.mm-guide-head > span { display: flex; flex-direction: column; gap: .2rem; } .mm-guide-head small { display: flex; align-items: center; gap: .3rem; font: 600 1.1rem/1 var(--mm-font); } .mm-guide-head small svg { width: 28px; height: 28px; }
.mm-sticker-card { position: relative; } .mm-sticker-card svg.mm-animal { border-radius: 50%; background: #fff7e0; }
.mm-powstar { position: absolute; right: -8px; top: -8px; width: 38px; height: 38px; animation: mm-stampin .4s; } .mm-powstar svg { width: 100%; height: 100%; }
.mm-sticker { animation: mm-stampin .5s cubic-bezier(.3,1.6,.5,1) both; }
.mm-stars .mm-sticker:nth-child(2) { animation-delay: .2s; } .mm-stars .mm-sticker:nth-child(3) { animation-delay: .4s; }
/* revamp layout fixes: never cut off the top of a tall screen; menu fits on one row on wide screens */
.mm-view { justify-content: flex-start; }
.mm-view > :first-child { margin-top: auto; }
.mm-view > :nth-last-child(1 of :not(.mm-confetti, .mm-fx, .mm-skip)) { margin-bottom: auto; }
.mm-s-menu .mm-menu { width: min(100%, 60rem); }
.mm-s-menu .mm-act.mm-main { width: 13rem; }
.mm-s-map .mm-map { width: min(100%, 58rem, calc((78svh - 260px) * 5 / 3)); min-width: min(100%, 320px); }
.mm-trackpic .mm-track { padding: 4px; }
.mm-head { flex-wrap: wrap; }
.mm-live .mm-pulse, .mm-live g.mm-pulse:not(.mm-hitlayer) { animation: mm-pulse 1s ease-in-out infinite !important; }
@media (max-width: 560px) { .mm-hunt .mm-lens { width: clamp(120px, 19svh, 170px); } .mm-scene { aspect-ratio: 5 / 4; } .mm-hunt .mm-ollie-sm { display: none; } }

/* Next arrow that appears the moment an answer is right; tapping anywhere also moves on */
.mm-skip { position: absolute; right: 14px; bottom: 14px; z-index: 30; margin: 0 !important; animation: mm-skipin .35s .3s cubic-bezier(.3,1.6,.5,1) both, mm-nudge 1.1s 1.6s ease-in-out infinite; }
@keyframes mm-skipin { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes mm-nudge { 0%, 100% { translate: 0 0; } 50% { translate: 6px 0; } }
.mm-chips { gap: .6rem; flex-wrap: wrap; justify-content: center; }
.mm-chip .mm-ic { width: 22px; height: 22px; }
.mm-big.mm-yes { background: #4fd36a; }

/* Level 1 / Level 2 switch and the big "2" button */
.mm-levels { display: inline-flex; gap: .35rem; margin-left: .4rem; }
.mm-lvtab { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--mm-ink); background: #fff; box-shadow: 0 3px 0 var(--mm-ink); display: grid; place-items: center; padding: 0; cursor: pointer; }
.mm-lvtab.on { background: #ffd23f; transform: translateY(1px); box-shadow: 0 2px 0 var(--mm-ink); }
.mm-lvnum { font: 700 1.5rem/1 var(--mm-font); color: var(--mm-ink); }
.mm-lvl2go .mm-lvnum { font-size: 2.6rem; }
.mm-lvl2go { animation: mm-nudge 1.1s .8s ease-in-out infinite; }
.mm-guide-head .mm-levels { margin-left: auto; }
.mm-guide-head span.mm-levels { display: inline-flex; flex-direction: row; align-items: center; }

/* Saved colorings: up to three per animal */
.mm-saved { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.mm-savedpic { width: 76px; height: 76px; padding: 2px; border: 3px solid var(--mm-ink); border-radius: 14px; background: #fff; box-shadow: 0 3px 0 var(--mm-ink); cursor: pointer; }
.mm-savedpic svg { width: 100%; height: 100%; }
.mm-colorcard { position: relative; }
.mm-savecount { position: absolute; top: 6px; right: 6px; display: flex; gap: 3px; }
.mm-savecount i { width: 10px; height: 10px; border-radius: 50%; background: #ffd23f; border: 2px solid var(--mm-ink); }
.mm-head > .mm-ic { width: 56px; height: 56px; flex-shrink: 0; }
@media (max-width: 700px) {
  .mm-savedpic { width: 56px; height: 56px; border-radius: 10px; }
  .mm-colorwrap:has(.mm-saved) .mm-canvas { width: min(100%, 38svh); }
}

/* locked Level 2 tab in the sticker book */
.mm-lvlock { margin-left: auto; display: inline-flex; flex-direction: column; align-items: center; gap: .15rem; }
.mm-lvlock small { font-size: .72rem; font-weight: 700; line-height: 1.1; text-align: center; max-width: 7.5em; opacity: .8; }
.mm-lvtab.mm-locked { position: relative; background: #e9e4ef; }
.mm-lvtab.mm-locked .mm-lvnum { opacity: .45; }
.mm-lvtab.mm-locked svg.mm-lockic { position: absolute; right: -10px; bottom: -8px; width: 24px !important; height: 26px !important; max-width: none; }
.mm-lvtab.mm-shake { animation: mm-lockshake .45s; }
@keyframes mm-lockshake { 20%, 60% { transform: rotate(-12deg); } 40%, 80% { transform: rotate(12deg); } }
@media (prefers-reduced-motion: reduce) { .mm-lvtab.mm-shake { animation: none; } }
