/* 앱 공통 규약: 이 앱은 다크 전용 디자인이다.
   사이트가 라이트여도 다크 팔레트를 고정하고, 라이트 분기는 두지 않는다. */
:root[data-nb-theme="dark"],
:root[data-nb-theme="light"] {
  color-scheme: dark;
}

/* 사이트 헤더/푸터가 iframe 밖에 있으므로 앱은 iframe 뷰포트 기준 100vh 를 쓴다. */
html,
body,
#root {
  height: 100%;
}

/* 로컬 폰트 — 외부 CDN 의존 없음.
   이 파일은 public/ 에서 dist 루트로 그대로 복사되므로 ./fonts/ 는
   dist/fonts/ 를 가리킨다. */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/orbitron-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/orbitron-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans KR';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/noto-sans-kr-korean-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+AC00-D7AF;
}

@font-face {
  font-family: 'Noto Sans KR';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/noto-sans-kr-korean-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+AC00-D7AF;
}
