body.ref-theme { --ink:#242a32; --accent:#168ed4; --header:#fff; --surface:#fff; --page:#f4f5f7; --line:#e6e8ea; }
body:not(.template-1) {
 --ref-yellow:var(--accent); --ref-header:var(--header); --ref-bg:var(--page);
 --ref-panel:var(--surface); --ref-border:var(--line); --ref-live:var(--accent);
 background:var(--page); color:var(--ink);
}

body.template-2 { --accent:#168ed4; --header:#168ed4; --page:#fff; }
body.template-3 { --accent:#e61b0a; --header:#1055db; --page:#fff; }
body.template-4 { --accent:#b91831; --header:#b91831; --page:#fafafa; }
body.template-5 { --accent:#9261e7; --header:#fff; --page:#f8f8f8; }
body.template-6 { --accent:#dc2005; --header:#dc2005; --page:#f3f4f5; }
body.template-7 { --accent:#7538f6; --header:#7538f6; --page:#fff; }
body.template-8 { --accent:#205596; --header:#205596; --page:#f3f4f5; }
body.template-9 { --accent:#ed1c24; --header:#0b1429; --page:#f3f4f8; }
body.template-10 { --accent:#459bd9; --header:#459bd9; --page:#f2f3f4; }
body.template-11 { --accent:#e3bd56; --header:#0a286d; --surface:#0a286d; --page:#0d1530; --ink:#fff; --line:#243968; }
body.template-12 { --accent:#b60088; --header:#0d174b; --page:#fff; }
body.template-13 { --accent:#10a713; --header:#fff; --page:#f8f8f8; }
body.template-14 { --accent:#168ed4; --header:#070910; --page:#fff; }
body:not(.template-1) .ref-site-header { display:none; }
body:not(.template-1) .template-header { background:var(--header); color:#fff; }
body.template-5 .template-header,body.template-13 .template-header { color:#222; border-bottom:1px solid var(--line); }
body:not(.template-1) .template-header-inner { max-width:1200px; min-height:68px; margin:auto; display:flex; align-items:center; gap:38px; padding:0 18px; }
body:not(.template-1) .template-brand { font-size:26px; font-weight:800; color:inherit; white-space:nowrap; }
body:not(.template-1) .template-navigation { display:flex; align-items:center; gap:0; overflow:auto; scrollbar-width:none; }
body:not(.template-1) .template-navigation a { color:inherit; display:block; padding:22px 17px; white-space:nowrap; font-size:16px; }
body:not(.template-1) .template-navigation a.is-current { background:var(--accent); color:#fff; }
body:not(.template-1) .template-search { color:inherit; font-size:24px; margin-left:auto; }
body.template-2 .template-header,body.template-6 .template-header,body.template-8 .template-header { border-top:45px solid #fff; }
body.template-2 .template-header .template-brand,body.template-6 .template-header .template-brand,body.template-8 .template-header .template-brand { color:#fff; }
body.template-5 .template-navigation a.is-current,body.template-13 .template-navigation a.is-current { border-radius:4px; }
body.template-7 .template-header { border-top:18px solid #7638f6; background:#fff; color:#6735dc; }
body.template-7 .template-navigation { background:#7538f6; color:#fff; transform:skewX(-25deg); }
body.template-7 .template-navigation a { transform:skewX(25deg); }
body.template-9 .template-brand { color:#ee2525; }
body.template-14 .template-header-inner { min-height:64px; }
body.template-14 .template-navigation a { padding:19px 18px; }
body:not(.template-1) .ref-page-shell { background:var(--page); }
body:not(.template-1) .template-home { max-width:1200px; margin:0 auto; padding:22px 18px 60px; }
body:not(.template-1) .template-main-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; }
body:not(.template-1) .template-live { min-width:0; background:var(--surface); }
body:not(.template-1) .template-section-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 20px; border-bottom:1px solid var(--line); }
body:not(.template-1) .template-section-heading h1 { font-size:19px; line-height:1.4; margin:0; color:var(--ink); }
body:not(.template-1) .template-sport-links { display:flex; gap:18px; }
body:not(.template-1) .template-sport-links a { color:var(--accent); }
body:not(.template-1) .fixture-date { font-size:14px; color:var(--accent); background:var(--page); margin:0; padding:10px 20px; }
body:not(.template-1) .fixture-card { min-width:0; }
body:not(.template-1) .fixture-card .ref-match-row { display:grid; grid-template-columns:80px 155px minmax(0,1fr) 118px; align-items:center; gap:12px; min-height:54px; padding:6px 16px; border-bottom:1px solid var(--line); background:var(--surface); box-shadow:none; border-radius:0; }
body:not(.template-1) .fixture-card .ref-match-time { color:#858b94; }
body:not(.template-1) .fixture-card .ref-match-time strong { font-size:14px; }
body:not(.template-1) .fixture-card .ref-match-teams { min-width:0; display:flex; align-items:center; justify-content:center; gap:10px; color:var(--ink); }
body:not(.template-1) .fixture-card .ref-team { min-width:0; flex:1; }
body:not(.template-1) .fixture-card .team-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body:not(.template-1) .fixture-card .ref-match-action { min-width:100px; text-align:center; color:#fff; background:var(--accent); padding:7px 9px; border-radius:4px; }
body:not(.template-1) .fixture-card .ref-match-action.is-upcoming { background:#adb1b6; }
body.template-3 .template-sport-links a { border-radius:20px; background:#1455d9; color:#fff; padding:4px 15px; }
body.template-3 .fixture-card .ref-match-action.is-upcoming { background:#aaa; }
body.template-4 .fixture-day-items,body.template-11 .fixture-day-items { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:12px; }
body.template-4 .template-competition-panel { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; padding:14px 18px; margin-bottom:14px; background:#fff; border:1px solid var(--line); }
body.template-4 .template-competition-panel strong { color:#b91831; padding-right:12px; border-right:1px solid var(--line); }
body.template-4 .template-competition-panel a { color:#343942; font-size:13px; }
body.template-8 .template-competition-strip { display:flex; gap:22px; overflow-x:auto; white-space:nowrap; padding:12px 18px; margin-bottom:16px; background:#1d2633; scrollbar-width:none; }
body.template-8 .template-competition-strip a { color:#fff; font-size:13px; }
body.template-12 .template-main-grid { grid-template-columns:172px minmax(0,1fr); align-items:start; }
body.template-12 .template-competition-rail { display:flex; flex-direction:column; gap:0; background:#fff; border:1px solid #e8e5ee; }
body.template-12 .template-competition-rail h2 { margin:0; padding:12px; background:#0d174b; color:#fff; font-size:16px; }
body.template-12 .template-competition-rail a { padding:9px 12px; color:#313443; font-size:13px; border-bottom:1px solid #eee; }
body.template-4 .fixture-card .ref-match-row,body.template-11 .fixture-card .ref-match-row { display:grid; grid-template-columns:1fr auto; gap:8px; min-height:84px; padding:14px; border-radius:6px; box-shadow:0 2px 10px #00000012; }
body.template-4 .fixture-card .ref-match-teams,body.template-11 .fixture-card .ref-match-teams { grid-column:1 / -1; grid-row:2; }
body.template-4 .fixture-card .ref-match-action,body.template-11 .fixture-card .ref-match-action { grid-column:2; grid-row:1; }
body.template-4 .fixture-card .ref-match-league,body.template-11 .fixture-card .ref-match-league { display:none; }
body.template-11 .fixture-card .ref-match-row { background:#0a286d; color:#fff; box-shadow:none; }
body.template-11 .fixture-card:nth-child(even) .ref-match-row { background:#323437; }
body.template-12 .fixture-day-items { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:12px; }
body.template-12 .fixture-card .ref-match-row { display:flex; flex-direction:column; align-items:stretch; min-height:185px; border:1px solid #dcdce4; border-radius:6px; background:#f6f3ff; }
body.template-12 .fixture-card .ref-match-league { order:-1; text-align:center; color:#fff; background:#b60088; padding:6px; }
body.template-12 .fixture-card .ref-match-teams { flex:1; }
body.template-12 .fixture-card .ref-match-action { align-self:center; }
body.template-9 .template-main-grid,body.template-10 .template-main-grid { grid-template-columns:minmax(0,1fr) 320px; }
body:not(.template-1) .template-news-rail { min-width:0; background:var(--surface); padding:16px; }
body:not(.template-1) .template-news-rail h2 { font-size:17px; margin:0 0 14px; padding-bottom:10px; border-bottom:2px solid var(--accent); }
body:not(.template-1) .template-news-rail a { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:8px 0; border-bottom:1px solid var(--line); color:var(--ink); }
body.template-9 .template-section-heading { background:#0b1429; color:#fff; border-left:5px solid #ed1c24; }
body.template-9 .template-section-heading h1 { color:#fff; }
body.template-10 .template-section-heading { border-top:4px solid #459bd9; }
body.template-14 .template-lead-news { display:grid; grid-template-columns:55% 1fr; gap:32px; padding:0 0 32px; }
body.template-14 .lead-image img { width:100%; height:360px; object-fit:cover; display:block; }
body.template-14 .lead-news-list h1 { font-size:21px; margin:8px 0 14px; }
body.template-14 .lead-news-list a { display:block; color:#30343b; padding:7px 0; border-bottom:1px solid #eee; }
body:not(.template-1) .template-home-news,body:not(.template-1) .template-home-topics { margin-top:20px; background:var(--surface); }
body:not(.template-1) .template-home-news .template-section-heading h2,body:not(.template-1) .template-home-topics .template-section-heading h2 { margin:0; font-size:18px; color:var(--ink); }
body:not(.template-1) .template-home-news .template-section-heading > a,body:not(.template-1) .template-home-topics .template-section-heading > a { color:var(--accent); font-size:13px; }
body:not(.template-1) .template-home-news-list,body:not(.template-1) .template-home-topic-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 24px; padding:12px 20px; }
body:not(.template-1) .template-home-news-list a,body:not(.template-1) .template-home-topic-list a { color:var(--ink); min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:9px 0; border-bottom:1px solid var(--line); }
body:not(.template-1) .ref-site-footer { background:var(--header); color:inherit; }
body:not(.template-1) .ref-site-footer a { color:inherit; }
body:not(.template-1) .page-hero,
body:not(.template-1) .ref-topic-hero { border-left-color:var(--accent); }
body:not(.template-1) .ref-news-list .news-title,
body:not(.template-1) .ref-content-sidebar .sidebar-title,
body:not(.template-1) .ref-home-sidebar .sidebar-title { border-bottom-color:var(--accent); }
body:not(.template-1) .ref-search-form button,
body:not(.template-1) .ref-search-results .search-result-index,
body:not(.template-1) #totop { background:var(--accent); color:#fff; }
body:not(.template-1) .ref-match-hero .vs-score .score,
body:not(.template-1) .ref-article-panel .article-content a { color:var(--accent); }
body:not(.template-1) .ref-site-footer { color:#fff; }
body:not(.template-1) .ref-site-footer .footer-nav a,
body:not(.template-1) .ref-site-footer .footer-links a { color:#fff !important; }
body.template-5 .ref-site-footer,
body.template-13 .ref-site-footer { color:#222; border-top:1px solid var(--line); }
body.template-5 .ref-site-footer .footer-nav a,
body.template-13 .ref-site-footer .footer-nav a { color:#222 !important; }

@media(max-width:800px) {
 body.template-14 .hefei-live-board .fixture-card .ref-match-row { grid-template-columns:42px minmax(0,1fr) 76px; gap:4px; width:100%; }
 body.template-14 .hefei-live-board .fixture-card .ref-match-league { display:none; }
 body.template-14 .hefei-live-board .fixture-card .ref-match-teams { min-width:0; overflow:hidden; }
 body.template-14 .hefei-live-board .fixture-card .ref-team { min-width:0; overflow:hidden; }
 body.template-14 .hefei-live-board .fixture-card .ref-match-action { display:block; min-width:0; width:76px; padding:7px 2px; }
}

/* Kiwi's date-first schedule and Hefei's editorial lead use separate page structures. */
body.template-2 .kiwi-header { background:#fff; }
body.template-2 .kiwi-masthead { max-width:1200px; height:58px; margin:auto; display:flex; align-items:center; gap:12px; }
body.template-2 .kiwi-brand { display:flex; align-items:center; gap:10px; color:#108edf; font-size:30px; font-weight:700; }
body.template-2 .kiwi-brand-ball { display:block; flex:none; width:35px; height:35px; background:url('/assets/kiwi-logo.png') left center / 155px 52px no-repeat; }
body.template-2 .kiwi-search { color:#108edf; margin-left:auto; font-size:24px; }
body.template-2 .kiwi-menu-toggle { display:none; }
body.template-2 .kiwi-nav-band { background:#128fe0; border-bottom:3px solid #ff313e; }
body.template-2 .kiwi-primary-nav { max-width:1200px; height:50px; margin:auto; display:flex; align-items:stretch; overflow-x:auto; scrollbar-width:none; }
body.template-2 .kiwi-primary-nav a { min-width:140px; display:grid; place-items:center; color:#fff; font-size:18px; border-right:1px solid #ffffff77; white-space:nowrap; }
body.template-2 .kiwi-primary-nav a.is-current { background:#0874bd; }
body.template-2 .kiwi-home, body.template-2 .kiwi-detail { max-width:1200px; margin:auto; padding:24px 0 50px; }
body.template-2 .kiwi-day { border-top:2px solid #1594e7; }
body.template-2 .kiwi-day summary { min-height:50px; padding:0 15px; display:flex; align-items:center; justify-content:space-between; gap:12px; color:#168fe2; font-size:18px; font-weight:400; border-bottom:1px solid #e5e5e5; cursor:pointer; list-style:none; }
body.template-2 .kiwi-day summary::-webkit-details-marker { display:none; }
body.template-2 .kiwi-collapse-label { color:#333; font-size:14px; }
body.template-2 .kiwi-day[open] .kiwi-collapse-closed,body.template-2 .kiwi-day:not([open]) .kiwi-collapse-open { display:none; }
body.template-2 .kiwi-match-row { display:grid; grid-template-columns:28px 42px 200px minmax(0,1fr) 114px; align-items:center; gap:10px; min-height:50px; padding:0 14px; border-bottom:1px solid #e9e9e9; font-size:14px; }
body.template-2 .kiwi-sport { font-size:17px; }
body.template-2 .kiwi-sport-icon { display:block; width:20px; height:20px; }
body.template-2 .kiwi-team-logo { flex:none; width:24px; height:24px; object-fit:contain; }
body.template-2 .kiwi-teams .kiwi-team { display:flex; align-items:center; min-width:0; gap:8px; }
body.template-2 .kiwi-teams .kiwi-team:first-child { justify-content:flex-end; }
body.template-2 .kiwi-team-name { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.template-2 .kiwi-live-grid { display:grid; grid-template-columns:minmax(0,800px) minmax(280px,390px); gap:10px; }
body.template-2 .kiwi-main-list { min-width:0; }
body.template-2 .kiwi-live-grid .kiwi-match-row,body.template-2 .template-content-grid .kiwi-match-row { grid-template-columns:24px 42px 112px minmax(0,1fr) 114px; gap:8px; padding:6px 0 6px 12px; }
body.template-2 .kiwi-leagues h2 { margin:0; padding:12px 10px; border-top:2px solid #1594e7; border-bottom:1px solid #eee; color:#168fe2; font-size:18px; }
body.template-2 .kiwi-league-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:4px 0 0; }
body.template-2 .kiwi-league-grid a { display:flex; align-items:center; flex-direction:column; gap:8px; min-height:121px; padding:18px 4px 10px; box-sizing:border-box; text-align:center; overflow-wrap:anywhere; }
body.template-2 .kiwi-league-grid img { display:block; width:56px; height:56px; object-fit:contain; }
body.template-2 .kiwi-leagues nav { display:flex; flex-wrap:wrap; gap:0 8px; padding:8px 12px; }
body.template-2 .kiwi-leagues nav a { padding:8px 0; text-align:center; }
body:not(.template-1) .variant-live-grid { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:20px; }
body:not(.template-1) .variant-live-grid-9 { grid-template-columns:minmax(0,800px) minmax(0,1fr); }
body:not(.template-1) .variant-live-primary { min-width:0; }
body:not(.template-1) .variant-live-sidebar { min-width:0; padding:0 14px 20px; background:var(--surface,#fff); border-top:3px solid var(--accent); }
body:not(.template-1) .variant-live-sidebar h2 { margin:0; padding:14px 0; color:var(--accent); font-size:18px; border-bottom:1px solid var(--line,#e8e8e8); }
body.template-9 .variant-live-grid { background:#071735; }
body.template-9 .variant-live-primary,body.template-11 .variant-live-primary,body.template-12 .variant-live-primary { color:#fff; }
body.template-11 .variant-live-grid { background:#071b4d; }
body.template-12 .variant-live-grid { grid-template-columns:230px minmax(0,1fr); }
body.template-12 .coaq-live-sidebar { grid-column:1; grid-row:1; padding:0; }
body.template-12 .coaq-live-sidebar .kiwi-leagues { background:#121b56; }
body.template-2 .kiwi-match-row time, body.template-2 .kiwi-league { color:#999; }
body.template-2 .kiwi-teams { min-width:0; display:grid; grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr); align-items:center; gap:4px; color:#1a1d21; text-align:center; }
body.template-2 .kiwi-teams .kiwi-team:first-child { text-align:right; }
body.template-2 .kiwi-teams .kiwi-team:last-child { text-align:left; }
body.template-2 .kiwi-teams b { font-weight:400; }
body.template-2 .kiwi-watch, body.template-2 .kiwi-live-channel { display:grid; place-items:center; min-height:33px; border-radius:4px; text-align:center; color:#fff; background:#1191e0; white-space:nowrap; }
body.template-2 .kiwi-home-news, body.template-2 .kiwi-home-topics { margin-top:40px; border-top:2px solid #1594e7; }
body.template-2 .variant-inner { background:#fff; box-shadow:none; border:0; }
body.template-2 .variant-inner .template-primary,body.template-2 .variant-inner .template-side { border:0; box-shadow:none; }
body.template-2 .variant-inner .template-title-bar { border-top:2px solid #1594e7; border-bottom:1px solid #e5e5e5; }
body.template-2 .variant-inner .template-title-bar h1 { color:#168fe2; font-weight:400; }
body.template-2 .variant-inner .template-story { padding-left:0; padding-right:0; }
body.template-2 .variant-inner .template-side h2 { color:#168fe2; font-weight:400; border-top:2px solid #1594e7; }
body.template-2 .kiwi-detail { max-width:1200px; }
body.template-2 .kiwi-detail .template-breadcrumb { display:none; }
body.template-2 .kiwi-live-heading { max-width:800px; padding:12px 16px; border-top:2px solid #1594e7; color:#128fe0; font-size:20px; font-weight:700; }
body.template-2 .kiwi-live-stage { width:min(100%,800px); border-bottom:2px solid #1594e7; }
body.template-2 .kiwi-stage-title { display:grid; place-items:center; min-height:74px; margin:0; padding:10px 18px; background:#000; color:#fff; text-align:center; font-size:20px; line-height:1.4; }
body.template-2 .kiwi-stage-field { min-height:430px; padding:50px 10px; display:grid; grid-template-columns:minmax(0,1fr) minmax(150px,240px) minmax(0,1fr); align-items:center; gap:8px; background:#238b35 url('/assets/kiwi-match-bg.png') center / cover no-repeat; }
body.template-2 .kiwi-stage-team { min-width:0; min-height:94px; padding:12px; display:flex; align-items:center; justify-content:center; gap:12px; background:#ffffffcf; }
body.template-2 .kiwi-stage-team img { width:56px; height:56px; object-fit:contain; }
body.template-2 .kiwi-stage-team strong { min-width:0; overflow-wrap:anywhere; font-size:15px; }
body.template-2 .kiwi-stage-versus { min-height:94px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; border-radius:50px; background:#ffffffdc; color:#000; }
body.template-2 .kiwi-stage-versus b { font-size:30px; }
body.template-2 .kiwi-stage-signals { min-height:53px; padding:8px 16px; display:flex; align-items:center; flex-wrap:wrap; gap:10px; background:#000; color:#f03920; }
body.template-2 .kiwi-live-channel { min-height:30px; padding:2px 14px; border:1px solid #0b9ce8; border-radius:18px; background:transparent; color:#0b9ce8; }
body.template-2 .kiwi-related { max-width:800px; margin-top:10px; }
body.template-2 .kiwi-related h2 { margin:0; padding:10px 0; color:#168fe2; border-top:2px solid #1594e7; font-size:20px; }

body.template-14 .hefei-header { background:#07070c; }
body.template-14 .hefei-primary-nav { max-width:1024px; height:66px; margin:auto; display:flex; align-items:center; gap:32px; overflow-x:auto; white-space:nowrap; scrollbar-width:none; }
body.template-14 .hefei-primary-nav a { color:#fff; font-size:16px; flex:none; }
body.template-14 .hefei-primary-nav a.is-current { color:#fff; }
body.template-14 .hefei-brand { display:flex; align-items:center; gap:12px; font-weight:700; font-size:23px !important; }
body.template-14 .hefei-brand span { font-size:31px; }
body.template-14 .hefei-search { margin-left:auto; }
body.template-14 .hefei-home { max-width:1200px; margin:auto; padding:20px 0 60px; }
body.template-14 .hefei-news-hero { display:grid; grid-template-columns:648px minmax(0,1fr); align-items:start; gap:20px; }
body.template-14 .hefei-lead { position:relative; display:block; height:400px; color:#10223b; }
body.template-14 .hefei-lead img { display:block; width:100%; height:400px; object-fit:cover; }
body.template-14 .hefei-lead strong { position:absolute; left:44px; bottom:0; max-width:calc(100% - 88px); padding:14px 10px 0; background:#fff; border-top:4px solid #fa3454; font-size:27px; font-weight:400; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
body.template-14 .hefei-news-rail { border-top:1px dashed #ddd; padding:12px 0; }
body.template-14 .hefei-news-rail a { display:block; color:#25344b; height:36px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
body.template-14 .hefei-news-rail a:first-child { font-size:20px; font-weight:700; height:46px; }
body.template-14 .hefei-live-board { max-width:1024px; margin:70px auto 0; }
body.template-14 .hefei-live-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:25px; }
body.template-14 .hefei-live-heading h1 { margin:0; color:#10223b; font-size:42px; font-weight:400; }
body.template-14 .hefei-live-heading a { padding:18px 32px; background:#fff; border-radius:7px; box-shadow:0 3px 18px #00000019; color:#14253e; }
body.template-14 .hefei-live-board .template-fixtures { border-radius:10px; overflow:hidden; box-shadow:0 1px 16px #00000012; }
body.template-14 .hefei-live-board .fixture-date { background:#222d42; color:#fff; }
@media(max-width:800px) {
	body:not(.template-1) .variant-live-grid,body.template-12 .variant-live-grid { display:block; }
	body:not(.template-1) .variant-live-sidebar { margin-top:16px; }
	body.template-2 .kiwi-live-grid { grid-template-columns:minmax(0,1fr); }
	body.template-2 .kiwi-live-grid .kiwi-match-row,body.template-2 .template-content-grid .kiwi-match-row { grid-template-columns:20px 36px minmax(0,1fr) 68px; gap:4px; padding:6px 3px; }
	body.template-2 .kiwi-live-grid { min-width:0; max-width:100%; overflow-x:hidden; }
	body.template-2 .kiwi-live-grid .kiwi-main-list,
	body.template-2 .kiwi-live-grid .kiwi-leagues { min-width:0; max-width:100%; }
	body.template-2 .kiwi-live-grid .kiwi-match-row { grid-template-columns:20px 36px minmax(0,1fr) 68px; }
	body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-league { display:none; }
	body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-teams { min-width:0; width:100%; }
	body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-watch { width:68px; min-width:0; padding-left:2px; padding-right:2px; overflow:hidden; text-overflow:ellipsis; }
	body.template-2 .kiwi-teams span { gap:3px; font-size:12px; }
	body.template-2 .kiwi-team-logo { width:18px; height:18px; }
 body.template-2 .kiwi-masthead { padding:0 12px; }
 body.template-2 .kiwi-brand { font-size:22px; }
 body.template-2 .kiwi-primary-nav a { min-width:92px; font-size:14px; }
 body.template-2 .kiwi-home, body.template-2 .kiwi-detail { padding:12px 8px 35px; }
 body.template-2 .kiwi-match-row { grid-template-columns:23px 42px minmax(0,1fr) 74px; gap:4px; padding:5px 3px; font-size:12px; }
	body.template-2 .kiwi-league { display:none; }
	body.template-2 .kiwi-league-grid { min-width:0; }
	body.template-2 .kiwi-league-grid a,
	body.template-2 .kiwi-leagues nav a { min-width:0; overflow:hidden; }
	body.template-2 .kiwi-league-grid a span,
	body.template-2 .kiwi-leagues nav a { white-space:nowrap; text-overflow:ellipsis; }
	body.template-2 .kiwi-day summary { font-size:15px; }
 body.template-2 .kiwi-watch { min-height:32px; font-size:11px; }
 body.template-2 .kiwi-stage-title { min-height:60px; font-size:16px; }
 body.template-2 .kiwi-stage-field { min-height:270px; padding:24px 6px; grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr); gap:4px; }
 body.template-2 .kiwi-stage-team { min-height:80px; padding:5px; flex-direction:column; gap:2px; text-align:center; }
 body.template-2 .kiwi-stage-team img { width:34px; height:34px; }
 body.template-2 .kiwi-stage-team strong { font-size:11px; }
 body.template-2 .kiwi-stage-versus { min-height:75px; }
 body.template-2 .kiwi-stage-versus b { font-size:22px; }
 body.template-2 .kiwi-stage-versus span { font-size:11px; }
 body.template-14 .hefei-primary-nav { padding:0 12px; gap:18px; }
 body.template-14 .hefei-brand { font-size:18px !important; }
 body.template-14 .hefei-home { padding:12px 8px 35px; }
 body.template-14 .hefei-news-hero { grid-template-columns:1fr; gap:10px; }
 body.template-14 .hefei-lead, body.template-14 .hefei-lead img { height:245px; }
 body.template-14 .hefei-lead strong { left:8px; max-width:calc(100% - 16px); font-size:17px; }
 body.template-14 .hefei-live-board { margin-top:28px; }
 body.template-14 .hefei-live-heading h1 { font-size:27px; }
body.template-14 .hefei-live-heading a { padding:10px 12px; font-size:12px; }
}

@media(max-width:420px) {
 body.template-2 .kiwi-live-grid .kiwi-match-row { grid-template-columns:18px 32px minmax(0,1fr) 64px; gap:3px; padding:5px 2px; }
 body.template-2 .kiwi-live-grid .kiwi-match-row time { font-size:11px; white-space:nowrap; }
 body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-watch { width:64px; min-width:64px; padding-left:1px; padding-right:1px; font-size:10px; }
 body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-teams { min-width:0; width:100%; grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr); gap:2px; }
 body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-teams span { min-width:0; gap:2px; font-size:11px; }
 body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-team-logo { width:16px; height:16px; }
 body.template-2 .kiwi-league-grid a { width:100%; min-width:0; }
 body.template-2 .kiwi-league-grid a span,
 body.template-2 .kiwi-leagues nav a { display:block; width:100%; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
}
@media(max-width:800px) {
 body:not(.template-1) .template-header-inner { gap:10px; flex-wrap:wrap; padding:8px 12px; }
 body:not(.template-1) .template-brand { font-size:20px; }
 body:not(.template-1) .template-navigation { width:100%; order:3; }
 body:not(.template-1) .template-navigation a { padding:10px 12px; font-size:14px; }
 body:not(.template-1) .template-home { padding:12px 8px 35px; }
 body:not(.template-1) .template-section-heading { padding:11px; }
 body:not(.template-1) .template-section-heading h1 { font-size:16px; }
 body:not(.template-1) .template-sport-links { gap:8px; font-size:13px; }
 body:not(.template-1) .fixture-card .ref-match-row { grid-template-columns:46px minmax(0,1fr) 86px; gap:4px; padding:7px 4px; }
 body:not(.template-1) .fixture-card .ref-match-league { display:none; }
 body:not(.template-1) .fixture-card .ref-match-teams,
 body:not(.template-1) .fixture-card .ref-match-action { grid-column:auto; grid-row:auto; width:auto; }
 body:not(.template-1) .fixture-card .ref-match-teams { padding:0; }
 body:not(.template-1) .fixture-card .team-logo-sm { display:block; }
 body:not(.template-1) .fixture-card .ref-match-teams { gap:3px; font-size:12px; }
 body:not(.template-1) .fixture-card .ref-match-action { min-width:0; font-size:12px; padding:7px 3px; }
 body.template-4 .fixture-day-items,body.template-11 .fixture-day-items,body.template-12 .fixture-day-items { grid-template-columns:1fr; }
 body.template-12 .template-main-grid { grid-template-columns:1fr; }
 body.template-12 .template-competition-rail { flex-direction:row; overflow-x:auto; white-space:nowrap; }
 body.template-12 .template-competition-rail h2 { flex:none; }
 body.template-12 .template-competition-rail a { flex:none; border-bottom:0; }
 body.template-9 .template-main-grid,body.template-10 .template-main-grid,body.template-14 .template-lead-news { grid-template-columns:1fr; }
 body.template-14 .lead-image img { height:230px; }
 body:not(.template-1) .template-home-news-list,body:not(.template-1) .template-home-topic-list { grid-template-columns:1fr; padding:8px 12px; }
}

body:not(.template-1) .template-header { border-top:0; background:var(--page); }
body.template-14 .template-header.hefei-header { background:#07070c; color:#fff; }
body:not(.template-1) .template-brand-row { background:#fff; color:#222; }
body:not(.template-1) .template-brand-row .template-header-inner { min-height:62px; display:flex; align-items:center; gap:18px; }
body:not(.template-1) .template-brand { font-size:27px; line-height:1.2; color:inherit; }
body.template-2 .template-brand-row .template-brand,
body.template-6 .template-brand-row .template-brand,
body.template-8 .template-brand-row .template-brand { color:#222; }
body:not(.template-1) .template-brand-caption { font-size:12px; color:#8c9198; margin-top:5px; }
body:not(.template-1) .template-search { color:inherit; font-size:26px; margin-left:auto; }
body:not(.template-1) .template-nav-row { background:var(--header); color:#fff; }
body:not(.template-1) .template-nav-row .template-header-inner { min-height:48px; }
body:not(.template-1) .template-navigation { width:100%; }
body:not(.template-1) .template-navigation a { padding:13px 19px; font-size:15px; }
body:not(.template-1) .template-navigation a.is-current { background:var(--accent); }
body.template-2 .template-navigation a.is-current { background:#0b6da8; }
body.template-3 .template-navigation a.is-current { background:#f28c19; }
body.template-4 .template-navigation a.is-current { background:#dfb55f; color:#3c1320; }
body.template-5 .template-navigation a.is-current { background:#9160e6; color:#fff; }
body.template-7 .template-navigation { transform:none; }
body.template-7 .template-navigation a { transform:none; }
body.template-9 .template-brand-row { background:#0b1429; color:#ed1c24; }
body.template-11 .template-brand-row { background:#0b245d; color:#fff; }
body.template-12 .template-brand-row { background:#0d174b; color:#fff; }
body.template-13 .template-navigation a.is-current { background:#0e9d42; color:#fff; }
body.template-14 .template-brand-row { background:#070910; color:#fff; }
body.template-14 .template-nav-row { background:#070910; border-top:1px solid #333; }

/* Keep the compact live list inside the mobile viewport. These rules are
   intentionally last so the shared template rules cannot reintroduce a
   minimum width or hide the action column. */
body.template-2 .kiwi-live-grid,
body.template-2 .kiwi-live-grid > *,
body.template-2 .kiwi-live-grid .kiwi-day-items,
body.template-2 .kiwi-live-grid .kiwi-match-row,
body.template-2 .kiwi-live-grid .kiwi-teams,
body.template-2 .kiwi-live-grid .kiwi-leagues,
body.template-2 .kiwi-live-grid .kiwi-league-grid,
body.template-2 .kiwi-live-grid .kiwi-leagues nav { box-sizing:border-box; min-width:0; max-width:100%; }
body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-teams { overflow:hidden; }

@media(max-width:950px) {
 body.template-2 .kiwi-live-grid { grid-template-columns:minmax(0,1fr); }
 body.template-2 .kiwi-live-grid .kiwi-leagues { width:100%; }
 body.template-2 #totop { display:none; }
}

/* Shared category/detail contract.  Every renderer carries a stable page
   scope so the fourteen visual variants can diverge without touching data or
   navigation behavior. */
body:not(.template-1) .template-page-news-list,
body:not(.template-1) .template-page-news-detail,
body:not(.template-1) .template-page-live-list,
body:not(.template-1) .template-page-live-detail,
body:not(.template-1) .template-page-schedule-list,
body:not(.template-1) .template-page-schedule-detail,
body:not(.template-1) .template-page-topic-list,
body:not(.template-1) .template-page-topic-detail,
body:not(.template-1) .template-page-search {
  width:min(1200px,calc(100% - 36px));
  margin:0 auto;
  box-sizing:border-box;
  color:var(--ink,#242a32);
}
body:not(.template-1) .template-page-news-list,
body:not(.template-1) .template-page-news-detail,
body:not(.template-1) .template-page-schedule-list,
body:not(.template-1) .template-page-schedule-detail,
body:not(.template-1) .template-page-topic-list,
body:not(.template-1) .template-page-topic-detail,
body:not(.template-1) .template-page-search { padding:24px 0 56px; }
body:not(.template-1) .template-page-live-list { padding:0 0 56px; }
body:not(.template-1) .template-page-live-detail { padding:24px 0 56px; }
body:not(.template-1) .template-page-news-list .template-content-grid,
body:not(.template-1) .template-page-news-detail .template-content-grid,
body:not(.template-1) .template-page-schedule-list .template-content-grid,
body:not(.template-1) .template-page-schedule-detail .template-content-grid,
body:not(.template-1) .template-page-topic-detail .template-content-grid,
body:not(.template-1) .template-page-live-detail .template-content-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 292px;
  gap:20px;
  align-items:start;
}
body:not(.template-1) .template-page-news-list .template-primary,
body:not(.template-1) .template-page-news-detail .template-primary,
body:not(.template-1) .template-page-schedule-list .template-primary,
body:not(.template-1) .template-page-schedule-detail .template-primary,
body:not(.template-1) .template-page-topic-detail .template-primary,
body:not(.template-1) .template-page-live-detail .template-primary,
body:not(.template-1) .template-page-topic-list .template-primary,
body:not(.template-1) .template-page-search .template-primary {
  min-width:0;
  background:var(--surface,#fff);
  border:1px solid var(--line,#e8e8e8);
  box-shadow:0 1px 3px #0000000b;
}
body:not(.template-1) .template-page-news-list .template-breadcrumb,
body:not(.template-1) .template-page-news-detail .template-breadcrumb,
body:not(.template-1) .template-page-schedule-list .template-breadcrumb,
body:not(.template-1) .template-page-schedule-detail .template-breadcrumb,
body:not(.template-1) .template-page-topic-list .template-breadcrumb,
body:not(.template-1) .template-page-topic-detail .template-breadcrumb,
body:not(.template-1) .template-page-search .template-breadcrumb { margin-bottom:14px; color:#8a9098; font-size:13px; }
body:not(.template-1) .template-page-news-list .template-title-bar,
body:not(.template-1) .template-page-news-detail .template-title-bar,
body:not(.template-1) .template-page-schedule-list .template-title-bar,
body:not(.template-1) .template-page-schedule-detail .template-title-bar,
body:not(.template-1) .template-page-topic-list .template-title-bar,
body:not(.template-1) .template-page-topic-detail .template-title-bar,
body:not(.template-1) .template-page-search .template-title-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:54px;
  padding:0 18px;
  border-bottom:2px solid var(--accent,#168ed4);
}
body:not(.template-1) .template-page-news-list .template-title-bar h1,
body:not(.template-1) .template-page-news-detail .template-primary > h1,
body:not(.template-1) .template-page-schedule-list .template-title-bar h1,
body:not(.template-1) .template-page-schedule-detail .template-title-bar h1,
body:not(.template-1) .template-page-topic-list .template-title-bar h1,
body:not(.template-1) .template-page-search .template-title-bar h1 { margin:0; color:var(--ink,#242a32); font-size:20px; }
body:not(.template-1) .template-page-news-list .template-side,
body:not(.template-1) .template-page-news-detail .template-side,
body:not(.template-1) .template-page-schedule-list .template-side,
body:not(.template-1) .template-page-schedule-detail .template-side,
body:not(.template-1) .template-page-topic-detail .template-side { min-width:0; padding:16px; background:var(--surface,#fff); border-top:3px solid var(--accent,#168ed4); }
body:not(.template-1) .template-page-news-list .template-side h2,
body:not(.template-1) .template-page-news-detail .template-side h2,
body:not(.template-1) .template-page-schedule-list .template-side h2,
body:not(.template-1) .template-page-schedule-detail .template-side h2,
body:not(.template-1) .template-page-topic-detail .template-side h2 { margin:0 0 8px; padding-bottom:10px; border-bottom:1px solid var(--line,#e8e8e8); color:var(--accent,#168ed4); font-size:17px; }
body:not(.template-1) .template-page-live-detail .template-match-heading,
body:not(.template-1) .template-page-live-detail .template-match-score,
body:not(.template-1) .template-page-live-detail .template-match-information { margin-left:0; margin-right:0; }
body:not(.template-1) .template-page-search .template-search-form { display:flex; gap:8px; padding:18px; border-bottom:1px solid var(--line,#e8e8e8); }
body:not(.template-1) .template-page-search .template-search-form input { flex:1; min-width:0; height:40px; padding:0 12px; border:1px solid var(--line,#d9dde3); border-radius:3px; }
body:not(.template-1) .template-page-search .template-search-form button { min-width:88px; border:0; border-radius:3px; background:var(--accent,#168ed4); color:#fff; cursor:pointer; }
body:not(.template-1) .template-page-topic-list .template-topic-grid { padding:18px; }
body:not(.template-1) .template-page-topic-detail .template-topic-hero { margin:18px; }
body.template-2 .template-page-news-list .template-title-bar,
body.template-2 .template-page-news-detail .template-title-bar,
body.template-2 .template-page-schedule-list .template-title-bar,
body.template-2 .template-page-schedule-detail .template-title-bar,
body.template-2 .template-page-topic-list .template-title-bar,
body.template-2 .template-page-search .template-title-bar { border-top:2px solid #1594e7; border-bottom:1px solid #e5e5e5; }
body.template-3 .template-page-news-list .template-primary,
body.template-3 .template-page-news-detail .template-primary,
body.template-3 .template-page-schedule-list .template-primary,
body.template-3 .template-page-schedule-detail .template-primary,
body.template-3 .template-page-topic-list .template-primary,
body.template-3 .template-page-topic-detail .template-primary,
body.template-3 .template-page-search .template-primary { border-top:3px solid #1455d9; }
body.template-4 .template-page-news-list .template-title-bar,
body.template-4 .template-page-news-detail .template-title-bar,
body.template-4 .template-page-schedule-list .template-title-bar,
body.template-4 .template-page-schedule-detail .template-title-bar { border-color:#b91831; }
body.template-5 .template-page-news-list .template-primary,
body.template-5 .template-page-news-detail .template-primary,
body.template-5 .template-page-schedule-list .template-primary,
body.template-5 .template-page-schedule-detail .template-primary { border-radius:8px; }
body.template-9 .template-page-news-list .template-title-bar,
body.template-9 .template-page-news-detail .template-title-bar,
body.template-9 .template-page-schedule-list .template-title-bar,
body.template-9 .template-page-schedule-detail .template-title-bar,
body.template-9 .template-page-topic-list .template-title-bar,
body.template-9 .template-page-topic-detail .template-title-bar,
body.template-9 .template-page-search .template-title-bar { background:#0b1429; }
body.template-9 .template-page-news-list .template-title-bar h1,
body.template-9 .template-page-schedule-list .template-title-bar h1,
body.template-9 .template-page-search .template-title-bar h1 { color:#fff; }
body.template-11 .template-page-news-list .template-primary,
body.template-11 .template-page-news-detail .template-primary,
body.template-11 .template-page-schedule-list .template-primary,
body.template-11 .template-page-schedule-detail .template-primary,
body.template-11 .template-page-topic-list .template-primary,
body.template-11 .template-page-topic-detail .template-primary,
body.template-11 .template-page-search .template-primary { background:#0a286d; color:#fff; border-color:#243968; }
body.template-12 .template-page-news-list .template-content-grid,
body.template-12 .template-page-news-detail .template-content-grid,
body.template-12 .template-page-schedule-list .template-content-grid,
body.template-12 .template-page-schedule-detail .template-content-grid,
body.template-12 .template-page-topic-detail .template-content-grid { grid-template-columns:230px minmax(0,1fr); }
body.template-14 .template-page-news-list .template-primary,
body.template-14 .template-page-news-detail .template-primary,
body.template-14 .template-page-schedule-list .template-primary,
body.template-14 .template-page-schedule-detail .template-primary,
body.template-14 .template-page-topic-list .template-primary,
body.template-14 .template-page-topic-detail .template-primary,
body.template-14 .template-page-search .template-primary { border:0; box-shadow:none; }
@media(max-width:800px) {
  body:not(.template-1) .template-page-news-list,
  body:not(.template-1) .template-page-news-detail,
  body:not(.template-1) .template-page-live-list,
  body:not(.template-1) .template-page-live-detail,
  body:not(.template-1) .template-page-schedule-list,
  body:not(.template-1) .template-page-schedule-detail,
  body:not(.template-1) .template-page-topic-list,
  body:not(.template-1) .template-page-topic-detail,
  body:not(.template-1) .template-page-search { width:100%; padding:14px 8px 36px; }
  body:not(.template-1) .template-page-news-list .template-content-grid,
  body:not(.template-1) .template-page-news-detail .template-content-grid,
  body:not(.template-1) .template-page-schedule-list .template-content-grid,
  body:not(.template-1) .template-page-schedule-detail .template-content-grid,
  body:not(.template-1) .template-page-topic-detail .template-content-grid { display:block; }
  body:not(.template-1) .template-page-news-list .template-side,
  body:not(.template-1) .template-page-news-detail .template-side,
  body:not(.template-1) .template-page-schedule-list .template-side,
  body:not(.template-1) .template-page-schedule-detail .template-side,
  body:not(.template-1) .template-page-topic-detail .template-side { margin-top:14px; }
  body.template-12 .template-page-news-list .template-content-grid,
  body.template-12 .template-page-news-detail .template-content-grid,
  body.template-12 .template-page-schedule-list .template-content-grid,
  body.template-12 .template-page-schedule-detail .template-content-grid,
  body.template-12 .template-page-topic-detail .template-content-grid { display:flex; flex-direction:column; }
  body.template-12 .template-page-news-list .template-content-grid > *,
  body.template-12 .template-page-news-detail .template-content-grid > *,
  body.template-12 .template-page-schedule-list .template-content-grid > *,
  body.template-12 .template-page-schedule-detail .template-content-grid > *,
  body.template-12 .template-page-topic-detail .template-content-grid > * { width:100%; }
  body.template-11 .template-page-news-list .template-primary,
  body.template-11 .template-page-news-detail .template-primary,
  body.template-11 .template-page-schedule-list .template-primary,
  body.template-11 .template-page-schedule-detail .template-primary,
  body.template-11 .template-page-topic-list .template-primary,
  body.template-11 .template-page-topic-detail .template-primary,
  body.template-11 .template-page-search .template-primary { color:#fff; }
}

@media(max-width:800px) {
 body.template-2 .kiwi-live-grid { display:block; width:100%; overflow:hidden; }
 body.template-2 .kiwi-live-grid .kiwi-main-list,
 body.template-2 .kiwi-live-grid .kiwi-leagues { width:100%; overflow:hidden; }
 body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-watch {
   display:grid; visibility:visible; position:relative; z-index:1;
   justify-self:stretch; align-self:center; box-sizing:border-box;
 }
}

@media(max-width:420px) {
 body.template-2 .kiwi-live-grid .kiwi-match-row {
   width:100%; grid-template-columns:18px 32px minmax(0,1fr) 64px;
   gap:3px; padding:5px 2px; overflow:hidden;
 }
 body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-watch {
   width:64px; min-width:64px; max-width:64px; padding-left:1px; padding-right:1px;
   overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
 }
 body.template-2 .kiwi-live-grid .kiwi-league-grid,
 body.template-2 .kiwi-live-grid .kiwi-leagues nav { width:100%; overflow:hidden; }
}

body:not(.template-1) .template-inner { max-width:1200px; margin:0 auto; padding:22px 18px 64px; }
body:not(.template-1) .template-breadcrumb { color:#89909a; font-size:13px; padding:0 0 18px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
body:not(.template-1) .template-breadcrumb a { color:var(--ink); }
body:not(.template-1) .template-breadcrumb span { padding:0 7px; }
body:not(.template-1) .template-content-grid { display:grid; grid-template-columns:minmax(0,1fr) 288px; align-items:start; gap:24px; }
body:not(.template-1) .template-primary { min-width:0; background:var(--surface); }
body:not(.template-1) .template-title-bar { border-bottom:2px solid var(--accent); padding:13px 16px; }
body:not(.template-1) .template-title-bar h1 { margin:0; font-size:21px; color:var(--ink); }
body:not(.template-1) .template-story { display:grid; grid-template-columns:180px minmax(0,1fr); gap:18px; padding:18px 16px; border-bottom:1px solid var(--line); }
body:not(.template-1) .template-story-image { display:block; aspect-ratio:16/10; overflow:hidden; }
body:not(.template-1) .template-story-image img { width:100%; height:100%; object-fit:cover; }
body:not(.template-1) .template-story-body { min-width:0; display:flex; flex-direction:column; }
body:not(.template-1) .template-story-body h2 { font-size:18px; line-height:1.4; margin:0 0 9px; }
body:not(.template-1) .template-story-body h2 a { color:var(--ink); }
body:not(.template-1) .template-story-body p { color:#777f89; line-height:1.65; margin:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
body:not(.template-1) .template-story-body time { color:#9ca3ac; font-size:12px; margin-top:auto; }
body:not(.template-1) .template-side { min-width:0; background:var(--surface); padding:14px; }
body:not(.template-1) .template-side h2 { font-size:17px; color:var(--ink); margin:0 0 8px; padding:8px 0; border-bottom:2px solid var(--accent); }
body:not(.template-1) .template-side > a { display:block; color:var(--ink); font-size:14px; line-height:1.5; padding:9px 0; border-bottom:1px solid var(--line); }
body:not(.template-1) .template-article-body { padding:24px 32px; }
body:not(.template-1) .template-article-body > h1 { color:var(--ink); font-size:28px; line-height:1.4; text-align:center; margin:8px 0 15px; }
body:not(.template-1) .template-article-meta { display:flex; gap:24px; justify-content:center; color:#9299a1; font-size:13px; border-bottom:1px solid var(--line); padding-bottom:20px; }
body:not(.template-1) .template-article-content { padding:24px 0; font-size:16px; line-height:1.9; overflow-wrap:anywhere; }
body:not(.template-1) .template-article-content p { margin:0 0 18px; }
body:not(.template-1) .template-article-content img { max-width:100%; height:auto; }
body:not(.template-1) .template-article-tags { border-top:1px solid var(--line); padding:17px 0; }
body:not(.template-1) .template-article-tags h2 { font-size:15px; color:var(--ink); }
body:not(.template-1) .template-article-tags a { display:inline-block; color:var(--accent); margin:0 12px 9px 0; }
body:not(.template-1) .template-article-nav { display:grid; gap:9px; border-top:1px solid var(--line); padding-top:16px; }
body:not(.template-1) .template-article-nav a { color:var(--ink); overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
body.template-4 .template-story,body.template-11 .template-story { grid-template-columns:120px minmax(0,1fr); }
body.template-9 .template-title-bar { background:#0b1429; border-left:5px solid #ed1c24; border-bottom:0; }
body.template-9 .template-title-bar h1 { color:#fff; }
body.template-11 .template-story-body p,body.template-11 .template-story-body time { color:#adb8d5; }
body.template-14 .template-content-grid { grid-template-columns:minmax(0,1fr) 320px; }
body.template-14 .template-title-bar { border-bottom-color:#111; }
body:not(.template-1) .template-live-index .template-title-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; }
body:not(.template-1) .template-live-filters { display:flex; gap:6px; }
body:not(.template-1) .template-live-filters a { color:var(--ink); padding:6px 12px; white-space:nowrap; }
body:not(.template-1) .template-live-filters a.is-current { color:#fff; background:var(--accent); }
body:not(.template-1) .template-search-form { display:flex; padding:18px; gap:8px; }
body:not(.template-1) .template-search-form input { flex:1; min-width:0; padding:11px 12px; border:1px solid var(--line); background:var(--surface); color:var(--ink); }
body:not(.template-1) .template-search-form button { border:0; padding:0 20px; color:#fff; background:var(--accent); cursor:pointer; }
body:not(.template-1) .template-search-result { display:flex; gap:18px; padding:16px 20px; border-top:1px solid var(--line); }
body:not(.template-1) .template-search-result > span { align-self:start; color:var(--accent); font-size:13px; white-space:nowrap; }
body:not(.template-1) .template-search-result h2 { font-size:17px; margin:0 0 6px; }
body:not(.template-1) .template-search-result h2 a { color:var(--ink); }
body:not(.template-1) .template-search-result p { margin:0; color:#89909a; }
body:not(.template-1) .template-topic-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; padding:20px; }
body:not(.template-1) .template-topic-tile { min-width:0; color:var(--ink); }
body:not(.template-1) .template-topic-tile img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }
body:not(.template-1) .template-topic-tile span { display:block; padding:9px 0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
body:not(.template-1) .template-competition-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:18px; }
body:not(.template-1) .template-competition-grid a { display:flex; flex-direction:column; gap:6px; min-width:0; color:var(--ink); padding:14px; background:var(--page); border-left:3px solid var(--accent); }
body:not(.template-1) .template-competition-grid span { color:#89909a; font-size:12px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
body:not(.template-1) .template-schedule-index .template-title-bar h2 { margin:0; font-size:18px; }
body:not(.template-1) .template-schedule-summary { padding:16px 18px; margin:0; color:#777f89; }
body:not(.template-1) .template-match-heading { padding:22px; text-align:center; border-bottom:1px solid var(--line); }
body:not(.template-1) .template-match-heading h1 { font-size:22px; margin:0 0 10px; }
body:not(.template-1) .template-match-heading p { margin:0; color:#89909a; }
body:not(.template-1) .template-match-score { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:24px; padding:34px 22px; text-align:center; }
body:not(.template-1) .template-match-score > div { display:flex; flex-direction:column; align-items:center; gap:12px; min-width:0; }
body:not(.template-1) .template-match-score img { width:58px; height:58px; object-fit:contain; }
body:not(.template-1) .template-match-score strong { overflow-wrap:anywhere; }
body:not(.template-1) .template-match-score > span { color:var(--accent); font-size:30px; font-weight:700; white-space:nowrap; }
body:not(.template-1) .template-match-information { padding:18px 22px; border-top:1px solid var(--line); }
body:not(.template-1) .template-match-information h2 { font-size:18px; border-left:3px solid var(--accent); padding-left:9px; }
body:not(.template-1) .template-match-information p { line-height:1.7; }
body:not(.template-1) .template-topic-hero { display:grid; grid-template-columns:36% minmax(0,1fr); gap:24px; padding:20px; }
body:not(.template-1) .template-topic-hero img { width:100%; aspect-ratio:16/10; object-fit:cover; }
body:not(.template-1) .template-topic-hero h1 { font-size:24px; margin:0 0 12px; overflow-wrap:anywhere; }
body:not(.template-1) .template-topic-hero p { line-height:1.7; }
body:not(.template-1) .template-topic-meta { color:#89909a; font-size:13px; }
body:not(.template-1) .template-topic-detail .template-title-bar h2 { margin:0; font-size:18px; }
body:not(.template-1) .template-topic-tags { padding:20px; border-top:1px solid var(--line); }
body:not(.template-1) .template-topic-tags h2 { font-size:17px; }
body:not(.template-1) .template-topic-tags a { display:inline-block; color:var(--accent); margin:0 15px 10px 0; }
@media(max-width:800px) {
 body:not(.template-1) .template-brand-row .template-header-inner { min-height:52px; flex-wrap:nowrap; padding:0 12px; }
 body:not(.template-1) .template-brand { font-size:20px; }
 body:not(.template-1) .template-brand-caption { display:none; }
 body:not(.template-1) .template-nav-row .template-header-inner { padding:0 4px; flex-wrap:nowrap; }
 body:not(.template-1) .template-navigation { order:0; overflow-x:auto; white-space:nowrap; }
 body:not(.template-1) .template-navigation a { padding:12px 13px; font-size:14px; }
 body:not(.template-1) .template-inner { padding:13px 10px 36px; }
 body:not(.template-1) .template-content-grid,body.template-14 .template-content-grid { grid-template-columns:1fr; }
 body:not(.template-1) .template-side { display:none; }
 body:not(.template-1) .template-story { grid-template-columns:94px minmax(0,1fr); gap:10px; padding:11px 0; }
 body.template-4 .template-story,body.template-11 .template-story { grid-template-columns:94px minmax(0,1fr); }
 body:not(.template-1) .template-story-body h2 { font-size:14px; margin:0 0 5px; }
 body:not(.template-1) .template-story-body p { display:none; }
 body:not(.template-1) .template-article-body { padding:15px; }
 body:not(.template-1) .template-article-body > h1 { font-size:22px; }
 body:not(.template-1) .template-article-meta { flex-wrap:wrap; gap:4px 14px; }
 body:not(.template-1) .template-live-index .template-title-bar { flex-wrap:wrap; }
 body:not(.template-1) .template-live-filters { overflow-x:auto; max-width:100%; }
 body:not(.template-1) .template-topic-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:10px; }
 body:not(.template-1) .template-search-result { padding:12px; gap:8px; }
 body:not(.template-1) .template-competition-grid { grid-template-columns:repeat(2,minmax(0,1fr)); padding:10px; gap:8px; }
 body:not(.template-1) .template-match-score { gap:8px; padding:22px 12px; }
 body:not(.template-1) .template-match-score > span { font-size:21px; }
 body:not(.template-1) .template-match-score img { width:42px; height:42px; }
 body:not(.template-1) .template-topic-hero { grid-template-columns:1fr; gap:10px; padding:12px; }
}

@media(max-width:800px) {
 body.template-14 .hefei-live-board .fixture-card .ref-match-row { display:flex; align-items:center; width:100%; }
 body.template-14 .hefei-live-board .fixture-card .ref-match-time { flex:0 0 44px; }
 body.template-14 .hefei-live-board .fixture-card .ref-match-time span { display:none; }
 body.template-14 .hefei-live-board .fixture-card .ref-match-teams { flex:1 1 0; min-width:0; }
 body.template-14 .hefei-live-board .fixture-card .ref-match-action { flex:0 0 76px; min-width:0; width:76px; }
 body.template-14 .hefei-live-board .fixture-card .ref-team { min-width:0; }
 body.template-14 .hefei-live-board .fixture-card .team-name { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
}

body.template-3 .hot-header { background:#1055db; }
body.template-3 .hot-primary-nav { max-width:1200px; height:66px; margin:auto; display:flex; align-items:stretch; overflow-x:auto; white-space:nowrap; scrollbar-width:none; }
body.template-3 .hot-primary-nav a { display:flex; align-items:center; flex:none; padding:0 19px; color:#fff; font-size:16px; }
body.template-3 .hot-primary-nav a.is-current { background:#ed8900; }
body.template-3 .hot-brand { gap:9px; padding-left:0 !important; padding-right:35px !important; font-size:31px !important; font-weight:700; }
body.template-3 .hot-brand span { font-size:26px; }
body.template-3 .hot-search { margin-left:auto; }
body.template-3 .hot-home { max-width:1200px; margin:auto; padding:20px 0 60px; background:#fff; }
body.template-3 .hot-section-title { display:flex; align-items:center; min-height:65px; border-bottom:1px solid #e7e8eb; gap:22px; }
body.template-3 .hot-section-title h1, body.template-3 .hot-section-title h2 { flex:none; width:185px; margin:0; color:#151923; font-size:18px; }
body.template-3 .hot-section-title h1::before, body.template-3 .hot-section-title h2::before { content:'♨'; margin-right:7px; color:#fc3545; font-size:24px; vertical-align:middle; }
body.template-3 .hot-competition-links { display:flex; gap:10px; min-width:0; overflow-x:auto; scrollbar-width:none; }
body.template-3 .hot-competition-links a { flex:none; padding:6px 16px; border-radius:20px; background:#1055db; color:#fff; font-size:13px; }
body.template-3 .hot-day h2 { margin:15px 0 0; padding:15px 30px; background:#eaf2f7; color:#172537; font-size:15px; font-weight:400; }
body.template-3 .hot-match-row { display:grid; grid-template-columns:65px 30px 270px minmax(0,1fr) 115px; align-items:center; gap:13px; min-height:61px; padding:0 20px 0 30px; border-bottom:1px solid #eceef0; font-size:14px; }
body.template-3 .hot-match-row time { color:#667386; }
body.template-3 .hot-sport { font-size:20px; }
body.template-3 .hot-league { color:#68778a; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
body.template-3 .hot-teams { display:grid; grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr); align-items:center; gap:16px; min-width:0; color:#48586d; }
body.template-3 .hot-teams span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
body.template-3 .hot-teams span:first-child { text-align:right; }
body.template-3 .hot-teams b { color:#9caabd; text-align:center; }
body.template-3 .hot-watch { display:block; padding:10px 4px; border-radius:5px; background:#a9adb3; color:#fff; text-align:center; font-size:13px; }
body.template-3 .hot-watch.is-live { background:#e20a04; }
body.template-3 .hot-home-news, body.template-3 .hot-home-topics { margin-top:28px; }
body.template-3 .hot-home-news h2, body.template-3 .hot-home-topics h2 { border-bottom:1px solid #e7e8eb; padding-bottom:12px; }
body.template-4 .clippers-header { background:#b8112b; color:#fff; }
body.template-4 .clippers-primary-nav { max-width:1200px; min-height:78px; margin:auto; display:flex; align-items:center; gap:0; overflow-x:auto; white-space:nowrap; scrollbar-width:none; }
body.template-4 .clippers-primary-nav a { flex:none; color:#fff; padding:0 23px; font-size:16px; }
body.template-4 .clippers-primary-nav a.is-current { color:#ffd034; font-weight:700; }
body.template-4 .clippers-primary-nav .clippers-brand { max-width:245px; min-width:245px; padding-left:8px; font-size:25px; font-weight:800; overflow:hidden; text-overflow:ellipsis; }
body.template-4 .clippers-search { margin-left:auto; }
body.template-4 .clippers-home { max-width:1200px; margin:auto; padding:20px 0 55px; }
body.template-4 .clippers-competition-grid { display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); gap:0; padding:20px 12px; margin:0 0 20px; background:#fff; box-shadow:0 2px 12px #00000013; }
body.template-4 .clippers-competition-grid a { display:block; padding:12px 6px; color:#272727; font-size:14px; text-align:center; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
body.template-4 .clippers-section-heading { height:67px; padding:23px 28px; background:#fff; box-shadow:0 2px 12px #00000013; color:#555; font-size:19px; font-weight:700; letter-spacing:3px; }
body.template-4 .clippers-schedule { padding:13px 23px 26px; background:#fff; box-shadow:0 2px 12px #00000013; }
body.template-4 .clippers-day h2 { margin:0 0 8px; padding:14px 8px; background:#f8f8f8; color:#b8112b; font-size:13px; font-weight:400; text-align:center; }
body.template-4 .clippers-day-items { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 22px; }
body.template-4 .clippers-match-row { display:flex; align-items:center; gap:8px; min-height:67px; padding:8px 22px; background:#fbfbfb; box-shadow:0 3px 12px #00000014; border-radius:6px; font-size:12px; min-width:0; }
body.template-4 .clippers-match-row time { color:#ee3345; white-space:nowrap; font-weight:700; }
body.template-4 .clippers-league { flex:0 1 70px; color:#999; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.template-4 .clippers-teams { flex:1 1 0; min-width:0; color:#303030; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.template-4 .clippers-teams span { color:#555; }
body.template-4 .clippers-watch { flex:none; padding:4px 8px; border-radius:12px; background:#b8112b; color:#fff; white-space:nowrap; }
body.template-4 .clippers-home-news, body.template-4 .clippers-home-topics { margin-top:20px; padding:18px 22px; box-shadow:0 2px 12px #00000013; }
body.template-5 .bxz-header { background:#fff; color:#111; box-shadow:0 2px 10px #00000012; }
body.template-5 .bxz-main-nav { max-width:1200px; height:50px; margin:auto; display:flex; align-items:stretch; gap:28px; }
body.template-5 .bxz-brand { flex:none; min-width:220px; align-self:center; color:#9361e8; font-size:27px; font-weight:700; }
body.template-5 .bxz-main-nav nav { display:flex; align-items:stretch; gap:0; overflow-x:auto; scrollbar-width:none; }
body.template-5 .bxz-main-nav nav a { display:grid; place-items:center; flex:none; min-width:95px; padding:0 10px; color:#222; font-size:16px; }
body.template-5 .bxz-main-nav nav a.is-current { background:#9564e6; color:#fff; border-radius:4px; }
body.template-5 .bxz-search { align-self:center; margin-left:auto; color:#555; font-size:24px; line-height:1; }

/* Independent reference shells for the remaining layouts. */
body.template-6 .variant-header,body.template-7 .variant-header,body.template-8 .variant-header,body.template-9 .variant-header,body.template-10 .variant-header,body.template-11 .variant-header,body.template-12 .variant-header,body.template-13 .variant-header { background:var(--header); color:#fff; }
body.template-13 .variant-header { color:#222; }
body.template-11 .variant-header,body.template-12 .variant-header { background:#0b174a; }
body.template-7 .variant-header { background:#fff; color:#5e2fd0; border-top:14px solid #7538f6; }
body.template-9 .variant-header { background:#0b1429; color:#fff; }
body.template-10 .variant-header { background:#459bd9; color:#fff; }
body.template-6 .variant-header,body.template-8 .variant-header { border-top:38px solid #fff; }
body.template-6 .variant-header,body.template-8 .variant-header,body.template-13 .variant-header { border-bottom:1px solid var(--line); }
body.template-11 .variant-header { color:#fff; }
body.template-12 .variant-header { color:#fff; }
body.template-13 .variant-header { color:#222; }
body:not(.template-1) .variant-brand-row { max-width:1200px; min-height:58px; margin:auto; display:flex; align-items:center; gap:14px; padding:0 18px; }
body:not(.template-1) .variant-brand { color:inherit; font-size:24px; font-weight:800; white-space:nowrap; }
body:not(.template-1) .variant-brand-row > span { opacity:.65; font-size:13px; }
body:not(.template-1) .variant-search { margin-left:auto; color:inherit; font-size:22px; }
body:not(.template-1) .variant-primary-nav { display:flex; max-width:1200px; margin:auto; overflow:auto; scrollbar-width:none; }
body:not(.template-1) .variant-primary-nav a { flex:none; color:inherit; padding:14px 19px; white-space:nowrap; font-size:15px; }
body.template-6 .variant-primary-nav,body.template-8 .variant-primary-nav { background:#dc2005; color:#fff; }
body.template-13 .variant-primary-nav a.is-current { background:#0e9d42; color:#fff; }
body.template-7 .variant-primary-nav { background:#7538f6; color:#fff; transform:skewX(-14deg); }
body.template-7 .variant-primary-nav a { transform:skewX(14deg); }
body.template-9 .variant-primary-nav a.is-current,body.template-10 .variant-primary-nav a.is-current,body.template-11 .variant-primary-nav a.is-current,body.template-12 .variant-primary-nav a.is-current { background:var(--accent); color:#fff; }
body.template-8 .xiang-primary-nav { background:#205596; color:#fff; }
body:not(.template-1) .variant-home { max-width:1200px; margin:auto; padding:18px; }
body:not(.template-1) .variant-home .variant-section-title { display:flex; justify-content:space-between; align-items:center; padding:14px 18px; background:var(--surface); border-bottom:3px solid var(--accent); }
body:not(.template-1) .variant-home .variant-section-title h1 { margin:0; font-size:19px; }
body:not(.template-1) .variant-home .variant-section-title a,body:not(.template-1) .variant-more { color:var(--accent); }
body:not(.template-1) .variant-home .ref-match-row { border-radius:0; box-shadow:none; }
body.template-6 .variant-home,body.template-8 .variant-home { background:#f3f4f5; }
body.template-6 .szk-competition-bar,body.template-8 .xiang-competition-bar { background:#fff; border-left:4px solid var(--accent); }
body.template-9 .bsd-live,body.template-11 .moon-live,body.template-12 .coaq-live { background:rgba(9,22,62,.92); }
body.template-9 .bsd-competition-bar,body.template-11 .moon-competition-bar,body.template-12 .coaq-competition-bar { background:#fff; }
body.template-10 .xuexi-news { float:right; width:300px; }
body.template-10 .xuexi-live { margin-right:320px; }
body.template-11 .moon-match-grid .fixture-day-items,body.template-12 .coaq-match-grid .fixture-day-items { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
body.template-12 .coaq-match-grid .fixture-day-items { grid-template-columns:repeat(3,minmax(0,1fr)); }
body.template-7 .short-event-grid .fixture-day-items { border:1px solid #eadfff; }
body:not(.template-1) .variant-home .template-home-news,body:not(.template-1) .variant-home .template-home-topics { background:var(--surface); }
body.template-11 .variant-home,body.template-12 .variant-home { color:#fff; }
body.template-11 .variant-home .variant-section-title,body.template-12 .variant-home .variant-section-title { background:#0a286d; color:#fff; }
body.template-11 .moon-news,body.template-12 .coaq-news,body.template-11 .moon-topics,body.template-12 .coaq-topics { background:#122352; padding:16px; }
body.template-5 .bxz-league-nav { height:50px; display:flex; align-items:center; gap:22px; max-width:1200px; margin:auto; padding-left:248px; overflow-x:auto; white-space:nowrap; scrollbar-width:none; }
body.template-5 .bxz-league-nav a { color:#222; font-size:13px; }
body.template-5 .bxz-home { max-width:1146px; margin:30px auto; padding:0 15px 50px; background:#fff; }
body.template-5 .bxz-section-title { padding:10px 12px; font-size:16px; font-weight:700; color:#925fe6; }
body.template-5 .bxz-section-title:first-child { display:inline-block; background:#9564e6; color:#fff; border-radius:0 0 9px 0; }
body.template-5 .bxz-section-title span { margin-right:4px; }
body.template-5 .bxz-schedule { padding:0 0 15px; }
body.template-5 .bxz-day h2 { margin:4px 0 0; padding:8px 4px; background:#f1f1f1; color:#9564e6; font-size:15px; font-weight:400; }
body.template-5 .bxz-match-row { display:grid; grid-template-columns:65px 260px minmax(0,1fr) 25px minmax(0,1fr) 100px; align-items:center; gap:10px; min-height:65px; padding:0 14px; background:#fafafa; border-bottom:1px solid #e2e2e2; font-size:14px; }
body.template-5 .bxz-match-row:nth-child(odd) { background:#fff; }
body.template-5 .bxz-match-row time,body.template-5 .bxz-league { color:#171717; }
body.template-5 .bxz-team { color:#111; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
body.template-5 .bxz-match-row b { color:#d21929; text-align:center; }
body.template-5 .bxz-watch { display:block; padding:8px 6px; border-radius:8px; background:#9564e6; color:#fff; text-align:center; white-space:nowrap; }
body.template-5 .bxz-home-news,body.template-5 .bxz-home-topics { margin-top:30px; padding:15px; }
@media(max-width:800px) {
 body.template-5 .bxz-main-nav { height:48px; padding:0 8px; gap:8px; }
 body.template-5 .bxz-brand { min-width:100px; font-size:17px; }
 body.template-5 .bxz-main-nav nav a { min-width:60px; padding:0 6px; font-size:13px; }
 body.template-5 .bxz-league-nav { height:40px; padding:0 8px; gap:12px; }
 body.template-5 .bxz-league-nav a { font-size:12px; }
 body.template-5 .bxz-home { margin:10px 8px; padding:0 6px 35px; }
 body.template-5 .bxz-match-row { grid-template-columns:40px minmax(0,1fr) 10px minmax(0,1fr) 62px; gap:3px; min-height:54px; padding:3px; font-size:12px; }
 body.template-5 .bxz-league { display:none; }
 body.template-5 .bxz-watch { padding:6px 2px; font-size:11px; }
 body.template-4 .clippers-primary-nav { min-height:55px; }
 body.template-4 .clippers-primary-nav a { padding:0 12px; font-size:14px; }
 body.template-4 .clippers-primary-nav .clippers-brand { min-width:130px; max-width:130px; font-size:19px; }
 body.template-4 .clippers-home { padding:10px 8px 35px; }
 body.template-4 .clippers-competition-grid { grid-template-columns:repeat(4,minmax(0,1fr)); padding:8px; }
 body.template-4 .clippers-competition-grid a { padding:9px 3px; font-size:12px; }
 body.template-4 .clippers-section-heading { height:51px; padding:15px; font-size:16px; }
 body.template-4 .clippers-schedule { padding:8px; }
 body.template-4 .clippers-day-items { grid-template-columns:1fr; gap:8px; }
 body.template-4 .clippers-match-row { min-height:59px; padding:7px; gap:5px; }
 body.template-4 .clippers-league { display:none; }
 body.template-4 .clippers-watch { padding:5px 6px; }
 body.template-3 .hot-primary-nav { height:54px; }
 body.template-3 .hot-primary-nav a { padding:0 12px; font-size:14px; }
 body.template-3 .hot-brand { padding:0 12px !important; font-size:20px !important; }
 body.template-3 .hot-brand span { font-size:20px; }
 body.template-3 .hot-home { padding:8px 8px 36px; }
 body.template-3 .hot-section-title { min-height:55px; }
 body.template-3 .hot-section-title h1, body.template-3 .hot-section-title h2 { width:auto; font-size:16px; }
 body.template-3 .hot-competition-links { gap:5px; }
 body.template-3 .hot-competition-links a { padding:5px 10px; }
 body.template-3 .hot-day h2 { padding:10px 8px; }
 body.template-3 .hot-match-row { grid-template-columns:41px 20px minmax(0,1fr) 67px; gap:4px; min-height:54px; padding:4px; font-size:12px; }
 body.template-3 .hot-league { display:none; }
 body.template-3 .hot-teams { gap:3px; }
 body.template-3 .hot-watch { padding:7px 2px; font-size:11px; }
}

body.template-2 .kiwi-live-index { width:min(100%,1200px); max-width:1200px; box-sizing:border-box; margin:0 auto; padding:25px 0 64px; }
body.template-2 .kiwi-live-index .template-title-bar { box-sizing:border-box; min-height:92px; padding:0 14px; border-top:2px solid #1594e7; border-bottom:2px solid #1594e7; }
body.template-2 .kiwi-live-index .template-title-bar h1 { color:#202020; font-size:21px; font-weight:700; }
body.template-2 .kiwi-updated { color:#202020; font-size:14px; white-space:nowrap; }
body.template-2 .kiwi-live-index .kiwi-day summary { padding:0 30px; }
body.template-2 .kiwi-live-index .kiwi-day-items { padding:0 14px; }
body.template-2 .kiwi-live-index .kiwi-leagues h2 { box-sizing:border-box; min-height:52px; padding:12px 28px; font-size:20px; font-weight:400; }

@media(max-width:1224px) {
 body.template-2 .kiwi-live-index { padding:18px 12px 48px; }
}
@media(min-width:951px) and (max-width:1200px) {
 body.template-2 .kiwi-live-grid .kiwi-match-row { grid-template-columns:22px 38px 78px minmax(0,1fr) 80px; gap:5px; padding-left:6px; }
}
@media(max-width:700px) {
  body.template-2 .kiwi-live-index { padding-top:25px; }
 body.template-2 .kiwi-header { position:relative; z-index:5; box-shadow:0 2px 6px #0000000d; }
 body.template-2 .kiwi-masthead { height:50px; }
 body.template-2 .kiwi-brand { font-size:16px; }
 body.template-2 .kiwi-brand-ball { width:20px; height:24px; background-size:90px 30px; }
 body.template-2 .kiwi-search { display:none; }
 body.template-2 .kiwi-menu-toggle { display:block; width:42px; height:42px; margin-left:auto; padding:0; border:0; background:transparent; color:#148fe0; cursor:pointer; }
 body.template-2 .kiwi-menu-toggle span,body.template-2 .kiwi-menu-toggle span::before,body.template-2 .kiwi-menu-toggle span::after { display:block; width:24px; height:2px; margin:auto; background:currentColor; content:""; }
 body.template-2 .kiwi-menu-toggle span::before { transform:translateY(-7px); }
 body.template-2 .kiwi-menu-toggle span::after { transform:translateY(5px); }
 body.template-2 .kiwi-nav-band { display:none; position:absolute; top:50px; left:0; right:0; border:0; background:#fff; box-shadow:0 3px 8px #0000001a; }
 body.template-2 .kiwi-header.is-menu-open .kiwi-nav-band { display:block; }
 body.template-2 .kiwi-primary-nav { height:auto; max-height:calc(100vh - 50px); flex-direction:column; align-items:stretch; overflow-y:auto; }
 body.template-2 .kiwi-primary-nav a { display:flex; min-height:41px; min-width:0; padding:0 16px; border-right:0; border-bottom:1px solid #ececec; color:#333; font-size:16px; }
 body.template-2 .kiwi-primary-nav a.is-current { background:#fff; color:#128fe0; }
  body.template-2 .kiwi-live-index .template-title-bar { min-height:92px; align-content:center; gap:2px; padding:8px 10px; }
 body.template-2 .kiwi-live-index .template-title-bar h1 { flex:none; }
 body.template-2 .kiwi-updated { font-size:12px; }
  body.template-2 .kiwi-live-index .kiwi-day summary { min-height:47px; padding:0 12px; }
 body.template-2 .kiwi-live-index .kiwi-day-items { padding:0 12px; }
 body.template-2 .kiwi-live-index .kiwi-leagues h2 { padding-left:12px; }
 body.template-2 .kiwi-live-grid .kiwi-match-row { grid-template-columns:26px 60px minmax(0,1fr); grid-template-rows:27px auto 44px; min-height:122px; gap:0 4px; padding:7px 0 0; overflow:visible; }
 body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-sport { grid-column:1; grid-row:1; align-self:center; }
 body.template-2 .kiwi-live-grid .kiwi-match-row time { grid-column:2; grid-row:1; align-self:center; font-size:13px; }
 body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-league { display:block; grid-column:3; grid-row:1; align-self:center; text-align:right; font-size:13px; }
 body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-teams { grid-column:1/-1; grid-row:2; align-self:center; grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr); gap:5px; overflow:visible; }
 body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-teams span { font-size:15px; line-height:1.3; }
 body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-team-logo { width:28px; height:28px; }
 body.template-2 .kiwi-live-grid .kiwi-match-row .kiwi-watch { grid-column:1/-1; grid-row:3; justify-self:center; width:112px; min-width:112px; max-width:112px; margin:4px 0 7px; font-size:13px; }
}

@media(max-width:950px) {
 body.template-2 .kiwi-live-grid .kiwi-leagues h2 { min-height:38px; padding:8px 12px; font-size:17px; }
 body.template-2 .kiwi-live-grid .kiwi-league-grid { display:flex; flex-wrap:nowrap; overflow-x:auto; padding:0; }
 body.template-2 .kiwi-live-grid .kiwi-league-grid a { flex:0 0 82px; min-height:82px; gap:3px; padding:7px 4px; font-size:12px; }
 body.template-2 .kiwi-live-grid .kiwi-league-grid img { width:40px; height:40px; }
 body.template-2 .kiwi-live-grid .kiwi-leagues nav { flex-wrap:nowrap; overflow-x:auto; padding:0 8px; }
 body.template-2 .kiwi-live-grid .kiwi-leagues nav a { flex:none; padding:7px 4px; font-size:12px; }
}

/* Team identity stays readable across table, card and narrow-column layouts. */
body.ref-theme .fixture-card .ref-match-teams {
 display:grid; grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);
 gap:8px; min-width:0; width:100%;
}
body.ref-theme .fixture-card .ref-team { min-width:0; gap:7px; }
body.ref-theme .fixture-card .ref-team .team-name,
body.ref-theme .kiwi-teams .kiwi-team-name,
body.ref-theme .fixture-team .fixture-team-name {
 display:block; min-width:0; max-width:100%; color:var(--ink,#242a32);
 font-size:14px; font-weight:600; line-height:1.5; letter-spacing:0;
 white-space:normal; overflow-wrap:anywhere; overflow:visible; text-overflow:clip;
}
body.ref-theme .fixture-card .ref-team .team-logo-sm,
body.ref-theme .fixture-team-logo {
 display:block; flex:0 0 28px; width:28px; height:28px; max-width:28px;
 object-fit:contain; border-radius:0; border:0; background:#fff;
}
body.ref-theme .fixture-team {
 display:flex; align-items:center; justify-content:center; gap:7px; min-width:0;
 white-space:normal; overflow:visible;
}
body.ref-theme .hot-teams,body.ref-theme .clippers-teams {
 display:grid; grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);
 gap:8px; align-items:center; min-width:0; white-space:normal; overflow:visible;
}
body.ref-theme .hot-teams > .fixture-team:first-child,
body.ref-theme .clippers-teams > .fixture-team:first-child,
body.ref-theme .bxz-team-one .fixture-team { flex-direction:row-reverse; text-align:right; }
body.ref-theme .hot-teams .fixture-team-name { text-align:inherit; }
body.ref-theme .hot-teams > b,body.ref-theme .clippers-teams > b,
body.ref-theme .bxz-match-row > b,body.ref-theme .fixture-card .ref-match-teams > b,
body.ref-theme .kiwi-teams > b { color:var(--ink,#242a32); font-size:13px; line-height:1.5; text-align:center; }
body.ref-theme .bxz-team { overflow:visible; white-space:normal; }
body.ref-theme .clippers-match-row {
 display:grid; grid-template-columns:1fr auto; gap:8px; padding:12px;
}
body.ref-theme .clippers-match-row .clippers-league { grid-column:1; grid-row:2; }
body.ref-theme .clippers-match-row .clippers-watch { grid-column:2; grid-row:1; }
body.ref-theme .clippers-match-row .clippers-teams { grid-column:1/-1; grid-row:3; }
body.template-11 .fixture-card .ref-match-time strong,
body.template-11 .fixture-card .ref-match-time span,
body.template-11 .fixture-card .ref-match-league { color:#e2e8f0; }
body.template-11 .fixture-card .ref-team .team-name,
body.template-11 .fixture-card .ref-match-teams > b { color:#fff; }
body.template-11 .fixture-card .ref-match-action { color:#182033; }
body.template-11 .template-match-score strong { color:#fff; }
@media(min-width:801px) {
 body.ref-theme .variant-live-grid .template-breadcrumb { grid-column:1/-1; }
 body.ref-theme .variant-live-grid .variant-live-primary { grid-column:1; min-width:0; }
 body.ref-theme .variant-live-grid .variant-live-sidebar { grid-column:2; min-width:0; }
 body.ref-theme.template-12 .variant-live-grid .variant-live-primary { grid-column:2; }
 body.ref-theme.template-12 .variant-live-grid .coaq-live-sidebar { grid-column:1; }
 body.ref-theme.template-12 .template-page-schedule-list .template-primary { grid-column:2; min-width:0; }
 body.ref-theme.template-12 .template-page-schedule-list .template-side { grid-column:1; }
}
/* A league/detail column can be narrower than the viewport. */
body.ref-theme .template-primary .fixture-card .ref-match-row {
 display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:12px;
}
body.ref-theme .template-primary .fixture-card .ref-match-teams { grid-column:1/-1; grid-row:3; }
body.ref-theme .template-primary .fixture-card .ref-match-action { grid-column:2; grid-row:1; }
body.ref-theme .template-primary .fixture-card .ref-match-league { grid-column:1/-1; grid-row:2; }
body.ref-theme .template-primary .hot-match-row { grid-template-columns:60px 24px minmax(0,1fr) 85px; padding:9px; gap:8px; }
body.ref-theme .template-primary .hot-teams { grid-column:1/-1; grid-row:2; }
body.ref-theme .template-primary .bxz-match-row { grid-template-columns:60px minmax(0,1fr) 28px minmax(0,1fr) 85px; padding:9px; }
body.ref-theme .template-primary .bxz-league { grid-column:2/5; grid-row:1; }
body.ref-theme .template-primary .bxz-team-one { grid-column:1/3; grid-row:2; }
body.ref-theme .template-primary .bxz-match-row > b { grid-column:3; grid-row:2; }
body.ref-theme .template-primary .bxz-team-two { grid-column:4/6; grid-row:2; }
body.ref-theme .template-primary .bxz-watch { grid-column:5; grid-row:1; }
@media(max-width:800px) {
 body.ref-theme .fixture-card .ref-match-row,
 body.ref-theme.template-14 .hefei-live-board .fixture-card .ref-match-row {
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:10px;
 }
 body.ref-theme .fixture-card .ref-match-teams { grid-column:1/-1; grid-row:2; padding:4px 0; }
 body.ref-theme .fixture-card .ref-match-action { grid-column:2; grid-row:1; width:auto; min-width:85px; }
 body.ref-theme .fixture-card .ref-team { flex-direction:column; text-align:center; }
 body.ref-theme .fixture-card .ref-team-away .team-logo-sm { order:-1; }
 body.ref-theme .fixture-team { flex-direction:column; text-align:center; }
 body.ref-theme .hot-teams > .fixture-team:first-child,
 body.ref-theme .clippers-teams > .fixture-team:first-child,
 body.ref-theme .bxz-team-one .fixture-team { flex-direction:column; text-align:center; }
 body.ref-theme .hot-match-row,body.ref-theme .template-primary .hot-match-row {
  grid-template-columns:44px 24px minmax(0,1fr) 78px; gap:6px; padding:10px;
 }
 body.ref-theme .hot-teams { grid-column:1/-1; grid-row:2; }
 body.ref-theme .hot-match-row .hot-league { display:block; font-size:12px; }
 body.ref-theme .bxz-match-row,body.ref-theme .template-primary .bxz-match-row {
  grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr); gap:8px; padding:10px;
 }
 body.ref-theme .bxz-match-row time { grid-column:1; grid-row:1; }
 body.ref-theme .bxz-match-row .bxz-league { display:none; }
 body.ref-theme .bxz-match-row .bxz-watch { grid-column:3; grid-row:1; }
 body.ref-theme .bxz-match-row .bxz-team-one { grid-column:1; grid-row:2; }
 body.ref-theme .bxz-match-row > b { grid-column:2; grid-row:2; }
 body.ref-theme .bxz-match-row .bxz-team-two { grid-column:3; grid-row:2; }
 body.ref-theme .kiwi-match-row { grid-template-columns:24px 44px minmax(0,1fr) 80px; padding:8px; gap:6px; }
 body.ref-theme .kiwi-match-row .kiwi-teams { grid-column:1/-1; grid-row:2; }
 body.ref-theme .kiwi-match-row .kiwi-watch { grid-column:4; grid-row:1; }
 body.ref-theme .kiwi-teams .kiwi-team { flex-direction:column; text-align:center; }
 body.ref-theme .kiwi-teams .kiwi-team:first-child .kiwi-team-logo { order:-1; }
 body.ref-theme.template-11 .moon-match-grid .fixture-day-items,
 body.ref-theme.template-12 .coaq-match-grid .fixture-day-items { grid-template-columns:1fr; }
}
