/* ============================================================
   体育直播网 · 浅色青蓝主题（参照 04-配色风格.png）
   断点：1200 / 992 / 768 / 576
   ============================================================ */
:root {
  --bg: #f2f4f7;
  --card: #ffffff;
  --primary: #12a5bc;
  --primary-dark: #0e8ca1;
  --primary-soft: #e3f6f9;
  --text: #2b2f36;
  --muted: #8a919c;
  --line: #e6e9ee;
  --hot: #ff4d4f;
  --warn: #fa8c16;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(31, 35, 41, .06), 0 4px 14px rgba(31, 35, 41, .05);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.7 "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { border: 0; vertical-align: middle; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 700; }
time { color: var(--muted); font-variant-numeric: tabular-nums; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 900px; }
.main { min-height: 60vh; padding: 20px 0 8px; }

/* ---------- 页头 ---------- */
.hd {
  position: sticky; top: 0; z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.hd__in { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand {
  display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
  padding: 7px 18px 7px 12px; background: var(--primary-soft);
  border: 1px solid var(--primary); border-radius: 999px;
}
.brand__logo { width: 30px; height: 30px; object-fit: contain; }
.brand__name { font-size: 19px; font-weight: 800; letter-spacing: 1px; color: var(--primary-dark); }
.nav { display: flex; gap: 12px; margin-left: 40px; }
.nav__item {
  padding: 8px 20px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font-weight: 500;
  transition: .18s;
}
.nav__item:hover { border-color: var(--primary); color: var(--primary-dark); }
.nav__item.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.nav-toggle {
  display: none; width: 40px; height: 40px; margin-left: auto;
  border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- 双栏骨架 ---------- */
.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.main-col { min-width: 0; }
.side-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* ---------- 首页排版（对照设计图：7 格入口 + 左资讯/右赛事 + 全宽百科） ---------- */
.home { padding-top: 2px; }
.quick-row {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px; margin-bottom: 18px;
}
.quick {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 64px; padding: 0 10px; text-align: center; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: .18s;
}
.quick:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--primary-dark); }
.quick strong, .quick span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick strong { font-size: 15px; }
.quick span { font-size: 12px; color: var(--muted); }

.home-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4fr);
  gap: 16px; align-items: stretch; margin-bottom: 18px;
}
.home-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.home-col--side .hpanel--news { flex: 1 1 50%; min-height: 210px; }
.home-col--main .hpanel--rec { flex: 0 0 auto; }
.home-col--main .hpanel--live { flex: 1 1 0; min-height: 300px; }

.hpanel { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.hpanel__hd {
  display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
}
.hpanel__hd h2 { font-size: 16px; }
.hpanel__more { margin-left: auto; font-size: 12px; color: var(--muted); }
.hpanel__more:hover { color: var(--primary-dark); }
.hpanel__empty { flex: 1; display: flex; align-items: center; justify-content: center; margin: 0; color: var(--muted); font-size: 13px; }

.mini-list { flex: 1 1 auto; min-height: 0; overflow: auto; margin: 0; padding: 4px 14px 10px; }
.mini-list li { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-list a:hover { color: var(--primary-dark); }
.mini-list time { font-size: 12px; }
.hpanel .mrow-list { flex: 1 1 auto; min-height: 0; overflow: auto; }

.baike { margin-bottom: 4px; }
.baike__body { padding: 14px 16px 16px; }
.baike__stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.baike__stat { display: flex; flex-direction: column; padding: 12px 6px; text-align: center; background: var(--bg); border-radius: 8px; }
.baike__stat strong { font-size: 20px; color: var(--primary-dark); }
.baike__stat span { font-size: 12px; color: var(--muted); }
.baike__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- 日期页签 + 筛选 ---------- */
.bar-sticky { position: sticky; top: 72px; z-index: 40; margin: -4px 0 16px; }
.date-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  scrollbar-width: thin;
}
.date-tab {
  flex: 1 0 96px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 10px; border-radius: 8px; background: var(--bg); transition: .18s;
}
.date-tab strong { font-size: 15px; }
.date-tab span { font-size: 12px; color: var(--muted); }
.date-tab.is-on { background: var(--primary); color: #fff; }
.date-tab.is-on span { color: rgba(255, 255, 255, .85); }
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; align-items: center;
  padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.filter-bar__group { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-bar--inline { margin: 0 0 14px; }
.chip {
  padding: 4px 14px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); color: var(--muted); transition: .18s;
}
.chip:hover { border-color: var(--primary); color: var(--primary-dark); }
.chip.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip--ghost { background: transparent; }

/* ---------- 赛程卡片 ---------- */
.match-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mc {
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; box-shadow: var(--shadow); transition: .18s;
  color: inherit; text-decoration: none; cursor: pointer;
}
.mc:hover { transform: translateY(-2px); border-color: var(--primary); }
.mc--live { border-color: rgba(18, 165, 188, .55); }
.mc__top { display: flex; align-items: center; gap: 8px; }
.mc__time { margin-left: auto; font-size: 13px; }
.mc__hot { width: 16px; height: 16px; }
.tag {
  padding: 2px 10px; border-radius: 6px; font-size: 12px;
  background: var(--primary-soft); color: var(--primary-dark); white-space: nowrap;
}
.tag--sm { padding: 1px 8px; font-size: 12px; }
.mc__body { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.team--away { justify-content: flex-end; text-align: right; }
.team__logo { width: 28px; height: 28px; object-fit: contain; background: #fff; border-radius: 50%; }
.team__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mc__mid { text-align: center; }
.mc__score { font-size: 20px; font-weight: 800; color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.mc__vs { font-size: 14px; font-weight: 700; color: var(--muted); }
.mc__foot { display: flex; justify-content: center; }

/* ---------- 状态徽章 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--primary); color: var(--primary-dark); background: #fff;
}
.badge--live { background: var(--primary); border-color: var(--primary); color: #fff; }
.badge--finished { border-color: var(--line); color: var(--muted); }
.badge--postponed { border-color: var(--warn); color: var(--warn); }
.badge--cancelled { border-color: var(--line); color: var(--muted); background: var(--bg); }
.badge--sm { padding: 2px 12px; font-size: 12px; }
.badge__dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulse 1.2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- 侧栏面板 ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel__hd {
  padding: 10px 14px; font-size: 15px; color: #fff; background: var(--primary);
}
.panel__list { padding: 6px 14px 10px; }
.panel__item { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.panel__item:last-child { border-bottom: 0; }
.panel__item a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.panel__item a:hover { color: var(--primary-dark); }
.panel__item time { font-size: 12px; }
.panel__empty { color: var(--muted); padding: 12px 0; }
.panel__hd--row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel__more { font-size: 12px; font-weight: 400; color: #fff; opacity: .8; }
.panel__more:hover { opacity: 1; }
.panel__item--team a { display: flex; align-items: center; gap: 8px; -webkit-line-clamp: unset; }
.team-mini__logo { width: 26px; height: 26px; flex: 0 0 26px; object-fit: contain; }
.team-mini__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.team-mini__txt strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-mini__txt em { font-style: normal; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 空态 / 分页 ---------- */
.empty {
  padding: 60px 20px; text-align: center; color: var(--muted);
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius);
}
.empty__sub { font-size: 12px; margin-top: 4px; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 22px 0 4px; flex-wrap: wrap; }
.pager__item {
  min-width: 34px; padding: 4px 10px; text-align: center; border-radius: 8px;
  background: var(--card); border: 1px solid var(--line); color: var(--text);
}
.pager__item.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- 详情页 ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card__hd {
  padding: 10px 16px; font-size: 15px; border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--primary);
}
.hero { padding: 18px 20px 22px; margin-bottom: 16px; }
.hero__meta { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 14px; }
.hero__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.hero__team { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.hero__team img { width: 64px; height: 64px; object-fit: contain; }
.hero__mid { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__score { font-size: 30px; font-weight: 800; color: var(--primary-dark); }
.hero__vs { font-size: 22px; color: var(--muted); }
.sig-card, .intro-card, .more-card { margin-bottom: 16px; padding-bottom: 14px; }
.sig-row { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px; }
.sig {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 26px; border-radius: 10px; color: #fff; font-weight: 700; transition: .18s;
}
.sig:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sig--1 { background: linear-gradient(135deg, #12a5bc, #0e8ca1); }
.sig--2 { background: linear-gradient(135deg, #5b8cff, #3f6fe0); }
.sig--3 { background: linear-gradient(135deg, #34c38f, #1ea573); }
.sig--4 { background: linear-gradient(135deg, #ff7d9c, #f0507c); }
.sig__go { font-style: normal; font-size: 12px; opacity: .85; }
.sig__icon { font-size: 14px; line-height: 1; }
.sig__tag {
  font-size: 11px; font-weight: 400; padding: 1px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}
.sig-tip, .sig-none { padding: 0 16px 4px; color: var(--muted); font-size: 12px; }
.intro-dl { padding: 14px 16px 0; margin: 0; }
.intro-dl div { display: flex; gap: 10px; padding: 3px 0; }
.intro-dl dt { color: var(--muted); flex: 0 0 70px; }
.intro-dl dd { margin: 0; }
.intro-card__p { padding: 10px 16px 4px; color: #555b64; }
.mrow-list { padding: 8px 10px 10px; }
.mrow {
  display: grid; grid-template-columns: 88px 92px 1fr auto; align-items: center; gap: 10px;
  padding: 9px 8px; border-radius: 8px; transition: .15s;
}
.mrow:hover { background: var(--primary-soft); }
.mrow__time { font-size: 13px; }
.mrow__teams { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.mrow__team { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow__logo { width: 22px; height: 22px; object-fit: contain; }
.mrow__vs { font-style: normal; font-weight: 800; color: var(--primary-dark); padding: 0 4px; }

/* ---------- 资讯列表（左图卡片流） ---------- */
.sec-hd {
  margin: 0 0 14px; padding: 8px 14px; font-size: 18px;
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--primary);
  border-radius: var(--radius);
}
.news-flow { display: flex; flex-direction: column; gap: 14px; }
.news-card { display: grid; grid-template-columns: 168px 1fr; gap: 14px; padding: 12px; }
.news-card__thumb { display: block; height: 104px; border-radius: 8px; overflow: hidden; background: var(--bg); }
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.news-card__title { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card:hover .news-card__title { color: var(--primary-dark); }
.news-card__sum { color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__date { font-size: 12px; margin-top: auto; }

/* ---------- 教练及球队介绍 ---------- */
.team-search { display: flex; gap: 8px; margin-left: auto; }
.team-search input {
  min-width: 220px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff; color: var(--text);
}
.tag--plain { background: var(--bg); color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.team-card {
  padding: 16px 14px; display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center; transition: .18s;
}
.team-card:hover { transform: translateY(-2px); border-color: var(--primary); }
.team-card__logo {
  width: 62px; height: 62px; border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.team-card__logo img { width: 46px; height: 46px; object-fit: contain; }
.team-card__meta { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.team-card__coach, .team-card__sum { font-size: 13px; color: var(--muted); }
.team-card__sum { line-height: 1.6; }
.team-hero { display: flex; align-items: flex-start; gap: 18px; padding: 20px 18px; }
.team-hero__logo {
  flex: 0 0 auto; width: 84px; height: 84px; padding: 8px;
  object-fit: contain; background: var(--bg); border-radius: 50%;
}
.team-hero__body { min-width: 0; }
.team-hero__name { font-size: 22px; margin-bottom: 6px; }
.team-hero__sum { color: var(--muted); margin-bottom: 12px; }
.team-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; font-size: 13px; }
.team-facts div { display: flex; gap: 6px; }
.team-facts dt { color: var(--muted); }
.team-facts dd { margin: 0; font-weight: 600; }
.team-intro { padding-bottom: 10px; }
.team-intro__p { padding: 0 16px; line-height: 1.9; }
.team-side { list-style: none; padding: 6px 14px 12px; margin: 0; }
.team-side li a {
  display: flex; align-items: center; gap: 8px; padding: 8px 0;
  border-bottom: 1px dashed var(--line); color: inherit;
}
.team-side li:last-child a { border-bottom: 0; }
.team-side li a:hover span { color: var(--primary-dark); }
.team-side img { width: 26px; height: 26px; object-fit: contain; flex: 0 0 auto; }
.team-side span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.team-side i { font-style: normal; margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- 文章详情 ---------- */
.crumb { display: flex; gap: 8px; color: var(--muted); margin-bottom: 12px; font-size: 13px; }
.crumb i { font-style: normal; }
.crumb a:hover { color: var(--primary-dark); }
.art { padding: 20px 22px 24px; }
.art__title { font-size: 22px; line-height: 1.5; }
.art__meta { color: var(--muted); font-size: 13px; margin: 8px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.art__body p { margin: 0 0 14px; color: #43484f; }
.art__pn { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 13px; }
.art__pn a:hover { color: var(--primary-dark); }

/* ---------- 页脚（网站描述 + 版权信息，紧贴上方板块） ---------- */
.ft { background: transparent; color: var(--muted); padding: 0 0 40px; margin-top: 0; }
.ft__box {
  padding: 12px 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.ft__desc { text-align: center; font-size: 13px; line-height: 1.7; color: var(--text); margin: 0 0 6px; }
.ft__copy { text-align: center; font-size: 12px; color: var(--muted); margin: 0; }

/* ---------- 后台 ---------- */
.adm-body { background: var(--bg); }
.adm-hd { background: var(--primary-dark); color: #fff; }
.adm-hd__in { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.adm-hd__title { font-weight: 700; }
.adm-hd__ops a { color: #dff6fa; margin-left: 16px; }
.adm-wrap { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding-top: 18px; padding-bottom: 40px; align-items: start; }
.adm-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 16px; }
.adm-side__item { display: block; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.adm-side__item:last-child { border-bottom: 0; }
.adm-side__item.is-on { background: var(--primary); color: #fff; }
.adm-main { min-width: 0; }
.adm-h1 { font-size: 20px; margin: 4px 0 14px; }
.adm-sub { color: var(--muted); margin: -8px 0 12px; }
.adm-card { padding: 16px 18px; margin-bottom: 16px; }
.adm-ops { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.adm-ops__tabs, .adm-ops__filter { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* 筛选栏下拉框：与 .fld 表单控件保持同一风格 */
.adm-ops__filter select {
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff; color: var(--text); cursor: pointer;
}
.adm-ops__filter select:hover { border-color: var(--primary); }
.flash {
  padding: 10px 14px; border-radius: 8px; margin-bottom: 14px;
  background: var(--primary-soft); border: 1px solid var(--primary); color: var(--primary-dark);
}
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
.stat { padding: 14px; text-align: center; display: flex; flex-direction: column; }
.stat strong { font-size: 26px; color: var(--primary-dark); }
.stat span { color: var(--muted); font-size: 13px; }
.notice { background: #fff7e6; border: 1px solid var(--warn); border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; }
.notice__form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.notice__form input { padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; }
.form .fld { display: block; margin-bottom: 12px; }
.fld > span:first-child { display: block; color: var(--muted); margin-bottom: 4px; }
.fld input[type="text"], .fld input[type="password"], .fld input[type="number"], .fld input[type="date"],
.fld textarea, .fld select {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff; color: var(--text);
}
.fld textarea { resize: vertical; }
.fld__row { display: flex; align-items: center; gap: 10px; }
.fld__logo { width: 42px; height: 42px; object-fit: contain; background: var(--bg); border-radius: 6px; }
.fld__logo--cover { width: 96px; height: 60px; object-fit: cover; }
.tbl { width: 100%; border-collapse: collapse; overflow: hidden; }
.tbl th, .tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
.tbl th { background: var(--primary-soft); color: var(--primary-dark); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl__title { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl__logo { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; margin-right: 6px; }
/* 后台表单：短字段并排成组 */
.fld-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
.tbl__ops { display: flex; gap: 10px; align-items: center; }
.tbl__ops a { color: var(--primary-dark); }
.tbl__del { display: inline; }
.tbl__del button, .tbl td button {
  border: 0; background: none; color: var(--hot); cursor: pointer; font: inherit; padding: 0;
}
.tbl__empty { text-align: center; color: var(--muted); }
.btn {
  display: inline-block; padding: 8px 20px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--text); cursor: pointer; font: inherit; transition: .18s;
}
.btn:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--primary:hover { filter: brightness(1.06); color: #fff; }
.btn--block { width: 100%; margin-top: 15px; }
/* 详情页按钮管理：可增减的按钮行 */
.fld--check { display: flex; align-items: center; gap: 8px; }
.fld--check input[type="checkbox"] { width: auto; margin: 0; }
.fld--check > span { display: inline; color: var(--text); margin: 0; }
.btn-slots { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 12px; }
.btn-slot {
  display: grid; align-items: center; gap: 10px;
  grid-template-columns: 1.1fr 1.7fr .8fr .7fr .6fr .9fr auto;
}
.btn-slot__ctl {
  min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff; color: var(--text);
}
.btn-slot__label { color: var(--muted); font-size: 13px; }
.btn-slot--head .btn-slot__label--ops { visibility: hidden; }
.btn--del { padding: 8px 14px; color: var(--hot); border-color: var(--line); }
.btn--del:hover { border-color: var(--hot); color: var(--hot); }
.btn-slots__ops { margin: 0 0 14px; }
.login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-box { width: 340px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px 26px 30px; box-shadow: var(--shadow); }
.login-box__hd { font-size: 18px; text-align: center; margin-bottom: 18px; color: var(--primary-dark); }
.err-box { text-align: center; padding: 80px 0; }
.err-box__code { font-size: 64px; font-weight: 800; color: var(--primary); margin: 0; }
.err-box__msg { color: var(--muted); margin: 6px 0 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
  .quick-row { gap: 10px; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  .layout-2col { grid-template-columns: minmax(0, 1fr); }
  .side-col { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  /* 移动端：先看赛事推荐与赛事直播，再往下看资讯 */
  .home-col--main { order: -1; }
  .home-col--side { flex-direction: row; }
  .home-col--side .hpanel--news { min-height: 240px; }
  .baike__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .btn-slot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .btn-slot--head { display: none; }
}
@media (max-width: 768px) {
  .nav {
    position: fixed; top: 72px; right: 0; left: 0; z-index: 49;
    flex-direction: column; gap: 0; padding: 8px 16px 14px;
    background: var(--card); border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .25s; box-shadow: var(--shadow);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__item { border-radius: 8px; padding: 10px 12px; }
  .nav-toggle { display: flex; }
  .match-grid { grid-template-columns: minmax(0, 1fr); }
  .bar-sticky { position: static; }
  .side-col { grid-template-columns: minmax(0, 1fr); }
  .news-card { grid-template-columns: 118px 1fr; }
  .news-card__thumb { height: 82px; }
  .mrow { grid-template-columns: 76px 1fr auto; }
  .mrow__time { display: none; }
  .adm-wrap { grid-template-columns: 1fr; }
  .adm-side { position: static; display: flex; overflow-x: auto; }
  .adm-side__item { border-bottom: 0; border-right: 1px solid var(--line); white-space: nowrap; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__team img { width: 48px; height: 48px; }
  .hero__score { font-size: 24px; }
  .quick-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-col--side { flex-direction: column; }
  .btn-slot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-search { margin-left: 0; width: 100%; }
  .team-search input { flex: 1 1 auto; min-width: 0; }
  .fld-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 576px) {
  .brand__name { font-size: 17px; }
  .mc__body { grid-template-columns: 1fr; gap: 6px; }
  .team, .team--away { justify-content: center; text-align: center; }
  .team--away { flex-direction: row-reverse; }
  .mc__mid { order: 2; }
  .sig { padding: 9px 18px; }
  .art { padding: 16px; }
  .art__title { font-size: 18px; }
  .tbl__title { max-width: 180px; }
  .quick-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .baike__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-hero { flex-direction: column; align-items: center; text-align: center; }
  .team-facts { justify-content: center; }
}
