/* ÉPODA Biblioteca Premium — complemento visual aislado */
.library .section-head{border-bottom:1px solid rgba(117,42,66,.14);padding-bottom:18px;margin-bottom:18px}
.epoda-library-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 20px;padding:12px 15px;background:linear-gradient(120deg,#fffaf2,#f7ebdd);border:1px solid #e5d3be;border-radius:16px;box-shadow:0 5px 22px #542b3210}
.epoda-library-tools .epoda-tool-group{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.epoda-library-tools button{border:1px solid #d9bfae;background:#fffdf8;color:#672a40;border-radius:11px;padding:9px 13px;cursor:pointer;font:600 13px/1.2 system-ui,sans-serif;min-height:38px}
.epoda-library-tools button[aria-pressed=true]{background:#752a42;color:#fff;border-color:#752a42;box-shadow:0 3px 9px #752a4228}
.epoda-library-tools button:focus-visible{outline:3px solid #c49a42;outline-offset:2px}
.epoda-library-tools .epoda-tools-caption{font:600 12px system-ui,sans-serif;color:#765765;margin-right:5px}
.library .book{transition:transform .18s ease,box-shadow .18s ease}
.library .book:hover{transform:translateY(-3px)}
.library .book .cover{position:relative}
.library .book .cover::after{content:attr(data-epoda-format);position:absolute;top:9px;right:9px;background:#752a42e8;color:#fff4df;font:700 10px system-ui,sans-serif;letter-spacing:.09em;padding:5px 7px;border-radius:6px;pointer-events:none}
.library .book .book-info>a[href^="read.php"]{font-weight:700}
.library .book-grid.epoda-list-view{display:flex!important;flex-direction:column;gap:13px}
.library .book-grid.epoda-list-view>.book{display:flex;align-items:flex-start;gap:18px;width:100%;max-width:none;min-width:0;padding:13px;border:1px solid #e8d8c7;border-radius:15px;background:#fffaf3}
.library .book-grid.epoda-list-view>.book>.cover{width:94px;min-width:94px;max-width:94px;min-height:130px;margin:0}
.library .book-grid.epoda-list-view>.book>.book-info{flex:1;min-width:0}
.library .book-grid.epoda-list-view>.upload-card{width:100%}
.library .book.epoda-format-hidden{display:none!important}
@media(max-width:650px){.epoda-library-tools{padding:10px;gap:9px}.epoda-library-tools .epoda-tool-group{width:100%}.epoda-library-tools button{flex:1;padding:9px 8px}.library .book-grid.epoda-list-view>.book{gap:11px}.library .book-grid.epoda-list-view>.book>.cover{width:72px;min-width:72px;max-width:72px;min-height:100px}}
@media(prefers-reduced-motion:reduce){.library .book{transition:none}}
