.ed-library-heading{text-align:center;margin:24px auto 30px;max-width:900px}.ed-library-heading h1{font-size:clamp(30px,4vw,46px)!important}.ed-eyebrow{font-size:13px;font-weight:800;letter-spacing:.12em}.ed-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:24px}.ed-library-book{display:grid;grid-template-columns:minmax(110px,180px) minmax(0,1fr);gap:20px;padding:20px;border:1px solid #3b596b;background:#101f2d;border-radius:18px;color:#eff8ff}.ed-library-info{display:flex;align-items:flex-start;flex-direction:column;gap:12px}.ed-library-info :is(h3,p){margin:0!important}.ed-library-info h3{font-size:24px!important}.ed-library-info p{font-size:17px;line-height:1.6}
.ed-library-info .ed-book-synopsis{width:100%;max-width:100%;font-size:17px;line-height:1.6;overflow-wrap:anywhere}
.ed-library-info .ed-book-synopsis :is(p,h2,h3,h4,h5,h6,blockquote){margin:0 0 .55em!important;line-height:1.5}
.ed-library-info .ed-book-synopsis img{max-width:100%;height:auto;display:block;margin:.5em 0}.ed-library-info a{color:#bcf0ff}.ed-library-section{margin:24px 0}.ed-cover{display:flex;flex-direction:column;justify-content:space-between;gap:24px;min-height:260px;aspect-ratio:8/11;padding:24px 18px;box-sizing:border-box;background:radial-gradient(ellipse at 65% 70%,#376274 0,transparent 65%),linear-gradient(140deg,#071b2c,#122e45);border:1px solid #be9f62;color:#f8e1ac!important;text-align:center;text-decoration:none!important;box-shadow:inset 7px 0 0 #020b1460,0 10px 25px #0003;border-radius:3px 12px 12px 3px;position:relative;overflow:hidden}.ed-cover:after{content:'✦';font-size:64px;color:#edc781;position:absolute;left:0;right:0;top:56%;opacity:.45;pointer-events:none}.ed-cover strong{font:700 clamp(24px,3vw,37px)/1.15 Georgia,serif;position:relative;z-index:1}.ed-cover small,.ed-cover span{font:700 11px/1.5 system-ui;letter-spacing:.12em;position:relative;z-index:1}.ed-cover-comic{background:radial-gradient(ellipse at 50% 70%,#ca8b3060,transparent 60%),linear-gradient(140deg,#061b2c,#17636e)}

/* Biblioteca: tarjetas completas, sin comprimir los titulos con los marcos de temas.
   El tema puede decorar otras cabeceras; los nombres de libros usan un marco propio. */
.et-store .ed-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));align-items:stretch;gap:clamp(18px,2.2vw,28px);min-width:0}
.et-store .ed-library-grid>.ed-library-book{display:flex;flex-direction:column;align-items:stretch;gap:18px;min-width:0;max-width:100%;width:100%;padding:clamp(18px,2vw,25px);box-sizing:border-box;overflow:visible}
.et-store .ed-library-book>.ed-cover{align-self:center;flex:0 0 auto;width:min(100%,210px);max-width:210px;min-height:288px;height:auto;aspect-ratio:8/11;display:flex;gap:12px;padding:24px 18px}
.et-store .ed-library-book>.ed-cover strong{font:700 clamp(22px,1.85vw,29px)/1.16 Georgia,serif;max-width:100%;min-width:0;overflow-wrap:break-word;hyphens:auto}
.et-store .ed-library-book>.ed-cover small,.et-store .ed-library-book>.ed-cover span{font-size:10px;letter-spacing:.09em;overflow-wrap:anywhere}
.et-store .ed-library-book>.ed-library-info{width:100%;max-width:100%;min-width:0;display:flex;flex:1 1 auto;flex-direction:column;align-items:stretch;gap:13px}
.et-store .ed-library-info>.ed-eyebrow{font-size:11px;line-height:1.5;letter-spacing:.12em;min-height:18px}
.et-store .ed-library-card-title{position:relative;display:flex;align-items:center;min-height:76px;width:100%;max-width:100%;box-sizing:border-box;padding:14px 18px;border:1px solid #426780;border-radius:10px;background:linear-gradient(135deg,#152c44,#0b1c2d);box-shadow:inset 0 1px 0 #ffffff14;color:#f1f8ff;font:750 clamp(20px,1.8vw,24px)/1.3 system-ui,sans-serif;text-align:left}
.et-store .ed-library-card-title>span{display:block;min-width:0;max-width:100%;overflow-wrap:break-word;word-break:normal;text-wrap:balance}
.et-store .ed-library-info>.ed-book-synopsis{width:100%;min-width:0;max-width:100%;flex:1 1 auto;color:inherit}
.et-store .ed-library-info>.ed-book-synopsis :is(p,h2,h3,h4,h5,h6){font-size:16px!important;line-height:1.6!important;margin:0 0 .65em!important;overflow-wrap:break-word}
.et-store .ed-library-info>.et-button{align-self:stretch;max-width:100%;min-width:0;white-space:normal;text-align:center;margin-top:auto}
.et-store .ed-library-info>a:not(.et-button){align-self:flex-start;max-width:100%;overflow-wrap:anywhere;line-height:1.5}
.et-store .ed-library-admin-status{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border-left:3px solid #80c9df;background:#17344a;border-radius:0 8px 8px 0;font:13px/1.5 system-ui,sans-serif;color:#d4eaf6}
.et-store .ed-library-admin-status strong{font-size:13px;color:#f2fbff}
body.emp-design-nexo-cibernetico .et-store .ed-library-card-title{border-radius:3px;border-color:#4a7c96;background:linear-gradient(145deg,#153b55,#0a1d30 70%);box-shadow:inset 0 0 0 2px #0d2a43,0 0 0 1px #091725;color:#f3faff}
body.emp-design-nexo-cibernetico .et-store .ed-library-grid>.ed-library-book{border-color:#45677e;background:linear-gradient(155deg,#142a3c,#081a2b)}
@media(max-width:720px){.et-store .ed-library-grid{grid-template-columns:minmax(0,1fr)}.et-store .ed-library-grid>.ed-library-book{padding:20px}.et-store .ed-library-book>.ed-cover{width:min(100%,195px);max-width:195px;min-height:265px}}
/* Estado editorial del lector sin paginas: se muestra dentro de cualquier tema. */
.et-store .ed-reader-empty{width:100%;max-width:1100px;min-width:0;margin:28px auto 52px;padding:0 clamp(6px,1.5vw,16px);box-sizing:border-box}
.et-store .ed-reader-empty-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:#c4dfed;font-size:14px;margin:0 0 18px;overflow-wrap:anywhere}
.et-store .ed-reader-empty-crumb>a{color:#9be4fa;text-decoration:underline;text-underline-offset:3px}
.et-store .ed-reader-empty-panel{padding:clamp(30px,5vw,65px);min-width:0;max-width:100%;box-sizing:border-box;border:1px solid #51728d;border-radius:14px;background:linear-gradient(145deg,#152f47,#0b1b2d 70%);color:#eef7ff;box-shadow:0 18px 55px #0004;position:relative;overflow:hidden;text-align:center}
.et-store .ed-reader-empty-mark{display:grid;place-items:center;width:74px;height:74px;border-radius:18px;border:1px solid #4e8ea2;color:#d8b878;font-size:35px;margin:0 auto 21px;background:#11283b}
.et-store .ed-reader-empty-panel>.ed-eyebrow{color:#b8e7f1;display:block;margin-bottom:10px}
.et-store .ed-reader-empty-panel>h1{width:100%;max-width:100%;margin:0 auto 20px!important;font-size:clamp(24px,3vw,35px)!important;line-height:1.3!important;text-align:center!important;overflow-wrap:anywhere}
.et-store .ed-reader-empty-subtitle{max-width:850px;margin:0 auto 20px;font-size:clamp(20px,2.3vw,29px);font-weight:750;line-height:1.35;color:#eef8ff;overflow-wrap:break-word}
.et-store .ed-reader-empty-panel>p{max-width:780px;margin:12px auto 16px;font-size:clamp(15px,1.5vw,17px);line-height:1.75;color:#d3e4f0}
.et-store .ed-reader-empty-panel>p strong{color:#f2ddac}
.et-store .ed-reader-empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 20px;margin:28px 0 10px}
.et-store .ed-reader-empty-actions>.et-button,.et-store .ed-reader-empty-back{min-width:min(100%,240px);max-width:100%;white-space:normal;text-align:center}
.et-store .ed-reader-empty-back{display:inline-flex;justify-content:center;align-items:center;border:1px solid #51798f;border-radius:8px;padding:12px 18px;color:#d3f0fb!important;text-decoration:none;font-weight:650}
.et-store .ed-reader-empty-panel>.ed-reader-empty-note{display:block;margin:24px auto 0;max-width:780px;color:#a7c3d5;font-size:13px;line-height:1.6}
@media(max-width:680px){.et-store .ed-reader-empty-panel{padding:26px 17px}.et-store .ed-reader-empty-actions{flex-direction:column}.et-store .ed-reader-empty-actions>*{width:100%}}
.ed-library-free-label{display:inline-flex;padding:5px 10px;border:1px solid #679ba8;border-radius:20px;color:#d6f5ed;font:700 12px/1.4 system-ui}
.ed-reader{--ed-paper:#f6efdf;--ed-ink:#252320;--ed-muted:#575049;--ed-toolbar:#102638;--ed-font:20px;background:#081827;color:#eaf6ff;border:1px solid #527183;border-radius:18px;margin:22px 0;overflow:hidden;font:18px/1.5 system-ui,sans-serif}.ed-reader[data-ed-fondo=claro]{--ed-paper:#fff;--ed-ink:#202831;--ed-muted:#4a555f}.ed-reader[data-ed-fondo=oscuro]{--ed-paper:#142330;--ed-ink:#f1f4f6;--ed-muted:#c7d5dc}.ed-reader-header{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:20px 24px;background:linear-gradient(120deg,#102c43,#0a1e2f)}.ed-reader-header>div{min-width:0;flex:1}.ed-reader-title{font:750 clamp(23px,2.5vw,32px)/1.25 system-ui;margin:4px 0 6px;overflow-wrap:anywhere}.ed-reader-back{color:#bdeaff!important;white-space:nowrap;font-weight:700}.ed-reader-header .ed-eyebrow{color:#b9ddea}.ed-reader-header>div>span:last-child{font-size:15px;color:#cee1ec}.ed-reading-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:14px 24px;background:var(--ed-toolbar);border-block:1px solid #3c596e}.ed-reading-tools label{display:flex;flex-direction:column;gap:5px;font-size:15px;color:#f0f7fa}.ed-reading-tools select{min-height:44px;max-width:100%;padding:7px 32px 7px 12px;background:#0b1a28;color:#f2f8fc;border:1px solid #7391a3;border-radius:8px;font:16px system-ui}.ed-control{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:10px 16px;border:1px solid #7099b1;border-radius:10px;background:#142e43;color:#f0faff!important;font:700 16px/1.35 system-ui;text-decoration:none!important;cursor:pointer;transition:background .15s,transform .15s}.ed-control:hover{background:#24485f;transform:translateY(-1px)}.ed-primary{background:#b4eaff;color:#06243a!important;border-color:#d8f7ff}.ed-primary:hover{background:#d3f3ff}.ed-control:focus-visible,.ed-reader a:focus-visible,.ed-reader select:focus-visible{outline:3px solid #ffda85;outline-offset:3px}.ed-reading-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;padding:24px}.ed-reader-index{border-right:1px solid #466378;padding-right:18px;align-self:start}.ed-reader-index summary{font-weight:750;cursor:pointer;min-height:44px}.ed-reader-index ol{list-style:none;padding:0;margin:8px 0}.ed-reader-index a{display:block;padding:11px 10px;color:#e2f5ff!important;border-radius:8px;font-size:16px;overflow-wrap:anywhere}.ed-reader-index a[aria-current=page]{background:#214660;border-left:3px solid #a9e7ff}.ed-page-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;color:#d6e7f0;margin-bottom:12px;font-size:15px}.ed-reading-main{min-width:0}.ed-page-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.ed-reader[data-ed-presentacion=doble][data-ed-formato=comic] .ed-page-stack,.ed-reader[data-ed-presentacion=doble][data-ed-formato=galeria] .ed-page-stack{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-reader[data-ed-direccion=rtl] .ed-page-stack{direction:rtl}.ed-reader[data-ed-direccion=rtl] .ed-paper{direction:ltr}.ed-paper{background:var(--ed-paper)!important;color:var(--ed-ink)!important;border-radius:4px;overflow:hidden;box-shadow:0 12px 32px #0004;align-self:start;position:relative}.ed-prose{max-width:68ch;min-height:340px;box-sizing:border-box;margin:auto;padding:clamp(22px,4vw,56px);font:400 var(--ed-font)/1.8 Georgia,serif;color:var(--ed-ink)}.ed-prose :is(h1,h2,h3,h4,h5,h6){background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;padding:0!important;margin:0 0 1em!important;min-height:0!important;font-family:Georgia,serif!important;line-height:1.25!important;color:var(--ed-ink)!important;text-wrap:balance}.ed-prose h1{font-size:2em!important}.ed-prose h2{font-size:1.5em!important}.ed-prose :is(h1,h2,h3,h4,h5,h6)::before,.ed-prose :is(h1,h2,h3,h4,h5,h6)::after{display:none!important}.ed-prose p{margin:0 0 1.15em!important;font:inherit!important;color:inherit!important;overflow-wrap:break-word}.ed-prose blockquote{border-left:3px solid currentColor;margin:1.4em 0;padding-left:1em;font-style:italic}.ed-paper-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 24px;border-top:1px solid #80808050;font:12px/1.5 system-ui;color:var(--ed-muted)}.ed-image-viewport{overflow:auto;overscroll-behavior:contain}.ed-image-viewport img{display:block;width:var(--ed-zoom,100%);max-width:none!important;height:auto!important;object-fit:contain!important;user-select:none;-webkit-user-drag:none;margin:0 auto!important}.ed-zoom{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin:0 0 12px;font-size:16px}.ed-zoom input{width:min(230px,100%);min-height:30px}.ed-transcript{margin-top:14px;padding:12px;color:#e9f4fa;font-size:16px}.ed-transcript summary{cursor:pointer}.ed-reader-navigation{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:22px;flex-wrap:wrap}.ed-save-status{font-size:14px;color:#cbdfe9;margin:16px 0 0}.ed-locked{display:flex;flex-direction:column;gap:18px;align-items:center;text-align:center;padding:44px 24px;background:#122f44;border:1px solid #6689a2;border-radius:12px}.ed-locked h2{font-size:26px!important;margin:0!important;background:none!important;border:0!important;padding:0!important}.ed-locked p{font-size:18px;margin:0;max-width:55ch}.ed-locked>span{font-size:40px}.ed-reader:fullscreen{border-radius:0;overflow:auto;background:#081827}.ed-print-message{display:none}.ed-admin-collection{display:grid;gap:22px}.ed-admin-book{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px}.ed-admin-book .ed-cover{max-width:180px;min-height:250px}.ed-admin-book .ed-cover strong{font-size:29px}.ed-order-list{list-style:none;padding:0;display:grid;gap:10px}.ed-order-list li{display:flex;flex-wrap:wrap;gap:12px;align-items:center;background:#122335;padding:14px;border:1px solid #3b526a;border-radius:10px}.ed-order-list li>a{flex:1;min-width:140px}.ed-order-list li>span{font-size:15px}.ed-order-list button{min-width:44px;min-height:44px;border:1px solid #7495aa;color:#f1f9ff;background:#1d3b50;border-radius:8px;font-size:22px;cursor:pointer}.ed-order-list li[data-ed-dragging]{opacity:.5}.ed-product-reading{margin:16px 0;padding:18px;border:1px solid #628da4;border-radius:12px;background:#142a3a;color:#f1faff}.ed-product-reading p{margin:0 0 12px}.ed-product-reading>div{display:flex;gap:12px;flex-wrap:wrap}@media(min-width:1100px){.ed-reader-index[open]+.ed-reading-main{min-width:0}}@media(max-width:1000px){.ed-reading-layout{grid-template-columns:1fr}.ed-reader-index{border-right:0;padding-right:0;border-bottom:1px solid #466378}.ed-library-book{grid-template-columns:140px minmax(0,1fr)}.ed-reader-header{flex-wrap:wrap}.ed-reader-header>div{flex-basis:60%}}@media(max-width:600px){.ed-reader-header,.ed-reading-layout,.ed-reading-tools{padding:16px}.ed-reader-header>div{flex-basis:100%;order:-1}.ed-reading-tools label{flex:1 1 125px}.ed-reading-tools select{width:100%}.ed-reader[data-ed-presentacion=doble] .ed-page-stack{grid-template-columns:minmax(0,1fr)!important}.ed-library-book{grid-template-columns:1fr}.ed-library-book .ed-cover{max-width:200px;justify-self:center;min-height:275px;width:100%}.ed-admin-book{grid-template-columns:1fr}.ed-admin-book .ed-cover{display:none}.ed-prose{padding:24px;min-height:280px}.ed-reader-navigation .ed-control{flex:1}.ed-reader-navigation>span{order:2;width:100%;text-align:center}.ed-zoom{gap:8px}.ed-reader-title{font-size:25px}}@media(prefers-reduced-motion:reduce){.ed-control{transition:none}}@media print{body:has(.ed-reader) *{visibility:hidden!important}.ed-reader .ed-print-message{display:block!important;visibility:visible!important;position:absolute;top:30px;left:30px;color:#000;background:#fff}.ed-reader .ed-page-stack{display:none!important}}

.et-admin .et-admin-table-wrap{overflow:auto}.et-admin .et-admin-table{width:100%;border-collapse:collapse}.et-admin .et-admin-table th,.et-admin .et-admin-table td{padding:14px 12px;text-align:left;border-bottom:1px solid #3a5066;white-space:normal}.et-admin .et-admin-table .et-admin-btn{white-space:nowrap}

.ed-reader .ed-reading-layout{grid-template-columns:minmax(0,1fr)}.ed-reader .ed-reader-index{border-right:0;border-bottom:1px solid #466378;padding:0 0 8px}.ed-reader-index ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:0 10px}.ed-reader.ed-immersive{position:fixed;inset:0;z-index:2147483000;margin:0;border:0;border-radius:0;overflow:auto;overscroll-behavior:contain}.ed-reader[data-ed-fit=pagina] .ed-image-viewport img{width:auto!important;height:auto!important;max-width:100%!important;max-height:85dvh!important;margin:auto!important}.ed-fit-button{margin-bottom:14px}

.ed-reader.ed-immersive{width:auto;height:auto;max-width:none;max-height:none;padding:0;color:#eaf6ff;background:#081827}.ed-reader.ed-immersive::backdrop{background:#081827}
/* Capítulos añadidos recientemente: identificación discreta, independiente del orden. */
.ed-new-tag{display:inline-block;margin:.15em .35em;padding:.16em .5em;border:1px solid currentColor;border-radius:5px;font-size:.75em;font-weight:700;line-height:1.45;vertical-align:baseline;text-decoration:none}

/* Portadas reales en Mi biblioteca. Fallback decorativo intacto sin producto con imagen. */
.et-store .ed-library-book>.ed-cover.ed-cover-real{width:min(100%,220px);max-width:220px;min-height:0;aspect-ratio:2/3;padding:6px;gap:0;align-items:center;justify-content:center;background:linear-gradient(135deg,#081625,#183852);border:1px solid #c6a16b;box-shadow:inset 5px 0 #030c1566,0 12px 26px #0005}
.et-store .ed-cover.ed-cover-real::after{content:none;display:none}
.et-store .ed-cover.ed-cover-real .ed-cover-image{width:100%;height:100%;display:block;object-fit:contain;object-position:center;max-height:none;flex:1 1 auto;border-radius:2px 8px 8px 2px}
.et-store .ed-cover.ed-cover-real:focus-visible{outline:3px solid #9ce9f4;outline-offset:3px}
