/* Les badges sont calculés dans le composant ; ces dimensions globales
   préservent leur ancrage si le navigateur conserve une version scoped plus
   ancienne pendant un redéploiement local. */
.decks-native-page.blazor-page-content-width {
    width: min(100%, var(--blazor-page-content-max-width));
    box-sizing: border-box;
    margin-inline: auto;
}

.decks-native-page .decks-native-card-speedtune-tick {
    position: absolute;
    right: -3px;
    bottom: -3px;
    z-index: 2;
    display: grid;
    width: 1.3rem;
    height: 1.3rem;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: .56rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 .1rem .3rem color-mix(in srgb, currentColor 48%, transparent);
}

.decks-native-modal .decks-native-speedtune-tick {
    position: absolute;
    top: 9px;
    right: 10px;
    z-index: 1;
    border: 1px solid currentColor;
    box-shadow: 0 .15rem .5rem color-mix(in srgb, currentColor 48%, transparent);
}

/* Même géométrie circulaire pour les ticks des builds joués en siège. */
.decks-native-modal .decks-native-speedtune-tick,
.app-native-modal .siege-build-tick-picker > .siege-build-monster__tick {
    appearance: none;
    box-sizing: border-box;
    display: grid;
    flex: 0 0 auto;
    width: 1.85rem;
    height: 1.85rem;
    min-width: 1.85rem;
    min-height: 1.85rem;
    max-width: 1.85rem;
    max-height: 1.85rem;
    aspect-ratio: 1;
    padding: 0;
    place-items: center;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
}

/* Les repères de la tuile sont superposés au portrait, comme dans la vue
   historique : alerte en haut, lead en bas à gauche, tick en bas à droite. */
.decks-native-page .decks-native-monster {
    position: relative;
    display: grid;
    min-width: 0;
    place-items: center;
}

.decks-native-page .decks-native-artifact-warning {
    position: absolute;
    top: 0;
    z-index: 3;
    display: inline-flex;
    color: #ff4d5f;
    font-size: 11px;
    line-height: 1;
}

.decks-native-page .decks-native-artifact-warning.is-attribute { left: 0; }
.decks-native-page .decks-native-artifact-warning.is-type { right: 0; }

.decks-native-page .decks-native-monster > i {
    position: absolute;
    bottom: -2px;
    left: -2px;
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: #1a4a7a;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}
