/* 乐体育世界杯实时导航首页 */

.tf-home-page,
.tf-home-page * {
    box-sizing: border-box;
}

.tf-home-page {
    --home-bg: #050b08;
    --home-bg-soft: #07150f;
    --home-panel: rgba(255, 255, 255, .075);
    --home-panel-strong: rgba(255, 255, 255, .11);
    --home-border: rgba(255, 255, 255, .14);
    --home-gold: #f8c95a;
    --home-green: #22c55e;
    --home-text: #f7fff9;
    --home-muted: #a9baaf;
    --home-muted-2: #7f9187;
    color: var(--home-text);
    background: var(--home-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    overflow: hidden;
}

.tf-home-page a {
    color: inherit;
    text-decoration: none;
}

.tf-home-page .tf-container {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.tf-home-hero {
    position: relative;
    padding: 46px 0 38px;
    background:
        radial-gradient(circle at 13% 18%, rgba(34, 197, 94, .24), transparent 32%),
        radial-gradient(circle at 84% 7%, rgba(248, 201, 90, .2), transparent 30%),
        linear-gradient(180deg, #06110c 0%, #07180f 64%, #050b08 100%);
}

.tf-home-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .12;
    background-image:
        linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000, transparent);
    pointer-events: none;
}

.tf-home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
    gap: 36px;
    align-items: center;
}

.tf-home-hero h1 {
    max-width: 790px;
    margin: 17px 0 15px;
    color: #fff;
    
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -.055em;
}

.tf-home-hero h1 mark {
    background: linear-gradient(135deg, var(--home-gold), #fff2b8, var(--home-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tf-home-hero-copy > p {
    max-width: 760px;
    margin: 0;
    color: #c9d8ce;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.75;
}

.tf-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.tf-home-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border: 1px solid var(--home-border);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .075);
    font-size: 13px;
    font-weight: 900;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.tf-home-button:hover {
    border-color: rgba(248, 201, 90, .5);
    transform: translateY(-2px);
}

.tf-home-button.is-primary {
    border-color: transparent;
    color: #06110c;
    background: linear-gradient(135deg, var(--home-gold), var(--home-green));
    box-shadow: 0 18px 50px rgba(34, 197, 94, .2);
}

.tf-home-next-card {
    display: grid;
    gap: 10px;
    padding: 25px;
    border: 1px solid var(--home-border);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(248, 201, 90, .2), transparent 45%),
        linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .055));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
    backdrop-filter: blur(18px);
}

.tf-home-next-card > strong {
    min-width: 0;
    color: #fff;
    font-size: 22px;
    line-height: 1.3;
}

.tf-home-next-card > em {
    color: var(--home-gold);
    font-size: 12px;
    font-style: normal;
    font-weight: 950;
}

.tf-home-next-card p {
    margin: 2px 0 0;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.6;
}

.tf-home-next-card > a {
    color: #ffe7a3;
    font-size: 13px;
    font-weight: 900;
}

.tf-home-next-card .tf-s-team-name,
.tf-home-next-card .tf-s-team-name-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tf-home-search-links {
    border-block: 1px solid rgba(255, 255, 255, .08);
    background: #06110c;
}

.tf-home-search-links .tf-container {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-block: 14px;
    scrollbar-width: none;
}

.tf-home-search-links .tf-container::-webkit-scrollbar {
    display: none;
}

.tf-home-search-links a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    color: #dce8e0;
    background: rgba(255, 255, 255, .055);
    font-size: 12px;
    font-weight: 850;
}

.tf-home-search-links a:hover {
    border-color: rgba(248, 201, 90, .42);
    color: #fff4c8;
}

.tf-home-section {
    padding: 34px 0;
    background: var(--home-bg);
}

.tf-home-section:nth-of-type(even) {
    background: var(--home-bg-soft);
}

.tf-home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.tf-home-section-head h2,
.tf-home-section-head > h2 {
    margin: 0;
    color: #fff;
    
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.tf-home-section-head > a {
    flex: 0 0 auto;
    color: #ffe7a3;
    font-size: 13px;
    font-weight: 900;
}

.tf-home-empty {
    margin: 0;
    padding: 22px;
    border: 1px solid rgba(248, 201, 90, .24);
    border-radius: 18px;
    color: #dce8e0;
    background: rgba(248, 201, 90, .07);
}

.tf-home-match-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tf-home-page .tf-s-match-card {
    min-width: 0;
    border: 1px solid var(--home-border);
    background: linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .052));
}

.tf-home-page .tf-s-match-card-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.tf-home-page .tf-s-match-card-teams > strong {
    min-width: 0;
    color: #fff;
    text-align: center;
}

.tf-home-page .tf-s-match-card-teams > em {
    color: var(--home-gold);
    font-size: 13px;
    font-style: normal;
    font-weight: 950;
}

.tf-home-page .tf-s-team-name,
.tf-home-page .tf-s-team-name-link {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.tf-home-page .tf-s-team-name > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tf-home-page .tf-s-flag {
    width: 24px;
    height: 16px;
    flex: 0 0 auto;
    border-radius: 3px;
    object-fit: cover;
}

.tf-home-page .tf-s-match-card-info {
    margin: 14px 0 0;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.tf-home-page .tf-s-match-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    margin-top: 10px;
}

.tf-home-page .tf-s-match-card-actions > span,
.tf-home-page .tf-s-match-card-actions > a {
    color: var(--home-muted);
    font-size: 11px;
    font-weight: 800;
}

.tf-home-page .tf-s-match-card-actions > a {
    color: #ffe7a3;
}

.tf-home-knockout-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
}

.tf-home-knockout-overview.no-image {
    grid-template-columns: 1fr;
}

.tf-home-bracket-image {
    margin: 0;
    padding: 16px;
    border: 1px solid var(--home-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, .055);
}

.tf-home-bracket-image a {
    display: block;
}

.tf-home-bracket-image img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 15px;
    background: rgba(0, 0, 0, .2);
}

.tf-home-team-track,
.tf-home-standings-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 1px 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.tf-home-articles:nth-of-type(odd),
.tf-home-channels,
.tf-home-standings {
    background: var(--home-bg-soft);
}

.tf-home-article-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.tf-home-article-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 19px;
    background: var(--home-panel);
    transition: transform .2s ease, border-color .2s ease;
}

.tf-home-article-card:hover {
    border-color: rgba(248, 201, 90, .35);
    transform: translateY(-3px);
}

.tf-home-article-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #163b28, #786525);
}

.tf-home-article-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.tf-home-article-card:hover img {
    transform: scale(1.035);
}

.tf-home-article-media > span {
    display: grid;
    height: 100%;
    place-items: center;
    color: #fff;
    font-size: 44px;
    font-weight: 950;
}

.tf-home-article-card h3 {
    margin: 0;
    padding: 13px;
    color: #fff;
    
    line-height: 1.5;
}

.tf-home-channel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.tf-home-channel-grid a {
    display: grid;
    min-height: 148px;
    align-content: start;
    padding: 18px;
    border: 1px solid var(--home-border);
    border-radius: 19px;
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, .12), transparent 42%),
        var(--home-panel);
}

.tf-home-channel-grid strong {
    color: #fff;
    font-size: 18px;
}

.tf-home-channel-grid span {
    margin-top: 8px;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.55;
}

.tf-home-channel-grid em {
    align-self: end;
    margin-top: 17px;
    color: #ffe7a3;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.tf-home-team-card {
    flex: 0 0 240px;
    min-height: 240px;
    padding: 18px;
    border: 1px solid var(--home-border);
    border-radius: 20px;
    background: var(--home-panel);
    scroll-snap-align: start;
}

.tf-home-team-flag {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    color: #07130e;
    background: linear-gradient(135deg, var(--home-gold), var(--home-green));
    font-weight: 950;
}

.tf-home-team-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tf-home-team-card h3 {
    margin: 5px 0 8px;
    color: #fff;
    
}

.tf-home-team-card p,
.tf-home-team-card time {
    display: block;
    margin: 0 0 7px;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.55;
}

.tf-home-team-card > a {
    display: inline-flex;
    margin-top: 8px;
    color: #ffe7a3;
    font-size: 12px;
    font-weight: 900;
}

.tf-home-group-card {
    flex: 0 0 274px;
    padding: 14px;
    border: 1px solid var(--home-border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(9, 42, 27, .98), rgba(5, 26, 18, .98));
    scroll-snap-align: start;
}

.tf-home-group-card h3 {
    margin: 0 0 9px;
    color: var(--home-gold);
    
}

.tf-home-group-card table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    font-size: 12px;
}

.tf-home-group-card th,
.tf-home-group-card td {
    padding: 6px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    text-align: left;
}

.tf-home-group-card th {
    color: var(--home-muted-2);
}

.tf-home-group-card td:nth-child(2) {
    max-width: 116px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tf-home-group-card td strong {
    color: var(--home-gold);
}

.tf-home-academy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tf-home-academy-grid a {
    display: grid;
    min-height: 190px;
    align-content: start;
    padding: 21px;
    border: 1px solid var(--home-border);
    border-radius: 21px;
    background:
        radial-gradient(circle at top right, rgba(248, 201, 90, .14), transparent 42%),
        var(--home-panel);
}

.tf-home-academy-grid h3 {
    margin: 0;
    color: #fff;
    
}

.tf-home-academy-grid p {
    margin: 10px 0 0;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.65;
}

.tf-home-academy-grid span {
    align-self: end;
    margin-top: 18px;
    color: #ffe7a3;
    font-size: 12px;
    font-weight: 900;
}

.tf-home-page a:focus-visible {
    outline: 2px solid var(--home-gold);
    outline-offset: 3px;
}

@media (max-width: 1080px) {

    .tf-home-hero-grid,
    .tf-home-knockout-overview {
        grid-template-columns: 1fr;
    }

    .tf-home-next-card {
        max-width: 680px;
    }

    .tf-home-article-grid,
    .tf-home-channel-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {

    .tf-home-page .tf-container {
        width: min(100% - 26px, 1180px);
    }

    .tf-home-hero {
        padding: 30px 0 26px;
    }

    .tf-home-hero-grid {
        gap: 18px;
    }

    .tf-home-hero h1 {
        margin-top: 13px;
        
        line-height: 1.12;
    }

    .tf-home-hero-copy > p {
        font-size: 14px;
    }

    .tf-home-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 18px;
    }

    .tf-home-button {
        min-height: 40px;
        padding: 0 9px;
        border-radius: 14px;
        font-size: 12px;
    }

    .tf-home-next-card {
        padding: 17px;
        border-radius: 20px;
    }

    .tf-home-next-card > strong {
        font-size: 18px;
    }

    .tf-home-section {
        padding: 26px 0;
    }

    .tf-home-section-head {
        align-items: flex-start;
        margin-bottom: 14px;
    }

    .tf-home-section-head h2,
    .tf-home-section-head > h2 {
        
    }

    .tf-home-section-head > a {
        font-size: 12px;
    }

    .tf-home-match-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .tf-home-bracket-image {
        padding: 12px;
        border-radius: 18px;
    }

    .tf-home-article-grid,
    .tf-home-channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .tf-home-article-card h3 {
        padding: 10px;
        
        line-height: 1.45;
    }

    .tf-home-channel-grid a {
        min-height: 136px;
        padding: 14px;
    }

    .tf-home-channel-grid strong {
        font-size: 16px;
    }

    .tf-home-team-card {
        flex-basis: 216px;
    }

    .tf-home-group-card {
        flex-basis: 250px;
    }

    .tf-home-academy-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tf-home-academy-grid a {
        min-height: 150px;
    }
}

@media (max-width: 420px) {

    .tf-home-section-head {
        gap: 10px;
    }

    .tf-home-page .tf-s-match-card-teams {
        gap: 6px;
    }

    .tf-home-page .tf-s-flag {
        display: none;
    }
}

/* Integrated standalone overrides; formerly compat CSS. */
.tf-home-page .tf-s-match-card {
    padding: 19px;
    border-radius: 22px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, .2);
}

.tf-home-page .tf-s-match-card-teams > strong {
    font-size: 17px;
    line-height: 1.35;
}

.tf-home-page .tf-s-detail-unavailable {
    color: var(--home-muted-2);
}

.tf-home-knockout {
    background:
        radial-gradient(circle at 50% 12%, rgba(248, 201, 90, .1), transparent 32%),
        linear-gradient(180deg, #06110c, #050b08);
}

@media (max-width: 760px) {

    .tf-home-page .tf-s-match-card {
        padding: 15px;
        border-radius: 18px;
    }

    .tf-home-page .tf-s-match-card-teams > strong {
        font-size: 15px;
    }
}
