/* Fichero personal: estilos exclusivos de Bibliografía. */
.library-heading,.library{max-width:1060px}
.library-heading{padding-top:36px;padding-bottom:16px}
.library-heading .eyebrow{margin-bottom:12px}
.library-heading h1{font-size:clamp(2.2rem,4vw,3.5rem);margin-bottom:14px}
.library-heading .lead{font-size:1rem}
.library>.pending{font-size:.78rem;line-height:1.6;margin:10px 0 16px;padding:8px 12px}
.library-tools{display:grid;grid-template-columns:1.2fr 1.25fr .8fr auto;gap:12px;align-items:end;padding:12px 0 18px;border-bottom:1px solid var(--line)}
.library-tools label{display:grid;gap:5px;font-size:.72rem;color:var(--muted);min-width:0}
.library-tools input,.library-tools select,.library-tools button{font:inherit;border:1px solid var(--line);border-radius:0;padding:9px 10px;background:var(--white);color:var(--ink);width:100%;min-height:42px}
.library-tools button{cursor:pointer;background:var(--navy);color:var(--paper);font-size:.73rem}
.library-tools input:focus-visible,.library-tools select:focus-visible,.book summary:focus-visible{outline:2px solid var(--brass);outline-offset:3px}
.library-count{font-size:.75rem;color:var(--muted);margin:14px 0 12px}
.library-shelves{border-top:2px solid var(--brass)}
.book{padding:17px 20px 12px;background:var(--white);border-bottom:1px solid var(--line)}
.book:nth-child(even){background:#f8f4ec}
.book-row{display:grid;grid-template-columns:30px 120px minmax(0,1fr);gap:16px;align-items:start}
.book-number{font:.95rem var(--title);color:#806338;padding-top:3px;font-variant-numeric:tabular-nums}
.book-cover{width:120px;height:180px;aspect-ratio:2/3;display:flex;align-items:center;justify-content:center;text-align:center;background:#eee6d7;border:1px solid var(--line);overflow:hidden}
.book-cover-link{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.book-cover-column{min-width:0}
.cover-credit{font-size:.64rem;line-height:1.45;margin:6px 0 0;overflow-wrap:anywhere;text-align:center;color:var(--muted)}
.cover-credit a{text-decoration:underline;text-underline-offset:2px}
.google-attribution{margin:3px 0 0;text-align:center}
.google-attribution img{display:block;width:62px;height:30px;max-width:100%;margin:auto;object-fit:contain}
.book-cover a:focus-visible,.cover-credit a:focus-visible{outline:2px solid var(--brass);outline-offset:-2px}
.book-cover img{display:block;width:100%;height:100%;max-width:var(--cover-native-width,100%);max-height:var(--cover-native-height,100%);object-fit:contain;object-position:center}
.book-cover-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:10px}
.edition-layout{display:block}.edition-data{min-width:0}.cover-caption{display:block;font-size:.65rem;line-height:1.4;color:var(--muted);margin:0}
.book-icon{position:relative;display:block;width:31px;height:39px;border:1px solid #9a8055;border-radius:2px 4px 4px 2px;background:#eee6d7;margin:2px auto}
.book-icon:before{content:'';position:absolute;top:0;bottom:0;left:5px;border-left:1px solid #b8a17a}
.book-icon:after{content:'';position:absolute;left:11px;right:5px;bottom:7px;border-top:1px solid #b8a17a;box-shadow:0 -5px 0 #b8a17a}
.book h3{font-size:1.25rem;line-height:1.35;overflow-wrap:anywhere}
.book-author{font-size:.85rem;color:var(--ink);line-height:1.5;margin:4px 0}
.book-edition{font-size:.77rem;color:var(--muted);line-height:1.55;margin:0!important}
.book-edition small{font-size:.68rem;margin-left:10px;color:var(--muted)}
.book-category{font-size:.69rem;color:#806338;line-height:1.5;margin:4px 0!important}
.book-comment{font-size:.81rem;line-height:1.6;color:var(--muted);margin:6px 0 0!important}.book-comment span{font-style:italic;color:#806338}
.book details{margin-left:46px;margin-top:8px}.book summary{cursor:pointer;width:fit-content;color:#806338;font-size:.74rem;padding:2px 0}
.book details[open] summary{margin-bottom:16px}
.book-details{border-top:1px solid var(--line);padding:18px 0 5px;max-width:750px;font-size:.86rem;overflow-wrap:anywhere}
.book h4{font:1.15rem var(--title);margin:0 0 12px}
.book dl{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;margin:0 0 22px}.book dl>div{border-bottom:1px solid var(--line);padding-bottom:8px}.book dt{font-size:.7rem;color:var(--muted)}.book dd{margin:3px 0 0;line-height:1.6}
.book-description{font-size:.88rem;line-height:1.75;margin-bottom:20px}
.owner-note{padding:14px 16px;background:var(--paper);border-left:2px solid var(--brass);margin:18px 0}.owner-note .owner-label{font-size:.65rem;color:#806338;text-transform:uppercase;letter-spacing:.07em;margin-bottom:10px}.owner-note p{line-height:1.8}
.no-rating{font-size:.76rem;color:var(--muted);font-style:italic}
.book-pending{margin-top:20px;padding-top:14px;border-top:1px dashed var(--brass);color:#695636}.book-pending ul{padding-left:18px;margin:0}.book-pending li+li{margin-top:8px}
.library-note{margin-top:28px}.library-note h2{font-size:1.5rem}.library-note p{font-size:.85rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.library [hidden]{display:none!important}
@media(max-width:800px){.library-tools{grid-template-columns:1fr 1fr}.library-search{grid-column:1/-1}.library-tools button{grid-column:1/-1}.book{padding:16px}.book-row{gap:12px;grid-template-columns:28px 120px minmax(0,1fr)}.book details{margin-left:40px}}
@media(max-width:500px){.library-heading{padding-top:26px}.book{padding:14px 12px}.book-row{grid-template-columns:26px 64px minmax(0,1fr);gap:10px}.book h3{font-size:1.15rem}.book details{margin-left:0}.book dl{grid-template-columns:1fr}.book-cover{width:64px;height:96px}.book-cover-placeholder{gap:6px;padding:5px}.cover-caption{font-size:.6rem}.book-icon{width:22px;height:28px;flex-shrink:0}.book-edition small{display:block;margin-left:0}.library-tools{grid-template-columns:1fr}.library-search,.library-tools button{grid-column:auto}}
