.stickers-grid {
    display: grid;
    /* desktop: 10 por fila */
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
    width: 100%;
}

.sticker-link {
    text-decoration: none;
    color: inherit;
    display: block;

}


.sticker-card {
    width: 100%;
    max-width: 95px;
    margin: auto;
    transition: .15s;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    padding-right: 6px;
    padding-bottom: 6px;
    overflow: visible;
}


.sticker-card:hover {
    transform: translateY(-2px);
}

.sticker-image {
    aspect-ratio: 49/65;

    width: 100%;

    background: #eee;

    border-radius: 8px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    overflow: visible;

    border: 1px solid #ddd;

    line-height: 1;

    /* para posicionar estrella */
    position: relative;
}

.sticker-code-prefix,
.sticker-code-number {

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 2px;
}




.sticker-image:not(.sticker-image-public) > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-section {
    margin-bottom: 42px;
}

.country-title {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 16px;

    font-size: 26px;
}

.country-title img {
    width: 50px;
}


/* ========================= */
/* TRIANGULO  */
/* ========================= */

.sticker-detail-corner {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 0;
    height: 0;

    border-style: solid;
    border-width: 0 0 22px 22px;
    border-color: transparent transparent #fff transparent;

    border-bottom-right-radius: 6px;

    opacity: .9;
    cursor: pointer;

    z-index: 6;

    transition: opacity .15s ease;
    
}

.sticker-detail-corner:hover {
    opacity: 1;
}


/* ========================= */
/* MANITO CLICK  */
/* ========================= */
.sticker-click-hint {
    position: absolute;
    top: 65%;
    left: 60%;
    width: 48px;
    z-index: 20;

    transform: translate(-50%, -50%);
    pointer-events: none;
}

.sticker-click-hint > img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;

    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

/* ========================= */
/* TEXTO AL CAMBIAR ESTADO */
/* ========================= */
/* 
desde figuritas.js se llama aca...
showStickerStatus(element, data.status);
*/
    
.sticker-status-pop {
    position: absolute;
    top: 4px;
    right: 4px;

    z-index: 30;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: .6px;

    padding: 4px 7px;
    border-radius: 6px;

    pointer-events: none;

    animation: sticker-status-pop 900ms ease-out forwards;
}

.sticker-status-pop.status-pop-late {
    background: var(--color-late);
    color: #111;
}

.sticker-status-pop.status-pop-repe {
    background: var(--color-repe);
    color: #111;
}

.sticker-status-pop.status-pop-nola {
    background: var(--color-nola);
    color: #111;
}

@keyframes sticker-status-pop {

    0% {
        opacity: 0;
        transform: translate(0, 4px) scale(.85);
    }

    20% {
        opacity: 1;
        transform: translate(4px, -4px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(24px, -34px) scale(1.08);
    }
}

/* ========================= */
/* FIGURITAS DIFICILES  */
/* ========================= */

.sticker-rarity {

    position: absolute;

    top: -6px;
    right: -6px;

    font-size: 18px;

    line-height: 1;

    z-index: 5;

    pointer-events: none;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 900px) {

    .stickers-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .sticker-card {
        max-width: 110px;
    }

}



@media (max-width: 600px) {

    .stickers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .sticker-card {
        max-width: none;
        padding-right: 4px;
        padding-bottom: 4px;
    }

}

/* ========================= */
/* NOLA LATE REPE */
/* ========================= */

.status-nola {
    background: var(--color-nola);
}

.status-late {
    background: var(--color-late);
}

.status-repe {
    position: relative;
    background: var(--color-late);

}

/* figurita de atrás */
.status-repe::before {
    content: "";

    position: absolute;

    top: 7px;
    left: 7px;

    width: 100%;
    height: 100%;

    background: var(--color-repe);


    border-radius: 8px;

    border: 1px solid #E0A93B;

    z-index: -1;
}



/* ========================= */
/* onboarding */
/* ========================= */

.onboarding-banner {
    padding: 14px 16px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: #F5F8FF;
    border: 1px solid #D6E4FF;
    overflow: hidden;
}


.onboarding-marquee {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.onboarding-track {

    display: inline-flex;
    width: max-content;
    font-weight: 600;
    color: #24478F;
    will-change: transform;
    animation: onboarding-scroll 40s linear infinite;
}

.onboarding-track span {

    flex-shrink: 0;
    padding-right: 2rem;
}

@keyframes onboarding-scroll {

    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}



/* ========================= */
/* FLAGS */
/* ========================= */

.flags-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.flags-nav img {
    width: 42px;
    border-radius: 6px;
    transition: .15s;
    cursor: pointer;
}

.flags-nav img:hover {
    transform: scale(1.08);
}





/* ========================= */
/* FILTERS */
/* ========================= */


.filters-bar {

    display: flex;

    gap: 10px;

    margin-bottom: 20px;

    flex-wrap: wrap;
}





/* ====================== */
/* BOTONES NOLA LATE REPE */
/* ====================== */

.filter-btn {

    border: none;

    padding: 10px 14px;

    border-radius: 10px;

    cursor: pointer;

    background: #eee;

    transition: .15s;

    font-weight: bold;
}

.filter-btn:hover {

    transform: translateY(-1px);
}

.filter-btn.active {

    background: #111;

    color: white;
}



/* ========================= */
/* stickers-search */
/* ========================= */

/* ========================= */
/* SEARCH */
/* ========================= */

.stickers-search {
    margin-bottom: 20px;
    position: relative;
}

.stickers-search-input {
    width: 100%;
    padding: 14px 44px 14px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.stickers-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);

    width: 24px;
    height: 24px;
    border-radius: 50%;

    background: #eee;
    color: #666;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: bold;
}




.sticker-image-public {
    background: transparent;
    border: none;
    overflow: visible;
}

.sticker-image-public img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 8px;
    border: 1px solid #ddd;

    z-index: 1;
}

/* 
si quiero ver numero de figurita...
*/
.sticker-image-public .sticker-code-prefix,
.sticker-image-public .sticker-code-number {
    position: relative;
    z-index: 2;

    color: white;

    background: rgba(255, 183, 207, 0.65);

    padding: 2px 5px;

    border-radius: 4px;

    backdrop-filter: blur(2px);

    text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}