/* Additional rules only: the existing site stylesheet remains unchanged. */
[data-local-list-pagination][hidden], [data-local-progress-label][hidden], [data-local-reader][hidden] { display: none !important; }
.local-library-note { font-size: 14px; line-height: 1.5; margin: 12px 0; color: #56565d; }
.local-library [data-local-list-status] { margin: 12px 0; }
.local-bookmark-button { cursor: pointer; }
.local-bookmark-button[aria-pressed="true"] svg path { fill: #15ac63; }
[data-local-action="deferred"][aria-pressed="true"] { color: #137f49; }
[data-local-action]:focus-visible, .local-library button:focus-visible { outline: 2px solid #15ac63; outline-offset: 3px; }
.local-library-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 20px 0; }
.local-library-pagination button, .local-library-remove { cursor: pointer; padding: 8px 12px; border: 1px solid #d1d1d6; border-radius: 4px; background: #fff; color: #222; font: inherit; }
.local-library-pagination button:disabled { cursor: default; opacity: .5; }
.local-library-remove { display: block; margin-top: 8px; }
.local-library-cover { width: 161px; height: 237px; max-width: 100%; object-fit: contain; }
.local-library .local-library-missing { padding: 16px; border: 1px solid #dedee2; }
.local-comment-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%); }
.local-comment-text { white-space: pre-wrap; overflow-wrap: anywhere; }
[data-local-comment-status] { margin-top: 10px; }
.local-library-toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); padding: 12px 20px; background: #242429; color: #fff; z-index: 99999; border-radius: 6px; max-width: 90vw; width: max-content; box-shadow: 0 2px 12px #0003; }
.local-library-toast[hidden] { display: none !important; }
