/* V15: shelf-only adjustments. Based on the approved V14 preview. 
   Do not move the fixed navigation, replace artwork, or modify word-list UI. */

/* Move the WHOLE bookshelf scene (artwork, plaques, books and tarot) up 5px,
   while leaving its flex slot and the bottom navigation unchanged. */
#studentLibrary[data-view="shelf"] .stage-shelf-frame {
  transform: translateY(-9px) scale(1.05) !important; /* V14: -4px */
}
@media (max-height:780px) {
  #studentLibrary[data-view="shelf"] .stage-shelf-frame {
    transform: translateY(-5px) scale(1.05) !important; /* V14: 0px */
  }
}

/* Shift both parts of the top brand together, not its ornamental border. */
#studentLibrary[data-view="shelf"] .sl-brand.mw-scene-brand > b,
#studentLibrary[data-view="shelf"] .sl-brand.mw-scene-brand > small {
  transform:translateY(-10px) !important;
}

/* Keep ALL Chinese titles, captions and navigation labels in a Songti-style
   Chinese serif, using locally installed system fonts (no network dependency). */
#studentLibrary[data-view="shelf"],
#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,
#studentLibrary[data-view="shelf"] .sl-nav button span {
  font-family:"Songti SC","STSong","SimSun","Source Han Serif SC","Noto Serif CJK SC",serif !important;
}

/* The plaque subtitle is a graceful, regular-weight handwritten script. */
#studentLibrary[data-view="shelf"] .stage-shelf-title small {
  font-family:"Snell Roundhand","Apple Chancery","Brush Script MT","Lobster Two","Z003",cursive !important;
  font-weight:400 !important;
  font-style:normal !important;
  font-size:clamp(14px, 3.65vw, 17px) !important;
  line-height:1.2 !important;
  letter-spacing:.2px !important;
}
