* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    background: #f7f8fb;
    color: #1f2937;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

/* header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #edf0f5;
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    height: 66px;
    display: flex;
    align-items: center;
}

.logo {
    width: 190px;
}

.logo span {
    color: #ff5b22;
    font-size: 28px;
    font-weight: 800;
    font-style: italic;
}

.nav {
    flex: 1;
    display: flex;
    gap: 34px;
}

.nav a {
    color: #374151;
    font-weight: 600;
    padding: 24px 0;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #ff5b22;
}

.nav a.active::after {
    content: "";
    width: 100%;
    height: 2px;
    background: #ff5b22;
    position: absolute;
    left: 0;
    bottom: 0;
}

.search-box form {
    width: 320px;
    height: 42px;
    display: flex;
    background: #f6f7fa;
    border: 1px solid #edf0f5;
    border-radius: 6px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 14px;
    color: #666;
}

.search-box button {
    width: 70px;
    border: 0;
    background: #ff5b22;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* common */
.main {
    padding: 22px 0 42px;
}

.breadcrumb {
    color: #8b95a5;
    margin-bottom: 16px;
    font-size: 13px;
}

.breadcrumb a:hover {
    color: #ff5b22;
}

.orange-btn {
    background: #ff5b22;
    color: #fff;
    border: 1px solid #ff5b22;
}

.line-btn,
.white-btn {
    background: #fff;
    color: #ff5b22;
    border: 1px solid #ffb399;
}

/* list page */
.schedule-hero {
    height: 150px;
    border-radius: 8px;
    margin-bottom: 20px;
    
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-calendar {
    width: 230px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    padding: 18px;
    border-radius: 8px;
}

.hero-calendar strong {
    font-size: 22px;
    display: block;
    margin-bottom: 8px;
}

.hero-calendar span {
    color: #d6e5ff;
}

.schedule-layout,
.detail-layout {
    display: grid;
    gap: 24px;
}

.date-tabs {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    display: flex;
    overflow: hidden;
    margin-bottom: 16px;
}

.date-tabs a {
    height: 54px;
    line-height: 54px;
    padding: 0 30px;
    border-right: 1px solid #edf0f5;
    color: #4b5563;
}

.date-tabs a.active,
.date-tabs a:hover {
    background: #ff5b22;
    color: #fff;
}

.league-filter {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: center;
}

.league-filter strong {
    color: #1f2937;
}

.league-filter a {
    color: #6b7280;
}

.league-filter a.active,
.league-filter a:hover {
    color: #ff5b22;
    font-weight: 700;
}

.match-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.match-card {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: 130px 1fr 180px;
    align-items: center;
    transition: .25s;
}

.match-card:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}

.match-time-box {
    text-align: center;
    border-right: 1px solid #edf0f5;
}

.match-time-box span {
    display: block;
    color: #6b7280;
    margin-bottom: 6px;
}

.match-time-box strong {
    font-size: 24px;
    color: #1f2937;
    display: block;
    margin-bottom: 6px;
}

.match-time-box em {
    font-style: normal;
    color: #ff5b22;
    font-size: 13px;
}

.match-center {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    align-items: center;
    padding: 0 28px;
}

.team {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
}

.team-left {
    justify-content: flex-end;
}

.team-right {
    justify-content: flex-start;
}

.team img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.vs-box {
    text-align: center;
}

.vs-box b {
    font-size: 24px;
    display: block;
}

.vs-box p {
    color: #9aa2af;
    margin-top: 4px;
}

.match-action {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.match-action a {
    width: 82px;
    height: 34px;
    line-height: 32px;
    text-align: center;
    border-radius: 4px;
    font-size: 13px;
}

/* sidebar */
.side-card {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 18px;
}

.side-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.side-match {
    border-bottom: 1px solid #f0f2f6;
    padding: 12px 0;
}

.side-match:last-child {
    border-bottom: 0;
}

.side-match span {
    color: #ff5b22;
    font-size: 12px;
}

.side-match strong {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    margin: 5px 0;
}

.side-match em {
    font-style: normal;
    color: #9aa2af;
    font-size: 12px;
}

.video-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f6;
}

.video-img {
    height: 56px;
    border-radius: 4px;
    overflow: hidden;
    background: #eef1f5;
}

.video-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-item h4 {
    font-size: 14px;
    line-height: 1.5;
    height: 42px;
    overflow: hidden;
}

.video-item h4 a:hover {
    color: #ff5b22;
}

.video-item p {
    color: #9aa2af;
    font-size: 12px;
}

/* detail page */
.football-detail-card {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    margin-bottom: 18px;
}

.match-detail-hero {
    background: linear-gradient(180deg, rgba(5,18,42,.82), rgba(5,18,42,.92)), url("../images/football-bg.jpg") center/cover no-repeat;
    color: #fff;
    padding: 34px;
    text-align: center;
}

.match-status {
    display: inline-block;
    background: #ff5b22;
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.match-title-info h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.match-title-info p {
    color: #d6e5ff;
}

.detail-vs {
    display: grid;
    grid-template-columns: 1fr 140px 1fr;
    align-items: center;
    margin: 36px 0 30px;
}

.detail-team img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 14px;
}

.detail-team h2 {
    font-size: 24px;
    margin-bottom: 6px;
}

.detail-team span {
    color: #d6e5ff;
}

.detail-score strong {
    font-size: 46px;
    display: block;
}

.detail-score p {
    color: #ffb49a;
    margin-top: 8px;
}

.detail-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.detail-btns a,
.live-links a {
    width: 130px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    border-radius: 4px;
}

.detail-title {
    height: 58px;
    border-bottom: 1px solid #edf0f5;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.detail-title h2 {
    font-size: 18px;
    padding-left: 12px;
    position: relative;
}

.detail-title h2::before {
    content: "";
    width: 4px;
    height: 18px;
    background: #ff5b22;
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 3px;
}

.info-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
}

.info-table div {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid #f0f2f6;
}

.info-table span {
    width: 90px;
    color: #7b8494;
}

.info-table strong {
    font-weight: 400;
    color: #1f2937;
}

.live-content,
.content-text {
    padding: 22px 20px;
    line-height: 1.9;
    color: #374151;
}

.live-links {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.content-text img {
    max-width: 100%;
    height: auto;
    margin: 18px auto;
}

/* detail sidebar */
.mini-vs {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    align-items: center;
    text-align: center;
    margin-bottom: 18px;
}

.mini-vs img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin: 0 auto 8px;
}

.mini-vs span {
    font-size: 13px;
}

.mini-vs strong {
    font-size: 18px;
}

.mini-info {
    background: #f7f8fb;
    padding: 12px;
    border-radius: 6px;
}

.mini-info p {
    color: #4b5563;
    line-height: 2;
}

.mini-info span {
    color: #8b95a5;
}

.news-side-item {
    padding: 11px 0;
    border-bottom: 1px solid #f0f2f6;
    line-height: 1.6;
}

.news-side-item a:hover {
    color: #ff5b22;
}

/* page */
.page-box {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.page-box a,
.page-box span {
    display: inline-block;
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    line-height: 34px;
    text-align: center;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 4px;
    margin: 0 4px;
    color: #4b5563;
}

.page-box a:hover,
.page-box .current,
.page-box .active {
    background: #ff5b22;
    color: #fff;
    border-color: #ff5b22;
}

/* footer */
.footer {
    background: #fff;
    border-top: 1px solid #edf0f5;
    padding: 24px 0;
    text-align: center;
    color: #7b8494;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 14px;
}

.footer-links a:hover {
    color: #ff5b22;
}

/* mobile */
@media (max-width: 1200px) {
    .container {
        width: 94%;
    }
}

@media (max-width: 900px) {
    .header-inner {
        height: auto;
        padding: 14px 0;
        flex-wrap: wrap;
    }

    .logo {
        width: 100%;
        margin-bottom: 12px;
    }

    .nav {
        width: 100%;
        overflow-x: auto;
        gap: 20px;
        margin-bottom: 12px;
    }

    .search-box,
    .search-box form {
        width: 100%;
    }

    .schedule-hero {
        display: block;
    }

    .hero-calendar {
        width: 100%;
        margin-top: 18px;
    }

    .schedule-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .date-tabs {
        overflow-x: auto;
    }

    .date-tabs a {
        white-space: nowrap;
        padding: 0 22px;
    }

    .match-card {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .match-time-box {
        border-right: 0;
        border-bottom: 1px solid #edf0f5;
        padding-bottom: 14px;
    }

    .match-center {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0;
    }

    .team,
    .team-left,
    .team-right {
        justify-content: center;
    }

    .match-action {
        justify-content: center;
    }

    .detail-vs {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .info-table {
        grid-template-columns: 1fr;
    }

    .live-links {
        flex-direction: column;
    }

    .live-links a {
        width: 100%;
    }
}