/* ============================================================
   联赛赛季数据（football 模块）样式
   由 _sport_head.php 按模块名自动加载：skin/static/css/football.css
   本文件自带全部所需控件样式 —— 模块之间不共享 CSS 文件，
   这样任何一个工具被删掉都不会影响别的工具（见 Mtool/NAMING.md 第六节）。
   ============================================================ */

/* ---------- 概览卡 ---------- */
.lg-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:14px 0 18px}
.lg-stat{background:#fafbfc;border:1px solid #ebeef5;border-radius:10px;padding:12px 14px}
.lg-stat b{display:block;font-size:21px;line-height:1.3;color:#303133;font-weight:700}
.lg-stat span{display:block;margin-top:2px;font-size:12px;color:#909399}

/* ---------- 国旗（由中性共享表 Mtool/flag_iso.php 输出） ---------- */
.fl{float:none;display:inline-block;width:20px;height:15px;object-fit:cover;border-radius:2px;
    border:1px solid #e4e7ed;background:#f5f7fa;vertical-align:-2px;margin-right:5px}
.fl-lg{width:28px;height:21px;border-radius:3px;vertical-align:-4px;margin-right:7px}
h1 .fl,h1 .fl-lg{vertical-align:-3px}
.lg-stat b .fl{width:16px;height:12px;margin-right:4px;vertical-align:-1px}
.lg-stat small{display:block;margin-top:3px;font-size:11px;color:#c0c4cc}

/* ---------- 标签云（联赛、夺冠排行） ---------- */
.lg-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.lg-chip{display:inline-block;padding:5px 13px;border-radius:16px;background:#f4f6f9;color:#4a5568;
  font-size:13px;text-decoration:none;border:1px solid #e8ecf1;transition:all .15s}
.lg-chip:hover{background:#eaf2ff;border-color:#c9dcf7;color:#2b6cb0}
.lg-chip i{font-style:normal;font-size:11px;opacity:.7;margin-left:4px}

/* ---------- 按国家分组 ---------- */
.lg-group{margin:0 0 14px}
.lg-group-h{font-size:13px;font-weight:600;color:#606266;margin:0 0 8px;
  padding-left:8px;border-left:3px solid #c9dcf7}

/* ---------- 表格 ---------- */
.lg-scroll{overflow-x:auto;border:1px solid #ebeef5;border-radius:10px}
.lg-table{width:100%;border-collapse:collapse;font-size:13px;min-width:600px}
.lg-table th,.lg-table td{border-bottom:1px solid #f2f4f7;padding:8px 10px;text-align:left}
.lg-table thead th{background:#f7f8fa;color:#606266;font-weight:600;white-space:nowrap;position:sticky;top:0}
.lg-table tbody tr:hover{background:#fafcff}
.lg-table td.mid,.lg-table th.mid{text-align:center}
.lg-table a{color:#2b6cb0;text-decoration:none}
.lg-table a:hover{text-decoration:underline}

/* ---------- 积分榜（欧战区/降级区着色） ---------- */
.lg-stand td{font-variant-numeric:tabular-nums}
.lg-stand tr.lg-top td{background:#f4faf4}
.lg-stand tr.lg-top:hover td{background:#eef7ee}
.lg-stand tr.lg-bottom td{background:#fdf6f5}
.lg-stand tr.lg-bottom:hover td{background:#fbeeec}

/* ---------- 轮次分块 ---------- */
.lg-round{margin:0 0 16px}
.lg-round-h{font-size:13px;font-weight:600;color:#1f2937;margin:0 0 6px;
  padding-left:8px;border-left:3px solid #4a90d9}

/* ---------- 说明块 ---------- */
.lg-note{background:#fafbfc;border-left:3px solid #d9e5f5;border-radius:0 8px 8px 0;
  padding:10px 12px;font-size:12px;color:#606266;line-height:1.8}
.lg-note code{background:#f0f2f5;border-radius:4px;padding:1px 5px;font-size:12px}
.lg-h2{margin:22px 0 10px;font-size:16px;font-weight:600;color:#1f2937;
  border-left:3px solid #4a90d9;padding-left:8px}
.lg-pager{text-align:center;padding:18px 0;font-size:13px}
.lg-pager a,.lg-pager strong{margin:0 5px}
.lg-pager strong{color:#e6412d}

@media (max-width:720px){
  .lg-table{font-size:12px;min-width:520px}
  .lg-table th,.lg-table td{padding:6px 7px}
  .lg-stat b{font-size:18px}
}


/* ============================================================
   世界杯历史（football 模块下的 worldcup 工具）
   ============================================================ */
/* ---------- 单场比赛页（league-m-{id}）---------- */
.lm-crest{display:inline-block;vertical-align:-4px;object-fit:contain;margin-right:6px}
.lm-crest-lg{display:block;margin:0 auto 8px}
.lm-card{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;
  background:#fff;border:1px solid #ebeef5;border-radius:12px;padding:18px 16px;margin:4px 0 12px}
.lm-side{text-align:center}
.lm-side a{display:block;font-size:16px;font-weight:700;color:#1f2937;text-decoration:none;
  line-height:1.4;word-break:break-word}
.lm-side a:hover{color:#2b6cb0}
.lm-side small{display:block;margin-top:2px;font-size:11px;color:#b0b6c0}
.lm-mid{text-align:center;min-width:110px}
.lm-score{font-size:32px;font-weight:800;color:#1f2937;line-height:1.1;
  font-variant-numeric:tabular-nums;letter-spacing:1px}
.lm-score.lm-vs{font-size:22px;color:#b0b6c0;font-weight:600}
.lm-sub{margin-top:3px;font-size:11px;color:#8a8f99}
.lm-meta{display:flex;flex-wrap:wrap;gap:8px 20px;background:#fafbfc;border:1px solid #ebeef5;
  border-radius:10px;padding:11px 15px;margin:0 0 16px;font-size:13px;color:#4a5163}
.lm-meta b{display:inline-block;margin-right:6px;font-weight:600;color:#909399}
.lm-meta a{color:#2b6cb0;text-decoration:none}
.lm-meta a:hover{text-decoration:underline}
.lm-list{border:1px solid #ebeef5;border-radius:10px;overflow:hidden;margin:0 0 16px}
.lm-row{display:grid;grid-template-columns:1fr 66px 1fr;gap:8px;align-items:center;
  padding:9px 14px;border-bottom:1px solid #f4f6f8;text-decoration:none;font-size:13px;color:#4a5163}
.lm-row:last-child{border-bottom:0}
.lm-row:hover{background:#fafcff}
.lm-row-t{display:flex;align-items:center;gap:2px;min-width:0}
.lm-row-t2{justify-content:flex-end;text-align:right}
.lm-row-s{text-align:center;font-weight:700;color:#1f2937;font-variant-numeric:tabular-nums}
.lm-row-d{position:absolute;font-size:10px;color:#c0c4cc}
@media(max-width:560px){
  .lm-card{grid-template-columns:1fr auto 1fr;gap:8px;padding:14px 10px}
  .lm-score{font-size:26px}
  .lm-side a{font-size:14px}
}


/* 冠军/亚军/主办 徽标条 */
.wc-badges{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.wc-badge{display:inline-block;padding:6px 14px;border-radius:16px;background:#fff7e6;
  border:1px solid #f0d9a8;color:#8a6d1f;font-size:13px;font-weight:600}
.wc-badge.is-plain{background:#f4f6f9;border-color:#e8ecf1;color:#4a5568;font-weight:400}

/* 射手/场地这类小字 */
.wc-small{font-size:11px;color:#8a8f99;line-height:1.7}
.wc-small .wc-venue{color:#c0c4cc}

/* 胜负徽标 */
.wc-w{color:#529b2e;font-weight:600}
.wc-d{color:#a8abb2;font-weight:600}
.wc-l{color:#c45656;font-weight:600}

/* 届次页的比赛表：留白更紧一点，一屏能多看几场 */
.wc-matches .lg-table th,.wc-matches .lg-table td{padding:7px 9px}

@media (max-width:720px){
  .wc-badge{font-size:12px;padding:5px 11px}
}
