/* ÉPODA 2.0 · ampliación visual sin alterar el editor de portadas */
.premium-main{background:radial-gradient(circle at 95% 0,#fff9ec,transparent 36%)}
.hero-premium{min-height:245px;padding:32px 42px}.hero-premium h2{font-size:clamp(30px,3.3vw,47px)}
.quick-actions{margin-top:18px}.quick-card{min-height:105px}
.collections-panel{margin-top:36px;padding:25px;border:1px solid #e9d5be;border-radius:22px;background:#fffaf3;box-shadow:0 8px 26px #502b1810}
.collections-panel h2{font:34px Georgia,serif;color:#79000b;margin:6px 0 20px}
.collection-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,320px);gap:22px}
.collection-tree{display:flex;flex-wrap:wrap;gap:9px;align-content:start}.collection-line{display:flex;align-items:center;gap:2px;margin-left:calc(var(--depth)*18px)}
.collection-filter{border:1px solid #e3c4a5;background:#fff;color:#76000b;border-radius:999px;padding:10px 15px;cursor:pointer;font-weight:650}
.collection-filter.is-selected,.collection-filter:hover{background:#80000e;color:white}
.collection-delete{background:transparent;color:#9c443c;border:0;font-size:22px;cursor:pointer}
.collection-create{display:grid;gap:9px}.collection-create label{display:grid;gap:5px;color:#70463c;font-size:12px;font-weight:700}
.collection-create input,.collection-create select{width:100%;padding:11px;border:1px solid #e3c7b1;border-radius:10px;background:white;color:#44201c}
.collection-create button,.book-organize button{border:0;border-radius:10px;padding:11px;background:#87000e;color:#fff;cursor:pointer;font-weight:700}
.book-organize{font-size:12px;color:#79000b;margin-top:9px}.book-organize summary{cursor:pointer;font-weight:700}
.book-organize form{display:grid;gap:8px;padding:12px;background:#fff9f1;border:1px solid #e7d3bd;border-radius:10px;margin-top:7px}
.book-organize label{display:flex;align-items:center;gap:7px;color:#56332e}.book-organize input{accent-color:#87000e}
@media(max-width:720px){.collection-layout{grid-template-columns:1fr}.collections-panel{padding:17px}.hero-premium{min-height:220px;padding:26px}.collections-panel h2{font-size:28px}}
/* ÉPODA 2.0 · rediseño editorial, versión 3 */
:root{--epoda-wine:#760010;--epoda-gold:#e9bc77}
body{background:#f8f0e7}.premium-main{background:linear-gradient(145deg,#fff9f0,#f7eadc 85%);min-width:0}.sidebar{background:linear-gradient(155deg,#52000c,#94000d 52%,#47000a);box-shadow:5px 0 24px #39000915}.brand-icon{max-width:112px;height:auto;object-fit:contain}.sidebar nav a{transition:background .2s}
.welcome{position:relative;z-index:1}.welcome h1{font-size:clamp(32px,4vw,52px)}.epoda-atmosphere{height:135px;margin:-25px 0 -55px auto;width:65%;background:radial-gradient(ellipse at 70% 70%,#d9a86b55,transparent 65%),linear-gradient(90deg,transparent,#f5e5cd);border-radius:50%;pointer-events:none}
.hero-premium{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 85% 40%,#be5135,#83000e 60%,#56000b);border:1px solid #d39a72;box-shadow:0 12px 30px #70000b30;min-height:265px;padding:35px 42px}.hero-premium:before{content:'✦  ✧  ✦';position:absolute;right:10%;top:15%;font-size:36px;letter-spacing:35px;color:#ffd28b80;z-index:-1}.hero-inner{position:relative;z-index:2;max-width:72%}.hero-premium h2{font-size:clamp(30px,3.2vw,49px);line-height:1.15}.hero-premium h2 em{color:#f7d69c}.epoda-hero-illustration{position:absolute;right:5%;bottom:0;font-size:clamp(100px,14vw,190px);filter:drop-shadow(0 0 24px #ffd28a);transform:rotate(-12deg)}
.epoda-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 215px;gap:18px;align-items:start}.epoda-dashboard-main{min-width:0}.epoda-dashboard-aside{padding-top:18px;position:sticky;top:18px}.epoda-stats,.epoda-aside-note{background:linear-gradient(155deg,#fffaf2,#f6e4cb);border:1px solid #ead2b7;border-radius:20px;padding:24px 18px;text-align:center;box-shadow:0 9px 23px #5c280f12}.epoda-stats>strong{display:block;font:60px Georgia,serif;color:#850011;margin-top:15px}.epoda-stats>span:not(.eyebrow){color:#7a574b}.epoda-stats hr{border:0;border-top:1px solid #e9d0b4;margin:20px 0}.epoda-stats p{color:#70443b;text-align:left}.epoda-stats a,.epoda-feature a{color:#89000e;font-weight:bold}.epoda-aside-note{margin-top:18px;font:italic 19px Georgia,serif;color:#8b4e35}.epoda-aside-note small{display:block;margin-top:15px;font:10px sans-serif;letter-spacing:2px}
.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.quick-card{min-width:0;min-height:116px;padding:16px 12px;box-shadow:0 8px 20px #6a2d1612}.quick-card strong{font-size:clamp(12px,1.2vw,17px)}.quick-icon{font-size:26px}.collections-panel{margin-top:25px;background:#fffaf5}.collection-layout{grid-template-columns:1fr}.collection-create{display:flex;align-items:end;flex-wrap:wrap}.collection-create label{flex:1;min-width:150px}.collection-create button{align-self:end}.collection-tree{min-height:40px}
.epoda-reading-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.epoda-feature{min-width:0;min-height:185px;border-radius:18px;border:1px solid #e9d6c2;background:#fffaf4;padding:16px;box-shadow:0 7px 18px #522c1410}.epoda-feature h3{font:20px Georgia,serif;color:#6f0010;margin:0 0 15px}.epoda-feature p{font-size:13px;color:#856459}.epoda-feature-book{display:flex;gap:10px;align-items:center}.epoda-feature-book img{width:65px;height:95px;object-fit:cover;border-radius:6px}.epoda-feature-book div{min-width:0;display:grid;gap:9px}.epoda-feature-book strong{font-size:13px}.epoda-feature-book small{color:#856459}.epoda-feature a{font-size:12px}.epoda-mini-covers{display:flex;gap:8px}.epoda-mini-covers a{display:block;min-width:0;flex:1;font-size:11px}.epoda-mini-covers img{width:100%;height:112px;object-fit:cover;border-radius:7px}
.library-layout{grid-template-columns:minmax(0,1fr)}.reading-aside{display:none}.book-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:20px}.book .cover{width:100%;max-width:220px}.upload-card{display:none!important}.upload-card.epoda-modal-visible{display:flex!important;position:fixed!important;z-index:10001;top:50%;left:50%;transform:translate(-50%,-50%);width:min(92vw,460px);max-height:85vh;overflow:auto;background:#fff9f2;padding:28px;border:1px solid #d8ad7f;border-radius:20px;box-shadow:0 20px 90px #20000880}.epoda-modal-backdrop{position:fixed;inset:0;background:#170006b8;z-index:10000}.epoda-modal-close{position:absolute;right:12px;top:9px;background:transparent;border:0;font-size:28px;color:#80000e;cursor:pointer}.epoda-anchor{margin:20px 0;padding:18px 24px;border-radius:14px;background:#fffaf4;border:1px solid #ecd9c3}.epoda-anchor h3{font:22px Georgia,serif;color:#7e0010;margin:0 0 8px}.epoda-anchor p{margin:0;color:#795e55;font-size:13px}
@media(max-width:1250px){.epoda-dashboard{grid-template-columns:1fr}.epoda-dashboard-aside{display:none}.hero-inner{max-width:75%}}
@media(max-width:760px){.epoda-atmosphere{height:55px;margin:0}.epoda-reading-rows{grid-template-columns:1fr}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-inner{max-width:100%}.epoda-hero-illustration{opacity:.22}.hero-premium{padding:25px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
