/* V19 — V18 incremental shelf-only typography changes.
   User installed 华文仿宋 on iPhone. Request local font by its Apple/PostScript
   family name STFangsong, with localized alias and safe serif fallback.
   This does not embed or distribute fonts and cannot guarantee iOS Safari
   grants website access to user-installed font profiles. */

/* Scope to Chinese labels. Existing English brand and My Magic Library
   continue with their approved English serif / handwritten fonts. */
#studentLibrary[data-view="shelf"] .sl-brand.mw-scene-brand > b,
#studentLibrary[data-view="shelf"] .stage-shelf-title h2,
#studentLibrary[data-view="shelf"] .stage-book-caption b,
#studentLibrary[data-view="shelf"] .stage-tarot > span,
#studentLibrary[data-view="shelf"] .sl-nav button span {
  font-family: "STFangsong", "华文仿宋", "FangSong", "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-synthesis: none !important;
  -webkit-text-stroke: 0 !important;
}

/* V18 brand responsive range clamp(21px,5.55vw,25px): subtract 2 CSS px. */
#studentLibrary[data-view="shelf"] .sl-brand.mw-scene-brand > b {
  font-size: clamp(19px, calc(5.55vw - 2px), 23px) !important;
}

/* V18 plaque responsive range clamp(18px,5vw-2px,21px): subtract 2px.
   Keep its whole bilingual group offset (+8px from V17), and preserve
   English subtitle font, all ornament positions, shelf, navigation. */
#studentLibrary[data-view="shelf"] .stage-shelf-title h2 {
  font-size: clamp(16px, calc(5vw - 4px), 19px) !important;
}
