/* Kryvania · Etiqueta "Puede atacar este turno" en ventanas de elección (app-duel-ui.js).
   Solo presentación: ayuda a distinguir copias de un mismo esbirro. */

.choice-attack-tag {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px 6px;
    margin: 6px auto 0;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, .55);
    background: linear-gradient(180deg, rgba(20, 83, 45, .78), rgba(5, 46, 22, .86));
    color: #dcfce7;
    font-size: .72rem;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 0 10px rgba(74, 222, 128, .22);
}
.choice-attack-tag > span { font-size: .8rem; }
.choice-attack-tag strong { font-weight: 800; letter-spacing: .02em; }

.choice-attack-tag.is-attacking {
    border-color: rgba(251, 191, 36, .6);
    background: linear-gradient(180deg, rgba(120, 53, 15, .82), rgba(69, 26, 3, .88));
    color: #fef3c7;
    box-shadow: 0 0 10px rgba(251, 191, 36, .25);
}

.choice-attack-tag.is-blocked {
    border-radius: 12px;
    border-color: rgba(148, 163, 184, .4);
    background: rgba(15, 23, 42, .78);
    color: #cbd5e1;
    box-shadow: none;
}
/* Tablero: ícono ⚔ en la esquina de los esbirros que pueden atacar este turno.
   (La carta del campo ya es posicionada; no se cambia su position para no afectar las copias animadas.) */
.field-attack-ready-badge {
    position: absolute;
    z-index: 6;
    top: 4px;
    right: 4px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(134, 239, 172, .85);
    background: radial-gradient(circle at 40% 35%, rgba(34, 197, 94, .95), rgba(20, 83, 45, .95));
    color: #f0fdf4;
    font-size: 12px;
    line-height: 1;
    box-shadow: 0 0 8px rgba(74, 222, 128, .55), 0 2px 4px rgba(0, 0, 0, .5);
    pointer-events: none;
    animation: field-attack-ready-pulse 2.4s ease-in-out infinite;
}
@keyframes field-attack-ready-pulse {
    0%, 100% { box-shadow: 0 0 6px rgba(74, 222, 128, .45), 0 2px 4px rgba(0, 0, 0, .5); }
    50% { box-shadow: 0 0 12px rgba(74, 222, 128, .8), 0 2px 4px rgba(0, 0, 0, .5); }
}
@media (prefers-reduced-motion: reduce) {
    .field-attack-ready-badge { animation: none; }
}

.choice-attack-tag.is-blocked small {
    flex-basis: 100%;
    color: #94a3b8;
    font-size: .66rem;
    font-weight: 600;
}
