/* Nexus Book 12.0 · stage 04: library presentation and loading. */
#stored:not(.premium-list)>article>img,
#stored:not(.premium-list)>article>.cover{
  width:100%;aspect-ratio:2/3;height:auto!important;object-fit:contain;
  background:var(--nx-soft);margin-bottom:8px
}
#stored:not(.premium-list)>article>h3{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;text-transform:none;overflow-wrap:anywhere;
  height:36px!important;min-height:36px!important;max-height:36px!important;
  line-height:18px!important;margin:0 0 2px!important
}
#stored:not(.premium-list)>article>small{
  height:16px!important;min-height:16px!important;max-height:16px!important;
  line-height:16px!important;margin:0 0 2px!important
}
#stored:not(.premium-list)>article>.nbGenreTag{
  white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;
  -webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;
  line-height:14px!important;height:28px!important;min-height:28px!important;
  max-height:28px!important;margin:0 0 3px!important
}
#stored:not(.premium-list)>article>.nx-reading-track{margin-top:auto}
#stored:not(.premium-list)>article>.book-actions{margin-top:auto!important}
#stored.premium-list>article>img,#stored.premium-list>article>.cover{
  aspect-ratio:2/3;object-fit:contain;background:var(--nx-soft)
}
#stored.premium-list>article>.nbGenreTag{
  white-space:normal;overflow-wrap:anywhere;height:auto!important;
  max-height:none!important;line-height:1.4
}
#detail #dt{display:block;max-height:none!important;overflow:visible!important;
  white-space:normal!important;text-overflow:clip!important;overflow-wrap:anywhere;
  text-transform:none}
.nx-library-skeleton[hidden]{display:none!important}
.nx-library-skeleton{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;margin:16px 0 24px;pointer-events:none
}
.nx-skeleton-book{min-width:0}
.nx-skeleton-book span{display:block;background:var(--nx-soft);border-radius:7px}
.nx-skeleton-cover{aspect-ratio:2/3;width:100%;margin-bottom:9px}
.nx-skeleton-line{width:90%;height:12px;margin-bottom:7px}
.nx-skeleton-line.short{width:58%}
#cloudpanel .nx-library-more{
  display:flex;justify-content:center;align-items:center;
  min-width:min(220px,100%);margin:24px auto 20px;
  border-radius:999px;min-height:46px
}
#cloudpanel .nx-library-more:disabled{opacity:.65}
@media(max-width:599px){.nx-library-skeleton{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(min-width:600px) and (max-width:1199px){.nx-library-skeleton{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1200px){.nx-library-skeleton{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(prefers-reduced-motion:no-preference){
  .nx-library-skeleton span{animation:nx-skeleton-pulse 1.6s ease-in-out infinite alternate}
  @keyframes nx-skeleton-pulse{to{opacity:.55}}
}
