@charset "utf-8";

:root {
    --primary: #1478ff;
    --primary-2: #0b5ed7;
    --primary-soft: #edf5ff;
    --accent: #13c983;
    --accent-soft: #eafbf4;
    --text: #172434;
    --muted: #8b98a7;
    --line: #e6ebf1;
    --line-soft: #eef2f6;
    --surface: #fff;
    --page: #f3f6fa;
    --radius-lg: 22px;
    --shadow-sm: 0 6px 18px rgba(22, 43, 67, .06);
    --shadow: 0 18px 50px rgba(24, 50, 78, .09);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main { margin: 0; padding: 0; }
article, aside, details, figcaption, figure, footer, header, main, nav, section { display: block; }
body {
    width: 100%;
    overflow-x: clip;
    background:
        radial-gradient(circle at 15% 0%, rgba(20, 120, 255, .055), transparent 28rem),
        var(--page);
    color: var(--text);
    font: 15px/1.72 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: var(--text); text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, opacity .2s ease; }
a:hover { color: var(--primary); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(20,120,255,.2); outline-offset: 2px; }
a img { border: 0; }
img { max-width: 100%; }
li { list-style: none; }
button, input, select, textarea { font: inherit; }
select, input, textarea { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
textarea { resize: vertical; }
table { width: 100%; border-spacing: 0; border-collapse: separate; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; }
table th { background: #f5f8fb; color: #3b4a5b; font-weight: 700; text-align: center; }
table td, table th { padding: 10px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
table tr:last-child td { border-bottom: 0; }
table td:last-child, table th:last-child { border-right: 0; }

.inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* Brand header */
.header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(118deg, #071a2d 0%, #0d3152 58%, #0e5682 100%);
}
.header::before,
.header::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.header::before { top: -115px; right: 8%; width: 310px; height: 310px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 54px rgba(255,255,255,.025), 0 0 0 108px rgba(255,255,255,.018); }
.header::after { right: 24%; bottom: -130px; width: 210px; height: 210px; background: radial-gradient(circle, rgba(20,120,255,.28), transparent 68%); }
.header .inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: 80px; }
.logo { min-width: 0; }
.logo a { display: block; width: 220px; height: 54px; overflow: hidden; background-repeat: no-repeat; background-position: left center; background-size: contain; text-indent: -9999em; filter: drop-shadow(0 4px 10px rgba(0,0,0,.08)); }

.bar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(216,225,234,.92); background: rgba(255,255,255,.96); box-shadow: 0 8px 26px rgba(23,45,70,.055); backdrop-filter: blur(16px); }
.bar .inner { position: relative; }
.nav > ul { display: flex; align-items: stretch; min-height: 58px; }
.nav > ul > li { position: relative; display: flex; align-items: center; font-size: 14px; font-weight: 600; }
.nav > ul > li > a { position: relative; display: flex; align-items: center; height: 58px; padding: 0 23px; white-space: nowrap; color: #435366; }
.nav > ul > li:first-child > a { padding-left: 4px; padding-right: 25px; }
.nav > ul > li > a::after { position: absolute; right: 23px; bottom: -1px; left: 23px; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--primary), #2bb5ff); content: ""; opacity: 0; transform: scaleX(.35); transition: opacity .2s ease, transform .2s ease; }
.nav > ul > li:first-child > a::after { left: 4px; right: 25px; }
.nav > ul > li:hover > a, .nav > ul > li:focus-within > a, .nav > ul > li.cur > a { color: var(--primary); }
.nav > ul > li:hover > a::after, .nav > ul > li:focus-within > a::after, .nav > ul > li.cur > a::after { opacity: 1; transform: scaleX(1); }
.nav li ul { position: absolute; top: calc(100% - 1px); left: 50%; z-index: 15; display: none; min-width: 150px; padding: 8px; border: 1px solid var(--line); border-radius: 0 0 14px 14px; background: rgba(255,255,255,.98); box-shadow: 0 18px 40px rgba(24,48,73,.13); transform: translateX(-50%); }
.nav li:hover > ul, .nav li:focus-within > ul { display: block; }
.nav li li { text-align: center; }
.nav li li a { display: block; padding: 8px 12px; border-radius: 9px; white-space: nowrap; color: #536476; font-size: 13px; }
.nav li li a:hover { background: var(--primary-soft); color: var(--primary); }

/* Main shell */
.wrapper { padding: 30px 0 38px; }
.appbox { margin-bottom: 24px; overflow: hidden; border: 1px solid rgba(226,232,239,.94); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.boxtop { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 16px 24px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, #fff 0%, #fbfdff 100%); }
.boxtop::after { position: absolute; right: 0; bottom: 0; width: 180px; height: 100%; background: radial-gradient(circle at 100% 50%, rgba(20,120,255,.055), transparent 70%); content: ""; pointer-events: none; }
.boxtop h1, .boxtop h2 { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; color: #1a2b3e; font-size: 21px; font-weight: 800; line-height: 1.4; letter-spacing: -.2px; }
.boxtop h1::before, .boxtop h2::before { display: block; flex: 0 0 auto; width: 5px; height: 22px; border-radius: 8px; background: linear-gradient(180deg, #21a7ff, var(--primary)); box-shadow: 0 3px 8px rgba(20,120,255,.24); content: ""; }
.boxtop span { position: relative; z-index: 1; margin-left: 16px; color: var(--muted); font-size: 13px; }
.boxtop span a { color: var(--primary); }

/* Event discovery */
.hot-events { position: relative; padding: 17px 24px 18px; border-bottom: 1px solid var(--line-soft); background: #fbfcfe; }
.hot-events-title { display: flex; align-items: center; gap: 7px; margin-bottom: 11px; color: #556678; font-size: 13px; font-weight: 800; }
.hot-events-title::before { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(19,201,131,.11); content: ""; }
.hot-events-row { display: flex; align-items: flex-start; margin-top: 9px; }
.hot-events-row:first-of-type { margin-top: 0; }
.hot-events-sport { flex: 0 0 auto; min-width: 40px; margin: 6px 10px 0 0; color: #91a0af; font-size: 12px; font-weight: 600; }
.hot-events-list { display: flex; flex-wrap: wrap; gap: 8px; }
.hot-events-list a { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 13px; border: 1px solid #e1e7ee; border-radius: 999px; background: #fff; color: #536476; font-size: 13px; line-height: 1.35; box-shadow: 0 2px 5px rgba(30,56,83,.025); }
.hot-events-list a:hover, .hot-events-list a.active { border-color: rgba(20,120,255,.35); background: var(--primary-soft); color: var(--primary); box-shadow: 0 5px 15px rgba(20,120,255,.09); transform: translateY(-1px); }
.hot-events-list a.active { border-color: var(--primary); background: var(--primary); color: #fff; }

/* Match card list */
.applist { display: grid; gap: 10px; padding: 18px 24px 24px; background: linear-gradient(180deg, #fff, #fbfcfe); }
.applive { margin: 0; }
.applive + .applive { border: 0; }
.applive li { position: relative; display: grid; grid-template-columns: 300px minmax(0,1fr) 205px; align-items: center; gap: 18px; width: 100%; min-height: 88px; padding: 16px 18px; overflow: hidden; border: 1px solid #e6ebf1; border-radius: 15px; background: #fff; box-shadow: 0 3px 12px rgba(28,51,76,.03); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.applive li:hover { z-index: 1; border-color: #d7e3ef; box-shadow: 0 9px 22px rgba(24,55,88,.075); transform: translateY(-2px); }
.liveinfo { min-width: 0; text-align: left; }
.liveinfo .title { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; color: #718091; font-size: 12px; font-weight: 650; line-height: 1.65; white-space: nowrap; }
.team { display: flex; align-items: center; justify-content: center; min-width: 0; color: #17283a; font-size: 16px; font-weight: 800; letter-spacing: -.1px; }
.team > div { min-width: 0; overflow: hidden; }
.team-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-zhu, .team-ke { display: flex; flex: 1 1 0; align-items: center; gap: 11px; }
.team-zhu { justify-content: flex-end; text-align: right; }
.team-ke { justify-content: flex-start; text-align: left; }
.team img { flex: 0 0 auto; width: 44px; height: 44px; padding: 5px; border: 1px solid #e4eaf0; border-radius: 13px; background: #fff; box-shadow: 0 2px 8px rgba(24,48,72,.045); object-fit: contain; }
.teamvs { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; margin: 0 4px; border: 1px solid #dfe7ef; border-radius: 50%; background: #f5f8fb; color: #8b99a7; font-size: 10px; font-weight: 900; line-height: 1; text-transform: uppercase; }
.livesource { display: flex; justify-content: flex-end; color: #91a0ae; font-size: 12px; line-height: 1.6; text-align: right; }
.livesource .watch-button { display: inline-flex; min-width: 96px; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 6px 14px; border: 1px solid var(--primary); border-radius: 10px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.livesource .watch-button::before { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.16); content: ""; }
.livesource .watch-button:hover { border-color: var(--primary); background: var(--primary-2); color: #fff; box-shadow: 0 8px 20px rgba(20,120,255,.20); transform: translateY(-1px); }
.prefix-yesterday, .prefix-today, .prefix-tomorrow, .prefix-aftertomorrow, .prefix-upcoming { display: inline-flex; flex: 0 0 auto; align-items: center; margin-right: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 20px; vertical-align: 1px; white-space: nowrap; }
.prefix-yesterday { background: #f0f3f6; color: #758392; }
.prefix-today { background: #fff0f1; color: #d84653; }
.prefix-tomorrow { background: #eaf4ff; color: #2674c9; }
.prefix-aftertomorrow, .prefix-upcoming { background: var(--accent-soft); color: #168858; }

/* League landing page */
.league-page { overflow: hidden; }
.league-page .league-hero { position: relative; display: block; min-height: 150px; padding: 30px 36px 27px; overflow: hidden; border: 0; background: linear-gradient(118deg, #0a2845 0%, #0b4c7b 52%, #1478ff 100%); }
.league-page .league-hero::before, .league-page .league-hero::after { position: absolute; border-radius: 50%; content: ""; pointer-events: none; }
.league-page .league-hero::before { top: -120px; right: 4%; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.13); box-shadow: 0 0 0 44px rgba(255,255,255,.035), 0 0 0 88px rgba(255,255,255,.025); }
.league-page .league-hero::after { right: 28%; bottom: -170px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(61,190,255,.26), transparent 70%); }
.league-page .league-hero h1 { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; margin: 0 0 9px; padding: 0; color: #fff; font-size: 28px; font-weight: 900; line-height: 1.3; letter-spacing: -.5px; }
.league-page .league-hero h1::before { display: block; flex: 0 0 auto; width: 6px; height: 28px; border-radius: 8px; background: linear-gradient(180deg, #45f0b4, var(--accent)); box-shadow: 0 4px 14px rgba(19,201,131,.3); content: ""; }
.league-page .league-hero .league-lead { position: relative; z-index: 2; display: block; max-width: 790px; margin: 0; color: rgba(235,246,255,.82); font-size: 14px; line-height: 1.75; }
.league-page > .hot-events { background: #fff; }
.league-breadcrumb { display: flex; align-items: center; gap: 8px; padding: 16px 28px 0; color: #a4afba; font-size: 12px; }
.league-breadcrumb a { color: #738292; }
.league-breadcrumb a:hover { color: var(--primary); }
.league-breadcrumb span { padding: 0; color: #c5ccd3; }
.league-breadcrumb strong { overflow: hidden; color: #667585; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.league-status { display: flex; align-items: stretch; justify-content: space-between; gap: 22px; margin: 18px 28px 0; padding: 22px 24px; border: 1px solid #e3ebf3; border-radius: 16px; background: linear-gradient(120deg, #f8fbff 0%, #fff 62%); box-shadow: var(--shadow-sm); }
.league-status-main { flex: 1; min-width: 0; }
.league-status-main h2 { margin-bottom: 7px; color: #1e3043; font-size: 18px; font-weight: 850; line-height: 1.4; }
.league-status-main p { max-width: 720px; color: #657587; font-size: 13px; line-height: 1.9; }
.league-stat-list { display: flex; flex: 0 0 auto; gap: 10px; }
.league-stat { display: flex; min-width: 106px; flex-direction: column; align-items: center; justify-content: center; padding: 12px 14px; border: 1px solid #dceafa; border-radius: 14px; background: #fff; box-shadow: 0 5px 15px rgba(20,70,120,.045); }
.league-stat strong { color: var(--primary); font-size: 27px; font-weight: 900; line-height: 1.1; }
.league-stat span { margin-top: 6px; color: #8998a7; font-size: 11px; font-weight: 600; }
.league-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 30px 28px 12px; }
.league-section-head h2 { position: relative; padding-left: 14px; color: #1c2e41; font-size: 20px; font-weight: 850; line-height: 1.4; }
.league-section-head h2::before { position: absolute; top: 2px; bottom: 2px; left: 0; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #20a7ff, var(--primary)); content: ""; }
.league-section-head > span { padding: 5px 9px; border-radius: 8px; background: #f3f6f9; color: #909eab; font-size: 11px; white-space: nowrap; }
.league-date-groups { padding: 0 4px 8px; }
.league-date-group { margin-top: 11px; }
.league-date-title { display: flex; align-items: center; gap: 8px; margin: 0 24px; padding: 5px 0 2px; color: #5a6b7c; font-size: 13px; font-weight: 800; }
.league-date-title::after { flex: 1; height: 1px; background: #edf1f5; content: ""; }
.league-date-title > span { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: #f2f5f8; }
.league-date-title .prefix-today { background: #e8f4ff; color: var(--primary); }
.league-date-title .prefix-yesterday, .league-date-title .prefix-tomorrow, .league-date-title .prefix-aftertomorrow, .league-date-title .prefix-upcoming { color: #6d7d8d; }
.league-date-group .league-applist { padding-top: 8px; padding-bottom: 9px; }
.league-empty { margin: 18px 28px 4px; padding: 42px 20px; border: 1px dashed #d6e1eb; border-radius: 16px; background: linear-gradient(180deg,#fbfdff,#f7faff); color: #8a98a5; text-align: center; font-size: 13px; }
.league-empty::before { display: block; width: 42px; height: 42px; margin: 0 auto 12px; border: 1px solid #d9e5f0; border-radius: 50%; background: #fff; box-shadow: 0 5px 14px rgba(30,65,95,.05); content: "—"; color: #9aacbc; font-size: 22px; line-height: 38px; }
.league-empty strong { display: block; margin-bottom: 7px; color: #536476; font-size: 15px; }
.league-empty p { line-height: 1.8; }
.league-about { margin: 28px; padding: 23px 25px; border: 1px solid #e4eaf0; border-radius: 16px; background: #f9fbfd; }
.league-about h2 { margin-bottom: 10px; color: #223549; font-size: 18px; font-weight: 850; }
.league-about p { max-width: 900px; margin-top: 8px; color: #657587; font-size: 14px; line-height: 1.85; }
.league-about a { color: var(--primary); font-weight: 700; }
.league-about-link { padding-top: 4px; }

/* Footer */
.copyright { padding: 27px 0; border-top: 1px solid rgba(255,255,255,.05); background: linear-gradient(120deg, #071a2d, #0b2c48); color: rgba(224,236,247,.72); font-size: 12px; line-height: 1.9; text-align: center; }
.copyright a { color: #fff; }
.copyright a:hover { color: #72c6ff; }
.copyright p { padding: 2px 0; }

@media only screen and (max-width: 1024px) {
    .inner { width: min(100% - 30px, 1180px); }
    .nav > ul > li > a { padding: 0 16px; }
    .nav > ul > li > a::after { right: 16px; left: 16px; }
    .nav > ul > li:first-child > a { padding-left: 3px; padding-right: 18px; }
    .nav > ul > li:first-child > a::after { left: 3px; right: 18px; }
    .applive li { grid-template-columns: 280px minmax(0,1fr) 175px; gap: 12px; padding-right: 14px; padding-left: 14px; }
    .team { font-size: 15px; }
    .team img { width: 40px; height: 40px; }
    .livesource { font-size: 11px; }
}

@media only screen and (max-width: 768px) {
    .inner { width: calc(100% - 24px); }
    .header .inner { min-height: 64px; }
    .logo a { width: 178px; height: 48px; }
    .header::before { right: -120px; }

    .bar { position: relative; top: auto; overflow: hidden; backdrop-filter: none; }
    .bar .inner { width: 100%; }
    .nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%); }
    .nav::-webkit-scrollbar { display: none; }
    .nav > ul { width: max-content; min-width: 100%; min-height: 48px; padding: 0 8px; }
    .nav > ul > li > a, .nav > ul > li:first-child > a { height: 48px; padding: 0 14px; font-size: 13px; }
    .nav > ul > li > a::after, .nav > ul > li:first-child > a::after { right: 14px; left: 14px; }
    .nav li ul { display: none !important; }

    .wrapper { padding: 15px 0 22px; }
    .appbox { margin-bottom: 16px; border-radius: 16px; box-shadow: 0 10px 30px rgba(24,50,78,.07); }
    .boxtop { min-height: 62px; padding: 13px 16px; }
    .boxtop h1, .boxtop h2 { font-size: 18px; }
    .boxtop h1::before, .boxtop h2::before { height: 19px; }
    .boxtop span { display: none; }

    .hot-events { padding: 14px 16px 15px; }
    .hot-events-row { display: block; }
    .hot-events-sport { display: block; margin: 8px 0 6px; }
    .hot-events-list { gap: 7px; }
    .hot-events-list a { min-height: 30px; padding: 4px 11px; font-size: 12px; }

    .applist { gap: 9px; padding: 12px 12px 15px; }
    .applive li { grid-template-columns: 1fr; grid-template-areas: "info" "team" "source"; gap: 11px; min-height: 0; padding: 14px 14px 13px; border-radius: 14px; }
    .liveinfo { grid-area: info; padding-left: 2px; }
    .liveinfo .title { gap: 5px; font-size: 12px; }
    .team { grid-area: team; padding: 2px 0 4px; font-size: 14px; }
    .team-zhu, .team-ke { gap: 8px; }
    .team img { width: 40px; height: 40px; border-radius: 11px; }
    .teamvs { width: 34px; height: 34px; margin: 0 2px; }
    .livesource { grid-area: source; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line-soft); text-align: left; }

    .league-page .league-hero { min-height: 0; padding: 24px 20px 22px; }
    .league-page .league-hero::before { top: -130px; right: -100px; }
    .league-page .league-hero h1 { margin-bottom: 9px; font-size: 24px; }
    .league-page .league-hero h1::before { height: 24px; }
    .league-page .league-hero .league-lead { font-size: 13px; line-height: 1.8; }
    .league-breadcrumb { padding: 13px 16px 0; overflow: hidden; white-space: nowrap; }
    .league-status { display: block; margin: 14px 16px 0; padding: 17px; }
    .league-status-main h2 { font-size: 16px; }
    .league-stat-list { margin-top: 14px; }
    .league-stat { flex: 1; min-width: 0; }
    .league-section-head { margin: 22px 16px 9px; }
    .league-section-head h2 { font-size: 17px; }
    .league-section-head > span { display: none; }
    .league-date-title { margin: 0 13px; }
    .league-date-group .league-applist { padding-top: 6px; }
    .league-empty { margin: 14px 16px 2px; padding: 32px 16px; }
    .league-about { margin: 21px 16px; padding: 18px; }
    .league-about h2 { font-size: 16px; }

}

@media only screen and (max-width: 480px) {
    .inner { width: calc(100% - 18px); }
    .header .inner { min-height: 64px; }
    .logo a { width: 166px; height: 46px; }
    .nav > ul { padding: 0 4px; }
    .nav > ul > li > a, .nav > ul > li:first-child > a { padding: 0 12px; }
    .nav > ul > li > a::after, .nav > ul > li:first-child > a::after { right: 12px; left: 12px; }
    .wrapper { padding-top: 10px; }
    .appbox { border-radius: 14px; }
    .boxtop { min-height: 58px; padding: 12px 14px; }
    .boxtop h1, .boxtop h2 { font-size: 17px; }
    .applist { padding: 10px; }
    .applive li { padding: 13px 12px 12px; }
    .team { font-size: 13px; }
    .team img { width: 36px; height: 36px; padding: 4px; }
    .teamvs { width: 31px; height: 31px; font-size: 9px; }
    .livesource { font-size: 11px; }
    .livesource .watch-button { font-size: 12px; }
    .prefix-yesterday, .prefix-today, .prefix-tomorrow, .prefix-aftertomorrow, .prefix-upcoming { padding: 1px 7px; font-size: 10px; line-height: 19px; }
    .league-page .league-hero { padding: 24px 17px 22px; }
    .league-page .league-hero h1 { font-size: 21px; }
    .league-status { margin-right: 12px; margin-left: 12px; padding: 15px; }
    .league-stat strong { font-size: 23px; }
    .league-stat span { font-size: 10px; }
    .league-section-head { margin-right: 13px; margin-left: 13px; }
    .league-about { margin-right: 12px; margin-left: 12px; }
    .copyright { padding: 22px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (hover: none), (pointer: coarse) {
    .applive li:hover, .hot-events-list a:hover, .livesource a:hover { transform: none; }
}

/* Match detail page */
.match-post { padding: 0; background: transparent; border: 0; box-shadow: none; }
.match-container { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.match-header { position: relative; overflow: hidden; margin: 0 0 12px; padding: 18px 16px 16px; border-radius: 18px; background: linear-gradient(120deg, #071d32 0%, #0b3d63 56%, #116cad 100%); color: #fff; text-align: center; }
.match-header::before, .match-header::after { position: absolute; border-radius: 50%; content: ""; pointer-events: none; }
.match-header::before { top: -110px; right: -40px; width: 240px; height: 240px; border: 1px solid rgba(255,255,255,.11); box-shadow: 0 0 0 40px rgba(255,255,255,.03), 0 0 0 80px rgba(255,255,255,.02); }
.match-header::after { bottom: -120px; left: 18%; width: 220px; height: 220px; background: radial-gradient(circle, rgba(20,120,255,.38), transparent 68%); }
.match-kicker { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(239,248,255,.9); font-size: 12px; font-weight: 800; letter-spacing: 1px; opacity: .75; }
.match-kicker::before { width: 7px; height: 7px; border-radius: 50%; background: #ff5965; box-shadow: 0 0 0 4px rgba(255,89,101,.13); content: ""; }
.match-versus { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 20px; margin: 12px 0; color: #fff; font-size: inherit; line-height: 1.2; }
.match-team { display: flex; min-width: 0; flex: 0 1 220px; flex-direction: column; align-items: center; gap: 8px; }
.match-team-logo { display: grid; place-items: center; width: 56px; height: 56px; padding: 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 10px 30px rgba(0,0,0,.14); object-fit: contain; }
.match-team-name { max-width: 100%; overflow: hidden; color: #fff; font-size: 15px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.match-vs-badge { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: rgba(255,255,255,.09); color: rgba(231,244,255,.76); font-size: 14px; font-weight: 900; letter-spacing: 1px; }
.match-meta { position: relative; z-index: 1; margin-top: 12px; color: rgba(226,241,253,.76); font-size: 13px; }

.stream-panel { padding: 14px; border: 1px solid #edf1f5; border-radius: 18px; background: #fff; }
.stream-label { display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 10px; color: #748597; font-size: 14px; font-weight: 600; }
.stream-label::before { width: 6px; height: 6px; border-radius: 50%; background: #13c983; content: ""; }
.gohome { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; }
.gohome a, .gohome button, .gohome .disabled { display: inline-flex; align-items: center; justify-content: center; min-width: 82px; min-height: 40px; padding: 8px 18px; border: 1px solid rgba(20,120,255,.2); border-radius: 999px; background: #fff; color: #1478ff; font-size: 13px; font-weight: 800; box-shadow: 0 5px 14px rgba(25,58,90,.05); }
.gohome .live-gate-form { display: inline-flex; margin: 0; padding: 0; }
.gohome a, .gohome button { cursor: pointer; font-family: inherit; }
.gohome a:hover, .gohome button:hover { border-color: #1478ff; background: #1478ff; color: #fff; box-shadow: 0 8px 20px rgba(20,120,255,.2); transform: translateY(-1px); }
.gohome .disabled { border-color: #e3e8ed; background: #eef2f5; color: #9aa6b2; box-shadow: none; cursor: not-allowed; }

@media (max-width: 768px) {
    .match-header { margin-bottom: 10px; padding: 14px; }
    .match-versus { gap: 12px; }
    .match-team { flex-basis: 145px; }
    .match-team-logo { width: 46px; height: 46px; padding: 7px; border-radius: 15px; }
    .match-team-name { font-size: 15px; }
    .match-vs-badge { width: 36px; height: 36px; font-size: 12px; }
    .match-meta { font-size: 12px; }

    .stream-panel { padding: 12px; }
}

@media (max-width: 480px) {
    .match-header { padding-right: 10px; padding-left: 10px; }
    .match-versus { gap: 8px; }
    .match-team { flex-basis: 118px; }
    .match-team-name { display: -webkit-box; overflow: hidden; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.35; text-align: center; }
    .match-vs-badge { width: 34px; height: 34px; font-size: 11px; }

    .gohome a, .gohome button, .gohome .disabled { min-width: 76px; min-height: 44px; padding: 7px 14px; font-size: 12px; }
}

/* Lightweight code block styles retained for shared content pages. */
code[class*="language-"],
pre[class*="language-"] {
    color: #263238;
    background: none;
    font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
    font-size: .92em;
    line-height: 1.6;
    text-align: left;
    white-space: pre;
    word-break: normal;
    word-spacing: normal;
    word-wrap: normal;
    tab-size: 4;
    hyphens: none;
}
pre[class*="language-"] { margin: .8em 0 1.2em; padding: 1em 1.1em; overflow: auto; border: 1px solid #e4e9ed; border-radius: 8px; background: #f7f9fb; }
:not(pre) > code[class*="language-"] { padding: .12em .35em; border-radius: 4px; background: #f1f4f6; white-space: normal; }
code[class*="language-"]::selection, pre[class*="language-"]::selection { background: #cce7f8; text-shadow: none; }
@media print { code[class*="language-"], pre[class*="language-"] { text-shadow: none; } }

/* Page-specific presentation */
.page-heading { min-width: 0; }
.page-heading h1 { line-height: 1.3; }
.page-heading p { margin-top: 5px; color: #8795a4; font-size: 12px; line-height: 1.6; }

.match-list-time { flex: 0 0 auto; color: #1d3044; font-size: 15px; font-weight: 900; letter-spacing: .1px; white-space: nowrap; }
.match-list-league { flex: 0 0 auto; max-width: none; overflow: visible; color: #778696; text-overflow: clip; white-space: nowrap; }

.schedule-empty { margin: 10px; padding: 42px 20px; border: 1px dashed #d7e2ec; border-radius: 15px; background: linear-gradient(180deg,#fbfdff,#f7faff); color: #8795a4; text-align: center; }
.schedule-empty strong { display: block; margin-bottom: 7px; color: #526476; font-size: 16px; }
.schedule-empty p { font-size: 13px; line-height: 1.8; }
.schedule-empty-actions { margin-top: 14px; }
.schedule-empty-actions a { display: inline-flex; min-height: 38px; align-items: center; padding: 6px 15px; border: 1px solid #d9e7f5; border-radius: 9px; background: #fff; color: var(--primary); font-size: 12px; font-weight: 750; }

.watch-guide { display: flex; align-items: center; gap: 16px; margin: 0 0 12px; padding: 20px 22px; border: 1px solid #dce8f4; border-radius: 18px; background: linear-gradient(120deg,#f6faff,#fff); box-shadow: 0 4px 14px rgba(27,55,85,.035); }
.watch-guide-badge { display: inline-flex; flex: 0 0 auto; min-height: 38px; align-items: center; padding: 7px 13px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 850; letter-spacing: .3px; }
.watch-guide-copy { min-width: 0; }
.watch-guide-copy h2 { overflow: hidden; margin: 0 0 4px; color: #1e3144; font-size: 17px; font-weight: 850; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.watch-guide-copy p { color: #7b8a99; font-size: 12px; line-height: 1.7; }

.match-info { margin-top: 12px; padding: 20px 22px; border: 1px solid #e3eaf1; border-radius: 18px; background: #fff; }
.match-info-head { margin-bottom: 13px; }
.match-info-head h2 { position: relative; padding-left: 12px; color: #223549; font-size: 17px; font-weight: 850; }
.match-info-head h2::before { position: absolute; top: 3px; bottom: 3px; left: 0; width: 4px; border-radius: 4px; background: var(--primary); content: ""; }
.match-info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #edf1f5; border-left: 1px solid #edf1f5; }
.match-info-grid > div { display: grid; grid-template-columns: 88px minmax(0,1fr); min-width: 0; border-right: 1px solid #edf1f5; border-bottom: 1px solid #edf1f5; }
.match-info-grid dt, .match-info-grid dd { min-width: 0; padding: 11px 12px; font-size: 13px; line-height: 1.65; }
.match-info-grid dt { background: #f8fafc; color: #7c8b99; font-weight: 700; }
.match-info-grid dd { overflow-wrap: anywhere; color: #35485b; font-weight: 600; }
.match-info-note { margin-top: 13px; color: #8492a0; font-size: 12px; line-height: 1.8; }

.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 8px; }
.footer-nav a { color: rgba(239,247,255,.88); font-weight: 650; }
.footer-nav a:hover { color: #72c6ff; }

@media only screen and (max-width: 768px) {
    .page-heading p { font-size: 11px; }
    .livesource .watch-button { width: 100%; min-height: 42px; }
    .watch-guide { padding: 16px; }
    .watch-guide-copy h2 { font-size: 15px; }
    .match-info { padding: 17px 16px; }
    .match-info-grid { grid-template-columns: 1fr; }
}

@media only screen and (max-width: 480px) {
    .page-heading p { margin-top: 3px; }
    .schedule-empty { margin: 8px; padding: 32px 16px; }
    .watch-guide { align-items: flex-start; gap: 12px; padding: 14px; }
    .watch-guide-badge { min-height: 34px; padding: 6px 10px; font-size: 11px; }
    .watch-guide-copy h2 { white-space: normal; }
    .match-info-grid > div { grid-template-columns: 78px minmax(0,1fr); }
    .match-info-grid dt, .match-info-grid dd { padding: 10px; font-size: 12px; }
    .footer-nav { gap: 6px 14px; }
}

/* Match detail breadcrumb spacing */
.match-breadcrumb { padding-bottom: 12px; }
@media only screen and (max-width: 768px) {
    .match-breadcrumb { padding-bottom: 10px; }
}

.article-list-section { padding: 0 24px 7px; }

.article-row-list { padding: 8px 0 2px; }
.article-row-card { border-bottom: 1px solid #edf1f5; }
.article-row-card:last-child { border-bottom: 0; }
.article-row-link { position: relative; display: flex; align-items: stretch; gap: 22px; min-height: 174px; padding: 18px 8px; }
.article-row-link::before { position: absolute; top: 23px; bottom: 23px; left: -24px; width: 3px; border-radius: 0 4px 4px 0; background: var(--primary); content: ""; opacity: 0; transform: scaleY(.45); transition: opacity .2s ease, transform .2s ease; }
.article-row-link:hover::before { opacity: 1; transform: scaleY(1); }
.article-row-thumb { position: relative; flex: 0 0 226px; width: 226px; overflow: hidden; min-height: 138px; border: 1px solid #e7ecf1; border-radius: 13px; background: #f4f7fa; }
.article-row-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.article-row-link:hover .article-row-thumb img { transform: scale(1.035); }
.article-thumb-empty { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(145deg,#f7f9fb,#eef3f7); }
.article-thumb-empty::before { position: absolute; width: 42px; height: 34px; border: 2px solid #d3dde6; border-radius: 8px; content: ""; }
.article-thumb-empty::after { position: absolute; width: 13px; height: 13px; margin: -10px 0 0 -13px; border-radius: 50%; background: #d3dde6; content: ""; }
.article-thumb-empty span { align-self: end; margin-bottom: 20px; color: #a5b0ba; font-size: 11px; }
.article-row-body { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; justify-content: center; padding: 1px 8px 1px 0; }
.article-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: #9aa7b4; font-size: 11px; line-height: 1.5; }
.article-row-category { display: inline-flex; align-items: center; min-height: 23px; padding: 2px 8px; border-radius: 6px; background: var(--primary-soft); color: var(--primary); font-weight: 750; }
.article-row-body h2 { display: -webkit-box; overflow: hidden; margin-top: 9px; color: #23364a; font-size: 19px; font-weight: 800; line-height: 1.55; letter-spacing: -.1px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.article-row-link:hover .article-row-body h2 { color: var(--primary); }
.article-row-body p { display: -webkit-box; overflow: hidden; max-width: 820px; margin-top: 7px; color: #788796; font-size: 13px; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.article-row-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; color: #9ba7b2; font-size: 11px; }
.article-row-more { color: #728497; font-weight: 700; }
.article-row-more::after { margin-left: 5px; content: "›"; color: var(--primary); font-size: 15px; vertical-align: -1px; }
.article-row-link:hover .article-row-more { color: var(--primary); }
.article-empty { margin: 28px 0; padding: 46px 18px; border: 1px dashed #d8e2ec; border-radius: 14px; background: #fafcfe; color: #8997a5; text-align: center; }
.article-empty strong { display: block; margin-bottom: 6px; color: #566779; font-size: 15px; }
.article-empty p { font-size: 12px; }

.article-pagination { display: flex; justify-content: center; padding: 20px 24px 27px; border-top: 1px solid var(--line-soft); }
.article-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.article-pagination li { margin: 0; }
.article-pagination li a,
.article-pagination li span { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; padding: 6px 11px; border: 1px solid #e1e7ed; border-radius: 9px; background: #fff; color: #657587; font-size: 12px; font-weight: 700; }
.article-pagination li a:hover { border-color: #bcd6f7; background: #f3f8ff; color: var(--primary); }
.article-pagination li.active span,
.article-pagination li.active a,
.article-pagination li.thisclass a,
.article-pagination li.thisclass span { border-color: var(--primary); background: var(--primary); color: #fff; }

@media only screen and (max-width: 768px) {

    .article-list-section { padding: 0 14px 4px; }

    .article-row-link { gap: 14px; min-height: 128px; padding: 13px 2px; }
    .article-row-link::before { left: -14px; }
    .article-row-thumb { flex-basis: 150px; width: 150px; min-height: 100px; border-radius: 11px; }
    .article-row-body { padding-right: 0; }
    .article-row-body h2 { margin-top: 7px; font-size: 16px; line-height: 1.5; }
    .article-row-body p { margin-top: 5px; font-size: 12px; line-height: 1.65; -webkit-line-clamp: 1; }
    .article-row-foot { margin-top: 7px; }
    .article-pagination { padding: 16px 14px 21px; }

}

@media only screen and (max-width: 520px) {

    .article-list-section { padding-right: 10px; padding-left: 10px; }

    .article-row-link { gap: 11px; min-height: 102px; padding: 11px 1px; }
    .article-row-link::before { display: none; }
    .article-row-thumb { flex-basis: 112px; width: 112px; min-height: 78px; border-radius: 9px; }
    .article-thumb-empty span { display: none; }
    .article-thumb-empty::before { width: 31px; height: 25px; border-width: 1.5px; border-radius: 6px; }
    .article-thumb-empty::after { width: 9px; height: 9px; margin: -7px 0 0 -10px; }
    .article-row-meta { gap: 6px 8px; font-size: 9px; }
    .article-row-category { min-height: 20px; padding: 1px 6px; font-size: 9px; }
    .article-row-body h2 { margin-top: 5px; font-size: 14px; line-height: 1.48; -webkit-line-clamp: 2; }
    .article-row-body p { display: none; }
    .article-row-foot { margin-top: 6px; font-size: 9px; }
    .article-row-more { display: none; }
    .article-pagination li a,
    .article-pagination li span { min-width: 35px; min-height: 35px; padding: 5px 8px; }

}

@media (hover: none), (pointer: coarse) {
    .article-row-link:hover .article-row-thumb img { transform: none; }
}

/* Article detail v5 - reading-first + SEO-friendly layout */
.article-v5-page { overflow: clip; }
.article-v5-breadcrumb { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 28px; overflow: hidden; border-bottom: 1px solid var(--line-soft); background: #fbfcfe; color: #a0abb6; font-size: 11px; white-space: nowrap; }
.article-v5-breadcrumb a { flex: 0 0 auto; color: #728294; }
.article-v5-breadcrumb a:hover { color: var(--primary); }
.article-v5-breadcrumb > span { color: #c8d0d8; font-size: 15px; }
.article-v5-breadcrumb strong { min-width: 0; overflow: hidden; color: #97a3ae; font-weight: 500; text-overflow: ellipsis; }

.article-v5-grid { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 0; }
.article-v5-main { min-width: 0; padding: 0 44px 38px; }
.article-v5-header { max-width: 800px; margin: 0 auto; padding: 28px 0 26px; }
.article-v5-header h1 { margin: 0; color: #192d42; font-size: clamp(28px, 3vw, 36px); font-weight: 850; line-height: 1.42; letter-spacing: -.42px; }
.article-v5-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 16px; color: #96a3af; font-size: 11px; line-height: 1.7; }
.article-v5-meta span { position: relative; }
.article-v5-meta span + span::before { position: absolute; top: .72em; left: -10px; width: 3px; height: 3px; border-radius: 50%; background: #c8d0d8; content: ""; }
.article-v5-meta b { color: #7b8997; font-weight: 600; }
.article-v5-summary { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 12px; margin-top: 24px; padding: 15px 17px; border: 1px solid #e4eaf0; border-left: 3px solid var(--primary); border-radius: 0 11px 11px 0; background: #f8fafc; }
.article-v5-summary > span { color: var(--primary); font-size: 12px; font-weight: 850; line-height: 1.9; }
.article-v5-summary p { color: #617286; font-size: 13px; line-height: 1.9; }

.article-v5-cover { max-width: 880px; overflow: hidden; margin: 0 auto 31px; border: 1px solid #e3e9ef; border-radius: 15px; background: #f4f7fa; box-shadow: 0 9px 26px rgba(24,50,76,.055); }
.article-v5-cover img { display: block; width: 100%; height: auto; }

.article-v5-content { max-width: 800px; margin: 0 auto; color: #34485c; font-size: 16px; line-height: 2.06; word-break: break-word; }
.article-v5-content > :first-child { margin-top: 0 !important; }
.article-v5-content p { margin: 0 0 1.45em; }
.article-v5-content h1,
.article-v5-content h2,
.article-v5-content h3,
.article-v5-content h4,
.article-v5-content h5,
.article-v5-content h6 { scroll-margin-top: 86px; color: #1d3349; font-weight: 850; line-height: 1.5; }
.article-v5-content h1 { margin: 1.9em 0 .75em; font-size: 22px; }
.article-v5-content h2 { position: relative; margin: 2em 0 .8em; padding-left: 14px; font-size: 21px; }
.article-v5-content h2::before { position: absolute; top: .25em; bottom: .25em; left: 0; width: 4px; border-radius: 4px; background: linear-gradient(180deg,#2aa8ff,var(--primary)); content: ""; }
.article-v5-content h3 { margin: 1.7em 0 .7em; font-size: 18px; }
.article-v5-content h4 { margin: 1.5em 0 .65em; font-size: 16px; }
.article-v5-content h5,
.article-v5-content h6 { margin: 1.35em 0 .6em; font-size: 15px; }
.article-v5-content hr { margin: 1.7em 0; border: 0; border-bottom: 1px solid var(--line); }
.article-v5-content img { display: block; max-width: 100%; height: auto !important; margin: 1.55em auto; border-radius: 12px; box-shadow: 0 7px 22px rgba(24,48,73,.07); }
.article-v5-content figure { margin: 1.55em 0; }
.article-v5-content figure img { margin: 0 auto; }
.article-v5-content figcaption { margin-top: 7px; color: #98a4af; font-size: 12px; line-height: 1.7; text-align: center; }
.article-v5-content blockquote { margin: 1.6em 0; padding: 16px 18px; border-left: 4px solid var(--primary); border-radius: 0 10px 10px 0; background: #f5f9fd; color: #5d7083; }
.article-v5-content ul,
.article-v5-content ol { margin: 1em 0 1.45em; padding-left: 1.4em; }
.article-v5-content ul li { list-style: disc; }
.article-v5-content ol li { list-style: decimal; }
.article-v5-content li { margin: .42em 0; }
.article-v5-content a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(20,120,255,.25); text-underline-offset: 3px; }
.article-v5-content table { margin: 1.55em 0; }
.article-v5-content video,
.article-v5-content iframe { max-width: 100%; }

.article-v5-footer { max-width: 800px; margin: 0 auto; }
.article-v5-end { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 37px 0 27px; }
.article-v5-end::before,
.article-v5-end::after { width: 64px; height: 1px; background: #e3e9ee; content: ""; }
.article-v5-end span { width: 5px; height: 5px; border-radius: 50%; background: #b8c3cd; }
.article-v5-prenext { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.article-v5-prenext-item { min-width: 0; padding: 15px 16px 16px; border: 1px solid #e4e9ef; border-radius: 11px; background: #fbfcfd; }
.article-v5-prenext-item > span { display: block; margin-bottom: 7px; color: #9ba6b1; font-size: 10px; }
.article-v5-prenext-item a { display: block; overflow: hidden; color: #455a6e; font-size: 13px; font-weight: 750; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; }
.article-v5-prenext-item a:hover { color: var(--primary); }
.article-v5-prenext-item em { color: #aab4be; font-size: 12px; font-style: normal; }
.article-v5-prenext-next { text-align: right; }

.article-v5-aside { min-width: 0; padding: 30px 22px 32px; border-left: 1px solid var(--line-soft); background: linear-gradient(180deg,#fbfcfe 0%,#fff 100%); }
.article-v5-side-card { position: sticky; top: 78px; margin-bottom: 16px; padding: 18px; border: 1px solid #e3e9ef; border-radius: 14px; background: #fff; box-shadow: 0 7px 20px rgba(24,48,73,.045); }
.article-v5-toc-card:not([hidden]) + .article-v5-side-card { position: static; }
.article-v5-side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.article-v5-side-head h2 { position: relative; padding-left: 11px; color: #26394d; font-size: 14px; font-weight: 850; line-height: 1.45; }
.article-v5-side-head h2::before { position: absolute; top: 2px; bottom: 2px; left: 0; width: 3px; border-radius: 4px; background: var(--primary); content: ""; }
.article-v5-side-head > a { color: #8d9aa7; font-size: 10px; }
.article-v5-side-head > a:hover { color: var(--primary); }
.article-v5-toc { display: grid; max-height: 42vh; gap: 2px; overflow: auto; scrollbar-width: thin; }
.article-v5-toc a { display: block; overflow: hidden; padding: 7px 8px; border-radius: 7px; color: #667789; font-size: 12px; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; }
.article-v5-toc a:hover { background: var(--primary-soft); color: var(--primary); }
.article-v5-toc a.is-sub { padding-left: 19px; color: #8996a3; font-size: 11px; }
.article-v5-related { display: grid; }
.article-v5-related > a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: start; padding: 11px 0; border-top: 1px solid #edf1f4; }
.article-v5-related > a:first-child { padding-top: 2px; border-top: 0; }
.article-v5-related strong { display: -webkit-box; overflow: hidden; color: #4a5d70; font-size: 12px; font-weight: 700; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.article-v5-related span { padding-top: 2px; color: #a1acb6; font-size: 10px; white-space: nowrap; }
.article-v5-related a:hover strong { color: var(--primary); }

@media only screen and (max-width: 980px) {
    .article-v5-grid { grid-template-columns: 1fr; }
    .article-v5-main { padding-right: 34px; padding-left: 34px; }
    .article-v5-aside { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding: 24px 34px 32px; border-top: 1px solid var(--line-soft); border-left: 0; }
    .article-v5-side-card,
    .article-v5-toc-card:not([hidden]) + .article-v5-side-card { position: static; margin: 0; }
}

@media only screen and (max-width: 768px) {
    .article-v5-breadcrumb { min-height: 44px; padding: 0 17px; }
    .article-v5-main { padding: 0 20px 28px; }
    .article-v5-header { padding: 24px 0 23px; }
    .article-v5-header h1 { margin: 0; font-size: 27px; }
    .article-v5-summary { margin-top: 20px; }
    .article-v5-cover { margin-bottom: 25px; border-radius: 12px; }
    .article-v5-content { font-size: 15px; line-height: 2; }
    .article-v5-content h2 { font-size: 19px; }
    .article-v5-aside { padding: 21px 20px 26px; }
}

@media only screen and (max-width: 560px) {
    .article-v5-breadcrumb { padding: 0 13px; }
    .article-v5-breadcrumb strong { display: none; }
    .article-v5-main { padding: 0 13px 23px; }
    .article-v5-header { padding: 20px 0 20px; }
    .article-v5-header h1 { font-size: 23px; line-height: 1.48; letter-spacing: -.2px; }
    .article-v5-meta { gap: 5px 12px; margin-top: 12px; font-size: 10px; }
    .article-v5-meta span + span::before { left: -7px; }
    .article-v5-summary { grid-template-columns: 1fr; gap: 3px; margin-top: 17px; padding: 13px 14px; }
    .article-v5-summary > span { font-size: 11px; }
    .article-v5-summary p { font-size: 12px; line-height: 1.8; }
    .article-v5-cover { margin-bottom: 21px; border-radius: 10px; }
    .article-v5-content { font-size: 15px; line-height: 1.95; }
    .article-v5-content p { margin-bottom: 1.35em; }
    .article-v5-content h2 { margin-top: 1.75em; font-size: 18px; }
    .article-v5-content h3 { font-size: 17px; }
    .article-v5-prenext { grid-template-columns: 1fr; gap: 8px; }
    .article-v5-prenext-next { text-align: left; }
    .article-v5-aside { grid-template-columns: 1fr; gap: 12px; padding: 18px 13px 22px; }
    .article-v5-side-card { padding: 16px; border-radius: 12px; }
}

/* PC: home team is right-aligned, VS is fixed in the middle, away team is left-aligned. */
@media only screen and (min-width: 769px) {
    .team {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
        align-items: center;
        justify-content: stretch;
        column-gap: 8px;
    }

    .team-zhu,
    .team-ke {
        min-width: 0;
        align-items: center;
    }

    .team-zhu {
        justify-content: flex-end;
        text-align: right;
    }

    .team-ke {
        justify-content: flex-start;
        text-align: left;
    }

    .teamvs {
        width: 38px;
        height: 38px;
        align-self: center;
        justify-self: center;
        margin: 0;
        transform: none;
    }
}
