/* Dueño de Curramba · DOMINÓ KILLERO */
:root { --dk-madera: #8a4b1f; --dk-marfil: #f7f1e3; --dk-pip: #1f1b16; --dk-oro: #f5b400; --dk-azul: #0b1f4b; }
body.dk { overflow-x: hidden; }

/* ── inicio ── */
.dk-hero { padding: 10px 0 6px; }
.dk-logo { font-family: 'Lilita One', 'Nunito', sans-serif; font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1; letter-spacing: .01em; text-shadow: 0 4px 0 rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.dk-logo b { color: #fde68a; } .dk-logo em { font-style: normal; color: #fb7185; }
.dk-fichas-logo { display: inline-flex; gap: 4px; transform: rotate(-8deg); }
.ficha-logo { width: 16px; height: 32px; border-radius: 4px; background: var(--dk-marfil); box-shadow: 0 2px 0 #b9ad96, 0 4px 8px rgba(0,0,0,.4); position: relative; }
.ficha-logo::before, .ficha-logo::after { content: ''; position: absolute; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--dk-pip); transform: translateX(-50%); }
.ficha-logo::before { top: 6px; } .ficha-logo::after { bottom: 6px; }
.ficha-logo:nth-child(2) { transform: translateY(4px); } .ficha-logo:nth-child(3) { transform: translateY(-3px); }
.dk-aviso-cuenta { margin: 10px auto 0; max-width: 520px; font-size: .9rem; background: rgba(253,230,138,.12); border: 1px solid rgba(253,230,138,.35); border-radius: 12px; padding: 8px 12px; }
.dk-inv-aviso { padding: 14px 18px; margin-bottom: 12px; font-weight: 700; }
.dk-inv { background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.4); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.dk-elige { display: grid; gap: 10px; }
.dk-mesas { grid-template-columns: repeat(4, 1fr); } .dk-fichas-op { grid-template-columns: repeat(6, 1fr); }
.dk-op { border: 2px solid var(--panel-borde); background: rgba(0,0,0,.25); border-radius: 14px; padding: 6px; color: var(--texto); font: inherit; font-weight: 800; font-size: .72rem; cursor: pointer; display: flex; flex-direction: column; gap: 6px; align-items: center; transition: transform .15s, border-color .15s; }
.dk-op img { width: 100%; height: auto; border-radius: 8px; display: block; }
.dk-op:hover { transform: translateY(-2px); } .dk-op.activa { border-color: var(--dk-oro); background: rgba(245,180,0,.12); box-shadow: 0 0 0 3px rgba(245,180,0,.25); }
.dk-fila-op { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.dk-seg { display: flex; background: rgba(0,0,0,.3); border-radius: 12px; padding: 4px; gap: 4px; }
.dk-seg button { flex: 1; border: 0; border-radius: 9px; padding: 10px 6px; background: transparent; color: var(--suave); font: inherit; font-weight: 800; cursor: pointer; }
.dk-seg button.activa { background: linear-gradient(180deg, #fbbf24, #f97316); color: #fff; box-shadow: 0 3px 0 #9a3412; }
.dk-check { display: flex; gap: 8px; align-items: flex-start; margin: 14px 4px 0; font-size: .9rem; color: var(--suave); cursor: pointer; }
.dk-botones { display: grid; gap: 10px; margin-top: 16px; }
.dk-lista-mesas { display: grid; gap: 8px; }
.dk-mesa-fila { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; background: rgba(0,0,0,.25); border: 1px solid var(--panel-borde); border-radius: 12px; padding: 8px 10px; color: var(--texto); font: inherit; cursor: pointer; }
.dk-mesa-fila img { width: 44px; height: 44px; border-radius: 8px; }
.dk-mesa-fila b { display: block; } .dk-mesa-fila small { color: var(--suave); }
.dk-reglas { padding: 16px 20px; margin-top: 14px; } .dk-reglas h3 { margin: 0 0 8px; } .dk-reglas ul { margin: 0; padding-left: 18px; color: var(--suave); font-size: .92rem; } .dk-reglas li { margin: 4px 0; }
@media (max-width: 560px) { .dk-mesas { grid-template-columns: repeat(2, 1fr); } .dk-fichas-op { grid-template-columns: repeat(3, 1fr); } .dk-fila-op { grid-template-columns: 1fr; } }

/* ── la mesa ── */
#dk-mesa { position: fixed; inset: 0; display: flex; flex-direction: column; background: radial-gradient(1200px 700px at 50% -10%, #2b1a4f, #0f0a1f 70%); color: #fff; z-index: 5; }
#dk-mesa[hidden] { display: none; }
.dk-barra { display: flex; align-items: center; gap: 10px; padding: 6px 12px; padding-top: calc(6px + env(safe-area-inset-top, 0px)); background: rgba(0,0,0,.35); border-bottom: 1px solid rgba(255,255,255,.08); flex: 0 0 auto; }
.dk-marca { color: #fff; text-decoration: none; font-family: 'Lilita One', sans-serif; font-size: 1.15rem; white-space: nowrap; } .dk-marca b { color: #fde68a; }
.dk-marcador { flex: 1; display: flex; justify-content: center; gap: 14px; align-items: center; min-width: 0; }
.dk-equipo { display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.3); border-radius: 12px; padding: 3px 10px; font-weight: 800; white-space: nowrap; font-size: .85rem; max-width: 46%; overflow: hidden; }
.dk-equipo b { font-size: 1.15rem; color: #fde68a; font-variant-numeric: tabular-nums; } .dk-equipo small { color: var(--suave); overflow: hidden; text-overflow: ellipsis; }
.dk-equipo.mio { border: 1px solid rgba(253,230,138,.5); }
.dk-meta { font-size: .75rem; color: var(--suave); white-space: nowrap; }
.dk-barra-der { display: flex; gap: 6px; align-items: center; }
.dk-codigo { font-weight: 900; letter-spacing: .15em; background: rgba(255,255,255,.1); padding: 4px 8px; border-radius: 8px; font-size: .85rem; }
#btn-chat { position: relative; } #btn-chat i { position: absolute; top: -4px; right: -4px; background: #ef4444; color: #fff; border-radius: 10px; font-size: .65rem; font-style: normal; padding: 1px 5px; font-weight: 900; }
.dk-cuerpo { flex: 1; display: flex; min-height: 0; position: relative; }
.dk-juego { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.dk-escena { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 60px 110px 8px; }
.dk-mesa-img { position: relative; width: min(100%, calc(100dvh - 300px)); max-width: 760px; aspect-ratio: 1 / 1; filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); }
.dk-mesa-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
#dk-mesa.killami .dk-escena { padding-top: 54px; } #dk-mesa.killami .dk-mesa-img { width: min(100%, calc(100dvh - 400px)); }
.dk-tapete { position: absolute; left: 15%; top: 15.5%; width: 70%; height: 66.5%; }
.dk-centro-aviso { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(11,31,75,.85); border: 2px solid var(--dk-oro); border-radius: 14px; padding: 10px 16px; font-weight: 800; text-align: center; max-width: 80%; font-size: .95rem; z-index: 3; }
.dk-centro-aviso[hidden] { display: none; }
.dk-pozo { position: absolute; right: 2%; bottom: 2%; display: flex; gap: 2px; align-items: flex-end; z-index: 2; cursor: pointer; }
.dk-pozo[hidden] { display: none; }
.dk-pozo .dkf { --u: 18px; margin-left: -24px; box-shadow: 0 1px 0 #0b1220, 2px 0 4px rgba(0,0,0,.55); } .dk-pozo .dkf:first-child { margin-left: 0; }
.dk-pozo span { font-size: .75rem; font-weight: 900; background: rgba(0,0,0,.6); padding: 2px 6px; border-radius: 8px; margin-left: 6px; }

/* fichas */
.dkf { --u: 28px; position: relative; display: inline-flex; width: var(--u); height: calc(var(--u) * 2); background: linear-gradient(160deg, #fffdf6, #efe6d0); border-radius: calc(var(--u) * .14); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 2px 0 #c7b99d, 0 3px 6px rgba(0,0,0,.45); flex-direction: column; box-sizing: border-box; user-select: none; }
.dkf.h { width: calc(var(--u) * 2); height: var(--u); flex-direction: row; }
.dkf .mitad { flex: 1; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); padding: 14%; gap: 0; }
.dkf.h .mitad { padding: 7% 14%; }
.dkf .mitad + .mitad::before { content: ''; position: absolute; left: 12%; right: 12%; top: -1px; height: 2px; background: rgba(0,0,0,.25); border-radius: 2px; }
.dkf.h .mitad + .mitad::before { left: -1px; right: auto; top: 12%; bottom: 12%; width: 2px; height: auto; }
.dkf .mitad i { display: block; border-radius: 50%; background: var(--dk-pip); width: 70%; height: 70%; margin: auto; visibility: hidden; box-shadow: inset 0 -1px 0 rgba(255,255,255,.25); }
.mitad.p1 i:nth-child(5), .mitad.p3 i:nth-child(5), .mitad.p5 i:nth-child(5) { visibility: visible; }
.mitad.p2 i:nth-child(1), .mitad.p2 i:nth-child(9), .mitad.p3 i:nth-child(1), .mitad.p3 i:nth-child(9), .mitad.p4 i:nth-child(1), .mitad.p4 i:nth-child(9), .mitad.p5 i:nth-child(1), .mitad.p5 i:nth-child(9), .mitad.p6 i:nth-child(1), .mitad.p6 i:nth-child(9) { visibility: visible; }
.mitad.p4 i:nth-child(3), .mitad.p4 i:nth-child(7), .mitad.p5 i:nth-child(3), .mitad.p5 i:nth-child(7), .mitad.p6 i:nth-child(3), .mitad.p6 i:nth-child(7) { visibility: visible; }
.mitad.p6 i:nth-child(4), .mitad.p6 i:nth-child(6) { visibility: visible; }
.dkf.h .mitad.p6 i:nth-child(4), .dkf.h .mitad.p6 i:nth-child(6) { visibility: hidden; } .dkf.h .mitad.p6 i:nth-child(2), .dkf.h .mitad.p6 i:nth-child(8) { visibility: visible; }
.dkf.dorso { background: #1e293b center / 100% 100% no-repeat; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 2px 0 #0b1220, 0 3px 6px rgba(0,0,0,.5); }
.dkf.dorso .mitad { display: none; }
.dkf.tab { position: absolute; margin: 0; }
.dkf.tab.llega { visibility: hidden; }
.dkf.tab.ultima { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 2px 0 #c7b99d, 0 0 0 3px rgba(253,230,138,.9), 0 0 14px rgba(253,230,138,.7); }

/* asientos */
.dk-asiento { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 250px; z-index: 2; }
.dk-asiento.izq, .dk-asiento.der { width: 110px; }
.dk-asiento.top { top: 2px; left: 50%; transform: translateX(-50%); } .dk-asiento.izq { left: 4px; top: 50%; transform: translateY(-50%); } .dk-asiento.der { right: 4px; top: 50%; transform: translateY(-50%); }
.dk-asiento.abajo { display: none; }
.dk-av { position: relative; width: 52px; height: 52px; border-radius: 50%; background: rgba(0,0,0,.35); display: grid; place-items: center; border: 3px solid rgba(255,255,255,.25); transition: box-shadow .3s, border-color .3s; }
.dk-av img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.dk-asiento.turno .dk-av { border-color: var(--dk-oro); box-shadow: 0 0 0 4px rgba(245,180,0,.3), 0 0 22px rgba(245,180,0,.8); animation: dkTurno 1.2s ease-in-out infinite; }
@keyframes dkTurno { 50% { box-shadow: 0 0 0 7px rgba(245,180,0,.15), 0 0 30px rgba(245,180,0,.9); } }
.dk-asiento.off .dk-av { opacity: .55; filter: grayscale(.8); }
.dk-nombre { font-weight: 900; font-size: .78rem; background: rgba(0,0,0,.55); padding: 2px 8px; border-radius: 10px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-nombre.yo { background: rgba(245,180,0,.85); color: #1a1200; }
.dk-nombre.pareja { border: 1px solid rgba(253,230,138,.6); }
.dk-backs { display: flex; margin-top: 4px; height: 36px; align-items: flex-end; }
.dk-backs .dorso { --u: 34px; margin-left: -40px; box-shadow: 0 1px 0 #0b1220, 2px 0 5px rgba(0,0,0,.6); transform: rotate(-3deg); } .dk-backs .dorso:first-child { margin-left: 0; }
.dk-backs .dorso:nth-child(even) { transform: rotate(2deg) translateY(-1px); }
/* a los lados, las fichas del rival van apiladas en columna */
.dk-asiento.izq .dk-backs, .dk-asiento.der .dk-backs { flex-direction: column; height: auto; align-items: center; }
.dk-asiento.izq .dk-backs .dorso, .dk-asiento.der .dk-backs .dorso { --u: 32px; margin-left: 0; margin-top: -20px; transform: rotate(-2deg); } .dk-asiento.izq .dk-backs .dorso:first-child, .dk-asiento.der .dk-backs .dorso:first-child { margin-top: 0; }
.dk-asiento.izq .dk-backs .dorso:nth-child(even), .dk-asiento.der .dk-backs .dorso:nth-child(even) { transform: rotate(2deg); }
.dk-cant { font-size: .7rem; color: var(--suave); }
.dk-globo { position: absolute; top: -8px; left: 50%; transform: translate(-50%, -100%); background: #fff; color: #1a1200; font-weight: 800; font-size: .8rem; padding: 6px 10px; border-radius: 12px; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.4); animation: dkGlobo .25s ease both; z-index: 5; max-width: 220px; white-space: normal; text-align: center; min-width: 90px; }
.dk-globo::after { content: ''; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #fff; border-bottom: 0; }
.dk-asiento.izq .dk-globo { left: 60px; transform: translate(0, -100%); } .dk-asiento.izq .dk-globo::after { left: 20px; }
.dk-asiento.der .dk-globo { left: auto; right: 60px; transform: translate(0, -100%); } .dk-asiento.der .dk-globo::after { left: auto; right: 20px; transform: none; }
.dk-asiento.top .dk-globo { top: 10px; left: 100%; transform: translate(6px, 0); animation: none; } .dk-asiento.top .dk-globo::after { left: -6px; bottom: auto; top: 12px; transform: none; border: 6px solid transparent; border-right-color: #fff; border-left: 0; }
.dk-asiento.yo-asiento .dk-globo { top: auto; bottom: 100%; }
@keyframes dkGlobo { from { opacity: 0; transform: translate(-50%, -80%) scale(.8); } }
.dk-asiento.izq .dk-globo, .dk-asiento.der .dk-globo { animation: none; }
.dk-vuelo { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.dk-vuelo .dkf { position: absolute; transition: transform .55s cubic-bezier(.2,.8,.2,1), width .55s, height .55s; will-change: transform; }
.dk-vuelo .dkf.fuerte { transition: transform .26s cubic-bezier(.5,0,1,.4); filter: drop-shadow(0 10px 8px rgba(0,0,0,.5)); }
.dk-mesa-img.golpe { animation: dkGolpe .6s cubic-bezier(.2,.9,.3,1); }
@keyframes dkGolpe { 0% { transform: translate(0,0) scale(1) } 8% { transform: translate(-14px, 9px) rotate(-1.6deg) scale(1.025) } 20% { transform: translate(13px, -7px) rotate(1.3deg) } 32% { transform: translate(-9px, 6px) rotate(-.8deg) } 45% { transform: translate(7px, -4px) rotate(.5deg) } 60% { transform: translate(-4px, 3px) } 75% { transform: translate(2px, -2px) } 100% { transform: none } }
.dk-escena.golpe { animation: dkGolpeEsc .5s ease-out; }
@keyframes dkGolpeEsc { 10% { filter: brightness(1.35) } 100% { filter: none } }
.dk-onda { position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 4px solid rgba(253,230,138,.95); transform: translate(-50%, -50%) scale(.3); animation: dkOnda .65s ease-out forwards; pointer-events: none; box-shadow: 0 0 20px rgba(253,230,138,.8); }
@keyframes dkOnda { to { transform: translate(-50%, -50%) scale(9); opacity: 0; border-width: 1px; } }
.dk-chispa { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fde68a; box-shadow: 0 0 8px #fbbf24; transform: translate(-50%, -50%); animation: dkChispa .6s ease-out forwards; pointer-events: none; }
@keyframes dkChispa { to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.2); opacity: 0; } }
.dk-vuelo .dkf.oro { box-shadow: 0 0 0 3px #fde68a, 0 0 24px 8px rgba(251,191,36,.9), 0 3px 6px rgba(0,0,0,.45); }
.dkf.tab.golpe { animation: dkPop .5s ease-out; }
@keyframes dkPop { 0% { transform: scale(1.5); box-shadow: 0 0 0 6px rgba(253,230,138,.9), 0 0 30px rgba(253,230,138,1); } 100% { transform: none; } }

/* mi mano */
.dk-mano-zona { flex: 0 0 auto; padding: 6px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.45)); display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.dk-mi-globo { position: absolute; left: 50%; bottom: calc(100% - 4px); transform: translateX(-50%); background: #fff; color: #1a1200; font-weight: 800; font-size: .85rem; padding: 6px 12px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.4); z-index: 4; animation: dkGlobo .25s ease both; max-width: 80%; text-align: center; }
.dk-mi-globo::after { content: ''; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #fff; border-bottom: 0; }
.dk-turno-aviso { font-weight: 900; font-size: .9rem; min-height: 22px; display: flex; align-items: center; gap: 8px; }
.dk-turno-aviso.mio { color: #fde68a; } .dk-turno-aviso .reloj { font-variant-numeric: tabular-nums; background: rgba(0,0,0,.4); padding: 1px 8px; border-radius: 8px; font-size: .8rem; }
.dk-mano { display: flex; gap: 6px; justify-content: center; flex-wrap: nowrap; max-width: 100%; }
.dk-mano .dkf { --u: clamp(30px, 6vw, 44px); cursor: pointer; transition: transform .18s, box-shadow .18s, opacity .2s; }
.dk-mano .dkf.apagada { opacity: .5; filter: saturate(.6); cursor: not-allowed; }
.dk-mano .dkf.jugable:hover, .dk-mano .dkf.sel { transform: translateY(-10px); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 2px 0 #c7b99d, 0 0 0 3px #fde68a, 0 8px 18px rgba(0,0,0,.5); }
.dk-mano .dkf.obliga { animation: dkObliga 1s ease-in-out infinite; }
@keyframes dkObliga { 50% { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 2px 0 #c7b99d, 0 0 0 4px #22c55e, 0 0 18px #22c55e; } }
.dk-acciones { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; min-height: 0; }
.dk-acciones:empty { display: none; }
.dk-lado { display: flex; gap: 8px; align-items: center; background: rgba(0,0,0,.5); padding: 6px 10px; border-radius: 12px; font-weight: 800; font-size: .9rem; }

/* lateral: puntos + chat */
.dk-lateral { flex: 0 0 300px; width: 300px; min-width: 0; display: flex; flex-direction: column; background: rgba(0,0,0,.35); border-left: 1px solid rgba(255,255,255,.08); min-height: 0; }
.dk-lat-cab { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.dk-lat-cab button { display: none; }
.dk-puntos { padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.dk-puntos table { width: 100%; border-collapse: collapse; } .dk-puntos td { padding: 2px 4px; } .dk-puntos td:last-child { text-align: right; font-weight: 900; font-variant-numeric: tabular-nums; }
.dk-puntos .ganada { color: #86efac; }
.dk-chat { list-style: none; margin: 0; padding: 8px 10px; flex: 1; overflow-y: auto; font-size: .88rem; display: flex; flex-direction: column; gap: 5px; }
.dk-chat li { background: rgba(255,255,255,.06); border-radius: 10px; padding: 5px 9px; line-height: 1.3; }
.dk-chat li b { color: #fde68a; } .dk-chat li.mio { background: rgba(245,180,0,.18); } .dk-chat li.sis { background: transparent; color: var(--suave); font-size: .8rem; text-align: center; }
.dk-chat li small { color: var(--suave); font-size: .7rem; margin-left: 6px; }
.dk-frases { display: flex; gap: 5px; overflow-x: auto; max-width: 100%; flex-wrap: nowrap; padding: 6px 8px; scrollbar-width: thin; }
.dk-frases button { flex: 0 0 auto; border: 1px solid var(--panel-borde); background: rgba(255,255,255,.08); color: #fff; border-radius: 999px; padding: 5px 10px; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.dk-frases button:hover { background: rgba(245,180,0,.3); }
.dk-chat-form { display: flex; gap: 6px; padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px)); }
.dk-chat-form input { flex: 1; min-width: 0; border-radius: 10px; border: 1px solid var(--panel-borde); background: rgba(0,0,0,.35); color: #fff; padding: 8px 10px; font: inherit; }

/* sala de espera */
.dk-lobby { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.55); z-index: 8; overflow: auto; }
.dk-lobby[hidden] { display: none; }
.dk-lobby-caja { width: 100%; max-width: 520px; padding: 18px 20px; }
.dk-lobby-caja h2 { margin: 0 0 4px; } .dk-lobby-caja h2 span { color: #fde68a; letter-spacing: .12em; }
.dk-lobby-enlace { display: flex; gap: 6px; margin: 10px 0; } .dk-lobby-enlace input { flex: 1; min-width: 0; font-size: .8rem; padding: 10px; }
.dk-sillas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 8px 0 12px; }
.dk-silla { display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.3); border-radius: 12px; padding: 8px; min-height: 58px; border: 1px dashed rgba(255,255,255,.2); }
.dk-silla.ocupada { border-style: solid; } .dk-silla img { width: 40px; height: 40px; border-radius: 50%; }
.dk-silla b { display: block; font-size: .9rem; } .dk-silla small { color: var(--suave); font-size: .75rem; } .dk-silla .x { margin-left: auto; }
.dk-lobby-botones { display: flex; gap: 8px; flex-wrap: wrap; }
.dk-lobby-botones .btn { flex: 1; }

/* fin de mano / partida */
.dk-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.6); z-index: 9; padding: 14px; overflow: auto; }
.dk-overlay[hidden] { display: none; }
.dk-overlay-caja { width: 100%; max-width: 480px; padding: 18px 20px; text-align: center; animation: aparecer .3s ease both; }
.dk-overlay-caja h2 { margin: 0 0 6px; font-family: 'Lilita One', sans-serif; letter-spacing: .02em; font-size: 2rem; }
.dk-overlay-caja h2.gana { color: #fde68a; } .dk-overlay-caja h2.pierde { color: #fca5a5; }
.dk-res-filas { text-align: left; margin: 10px 0; display: grid; gap: 6px; }
.dk-res-fila { display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.3); border-radius: 10px; padding: 6px 8px; font-size: .88rem; }
.dk-res-fila .dkf { --u: 14px; } .dk-res-fila .fichas { display: flex; gap: 3px; flex-wrap: wrap; margin-left: auto; }
.dk-res-fila b.pips { min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; }
.dk-premio { text-align: left; background: rgba(0,0,0,.3); border-radius: 12px; padding: 10px 12px; margin: 10px 0; font-size: .9rem; }
.dk-premio ul { margin: 6px 0 0; padding-left: 18px; } .dk-premio .xp { font-size: 1.3rem; font-weight: 900; color: #fde68a; }
.dk-logro { display: flex; gap: 8px; align-items: center; background: rgba(245,180,0,.15); border: 1px solid rgba(245,180,0,.4); border-radius: 10px; padding: 6px 8px; margin-top: 6px; }
.dk-logro span { font-size: 1.5rem; }
.dk-cuenta-regresiva { font-size: .85rem; color: var(--suave); margin-top: 8px; }

/* móvil */
@media (max-width: 860px) {
  .dk-lateral { position: absolute; inset: 0; z-index: 7; flex: none; width: 100%; background: rgba(15,10,31,.97); transform: translateY(100%); transition: transform .25s; }
  .dk-lateral.abierto { transform: none; }
  .dk-lat-cab button { display: inline-block; }
}
@media (max-width: 640px) {
  /* celular: la mesa ocupa todo el ancho; los rivales de los lados van sobre el marco de madera */
  .dk-escena { padding: 96px 0 2px; align-items: flex-start; }
  .dk-mesa-img { width: min(100%, calc(100dvh - 300px)); max-width: none; }
  .dk-escena { min-height: 0; }
  .dk-asiento { width: 200px; } .dk-asiento.izq, .dk-asiento.der { width: 66px; } .dk-av { width: 42px; height: 42px; } .dk-av img { width: 36px; height: 36px; }
  .dk-asiento.top { top: 0; }
  .dk-backs { height: 28px; } .dk-backs .dorso { --u: 26px; margin-left: -30px; }
  .dk-asiento.izq .dk-backs .dorso, .dk-asiento.der .dk-backs .dorso { --u: 24px; margin-left: 0; margin-top: -15px; }
  .dk-pozo .dkf { --u: 16px; margin-left: -21px; }
  .dk-asiento.izq { left: 0; top: 46%; } .dk-asiento.der { right: 0; top: 46%; }
  .dk-nombre { font-size: .66rem; max-width: 66px; padding: 1px 5px; } .dk-asiento.top .dk-nombre { max-width: 160px; font-size: .74rem; }
  .dk-cant { font-size: .62rem; }
  .dk-nombre { font-size: .7rem; max-width: 96px; }
  .dk-globo { font-size: .72rem; min-width: 70px; max-width: 160px; }
  .dk-barra { gap: 6px; padding: 4px 8px; padding-top: calc(4px + env(safe-area-inset-top, 0px)); } .dk-barra-der { gap: 4px; } .dk-barra-der .btn { padding: 4px 7px; min-width: 0; }
  .dk-marcador { gap: 4px; } .dk-equipo { font-size: .68rem; padding: 2px 6px; gap: 4px; flex: 0 1 auto; } .dk-equipo b { font-size: 1rem; } .dk-equipo small { max-width: 72px; } .dk-marca { font-size: 1rem; } .dk-marca .ficha-logo { display: none; } .dk-codigo { display: none; }
  #dk-mesa.killami .dk-marca { font-size: 0; } #dk-mesa.killami .dk-marca b { font-size: 1rem; } #dk-mesa.killami .dk-equipo small { display: none; } #dk-mesa.killami .dk-equipo { max-width: none; }
  .dk-mano { gap: 4px; }
  .dk-sillas { grid-template-columns: 1fr; }
}
@media (max-height: 640px) { .dk-mano .dkf { --u: 30px; } .dk-escena { padding-top: 44px; } }

/* ── inicio: modos ── */
.dk-juegas-como { margin: 0 4px; font-size: .95rem; }
.dk-modos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dk-modo { text-align: left; border: 2px solid var(--panel-borde); background: rgba(0,0,0,.25); border-radius: 14px; padding: 12px; color: var(--texto); font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.dk-modo b { font-size: 1rem; } .dk-modo small { color: var(--suave); line-height: 1.35; } .dk-modo small a { color: #fde68a; }
.dk-modo.activa { border-color: var(--dk-oro); background: rgba(245,180,0,.12); box-shadow: 0 0 0 3px rgba(245,180,0,.25); }
.dk-poderes-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.dk-poder-info { display: flex; gap: 10px; background: rgba(0,0,0,.25); border-radius: 12px; padding: 8px 10px; font-size: .86rem; }
.dk-poder-info .ico { font-size: 1.5rem; flex: 0 0 auto; } .dk-poder-info p { margin: 2px 0; color: var(--suave); } .dk-poder-info em { color: #fde68a; font-style: normal; font-size: .8rem; } .dk-poder-info small { color: var(--suave); font-weight: 700; }
@media (max-width: 560px) { .dk-modos, .dk-poderes-lista { grid-template-columns: 1fr; } }

/* ── Killami en la mesa ── */
.dk-flow { display: flex; gap: 3px; align-items: center; margin-top: 2px; }
.dk-flow i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); }
.dk-flow i.on { background: radial-gradient(circle at 35% 35%, #fff7c2, #f59e0b 60%, #b45309); border-color: #fde68a; box-shadow: 0 0 6px rgba(251,191,36,.9); }
.dk-flow .dk-escudo { font-size: .85rem; margin-left: 4px; filter: drop-shadow(0 0 4px #60a5fa); }
.dk-flow.mio { gap: 5px; margin: 0 0 4px; } .dk-flow.mio b { font-size: .8rem; margin-right: 4px; color: #fde68a; } .dk-flow.mio i { width: 14px; height: 14px; }
.dk-poderes { width: 100%; max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0 0; }
.dk-poderes[hidden] { display: none; }
.dk-pbtns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.dk-pbtn { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 76px; padding: 5px 6px; border-radius: 12px; border: 1px solid rgba(253,230,138,.35); background: rgba(245,180,0,.14); color: #fff; font: inherit; cursor: pointer; transition: transform .15s; }
.dk-pbtn .ico { font-size: 1.25rem; line-height: 1; } .dk-pbtn b { font-size: .68rem; white-space: nowrap; } .dk-pbtn small { font-size: .66rem; color: #fde68a; }
.dk-pbtn.ok:hover { transform: translateY(-2px); background: rgba(245,180,0,.3); } .dk-pbtn.ok { animation: dkPulso 2s ease-in-out infinite; }
@keyframes dkPulso { 50% { box-shadow: 0 0 10px rgba(251,191,36,.6); } }
.dk-pbtn.no { opacity: .45; cursor: not-allowed; }
.dk-pnota { color: var(--suave); font-size: .72rem; } .dk-pnota a { color: #fde68a; }
.dk-descartes { position: absolute; left: 3%; bottom: 2%; display: flex; gap: 3px; align-items: center; flex-wrap: wrap; max-width: 60%; z-index: 2; background: rgba(0,0,0,.45); border-radius: 10px; padding: 4px 6px; }
.dk-descartes[hidden] { display: none; } .dk-descartes small { font-size: .65rem; color: var(--suave); margin-right: 4px; } .dk-descartes .dkf { --u: 13px; }
.dk-sentido { position: absolute; left: 50%; top: 2%; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 4px; background: rgba(0,0,0,.45); border-radius: 10px; padding: 2px 8px; font-size: .7rem; color: var(--suave); }
.dk-sentido[hidden] { display: none; } .dk-sentido span { font-size: 1.1rem; color: #fde68a; display: inline-block; } .dk-sentido span.rev { color: #f87171; }
.dk-sentido.fx-giro span { animation: dkGira 1.2s ease; } @keyframes dkGira { to { transform: rotate(-720deg); } }
.dk-equipo b.manos { letter-spacing: .1em; font-size: 1rem; }
/* panel de poder */
.dk-poder-panel { position: absolute; inset: 0; z-index: 9; display: grid; place-items: end center; background: rgba(0,0,0,.45); padding: 10px; overflow: auto; }
.dk-poder-panel[hidden] { display: none; }
.dk-pp { width: 100%; max-width: 520px; padding: 14px 16px; animation: aparecer .25s ease both; max-height: 100%; overflow: auto; }
.dk-pp h3 { margin: 0 0 6px; } .dk-pp p { margin: 8px 0; } .dk-pp em { color: #fde68a; font-style: normal; }
.dk-pp-cab { display: flex; gap: 10px; align-items: flex-start; } .dk-pp-cab .ico { font-size: 1.8rem; } .dk-pp-cab small { display: block; color: var(--suave); font-size: .82rem; }
.dk-pp-botones { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.dk-objetivos { display: flex; gap: 8px; flex-wrap: wrap; }
.dk-objetivo { display: flex; flex-direction: column; align-items: center; gap: 2px; background: rgba(0,0,0,.3); border: 2px solid var(--panel-borde); border-radius: 12px; padding: 8px 10px; color: #fff; font: inherit; cursor: pointer; min-width: 110px; }
.dk-objetivo img { width: 40px; height: 40px; border-radius: 50%; } .dk-objetivo small { color: var(--suave); font-size: .72rem; } .dk-objetivo.activa { border-color: var(--dk-oro); background: rgba(245,180,0,.15); }
.dk-pp-fichas { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-end; } .dk-pp-fichas .dkf { --u: 30px; cursor: pointer; transition: transform .15s; } .dk-pp-fichas.grande .dkf { --u: 44px; }
.dk-pp-fichas .sel-f:hover { transform: translateY(-4px); } .dk-pp-fichas .sel-f.activa { box-shadow: 0 0 0 3px #fde68a, 0 0 14px #fbbf24; transform: translateY(-6px); }
.dk-pp .dk-lado { background: transparent; padding: 0; }
.dk-pp p .dkf { --u: 26px; display: inline-flex; vertical-align: middle; margin: 0 2px; }
.dkf.volteo { animation: dkVolteo .6s ease both; } @keyframes dkVolteo { from { transform: rotateY(90deg); } }
/* efectos públicos de los poderes */
.dk-asiento.fx-escudo .dk-av { box-shadow: 0 0 0 5px rgba(96,165,250,.6), 0 0 28px #3b82f6; animation: dkEscudo 1.6s ease; }
@keyframes dkEscudo { 0% { transform: scale(.8) } 30% { transform: scale(1.15) } 100% { transform: none } }
.dk-asiento.fx-escudo-roto .dk-av { animation: dkEscudoRoto 1.2s ease; }
@keyframes dkEscudoRoto { 0% { box-shadow: 0 0 0 6px rgba(96,165,250,.9), 0 0 30px #3b82f6 } 60% { box-shadow: 0 0 0 14px rgba(96,165,250,0), 0 0 40px rgba(59,130,246,0); transform: rotate(6deg) } 100% { box-shadow: none; transform: none } }
.dk-asiento.fx-rayo .dk-flow { animation: dkRayo .25s linear 4; } .dk-asiento.fx-rayo .dk-av::after { content: '⚡'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; animation: dkRayoIco 1.1s ease forwards; }
@keyframes dkRayo { 50% { filter: brightness(2.5) drop-shadow(0 0 6px #fde68a) } } @keyframes dkRayoIco { 0% { transform: scale(.3); opacity: 0 } 25% { transform: scale(1.4); opacity: 1 } 100% { transform: scale(1); opacity: 0 } }
.dk-asiento.fx-lupa .dk-backs::after, .dk-asiento.fx-mira .dk-backs::after { content: '🔍'; position: absolute; font-size: 1.9rem; animation: dkLupa 1.7s ease forwards; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.dk-asiento.fx-mira .dk-backs::after { content: '🎯'; animation: dkMira 1.2s ease forwards; }
.dk-backs { position: relative; } @keyframes dkLupa { 0% { transform: translate(-30px, -10px) scale(.6); opacity: 0 } 30% { opacity: 1 } 100% { transform: translate(20px, 4px) scale(1); opacity: 0 } }
@keyframes dkMira { 0% { transform: scale(2); opacity: 0 } 40% { transform: scale(1); opacity: 1 } 100% { transform: scale(.8); opacity: 0 } }
.dk-asiento.fx-oro .dk-av { box-shadow: 0 0 0 4px #fde68a, 0 0 30px 6px rgba(251,191,36,.9); }
.dk-mesa-img.fx-retorno::after { content: ''; position: absolute; inset: 12%; border-radius: 10%; border: 4px solid rgba(253,230,138,.9); animation: dkRetorno 1.2s ease-out forwards; pointer-events: none; box-shadow: 0 0 30px rgba(251,191,36,.6); }
@keyframes dkRetorno { 0% { transform: scale(1.1) rotate(0); opacity: 0 } 20% { opacity: 1 } 100% { transform: scale(.7) rotate(-180deg); opacity: 0 } }
@media (max-width: 640px) { .dk-pbtn { min-width: 54px; padding: 4px 2px; } .dk-pbtn b { font-size: .6rem; } .dk-pbtns { gap: 4px; } .dk-flow i { width: 8px; height: 8px; } .dk-descartes { bottom: auto; top: 2%; left: 2%; max-width: 50%; } .dk-sentido { top: auto; bottom: 2%; } }

/* regalos */
.dk-btn-regalo { margin: 6px 10px 0; width: calc(100% - 20px); justify-content: center; } .dk-btn-regalo small { color: var(--suave); }
.dk-pp-gente { display: flex; gap: 8px; flex-wrap: wrap; }
.dk-pp-persona { display: flex; flex-direction: column; align-items: center; gap: 3px; background: rgba(255,255,255,.06); border: 2px solid transparent; border-radius: 12px; padding: 6px 10px; color: #fff; font: inherit; cursor: pointer; min-width: 84px; }
.dk-pp-persona .dk-av { width: 44px; height: 44px; } .dk-pp-persona .dk-av img { width: 38px; height: 38px; border-radius: 50%; } .dk-pp-persona b { font-size: .78rem; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dk-pp-persona small { font-size: .66rem; color: var(--suave); }
.dk-pp-persona.activa { border-color: #fde68a; background: rgba(245,180,0,.18); }
.dk-pp-regalos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dk-pp-regalo { display: flex; flex-direction: column; align-items: center; gap: 2px; background: rgba(255,255,255,.06); border: 2px solid transparent; border-radius: 12px; padding: 7px 4px; color: #fff; font: inherit; cursor: pointer; transition: transform .15s; }
.dk-pp-regalo .ico { font-size: 1.7rem; line-height: 1; } .dk-pp-regalo b { font-size: .68rem; text-align: center; line-height: 1.1; } .dk-pp-regalo small { font-size: .68rem; color: #fde68a; font-weight: 800; }
.dk-pp-regalo:hover { transform: translateY(-2px); } .dk-pp-regalo.activa { border-color: #fde68a; background: rgba(245,180,0,.18); } .dk-pp-regalo.caro { opacity: .45; }
.dk-regalo-vuelo { position: absolute; width: 48px; height: 48px; font-size: 40px; line-height: 48px; text-align: center; transition: transform .9s cubic-bezier(.3,1.2,.4,1); filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); z-index: 6; pointer-events: none; }
.dk-regalo-lluvia { position: absolute; font-style: normal; font-size: 22px; pointer-events: none; animation: dkLluvia 1.5s ease-out forwards; z-index: 6; }
@keyframes dkLluvia { 0% { transform: translate(-50%, 0) scale(.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(-50%, -110px) scale(1.2) rotate(20deg); opacity: 0; } }
.dk-asiento.fx-regalo .dk-av { animation: dkRegaloAv 1.5s ease-out; border-color: #fde68a; box-shadow: 0 0 0 5px rgba(245,180,0,.35), 0 0 28px rgba(251,191,36,.9); }
@keyframes dkRegaloAv { 0%, 100% { transform: none; } 20% { transform: scale(1.25) rotate(-6deg); } 40% { transform: scale(1.15) rotate(6deg); } 60% { transform: scale(1.2); } }
.dk-chat li.regalo { color: #fde68a; }
@media (max-width: 640px) { .dk-pp-regalos { grid-template-columns: repeat(4, 1fr); gap: 4px; } .dk-pp-regalo .ico { font-size: 1.4rem; } .dk-pp-persona { min-width: 70px; padding: 5px 6px; } }

/* volver a la partida / sin conexión */
.dk-volver { padding: 12px 14px; margin-bottom: 14px; border: 1px solid rgba(253,230,138,.45); } .dk-volver > b { display: block; margin-bottom: 8px; }
.dk-volver .dk-mesa-fila { text-decoration: none; color: inherit; } .dk-volver .dk-mesa-fila .btn { margin-left: auto; }
.dk-sin-red { position: absolute; left: 50%; top: 52px; transform: translateX(-50%); z-index: 12; background: #b45309; color: #fff; font-weight: 800; padding: 8px 14px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.5); font-size: .85rem; animation: dkPulso 1.5s ease-in-out infinite; max-width: 92%; text-align: center; }
.dk-sin-red[hidden] { display: none; }
#seg-meta button { padding: 10px 2px; } #meta-otra { width: 100%; }

/* imágenes de poderes */
.dk-pico { width: 34px; height: 34px; object-fit: contain; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.dk-pico.mini { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; filter: none; }
.dk-pico.flow-ico { width: 26px; height: 26px; }
.dk-pico.grande { width: 64px; height: 64px; }
.dk-pbtn .ico { display: grid; place-items: center; height: 36px; } .dk-pbtn.no .dk-pico { filter: grayscale(.8); }
.dk-poder-info .ico .dk-pico, .dk-poder-info .ico img { width: 48px; height: 48px; }
.dk-sprite { position: absolute; transform: translate(-50%, -50%) scale(.4); opacity: 0; pointer-events: none; z-index: 8; animation: dkSpriteIn .28s cubic-bezier(.3,1.5,.5,1) forwards; }
.dk-sprite img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 18px rgba(255,255,255,.35)); }
.dk-sprite.cuadro img { animation: dkCuadro .25s ease-out; }
.dk-sprite.sale { animation: dkSpriteOut .45s ease-in forwards; }
@keyframes dkSpriteIn { to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
@keyframes dkSpriteOut { from { transform: translate(-50%, -50%) scale(1); opacity: 1; } to { transform: translate(-50%, -50%) scale(1.35); opacity: 0; } }
@keyframes dkCuadro { from { transform: scale(1.12); filter: brightness(1.5) drop-shadow(0 0 22px #fff); } }
/* burbuja de poderes (celular) */
.dk-burbuja { display: none; position: absolute; right: 8px; bottom: 18px; z-index: 6; width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(253,230,138,.7); background: radial-gradient(circle at 35% 30%, rgba(80,40,140,.95), rgba(15,10,31,.95)); color: #fff; padding: 0; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.6); }
.dk-burbuja img { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); object-fit: contain; pointer-events: none; }
.dk-burbuja b { position: absolute; right: -4px; top: -4px; background: #f59e0b; color: #1a1200; border-radius: 12px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: .8rem; border: 2px solid #fff; }
.dk-burbuja small { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); font-size: .6rem; font-weight: 900; background: rgba(0,0,0,.7); padding: 1px 6px; border-radius: 8px; white-space: nowrap; }
.dk-burbuja.lista { animation: dkBurbuja 1.4s ease-in-out infinite; border-color: #fde68a; }
.dk-burbuja.lleno b { background: #22c55e; }
.dk-burbuja.sube { animation: dkSube .6s ease; }
.dk-burbuja.abierta { border-color: #fff; box-shadow: 0 0 0 4px rgba(253,230,138,.5); }
@keyframes dkBurbuja { 50% { box-shadow: 0 0 0 6px rgba(251,191,36,.35), 0 0 24px rgba(251,191,36,.9); transform: scale(1.06); } }
@keyframes dkSube { 30% { transform: scale(1.3); } }
.dk-cerrar-sheet { display: none; }
/* menú de la mesa */
.dk-barra { position: relative; }
.dk-menu { position: absolute; right: 8px; top: 100%; z-index: 20; min-width: 230px; background: #1b1233; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.6); display: flex; flex-direction: column; }
.dk-menu[hidden] { display: none; }
.dk-mi { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: transparent; color: #fff; font: inherit; font-weight: 700; text-align: left; border-radius: 10px; cursor: pointer; text-decoration: none; }
.dk-mi:hover { background: rgba(255,255,255,.08); } .dk-mi span { width: 24px; text-align: center; font-size: 1.1rem; } .dk-mi.oculto, .dk-mi[hidden] { display: none; }
.dk-mi.peligro { color: #fca5a5; }
.btn.peligro { background: linear-gradient(180deg, #ef4444, #b91c1c); box-shadow: 0 3px 0 #7f1d1d; }
@media (max-width: 640px) {
  .dk-burbuja { display: block; }
  .dk-burbuja[hidden] { display: none; }
  .dk-poderes { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; max-width: none; background: rgba(20,12,40,.97); border-top: 1px solid rgba(253,230,138,.4); border-radius: 18px 18px 0 0; padding: 12px 8px calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -10px 30px rgba(0,0,0,.6); transform: translateY(105%); transition: transform .22s ease; }
  .dk-poderes.abierto { transform: none; }
  .dk-cerrar-sheet { display: block; position: absolute; right: 10px; top: 8px; border: 0; background: rgba(255,255,255,.1); color: #fff; border-radius: 50%; width: 30px; height: 30px; font-size: .9rem; }
  .dk-pbtns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
  .dk-pbtn { min-width: 0; padding: 6px 2px; } .dk-pbtn b { font-size: .7rem; } .dk-pico { width: 40px; height: 40px; } .dk-pbtn .ico { height: 42px; }
}

.dk-pico.esc { width: 20px; height: 20px; display: inline-block; vertical-align: middle; } .dk-flow .dk-escudo { display: inline-flex; align-items: center; gap: 3px; }
.dk-pico.chat { width: 22px; height: 22px; display: inline-block; vertical-align: middle; margin-right: 4px; filter: none; }
@media (max-width: 640px) and (min-height: 680px) { .dk-escena { overflow: hidden; } .dk-mesa-img { width: min(112%, calc(100dvh - 250px)); margin: 0 -6%; flex: none; } }

/* imágenes nuevas */
.dk-logo-img { margin: 4px auto 6px; text-align: center; } .dk-logo-img img { width: min(100%, 520px); height: auto; filter: drop-shadow(0 8px 16px rgba(0,0,0,.5)); }
.dk-ico { width: 26px; height: 26px; vertical-align: middle; object-fit: contain; }
.dk-modo-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 8px; display: block; }
.dk-rico { width: 44px; height: 44px; object-fit: contain; display: block; filter: drop-shadow(0 3px 5px rgba(0,0,0,.5)); }
.dk-rico.grande { width: 60px; height: 60px; } .dk-rico.chat { width: 22px; height: 22px; display: inline-block; vertical-align: middle; filter: none; } .dk-rico.lluvia { width: 30px; height: 30px; }
.dk-pp-regalo .ico { display: grid; place-items: center; height: 46px; }
.dk-regalo-vuelo { width: 64px; height: 64px; } .dk-regalo-vuelo .dk-rico { width: 64px; height: 64px; }
.dk-estampa img { filter: drop-shadow(0 0 24px rgba(253,230,138,.55)); }
.dk-logro span img { width: 48px; height: 48px; object-fit: contain; display: block; }
@media (max-width: 640px) { .dk-pp-regalo .ico { height: 38px; } .dk-rico { width: 38px; height: 38px; } }
