*{box-sizing:border-box}html,body{overscroll-behavior:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;touch-action:manipulation;background:linear-gradient(#ffd1e8 0%,#ffb6d5 60%,#ff9ec7 100%);height:100%;margin:0;padding:0;font-family:Trebuchet MS,Segoe UI,sans-serif;overflow:hidden}.pantalla{height:100dvh;padding:max(.6rem, env(safe-area-inset-top)) .6rem max(.8rem, env(safe-area-inset-bottom));flex-direction:column;align-items:center;gap:.6rem;display:flex}.barra{flex:none;align-items:center;gap:.6rem;width:100%;max-width:560px;display:flex}.volver{color:#fff;background:#ff5c9c;border-radius:14px;flex:none;place-items:center;width:48px;height:48px;font-size:1.5rem;font-weight:700;text-decoration:none;display:grid;box-shadow:0 4px #d63f7c}.volver:active{transform:translateY(2px);box-shadow:0 2px #d63f7c}.jugadores{flex:auto;gap:.5rem;display:flex}.ficha-jugador{color:#8c2d5c;background:#ffffff80;border:3px solid #0000;border-radius:999px;flex:1 1 0;align-items:center;gap:.35rem;min-width:0;padding:.3rem .7rem .3rem .35rem;font-size:1rem;font-weight:700;transition:background .2s,transform .2s,border-color .2s;display:flex}.ficha-jugador img{object-fit:contain;flex:none;width:34px;height:34px}.ficha-jugador span{text-overflow:ellipsis;white-space:nowrap;flex:auto;overflow:hidden}.ficha-jugador b{white-space:nowrap;font-size:1.05rem}.ficha-jugador.activo{background:#fff;border-color:#ff5c9c;transform:scale(1.04)}#chip-1.activo{border-color:#3b6fd8}.turno{color:#8c2d5c;text-align:center;min-height:1.3em;margin:auto 0 0;font-size:1.1rem;font-weight:700}.tablero{background:linear-gradient(#8f6fe8 0%,#6a4fd0 100%);border:5px solid #fff;border-radius:18px;flex:none;grid-template-columns:repeat(7,1fr);gap:1.5%;width:min(94vw,500px,116.667dvh - 233.333px);padding:2.5%;display:grid;box-shadow:0 10px 24px #a0286459}.hueco{aspect-ratio:1;background:#ffe3f0;border-radius:50%;position:relative;box-shadow:inset 0 3px 6px #3c145a59}.tablero.puede .hueco:not(.llena){cursor:pointer}@media (hover:hover){.tablero.puede:has(.hueco[data-c="0"]:not(.llena):hover) .hueco[data-c="0"],.tablero.puede:has(.hueco[data-c="1"]:not(.llena):hover) .hueco[data-c="1"],.tablero.puede:has(.hueco[data-c="2"]:not(.llena):hover) .hueco[data-c="2"],.tablero.puede:has(.hueco[data-c="3"]:not(.llena):hover) .hueco[data-c="3"],.tablero.puede:has(.hueco[data-c="4"]:not(.llena):hover) .hueco[data-c="4"],.tablero.puede:has(.hueco[data-c="5"]:not(.llena):hover) .hueco[data-c="5"],.tablero.puede:has(.hueco[data-c="6"]:not(.llena):hover) .hueco[data-c="6"]{background:#fff}}.ficha{visibility:hidden;border-radius:50%;place-items:center;display:grid;position:absolute;inset:0}.ficha.j0,.ficha.j1{visibility:visible}.ficha.j0{background:radial-gradient(circle at 35% 30%,#ff9ec7,#ff5c9c 70%);box-shadow:inset 0 -4px #d63f7c}.ficha.j1{background:radial-gradient(circle at 35% 30%,#8fb4ff,#3b6fd8 70%);box-shadow:inset 0 -4px #2a52a8}.ficha img{object-fit:contain;pointer-events:none;width:78%;height:78%}.ficha.cae{z-index:2;animation:cae calc(.12s + 60ms * var(--caida)) ease-in both}@keyframes cae{0%{translate:0 calc(-104% * var(--caida) - 20%)}85%{translate:0}92%{translate:0 -8%}to{translate:0}}.ficha.gana{z-index:3;animation:.8s ease-in-out infinite brilla;box-shadow:0 0 0 4px #ffd84d,0 0 16px 4px #ffd84dcc}@keyframes brilla{0%,to{scale:1}50%{scale:1.12}}.aviso{color:#8c2d5c;text-align:center;min-height:1.4em;margin:0 0 auto;font-size:1.2rem;font-weight:700}.boton-modo{color:#fff;font:inherit;cursor:pointer;background:#ff5c9c;border:none;border-radius:999px;padding:.8rem 1.3rem;font-size:1.15rem;font-weight:700;box-shadow:0 5px #d63f7c}.boton-modo:active{transform:translateY(4px);box-shadow:0 1px #d63f7c}.mensaje{z-index:10;text-align:center;background:#ffd6ea;flex-direction:column;justify-content:center;align-items:center;gap:.6rem;padding:1rem;display:flex;position:fixed;inset:0}.img-msg{width:30%;max-width:140px;animation:.9s ease-in-out infinite brinco-msg}@keyframes brinco-msg{0%,to{transform:translateY(0)}50%{transform:translateY(-14px)}}.titulo-msg{color:#ff5c9c;margin:0;font-size:clamp(1.5rem,7vw,2.3rem);font-weight:700}.sub-msg{color:#8c2d5c;max-width:420px;margin:0;font-size:1.05rem}.modos{flex-wrap:wrap;justify-content:center;gap:.7rem;margin-top:.4rem;display:flex}.escondido{display:none!important}@media (prefers-reduced-motion:reduce){.img-msg,.ficha.cae,.ficha.gana{animation:none}}
