/* ============================================================================
   mk.xinuu.xin 站点样式 —— 浅色、信息优先的体育数据站

   设计语言参考了 Sports Mole 那类传统体育数据站的版面语法：白底、窄容器、
   小字号、高密度、细边框、栏目分隔线。量到的关键参数：容器 990px（比 Bootstrap
   默认的 1140 窄，这是它显得密的主要原因）、系统字体、圆角 0.375rem、
   正文 #212529 / 边框 #dee2e6 / 浅底 #f8f9fa。

   刻意没有照搬的两处：
     · 品牌色。对方用 #a9122c 深红做品牌色。用同一个红 + 同一套版面，等于在冒充
       另一家的品牌，所以主色换成琥珀系 #b45309。
     · 胜/负语义色保留绿 #198754 / 红 #dc3545——这两个是万能语义色，不是谁的商标。

   零依赖、零构建：单文件 CSS，全部页面共用。
   ========================================================================== */

:root {
  --ink: #212529;
  --ink-2: #495057;
  --muted: #6c757d;
  --muted-2: #adb5bd;
  --bg: #ffffff;
  --surface: #f8f9fa;
  --surface-2: #e9ecef;
  --line: #dee2e6;
  --line-2: #eef0f2;

  --brand: #b45309;          /* 琥珀 700：白底上对比度 4.6:1，可用作正文链接 */
  --brand-ink: #7c3406;
  --brand-soft: #fef3e2;

  --win: #198754;
  --win-soft: #d1e7dd;
  --loss: #dc3545;
  --loss-soft: #f8d7da;
  --void: #6c757d;

  --maxw: 990px;
  --radius: 6px;
  --radius-sm: 4px;

  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--brand-ink); }

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

.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }

/* ---------------------------------------------------------------- 顶栏 */

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.topbar__in {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 58px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
  flex: none;
}
.brand:hover { text-decoration: none; color: var(--ink); }

.brand__mark {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav a {
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}
.nav a:hover { background: var(--surface); text-decoration: none; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

/* ---------------------------------------------------------------- 面包屑 */

.crumbs {
  font-size: 12.5px;
  color: var(--muted);
  padding: 12px 0 0;
}
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--muted-2); margin: 0 5px; }

/* ---------------------------------------------------------------- 版面骨架 */

.page { padding: 18px 0 56px; }

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
}
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }

/* 栏目标题：Sports Mole 那种「细线 + 粗标题 + 右侧更多」 */
.sec {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
  margin: 26px 0 12px;
}
.sec:first-child { margin-top: 0; }
.sec h1,
.sec h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
/* 比赛页把整个对阵头做成 h1：视觉保持原样，只是语义上升级 */
h1.matchhead__body { margin: 0; }
.sec .more {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
}

/* ---------------------------------------------------------------- 头条 */

.lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .lead { grid-template-columns: 1fr; } }

.lead__headline {
  font-size: 25px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.lead__headline a { color: var(--ink); }
.lead__headline a:hover { color: var(--brand); text-decoration: none; }

.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
}

.standfirst {
  color: var(--ink-2);
  font-size: 14.5px;
  margin: 0 0 12px;
}

.bylines { font-size: 12.5px; color: var(--muted); }

/* 头条右侧的列表 */
.brief-list { list-style: none; margin: 0; padding: 0; }
.brief-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-2);
}
.brief-list li:first-child { padding-top: 0; }
.brief-list a {
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.45;
}
.brief-list a:hover { color: var(--brand); text-decoration: none; }
.brief-list .meta { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ---------------------------------------------------------------- 比分条 */

.scores { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 620px) { .scores { grid-template-columns: 1fr 1fr; } }

.score {
  background: var(--bg);
  padding: 9px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  align-items: center;
  font-size: 13.5px;
}
.score__lg {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.score__teams { min-width: 0; }
.score__teams span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score__nums { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.score__nums span { display: block; }
.score__time { color: var(--muted); font-weight: 600; font-size: 12.5px; }

/* ---------------------------------------------------------------- 文章/卡片流 */

.stream { display: grid; gap: 0; }
@media (min-width: 700px) { .stream { grid-template-columns: 1fr 1fr; column-gap: 22px; } }

.item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
}
.item__t { font-weight: 700; font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.item__t:hover { color: var(--brand); text-decoration: none; }
.item__meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.item__thumb {
  width: 92px; height: 66px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}

/* ---------------------------------------------------------------- 数据表 */

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.tbl th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.tbl td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
}
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: var(--surface); }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* 胜/负/走水 */
.wl {
  display: inline-block;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 3px;
  font-size: 11.5px;
  font-weight: 800;
  text-align: center;
  padding: 0 5px;
}
.wl--w { background: var(--win-soft); color: var(--win); }
.wl--l { background: var(--loss-soft); color: var(--loss); }
.wl--v { background: var(--surface-2); color: var(--void); }

.hit { color: var(--win); font-weight: 700; }
.miss { color: var(--loss); font-weight: 700; }
.void { color: var(--void); font-weight: 700; }

/* 积分榜 */
.table-pos { font-weight: 800; font-variant-numeric: tabular-nums; width: 30px; color: var(--muted); }
.table-team { font-weight: 600; }
.table-pts { font-weight: 800; }

/* ---------------------------------------------------------------- 右栏 */

.rail { display: grid; gap: 22px; }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel__h {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
}
.panel__b { padding: 10px 12px; font-size: 13.5px; }
.panel__b p { margin: 0 0 8px; }
.panel__b p:last-child { margin-bottom: 0; }

.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-2);
}
.stat-row:last-child { border-bottom: 0; }
.stat-row b { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- 正文块 */

.prose { font-size: 15px; line-height: 1.8; }
.prose p { margin: 0 0 14px; }
.prose h2 {
  font-size: 17px;
  font-weight: 800;
  margin: 26px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ink);
}
.prose h3 { font-size: 15px; font-weight: 800; margin: 20px 0 6px; }
.prose ul { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }

.snap {
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  padding: 12px 14px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0 0 10px;
}
.snap--sub { background: var(--surface); border-left-color: var(--line); color: var(--ink-2); font-size: 13.5px; }

/* 赛前依据块 */
.evidence {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--surface);
  margin: 16px 0;
}
.evidence h3 { margin: 0 0 8px; font-size: 14px; font-weight: 800; }
.evidence dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 0; font-size: 13.5px; }
.evidence dt { color: var(--muted); }
.evidence dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

/* 大比分头 */
.matchhead {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}
.matchhead__meta {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  letter-spacing: 0.04em;
}
.matchhead__body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px 14px;
}
.matchhead__side { text-align: center; font-weight: 800; font-size: 16px; }
.matchhead__side a { color: var(--ink); }
.matchhead__score {
  font-size: 28px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.matchhead__kick { font-size: 13px; color: var(--muted); text-align: center; font-weight: 700; }

/* ---------------------------------------------------------------- 按钮 / 提示 */

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: var(--radius);
}
.btn:hover { background: var(--brand-ink); color: #fff; text-decoration: none; }

.btn--sm { font-size: 13px; padding: 7px 12px; flex: none; }

.cta-block {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
  margin: 34px 0 0;
}
.cta-block__acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  flex: 0 0 auto; }
.cta-block b { font-size: 15px; }
.cta-block .note { margin: 4px 0 0; max-width: 46em; }
@media (max-width: 640px) {
  .cta-block { flex-direction: column; align-items: flex-start; gap: 12px; }
}

.btn--ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}
.btn--ghost:hover { background: var(--brand-soft); color: var(--brand-ink); }

.note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

.empty {
  padding: 26px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ---------------------------------------------------------------- 页脚 */

.foot {
  border-top: 1px solid var(--line);
  background: var(--surface);
  margin-top: 40px;
  padding: 22px 0;
  font-size: 12.5px;
  color: var(--muted);
}
.foot__in { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.foot a { color: var(--ink-2); }

.legal {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 22px;
}
.legal b { color: var(--ink-2); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* 移动端：顶栏导航换行、栅格单列 */
@media (max-width: 860px) {
  .topbar__in { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px; }
  .nav { margin-left: 0; width: 100%; overflow-x: auto; }
  .lead__headline { font-size: 21px; }
}

/* ============================================================================
   媒体站版面：顶栏色带 / 预览条 / 主视觉网格 / 分区横幅 / 比赛卡
   ---------------------------------------------------------------------------
   上一版只有白底 + 细灰线 + 表格，那是文档的视觉语法。参考站是图片驱动的
   媒体站：深色顶栏、彩色预览条、大图配渐变遮罩白字、整幅色带分区、三列卡片。
   这里把缺的结构补齐。

   图片来源：数据提供方自带的队徽（与比分同源），不是付费图库照片。所以画面
   不是新闻式的现场图，而是对阵双方队徽的对峙构图——这是拿不到图库时唯一
   诚实又有视觉重量的解法。
   ========================================================================== */

:root {
  --hbar: #0d1712;
  --band: #7a3a06;
  --band-2: #8f4508;
}

/* ---------------------------------------------------------------- 深色顶栏 */

.hbar { background: var(--hbar); }
.hbar__in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 62px;
}
.hbar .brand { color: #fff; }
.hbar .brand:hover { color: #fff; }
.hbar .brand small { color: rgba(255, 255, 255, .55); }
.hbar .nav a { color: rgba(255, 255, 255, .78); }
.hbar .nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hbar .nav a[aria-current="page"] { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------------------------------------------------------------- 预览条 */

.strip { background: var(--brand); overflow: hidden; }
.strip__in { display: flex; overflow-x: auto; scrollbar-width: none; }
.strip__in::-webkit-scrollbar { display: none; }
.strip a {
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 13px;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, .28);
  flex: none;
}
.strip a:hover { background: rgba(255, 255, 255, .14); text-decoration: none; }
.strip a:last-child { border-right: 0; margin-left: auto; }

/* ---------------------------------------------------------------- 主视觉网格 */

.hgrid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 8px;
  margin: 16px 0 0;
}
.hgrid__side { display: grid; gap: 8px; grid-template-rows: 1fr 1fr; min-height: 0; }
.hgrid__row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* 一张对阵卡：深色底 + 双方队徽 + 底部渐变遮罩上的白色标题 */
.teaser {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1a2a20 0%, #0e1713 60%, #161009 100%);
  min-height: 178px;
  isolation: isolate;
}
.teaser:hover { text-decoration: none; }
.teaser__art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 12px 46px;
}
.teaser__art img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .55));
}
.teaser__art .vs {
  color: rgba(255, 255, 255, .38);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}
.teaser__badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  padding: 2px 7px;
  border-radius: 3px;
}
.teaser__ov {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 12px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, .55) 55%, transparent);
  color: #fff;
}
.teaser__ov h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.32;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.teaser__ov .meta {
  margin-top: 3px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .72);
}
.teaser--big { min-height: 364px; }
.teaser--big .teaser__art { padding-bottom: 86px; gap: 26px; }
.teaser--big .teaser__art img { width: 116px; height: 116px; }
.teaser--big .teaser__ov { padding: 70px 16px 14px; }
.teaser--big .teaser__ov h2 { font-size: 23px; }
.teaser--side { min-height: 178px; }
.teaser--side .teaser__art img { width: 58px; height: 58px; }

/* 无队徽时的首字母徽章，保证网格不塌 */
.initial {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .8);
  font-size: 20px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}
.teaser--big .initial { width: 116px; height: 116px; font-size: 30px; }
.teaser--side .initial { width: 58px; height: 58px; font-size: 17px; }

/* ---------------------------------------------------------------- 分区横幅 */

.band { background: var(--band); margin-top: 26px; }
.band--alt { background: var(--hbar); }
.band__in {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
}
.band h2 {
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.band .more { margin-left: auto; color: rgba(255, 255, 255, .8); font-size: 12.5px; font-weight: 600; }
.band .more:hover { color: #fff; }

/* ---------------------------------------------------------------- 比赛卡 */

.mcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}
.mcard {
  background: #fff;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  font-size: 13px;
}
.mcard__t { display: flex; align-items: center; gap: 6px; min-width: 0; }
.mcard__t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mcard__t--r { flex-direction: row-reverse; text-align: right; }
.mcard__t img { width: 19px; height: 19px; object-fit: contain; flex: none; }
.mcard__mid { text-align: center; white-space: nowrap; }
.mcard__sc { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 13.5px; }
.mcard__ft {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .05em;
  background: var(--ink);
  color: #fff;
  padding: 1px 5px;
  border-radius: 2px;
  margin-top: 2px;
}
.mcard__time { font-size: 12.5px; color: var(--brand); font-weight: 800; }
.mcard__lg {
  grid-column: 1 / -1;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1px;
}
.mcard:hover { background: var(--surface); }

/* ---------------------------------------------------------------- 响应式 */

@media (max-width: 900px) {
  .hgrid { grid-template-columns: 1fr; }
  .hgrid__side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .teaser--big { min-height: 260px; }
  .teaser--big .teaser__art img { width: 84px; height: 84px; }
  .teaser--big .teaser__ov h2 { font-size: 19px; }
  .hgrid__row { grid-template-columns: 1fr 1fr; }
  .mcards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .hbar__in { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 8px; }
  .hbar .nav { width: 100%; overflow-x: auto; }
  .hgrid__side { grid-template-columns: 1fr; }
  .hgrid__row { grid-template-columns: 1fr; }
  .mcards { grid-template-columns: 1fr; }
  .teaser--big { min-height: 220px; }
  .band h2 { font-size: 16px; }
}

/* 比赛页页头的队徽：没有图时页头只剩两行字，视觉重量为零 */
.matchhead__side { display: grid; justify-items: center; gap: 7px; }
.mh-crest { width: 62px; height: 62px; object-fit: contain; }
.mh-name { font-weight: 800; font-size: 15px; line-height: 1.25; }
.matchhead__side .initial { width: 62px; height: 62px; font-size: 20px; }
.matchhead__body { padding: 16px 14px 18px; }

/* ---------------------------------------------------------------- 证照 */

.certs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 14px 0 10px;
}
.certs figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.certs img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 460px;
  object-fit: contain;
  background: #fff;
}
.certs figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  text-align: center;
}
