/* 
text-autospace.css - 增强版（修复表格错位）
项目地址：https://github.com/mastermay/text-autospace.js
*/

/* 基础规则：在中英文/数字间插入 0.5em 空白 */
html.han-la hanla:after {
	content: " ";
	display: inline;
	font-family: Arial, sans-serif;
	font-size: 0.89em;
	letter-spacing: 0.05em;
}

/* 排除区域：代码块、键盘输入、示例等不添加空格 */
html.han-la code hanla,
html.han-la pre hanla,
html.han-la kbd hanla,
html.han-la samp hanla,
html.han-la var hanla {
	display: none !important;
}

/* 排除区域：列表直接子元素避免布局错乱 */
html.han-la ol > hanla,
html.han-la ul > hanla {
	display: none !important;
}

/* 🔥 新增：彻底屏蔽表格内的 hanla 渲染（修复错位核心） */
html.han-la table hanla,
html.han-la thead hanla,
html.han-la tbody hanla,
html.han-la tr hanla,
html.han-la th hanla,
html.han-la td hanla {
	display: none !important;
}

/* 双重保险：屏蔽伪元素生成的空白符 */
html.han-la table hanla::after,
html.han-la th hanla::after,
html.han-la td hanla::after {
	content: none !important;
	display: none !important;
}

/* 可选优化：表格内手动添加窄空格（视觉微调，非必需） */
/*
html.han-la th,
html.han-la td {
	letter-spacing: 0.02em;
}
*/