/* 공용 폰트 정책: 전 페이지에서 동일한 토큰/렌더링 기준 사용 */
/*
Copyright (c) 2021 Kil Hyung-jin, with Reserved Font Name Pretendard.
https://github.com/orioncactus/pretendard
*/
@font-face {
  font-family: 'Pretendard Variable';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('https://cdn.imgobot.com/common/font/PretendardVariable.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'Pretendard Fallback';
  src: local('Apple SD Gothic Neo'), local('Malgun Gothic'), local('sans-serif');
  size-adjust: 100%;
  ascent-override: 105%;
  descent-override: 20%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('https://cdn.imgobot.com/common/font/MaterialSymbolsOutlined.20260106.woff2') format('woff2');
}

:root {
  --font-family-sans: 'Pretendard Variable', 'Pretendard Fallback', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
}

html,
body {
  font-family: var(--font-family-sans);
  font-weight: var(--font-weight-regular);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.pretendard-font {
  font-family: var(--font-family-sans) !important;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-variant-ligatures: contextual;
  text-rendering: optimizeLegibility;
  /* CLS 방지: 아이콘 영역 고정 */
  width: 1em;
  height: 1em;
  vertical-align: middle;
}
