@font-face {
    font-family: "NEXON Lv2 Gothic";
    src: url("/fonts/NEXON%20Lv2%20Gothic%20OTF%20Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "NEXON Lv2 Gothic";
    src: url("/fonts/NEXON%20Lv2%20Gothic%20OTF.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "NEXON Lv2 Gothic";
    src: url("/fonts/NEXON%20Lv2%20Gothic%20OTF%20Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "NEXON Lv2 Gothic";
    src: url("/fonts/NEXON%20Lv2%20Gothic%20OTF%20Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/*
 * 기본 글꼴만 넥슨 Lv2 고딕으로 지정합니다.
 * body * 전체에 강제 적용하면 아이콘 폰트가 깨져서 □로 보입니다.
 */
html,
body {
    font-family: "NEXON Lv2 Gothic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

input,
button,
textarea,
select,
option,
label,
table,
th,
td,
p,
a,
h1,
h2,
h3,
h4,
h5,
h6,
.ck-content,
.ProseMirror {
    font-family: "NEXON Lv2 Gothic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/*
 * PrimeVue / PrimeIcons 복구.
 * G7 관리자/사용자 UI 아이콘이 pi 클래스를 쓰는 경우가 많습니다.
 */
.pi,
[class^="pi-"],
[class*=" pi-"] {
    font-family: "primeicons" !important;
    font-style: normal;
    font-weight: normal;
    speak: none;
}

/*
 * FontAwesome 계열 보호
 */
.fa,
.fas,
.far,
.fab,
.fal,
.fad,
.fa-solid,
.fa-regular,
.fa-brands,
[class^="fa-"],
[class*=" fa-"] {
    font-family: var(--fa-style-family, "Font Awesome 6 Free") !important;
}

/*
 * Material Icons 계열 보호
 */
.material-icons,
.material-icons-outlined,
.material-icons-round,
.material-icons-sharp,
.material-symbols-outlined,
.material-symbols-rounded,
.material-symbols-sharp {
    font-family: "Material Icons", "Material Symbols Outlined" !important;
}

/*
 * Bootstrap Icons / Remix Icon 보호
 */
.bi,
[class^="bi-"],
[class*=" bi-"] {
    font-family: "bootstrap-icons" !important;
}

.ri,
[class^="ri-"],
[class*=" ri-"] {
    font-family: "remixicon" !important;
}
