/* Apply the approved Home type scale to the reader-facing previews. */
:root {
    --tsp-reading-copy-size: var(--tsp-code1-headline);
    --tsp-legacy-hero: var(--tsp-code1-hero);
    --tsp-legacy-section: var(--tsp-code1-section);
    --tsp-legacy-lead: var(--tsp-code1-lead);
    --tsp-legacy-headline: var(--tsp-code1-headline);
    --tsp-legacy-pair-heading: var(--tsp-code1-pair-heading);
    --tsp-legacy-pair-headline: var(--tsp-code1-pair-headline);
    --tsp-legacy-score: var(--tsp-code1-score);
    --tsp-legacy-team: var(--tsp-code1-team);
    --tsp-legacy-data: var(--tsp-code1-data);
    --tsp-legacy-control: var(--tsp-code1-control);
    --tsp-legacy-detail: var(--tsp-code1-detail);
}

body.tsp-code1-reader {
    --tsp-code1-hero: var(--tsp-approved-hero);
    --tsp-code1-section: var(--tsp-approved-section);
    --tsp-code1-lead: var(--tsp-approved-lead);
    --tsp-code1-pair-heading: var(--tsp-approved-pair-heading);
    --tsp-code1-pair-headline: var(--tsp-approved-pair-headline);
    --tsp-code1-headline: var(--tsp-approved-headline);
    --tsp-code1-score: var(--tsp-approved-score);
    --tsp-code1-team: var(--tsp-approved-team);
    --tsp-code1-data: var(--tsp-approved-data);
    --tsp-code1-control: var(--tsp-approved-control);
    --tsp-code1-detail: var(--tsp-approved-detail);
    --tsp-preview-type-caption: var(--tsp-code1-detail);
    --tsp-preview-type-label: var(--tsp-code1-control);
    --tsp-preview-type-body: var(--tsp-code1-team);
    --tsp-preview-type-subhead: var(--tsp-code1-headline);
    --tsp-preview-type-heading: var(--tsp-code1-section);
    --tsp-preview-type-lead: var(--tsp-code1-hero);
    --tsp-preview-type-page: var(--tsp-code1-hero);
    --tsp-preview-type-score: var(--tsp-code1-score);
    --tsp-preview-type-match-score: var(--tsp-code1-score);
    --tsp-reading-copy-size: var(--tsp-approved-copy);
}

/* Business modules retain their existing editorial type on mixed pages. */
body.tsp-code1-reader :where(#sport-business, #nfl-business, #sports-business,
    #nba-more-business, #soccer-business, #soccer-league-business, .tsp-home-business-panel) {
    --tsp-code1-hero: var(--tsp-legacy-hero);
    --tsp-code1-section: var(--tsp-legacy-section);
    --tsp-code1-lead: var(--tsp-legacy-lead);
    --tsp-code1-headline: var(--tsp-legacy-headline);
    --tsp-code1-pair-heading: var(--tsp-legacy-pair-heading);
    --tsp-code1-pair-headline: var(--tsp-legacy-pair-headline);
    --tsp-code1-score: var(--tsp-legacy-score);
    --tsp-code1-team: var(--tsp-legacy-team);
    --tsp-code1-data: var(--tsp-legacy-data);
    --tsp-code1-control: var(--tsp-legacy-control);
    --tsp-code1-detail: var(--tsp-legacy-detail);
    --tsp-preview-type-heading: var(--tsp-code1-section);
    --tsp-preview-type-lead: var(--tsp-code1-hero);
    --tsp-preview-type-subhead: var(--tsp-code1-headline);
    --tsp-preview-type-caption: var(--tsp-code1-detail);
    --tsp-preview-type-label: var(--tsp-code1-control);
    --tsp-preview-type-body: var(--tsp-code1-team);
    --tsp-preview-type-page: var(--tsp-code1-hero);
    --tsp-preview-type-score: var(--tsp-code1-score);
    --tsp-preview-type-match-score: var(--tsp-code1-score);
    --tsp-reading-copy-size: var(--tsp-code1-headline);
}

@layer tsp-preview-typography {
    body.tsp-code1-reader .soccer-review-panel > h1,
    body.tsp-code1-reader :is(#tsp-stories, main)
    :is(.v3-lead-copy h1, .v3-lead-copy h1 a, .v3-lead-copy h2, .v3-lead-copy h2 a,
        .reading-story-header h1, .reading-title h1, .guide-heading h1, .v9-page-heading h1, .ch-results-heading h1,
        .tsp-featured-game-headline, .tsp-featured-game-headline a) {
        font-size: var(--tsp-approved-hero) !important;
        line-height: var(--tsp-approved-hero-leading) !important;
        font-weight: var(--tsp-approved-lead-weight) !important;
        letter-spacing: -.02em;
    }

    body.tsp-code1-reader :is(#tsp-stories, main)
    :is(.home-lead-list__lead, .v3-band-copy, .v3-lead-copy, .nfl-collection-lead, .sf-featured-lead)
    :is(h3, h3 a):not(:where(#sport-business, #nfl-business, #sports-business,
        #nba-more-business, #soccer-business, #soccer-league-business, .tsp-home-business-panel) *) {
        font-size: var(--tsp-approved-lead) !important;
        line-height: 1.25 !important;
        font-weight: var(--tsp-approved-lead-weight) !important;
        letter-spacing: -.02em;
    }

    body.tsp-code1-reader .soccer-review-panel h2,
    body.tsp-code1-reader #tsp-stories
    :is([data-college-view] > h3, #v11-chart-title, #v11-record-results h2),
    body.tsp-code1-reader #tsp-stories :is(.v3-section-head, .nfl-collection-head,
        .tsp-compact-ratings-head, .guide-section-head) :is(h2, h2 a):not(:where(
        #latest-headlines, .nfl-quick, #sport-business, #nfl-business, #sports-business,
        #nba-more-business, #soccer-business, #soccer-league-business, .tsp-home-business-panel) *) {
        font-size: var(--tsp-approved-section) !important;
        line-height: 1.2 !important;
        font-weight: var(--tsp-approved-section-weight) !important;
    }

    body.tsp-code1-reader #tsp-stories #latest-headlines.v3-latest > header h2 {
        font-size: var(--tsp-approved-latest-heading) !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
    }

    body.tsp-code1-reader #tsp-stories #latest-headlines.v3-latest > ul > li > a {
        font-size: var(--tsp-approved-latest-link) !important;
        line-height: 1.4 !important;
        font-weight: var(--tsp-approved-latest-link-weight) !important;
    }

    body.tsp-code1-reader #tsp-stories #preview-starting-goalies > header > h2 {
        font-size: var(--tsp-approved-latest-heading) !important;
        line-height: 1.2 !important;
    }

    body.tsp-code1-reader #tsp-stories #preview-starting-goalies .preview-goalie-name {
        font-size: calc(var(--tsp-approved-data) - 1.5px) !important;
    }

    body.tsp-code1-reader #tsp-stories #home-featured
    :is(.v3-related h3, .v3-related h3 a, .home-lead-list__headlines a) {
        font-size: var(--tsp-approved-headline) !important;
        line-height: 1.4 !important;
        font-weight: 650 !important;
    }

    body.tsp-code1-reader #tsp-stories :is(.v3-lead-copy p,
        .v3-story-copy p, .reading-deck) {
        font-size: var(--tsp-reading-copy-size) !important;
        line-height: 1.45 !important;
    }

    body.tsp-code1-reader #tsp-stories :is(.reading-story-body p, .reading-body p, .story-body p) {
        font-size: var(--tsp-reading-copy-size) !important;
        line-height: 1.65 !important;
    }

    body.tsp-code1-reader #tsp-stories :is(.tsp-home-ratings-panel, .v11-rank-table)
    :is(select, td, tbody th) {
        font-size: var(--tsp-approved-data) !important;
        line-height: 1.35 !important;
    }

    body.tsp-code1-reader #tsp-stories .tsp-home-ratings-panel
    :is(.tsp-home-ratings-tabs button, .tsp-home-ratings-edition, thead th) {
        font-size: var(--tsp-approved-control) !important;
        line-height: 1.35 !important;
    }

    body.tsp-code1-reader #tsp-stories :is(.tsp-home-ratings-value, .rating-value) {
        font-weight: 800 !important;
    }

    body.tsp-code1-reader #tsp-stories :is(.rating-date,
        .rating-network-more, .rating-mark-label, .tsp-compact-ratings-head > a) {
        font-size: var(--tsp-approved-detail) !important;
        line-height: 1.35 !important;
    }

    body.tsp-code1-reader #tsp-stories :is(.tsp-home-scoreboard-team-name,
        [data-preview-strip] .tsp-game-strip-team > b, .tsp-game-strip-abbreviation,
        .tsp-featured-game-team-name, .guide-game-title h4, .v3-sport-upcoming li strong, .ch-games a span) {
        font-size: var(--tsp-approved-team) !important;
        line-height: 1.35 !important;
    }

    body.tsp-code1-reader #tsp-stories :is(.tsp-home-scoreboard-score,
        .tsp-home-scoreboard-team-score, [data-strip-score], .tsp-featured-game-score strong, .ch-games a strong) {
        font-size: var(--tsp-approved-score) !important;
        line-height: 1.1 !important;
        font-variant-numeric: tabular-nums;
    }

    body.tsp-code1-reader .soccer-review-panel .soccer-review-events li > span,
    body.tsp-code1-reader #tsp-stories :is(.tsp-home-scoreboard-date,
        .tsp-home-scoreboard-status, .hs-game-status, .tsp-home-scoreboard-clock,
        .tsp-home-scoreboard-record, .tsp-game-strip-state, .tsp-game-strip-action,
        .tsp-featured-game-clock, .tsp-featured-game-status, .v3-sport-upcoming-date,
        .v3-sport-upcoming-location, .guide-game-note, .guide-game-league,
        .soccer-review-events li > span) {
        font-size: var(--tsp-approved-detail) !important;
        line-height: 1.35 !important;
    }

    body.tsp-code1-reader .guide-page .guide-dates button > span {
        font-size: var(--tsp-approved-detail) !important;
        line-height: 1.35 !important;
    }

    body.tsp-code1-reader .guide-page .guide-dates button > strong {
        font-size: var(--tsp-approved-data) !important;
        line-height: 1.35 !important;
    }

    body.tsp-code1-reader .guide-page :is(.guide-filters, .guide-library) select {
        font-size: var(--tsp-approved-control) !important;
        line-height: 1.35 !important;
    }

    body.tsp-code1-reader .tsp-footer-meta p {
        font-size: 1rem !important;
        line-height: 1.45 !important;
    }

    body.tsp-code1-reader .tsp-footer-date {
        font-size: .8125rem !important;
        line-height: 1.4 !important;
    }

    @media (min-width: 761px) {
        body.tsp-code1-reader #tsp-stories #preview-starting-goalies .preview-goalie-name {
            font-size: .90625rem !important;
        }

        body.tsp-code1-reader #tsp-stories #preview-starting-goalies .preview-goalie-status {
            font-size: .78125rem !important;
        }

        body.tsp-code1-reader #tsp-stories #latest-headlines.v3-latest > ul > li:not(:last-child) {
            border-bottom: 1px solid #e0e4e7 !important;
        }

        body.tsp-code1-reader:not([data-device="mobile"]) #tsp-stories .nfl-quick :is(h2, li > a) {
            font-size: var(--tsp-approved-quick-link) !important;
            line-height: 1.35 !important;
            font-weight: var(--tsp-approved-quick-link-weight) !important;
        }

        body.tsp-code1-reader #tsp-desktop-toolbar
        :is(#tsp-departments > a, #tsp-departments > span > a) {
            font-size: .875rem !important;
            line-height: 1.2 !important;
            font-weight: 600 !important;
        }

        body.tsp-code1-reader #tsp-desktop-toolbar .nav-editorial .nav-business {
            font-size: var(--tsp-toolbar-link-size, .875rem) !important;
            line-height: 1.2 !important;
            font-weight: 700 !important;
        }

        body.tsp-code1-reader #tsp-league-scores[data-tls-code1]
        :is(.tls-league, .tls-team, .tls-team-link, .tls-team-name) {
            font-size: .78125rem !important;
        }

        body.tsp-code1-reader #tsp-league-scores[data-tls-code1] :is(.tls-league-separator,
            .tls-game-status, .tls-broadcast, .tls-situation, .tls-record, .tls-note,
            .tls-scroll-buttons button, .preview-gamecast-label) {
            font-size: .65625rem !important;
            line-height: 1.2 !important;
        }

        body.tsp-code1-reader #tsp-league-scores[data-tls-code1] .tls-score {
            font-size: .8125rem !important;
            line-height: 1.1 !important;
        }
    }

    @media (min-width: 1000px) {
        body.tsp-code1-reader #tsp-desktop-toolbar .nav-editorial .nav-business {
            font-size: .9375rem !important;
        }
    }
}

/* Keep the native season, archive, game and profile views on the Home type scale. */
@layer tsp-preview-typography {
    body.tsp-code1-reader main#tsp-stories:where(
        .tsp-nfl-season, .tsp-nba-season, .tsp-nhl-season, .tsp-mlb-season,
        .tsp-nfl-history, .tsp-nba-history, .tsp-nhl-history, .tsp-mlb-history,
        .tsp-season-game, .tsp-season-player
    ) h1:not(.nsc-wrap *) {
        font-size: var(--tsp-approved-hero) !important;
        line-height: var(--tsp-approved-hero-leading) !important;
        font-weight: var(--tsp-approved-lead-weight) !important;
    }

    body.tsp-code1-reader main#tsp-stories:where(
        .tsp-nfl-season, .tsp-nba-season, .tsp-nhl-season, .tsp-mlb-season,
        .tsp-nfl-history, .tsp-nba-history, .tsp-nhl-history, .tsp-mlb-history,
        .tsp-season-game, .tsp-season-player
    ) h2:not(.nsc-wrap *) {
        font-size: var(--tsp-approved-section) !important;
        line-height: 1.2 !important;
        font-weight: var(--tsp-approved-section-weight) !important;
    }

    body.tsp-code1-reader main#tsp-stories:where(
        .tsp-nfl-season, .tsp-nba-season, .tsp-nhl-season, .tsp-mlb-season,
        .tsp-nfl-history, .tsp-nba-history, .tsp-nhl-history, .tsp-mlb-history,
        .tsp-season-game, .tsp-season-player
    ) h3:not(.nsc-wrap *) {
        font-size: var(--tsp-approved-headline) !important;
        line-height: 1.35 !important;
        font-weight: 650 !important;
    }

    body.tsp-code1-reader main#tsp-stories:where(
        .tsp-nfl-season, .tsp-nba-season, .tsp-nhl-season, .tsp-mlb-season,
        .tsp-nfl-history, .tsp-nba-history, .tsp-nhl-history, .tsp-mlb-history,
        .tsp-season-game, .tsp-season-player
    ) :is(nav a, button, select, input, label, thead th):not(.nsc-wrap *) {
        font-size: var(--tsp-approved-control) !important;
        line-height: 1.35 !important;
    }

    body.tsp-code1-reader main#tsp-stories:where(
        .tsp-nfl-season, .tsp-nba-season, .tsp-nhl-season, .tsp-mlb-season,
        .tsp-nfl-history, .tsp-nba-history, .tsp-nhl-history, .tsp-mlb-history,
        .tsp-season-game, .tsp-season-player
    ) :is(tbody th, tbody td, tbody :is(th, td) :is(a, strong), tfoot th, tfoot td):not(.nsc-wrap *) {
        font-size: var(--tsp-approved-data) !important;
        line-height: 1.35 !important;
    }

    body.tsp-code1-reader main#tsp-stories:where(
        .tsp-nfl-season, .tsp-nba-season, .tsp-nhl-season, .tsp-mlb-season,
        .tsp-nfl-history, .tsp-nba-history, .tsp-nhl-history, .tsp-mlb-history,
        .tsp-season-game, .tsp-season-player
    ) :is(time, small, caption, figcaption):not(.nsc-wrap *) {
        font-size: var(--tsp-approved-detail) !important;
        line-height: 1.35 !important;
    }

    body.tsp-code1-reader main#tsp-stories :is(
        .nfs-game-team > :is(a, span), .nbs-game-team > :is(a, span), .nhs-game-team > :is(a, span), .mbs-game-team > :is(a, span),
        .nfh-game-team > :is(a, span), .nbh-game-team > :is(a, span), .nhh-game-team > :is(a, span), .mlh-game-team > :is(a, span),
        .sgp-team-name
    ) {
        font-size: var(--tsp-approved-team) !important;
        line-height: 1.3 !important;
    }

    body.tsp-code1-reader main#tsp-stories :is(
        .nfs-game-team > b, .nbs-game-team > b, .nhs-game-team > b, .mbs-game-team > b,
        .nfh-game-team > b, .nbh-game-team > b, .nhh-game-team > b, .mlh-game-team > b,
        .sgp-team > strong
    ) {
        font-size: var(--tsp-approved-score) !important;
        line-height: 1.1 !important;
    }
}

/* TSP Code 1 phone typography. Scale follows the November 15 mobile references. */
@layer tsp-preview-typography {
    @media (max-width: 760px) {
        body.tsp-code1-reader {
            --tsp-mobile-hero: 1.5rem;
            --tsp-mobile-feature: 1.0625rem;
            --tsp-mobile-section: 1rem;
            --tsp-mobile-headline: .9375rem;
            --tsp-mobile-label: .875rem;
            --tsp-mobile-detail: .75rem;
        }

        body.tsp-code1-reader :is(#tsp-stories, main)
        :is(.v3-lead-copy h1, .v3-lead-copy h1 a, .v3-lead-copy h2, .v3-lead-copy h2 a,
            .tsp-featured-game-headline, .tsp-featured-game-headline a,
            .reading-story-header h1, .reading-title h1, .reading-title h1 a,
            .v9-page-heading h1, .guide-heading h1):not(:where(.tsp-home-business-panel, #home-more-business, #sport-business, #nfl-business,
            #sports-business, #nba-more-business, #soccer-business, #soccer-league-business) *) {
            font-size: var(--tsp-mobile-hero) !important;
            line-height: 1.2 !important;
            font-weight: 750 !important;
        }

        body.tsp-code1-reader :is(#tsp-stories, main)
        :is(.home-lead-list__lead, .v3-band-copy, .tsp-home-mlb-lead, .tsp-home-big3-lead,
            .nfl-collection-lead, .sf-featured-lead, .pair-story, .v3-featured .v3-story-primary)
        :is(h3, h3 a, h4, h4 a):not(:where(.tsp-home-business-panel, #home-more-business, #sport-business, #nfl-business,
            #sports-business, #nba-more-business, #soccer-business, #soccer-league-business) *) {
            font-size: var(--tsp-mobile-feature) !important;
            line-height: 1.32 !important;
            font-weight: 700 !important;
        }

        body.tsp-code1-reader #tsp-stories :is(
            #latest-headlines.v3-latest > header h2, #home-featured > header h2,
            #home-quick-links > summary, #home-quick-links > summary .quick-links-summary-text,
            .v3-section-head h2, .v3-section-head h2 a, .pair-heading, .pair-heading :is(h2, h2 a),
            .nfl-collection-head :is(h2, h2 a), .tsp-compact-ratings-head :is(h2, h2 a),
            .preview-espn-fantasy h2, .guide-section-head :is(h2, h2 a)):not(:where(.tsp-home-business-panel, #home-more-business, #sport-business, #nfl-business,
            #sports-business, #nba-more-business, #soccer-business, #soccer-league-business) *) {
            font-size: var(--tsp-mobile-section) !important;
            line-height: 1.25 !important;
            font-weight: 750 !important;
        }

        body.tsp-code1-reader #tsp-stories :is(
            #latest-headlines.v3-latest > header h2, .v3-section-head h2, .nfl-collection-head h2,
            .guide-section-head h2):not(:where(.tsp-home-business-panel, #home-more-business,
                #sport-business, #nfl-business, #sports-business, #nba-more-business,
                #soccer-business, #soccer-league-business) *) {
            text-transform: uppercase;
        }

        body.tsp-code1-reader #tsp-stories :is(
            #latest-headlines.v3-latest > ul > li > a, #home-featured .home-lead-list__headlines a,
            .v3-latest li > a, .home-lead-list__headlines a, .tsp-home-mlb-headlines a,
            .v3-related :is(h3, h3 a), .v3-reading-list :is(h3, h3 a), .sf-list li a,
            .reading-results h3, .reading-results h3 a):not(:where(.tsp-home-business-panel, #home-more-business, #sport-business, #nfl-business,
            #sports-business, #nba-more-business, #soccer-business, #soccer-league-business) *) {
            font-size: var(--tsp-mobile-headline) !important;
            line-height: 1.43 !important;
            font-weight: 500 !important;
        }

        body.tsp-code1-reader #tsp-stories
        :is(.pair-byline, .pair-byline time, .reading-byline, .home-fantasy-data-context,
            .tsp-home-video-duration, .preview-goalie-start-time) {
            font-size: var(--tsp-mobile-detail) !important;
            line-height: 1.35 !important;
        }

        /* Keep related thumbnails from expanding the article's phone viewport. */
        body.tsp-code1-reader #tsp-stories.reading-article .story-related-art > img.tsp-story-thumbnail {
            max-inline-size: 100%;
            block-size: auto;
        }

        body.tsp-code1-header #tsp-mobile-masthead :is(.tsp-mobile-business, .tsp-mobile-scores),
        body.tsp-code1-header #tsp-mobile-league-shortcuts :is(a, .tsp-mobile-shortcut-label) {
            font-size: .8125rem !important;
            line-height: 1.3 !important;
        }

        body.tsp-code1-header #tsp-mobile-drawer .tsp-mobile-drawer-content > section > ul > li > a,
        body.tsp-code1-reader #tsp-stories #home-quick-links .quick-group li > a {
            font-size: var(--tsp-mobile-label, .875rem) !important;
            line-height: 1.4 !important;
            font-weight: 450 !important;
        }

        body.tsp-code1-header #tsp-mobile-drawer :is(
            .tsp-mobile-drawer-rail a, .tsp-mobile-drawer-rail button,
            .tsp-mobile-drawer-content h2, .tsp-mobile-league-menu li a) {
            font-size: .8125rem !important;
            line-height: 1.35 !important;
        }
    }
}
/* Compact scoreboards and league tables on phones. */
@layer tsp-preview-typography {
    @media (max-width: 760px) {
        body.tsp-code1-reader #tsp-stories :is(.tsp-home-scoreboard, .tsp-redesign-board) :is(
            .tsp-home-scoreboard-title, .tsp-home-scoreboard-title span, .tsp-redesign-board-head h3
        ) {
            font-size: 1rem !important;
            font-weight: 750 !important;
            line-height: 1.2 !important;
        }

        body.tsp-code1-reader #tsp-stories :is(.tsp-home-scoreboard-team-name,
            .tsp-redesign-board .tsp-redesign-board-team > span:not(.tsp-home-scoreboard-team-mark),
            .hs-dialog .hs-team-name
        ) {
            font-size: 1rem !important;
            line-height: 1.25 !important;
        }

        body.tsp-code1-reader #tsp-stories :is(
            .tsp-home-scoreboard :is(.tsp-home-scoreboard-score, .tsp-home-scoreboard-team-score):not(.tsp-home-scoreboard-record),
            .tsp-redesign-board .tsp-redesign-board-team > strong,
            .hs-dialog .hs-score:not(.tsp-home-scoreboard-record)
        ) {
            font-size: 1.0625rem !important;
            line-height: 1.2 !important;
            font-variant-numeric: tabular-nums;
        }

        body.tsp-code1-reader #tsp-stories :is(.tsp-home-scoreboard, .tsp-redesign-board, .hs-dialog) :is(
            .tsp-home-scoreboard-date, .tsp-home-scoreboard-status, .hs-game-status, .hs-match-state,
            .tsp-home-scoreboard-clock, .tsp-home-scoreboard-broadcast, .tsp-home-scoreboard-record,
            .tsp-home-scoreboard-live, .tsp-redesign-board-status
        ) {
            font-size: .75rem !important;
            line-height: 1.3 !important;
        }

        body.tsp-code1-reader main#tsp-stories :is(
            .nfs-heading, .nbs-heading, .nhs-heading, .mbs-heading, #tsp-nfl-scores .nsc-heading,
            .soccer-review-panel:has(.sc-date-form, .sc-standings)
        ) > h1 {
            font-size: 1.5rem !important;
            line-height: 1.18 !important;
            font-weight: 750 !important;
        }

        body.tsp-code1-reader main#tsp-stories :is(
            .nfs-section-heading, .nbs-section-heading, .nhs-section-heading, .mbs-section-heading,
            #tsp-nfl-scores .nsc-group, .soccer-review-panel:has(.sc-date-form, .sc-standings)
        ) > h2 {
            font-size: 1.125rem !important;
            line-height: 1.22 !important;
            font-weight: 750 !important;
        }

        body.tsp-code1-reader main#tsp-stories :is(
            .nfs-game-team, .nbs-game-team, .nhs-game-team, .mbs-game-team
        ) > :is(a, span),
        body.tsp-code1-reader main#tsp-stories :is(
            .tsp-pro-score-team > b, .sc-game-teams .sc-team, #tsp-nfl-scores .nsc-line-club-copy > strong
        ) {
            font-size: 1rem !important;
            line-height: 1.25 !important;
        }

        body.tsp-code1-reader main#tsp-stories :is(
            .nfs-game-team, .nbs-game-team, .nhs-game-team, .mbs-game-team
        ) > b,
        body.tsp-code1-reader main#tsp-stories :is(
            .tsp-pro-score-team > strong, .sc-game-teams .sc-goals,
            #tsp-nfl-scores .nsc-line-score tbody .nsc-line-total
        ) {
            font-size: 1.0625rem !important;
            line-height: 1.2 !important;
            font-variant-numeric: tabular-nums;
        }

        body.tsp-code1-reader main#tsp-stories :is(
            .nfs-game-status, .nbs-game-status, .nhs-game-status, .mbs-game-status,
            .nfs-game-info, .nbs-game-info, .nhs-game-info, .mbs-game-info,
            .tsp-pro-score-status, .tsp-pro-score-status small,
            .sc-game-status, .sc-game-status > strong, .sc-game-status > span
        ) {
            font-size: .75rem !important;
            line-height: 1.3 !important;
        }

        body.tsp-code1-reader main#tsp-stories :is(
            .nfs-table, .nbs-table, .nhs-table, .mbs-table,
            .nfs-stat-table, .nbs-stat-table, .nhs-stat-table, .mbs-stat-table, .sc-standings
        ) thead :is(th, button) {
            font-size: .8125rem !important;
            line-height: 1.25 !important;
            font-weight: 650 !important;
        }

        body.tsp-code1-reader main#tsp-stories :is(
            .nfs-table, .nbs-table, .nhs-table, .mbs-table,
            .nfs-stat-table, .nbs-stat-table, .nhs-stat-table, .mbs-stat-table, .sc-standings
        ) :is(tbody, tfoot) :is(th, td, :is(th, td) :is(a, strong)) {
            font-size: .875rem !important;
            line-height: 1.3 !important;
        }
    }
}
/* Mobile Gamecast and entity pages. The approved ESPN phone captures define the hierarchy. */
@layer tsp-preview-typography {
    @media (max-width: 760px) {
        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores):is(.tsp-season-game, .tsp-season-player, .tsp-team-home),
        body.tsp-code1-reader main#tsp-stories :is(.sc-player-page, [data-cf-detail]) {
            --tsp-specialist-name: 1.5rem;
            --tsp-specialist-group: 1.125rem;
            --tsp-specialist-title: .9375rem;
            --tsp-specialist-text: .8125rem;
            --tsp-specialist-label: .75rem;
        }

        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores).tsp-season-game {
            --tsp-specialist-score: clamp(1.75rem, 9vw, 2.25rem);
        }

        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores).tsp-season-game #sgp-title {
            font-size: 1.25rem !important;
            line-height: 1.15 !important;
            font-weight: 750 !important;
        }

        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores).tsp-season-game :is(
            .sgp-team > strong, .sgp-current-score, .nsc-matchup-score,
            .scoreboard .totals > b, .scoreboard .team > .score
        ) {
            font-size: var(--tsp-specialist-score) !important;
            line-height: 1 !important;
            font-weight: 800 !important;
            font-variant-numeric: tabular-nums;
        }

        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores).tsp-season-game :is(
            .sgp-team-name, .nsc-matchup-team > strong, .scoreboard .side > span, .scoreboard .team-name,
            .sgp-current-status, .nsc-matchup-status > b, .scoreboard .clock, .scoreboard .period
        ) {
            font-size: .875rem !important;
            line-height: 1.2 !important;
            font-weight: 650 !important;
        }

        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores).tsp-season-game :is(
            .sgp-team-record, .nsc-date, .nsc-context, .scoreboard small, .scoreboard .snapshot,
            .scoreboard .venue, .scoreboard .when, .scoreboard .when time, .sgp-context, .sgp-game-info dt,
            .sgp-play-meta > span, .event-list time, .play time, .sgp-scoring-count, .sgp-game-date, .sgp-venue-strip,
            .sgp-situation dt
        ) {
            font-size: var(--tsp-specialist-label) !important;
            line-height: 1.3 !important;
        }

        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores).tsp-season-game :is(
            .sgp-tabs a, .nsc-view-tabs a, .game-nav a, .views a, .nsc-return,
            .nsc-box-teams button, .sgp-section-head button
        ) {
            font-size: var(--tsp-specialist-text) !important;
            line-height: 1.25 !important;
            font-weight: 550 !important;
        }

        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores).tsp-season-game :is(
            .nsc-view-tabs a[aria-selected="true"], .game-nav a[aria-selected="true"],
            .views a[aria-selected="true"], .sgp-tabs a[aria-selected="true"], .nsc-box-teams button[aria-pressed="true"]
        ) {
            font-weight: 700 !important;
        }

        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores).tsp-season-game #sgp-panel h2,
        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores).tsp-season-game :is(.nsc-stat-group > summary, .sgp-player-stats > summary),
        body.tsp-code1-reader main#tsp-stories [data-cf-detail] :is(.tcf-detail-head h3, h4) {
            font-size: var(--tsp-specialist-group) !important;
            line-height: 1.2 !important;
            font-weight: 750 !important;
        }

        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores).tsp-season-game :is(
            #sgp-panel h3, .sgp-drive > summary, .sgp-situation dd, .sgp-play-meta > strong, .nsc-scoring li > b, .event-list li > b
        ),
        body.tsp-code1-reader main#tsp-stories [data-cf-detail] .tcf-detail-fold > summary {
            font-size: var(--tsp-specialist-title) !important;
            line-height: 1.25 !important;
            font-weight: 650 !important;
        }

        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores).tsp-season-game :is(
            #sgp-panel p:not(.nsc-context), .nsc-scoring li > span:not(.nsc-context), .event-list li > div,
            .sgp-play-list li p, .sgp-game-info dd
        ),
        body.tsp-code1-reader main#tsp-stories [data-cf-detail] :is(.tcf-close, .tcf-game-tabs button, .tcf-plays li) {
            font-size: var(--tsp-specialist-text) !important;
            line-height: 1.38 !important;
        }

        body.tsp-code1-reader main#tsp-stories:is(.tsp-season-player, .tsp-team-home) h1,
        body.tsp-code1-reader main#tsp-stories .sc-player-page .sc-player-profile h1 {
            font-size: var(--tsp-specialist-name) !important;
            line-height: 1.1 !important;
            font-weight: 800 !important;
        }

        body.tsp-code1-reader main#tsp-stories:is(.tsp-season-player, .tsp-team-home) :is(
            .spp-section-head h2, .spp-card-head h2, .tsp-th-section-heading h2
        ),
        body.tsp-code1-reader main#tsp-stories .sc-player-page :is(.sc-section h2, .sc-player-stat-group h3) {
            font-size: var(--tsp-specialist-group) !important;
            line-height: 1.2 !important;
            font-weight: 750 !important;
        }

        body.tsp-code1-reader main#tsp-stories:is(.tsp-season-player, .tsp-team-home) :is(
            .spp-profile-summary h2, .spp-bio dt, .spp-profile-bio dt, .spp-profile-eyebrow, .spp-highlight-stats dt,
            .spp-detail-list dt, .spp-summary-note, .spp-snapshot-grid abbr, .tsp-th-record span,
            .tsp-th-season, .tsp-th-checked, .tsp-th-section-note, .tsp-th-section-heading > span
        ),
        body.tsp-code1-reader main#tsp-stories .sc-player-page :is(.sc-player-bio dt, .sc-note) {
            font-size: var(--tsp-specialist-label) !important;
            line-height: 1.3 !important;
        }

        body.tsp-code1-reader main#tsp-stories:is(.tsp-season-player, .tsp-team-home) :is(
            .spp-highlight-stats dd, .spp-snapshot-grid strong, .spp-previous-result strong, .tsp-th-record strong
        ) {
            font-size: 1.375rem !important;
            line-height: 1.1 !important;
            font-weight: 800 !important;
            font-variant-numeric: tabular-nums;
        }

        body.tsp-code1-reader main#tsp-stories:is(.tsp-season-player, .tsp-team-home) :is(
            .spp-tabs a, .spp-byline, .spp-profile-bio dd, .spp-bio dd, .spp-detail-list dd, .spp-season-picker,
            .spp-season-picker select, .spp-career-toolbar :is(button, label, select), .tsp-th-nav a,
            .tsp-th-context-links a, .tsp-th-section-tools :is(label, input, select), .tsp-soccer-th-stat-tabs button
        ),
        body.tsp-code1-reader main#tsp-stories .sc-player-page :is(.sc-tabs a, .sc-tabs button, .sc-player-bio dd, .sc-player-club) {
            font-size: var(--tsp-specialist-text) !important;
            line-height: 1.3 !important;
        }

        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores):is(.tsp-season-game, .tsp-season-player, .tsp-team-home) table thead :is(th, button),
        body.tsp-code1-reader main#tsp-stories :is(.sc-player-page, [data-cf-detail]) table thead :is(th, button) {
            font-size: var(--tsp-specialist-label) !important;
            line-height: 1.25 !important;
            font-weight: 650 !important;
        }

        body.tsp-code1-reader main:is(#tsp-stories, #tsp-nfl-scores):is(.tsp-season-game, .tsp-season-player, .tsp-team-home) table :is(tbody, tfoot) :is(th, td, a, strong),
        body.tsp-code1-reader main#tsp-stories :is(.sc-player-page, [data-cf-detail]) table :is(tbody, tfoot) :is(th, td, a, strong) {
            font-size: var(--tsp-specialist-text) !important;
            line-height: 1.3 !important;
        }
    }
}
