/* Pretendard 폰트 (텍스트용) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* Inter 폰트 (숫자용) - Google Fonts에서 로드 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Inter 폰트를 숫자에만 적용하기 위한 @font-face 정의 */
@font-face {
    font-family: 'Inter Numbers';
    src: url('https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2') format('woff2');
    unicode-range: U+0030-0039; /* 0-9 숫자 */
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* 기본 폰트 설정 - 숫자는 Inter Numbers, 텍스트는 Pretendard */
body {
    font-family: 'Inter Numbers', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

/* 숫자 전용 클래스 (필요시 명시적으로 사용) */
.font-number {
    font-family: 'Inter', 'Pretendard', sans-serif;
    font-variant-numeric: tabular-nums;
}

/* font-mono 클래스를 사용하는 요소는 기존 monospace 폰트 유지 (추천코드 등) */
.font-mono {
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace !important;
}

/* 뱃지(직급 표기)는 Pretendard 폰트 사용 */
#user-rank-text,
#user-rank,
[id*="rank-text"],
[class*="rank-badge"],
[class*="rank-text"] {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif !important;
}
