/* C34: Original Haeji typography is authoritative. No universal font override.
   Preserve explicit player/hero labels and user-approved English titles only. */
:is(.haeji-ui[data-app-ready], html[data-haeji-typography]) {
  --font: 'LINE Seed KR', -apple-system, BlinkMacSystemFont, 'Noto Sans CJK KR', 'Apple SD Gothic Neo', sans-serif;
  --display: Arial, Helvetica, 'Noto Sans CJK KR', sans-serif;
  --potg-game-font: Arial, Helvetica, 'Noto Sans CJK KR', sans-serif;
  font-family: var(--font);
}
:is(.haeji-ui[data-app-ready], html[data-haeji-typography]) :is([data-player-name], [data-hero-name], .pm-label, .pm-initial) {
  font-family: 'Koverwatch', 'LINE Seed KR', sans-serif !important;
}
:is(.haeji-ui[data-app-ready], html[data-haeji-typography]) :is([data-player-name], .pm-label, .pm-initial) {
  font-style: italic;
  font-synthesis: style;
}

:is(.haeji-ui[data-app-ready], html[data-haeji-typography]) .potg-wordmark,
:is(.haeji-ui[data-app-ready], html[data-haeji-typography]) .potg-wordmark * {
  font-family: 'Google Sans Flex', Arial, sans-serif !important;
  font-weight: 800 !important;
  font-style: normal;
  font-optical-sizing: auto;
}
:is(.haeji-ui[data-app-ready], html[data-haeji-typography]) .potg-wordmark {
  display: inline-flex;
  align-items: center;
  letter-spacing: -.055em;
  line-height: 1;
}
:is(.haeji-ui[data-app-ready], html[data-haeji-typography]) #home .mast-title h1,
:is(.haeji-ui[data-app-ready], html[data-haeji-typography]) #home .mast-title h1 * {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 950 !important;
  font-synthesis: weight;
}
:is(.haeji-ui[data-app-ready], html[data-haeji-typography]) .topbar .potg-wordmark-g,
html[data-haeji-typography] #potg-onboarding .ob-brand .potg-wordmark-g {
  width: .79em;
  height: .79em;
  vertical-align: baseline;
  transform: translateY(-.005em);
}

/* Original match mast uses Arial 900; English titles follow the same user-approved face. */
:is(.haeji-ui[data-app-ready], html[data-haeji-typography]) :is(.ml-mast h1,#players .page-title h1,#hall-live .hall-title h1,#cup .page-title h1),
:is(.haeji-ui[data-app-ready], html[data-haeji-typography]) :is(.ml-mast h1,#players .page-title h1,#hall-live .hall-title h1,#cup .page-title h1) * {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 900 !important;
}

/* C34: non-name display text uses Arial at its original element weight. */
:is(.haeji-ui[data-app-ready], html[data-haeji-typography]) :is(h1,h2,h3,h4,h5,h6):not([data-player-name]):not([data-hero-name]) {
  font-family: var(--display);
}
:is(.haeji-ui[data-app-ready], html[data-haeji-typography]) :is([data-player-name],[data-hero-name],.pm-label,.pm-initial) {
  font-family: 'Koverwatch', 'LINE Seed KR', sans-serif !important;
}

/* Shared notice category text colors, including home and detail. */
.potg-news-category{font-weight:700;color:#c9d9ee!important}
.potg-news-category[data-category="공지"]{color:#b6d8ff!important}
.potg-news-category[data-category="업데이트"]{color:#f6c391!important}
.potg-news-category[data-category="TIP"]{color:#9fe6c8!important}
.potg-news-category[data-category="소식"],.potg-news-category[data-category="패치"]{color:#d2b7ff!important}

.potg-news-category[data-category="POTG LAB"]{color:#ffb66f!important}
