/* Local typography trial for the nine secondary/tertiary home panels only.
   Keep the existing type scale, layout, colors, and icon-font treatment intact. */
@font-face {
  font-family: 'SecondaryPageSong';
  src: url('https://sgcdn.gxqlove.top/zhimajiangjun/static-20261103-9e2f00eadfcd/assets/fonts/campaign-song-medium-v5.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

#app :is(
  #home-profile-panel,
  #settings-panel,
  #official-announcement-panel,
  #home-review-panel,
  #leaderboard-panel,
  #daily-reward-panel,
  #stamina-panel,
  #league-hall-panel,
  #rank-detail-panel
) {
  font-family: 'SecondaryPageSong', 'Songti SC', 'Noto Serif CJK SC', serif !important;
  font-synthesis: none;
}

#app :is(
  #home-profile-panel,
  #settings-panel,
  #official-announcement-panel,
  #home-review-panel,
  #leaderboard-panel,
  #daily-reward-panel,
  #stamina-panel,
  #league-hall-panel,
  #rank-detail-panel
) :is(h1, h2, h3, h4, p, span, small, b, strong, em, label, li, dt, dd, a, button, input, output, summary):not(
  .resource-icon,
  .league-icon,
  [aria-hidden='true'],
  [data-icon-only='true']
) {
  font-family: 'SecondaryPageSong', 'Songti SC', 'Noto Serif CJK SC', serif !important;
  font-synthesis: none;
}

/* Keep icon-only controls on their native/system glyph face. */
#app #league-hall-panel #league-close,
#app #settings-panel #close-settings,
#app #daily-reward-panel .daily-reward-close,
#app #stamina-panel .daily-reward-close {
  font-family: system-ui, sans-serif !important;
}
