.lib-wrap{max-width:1400px;margin:0 auto;padding:1.5rem 1rem 4rem;font-family:Inter,system-ui,sans-serif}.lib-header{justify-content:space-between;align-items:center;margin-bottom:1.75rem;display:flex}.lib-header-left{align-items:center;gap:1rem;display:flex}.lib-icon-wrap{background:linear-gradient(135deg,#eef2ff,#ede9fe);border-radius:.75rem;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.dark .lib-icon-wrap{background:linear-gradient(135deg,#3730a322,#4a1d9622)}.lib-title{color:#0f172a;margin:0;font-size:1.5rem;font-weight:800}.dark .lib-title{color:#f1f5f9}.lib-subtitle{color:#94a3b8;margin:0;font-size:.82rem}.stats-grid{grid-template-columns:repeat(5,1fr);gap:1rem;margin-bottom:1.5rem;display:grid}@media (width<=1024px){.stats-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=640px){.stats-grid{grid-template-columns:repeat(3,1fr);gap:.5rem}}@media (width<=400px){.stats-grid{grid-template-columns:repeat(2,1fr);gap:.375rem}}.stat-card{border:1px solid;border-radius:1rem;align-items:center;gap:1rem;padding:1.25rem 1.5rem;display:flex}@media (width<=640px){.stat-card{border-radius:.75rem;flex-direction:column;align-items:flex-start;gap:.35rem;padding:.65rem .75rem}.stat-icon,.stat-value{font-size:1.1rem!important}.stat-label{margin-top:0;font-size:.65rem}}.stat-blue{background:#eff6ff;border-color:#bfdbfe}.stat-indigo{background:#eef2ff;border-color:#c7d2fe}.stat-green{background:#f0fdf4;border-color:#bbf7d0}.stat-purple{background:#faf5ff;border-color:#e9d5ff}.stat-orange{background:#fff7ed;border-color:#fed7aa}.dark .stat-blue{background:#1e3a5f22;border-color:#1e40af44}.dark .stat-indigo{background:#3730a322;border-color:#3730a344}.dark .stat-green{background:#14532d22;border-color:#16653444}.dark .stat-purple{background:#4a1d9622;border-color:#4a1d9644}.dark .stat-orange{background:#7c2d1222;border-color:#c2410c44}.stat-icon{font-size:1.75rem}.stat-blue .stat-icon{color:#3b82f6}.stat-indigo .stat-icon{color:#6366f1}.stat-green .stat-icon{color:#22c55e}.stat-purple .stat-icon{color:#a855f7}.stat-orange .stat-icon{color:#f97316}.stat-value{color:#0f172a;font-size:1.5rem;font-weight:800;line-height:1}.dark .stat-value{color:#f1f5f9}.stat-label{color:#64748b;margin-top:.2rem;font-size:.75rem}.loading-state{text-align:center;color:#94a3b8;justify-content:center;align-items:center;gap:.5rem;padding:3rem;display:flex}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spin{animation:1s linear infinite spin;display:inline-block}.filter-tabs{border-bottom:2px solid #f1f5f9;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem;padding-bottom:.75rem;display:flex}.dark .filter-tabs{border-color:#334155}.tab-btn{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:.4rem 1rem;font-size:.78rem;font-weight:600;transition:all .15s}.dark .tab-btn{color:#94a3b8;background:#1e293b;border-color:#334155}.tab-btn:hover{color:#1e293b;background:#f1f5f9}.dark .tab-btn:hover{color:#e2e8f0;background:#334155}.tab-btn.active{color:#fff;background:#6366f1;border-color:#6366f1}.manga-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;display:grid}.empty-state{text-align:center;color:#94a3b8;flex-direction:column;align-items:center;gap:.75rem;padding:3rem;display:flex}.empty-link{color:#fff;background:#6366f1;border-radius:.5rem;padding:.5rem 1.25rem;font-size:.85rem;font-weight:700;text-decoration:none;transition:background .15s}.empty-link:hover{background:#4f46e5}.mc-card{background:#fff;border:1px solid #e2e8f0;border-radius:.875rem;gap:.875rem;padding:.875rem;transition:box-shadow .2s,transform .2s;display:flex}.dark .mc-card{background:#1e293b;border-color:#334155}.mc-card:hover{transform:translateY(-1px);box-shadow:0 4px 16px #00000014}.dark .mc-card:hover{box-shadow:0 4px 16px #0000004d}.mc-cover{object-fit:contain;border:1px solid #e2e8f0;border-radius:.5rem;flex-shrink:0;width:72px;height:104px;display:block}.dark .mc-cover{border-color:#334155}.mc-cover-ph{background:linear-gradient(135deg,#334155,#1e293b);border-radius:.5rem;flex-shrink:0;justify-content:center;align-items:center;width:72px;height:104px;font-size:1.5rem;display:flex}.mc-body{flex-direction:column;flex:1;gap:.3rem;min-width:0;display:flex}.mc-top{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.mc-title{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:.88rem;font-weight:700;text-decoration:none;overflow:hidden}.dark .mc-title{color:#e2e8f0}.mc-title:hover{color:#6366f1}.dark .mc-title:hover{color:#818cf8}.mc-edit-btn{color:#64748b;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;transition:all .15s;display:flex}.dark .mc-edit-btn{color:#94a3b8;background:#0f172a;border-color:#334155}.mc-edit-btn:hover{color:#fff;background:#6366f1;border-color:#6366f1}.mc-type-tag{text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;font-size:.65rem;font-weight:700}.mc-status-badge{border-radius:999px;align-items:center;width:fit-content;padding:.15rem .5rem;font-size:.68rem;font-weight:700;display:inline-flex}.ms-leyendo{color:#2563eb;background:#dbeafe}.ms-completado{color:#16a34a;background:#dcfce7}.ms-en_espera{color:#ca8a04;background:#fef9c3}.ms-planeado{color:#db2777;background:#fce7f3}.ms-abandonado{color:#dc2626;background:#fee2e2}.dark .ms-leyendo{color:#60a5fa;background:#1e3a5f44}.dark .ms-completado{color:#4ade80;background:#14532d44}.dark .ms-en_espera{color:#fbbf24;background:#78350f44}.dark .ms-planeado{color:#f9a8d4;background:#83184344}.dark .ms-abandonado{color:#f87171;background:#7f1d1d44}.mc-progress{flex-direction:column;gap:.2rem;margin-top:auto;padding-top:.25rem;display:flex}.mc-bar-wrap{background:#f1f5f9;border-radius:999px;width:100%;height:4px;overflow:hidden}.dark .mc-bar-wrap{background:#334155}.mc-bar{background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:999px;height:100%;transition:width .5s}.mc-progress-text{color:#64748b;font-size:.7rem}.dark .mc-progress-text{color:#94a3b8}.mc-last{color:#64748b;font-size:.7rem}.dark .mc-last{color:#94a3b8}.mc-read-time{color:#f97316;align-items:center;gap:.2rem;margin-top:.1rem;font-size:.7rem;display:flex}.dark .mc-read-time{color:#fb923c}.mc-tip{color:#94a3b8;cursor:help;user-select:none;font-size:.75rem;line-height:1;position:relative}.mc-tip:after{content:attr(data-tip);color:#f1f5f9;text-align:center;white-space:normal;pointer-events:none;opacity:0;z-index:50;background:#1e293b;border-radius:8px;width:190px;padding:6px 10px;font-size:.68rem;line-height:1.4;transition:opacity .15s;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);box-shadow:0 4px 12px #0000004d}.mc-tip:before{content:"";opacity:0;z-index:50;pointer-events:none;border:5px solid #0000;border-top-color:#1e293b;transition:opacity .15s;position:absolute;bottom:calc(100% + 1px);left:50%;transform:translate(-50%)}.mc-tip:hover:after,.mc-tip:hover:before,.mc-tip.active:after,.mc-tip.active:before{opacity:1}.mc-footer{margin-top:.375rem}.mc-action-btn{cursor:pointer;border:none;border-radius:.5rem;align-items:center;gap:.25rem;padding:.35rem .875rem;font-size:.75rem;font-weight:700;text-decoration:none;transition:all .15s;display:inline-flex}.mc-btn-start{color:#fff;background:#f97316}.mc-btn-start:hover{background:#ea580c}.mc-btn-continue{color:#fff;background:#6366f1}.mc-btn-continue:hover{background:#4f46e5}.mc-btn-uptodate{color:#16a34a;background:#f0fdf4;border:1px solid #bbf7d0}.dark .mc-btn-uptodate{color:#4ade80;background:#14532d22;border-color:#16653444}.mc-btn-done{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.dark .mc-btn-done{color:#60a5fa;background:#1e3a5f22;border-color:#1e40af44}.mc-btn-done:hover{background:#dbeafe}.dark .mc-btn-done:hover{background:#1e3a5f55}#lib-toast-container{z-index:999999;pointer-events:none;flex-direction:column;gap:.5rem;display:flex;position:fixed;bottom:6rem;right:1rem}@media (width>=640px){#lib-toast-container{bottom:1.5rem;right:1.5rem}}.lib-toast{color:#fff;pointer-events:auto;border-radius:.75rem;align-items:center;gap:.625rem;min-width:220px;max-width:320px;padding:.75rem 1.125rem;font-size:.875rem;font-weight:600;animation:.28s cubic-bezier(.21,1.02,.73,1) forwards toast-in;display:flex;box-shadow:0 8px 24px #0000002e}.lib-toast.toast-out{animation:.22s ease-in forwards toast-out}.lib-toast-success{background:#16a34a}.lib-toast-error{background:#dc2626}@keyframes toast-in{0%{opacity:0;transform:translateY(12px)scale(.96)}to{opacity:1;transform:none}}@keyframes toast-out{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(8px)scale(.96)}}
