/* Misión 18 — modo claro (adultos) y modo oscuro neón (adolescentes) */
:root, [data-theme="claro"] {
  --bg: #fff8ec;
  --bg-2: #ffffff;
  --text: #17141f;
  --muted: #5d5868;
  --line: #17141f;
  --shadow: #17141f;
  --accent: #12a150;      /* verde legible sobre claro */
  --accent-ink: #ffffff;
  --hl: #39ff14;          /* subrayado neón */
  --p1: #ff3d7f;          /* jugador adolescente */
  --p2: #7b4dff;          /* jugador adulto */
  --ok: #12a150;
  --bad: #e5484d;
  --gold: #f2c14e;
  --blob1: #ffd23f; --blob2: #ff9ec4; --blob3: #b9f7a8;
  --card-r: 20px;
  --font-head: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
[data-theme="oscuro"] {
  --bg: #0b0a12;
  --bg-2: #16141f;
  --text: #f5f3ff;
  --muted: #a9a4bb;
  --line: #3a3550;
  --shadow: #39ff14;
  --accent: #39ff14;
  --accent-ink: #0b0a12;
  --hl: #39ff14;
  --p1: #ff4d8d;
  --p2: #9b7bff;
  --ok: #39ff14;
  --bad: #ff5c5c;
  --blob1: #3a1a6b; --blob2: #6b1a45; --blob3: #0f4d2a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background .35s, color .35s;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.01em; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* Manchas de color de fondo */
.blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blobs i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { background: var(--blob1); top: -18vmax; left: -14vmax; }
.blobs i:nth-child(2) { background: var(--blob2); top: 30vh; right: -20vmax; animation-delay: -6s; }
.blobs i:nth-child(3) { background: var(--blob3); bottom: -22vmax; left: 10vw; animation-delay: -12s; }
[data-theme="oscuro"] .blobs i { opacity: .5; }
@keyframes float { to { transform: translate(6vmax, 4vmax) scale(1.1); } }

/* Cabecera */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 980px; margin: 0 auto; padding: 12px 16px;
  backdrop-filter: blur(10px);
}
.brand { font-family: var(--font-head); font-size: 1.3rem; text-decoration: none; }
.brand b { background: var(--hl); color: #0b0a12; padding: 0 .25em; border-radius: 6px; margin-left: 2px; }
.top-r { display: flex; gap: 10px; align-items: center; }
.theme-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--bg-2);
  display: grid; place-items: center;
}
.theme-btn svg { width: 22px; height: 22px; }
.i-moon { display: none !important; }
[data-theme="oscuro"] .i-sun { display: none !important; }
[data-theme="oscuro"] .i-moon { display: block !important; }
.book-btn { font-weight: 800; font-size: .9rem; text-decoration: none; padding: 10px 14px; border-radius: 999px; border: 2px solid var(--line); background: var(--bg-2); }

main { max-width: 980px; margin: 0 auto; padding: 8px 16px 40px; }
.screen { animation: enter .45s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes enter { from { opacity: 0; transform: translateY(18px) scale(.98); } }

/* Botones */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 14px 22px; border-radius: 14px; text-decoration: none; text-align: center;
  font-weight: 800; font-size: 1rem;
  background: var(--accent); color: var(--accent-ink);
  border: 2.5px solid var(--line); box-shadow: 4px 4px 0 var(--shadow);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--shadow); }
.btn.ghost { background: var(--bg-2); color: var(--text); }
.btn.big { width: 100%; padding: 18px; font-size: 1.1rem; }
.btn small { font-weight: 500; font-size: .82rem; opacity: .85; }
[data-theme="oscuro"] .btn { border-color: var(--accent); }
[data-theme="oscuro"] .btn.ghost { border-color: var(--line); box-shadow: 4px 4px 0 var(--line); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.back { background: none; border: 0; padding: 8px 0; font-weight: 700; color: var(--muted); }

/* Inicio */
.hero { text-align: center; padding: 28px 0 18px; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--line); background: var(--bg-2); font-weight: 800; font-size: .82rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.2rem, 7.5vw, 4.2rem); max-width: 14em; margin: 0 auto .3em; }
.hl { position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: .05em; height: .36em; background: var(--hl); z-index: -1; border-radius: 4px; transform: skew(-8deg); animation: grow .8s .3s both cubic-bezier(.2, .9, .3, 1.2); transform-origin: left; }
[data-theme="oscuro"] .hl { color: var(--hl); text-shadow: 0 0 24px rgba(57, 255, 20, .55); }
[data-theme="oscuro"] .hl::after { display: none; }
@keyframes grow { from { transform: skew(-8deg) scaleX(0); } }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; margin: 0 auto 1.2em; }
.who { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; border: 2px solid var(--line); background: var(--bg-2); flex-wrap: wrap; justify-content: center; }
.who-b { border: 0; background: none; padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: .95rem; }
.who-ico { margin-right: 6px; }
[data-theme="oscuro"] .who-b[data-who="oscuro"], [data-theme="claro"] .who-b[data-who="claro"] { background: var(--text); color: var(--bg); }

.modes { display: grid; gap: 18px; margin-top: 26px; }
@media (min-width: 760px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode {
  text-align: left; padding: 0; overflow: hidden;
  border: 2.5px solid var(--line); border-radius: var(--card-r);
  background: var(--bg-2); box-shadow: 6px 6px 0 var(--shadow);
  transition: transform .15s, box-shadow .15s;
  display: flex; flex-direction: column;
}
.mode:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--shadow); }
.mode-txt { padding: 18px 20px 22px; }
.mode h2 { font-size: 1.7rem; }
.mode p { margin: 0 0 14px; color: var(--muted); }
.mode-kick { font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.go { font-weight: 900; font-size: 1.05rem; }
.mode-duel .vs-art { background: linear-gradient(100deg, var(--p1) 0 50%, var(--p2) 50% 100%); }
.vs-art { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 10px; border-bottom: 2.5px solid var(--line); }
.vs-art .mascot { width: 92px; animation: bob 2.4s ease-in-out infinite; }
.vs-art .mascot:last-child { animation-delay: -1.2s; }
.vs-art span { font-family: var(--font-head); font-size: 2.4rem; color: #fff; text-shadow: 3px 3px 0 #17141f; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.prof-art { display: flex; height: 128px; border-bottom: 2.5px solid var(--line); }
.prof-art i { flex: 1; background: var(--c); transition: flex .4s; }
.mode-prof:hover .prof-art i:nth-child(3) { flex: 3; }

.soon { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.soon-c { position: relative; padding: 14px 16px; border-radius: 16px; border: 2px dashed var(--line); opacity: .8; }
.soon-c b { display: block; font-family: var(--font-head); font-weight: 400; }
.soon-c span { font-size: .88rem; color: var(--muted); }
.soon-c em { position: absolute; top: -10px; right: 10px; font-style: normal; font-weight: 800; font-size: .72rem; background: var(--gold); color: #17141f; padding: 2px 8px; border-radius: 999px; border: 2px solid #17141f; }

.book-strip { display: flex; gap: 18px; align-items: center; margin-top: 28px; padding: 18px; border-radius: var(--card-r); background: var(--bg-2); border: 2.5px solid var(--line); }
.book-strip img { width: 92px; height: auto; border-radius: 6px; box-shadow: 4px 6px 0 rgba(0,0,0,.25); flex-shrink: 0; }
.book-strip p { color: var(--muted); margin: 4px 0 12px; font-size: .95rem; }
.book-strip .btn { padding: 10px 14px; font-size: .9rem; }

/* Preparación del duelo */
.h-sm { font-size: clamp(2rem, 6vw, 3rem); }
#s-duelo-setup .lead { margin-left: 0; }
.setup { display: grid; gap: 12px; max-width: 520px; }
.player { display: block; padding: 14px 16px; border-radius: 18px; border: 2.5px solid var(--line); background: var(--bg-2); }
.player span { display: block; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.p1 span { color: var(--p1); } .p2 span { color: var(--p2); }
.p1 { box-shadow: 5px 5px 0 var(--p1); } .p2 { box-shadow: 5px 5px 0 var(--p2); }
.player input { width: 100%; border: 0; background: none; font: 800 1.5rem var(--font-body); color: var(--text); padding: 4px 0; outline: none; }
.player input::placeholder { color: var(--muted); opacity: .5; }
.vs-mid { justify-self: center; font-family: var(--font-head); font-size: 1.6rem; }
.hint { font-size: .85rem; color: var(--muted); margin: 0; }
.how { display: grid; gap: 14px; margin-top: 8px; }

/* Barra de marcador */
.scorebar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 8px 0 18px; }
.sc { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; border: 2.5px solid var(--line); background: var(--bg-2); min-width: 0; }
.sc span { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; }
.sc b { font-family: var(--font-head); font-size: 1.6rem; font-weight: 400; min-width: 1.2em; text-align: center; }
.sc1 { box-shadow: 4px 4px 0 var(--p1); } .sc1 b { color: var(--p1); }
.sc2 { box-shadow: 4px 4px 0 var(--p2); justify-content: flex-end; } .sc2 b { color: var(--p2); }
.sc b.pop { animation: pop .5s; }
@keyframes pop { 40% { transform: scale(1.6); } }
.sc-mid { text-align: center; font-weight: 800; font-size: .85rem; }
.prog { height: 8px; width: 64px; border-radius: 99px; background: color-mix(in srgb, var(--text) 15%, transparent); overflow: hidden; margin-top: 4px; }
.prog i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .4s; }
.qhead { display: flex; align-items: center; gap: 12px; font-weight: 800; margin: 6px 0 16px; }
.qhead .prog { flex: 1; height: 10px; }

/* Pregunta */
.stage { max-width: 640px; margin: 0 auto; }
.turn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .9rem; color: #fff; margin-bottom: 14px; }
.turn.t1 { background: var(--p1); } .turn.t2 { background: var(--p2); }
.qcard { padding: 22px 20px; border-radius: var(--card-r); background: var(--bg-2); border: 2.5px solid var(--line); box-shadow: 6px 6px 0 var(--shadow); }
.qcard h2 { font-family: var(--font-body); font-weight: 800; font-size: clamp(1.2rem, 4vw, 1.5rem); line-height: 1.3; margin-bottom: 18px; }
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 14px 16px; border-radius: 14px; border: 2.5px solid var(--line); background: var(--bg);
  font-weight: 650; font-size: 1rem; line-height: 1.3;
  transition: transform .1s, background .15s;
}
.opt:hover { transform: translateX(4px); }
.opt .k { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-head); font-size: .9rem; background: var(--text); color: var(--bg); }
.opt.picked { background: var(--accent); color: var(--accent-ink); }
.opt.right { background: var(--ok); color: #fff; border-color: var(--ok); }
[data-theme="oscuro"] .opt.right { color: #0b0a12; }
.opt.wrong { background: var(--bad); color: #fff; border-color: var(--bad); animation: shake .4s; }
.opt[disabled] { cursor: default; }
.opt[disabled]:hover { transform: none; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.opt .who-tags { margin-left: auto; display: flex; gap: 4px; }
.tagp { font-size: .72rem; font-weight: 900; padding: 3px 8px; border-radius: 999px; color: #fff; border: 2px solid #fff; white-space: nowrap; }
.tagp.t1 { background: var(--p1); } .tagp.t2 { background: var(--p2); }

.explain { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 28%, var(--bg-2)); border: 2px solid var(--line); display: flex; gap: 12px; align-items: flex-start; animation: enter .35s; }
.explain .mascot { width: 52px; flex-shrink: 0; }
.explain p { margin: 0; font-weight: 600; }
.explain small { display: block; margin-top: 4px; font-weight: 700; color: var(--muted); }
.next { margin-top: 16px; width: 100%; }

/* Pantalla de pasar el móvil */
.handoff { text-align: center; padding: 34px 20px; border-radius: var(--card-r); color: #fff; border: 2.5px solid var(--line); box-shadow: 6px 6px 0 var(--shadow); }
.handoff.t1 { background: var(--p1); } .handoff.t2 { background: var(--p2); }
.handoff .big-ico { font-size: 3.6rem; animation: wiggle 1s ease-in-out infinite; display: inline-block; }
@keyframes wiggle { 50% { transform: rotate(-12deg) translateX(-6px); } }
.handoff h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin: 10px 0 6px; }
.handoff p { margin: 0 0 20px; font-weight: 600; opacity: .95; }
.handoff .btn { background: #fff; color: #17141f; }

.tb-input { width: 100%; font: 800 2rem var(--font-body); text-align: center; padding: 12px; border-radius: 14px; border: 2.5px solid var(--line); background: var(--bg); color: var(--text); }

/* Resultado */
.result { text-align: center; padding-top: 10px; }
.crown { font-size: 3.4rem; animation: drop .8s cubic-bezier(.2, .9, .3, 1.4); display: inline-block; }
@keyframes drop { from { transform: translateY(-80px) rotate(-30deg); opacity: 0; } }
.result h1 { font-size: clamp(2.2rem, 8vw, 3.8rem); }
.final { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; max-width: 520px; margin: 18px auto 22px; }
.final .f { padding: 16px 10px; border-radius: 18px; border: 2.5px solid var(--line); background: var(--bg-2); }
.final .f span { display: block; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.final .f b { font-family: var(--font-head); font-weight: 400; font-size: 3rem; line-height: 1; }
.final .f1 { box-shadow: 5px 5px 0 var(--p1); } .final .f1 b { color: var(--p1); }
.final .f2 { box-shadow: 5px 5px 0 var(--p2); } .final .f2 b { color: var(--p2); }
.final .win { transform: scale(1.06); }
.final .vs-s { font-family: var(--font-head); font-size: 1.3rem; }
.actions { display: grid; gap: 12px; max-width: 520px; margin: 0 auto; }
.share-prev { max-width: 300px; margin: 0 auto 18px; border-radius: 16px; border: 2.5px solid var(--line); box-shadow: 6px 6px 0 var(--shadow); overflow: hidden; }
.share-prev img { width: 100%; }
.cta-book { margin: 28px auto 0; max-width: 560px; text-align: left; }
.small-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.review { max-width: 640px; margin: 26px auto 0; text-align: left; }
.review summary { font-weight: 800; cursor: pointer; padding: 10px 0; }
.review ol { padding-left: 1.2em; margin: 0; }
.review li { margin-bottom: 10px; }
.review .ans { font-size: .9rem; color: var(--muted); }

/* Resultado del perfil */
.pcard { position: relative; overflow: hidden; border-radius: 26px; padding: 26px 22px; background: var(--pc); color: var(--pi, #fff); border: 2.5px solid var(--line); box-shadow: 7px 7px 0 var(--shadow); text-align: left; animation: enter .5s; }
.pcard .kick { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.pcard h1 { font-size: clamp(2.4rem, 9vw, 4rem); margin: 6px 0 8px; }
.pcard .tag { font-size: 1.15rem; font-weight: 700; margin: 0 0 6px; }
.pcard .mascot { position: absolute; right: -10px; bottom: -14px; width: 130px; opacity: .95; }
.pgrid { display: grid; gap: 12px; margin: 18px 0; text-align: left; }
@media (min-width: 640px) { .pgrid { grid-template-columns: 1fr 1fr; } }
.pbox { padding: 14px 16px; border-radius: 16px; background: var(--bg-2); border: 2.5px solid var(--line); }
.pbox b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.pbox.quest { grid-column: 1 / -1; box-shadow: 5px 5px 0 var(--pc); }
.bars { display: grid; gap: 8px; margin: 18px 0; }
.bar { display: grid; grid-template-columns: 10.5em 1fr 3em; gap: 10px; align-items: center; font-weight: 700; font-size: .9rem; }
.bar .t { height: 14px; border-radius: 99px; background: color-mix(in srgb, var(--text) 12%, transparent); overflow: hidden; }
.bar .t i { display: block; height: 100%; border-radius: inherit; background: var(--c); width: 0; transition: width 1s cubic-bezier(.2, .9, .3, 1); }
.bar em { font-style: normal; text-align: right; }

/* Recompensa de cada ronda */
.reward { max-width: 640px; margin: 30px auto 0; padding: 22px 18px; border-radius: 24px; background: var(--bg-2); border: 2.5px solid var(--line); box-shadow: 7px 7px 0 var(--gold); text-align: left; display: grid; gap: 14px; }
.reward-kick { font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.reward h2 { font-size: clamp(1.5rem, 5vw, 2rem); margin: 0; }
.badges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.badge { text-align: center; min-width: 0; }
@media (max-width: 520px) {
  .badge b { width: 42px; height: 42px; font-size: 1.05rem; }
  .badge span { font-size: .6rem; display: block; overflow: hidden; text-overflow: ellipsis; }
  .reward { padding: 18px 14px; }
}
.badge b { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 4px; border-radius: 50%; font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; border: 2.5px solid var(--line); background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--muted); }
.badge span { font-size: .72rem; font-weight: 700; color: var(--muted); }
.badge.on b { color: #fff; }
.badge.on:nth-child(1) b { background: #ff3d7f; } .badge.on:nth-child(2) b { background: #f2a900; } .badge.on:nth-child(3) b { background: #7b4dff; }
.badge.on:nth-child(4) b { background: #00b3a4; } .badge.on:nth-child(5) b { background: #12a150; }
.badge.on span { color: var(--text); }
.badge.new b { animation: unlock 1s .3s both cubic-bezier(.2, .9, .3, 1.5); box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 60%, transparent); }
@keyframes unlock { from { transform: scale(0) rotate(-180deg); } }
.pbox.star { background: color-mix(in srgb, var(--gold) 22%, var(--bg-2)); }
.reward .actions { margin: 0; max-width: none; }

/* Confeti */
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
#confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

.foot { max-width: 980px; margin: 0 auto; padding: 24px 16px 40px; color: var(--muted); font-size: .85rem; text-align: center; }
.foot p { margin: 4px 0; }

@media (max-width: 420px) {
  .soon { grid-template-columns: 1fr; }
  .book-strip { flex-direction: column; text-align: center; }
  .book-strip .row { justify-content: center; }
  .sc span { display: none; }
  .who { flex-wrap: nowrap; }
  .who-b { padding: 9px 10px; font-size: .82rem; white-space: nowrap; }
  .who-ico { margin-right: 3px; }
  .bar { grid-template-columns: 7.5em 1fr 2.6em; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Inicio: el Duelo destaca y se explica en 3 pasos */
.modes { grid-template-columns: 1fr !important; }
.mode-duel { box-shadow: 8px 8px 0 var(--shadow); }
.mode-duel:hover { transform: none; box-shadow: 8px 8px 0 var(--shadow); }
.mode-duel .vs-art { padding: 26px 10px; }
.mode-duel .vs-art .mascot { width: 120px; }
.mode-duel .vs-art span { font-size: 3.2rem; }
.mode-duel h2 { font-size: clamp(2rem, 6vw, 2.6rem); }
.type-tag { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: var(--p1); color: #fff; font-weight: 900; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; border: 2px solid var(--line); }
.type-tag.alt { background: var(--p2); }
.steps { list-style: none; padding: 0; margin: 4px 0 20px; display: grid; gap: 10px; }
.steps li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--p2) 10%, var(--bg-2)); border: 2px solid var(--line); counter-increment: st; }
.st-ico { font-size: 1.5rem; flex: none; }
.steps b { font-size: 1rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps li { flex-direction: column; text-align: center; } }
.btn-play {
  display: block; width: 100%; padding: 20px; border-radius: 18px; border: 3px solid #17141f;
  background: linear-gradient(100deg, var(--p1), var(--p2)); color: #fff;
  font-family: var(--font-head); font-size: clamp(1.4rem, 5vw, 1.8rem); letter-spacing: .02em;
  box-shadow: 6px 6px 0 #17141f; text-shadow: 2px 2px 0 rgba(0,0,0,.25);
  animation: pulse-play 1.8s ease-in-out infinite;
}
.btn-play:hover { animation-play-state: paused; transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #17141f; }
.btn-play:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 #17141f; }
[data-theme="oscuro"] .btn-play { border-color: var(--hl); box-shadow: 6px 6px 0 var(--hl); }
@keyframes pulse-play { 50% { transform: scale(1.03); } }
.play-sub { text-align: center; font-size: .88rem; margin: 12px 0 0 !important; }
.mode-prof { flex-direction: row; align-items: stretch; }
.mode-prof .prof-art { width: 90px; height: auto; flex-direction: column; border-bottom: 0; border-right: 2.5px solid var(--line); flex: none; }
.mode-prof h2 { font-size: 1.35rem; }
.mode-prof .mode-txt { padding: 16px 18px; }
@media (prefers-reduced-motion: reduce) { .btn-play { animation: none; } }

/* Envía este juego a otra familia */
.family-share { margin: 22px 0 6px; padding: 18px; border-radius: var(--card-r); border: 2.5px solid var(--line); background: color-mix(in srgb, #25d366 12%, var(--bg-2)); text-align: center; }
.family-share b { font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; }
.family-share p { margin: 4px 0 12px; color: var(--muted); }
.btn.wa { background: #25d366; color: #fff; border-color: #17141f; }

.migas .wrap { max-width: 760px; margin: 0 auto; padding: 8px 16px; }
.btn.wa { background: #1a7f4b; }
.type-tag { background: #d1105a; }
:root, [data-theme="claro"] { --accent: #0d7a3c; --ok: #0d7a3c; }
