/* ==========================================================================
   FICHAS OFICIALES DE RULETA — EL GRANDATERO ANIMALITOS (WebP HD + Aro Ruleta)
   ========================================================================== */
.eg-ruleta-ficha {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    margin: 2px auto 6px;
}
.eg-ruleta-ficha.eg-ficha-sm {
    width: 52px;
    height: 52px;
    margin: 0 auto 4px;
}
.eg-ruleta-ficha.eg-ficha-lg {
    width: 78px;
    height: 78px;
}

/* Aro punteado exterior estilo ficha de ruleta oficial */
.eg-rf-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dotted rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

/* Disco interior con color oficial de ruleta */
.eg-rf-disc {
    position: relative;
    width: 84%;
    height: 84%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.5);
}

.eg-rf-disc img {
    width: 86%;
    height: 86%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
}

.eg-rf-fallback {
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 900;
    color: #fff;
}
.eg-ficha-sm .eg-rf-fallback {
    font-size: 1.15rem;
}

/* 🟢 VERDE (0 Delfín, 00 Ballena, 75 Guácharo, 99 Guacharito) */
.eg-ficha-green .eg-rf-orbit { border-color: #22c55e; }
.eg-ficha-green .eg-rf-disc {
    background: radial-gradient(circle at 32% 28%, #22c55e 0%, #15803d 65%, #052e16 100%);
    border: 3px solid #4ade80;
}

/* 🔴 ROJO (números rojos oficiales de ruleta) */
.eg-ficha-red .eg-rf-orbit { border-color: #ef4444; }
.eg-ficha-red .eg-rf-disc {
    background: radial-gradient(circle at 32% 28%, #ef4444 0%, #b91c1c 65%, #450a0a 100%);
    border: 3px solid #f87171;
}

/* ⚫ NEGRO (números negros oficiales de ruleta) */
.eg-ficha-black .eg-rf-orbit { border-color: #cbd5e1; }
.eg-ficha-black .eg-rf-disc {
    background: radial-gradient(circle at 32% 28%, #334155 0%, #0f172a 65%, #020617 100%);
    border: 3px solid #64748b;
}

@media (max-width: 520px) {
    .eg-ruleta-ficha { width: 58px; height: 58px; }
    .eg-ruleta-ficha.eg-ficha-sm { width: 46px; height: 46px; }
}
