/* TENIMPER v53.1.1 — extra font presets INSIDE existing reader panel */

/* Only our extra preset state changes font-family.
   Existing size / line-height / width sliders stay completely native. */
html[data-ti-reader-extra-font="garamond"] .ti-reader-font-target-v5311{
  font-family:Garamond,"EB Garamond","Cormorant Garamond",Georgia,serif!important;
}
html[data-ti-reader-extra-font="palatino"] .ti-reader-font-target-v5311{
  font-family:Palatino,"Palatino Linotype","Book Antiqua",Georgia,serif!important;
}
html[data-ti-reader-extra-font="baskerville"] .ti-reader-font-target-v5311{
  font-family:Baskerville,"Baskerville Old Face","Hoefler Text",Georgia,serif!important;
}
html[data-ti-reader-extra-font="cambria"] .ti-reader-font-target-v5311{
  font-family:Cambria,Georgia,"Times New Roman",serif!important;
}
html[data-ti-reader-extra-font="bookman"] .ti-reader-font-target-v5311{
  font-family:"Bookman Old Style",Bookman,Georgia,serif!important;
}
html[data-ti-reader-extra-font="system"] .ti-reader-font-target-v5311{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
}

/* Added buttons are styled to inherit the old settings panel instead of creating a new UI. */
.ti-reader-extra-font-v5311{
  position:relative;
}
.ti-reader-extra-font-v5311.is-active{
  outline:1px solid rgba(139,91,48,.52);
  outline-offset:-1px;
}
.ti-reader-extra-font-v5311[data-ti-font="garamond"]{
  font-family:Garamond,"EB Garamond","Cormorant Garamond",Georgia,serif!important;
}
.ti-reader-extra-font-v5311[data-ti-font="palatino"]{
  font-family:Palatino,"Palatino Linotype","Book Antiqua",Georgia,serif!important;
}
.ti-reader-extra-font-v5311[data-ti-font="baskerville"]{
  font-family:Baskerville,"Baskerville Old Face","Hoefler Text",Georgia,serif!important;
}
.ti-reader-extra-font-v5311[data-ti-font="cambria"]{
  font-family:Cambria,Georgia,"Times New Roman",serif!important;
}
.ti-reader-extra-font-v5311[data-ti-font="bookman"]{
  font-family:"Bookman Old Style",Bookman,Georgia,serif!important;
}
.ti-reader-extra-font-v5311[data-ti-font="system"]{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
}

@media(max-width:640px){
  .ti-reader-extra-font-v5311{
    min-height:48px;
  }
}


/* v53.1.2: make selected extra preset obvious inside the native panel */
.ti-reader-extra-font-v5311.is-active{
  box-shadow:inset 0 0 0 1px rgba(139,91,48,.30);
}
