/* Hallmark · shape=Index-First · theme=Graphite&Brass · hero=scoreboard · nav=fixed+league-strip · footer=mast
   星赛体育版式落地到 php-cms-13 首页：浅色石墨底 + 黄铜强调，主栏记分牌/赛程/榜单/资讯 + 右栏工作台。
   来源：cms-static/index.html + cms-static/assets/style.css（用户提供的静态稿），
   这里只改数据驱动部分、补齐响应式与可访问性，视觉语言保持原稿。
   -------------------------------------------------------------------------- */

:root {
    color-scheme: light;

    /* 面与线 */
    --xz-bg: #f3f3f1;
    --xz-surface: #fcfcfb;
    --xz-surface-2: #f5f5f3;
    --xz-line: rgba(27, 30, 32, .11);
    --xz-line-strong: rgba(27, 30, 32, .22);

    /* 字 */
    --xz-text: #1b1e20;
    --xz-text-2: #565c60;
    --xz-text-3: #676d72;
    --xz-font: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* 黄铜强调 + 比赛状态 */
    --xz-accent: #866c2e;
    --xz-accent-ink: #645019;
    --xz-accent-soft: rgba(134, 108, 46, .1);
    --xz-bar-fade: rgba(134, 108, 46, .16);
    --xz-live: #ae464c;
    --xz-live-soft: rgba(174, 70, 76, .06);
    --xz-live-line: rgba(174, 70, 76, .28);
    --xz-up: #3a7752;

    /* 组件 */
    --xz-radius: 12px;
    --xz-radius-sm: 8px;
    --xz-shadow: 0 14px 30px -22px rgba(34, 38, 40, .35);
    --xz-head-h: 60px;
    --xz-league-h: 42px;
    /* 报头总高 = 一行报头；2026-11-12 起首页也不挂联赛条了（--xz-league-h 保留给将来恢复）。
       partial 里的脚本会按实测高度覆盖这个值，挂不挂联赛条都不会错位。 */
    --xz-head-total: 60px;
    --xz-container: 1200px;
    --xz-on-accent: #fff;
    --xz-cover-ink: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { overflow-x: clip; }

body {
    font-family: var(--xz-font);
    background: var(--xz-bg);
    color: var(--xz-text);
    font-size: 14px;
    line-height: 1.6;
    padding-top: var(--xz-head-total);
}

/*
 * 全站背景图：后台设了图，home.php 会把地址塞进 --page-bg-image 并给 body 挂 has-bg。
 * 铺满并固定在内容下面（卡片是实色，照片从版心两侧透出来）；没设图时 var 是 none，一层都不画。
 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: var(--page-bg-image, none);
    background-size: cover;
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    pointer-events: none;
}

/* 有背景图时，页面底色让一点出来，照片才不是只露一条缝 */
/* 有背景图时：页面底色让出来，报头 / 页脚 / 联赛条改成半透明 + 磨砂，照片一路透到上下两条 */
body.has-bg { background-color: transparent; }

body.has-bg .xz-head {
    background-color: color-mix(in srgb, var(--xz-surface) 58%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.06);
    backdrop-filter: blur(14px) saturate(1.06);
}

body.has-bg .xz-league-bar {
    background-color: color-mix(in srgb, var(--xz-surface-2) 44%, transparent);
}

body.has-bg .xz-foot {
    background-color: color-mix(in srgb, var(--xz-surface) 40%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.04);
    backdrop-filter: blur(14px) saturate(1.04);
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

:where(a, button, summary):focus-visible {
    outline: 2px solid var(--xz-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.xz-skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 2000;
    padding: 8px 16px;
    background: var(--xz-text);
    color: var(--xz-surface);
    border-radius: var(--xz-radius-sm);
    transition: top .15s ease;
}

.xz-skip:focus { top: 12px; }

.xz-wrap {
    width: 100%;
    max-width: var(--xz-container);
    margin-inline: auto;
    padding-inline: 20px;
}

.xz-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

@keyframes xz-pulse { 50% { opacity: .3; } }

.xz-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex: none;
    background: var(--xz-live);
    box-shadow: 0 0 6px var(--xz-live);
    animation: xz-pulse 1.5s infinite;
}

/* ---------- 队徽：有 logo 用图，没有退回队名首字 ---------- */
.xz-crest {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex: none;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--xz-on-accent);
    font-size: 12.5px;
    font-weight: 800;
    background: var(--xz-crest-c, var(--xz-text-3));
}

.xz-crest-fb { line-height: 1; }

.xz-crest-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: var(--xz-surface);
}

.xz-crest--logo { background: var(--xz-surface); box-shadow: inset 0 0 0 1px var(--xz-line); }

.xz-crest--lg {
    width: 72px;
    height: 72px;
    font-size: 26px;
    box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .4);
}

.xz-crest--lg.xz-crest--logo { box-shadow: inset 0 0 0 1px var(--xz-line), 0 10px 22px -10px rgba(0, 0, 0, .25); }

/* ---------- 按钮 ---------- */
.xz-btn-accent,
.xz-btn-plain {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: var(--xz-radius-sm);
    font-size: 13px;
    font-weight: 700;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.xz-btn-accent {
    background: var(--xz-accent);
    color: var(--xz-on-accent);
}

.xz-btn-accent:hover { background: var(--xz-accent-ink); color: var(--xz-on-accent); }

.xz-btn-plain {
    border: 1px solid var(--xz-line);
    color: var(--xz-text-2);
    font-weight: 700;
}

.xz-btn-plain:hover { border-color: var(--xz-accent); color: var(--xz-accent-ink); }

/* ---------- 报头（导航 + 联赛快捷条） ---------- */
.xz-head {
    background: var(--xz-surface);
    border-bottom: 1px solid var(--xz-line);
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
}

.xz-head-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: var(--xz-head-h);
}

.xz-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .5px;
    min-width: 0;
    flex: none;
}

.xz-brand-mark {
    width: 30px;
    height: 30px;
    flex: none;
    font-size: 14px;
    font-weight: 800;
}

.xz-brand-mark img { width: 100%; height: 100%; object-fit: contain; }

.xz-brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xz-nav {
    display: flex;
    /* 2026-11-12：菜单项间距 2 → 10，按钮内边距 6/13 → 9/18（点起来更松、看着不挤） */
    gap: 10px;
    font-size: 14px;
    min-width: 0;
}

.xz-nav a {
    padding: 9px 18px;
    border-radius: var(--xz-radius-sm);
    color: var(--xz-text-2);
    font-weight: 700;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}

.xz-nav a:hover { color: var(--xz-text); background: var(--xz-surface-2); }

.xz-nav a[aria-current="page"] { color: var(--xz-accent-ink); background: var(--xz-accent-soft); }

.xz-burger {
    display: none;
    margin-left: auto;
    border: 1px solid var(--xz-line);
    background: var(--xz-surface);
    color: var(--xz-text-2);
    border-radius: var(--xz-radius-sm);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    /* 2026-11-12：和导航按钮一起放大一点内边距 */
    padding: 8px 14px;
    cursor: pointer;
    align-items: center;
    gap: 8px;
}

.xz-burger::before {
    content: "";
    width: 14px;
    height: 10px;
    border-block: 2px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

.xz-league-bar {
    border-top: 1px solid var(--xz-line);
    background: var(--xz-surface-2);
}

.xz-league-scroll {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    min-height: var(--xz-league-h);
    overflow: visible;
}

.xz-league-scroll::-webkit-scrollbar { display: none; }

.xz-lb-label {
    font-size: 12px;
    color: var(--xz-text-3);
    flex: none;
    margin-right: 8px;
    white-space: nowrap;
}

.xz-league-bar a {
    flex: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--xz-text-2);
    padding: 4px 13px;
    border-radius: 16px;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.xz-league-bar a:hover {
    background: var(--xz-surface);
    color: var(--xz-accent-ink);
    box-shadow: inset 0 0 0 1px var(--xz-line-strong);
}

.xz-lb-sep {
    flex: none;
    width: 1px;
    height: 16px;
    background: var(--xz-line-strong);
    margin: 0 8px;
}

/* ---------- 布局：主栏 + 右栏 ---------- */
.xz-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    padding-block: 20px 40px;
    align-items: start;
}

.xz-main { display: flex; flex-direction: column; gap: 40px; min-width: 0; }

.xz-block { min-width: 0; }

.xz-block-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.xz-block-head h2 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.xz-block-head h2::before {
    content: '';
    width: 3px;
    height: 16px;
    background: var(--xz-accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.xz-block-head h2 span {
    font-size: 12px;
    color: var(--xz-text-3);
    font-weight: 400;
    margin-left: 6px;
}

.xz-more { font-size: 12.5px; color: var(--xz-accent-ink); font-weight: 700; white-space: nowrap; }
.xz-more:hover { text-decoration: underline; }

.xz-panel {
    background: var(--xz-surface);
    border: 1px solid var(--xz-line);
    border-radius: var(--xz-radius);
    box-shadow: var(--xz-shadow);
    overflow: hidden;
}

.xz-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--xz-line);
}

.xz-panel-head h3 { font-size: 14.5px; font-weight: 800; }

/* ---------- 焦点记分牌 ---------- */
.xz-scoreboard {
    position: relative;
    background: var(--xz-surface);
    border: 1px solid var(--xz-line);
    border-top: 3px solid var(--xz-live);
    border-radius: var(--xz-radius);
    box-shadow: var(--xz-shadow);
    padding: 18px 56px 20px;
    scroll-margin-top: calc(var(--xz-head-total) + 16px);
}

.xz-sb-slide { display: none; }
.xz-sb-slide.is-active { display: block; }

.xz-sb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    border: 1px solid var(--xz-line);
    background: var(--xz-surface);
    color: var(--xz-text-3);
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.xz-sb-nav:hover { background: var(--xz-accent); border-color: var(--xz-accent); color: var(--xz-on-accent); }
.xz-sb-nav--prev { left: 12px; }
.xz-sb-nav--next { right: 12px; }

.xz-sb-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px 14px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--xz-text-3);
}

.xz-sb-league { color: var(--xz-live); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.xz-sb-league.is-upcoming { color: var(--xz-accent-ink); }
.xz-sb-league.is-finished { color: var(--xz-text-3); }

.xz-sb-match {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 20px 0 10px;
}

.xz-sb-team { display: flex; align-items: center; gap: 14px; min-width: 0; }

.xz-sb-name {
    font-size: 20px;
    font-weight: 800;
    overflow-wrap: break-word;
    min-width: 0;
}

.xz-sb-score {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-variant-numeric: tabular-nums;
}

.xz-sb-score b { font-size: 58px; font-weight: 800; line-height: 1; }
.xz-sb-score i { font-style: normal; font-size: 30px; color: var(--xz-text-3); }
.xz-sb-score .xz-sb-score-vs { font-size: 26px; letter-spacing: 3px; color: var(--xz-accent-ink); font-weight: 800; }

.xz-sb-meta {
    text-align: center;
    font-size: 12.5px;
    color: var(--xz-text-3);
    min-height: 22px;
}

.xz-sb-meta b { color: var(--xz-text-2); font-weight: 700; }

.xz-sb-actions { display: flex; justify-content: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- 比赛行 ---------- */
.xz-sb-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--xz-line);
    font-size: 14px;
    transition: background-color .15s ease;
}

.xz-sb-row:last-child { border-bottom: 0; }
.xz-sb-row:hover { background: var(--xz-surface-2); }
.xz-sb-row.is-live { background: var(--xz-live-soft); }
.xz-sb-row.is-done { color: var(--xz-text-3); }

.xz-sr-status {
    font-size: 12px;
    color: var(--xz-text-3);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.xz-sr-status.is-live { color: var(--xz-live); font-weight: 800; }

.xz-sr-side {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 700;
}

.xz-sr-side.is-home { justify-content: flex-end; text-align: right; }
.xz-sr-side.is-away { justify-content: flex-start; }

.xz-sr-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.xz-sr-score {
    flex: none;
    min-width: 88px;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: var(--xz-surface-2);
    border: 1px solid var(--xz-line);
    border-radius: var(--xz-radius-sm);
    padding: 3px 10px;
    white-space: nowrap;
}

.is-live .xz-sr-score {
    color: var(--xz-live);
    border-color: var(--xz-live-line);
    background: var(--xz-live-soft);
}

.xz-sr-score.is-vs { color: var(--xz-accent-ink); font-size: 13px; letter-spacing: 2px; }

/* 行尾的引导按钮：整行都是链接，这里做成按钮的样子，悬停时连按钮一起变强调色 */
.xz-sr-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--xz-line-strong);
    background: var(--xz-surface);
    color: var(--xz-accent-ink);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.xz-sr-cta i {
    font-style: normal;
    font-size: 14px;
    line-height: 1;
    transform: translateY(-.5px);
}

.xz-sb-row:hover .xz-sr-cta {
    background: var(--xz-accent);
    border-color: var(--xz-accent);
    color: var(--xz-on-accent);
}

.xz-sb-row.is-live .xz-sr-cta {
    border-color: var(--xz-live-line);
    color: var(--xz-live);
}

.xz-sb-row.is-live:hover .xz-sr-cta {
    background: var(--xz-live);
    border-color: var(--xz-live);
    color: var(--xz-on-accent);
}

/* ---------- 日期切换 ---------- */
.xz-date-tabs { display: flex; gap: 6px; flex-wrap: wrap; }

.xz-date-tabs a {
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 18px;
    border: 1px solid var(--xz-line);
    color: var(--xz-text-2);
    background: var(--xz-surface);
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.xz-date-tabs a:hover { border-color: var(--xz-accent); }
.xz-date-tabs a[aria-current="true"] { background: var(--xz-accent); border-color: var(--xz-accent); color: var(--xz-on-accent); }

/* 赛程标题栏：足篮筛选 + 日期 tabs 同一行 */
.xz-schedule-filters {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.xz-schedule-filters .xz-sport-tabs {
    border-bottom: 0;
    background: transparent;
    gap: 4px;
}

.xz-schedule-filters .xz-sport-tab {
    padding: 6px 12px;
    font-size: 12.5px;
    border-radius: 16px;
    border: 1px solid var(--xz-line);
    background: var(--xz-surface);
    color: var(--xz-text-2);
}

.xz-schedule-filters .xz-sport-tab:hover { border-color: var(--xz-accent); color: var(--xz-accent-ink); }

.xz-schedule-filters .xz-sport-tab.is-active {
    background: var(--xz-accent);
    border-color: var(--xz-accent);
    color: var(--xz-on-accent);
    font-weight: 700;
}

.xz-schedule-filters .xz-sport-tab.is-active::after { display: none; }

.xz-schedule-filters .xz-sport-tab-count { color: inherit; opacity: .7; }

/* 足篮筛选 tabs — 下划线风格 */
.xz-sport-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--xz-line);
    background: var(--xz-surface);
}

.xz-sport-tab {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--xz-text-3);
    padding: 10px 18px;
    position: relative;
    transition: color .15s ease;
}

.xz-sport-tab:hover { color: var(--xz-text); }

.xz-sport-tab.is-active {
    color: var(--xz-text);
    font-weight: 700;
}

.xz-sport-tab.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--xz-accent);
    border-radius: 1px 1px 0 0;
}

.xz-sport-tab-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--xz-text-3);
}

.xz-sport-tab.is-active .xz-sport-tab-count { color: var(--xz-accent-ink); }

/* ---------- 赛程表 ---------- */
.xz-ft-row {
    display: grid;
    grid-template-columns: 58px 48px minmax(0, 1fr) 60px;
    align-items: center;
    gap: 16px;
    padding: 11px 20px;
    border-bottom: 1px solid var(--xz-line);
    font-size: 13.5px;
    transition: background-color .15s ease;
}

.xz-ft-row:hover { background: var(--xz-surface-2); }

.xz-ft-row.is-head {
    background: var(--xz-surface-2);
    color: var(--xz-text-3);
    font-size: 11.5px;
    padding-block: 8px;
}

.xz-ft-row.is-live { background: var(--xz-live-soft); }
.xz-ft-row.is-done { color: var(--xz-text-3); }

.xz-ft-time { color: var(--xz-text-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.xz-ft-league { font-size: 12px; font-weight: 700; color: var(--xz-accent-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xz-ft-match { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xz-ft-match b { color: var(--xz-text); font-weight: 700; }
.xz-ft-state { text-align: right; font-size: 12px; color: var(--xz-text-3); white-space: nowrap; }
.xz-ft-state.is-live { color: var(--xz-live); font-weight: 800; }

.xz-ft-foot {
    padding: 12px 20px;
    text-align: center;
    font-size: 12.5px;
    color: var(--xz-text-3);
    background: var(--xz-surface-2);
}

.xz-ft-foot a { color: var(--xz-accent-ink); font-weight: 700; }

.xz-empty {
    padding: 28px 20px;
    text-align: center;
    font-size: 13px;
    color: var(--xz-text-3);
}

/* ---------- 榜单：两列 ---------- */
.xz-stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.xz-stats-row .xz-block { margin: 0; }

.xz-rk-row {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 30px auto;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border-bottom: 1px solid var(--xz-line);
    font-size: 13px;
    transition: background-color .12s ease;
}

.xz-rk-row:last-child { border-bottom: 0; }

.xz-rk-row:hover { background: var(--xz-surface-2); }

.xz-rk-row.is-head {
    background: transparent;
    border-bottom: 1px solid var(--xz-line);
    color: var(--xz-text-3);
    font-size: 11px;
    font-weight: 600;
    padding-block: 7px;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.xz-rk-row.is-head:hover { background: transparent; }

/* 前3名淡奖牌底色 */
.xz-rk-row:has(.xz-rk.is-first) { background: linear-gradient(90deg, rgba(200,164,0,.10), transparent 60%); }
.xz-rk-row:has(.xz-rk.is-second) { background: linear-gradient(90deg, rgba(160,160,160,.10), transparent 60%); }
.xz-rk-row:has(.xz-rk.is-third)  { background: linear-gradient(90deg, rgba(176,122,58,.10), transparent 60%); }
.xz-rk-row:has(.xz-rk.is-first):hover { background: linear-gradient(90deg, rgba(200,164,0,.16), var(--xz-surface-2) 70%); }
.xz-rk-row:has(.xz-rk.is-second):hover { background: linear-gradient(90deg, rgba(160,160,160,.16), var(--xz-surface-2) 70%); }
.xz-rk-row:has(.xz-rk.is-third):hover  { background: linear-gradient(90deg, rgba(176,122,58,.16), var(--xz-surface-2) 70%); }

.xz-rk {
    font-weight: 800;
    color: var(--xz-text-3);
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin-inline: auto;
    border-radius: 4px;
}

.xz-rk.is-first  { color: #fff; background: #c8a400; }
.xz-rk.is-second { color: #fff; background: #a0a0a0; }
.xz-rk.is-third  { color: #fff; background: #b07a3a; }

.xz-rk-team {
    min-width: 0;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--xz-text);
    display: flex;
    align-items: center;
    gap: 9px;
}

/* 队名前的小点色标（模拟队徽颜色） */
.xz-rk-team::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--xz-accent);
    opacity: .35;
}

/* 按名次给点不同颜色 */
.xz-rk-row:has(.xz-rk.is-first) .xz-rk-team::before  { background: #c8a400; opacity: .9; }
.xz-rk-row:has(.xz-rk.is-second) .xz-rk-team::before { background: #a0a0a0; opacity: .9; }
.xz-rk-row:has(.xz-rk.is-third) .xz-rk-team::before  { background: #b07a3a; opacity: .9; }

.xz-rk-played { color: var(--xz-text-3); font-size: 11.5px; text-align: center; font-variant-numeric: tabular-nums; }
.xz-rk-value {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    color: var(--xz-text);
    font-size: 14px;
    min-width: 36px;
}

/* ---------- 曼联近期战绩：主场 / 客场（2026-11-12 替换原「积分榜 / 胜率榜」两块） ---------- */
/* 曼联状态条：左边小标签，右边近况战绩，比大标题轻一档 */
.xz-mu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 16px;
    background: var(--xz-surface-2);
    border-bottom: 1px solid var(--xz-line);
}

.xz-mu-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--xz-surface);
    box-shadow: inset 0 0 0 1px var(--xz-line);
    font-size: 12px;
    font-weight: 700;
    color: var(--xz-text);
}

.xz-mu-tag::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--xz-accent-ink);
}

.xz-mu-meta {
    font-size: 11.5px;
    color: var(--xz-text-3);
    font-variant-numeric: tabular-nums;
}

.xz-mu-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--xz-line);
    font-size: 13px;
    transition: background-color .12s ease;
}

.xz-mu-row:last-child { border-bottom: 0; }
.xz-mu-row:hover { background: var(--xz-surface-2); }

.xz-mu-row.is-head {
    background: transparent;
    padding-block: 7px;
    color: var(--xz-text-3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
}

.xz-mu-row.is-head:hover { background: transparent; }

.xz-mu-date {
    color: var(--xz-text-3);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}

.xz-mu-fixture {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.xz-mu-team {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 0;
    min-width: 0;
    font-weight: 600;
    color: var(--xz-text);
}

.xz-mu-team.is-away { justify-content: flex-end; }

/* 队徽比记分牌里的小一号，两位队名 + 比分塞进半个面板宽度 */
.xz-mu-team .xz-mu-crest {
    width: 22px;
    height: 22px;
    font-size: 10.5px;
}

/* 队徽是透明 PNG，别再叠白底 + 内描边，否则圆形底比徽章大一圈 */
.xz-mu-team .xz-mu-crest.xz-crest--logo {
    background: transparent;
    box-shadow: none;
}

.xz-mu-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xz-mu-team.is-away .xz-mu-name { text-align: right; }

.xz-mu-score {
    flex: none;
    font-size: 13px;
    font-weight: 800;
    color: var(--xz-text);
    font-variant-numeric: tabular-nums;
    letter-spacing: .2px;
}

.xz-mu-score i {
    font-style: normal;
    margin: 0 1px;
    color: var(--xz-text-3);
    font-weight: 600;
}

.xz-mu-res-head { text-align: right; }

.xz-mu-res {
    justify-self: end;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: grid;
    place-items: center;
    font-size: 11.5px;
    font-weight: 800;
}

.xz-mu-res.is-win { color: #fff; background: var(--xz-up); }
.xz-mu-res.is-draw { color: var(--xz-text-2); background: var(--xz-surface-2); box-shadow: inset 0 0 0 1px var(--xz-line); }
.xz-mu-res.is-loss { color: #fff; background: var(--xz-live); }

/* ---------- 右栏：曼联介绍 / 主教练 · 队员（随右栏一起悬浮） ---------- */
.xz-mucard-id {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 0;
}

.xz-mucard-crest {
    width: 40px;
    height: 40px;
    flex: none;
    object-fit: contain;
}

.xz-mucard-name { min-width: 0; }

.xz-mucard-name b {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--xz-text);
}

.xz-mucard-name em {
    display: block;
    font-style: normal;
    font-size: 10.5px;
    letter-spacing: .3px;
    color: var(--xz-text-3);
}

.xz-mucard-intro {
    margin: 9px 16px 0;
    font-size: 12px;
    line-height: 1.7;
    color: var(--xz-text-2);
}

.xz-mucard-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 10px 16px 0;
}

.xz-mucard-facts span {
    min-width: 0;
    padding: 6px 8px;
    border-radius: 6px;
    background: var(--xz-surface-2);
}

.xz-mucard-facts em {
    display: block;
    font-style: normal;
    font-size: 10.5px;
    color: var(--xz-text-3);
}

.xz-mucard-facts b {
    display: block;
    margin-top: 1px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    color: var(--xz-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xz-mucard-honours {
    display: flex;
    gap: 6px;
    padding: 10px 16px 14px;
}

.xz-mucard-honours span {
    flex: 1 1 0;
    min-width: 0;
    padding: 6px 4px;
    border: 1px solid var(--xz-line);
    border-radius: 6px;
    font-size: 10.5px;
    line-height: 1.4;
    text-align: center;
    color: var(--xz-text-3);
}

.xz-mucard-honours b {
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--xz-accent-ink);
}

.xz-mucard-coach {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px 0;
}

.xz-mucard-role {
    flex: none;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 800;
    /* 深色皮肤下 --xz-accent-ink 是亮色，白字会糊，改成跟底色的对比色 */
    color: var(--xz-surface);
    background: var(--xz-accent-ink);
}

.xz-mucard-coach-name b {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--xz-text);
}

.xz-mucard-coach-name em {
    display: block;
    font-style: normal;
    font-size: 10px;
    letter-spacing: .3px;
    color: var(--xz-text-3);
}

.xz-mucard-coach-note {
    margin: 8px 16px 0;
    font-size: 11.5px;
    line-height: 1.65;
    color: var(--xz-text-3);
}

.xz-mucard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 10px;
    padding: 10px 16px 14px;
}

.xz-mucard-player {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 5px 0;
    border-top: 1px dashed var(--xz-line);
    font-size: 12px;
}

/* 第一行的两个格子不要顶虚线 */
.xz-mucard-player:nth-child(-n + 2) { border-top: 0; }

.xz-mucard-player i {
    flex: none;
    width: 17px;
    font-style: normal;
    font-size: 10.5px;
    text-align: right;
    color: var(--xz-text-3);
    font-variant-numeric: tabular-nums;
}

.xz-mucard-player b {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-weight: 600;
    color: var(--xz-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xz-mucard-player b u {
    margin-left: 2px;
    font-size: 10px;
    font-weight: 800;
    color: var(--xz-accent-ink);
    text-decoration: none;
    vertical-align: 1px;
}

.xz-mucard-player em {
    flex: none;
    font-style: normal;
    font-size: 10px;
    color: var(--xz-text-3);
}

/* ---------- 资讯封面卡 ---------- */
.xz-news-grid {
    display: grid;
    gap: 14px;
}

.xz-news-grid.is-full { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.xz-news-grid.is-quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.xz-news-grid.is-tri { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.xz-news-grid.is-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xz-news-grid.is-solo { grid-template-columns: minmax(0, 1fr); }

.xz-news-card {
    background: var(--xz-surface);
    border: 1px solid var(--xz-line);
    border-radius: var(--xz-radius);
    overflow: hidden;
    box-shadow: var(--xz-shadow);
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform .18s ease, border-color .18s ease;
}

.xz-news-card:hover { transform: translateY(-2px); border-color: var(--xz-line-strong); }

.xz-news-grid.is-full .xz-news-card.is-lead,
.xz-news-grid.is-tri .xz-news-card.is-lead { grid-column: span 2; }
.xz-news-grid.is-full .xz-news-card.is-lead { grid-row: span 2; }

.xz-news-cover {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 16px;
    flex: 1 1 auto;
    min-height: 110px;
    position: relative;
    color: var(--xz-cover-ink);
    text-shadow: 0 1px 4px rgba(10, 12, 16, .7);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 1px;
    overflow-wrap: break-word;
    background:
        linear-gradient(0deg, rgba(10, 12, 16, .55), rgba(10, 12, 16, 0) 58%),
        linear-gradient(160deg, rgba(20, 24, 30, .1), rgba(20, 24, 30, .55)),
        linear-gradient(140deg, hsl(var(--xz-hue, 40) 42% 36%), hsl(calc(var(--xz-hue, 40) + 30) 48% 22%));
}

.xz-news-card.is-lead .xz-news-cover { min-height: 180px; font-size: 24px; }

.xz-news-cover.has-img { background-size: cover; background-position: center; }

.xz-news-cover em {
    position: absolute;
    top: 12px;
    left: 12px;
    font-style: normal;
    background: var(--xz-accent);
    color: var(--xz-on-accent);
    font-size: 11px;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 6px;
}

.xz-news-body { padding: 13px 15px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.xz-news-title { font-size: 14px; font-weight: 700; line-height: 1.45; overflow-wrap: break-word; }
.xz-news-card.is-lead .xz-news-title { font-size: 17px; }
.xz-news-card:hover .xz-news-title { color: var(--xz-accent-ink); }

.xz-news-ex {
    font-size: 12.5px;
    color: var(--xz-text-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xz-news-meta { font-size: 11.5px; color: var(--xz-text-3); margin-top: auto; }

/* ---------- 篮球资讯：横向列表 ---------- */
.xz-hoop-list {
    background: var(--xz-surface);
    border: 1px solid var(--xz-line);
    border-radius: var(--xz-radius);
    box-shadow: var(--xz-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.xz-hoop-item {
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--xz-line);
    transition: background-color .15s ease;
}

.xz-hoop-item:last-child { border-bottom: 0; }
.xz-hoop-item:hover { background: var(--xz-surface-2); }
.xz-hoop-item.is-feature { gap: 20px; }

.xz-hoop-cover {
    flex: none;
    width: 160px;
    min-height: 100px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    color: var(--xz-cover-ink);
    text-shadow: 0 1px 4px rgba(10, 12, 16, .7);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: flex-end;
    padding: 10px;
    background:
        linear-gradient(0deg, rgba(10, 12, 16, .55), rgba(10, 12, 16, 0) 58%),
        linear-gradient(160deg, rgba(20, 24, 30, .1), rgba(20, 24, 30, .55)),
        linear-gradient(140deg, hsl(var(--xz-hue, 40) 50% 38%), hsl(calc(var(--xz-hue, 40) + 30) 52% 23%));
}

.xz-hoop-cover.is-sm { width: 120px; min-height: 72px; font-size: 12px; font-weight: 700; padding: 8px; border-radius: var(--xz-radius-sm); }

.xz-hoop-cover.has-img { background-size: cover; background-position: center; }
.xz-clip-cover.has-img { background-size: cover; background-position: center; }

.xz-hoop-cover em {
    position: absolute;
    top: 8px;
    left: 8px;
    font-style: normal;
    background: var(--xz-live);
    color: var(--xz-on-accent);
    font-size: 10px;
    letter-spacing: 1px;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
}

.xz-hoop-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; justify-content: center; }

.xz-hoop-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xz-hoop-item:hover .xz-hoop-title { color: var(--xz-accent-ink); }

.xz-hoop-ex {
    font-size: 12.5px;
    color: var(--xz-text-2);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xz-hoop-meta { font-size: 11.5px; color: var(--xz-text-3); margin-top: auto; }

/* ---------- 赛事集锦：横向滚动 ---------- */
.xz-video-carousel { position: relative; }

.xz-video-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px;
}

.xz-video-track::-webkit-scrollbar { display: none; }

.xz-v-card {
    flex: 0 0 calc((100% - 42px) / 4);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--xz-surface);
    border: 1px solid var(--xz-line);
    border-radius: var(--xz-radius);
    overflow: hidden;
    box-shadow: var(--xz-shadow);
    transition: transform .18s ease, border-color .18s ease;
}

.xz-v-card:hover { transform: translateY(-2px); border-color: var(--xz-line-strong); }
.xz-v-cover {
    position: relative;
    height: 120px;
    display: grid;
    place-items: center;
    color: var(--xz-cover-ink);
    background:
        linear-gradient(0deg, rgba(10, 12, 16, .55), rgba(10, 12, 16, 0) 58%),
        linear-gradient(140deg, hsl(var(--xz-hue, 40) 42% 36%), hsl(calc(var(--xz-hue, 40) + 30) 48% 22%));
}

.xz-v-cover.has-img { background-size: cover; background-position: center; }

.xz-v-play {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 15px;
    color: var(--xz-on-accent);
    background: rgba(10, 12, 16, .5);
    text-shadow: 0 1px 4px rgba(10, 12, 16, .7);
    transition: background-color .2s ease, transform .2s ease;
}

.xz-v-card:hover .xz-v-play { background: var(--xz-accent); transform: scale(1.08); }

.xz-v-date {
    position: absolute;
    right: 8px;
    top: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--xz-on-accent);
    background: rgba(10, 12, 16, .6);
    padding: 1px 6px;
    border-radius: 3px;
}

.xz-v-title {
    padding: 10px 12px 4px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xz-v-card:hover .xz-v-title { color: var(--xz-accent-ink); }
.xz-v-meta { padding: 0 12px 12px; font-size: 11.5px; color: var(--xz-text-3); }

.xz-v-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    border: 1px solid var(--xz-line);
    background: var(--xz-surface);
    color: var(--xz-text-2);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition: opacity .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

.xz-v-nav:hover { background: var(--xz-accent); border-color: var(--xz-accent); color: var(--xz-on-accent); }
.xz-v-nav--prev { left: -12px; }
.xz-v-nav--next { right: -12px; }

.xz-video-carousel:hover .xz-v-nav,
.xz-v-nav:focus-visible { opacity: 1; }

/* ---------- 右栏 ---------- */
.xz-rail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--xz-head-total) + 16px);
    min-width: 0;
}

.xz-rail-block { padding-bottom: 6px; }
.xz-rail-block .xz-panel-head { padding-bottom: 12px; }

.xz-review-list { display: flex; flex-direction: column; }

.xz-rev-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 12.5px;
    border-bottom: 1px solid var(--xz-line);
    transition: background-color .15s ease;
}

.xz-rev-item:last-child { border-bottom: 0; }
.xz-rev-item:hover { background: var(--xz-surface-2); }

.xz-rev-sport {
    flex: none;
    font-size: 11px;
    font-weight: 700;
    color: var(--xz-accent-ink);
    text-align: center;
    border: 1px solid var(--xz-line);
    border-radius: 4px;
    padding: 1px 6px;
}

.xz-rev-title { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xz-rev-date { flex: none; font-size: 11px; color: var(--xz-text-3); font-variant-numeric: tabular-nums; }

.xz-clip-list { display: flex; flex-direction: column; }

.xz-clip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--xz-line);
    font-size: 13px;
    transition: background-color .15s ease;
}

.xz-clip:last-child { border-bottom: 0; }
.xz-clip:hover { background: var(--xz-surface-2); }

.xz-clip-cover {
    flex: none;
    width: 92px;
    height: 54px;
    border-radius: var(--xz-radius-sm);
    position: relative;
    overflow: hidden;
    color: var(--xz-cover-ink);
    text-shadow: 0 1px 4px rgba(10, 12, 16, .7);
    font-size: 11px;
    font-weight: 700;
    background:
        linear-gradient(0deg, rgba(10, 12, 16, .55), rgba(10, 12, 16, 0) 58%),
        linear-gradient(160deg, rgba(20, 24, 30, .15), rgba(20, 24, 30, .6)),
        linear-gradient(140deg, hsl(var(--xz-hue, 40) 42% 36%), hsl(calc(var(--xz-hue, 40) + 30) 48% 22%));
    background-size: cover;
    background-position: center;
}

.xz-clip-cover em {
    position: absolute;
    right: 5px;
    bottom: 5px;
    font-style: normal;
    background: rgba(0, 0, 0, .55);
    color: var(--xz-cover-ink);
    text-shadow: 0 1px 4px rgba(10, 12, 16, .7);
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: .5px;
}

.xz-clip-title {
    flex: 1;
    min-width: 0;
    line-height: 1.4;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xz-clip:hover .xz-clip-title { color: var(--xz-accent-ink); }

.xz-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; }

.xz-tag-cloud a {
    font-size: 12.5px;
    padding: 5px 13px;
    border-radius: 16px;
    border: 1px solid var(--xz-line);
    color: var(--xz-text-2);
    background: var(--xz-surface-2);
    transition: border-color .15s ease, color .15s ease;
}

.xz-tag-cloud a:hover { border-color: var(--xz-accent); color: var(--xz-accent-ink); }

.xz-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14px 8px 10px; }
.xz-figure { text-align: center; padding: 0 4px; min-width: 0; }
.xz-figure b { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.xz-figure span { font-size: 11.5px; color: var(--xz-text-3); }

/* ---------- 页脚 ---------- */
.xz-foot { border-top: 1px solid var(--xz-line); background: var(--xz-surface); margin-top: 6px; }

.xz-friend-links { border-bottom: 1px solid var(--xz-line); padding: 14px 0; }

.xz-fl-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 18px;
    font-size: 12.5px;
}

.xz-fl-label { flex: none; font-weight: 700; color: var(--xz-text-2); margin-right: 6px; }
.xz-fl-inner a { color: var(--xz-text-3); transition: color .15s ease; }
.xz-fl-inner a:hover { color: var(--xz-accent-ink); }

.xz-foot-inner {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    padding: 32px 20px 24px;
}

.xz-foot-brand { max-width: 520px; }

.xz-foot-brand .xz-brand { font-size: 19px; }

.xz-foot-brand p { font-size: 12.5px; color: var(--xz-text-3); margin-top: 10px; }

.xz-foot-links { display: flex; gap: 24px; font-size: 12.5px; color: var(--xz-text-2); align-content: center; align-items: center; }
.xz-foot-links a:hover { color: var(--xz-accent-ink); }

.xz-foot-copy {
    border-top: 1px solid var(--xz-line);
    font-size: 11.5px;
    color: var(--xz-text-3);
    padding: 13px 0;
}

.xz-foot-copy-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.xz-foot-copy-inner a { color: var(--xz-text-2); transition: color .15s ease; }
.xz-foot-copy-inner a:hover { color: var(--xz-accent-ink); }

/* ---------- 回到顶部 ---------- */
.xz-to-top {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 40;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--xz-accent);
    color: var(--xz-on-accent);
    box-shadow: 0 12px 26px -14px rgba(20, 24, 30, .6);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, background-color .18s ease;
}

.xz-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.xz-to-top:hover { background: var(--xz-accent-ink); }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
    .xz-layout { grid-template-columns: minmax(0, 1fr); }
    .xz-rail { position: static; flex-direction: row; flex-wrap: wrap; }
    .xz-rail-block { flex: 1 1 280px; }
}

@media (max-width: 860px) {
    .xz-news-grid.is-full,
    .xz-news-grid.is-quad,
    .xz-news-grid.is-tri,
    .xz-news-grid.is-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .xz-news-grid.is-full .xz-news-card.is-lead,
    .xz-news-grid.is-tri .xz-news-card.is-lead { grid-column: span 2; grid-row: auto; }

    .xz-nav {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: var(--xz-head-total);
        z-index: 999;
        flex-direction: column;
        gap: 0;
        padding: 8px 12px 14px;
        background: var(--xz-surface);
        border-bottom: 1px solid var(--xz-line);
        box-shadow: var(--xz-shadow);
        max-height: calc(100dvh - var(--xz-head-total));
        overflow-y: auto;
    }

    .xz-nav.is-open { display: flex; }
    .xz-nav a { padding: 11px 12px; border-radius: var(--xz-radius-sm); }
    .xz-burger { display: inline-flex; }

    .xz-sb-match { gap: 18px; }
    .xz-sb-nav { width: 32px; height: 32px; }
    .xz-sb-score b { font-size: 40px; }
    .xz-sb-score .xz-sb-score-vs { font-size: 20px; }
    .xz-crest--lg { width: 52px; height: 52px; font-size: 19px; }
    .xz-sb-name { font-size: 16px; }
    .xz-scoreboard { padding-inline: 34px; }

    .xz-sb-row { grid-template-columns: 78px minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 8px; padding-inline: 14px; }

    .xz-ft-row { grid-template-columns: 52px 44px minmax(0, 1fr) 46px; gap: 10px; padding-inline: 14px; }

    .xz-stats-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }

    .xz-v-card { flex-basis: calc((100% - 14px) / 2); }
    .xz-v-nav { display: none; }

    .xz-foot-links { flex-wrap: wrap; }
}

@media (max-width: 560px) {
    .xz-wrap { padding-inline: 14px; }

    .xz-league-scroll { padding-inline: 14px; }
    .xz-lb-label { display: none; }

    .xz-block-head h2 { font-size: 16.5px; }
    .xz-block-head h2 span { display: block; margin: 2px 0 0; }

    .xz-scoreboard { padding: 16px 26px 18px; }
    .xz-sb-match { gap: 6px; margin-block: 15px 8px; }
    .xz-sb-team { gap: 6px; min-width: 0; }
    .xz-sb-team.is-home { flex: 1 1 0; justify-content: flex-end; }
    .xz-sb-team.is-away { flex: 1 1 0; justify-content: flex-start; }
    .xz-sb-name {
        font-size: 13px;
        max-width: 6em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .xz-sb-score { flex: none; }
    .xz-sb-score b { font-size: 30px; }
    .xz-crest--lg { width: 40px; height: 40px; font-size: 16px; }

    .xz-sb-row { font-size: 13px; gap: 6px; }
    .xz-sr-score { min-width: 62px; font-size: 13px; }
    .xz-sr-cta { padding: 6px 10px; }
    .xz-sr-cta-t { display: none; }
    .xz-sr-cta i { font-size: 15px; transform: none; }

    .xz-news-grid.is-full,
    .xz-news-grid.is-quad,
    .xz-news-grid.is-tri,
    .xz-news-grid.is-duo,
    .xz-news-grid.is-solo { grid-template-columns: minmax(0, 1fr); }
    .xz-news-grid.is-full .xz-news-card.is-lead,
    .xz-news-grid.is-tri .xz-news-card.is-lead { grid-column: auto; }

    .xz-hoop-item { flex-direction: column; gap: 10px; }
    .xz-hoop-cover, .xz-hoop-cover.is-sm { width: 100%; min-height: 96px; }

    .xz-v-card { flex-basis: 100%; }

    .xz-foot-inner { padding: 24px 14px 18px; }
}

/* 顶部轮播图（首页主栏第一块，2026-11-13 加）
   --------------------------------------------------------------------------
   数据来自后台「轮播图」（cms_banners），视图在 home.php；
   一张图时只有图，多张才出箭头和圆点，切换由 home.php 底部的脚本负责（3.5s 淡入淡出）。
   比例按后台图的 1400×646 走，窄屏放到 2:1，别把图裁得太狠。
   -------------------------------------------------------------------------- */
.xz-banner {
    position: relative;
    border: 1px solid var(--xz-line);
    border-radius: var(--xz-radius);
    overflow: hidden;
    background: var(--xz-surface-2);
    box-shadow: var(--xz-shadow);
}

.xz-banner-track {
    position: relative;
    aspect-ratio: 1400 / 646;
}

.xz-banner-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility .45s ease;
}

.xz-banner-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.xz-banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xz-banner-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 18px 14px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #fff;
    text-shadow: 0 1px 6px rgba(10, 12, 16, .55);
    background: linear-gradient(0deg, rgba(10, 12, 16, .72), rgba(10, 12, 16, 0));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xz-banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    background: rgba(10, 12, 16, .32);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s ease, background-color .2s ease;
}

.xz-banner:hover .xz-banner-nav,
.xz-banner-nav:focus-visible {
    opacity: 1;
}

.xz-banner-nav:hover { background: rgba(10, 12, 16, .62); }
.xz-banner-nav--prev { left: 12px; }
.xz-banner-nav--next { right: 12px; }

.xz-banner-dots {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.xz-banner-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: width .2s ease, background-color .2s ease;
}

.xz-banner-dot.is-active {
    width: 18px;
    background: #fff;
}

@media (max-width: 720px) {
    .xz-banner-track { aspect-ratio: 2 / 1; }
    .xz-banner-cap { padding: 28px 12px 10px; font-size: 13px; }
    .xz-banner-nav { display: none; }
    .xz-banner-dots { right: 10px; bottom: 10px; }
}

/* ---------- 占位 banner：后台「轮播图」还没传图时，首屏这块也要在 ----------
   2026-11-13 运营口径：没数据也要把占位留着，模块不能因为没内容就整块消失。
   占位就一行「暂无 banner 图」，不摆假图、不编文案（用户指定）。
   -------------------------------------------------------------------------- */
.xz-banner-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--xz-surface-2);
    color: var(--xz-text-3);
    font-size: 13.5px;
    letter-spacing: .5px;
}

/* ---------- 空态占位骨架（资讯 / 集锦 / 标签通用） ----------
   没数据时模块照常出现，里面放灰色骨架 + 一行说明，等数据回来自然被真实内容替换。
   骨架的动画在 prefers-reduced-motion 下会被全局关掉，不会闪。
   -------------------------------------------------------------------------- */
.xz-ph-skeleton {
    background: linear-gradient(100deg, var(--xz-surface-2) 0%, color-mix(in srgb, var(--xz-text) 13%, var(--xz-surface-2)) 45%, var(--xz-surface-2) 90%);
    background-size: 220% 100%;
    animation: xz-ph-sweep 1.6s ease-in-out infinite;
}

@keyframes xz-ph-sweep {
    0% { background-position: 120% 0; }
    100% { background-position: -20% 0; }
}

.xz-ph-lines {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
}

.xz-ph-line {
    display: block;
    height: 12px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--xz-text) 8%, var(--xz-surface-2));
}

.xz-ph-line.is-short { width: 46%; }

/* 资讯列表占位（沿用 .xz-hoop-item 的排版，只是内容换成灰块） */
.xz-hoop-item.is-ph { cursor: default; }
.xz-hoop-item.is-ph:hover { background: transparent; }

/* 三处封面本来各有自己的渐变，占位时要盖成骨架色（选择器写全，别被原规则抢回去） */
.xz-hoop-item.is-ph .xz-hoop-cover.xz-ph-skeleton,
.xz-news-card.is-ph .xz-news-cover.xz-ph-skeleton,
.xz-v-card.is-ph .xz-v-cover.xz-ph-skeleton {
    background: linear-gradient(100deg, var(--xz-surface-2) 0%, color-mix(in srgb, var(--xz-text) 13%, var(--xz-surface-2)) 45%, var(--xz-surface-2) 90%);
    background-size: 220% 100%;
    animation: xz-ph-sweep 1.6s ease-in-out infinite;
}

/* 资讯网格占位（足球块那种卡片） */
.xz-news-card.is-ph { pointer-events: none; }
.xz-news-card.is-ph .xz-news-cover { flex: 1 1 auto; min-height: 110px; }
.xz-news-card.is-ph .xz-news-body { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }

/* 集锦横滑占位 */
.xz-v-card.is-ph { pointer-events: none; }
.xz-v-card.is-ph .xz-v-cover { height: 120px; }
.xz-v-card.is-ph .xz-ph-line { margin: 14px 14px 16px; }

/* 标签占位 */
.xz-tag-ph { display: inline-block; width: 74px; height: 28px; border-radius: 16px; }

/* 说明文案：卡片容器内的（资讯列表 / 右栏）用分割线，模块下方的用虚框 */
.xz-ph-note {
    margin: 0;
    padding: 10px 18px;
    font-size: 12.5px;
    line-height: 1.6;
    text-align: center;
    color: var(--xz-text-3);
    background: var(--xz-surface-2);
    border-top: 1px solid var(--xz-line);
}

.xz-block > .xz-ph-note {
    margin-top: 10px;
    border: 1px dashed var(--xz-line-strong);
    border-top: 1px dashed var(--xz-line-strong);
    border-radius: var(--xz-radius);
    background: var(--xz-surface);
}

.xz-ph-note.is-plain {
    padding: 10px 0 0;
    text-align: left;
    background: none;
    border: 0;
}

.xz-tag-cloud .xz-ph-note { flex: 1 0 100%; padding: 4px 0 0; text-align: left; background: none; border: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}
