/* --- mau: mesa de scrapbook, cartas-sticker en SVG, mano en abanico --- */
.mau { --cur: var(--tomato); --cw: 96px; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 26px; align-items: start; position: relative; }
.mau [hidden] { display: none !important; }
.mau .mm-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* ---- cartas: estilo clásico (borde blanco grueso, óvalo blanco inclinado, número con contorno negro) ---- */
.mau .mm-card { display: block; width: var(--cw); aspect-ratio: 2 / 3; border-radius: 12px; }
.mau .mm-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mau .mm-edge { fill: #fffdf7; stroke: var(--ink); stroke-width: 2.5; }
.mau .mm-face { stroke: none; }
.mau .mm-oval { fill: #fffdf7; stroke: var(--ink); stroke-width: 1.5; }
.mau .mm-oval-line { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.mau .mm-quadline { stroke: var(--ink); stroke-width: 2; }
.mau .mm-big {
  font-family: var(--display); font-size: 66px; text-anchor: middle;
  stroke: var(--ink); stroke-width: 6px; paint-order: stroke fill; stroke-linejoin: round;
}
.mau .mm-shade { fill: var(--ink); }
.mau .mm-uline { stroke: var(--ink); stroke-width: 2.5; }
.mau .mm-idx {
  font-family: var(--display); font-size: 22px; text-anchor: middle; dominant-baseline: middle;
  fill: #fffdf7; stroke: var(--ink); stroke-width: 5px; paint-order: stroke fill; stroke-linejoin: round;
}
.mau .mm-idx-ul { fill: #fffdf7; stroke: var(--ink); stroke-width: 1.5; }
.mau .mm-plus {
  font-family: var(--display); font-size: 34px; text-anchor: middle;
  stroke: var(--ink); stroke-width: 6px; paint-order: stroke fill; stroke-linejoin: round;
}
.mau .mm-o { fill: none; stroke: var(--ink); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.mau .mm-i { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.mau .mm-head { stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.mau .mm-shadeicon .mm-i, .mau .mm-shadeicon .mm-o { stroke: var(--ink) !important; }
.mau .mm-shadeicon .mm-head { fill: var(--ink) !important; }
.mau .mm-wedge, .mau .mm-mini { stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.mau .mm-wild-ring { fill: none; stroke: #fffdf7; stroke-width: 5; }
.mau .mm-hub { fill: var(--sheet); stroke: var(--ink); stroke-width: 2.5; }
/* dorso: negro, óvalo rojo, MAU amarillo inclinado */
.mau .mm-back { fill: #1f1a17; }
.mau .mm-back-oval { fill: #e3262b; stroke: var(--ink); stroke-width: 2; }
.mau .mm-logo { font-family: var(--display); font-size: 31px; text-anchor: middle; fill: #f8d21c; stroke: var(--ink); stroke-width: 6px; paint-order: stroke fill; stroke-linejoin: round; }
.mau .mm-logo-sh { fill: var(--ink); }
.mau .mm-card.ghost { visibility: hidden; }

/* ---- rivales ---- */
.mau .mm-opps { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; min-height: 118px; }
.mau .mm-seat {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 170px; padding: 8px 12px 10px;
  transition: transform .35s var(--ease-pop);
}
.mau .mm-fan { position: relative; height: 74px; width: 150px; }
.mau .mm-mini-back {
  --cw: 46px; position: absolute; left: 50%; top: 4px; margin-left: calc(var(--cw) / -2);
  transform: translate(var(--x), var(--y)) rotate(var(--r)); transform-origin: 50% 120%;
  filter: drop-shadow(2px 2px 0 var(--ink)); transition: transform .3s var(--ease-pop);
}
.mau .mm-seat.turn .mm-mini-back { animation: mm-shuffle 1.6s ease-in-out infinite; animation-delay: calc(var(--x) * 3ms); }
@keyframes mm-shuffle { 50% { translate: 0 -5px; } }
.mau .mm-tag {
  display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; max-width: 220px;
  background: var(--sheet); border: var(--stroke); border-radius: 999px; box-shadow: var(--shadow);
  transition: background-color .3s, transform .35s var(--ease-pop);
}
.mau .mm-seat.turn .mm-tag { background: color-mix(in srgb, var(--c) 32%, var(--sheet)); transform: rotate(-2deg) scale(1.05); box-shadow: var(--shadow-lg); }
.mau .mm-av {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c); border: 2.5px solid var(--ink); font-family: var(--display); font-size: 1rem;
}
.mau .mm-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.mau .mm-nm small { color: var(--ink-soft); font-weight: 600; }
.mau .mm-count {
  flex: none; min-width: 30px; height: 26px; padding: 0 7px; display: grid; place-items: center; border-radius: 8px;
  font-family: var(--pixel); font-size: 1.05rem; font-weight: 700; background: var(--sun); border: 2.5px solid var(--ink);
}
.mau .mm-seat.gone { opacity: .45; filter: grayscale(1); }
.mau .mm-seat.gone .mm-nm b { text-decoration: line-through; }
.mau .mm-seat.exposed .mm-tag { animation: mm-shake .5s ease-in-out infinite; }
@keyframes mm-shake { 25% { rotate: -3deg; } 75% { rotate: 3deg; } }
.mau .mm-bubble {
  position: absolute; top: 0; right: 4px; padding: 3px 12px; font-family: var(--display); font-size: 1.05rem;
  background: var(--mint); border: var(--stroke); border-radius: 14px 14px 14px 3px; box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(8deg); animation: mm-pop .45s var(--ease-pop) both;
}
@keyframes mm-pop { from { transform: scale(0) rotate(-20deg); } }

/* cinta de papel */
.mau .mm-tape {
  position: absolute; top: -12px; left: 50%; z-index: 2; padding: 2px 12px 3px; white-space: nowrap;
  font-family: var(--display); font-size: .9rem; color: var(--ink); line-height: 1.2;
  background: #ffe28ae6; border-left: 2px dashed #1f1a1730; border-right: 2px dashed #1f1a1730;
  transform: translateX(-50%) rotate(-4deg); animation: mm-tape .45s var(--ease-pop) both;
}
.mau .mm-tape[hidden] { display: none; }
@keyframes mm-tape { from { transform: translateX(-50%) rotate(-14deg) scale(.4); opacity: 0; } }

/* ---- mesa: paño verde con borde de madera ---- */
.mau .mm-table {
  position: relative; height: clamp(250px, 36vh, 330px); display: grid; place-items: center; overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 50% 42%, #34a865 0, #1f8549 48%, #12592f 100%);
  border: 4px solid var(--ink); border-radius: 999px / 200px;
  box-shadow: var(--shadow-lg), inset 0 0 0 11px #9a5b2e, inset 0 0 0 14px var(--ink), inset 0 10px 30px 14px #0a3a1e88;
}
.mau .mm-table::before { /* veta de la madera */
  content: ''; position: absolute; inset: 3px; border-radius: inherit; pointer-events: none; border: 2px dashed #d8955a99;
}
.mau .mm-dir { position: absolute; left: 4%; top: 7%; width: 92%; height: 86%; pointer-events: none; opacity: .85; transition: transform .6s var(--ease-pop); }
.mau .mm-dir-spin { animation: mm-spin 16s linear infinite; transform-origin: 0 0; }
.mau.ccw .mm-dir { transform: scaleX(-1); }
@keyframes mm-spin { to { transform: rotate(360deg); } }
.mau .mm-arc { fill: none; stroke: #fffdf7; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 18 12; opacity: .85; }
.mau .mm-arh { fill: #f8d21c; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.mau .mm-center { position: relative; display: flex; align-items: center; gap: 64px; z-index: 1; }

.mau .mm-deckwrap { position: relative; }
.mau .mm-deck { position: relative; width: var(--cw); aspect-ratio: 2 / 3; outline: none; }
.mau .mm-deck .mm-card { position: absolute; inset: 0; filter: drop-shadow(3px 4px 0 #0a3a1e); transition: transform .25s var(--ease-pop); }
.mau .mm-deck .u2 { transform: translate(6px, 6px) rotate(4deg); }
.mau .mm-deck .u1 { transform: translate(3px, 3px) rotate(2deg); }
.mau .mm-deck.can { cursor: pointer; }
.mau .mm-deck.can .mm-decktop { animation: mm-wiggle 2s ease-in-out infinite; }
.mau .mm-deck.can:focus-visible .mm-decktop { transform: translate(-4px, -12px) rotate(-5deg); animation: none; }
@media (hover: hover) { .mau .mm-deck.can:hover .mm-decktop { transform: translate(-4px, -12px) rotate(-5deg); animation: none; } }
.mau .mm-deck:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 8px; border-radius: 12px; }
@keyframes mm-wiggle { 0%, 70%, 100% { rotate: 0deg; } 78% { rotate: -5deg; } 86% { rotate: 4deg; } 93% { rotate: -2deg; } }
.mau .mm-deckcount { position: absolute; top: -10px; left: -12px; z-index: 2; box-shadow: 2px 2px 0 var(--ink); background: var(--sheet); }
.mau .mm-decktag {
  position: absolute; left: 50%; bottom: -16px; z-index: 2; translate: -50% 0; white-space: nowrap; padding: 3px 12px;
  font-family: var(--display); font-size: 1rem; background: var(--sun); border: var(--stroke); border-radius: 999px; box-shadow: 2px 2px 0 var(--ink);
  pointer-events: none; animation: mm-pop .4s var(--ease-pop) both;
}
.mau .mm-decktag[hidden] { display: none; }

.mau .mm-pile { position: relative; width: calc(var(--cw) * 1.25); height: calc(var(--cw) * 1.6); }
.mau .mm-p {
  position: absolute; left: 50%; top: 50%; margin: calc(var(--cw) * -.75) 0 0 calc(var(--cw) / -2);
  transform: translate(var(--dx), var(--dy)) rotate(var(--r)); filter: drop-shadow(3px 3px 0 var(--ink));
}
.mau .mm-p:not(.top) { filter: drop-shadow(2px 2px 0 #0a3a1e) brightness(.93); }
.mau .mm-p.top { --cw: 108px; margin: -81px 0 0 -54px; filter: drop-shadow(4px 5px 0 #0a3a1e); }

/* color actual: aro que brilla alrededor del pozo */
.mau .mm-pilewrap { position: relative; display: grid; place-items: center; }
.mau .mm-ring {
  position: absolute; left: 50%; top: 50%; width: calc(var(--cw) * 1.75); height: calc(var(--cw) * 2.08); border-radius: 50%; translate: -50% -50%;
  border: 7px solid var(--cur); box-shadow: 0 0 0 3px var(--ink), inset 0 0 0 3px var(--ink), 0 0 26px 8px var(--cur), inset 0 0 22px 4px var(--cur);
  transition: border-color .35s, box-shadow .35s; animation: mm-ringglow 1.8s ease-in-out infinite;
}
@keyframes mm-ringglow { 50% { opacity: .72; } }
.mau .mm-colorwrap { position: absolute; right: -18px; top: -14px; width: 0; height: 0; z-index: 3; }
.mau .mm-blob { display: none; }
.mau .mm-pending {
  position: absolute; right: -44px; top: -4px; padding: 2px 10px; font-family: var(--display); font-size: 1.5rem; color: #fff;
  background: var(--tomato); border: var(--stroke); border-radius: 14px; box-shadow: var(--shadow); transform: rotate(10deg);
  -webkit-text-stroke: 1px var(--ink); animation: mm-throb 1s ease-in-out infinite;
}
.mau .mm-pending[hidden] { display: none; }
@keyframes mm-throb { 50% { scale: 1.12; } }

/* selector de color (rueda) */
.mau .mm-picker { position: fixed; inset: 0; z-index: 35; display: grid; place-items: center; background: #1f1a1788; }
.mau .mm-picker[hidden] { display: none; }
.mau .mm-pick-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 22px 16px;
  background: var(--sheet); border: var(--stroke); border-radius: var(--r); box-shadow: var(--shadow-lg);
  animation: mm-pop .4s var(--ease-pop) both;
}
.mau .mm-pick-card p { margin: 0; font-family: var(--display); font-size: 1.25rem; }
.mau .mm-wheel { width: 220px; height: 220px; overflow: visible; }
.mau .mm-wheel-w { stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; cursor: pointer; transform-box: view-box; transition: scale .2s var(--ease-pop); outline: none; }
.mau .mm-wheel-w:focus-visible { scale: 1.1; }
@media (hover: hover) { .mau .mm-wheel-w:hover { scale: 1.1; } }
.mau .mm-wheel-w:focus-visible { stroke-width: 5; }
.mau .mm-wheel-hub { fill: var(--sheet); stroke: var(--ink); stroke-width: 3.5; pointer-events: none; }
.mau .mm-cancel { padding: 5px 14px; font-size: .9rem; }

/* ---- yo: estado, botones y mano ---- */
.mau .mm-me { position: relative; display: flex; flex-direction: column; gap: 8px; }
.mau .mm-status-row { position: relative; display: flex; justify-content: center; }
.mau .mm-status {
  margin: 0; padding: 7px 18px; text-align: center; font-family: var(--display); font-size: 1.15rem; line-height: 1.15; color: var(--ink-soft);
  background: var(--sheet); border: var(--stroke); border-radius: var(--r-sm); box-shadow: var(--shadow); transition: transform .35s var(--ease-pop);
}
.mau.mine .mm-status { color: var(--ink); font-size: 1.3rem; background: color-mix(in srgb, var(--c) 28%, var(--sheet)); transform: rotate(-1deg); }
.mau .mm-status-row .mm-tape { top: -16px; left: auto; right: calc(50% - 190px); transform: rotate(6deg); animation: none; }

.mau .mm-bar { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 64px; }
.mau .mm-maubtn {
  width: 96px; height: 96px; padding: 0; border-radius: 50%; margin: -14px 0 -10px;
  font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: #f8d21c; letter-spacing: .02em;
  background: radial-gradient(circle at 34% 28%, #ff6a5c 0, #e3262b 52%, #a80f17 100%);
  -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; text-shadow: 2px 2px 0 var(--ink);
  border: 4px solid var(--ink); box-shadow: inset 0 0 0 5px #fffdf7, inset 0 0 0 7px var(--ink), 5px 6px 0 var(--ink); transform: rotate(-8deg);
}
.mau .mm-maubtn span { display: block; transform: rotate(-4deg); }
.mau .mm-maubtn:disabled { opacity: 1; background: radial-gradient(circle at 34% 28%, #f1e4d0, #d8c6ad); color: #9a8a7a; -webkit-text-stroke: 0; text-shadow: none; box-shadow: inset 0 0 0 5px #fffdf7, inset 0 0 0 7px var(--ink), 3px 3px 0 var(--ink); }
.mau .mm-maubtn.ready { animation: mm-mauready 1s var(--ease-pop) infinite; box-shadow: inset 0 0 0 5px #f8d21c, inset 0 0 0 7px var(--ink), 5px 6px 0 var(--ink), 0 0 0 7px #f8d21c99; }
@media (hover: hover) { .mau .mm-maubtn.ready:hover { transform: rotate(-4deg) scale(1.08); } }
.mau .mm-maubtn.said { background: radial-gradient(circle at 34% 28%, #6fe8a3, #2ba84a 60%, #1b7a33); color: #fffdf7; }
@keyframes mm-mauready { 0%, 100% { scale: 1; } 50% { scale: 1.13; } }
.mau .mm-catch { font-family: var(--display); font-weight: 400; font-size: 1.2rem; animation: mm-shake .35s ease-in-out infinite; }
.mau .mm-pass { font-family: var(--display); font-weight: 400; font-size: 1.1rem; }

.mau .mm-hand { position: relative; height: calc(var(--cw) * 1.5 + 50px); margin: 4px 0 24px; }
.mau .mm-h {
  position: absolute; left: 50%; bottom: 8px; margin-left: calc(var(--cw) / -2); cursor: default; outline: none;
  transform: translate(var(--x), calc(var(--y) + var(--lift, 0px))) rotate(var(--r)); transform-origin: 50% 110%;
  filter: drop-shadow(3px 3px 0 var(--ink)); transition: transform .28s var(--ease-pop), filter .2s;
}
.mau.mine .mm-h.ok { --lift: -16px; cursor: pointer; filter: drop-shadow(3px 3px 0 var(--ink)) drop-shadow(0 0 0 var(--sun)); }
.mau.mine .mm-h.ok::after {
  content: ''; position: absolute; inset: -6px; border-radius: 16px; border: 4px solid var(--sun);
  box-shadow: 0 0 0 2.5px var(--ink); pointer-events: none; animation: mm-glow 1.2s ease-in-out infinite;
}
@keyframes mm-glow { 50% { opacity: .55; } }
.mau .mm-h:focus-visible, .mau .mm-h.sel { --lift: -30px; z-index: 50 !important; }
.mau.mine .mm-h.ok:focus-visible, .mau.mine .mm-h.ok.sel { --lift: -40px; }
@media (hover: hover) {
  .mau .mm-h:hover { --lift: -30px; z-index: 50 !important; }
  .mau.mine .mm-h.ok:hover { --lift: -40px; }
}
/* carta levantada con el dedo: un poquito más grande y con marco cobalto */
.mau .mm-h.sel { transform: translate(var(--x), calc(var(--y) + var(--lift, 0px))) rotate(calc(var(--r) * .4)) scale(1.08); }
.mau .mm-h.sel::before { content: ''; position: absolute; inset: -13px; border-radius: 18px; border: 4px solid var(--cobalt); box-shadow: 0 0 0 2.5px var(--ink); pointer-events: none; }
.mau .mm-h:focus-visible::before { content: ''; position: absolute; inset: -10px; border-radius: 18px; border: 3px solid var(--cobalt); }
.mau.mine .mm-h.dim { filter: drop-shadow(3px 3px 0 var(--ink)) saturate(.75) brightness(.94); }
.mau .mm-h.fresh::before { content: '★'; position: absolute; top: -22px; left: 50%; translate: -50% 0; font-size: 1.4rem; color: var(--sun); -webkit-text-stroke: 1.5px var(--ink); }

/* ---- efectos ---- */
.mau .mm-fx { position: fixed; inset: 0; pointer-events: none; z-index: 30; }
.mau .mm-flyer { position: fixed; filter: drop-shadow(5px 6px 0 var(--ink)); will-change: transform; }
.mau .mm-stamp {
  position: fixed; translate: -50% -50%; padding: 6px 18px; white-space: nowrap;
  font-family: var(--display); font-size: 2.6rem; color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill;
  background: var(--mint); border: 4px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg);
  animation: mm-stamp 1.4s var(--ease-pop) both;
}
.mau .mm-stamp.caught { background: var(--tomato); }
@keyframes mm-stamp {
  0% { transform: scale(2.4) rotate(-25deg); opacity: 0; }
  18% { transform: scale(1) rotate(-8deg); opacity: 1; }
  80% { transform: scale(1.05) rotate(-6deg); opacity: 1; }
  100% { transform: scale(.8) rotate(-6deg) translateY(-30px); opacity: 0; }
}
.mau .mm-confetti { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.mau .mm-fx > .mm-confetti { position: fixed; }
.mau .mm-confetti i {
  position: absolute; width: var(--w); height: var(--h); background: var(--bg); border: 1.5px solid var(--ink); border-radius: 2px;
  animation: mm-conf var(--t) cubic-bezier(.2, .6, .4, 1) var(--d) both;
}
@keyframes mm-conf {
  0% { transform: translate(0, 0) rotate(0) scale(.4); }
  30% { transform: translate(calc(var(--dx) * .6), var(--up)) rotate(calc(var(--r) * .4)) scale(1); opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--fall)) rotate(var(--r)); opacity: 0; }
}
.mau .mm-confetti.rain i { animation-name: mm-rain; animation-timing-function: linear; }
@keyframes mm-rain {
  0% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(var(--dx), var(--up)) rotate(calc(var(--r) * .5)); }
  100% { transform: translate(calc(var(--dx) * -.5), var(--fall)) rotate(var(--r)); }
}

/* ---- bitácora ---- */
.mau .mm-aside { gap: 10px; }
.mau .mm-aside h3 { margin: 6px 0 0 4px; }
.mau .mm-log {
  flex: none; max-height: 52vh; min-height: 180px; padding: 8px 12px; font-size: .92rem;
  border-radius: var(--r-sm); box-shadow: var(--shadow); transform: rotate(.6deg);
}
.mau .mm-log li { display: flex; align-items: center; gap: 10px; padding: 6px 4px; font-weight: 600; border-bottom: 2px dashed #1f1a1714; }
.mau .mm-log li:last-child { border-bottom: 0; }
.mau .mm-log li:first-child { font-weight: 800; animation: mm-in .4s var(--ease-pop) both; }
@keyframes mm-in { from { opacity: 0; transform: translateX(-14px) rotate(-2deg); } }
.mau .mm-bullet { flex: none; width: 13px; height: 13px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }
.mau .mm-chip {
  flex: none; min-width: 22px; height: 30px; padding: 0 3px; display: grid; place-items: center; border-radius: 5px;
  font-family: var(--display); font-size: .8rem; color: var(--sheet); -webkit-text-stroke: .6px var(--ink); paint-order: stroke fill;
  background: var(--c); border: 2px solid var(--ink); box-shadow: 1.5px 1.5px 0 var(--ink); rotate: -4deg; white-space: nowrap;
}
.mau .mm-log li.hit { background: color-mix(in srgb, var(--tomato) 16%, transparent); border-radius: 8px; border-bottom-color: transparent; }
.mau .mm-log li.ok { background: color-mix(in srgb, var(--mint) 22%, transparent); border-radius: 8px; border-bottom-color: transparent; }
.mau .mm-log li.sys { color: var(--ink-soft); font-style: italic; }
.mau .mm-tip {
  margin: 4px 0 0; padding: 10px 14px; font-size: .88rem; font-weight: 700; background: color-mix(in srgb, var(--sun) 40%, var(--sheet));
  border: 2px dashed var(--ink); border-radius: var(--r-sm); transform: rotate(-1deg);
}

/* ---- fin ---- */
.mau .mm-win-cards { position: relative; height: 120px; margin: 0 auto 4px; width: 200px; }
.mau .mm-win-cards .mm-card {
  --cw: 70px; position: absolute; left: 50%; top: 8px; margin-left: -35px; filter: drop-shadow(3px 3px 0 var(--ink));
  transform: translateX(calc((var(--i) - 1) * 52px)) rotate(calc((var(--i) - 1) * 14deg));
  animation: mm-deal .6s var(--ease-pop) both; animation-delay: calc(var(--i) * 120ms + .2s);
}
@keyframes mm-deal { from { transform: translateY(80px) rotate(0) scale(.3); opacity: 0; } }
.mau .mm-win-title { font-size: 3.2rem; color: var(--sun); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 5px 0 var(--ink); margin: 0 0 4px; }
.mau .mm-win-name { font-family: var(--display); font-size: 1.5rem; margin: 0 0 12px; }
.mau .mm-rank { list-style: none; padding: 0; margin: 0 auto 20px; display: flex; flex-direction: column; gap: 6px; max-width: 300px; }
.mau .mm-rank li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 12px; border: 2.5px solid var(--ink); border-radius: 10px; background: color-mix(in srgb, var(--c) 25%, var(--sheet)); font-weight: 700; }
.mau .mm-rank li:first-child { background: var(--c); transform: rotate(-1.5deg); }

@media (max-width: 1000px) {
  .mau { grid-template-columns: minmax(0, 1fr) 230px; gap: 18px; --cw: 84px; }
  .mau .mm-center { gap: 30px; }
  .mau .mm-p.top { --cw: 92px; margin: -69px 0 0 -46px; }
}
@media (max-width: 860px) {
  .mau { grid-template-columns: 1fr; }
  .mau .mm-log { max-height: 220px; }
  .mau .mm-seat { min-width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .mau .mm-dir-spin { animation: none; }
}

/* ---- tablet / táctil ---- */
.mau .mm-tip-touch { display: none; }
.mau .mm-play { font-family: var(--display); font-weight: 400; font-size: 1.2rem; padding: 12px 22px; }
.mau .mm-hand, .mau .mm-deck, .mau .mm-wheel { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
@media (pointer: coarse) {
  .mau .mm-tip-touch { display: block; }
  .mau .mm-cancel { min-height: 44px; padding: 8px 18px; }
  .mau .mm-pass, .mau .mm-catch { min-height: 48px; }
}
/* apaisada (1024×768): todo lo de tu turno — mazo, pozo, ¡Mau! y la mano — entra sin scrollear */
@media (max-height: 940px) and (min-width: 861px) {
  .mau { --cw: 84px; gap: 20px; }
  .mau .mm-main { gap: 10px; }
  .mau .mm-opps { min-height: 92px; }
  .mau .mm-seat { padding: 4px 10px 6px; }
  .mau .mm-fan { height: 58px; }
  .mau .mm-mini-back { --cw: 38px; }
  .mau .mm-table { height: clamp(210px, 31vh, 260px); }
  .mau .mm-p.top { --cw: 92px; margin: -69px 0 0 -46px; }
  .mau .mm-bar { min-height: 52px; }
  .mau .mm-maubtn { width: 76px; height: 76px; font-size: 1.3rem; margin: -10px 0 -8px; }
  .mau .mm-hand { height: calc(var(--cw) * 1.5 + 44px); margin: 0 0 6px; }
  .mau .mm-log { max-height: 46vh; }
}
/* vertical (768×1024): una columna; la bitácora abajo y más bajita */
@media (max-width: 860px) {
  .mau { gap: 16px; }
  .mau .mm-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 16px; align-items: start; }
  .mau .mm-aside h3 { grid-column: 1 / -1; }
  .mau .mm-log { max-height: 180px; min-height: 120px; grid-row: span 2; }
}

/* ---- explosión de Saltar / Reversa / +2 / +4 sobre el afectado ---- */
.mau .mm-burst {
  position: fixed; width: 104px; height: 104px; translate: -50% -50%; display: grid; place-items: center; z-index: 6;
  background: #fffdf7; border: 4px solid var(--ink); border-radius: 50%; box-shadow: 0 0 0 7px var(--c), 0 0 0 10px var(--ink), 6px 7px 0 10px var(--ink);
  animation: mm-burst 1.2s var(--ease-pop) both; pointer-events: none;
}
.mau .mm-burst svg { width: 74%; height: 74%; overflow: visible; }
.mau .mm-burst b { font-family: var(--display); font-weight: 400; font-size: 2.6rem; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); border-radius: 50%; width: 100%; height: 100%; display: grid; place-items: center; }
@keyframes mm-burst {
  0% { transform: scale(.2) rotate(-40deg); opacity: 0; }
  25% { transform: scale(1.15) rotate(8deg); opacity: 1; }
  75% { transform: scale(1) rotate(0); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
