/* STEP3067 — FPS JAPAN desktop-wide semantic typography.
 * Public + Editor use the same canonical file. Scope to approved Theme components.
 * At <=1050px (including mobile) this stylesheet changes no font size.
 * Article HTML with explicit colors, bespoke widget controls and compact numeric grids
 * are deliberately excluded from broad overrides.
 */
@media (min-width:1051px) {
  :is(.fpsj-theme, .editor-styles-wrapper) {
    --fpsj-type-section:20px;
    --fpsj-type-card:14px;
    --fpsj-type-card-featured:15px;
    --fpsj-type-body:16px;
    --fpsj-type-control:13px;
    --fpsj-type-meta:12px;
    --fpsj-type-label:11px;
    --fpsj-type-muted-ink:#a8bfd9;
  }

  /* Player / Settings / Devices / Game Hub: semantic metadata and card text.
   * Leave fixed-width game-code glyphs, chip emblems and decorative counters alone. */
  :is(.fpsj-theme, .editor-styles-wrapper) :is(
    .fpsj-player-card__name small,
    .fpsj-player-card__footer small,
    .fpsj-settings-card__meta,
    .fpsj-settings-card__body > small,
    .fpsj-device-card__body > small,
    .fpsj-device-card__footer small,
    .fpsj-device-article-card__body > small,
    .fpsj-device-article-card__meta,
    .fpsj-game-article-card__body > small,
    .fpsj-game-article-card__meta,
    .fpsj-game-hub__route-grid em,
    .fpsj-game-landing-hero__meta small,
    .fpsj-player-hub__related-grid small,
    .fpsj-settings-hub__related-grid small,
    .fpsj-device-hub__related-grid small,
    .fpsj-game-hub__guide-kind,
    .fpsj-game-article-card__kind
  ) {
    font-size:var(--fpsj-type-meta);
    line-height:1.45;
  }
  :is(.fpsj-theme, .editor-styles-wrapper) :is(
    .fpsj-player-card__name small,
    .fpsj-player-card__footer small,
    .fpsj-settings-card__meta,
    .fpsj-device-card__footer small,
    .fpsj-device-article-card__meta,
    .fpsj-game-article-card__meta,
    .fpsj-game-hub__route-grid em,
    .fpsj-game-landing-hero__meta small
  ) {color:var(--fpsj-type-muted-ink);}

  :is(.fpsj-theme, .editor-styles-wrapper) :is(
    .fpsj-settings-card__body > strong,
    .fpsj-device-card__body > strong,
    .fpsj-device-article-card__body > strong,
    .fpsj-game-article-card__body > strong,
    .fpsj-settings-hub__topic-grid strong,
    .fpsj-device-hub__category-grid strong
  ) {
    font-size:var(--fpsj-type-card);
    line-height:1.45;
  }

  /* Breadcrumb-like filters: short text is navigation, not decorative microcopy. */
  :is(.fpsj-theme, .editor-styles-wrapper) :is(
    .fpsj-player-hub__game-filter span,
    .fpsj-settings-hub__game-filter span,
    .fpsj-device-hub__category-filter span,
    .fpsj-game-hub__featured-note,
    .fpsj-player-hub__controls-head > small,
    .fpsj-player-hub__section-head > small,
    .fpsj-settings-hub__controls-head > small,
    .fpsj-settings-hub__section-head > small,
    .fpsj-device-hub__controls-head > small,
    .fpsj-device-hub__section-head > small,
    .fpsj-game-hub__section-head > small,
    .fpsj-game-hub__section-head > a
  ) {font-size:var(--fpsj-type-meta);line-height:1.45;}

  :is(.fpsj-theme, .editor-styles-wrapper) :is(
    .fpsj-player-hub__controls-head span,
    .fpsj-player-hub__section-head span,
    .fpsj-settings-hub__controls-head span,
    .fpsj-settings-hub__section-head span,
    .fpsj-device-hub__controls-head span,
    .fpsj-device-hub__section-head span,
    .fpsj-game-hub__section-head span,
    .fpsj-settings-hub__topic-grid small,
    .fpsj-device-hub__category-grid small,
    .fpsj-game-hub__route-grid small,
    .fpsj-game-hub__setting-grid small,
    .fpsj-game-hub__tool-grid small,
    .fpsj-game-landing-hero__eyebrow
  ) {font-size:var(--fpsj-type-label);line-height:1.45;}
  :is(.fpsj-theme, .editor-styles-wrapper) :is(
    .fpsj-player-hub__search button,
    .fpsj-player-hub__clear,
    .fpsj-settings-hub__search button,
    .fpsj-device-hub__search button
  ) {font-size:var(--fpsj-type-control);}

  /* Player detail: do not change coordinates/preview grids for crosshair.
   * Increase actual names, explanatory copy and navigation labels instead. */
  :is(.fpsj-theme, .editor-styles-wrapper) :is(
    .fpsj-player-overview__chips span,
    .fpsj-player-stat span,
    .fpsj-player-overview__verified,
    .fpsj-player-section__head > small,
    .fpsj-player-device-row__category,
    .fpsj-player-device-row__details,
    .fpsj-player-timeline__item small,
    .fpsj-player-achievements small,
    .fpsj-player-related-list small,
    .fpsj-player-section--data-info dt,
    .fpsj-player-stream-card__head small
  ) {font-size:var(--fpsj-type-meta);line-height:1.45;}
  :is(.fpsj-theme, .editor-styles-wrapper) :is(
    .fpsj-player-data-grid__label,
    .fpsj-player-data-grid__value,
    .fpsj-player-device-row__actions > a,
    .fpsj-player-device-row > a,
    .fpsj-player-device-row__pending,
    .fpsj-player-social-list > a,
    .fpsj-player-social-list > span,
    .fpsj-player-section--data-info dd,
    .fpsj-player-timeline__item p
  ) {font-size:var(--fpsj-type-control);line-height:1.5;}
  :is(.fpsj-theme, .editor-styles-wrapper) .fpsj-player-page__nav a {
    font-size:var(--fpsj-type-control);
    line-height:1.4;
    overflow-wrap:anywhere;
  }
  :is(.fpsj-theme, .editor-styles-wrapper) :is(
    .fpsj-player-stat span,
    .fpsj-player-device-row__details,
    .fpsj-player-timeline__item small,
    .fpsj-player-achievements small,
    .fpsj-player-related-list small
  ) {color:var(--fpsj-type-muted-ink);}

  /* Comparison pages: keep dense numeric columns and SVG crosshair diagrams intact.
   * These are surrounding controls, status and readability hints only. */
  :is(.fpsj-theme, .editor-styles-wrapper) :is(
    .fpsj-data-grid__head > div > span,
    .fpsj-data-grid__head > small,
    .fpsj-data-grid__status,
    .fpsj-data-grid__hint,
    .fpsj-data-grid__columns-panel-head span,
    .fpsj-data-grid__column-item small,
    .fpsj-data-grid__readiness-body > p,
    .fpsj-data-grid__readiness-body > small
  ) {font-size:var(--fpsj-type-meta);line-height:1.5;}
  :is(.fpsj-theme, .editor-styles-wrapper) :is(
    .fpsj-data-grid__purchase-link,
    .fpsj-data-grid__columns-actions button
  ) {font-size:var(--fpsj-type-control);}

  /* Generic posts and article cards; saved Custom HTML colors are left intact. */
  :is(.fpsj-theme, .editor-styles-wrapper) :is(
    .fpsj-post-meta,
    .fpsj-post-card__meta,
    .fpsj-breadcrumbs
  ) {font-size:var(--fpsj-type-meta);line-height:1.5;}
  :is(.fpsj-theme, .editor-styles-wrapper) .fpsj-post-card .wp-block-post-title {
    font-size:var(--fpsj-type-card-featured);
    line-height:1.5;
  }
}
