/* Cedarstone Music Lab — readable double sharps and flats.
 *
 * Most system fonts draw 𝄪 and 𝄫 at about a third the height of ♯, so they
 * read as specks. This font face covers only those two characters
 * (U+1D12A–U+1D12B) and draws them 50% larger from the device's own symbol
 * font; every other character keeps the page's normal font. If a device has
 * none of the listed fonts, nothing changes.
 *
 * Link after the page's own <style>:
 *   <link rel="stylesheet" href="/_lib/accidentals.css">
 */

@font-face {
  font-family: 'CML Accidentals';
  src: local('Apple Symbols'), local('Noto Music'), local('Noto Sans Symbols'),
       local('Noto Sans Symbols2'), local('Segoe UI Symbol'), local('Segoe UI Historic');
  unicode-range: U+1D12A-1D12B;
  size-adjust: 150%;
}

/* Same stacks the pages already use, with the accidental face in front. */
body {
  font-family: 'CML Accidentals', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* Fretboard, keyboard and diagram labels (set as font-family="system-ui"). */
svg text {
  font-family: 'CML Accidentals', system-ui, sans-serif;
}
