/* 小国旗统一尺寸与对齐：替换系统 emoji 旗帜
   优先使用本地 flag-icons 库（.fi）——无额外 CDN 请求，跨平台稳定；
   同时保留 img.country-flag 兜底规则（兼容可能存在的 img 写法）。 */

/* ---- flag-icons 本地 SVG 国旗 ---- */
.fi.country-flag {
  display: inline-block;
  font-size: 16px;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

/* 会刊/全球展会 卡片头部国旗：与全球展会保持完全一致 */
.expo-card-flag .fi.country-flag {
  font-size: 16px;
  box-shadow: none;
}

/* 卡片 meta 行内国旗 */
.expo-meta-row .fi.country-flag {
  font-size: 14px;
}

/* 表格单元格内国旗 */
.name-cell .flag .fi.country-flag {
  font-size: 14px;
  margin-right: 6px;
}

/* 每日推荐卡片头部小国旗 */
.daily-flag .fi.country-flag {
  font-size: 15px;
  box-shadow: none;
}

/* 每日推荐底部国家标签（空间更小） */
.daily-country .fi.country-flag {
  font-size: 13px;
  box-shadow: none;
}

/* 筛选 chip 内 */
.filter-chip .fi.country-flag {
  font-size: 14px;
  margin-right: 4px;
}

/* 展会详情页头 */
.md-flag .fi.country-flag {
  font-size: 28px;
}

/* 详情页 tag 行 */
.md-tag .fi.country-flag {
  font-size: 14px;
}

/* ---- img 兜底（外部 CDN 写法，如有使用） ---- */
img.country-flag {
  display: inline-block;
  width: 24px;
  height: 18px;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
  object-fit: cover;
  margin-right: 2px;
}

.expo-card-flag img.country-flag {
  width: 24px;
  height: 18px;
  margin-right: 0;
}

.expo-meta-row img.country-flag {
  margin-right: 4px;
}

.name-cell .flag img.country-flag {
  width: 20px;
  height: 15px;
  margin-right: 6px;
}

.filter-chip img.country-flag {
  width: 18px;
  height: 13px;
  margin-right: 4px;
}

.daily-flag img.country-flag {
  width: 22px;
  height: 16px;
  margin-right: 0;
  box-shadow: none;
}

.daily-country img.country-flag {
  width: 18px;
  height: 13px;
  margin-right: 4px;
  box-shadow: none;
}

.md-flag img.country-flag {
  width: 32px;
  height: 24px;
  margin-right: 0;
}

.md-tag img.country-flag {
  width: 18px;
  height: 13px;
  margin-right: 4px;
}
