#mp-act, #mp-act * { box-sizing: border-box; }
#mp-act {
  --navy:#0f355f; --blue:#1f7ae0; --light:#e8f1fb; --white:#ffffff;
  --ink:#1b2a3a; --muted:#5a6b7d; --line:#d3e2f3; --soft:#f5f9fe;
  --bad:#b4233a; --bad-bg:#fdeef1;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--white);
  max-width: 920px; margin: 0 auto; line-height: 1.55; font-size: 16px;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; position: relative;
}
#mp-act button { font-family: inherit; }
#mp-act { overflow-wrap: anywhere; word-break: normal; }
#mp-act img, #mp-act svg { max-width: 100%; }
#mp-act svg { display: block; }

/* Cabecera */
#mp-act .mp-head { background: var(--navy); color: #fff; padding: 16px 24px; display: flex; align-items: center; gap: 20px; }
#mp-act .mp-head img { height: 52px; width: auto; flex-shrink: 0; }
#mp-act .mp-head-txt { border-left: 1px solid rgba(255,255,255,.3); padding-left: 20px; flex: 1; }
#mp-act .mp-head-txt small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; opacity: .8; }
#mp-act .mp-head-txt h1 { margin: 2px 0 0; font-size: 20px; line-height: 1.25; font-weight: 600; }
#mp-act .mp-badges-mini { display: flex; gap: 6px; }
#mp-act .mp-badges-mini span { width: 34px; height: 34px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); display: grid; place-items: center; }
#mp-act .mp-badges-mini span.is-on { border: 0; animation: mpPop .5s ease; }

/* Progreso */
#mp-act .mp-steps { display: flex; gap: 8px; padding: 14px 24px 0; list-style: none; margin: 0; }
#mp-act .mp-steps li { flex: 1; font-size: 13px; color: var(--muted); }
#mp-act .mp-steps li::before { content: ""; display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 6px; }
#mp-act .mp-steps li.is-current { color: var(--navy); font-weight: 600; }
#mp-act .mp-steps li.is-current::before { background: var(--blue); }
#mp-act .mp-steps li.is-done::before { background: var(--navy); }

#mp-act .mp-body { padding: 18px 24px 26px; outline: none; }

#mp-act .mp-tag { display: inline-block; background: var(--light); color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
#mp-act h2 { color: var(--navy); font-size: 22px; margin: 8px 0 12px; line-height: 1.3; }
#mp-act .mp-toprow { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
#mp-act .mp-dots { display: flex; gap: 6px; }
#mp-act .mp-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
#mp-act .mp-dots i.is-on { background: var(--blue); width: 22px; border-radius: 4px; }

/* Botón audio */
#mp-act .mp-audio { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--navy); border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
#mp-act .mp-audio:hover { border-color: var(--blue); }
#mp-act .mp-audio.is-playing { background: var(--navy); color: #fff; border-color: var(--navy); }
#mp-act .mp-audio .bars { display: none; gap: 2px; align-items: flex-end; height: 14px; }
#mp-act .mp-audio.is-playing .bars { display: inline-flex; }
#mp-act .mp-audio.is-playing .ico { display: none; }
#mp-act .mp-audio .bars b { width: 3px; background: #fff; border-radius: 2px; animation: mpEq .8s ease-in-out infinite; }
#mp-act .mp-audio .bars b:nth-child(2) { animation-delay: .2s; } #mp-act .mp-audio .bars b:nth-child(3) { animation-delay: .4s; }

/* Escena */
#mp-act .mp-scene { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; animation: mpIn .4s ease; }
#mp-act .mp-caption { background: var(--soft); border-left: 4px solid var(--navy); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 0; }
#mp-act .mp-stagebox { background: linear-gradient(180deg, var(--light), #f7fbff); border-radius: 14px; padding: 22px; display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; min-height: 260px; }

/* Chat */
#mp-act .mp-phone { width: 100%; max-width: 380px; background: #fff; border-radius: 22px; box-shadow: 0 10px 30px rgba(15,53,95,.18); overflow: hidden; border: 6px solid var(--navy); }
#mp-act .mp-phone-head { background: var(--navy); color: #fff; padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
#mp-act .mp-phone-head .gi { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font-size: 16px; }
#mp-act .mp-phone-head b { display: block; font-size: 14.5px; } #mp-act .mp-phone-head small { font-size: 12px; opacity: .75; }
#mp-act .mp-chat { background: #eef3f9; padding: 12px; min-height: 290px; display: flex; flex-direction: column; gap: 8px; }
#mp-act .mp-msg { max-width: 82%; background: #fff; border-radius: 4px 12px 12px 12px; padding: 6px 10px 6px; font-size: 14px; box-shadow: 0 1px 1px rgba(0,0,0,.06); animation: mpIn .3s ease; }
#mp-act .mp-msg .who { font-size: 12px; font-weight: 700; display: block; }
#mp-act .mp-msg .time { font-size: 11px; color: var(--muted); float: right; margin: 4px 0 0 10px; }
#mp-act .mp-meme { margin-top: 4px; height: 92px; border-radius: 8px; background: repeating-linear-gradient(45deg,#c7d6e8,#c7d6e8 8px,#d6e2f0 8px,#d6e2f0 16px); filter: blur(1.5px); display: grid; place-items: center; }
#mp-act .mp-meme-wrap { position: relative; }
#mp-act .mp-meme-wrap span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--navy); }
#mp-act .mp-typing { align-self: flex-start; background: #fff; border-radius: 12px; padding: 8px 12px; display: flex; gap: 4px; }
#mp-act .mp-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9fb3c8; animation: mpDot 1s infinite; }
#mp-act .mp-typing i:nth-child(2) { animation-delay: .15s; } #mp-act .mp-typing i:nth-child(3) { animation-delay: .3s; }
#mp-act .mp-sys { align-self: center; font-size: 12px; background: #dce7f3; color: var(--navy); border-radius: 8px; padding: 3px 10px; }

/* Personajes y bocadillos */
#mp-act .mp-char { text-align: center; flex-shrink: 0; }
#mp-act .mp-char .name { font-weight: 700; color: var(--navy); font-size: 14px; margin-top: 6px; }
#mp-act .mp-char .role { font-size: 12.5px; color: var(--muted); }
#mp-act .mp-thought { position: relative; background: #fff; border-radius: 18px; padding: 14px 18px; max-width: 320px; box-shadow: 0 6px 18px rgba(15,53,95,.12); font-style: italic; color: var(--navy); animation: mpIn .5s ease .2s both; }
#mp-act .mp-thought::before, #mp-act .mp-thought::after { content: ""; position: absolute; background: #fff; border-radius: 50%; box-shadow: 0 3px 8px rgba(15,53,95,.1); }
#mp-act .mp-thought::before { width: 16px; height: 16px; left: -20px; bottom: 14px; }
#mp-act .mp-thought::after { width: 9px; height: 9px; left: -34px; bottom: 6px; }

#mp-act .mp-dialog-scene { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: end; width: 100%; }
#mp-act .mp-bubbles { display: flex; flex-direction: column; gap: 12px; padding-bottom: 30px; }
#mp-act .mp-bub { position: relative; padding: 12px 16px; border-radius: 16px; font-size: 15px; max-width: 90%; opacity: 0; animation: mpIn .45s ease forwards; box-shadow: 0 4px 12px rgba(15,53,95,.1); }
#mp-act .mp-bub.left { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
#mp-act .mp-bub.right { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
#mp-act .mp-bub .who { display: block; font-size: 12px; font-weight: 700; opacity: .75; margin-bottom: 2px; }

/* Formulario Andrés */
#mp-act .mp-form { background: #fff; border-radius: 12px; padding: 16px 18px; width: 100%; max-width: 360px; box-shadow: 0 8px 24px rgba(15,53,95,.14); position: relative; }
#mp-act .mp-form h4 { margin: 0 0 10px; color: var(--navy); font-size: 15px; border-bottom: 2px solid var(--light); padding-bottom: 8px; }
#mp-act .mp-field { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
#mp-act .mp-field span { color: var(--muted); } #mp-act .mp-field b { color: var(--ink); text-align: right; }
#mp-act .mp-stamp { position: absolute; right: 14px; bottom: -14px; transform: rotate(-8deg); border: 3px solid var(--blue); color: var(--blue); font-weight: 800; letter-spacing: .1em; padding: 2px 10px; border-radius: 6px; background: #fff; font-size: 14px; animation: mpStamp .5s ease .6s both; }
#mp-act .mp-stamp.red { border-color: var(--bad); color: var(--bad); }

/* Fichas Laura/Javier */
#mp-act .mp-vacante { width: 100%; text-align: center; font-weight: 700; color: var(--navy); background: #fff; border-radius: 999px; padding: 6px 14px; box-shadow: 0 2px 8px rgba(15,53,95,.08); font-size: 14px; }
#mp-act .mp-cands { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
#mp-act .mp-cand { background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 8px 24px rgba(15,53,95,.12); position: relative; text-align: center; }
#mp-act .mp-cand .row { text-align: left; font-size: 13px; margin-top: 10px; }
#mp-act .mp-bar { height: 10px; background: var(--light); border-radius: 5px; overflow: hidden; margin-top: 4px; }
#mp-act .mp-bar i { display: block; height: 100%; background: var(--blue); border-radius: 5px; width: 0; animation: mpGrow 1s ease .3s forwards; }
#mp-act .mp-star { display: inline-block; margin-top: 10px; background: #fff6dc; color: #8a6200; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
#mp-act .mp-cand .mp-stamp { bottom: auto; top: 10px; right: -6px; animation-delay: 1.2s; }

/* Pregunta y opciones */
#mp-act .mp-qhead { display: flex; gap: 14px; align-items: center; background: var(--soft); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
#mp-act .mp-qhead svg { flex-shrink: 0; }
#mp-act .mp-q { font-weight: 600; color: var(--navy); margin: 0; font-size: 17px; }
#mp-act .mp-attempt { font-size: 13px; color: var(--muted); margin: 0 0 10px; display: flex; gap: 6px; align-items: center; }
#mp-act .mp-attempt i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); display: inline-block; }
#mp-act .mp-attempt i.used { background: var(--line); }
#mp-act .mp-opts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
#mp-act .mp-opt { width: 100%; text-align: left; display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15.5px; color: var(--ink); cursor: pointer; line-height: 1.45; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
#mp-act .mp-opt:hover:not(:disabled) { border-color: var(--blue); background: #f4f9ff; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(31,122,224,.15); }
#mp-act .mp-opt:focus-visible, #mp-act .mp-btn:focus-visible, #mp-act .mp-audio:focus-visible, #mp-act .mp-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
#mp-act .mp-letter { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--light); color: var(--navy); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
#mp-act .mp-opt:disabled { cursor: default; }
#mp-act .mp-opt.is-wrong { border-color: var(--bad); background: var(--bad-bg); color: #6b4450; animation: mpShake .4s ease; }
#mp-act .mp-opt.is-wrong .mp-letter { background: var(--bad); color: #fff; }
#mp-act .mp-opt.is-right { border-color: var(--blue); background: var(--light); }
#mp-act .mp-opt.is-right .mp-letter { background: var(--blue); color: #fff; }
#mp-act .mp-opt.is-dim { opacity: .5; }

/* Feedback correcto */
#mp-act .mp-ok { margin-top: 22px; border: 2px solid var(--blue); border-radius: 14px; overflow: hidden; animation: mpIn .4s ease; }
#mp-act .mp-ok-head { background: var(--blue); color: #fff; padding: 12px 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
#mp-act .mp-ok-head .l { display: flex; align-items: center; gap: 10px; }
#mp-act .mp-ok-head .mp-audio { border-color: rgba(255,255,255,.5); }
#mp-act .mp-ok-text { padding: 16px 18px 4px; margin: 0; }
#mp-act .mp-earn { display: flex; align-items: center; gap: 14px; margin: 14px 18px 0; background: var(--soft); border-radius: 12px; padding: 12px 14px; }
#mp-act .mp-earn .b { animation: mpBadge .8s cubic-bezier(.2,1.6,.4,1) both; flex-shrink: 0; }
#mp-act .mp-earn small { display: block; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
#mp-act .mp-earn strong { color: var(--navy); font-size: 16px; }
#mp-act .mp-actions-title { margin: 18px 18px 4px; color: var(--navy); font-size: 15px; text-transform: uppercase; letter-spacing: .05em; }
#mp-act .mp-hint { margin: 0 18px 10px; font-size: 13.5px; color: var(--muted); }
#mp-act .mp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 18px 18px; }
#mp-act .mp-card { background: var(--navy); color: #fff; border: 0; border-radius: 12px; padding: 16px 14px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 8px; min-height: 150px; transition: background .25s, color .25s, transform .15s; font-size: 14.5px; }
#mp-act .mp-card:hover { transform: translateY(-2px); }
#mp-act .mp-card .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
#mp-act .mp-card h4 { margin: 0; font-size: 15px; line-height: 1.3; }
#mp-act .mp-card .tap { font-size: 12.5px; opacity: .75; margin-top: auto; }
#mp-act .mp-card .txt { display: none; font-size: 14px; line-height: 1.5; }
#mp-act .mp-card.is-open { background: var(--light); color: var(--ink); cursor: default; transform: none; animation: mpFlip .45s ease; }
#mp-act .mp-card.is-open .ic { background: var(--navy); }
#mp-act .mp-card.is-open h4 { color: var(--navy); }
#mp-act .mp-card.is-open .txt { display: block; }
#mp-act .mp-card.is-open .tap { display: none; }

/* Navegación */
#mp-act .mp-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
#mp-act .mp-nav.end { justify-content: flex-end; }
#mp-act .mp-btn { background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 12px 26px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s, opacity .15s; }
#mp-act .mp-btn:hover:not(:disabled) { background: var(--blue); }
#mp-act .mp-btn:disabled { opacity: .35; cursor: not-allowed; }
#mp-act .mp-btn.is-ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
#mp-act .mp-btn.is-ghost:hover { background: var(--light); }

/* Intro */
#mp-act .mp-hero { background: linear-gradient(180deg, var(--light), #fff); border-radius: 14px; padding: 20px; display: flex; justify-content: center; gap: 10px; align-items: flex-end; margin-bottom: 16px; }
#mp-act .mp-howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 6px; }
#mp-act .mp-howto div { background: var(--soft); border-radius: 12px; padding: 14px; font-size: 14.5px; }
#mp-act .mp-howto b { display: block; color: var(--navy); margin: 8px 0 4px; }

/* Resumen */
#mp-act .mp-summary { text-align: center; }
#mp-act .mp-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
#mp-act .mp-shelf > div { background: var(--soft); border-radius: 14px; padding: 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
#mp-act .mp-shelf > div > svg { animation: mpBadge .8s cubic-bezier(.2,1.6,.4,1) both; }
#mp-act .mp-shelf > div:nth-child(2) > svg { animation-delay: .2s; } #mp-act .mp-shelf > div:nth-child(3) > svg { animation-delay: .4s; }
#mp-act .mp-shelf strong { color: var(--navy); font-size: 14.5px; line-height: 1.3; }
#mp-act .mp-shelf small { color: var(--muted); font-size: 12.5px; }
#mp-act .mp-lvl { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
#mp-act .mp-key { background: var(--soft); border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; padding: 14px 18px; text-align: left; margin: 0 auto 20px; }
#mp-act .mp-key ul { margin: 6px 0 0; padding-left: 20px; }

/* Modal */
#mp-act .mp-modal { position: fixed; inset: 0; background: rgba(15,53,95,.6); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 9999; }
#mp-act .mp-modal.is-open { display: flex; }
#mp-act .mp-dialog { background: #fff; border-radius: 16px; max-width: 540px; width: 100%; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.3); animation: mpPop .3s ease; max-height: 92vh; display: flex; flex-direction: column; }
#mp-act .mp-dialog-head { background: var(--bad); color: #fff; padding: 18px 20px 16px; display: flex; align-items: center; gap: 14px; }
#mp-act .mp-dialog-head h3 { margin: 0; font-size: 18px; line-height: 1.3; }
#mp-act .mp-dialog-head small { display: block; opacity: .85; font-size: 13px; }
#mp-act .mp-dialog-body { padding: 18px 20px; overflow-y: auto; }
#mp-act .mp-dialog-body p { margin: 0 0 12px; }
#mp-act .mp-struck { background: var(--bad-bg); border-radius: 10px; padding: 10px 12px; font-size: 14px; color: #6b4450; position: relative; }
#mp-act .mp-struck s { text-decoration-color: var(--bad); text-decoration-thickness: 2px; }
#mp-act .mp-struck em { display: inline-block; font-style: normal; font-weight: 800; color: var(--bad); border: 2px solid var(--bad); border-radius: 4px; padding: 0 6px; font-size: 12px; letter-spacing: .08em; margin-bottom: 6px; transform: rotate(-3deg); }
#mp-act .mp-dialog-foot { padding: 0 20px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }

.mp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@keyframes mpIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes mpPop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes mpDot { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes mpStamp { 0% { opacity: 0; transform: rotate(-8deg) scale(2.2); } 100% { opacity: 1; transform: rotate(-8deg) scale(1); } }
@keyframes mpGrow { to { width: var(--w); } }
@keyframes mpShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes mpBadge { 0% { opacity: 0; transform: scale(.3) rotate(-20deg); } 100% { opacity: 1; transform: none; } }
@keyframes mpFlip { 0% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }
@keyframes mpEq { 0%,100% { height: 4px; } 50% { height: 14px; } }
@media (prefers-reduced-motion: reduce) { #mp-act *, #mp-act *::before, #mp-act *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; } }

@media (max-width: 640px) {
  #mp-act { font-size: 15px; border-radius: 0; border-left: 0; border-right: 0; }
  #mp-act .mp-head { flex-wrap: wrap; gap: 10px 14px; padding: 14px 16px; }
  #mp-act .mp-head img { height: 42px; }
  #mp-act .mp-head-txt { border-left: 0; padding-left: 0; flex-basis: 100%; order: 3; }
  #mp-act .mp-head-txt h1 { font-size: 18px; }
  #mp-act .mp-badges-mini { margin-left: auto; }
  #mp-act .mp-steps { padding: 12px 16px 0; }
  #mp-act .mp-steps li span { display: none; }
  #mp-act .mp-body { padding: 14px 16px 20px; }
  #mp-act h2 { font-size: 19px; }
  #mp-act .mp-stagebox { padding: 14px; gap: 14px; }
  #mp-act .mp-dialog-scene { grid-template-columns: 1fr; }
  #mp-act .mp-dialog-scene .mp-char { display: flex; align-items: center; gap: 10px; text-align: left; }
  #mp-act .mp-dialog-scene .mp-char svg { width: 64px; height: 64px; }
  #mp-act .mp-bubbles { padding-bottom: 0; }
  #mp-act .mp-cands { gap: 10px; }
  #mp-act .mp-cand { padding: 12px 10px; }
  #mp-act .mp-cards, #mp-act .mp-howto { grid-template-columns: 1fr; }
  #mp-act .mp-card { min-height: 0; }
  #mp-act .mp-shelf { grid-template-columns: 1fr; }
  #mp-act .mp-nav .mp-btn { flex: 1; }
  #mp-act .mp-thought::before, #mp-act .mp-thought::after { display: none; }
}

/* Ajustes de ancho para pantallas estrechas */
#mp-act .mp-scene > *, #mp-act .mp-toprow > *, #mp-act .mp-cands > *, #mp-act .mp-cards > *, #mp-act .mp-howto > *, #mp-act .mp-shelf > * { min-width: 0; }
#mp-act .mp-hero { flex-wrap: wrap; }
#mp-act .mp-cands { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
#mp-act .mp-cand svg { width: 100%; max-width: 96px; height: auto; margin: 0 auto; }
#mp-act .mp-stagebox { max-width: 100%; }
#mp-act .mp-phone, #mp-act .mp-form, #mp-act .mp-thought { max-width: 100%; }
#mp-act .mp-dialog-scene { grid-template-columns: auto minmax(0, 1fr) auto; }
@media (max-width: 560px) {
  body { padding: 0 !important; }
  #mp-act .mp-hero { gap: 6px; padding: 14px 8px; }
  #mp-act .mp-hero svg { width: 76px; height: 76px; }
  #mp-act .mp-dialog-scene { grid-template-columns: minmax(0, 1fr); }
  #mp-act .mp-stagebox { padding: 12px; }
  #mp-act .mp-char > svg { width: min(130px, 40vw); height: auto; }
  #mp-act .mp-dialog-scene .mp-char > svg { width: 64px; height: 64px; }
  #mp-act .mp-qhead svg { width: 48px; height: 48px; }
  #mp-act .mp-body { padding: 14px 12px 20px; }
  #mp-act .mp-head { padding: 14px 12px; }
  #mp-act .mp-steps { padding: 12px 12px 0; }
  #mp-act .mp-ok-text, #mp-act .mp-actions-title, #mp-act .mp-hint { padding-left: 14px; padding-right: 14px; margin-left: 0; margin-right: 0; }
  #mp-act .mp-cards { padding: 0 14px 14px; }
  #mp-act .mp-earn { margin: 14px 14px 0; }
  #mp-act .mp-opt { padding: 10px 12px; gap: 10px; }
  #mp-act .mp-btn { padding: 12px 16px; white-space: nowrap; }
}
@media (max-width: 380px) {
  #mp-act .mp-cands { grid-template-columns: minmax(0, 1fr); }
  #mp-act .mp-cand svg { max-width: 80px; }
  #mp-act .mp-head-txt h1 { font-size: 17px; }
  #mp-act h2 { font-size: 18px; }
}
@keyframes mpStamp { 0% { opacity: 0; transform: rotate(-8deg) scale(1.6); } 100% { opacity: 1; transform: rotate(-8deg) scale(1); } }
