/* emotes-batalla.css — CLIENTE. Botón + rueda de 4 emotes y burbujas en partida (fase A5).
   Todo vive dentro de #stage (1080x1920). Si algo se ve mal, ajusta SOLO estas variables. */
#emoteLayer{--em-btn-right:28px;--em-btn-bottom:calc(500px - var(--exB,0px));--em-burbuja:170px;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:7;display:none}
#emoteLayer.on{display:block}
#emoteLayer.sinbtn #emoteBtn,#emoteLayer.sinbtn #emoteRueda{display:none!important}
#emoteBtn{position:absolute;right:var(--em-btn-right);bottom:var(--em-btn-bottom);width:120px;height:120px;border-radius:50%;border:6px solid #05070a;background:#FFD100;font-size:64px;line-height:108px;text-align:center;pointer-events:auto;cursor:pointer;box-shadow:0 6px 0 #05070a;user-select:none;-webkit-user-select:none;touch-action:manipulation}
#emoteBtn.cd{filter:grayscale(.8);opacity:.7}
#emoteRueda{position:absolute;right:var(--em-btn-right);bottom:calc(var(--em-btn-bottom) + 140px);display:none;pointer-events:auto;background:rgba(5,7,10,.85);border:6px solid #FFD100;border-radius:36px;padding:18px}
#emoteRueda.abierta{display:block}
#emoteRueda .em-grid{display:grid;grid-template-columns:repeat(2,150px);grid-gap:14px}
#emoteRueda .em-slot{width:150px;height:150px;border-radius:24px;background:rgba(255,255,255,.12);border:4px solid #444;display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;touch-action:manipulation}
#emoteRueda .em-slot img{max-width:132px;max-height:132px;pointer-events:none}
#emoteRueda .em-slot.vacio{opacity:.35;cursor:default;font-size:56px;color:#fff}
#emoteRueda .em-silenciar{margin-top:14px;text-align:center;color:#fff;font:700 34px/1.2 sans-serif;cursor:pointer;padding:8px}
.emoteBurbuja{position:absolute;width:var(--em-burbuja);display:flex;flex-direction:column;align-items:center;transform:translate(-50%,-50%);animation:emPop .25s ease-out}
.emoteBurbuja img{width:var(--em-burbuja);height:var(--em-burbuja);object-fit:contain;filter:drop-shadow(0 6px 0 rgba(5,7,10,.6))}
.emoteBurbuja .em-fila{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:4px;max-width:340px}
.emoteBurbuja .em-bandera{flex:none;width:42px;height:28px;object-fit:cover;border:2px solid rgba(255,255,255,.85);border-radius:4px;box-shadow:0 3px 0 rgba(5,7,10,.6);filter:none}
.emoteBurbuja .em-nombre{margin-top:0;min-width:0;max-width:220px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#fff;background:rgba(5,7,10,.75);border-radius:14px;padding:2px 14px;font:700 28px/1.3 sans-serif}
.emoteBurbuja.saliendo{opacity:0;transition:opacity .3s}
@keyframes emPop{from{transform:translate(-50%,-50%) scale(.3);opacity:0}to{transform:translate(-50%,-50%) scale(1);opacity:1}}
