#tsp-stories.v3-page [data-league-mark='nba'] .v3-home-league-mark {
    box-sizing: border-box;
    padding: 4px;
    border-radius: 3px;
    background: #171717;
}

#tsp-stories.v3-page .v3-home-league-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#tsp-stories.v3-page .v3-home-league-mark {
    display: block;
    flex: none;
    width: 40px;
    height: 29px;
    object-fit: contain;
}

#tsp-stories.v3-page #home-epl > .v3-league-stories > .v3-section-head {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 12px;
}

#tsp-stories.v3-page .v3-home-soccer-marks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#tsp-stories.v3-page .v3-home-soccer-marks img {
    display: block;
    width: 26px;
    height: 24px;
    object-fit: contain;
}

#tsp-stories.v3-page .v3-home-soccer-marks [data-competition-mark='ligue-1'] img {
    width: 49px;
    padding: 3px;
    border-radius: 3px;
    background: #050b36;
}

#tsp-stories.v3-page [data-league-mark='boxing'] .v3-home-league-mark {
    width: 52px;
}

@media (max-width: 480px) {
    #tsp-stories.v3-page .v3-home-soccer-marks { column-gap: 4px; }
    #tsp-stories.v3-page .v3-home-soccer-marks img { width: 22px; height: 20px; }
    #tsp-stories.v3-page .v3-home-soccer-marks [data-competition-mark='ligue-1'] img { width: 40px; }
}

#tsp-stories.v3-page #home-history {
    --v3-history-yellow: #ffe600;
    --v3-collection-print: 'TSP Home Inter', Arial, sans-serif;
    --v3-history-paper: #fffdf3;
    position: relative;
    isolation: isolate;
    overflow: clip;
    border-color: #292929;
    border-top-color: var(--v3-history-yellow);
    background: repeating-linear-gradient(117deg, #ffffff06 0 1px, transparent 1px 5px), #101010;
    color: #fff;
}

#tsp-stories.v3-page #home-history::before {
    position: absolute;
    z-index: -1;
    inset-block-start: -.02em;
    inset-inline-end: clamp(8px, 2.7vw, 40px);
    content: "HISTORY" / "";
    color: #ffe60015;
    font: italic 900 clamp(68px, 12vw, 182px)/1 var(--v3-collection-print);
    letter-spacing: -.065em;
    white-space: nowrap;
    -webkit-text-stroke: 1px #ffe6003d;
    pointer-events: none;
}

#tsp-stories.v3-page #home-history .v3-history-brand-head {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(9px, 1.3vw, 18px);
    margin: 0 0 clamp(17px, 1.6vw, 22px);
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid #ffe60070;
}

#tsp-stories.v3-page #home-history .v3-history-brand-head h2 > a {
    color: var(--v3-history-yellow);
    font: italic 900 clamp(34px, 4.8vw, 62px)/1 var(--v3-collection-print);
    letter-spacing: -.045em;
    text-transform: uppercase;
}

#tsp-stories.v3-page #home-history .v3-collection-mark {
    display: block;
    flex: none;
    width: clamp(44px, 4.6vw, 62px);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

#tsp-stories.v3-page #home-history .v3-history-card::before {
    top: -6px;
    height: 13px;
    background: linear-gradient(95deg, #f8db56e8, #fff1aee8);
    box-shadow: 0 1px 2px #0004;
}

#tsp-stories.v3-page #home-history .v3-history-card > a {
    gap: 10px;
    padding: clamp(7px, .9vw, 12px) clamp(7px, .9vw, 12px) clamp(15px, 1.65vw, 24px);
    background: var(--v3-history-paper);
    box-shadow: 0 2px 0 #cbc8b7, 0 6px 13px #0007;
}

#tsp-stories.v3-page #home-history .v3-history-card > a:hover { background: #fff; }

#tsp-stories.v3-page #home-history .v3-history-card .v3-story-cover { background: #232323; }

#tsp-stories.v3-page #home-history .v3-history-card h3 {
    color: #171717;
    overflow-wrap: break-word;
    text-wrap: pretty;
}

#tsp-stories.v3-page #home-history a:focus-visible { outline-color: var(--v3-history-yellow); }

@media (max-width: 760px) {
    #tsp-stories.v3-page #home-history::before {
        inset-block-start: 19px;
        opacity: .78;
    }

    #tsp-stories.v3-page #home-history .v3-history-rail { row-gap: 16px; }
}
