/**
 * Font Awesome — absolute paths + explicit rules for iOS WKWebView / Capacitor.
 * Relative url(webfonts/...) can fail in some WebView contexts.
 */

@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("/static/vendor/fontawesome/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("/static/vendor/fontawesome/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("/static/vendor/fontawesome/webfonts/fa-brands-400.woff2") format("woff2");
}

.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
i[class*="fa-"] {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.far,
.fa-regular {
    font-weight: 400 !important;
}

.fab,
.fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.bottom-nav-item i,
.app-header-btn i,
.home-tile-icon i,
.header-nav-link i,
.control-btn i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
