.library-main { min-width: 0; }
.library-heading h1 { margin-bottom: 8px; }
.library-heading p { margin: 0 0 28px; color: #5b7078; font-size: 14px; }
.library-group { margin: 0 0 30px; }
.library-group-heading { display: flex; align-items: baseline; gap: 9px; border-bottom: 1px solid #d4e3df; padding-bottom: 8px; margin-bottom: 14px; }
.library-group-heading h2 { margin: 0; font-size: 22px; }
.library-group-heading span { color: #6b7f76; font-size: 12px; }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.book-card { display: flex; gap: 13px; padding: 13px; border: 1px solid #d7e5df; border-radius: 7px; background: #fbfdfc; min-width: 0; }
.book-cover { width: 76px; height: 108px; flex: 0 0 76px; border-radius: 3px; overflow: hidden; background: #e8f1ed; display: grid; place-items: center; color: #7b8e85; font-size: 10px; text-align: center; }
.book-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.book-info { min-width: 0; flex: 1; }
.book-info h3 { margin: 2px 0 4px; font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; }
.book-author { margin: 0; color: #6b7f76; font-size: 12px; }
.book-note { margin: 8px 0 0; color: #6b7f76; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.library-empty { margin: 0; padding: 6px 0 4px; color: #7b8e85; font-size: 13px; }
@media (max-width: 700px) {
  .library-heading p { margin-bottom: 22px; }
  .library-group-heading h2 { font-size: 20px; }
  .book-grid { grid-template-columns: 1fr; gap: 10px; }
  .book-cover { width: 66px; height: 94px; flex-basis: 66px; }
  .book-info h3 { font-size: 16px; }
}
