
/* Reference-faithful image mockups. The canvas is centered; the book is subtly left of center within the image itself. */
#editor .cover-template-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
#editor .cover-template-choice,#editor .cover-template-choice.active{
  aspect-ratio:1 / 1.18; display:flex;flex-direction:column;gap:3px;
  align-items:stretch;justify-content:space-between;min-height:0;
  padding:7px 6px 9px;border-radius:7px;box-shadow:none!important;
}
#editor .cover-template-choice.active{padding:6px 5px 8px}
#editor .cover-template-choice .cover-thumb{
  width:100%;height:auto;min-height:0!important;aspect-ratio:auto!important;
  flex:1 1 0;position:relative;display:flex;align-items:center;justify-content:center;
  background:#fff!important;border:none!important;overflow:hidden;
}
#editor .cover-template-choice .cover-thumb::before{display:none!important;content:none!important}
#editor .cover-template-choice .reference-book29{
  display:block;position:absolute;left:50%;top:51%;
  width:auto;height:108%;max-width:100%;max-height:none;
  transform:translate(-50%,-50%);
  object-fit:contain;pointer-events:none;user-select:none;
}
#editor .cover-template-choice .template-name{
  display:block;flex:0 0 auto;text-align:center!important;
  font:400 16px/1.15 "Londrina Solid",Impact,"Arial Narrow",sans-serif!important;
  text-transform:none!important;letter-spacing:0!important;
  color:#303843;padding:1px 2px 0;margin:0;
}
@media(max-width:730px){#editor .cover-template-choice .template-name{font-size:15px}}
