/* Einheitliches Overlay wie /kategorie/<slug>. Nur Tablet und Desktop. */
.afg-search-food-image,
.afg-new-card-image,
.afg-flop-food-image,
.afg-cuisine-food-card__image,
.afg-season-food-card__image,
.afg-gaming__food-image { position: relative; }
.afg-steamfry-thumbnail-badge {
    display: none;
    position: absolute;
    z-index: 3;
    top: .42rem;
    left: .42rem;
    max-width: calc(100% - .84rem);
    align-items: center;
    gap: .22rem;
    padding: .27rem .42rem;
    border: 1px solid rgba(162,221,255,.65);
    border-radius: 7px;
    background: #1686c1;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    color: #fff;
    font-size: .62rem;
    font-weight: 750;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
}
@media (min-width: 721px) {
    .afg-steamfry-thumbnail-badge { display: inline-flex; }
    /* Bestehende NEU-, Trend- und Geheimtipp-Badges nicht überdecken. */
    .afg-new-card-image .afg-steamfry-thumbnail-badge,
    .afg-flop-food-image .afg-steamfry-thumbnail-badge {
        top: auto;
        bottom: .42rem;
    }
    .trend-ranking-card .afg-steamfry-thumbnail-badge {
        font-size: .55rem;
        padding: .22rem .3rem;
        max-width: calc(100% - .5rem);
        left: .25rem;
    }
}

/* Startseite: Top-Foods und Entdecker-Foods ohne neue Karten/Bilder. */
.afg-home-food-image { position: relative; }
@media (min-width: 721px) {
    /* Rangnummern der Top 3 bleiben links oben sichtbar. */
    .afg-home-food-image .afg-steamfry-thumbnail-badge {
        top: auto;
        bottom: .42rem;
    }
}
