.home_feed_content {
    width: 100%;
    min-height: 400px;
    background: #EAEAEA;
    padding: 135px 0 80px;
    box-sizing: border-box;
}

.home_feed_header_2 {
    position: fixed;
    top: 53px;
    left: 0;
    width: 100%;
    background: white;
    z-index: 180;
    border-bottom: 2px solid #ccc;
}

.home_feed_header_ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 20px 0 0;
    box-sizing: border-box;
}

.home_feed_header_li {
    position: relative;
    top: 0;
    height: 34px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 12px;
    font-weight: bold;
    color: orange;
    background: white;
    border: 2px solid transparent;
    z-index: 1;
}

.home_feed_header_li.active_home_feed {
    top: 0;
    height: 34px;
    color: #6C89C6;
    background: #EAEAEA;
    border: 2px solid #ccc;
    border-bottom: 2px solid #EAEAEA;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
    z-index: 4;
}

.home_feed_header_li.active_home_feed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: #EAEAEA;
    z-index: 5;
    pointer-events: none;
}

.home_feed_sezione {
    display: none;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.home_feed_sezione.active_home_feed {
    display: block;
}

.home_feed_item {
    margin-left: auto !important;
    margin-right: auto !important;
}

.home_feed_item.sfida_1_tornei_di_oggi {
    background: #FFFFFF !important;
}

.home_feed_torneo_iscrizione {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 38px;
}

.home_feed_popup_overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.home_feed_popup_box {
    width: 360px;
    max-width: 95vw;
    background: #6C89C6;
    color: #fff;
    border-radius: 12px;
    border: 2px solid #FF9900;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    padding: 18px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.home_feed_popup_box p {
    margin: 0 0 15px;
    font-size: 13px;
    font-weight: 800;
}

.home_feed_popup_box button {
    border: none;
    border-radius: 8px;
    background: orange;
    color: #fff;
    font-weight: 800;
    padding: 8px 16px;
    cursor: pointer;
}

.home_feed_popup_actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* ============================================================
   FIX HOME FEED: niente scrollbar interna, solo browser
   ============================================================ */

.content.home_feed_content,
.home_feed_content {
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
}

/* ============================================================
   FIX HOME FEED: VS perfettamente centrato
   ============================================================ */

.home_feed_content .tornei_front_tutti_div_0_7_7_1 {
    overflow: visible !important;
}

.home_feed_content .vs_tornei_di_oggi {
    display: flex !important;
    margin: 10px auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

/* ============================================================
   HOME FEED: rimuove linee laterali dal badge VS
   ============================================================ */

/* ============================================================
   HOME FEED: rimuove linee laterali dal badge VS
   ============================================================ */

.home_feed_content .vs_tornei_di_oggi::before,
.home_feed_content .vs_tornei_di_oggi::after {
    display: none !important;
    content: none !important;
}

.home_feed_content .vs_tornei_di_oggi::before {
    left: auto !important;
    right: calc(100% + 8px) !important;
}

.home_feed_content .vs_tornei_di_oggi::after {
    left: calc(100% + 8px) !important;
    right: auto !important;
}

/* ============================================================
   HOME FEED: immagini clan/player contenute nelle schede
   ============================================================ */

.home_feed_content .contenitore_giocatore_1_tornei_di_oggi,
.home_feed_content .contenitore_giocatore_2_tornei_di_oggi {
    position: relative !important;
    width: 100% !important;
    max-width: var(--blocco_larghezza_px, 370px) !important;
    height: var(--altezza_clan_px, 170px) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.home_feed_content .immagine_3_tornei_di_oggi,
.home_feed_content .immagine_4_tornei_di_oggi {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: fill !important;
    display: block !important;
    border-radius: 5px !important;
}

/* immagini delle schede torneo/iscrizione nella home */
.home_feed_content .tornei_front_prossimi_img_0_1 {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: fill !important;
    display: block !important;
}


/* ============================================================
   HOME FEED: testi tabella match/sfide tutti bianchi
   ============================================================ */

.home_feed_content .tornei_front_tutti_div_0_7_7_1 .tornei_front_tutti_p_0_1,
.home_feed_content .tornei_front_tutti_div_0_7_7_1 .tornei_front_tutti_p_2_1 {
    color: #FFFFFF !important;
}