/* V20: only shelf typography corrections based on V19. */
/* V18 wrongly translated the entire bilingual plaque 8px. Reset the shared
   transform so title and subtitle are independently adjustable. The small
   4px individual offset compensates for the changed Chinese line height,
   returning handwritten My Magic Library to its original V15 visual Y. */
#studentLibrary[data-view="shelf"] .stage-shelf-title {
  transform: none !important;
}
#studentLibrary[data-view="shelf"] .stage-shelf-title h2 {
  position: relative;
  transform: translateY(4px) !important;
}
#studentLibrary[data-view="shelf"] .stage-shelf-title small {
  position: relative;
  transform: translateY(4px) !important;
  font-family: "Snell Roundhand", "Apple Chancery", "Brush Script MT", "Lobster Two", "Z003", cursive !important;
  font-size: clamp(14px, 3.65vw, 17px) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: .2px !important;
  line-height: 1.2 !important;
}
/* ONLY the Chinese student-shelf brand loses 1 CSS px. */
#studentLibrary[data-view="shelf"] .sl-brand.mw-scene-brand > b {
  font-size: clamp(18px, calc(5.55vw - 3px), 22px) !important;
}
/* Match the brand subtitle's line width to the Chinese brand width.
   Intentionally do not touch plaque subtitle or any list/nav content. */
#studentLibrary[data-view="shelf"] .sl-brand.mw-scene-brand > small {
  font-size: clamp(7.4px, calc(2.2vw - .45px), 9.15px) !important;
  letter-spacing: .95px !important;
}
