/* FontAwesome 5 到 6 兼容层 */
/* 让 fas/far/fab 类名在 FontAwesome 6 中正常工作 */

/* Solid 图标兼容 */
.fas {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* Regular 图标兼容 */
.far {
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
}

/* Brands 图标兼容 */
.fab {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
}

/* 确保字体文件正确加载 */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("webfonts/fa-regular-400.woff2") format("woff2");
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("webfonts/fa-brands-400.woff2") format("woff2");
}
