.item-cover-card{border:1px solid var(--border);border-radius:var(--radius-panel);background:var(--card);min-width:0;position:relative;overflow:hidden}.item-cover-card-open{border-radius:inherit;width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;display:block}.item-cover-card-open:focus-visible{outline:2px solid var(--ring);outline-offset:-3px}.item-cover-card .item-media-cover{aspect-ratio:16/9;background:var(--muted);width:100%;height:auto;color:var(--muted-foreground);justify-content:center;align-items:center;margin:0;padding:0;display:flex;position:relative;overflow:hidden}.item-cover-card .item-file-cover{background:0 0;border:0;border-radius:0;gap:12px;width:100%;min-width:0;height:100%;min-height:0}.item-cover-card .item-file-cover>svg{stroke-width:1.25px;width:42px;height:42px;color:var(--muted-foreground)}.item-cover-card .kind-video>.item-file-cover>svg{width:64px;height:48px}.item-cover-card .item-media-cover>img{object-fit:contain;padding:12px}.item-cover-card .item-file-cover:has(+img.is-loaded){visibility:hidden}.item-cover-card .kind-video>img{object-fit:cover;padding:0}.item-cover-card .kind-markdown>img,.item-cover-card .kind-pdf>img{object-position:center top;padding:16px 16px 0}.item-cover-card-info{gap:4px;min-width:0;padding:14px 52px 14px 14px;display:grid}.item-cover-card-info>strong,.item-cover-card-info>small{text-overflow:ellipsis;white-space:nowrap;line-height:1.5;display:block;overflow:hidden}.item-cover-card-info>strong{font-size:.875rem;font-weight:550}.item-cover-card-info>small{color:var(--muted-foreground);font-size:.75rem}.item-cover-card-actions{position:absolute;bottom:18px;right:10px}.item-cover-card-actions>button{background:0 0;border:1px solid #0000;width:32px;height:32px;padding:0}.item-cover-card-actions>button:hover,.item-cover-card-actions>button:focus-visible,.item-cover-card-actions>button[data-state=open]{border-color:var(--border);background:var(--accent)}.library-home{gap:1.75rem;min-width:0;display:grid}.library-home h2{margin:0}.library-home-categories,.library-home-section{gap:.875rem;min-width:0;display:grid}.library-home-categories>header,.library-home-section>header{justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.library-home-categories h2,.library-home-section h2{letter-spacing:-.015em;font-size:1rem;font-weight:600}.library-home-section>header>span{gap:.2rem;display:grid}.library-home-section>header small,.library-category-grid small,.library-recent-grid small,.library-shelf-grid small,.library-newest-list small{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.library-home-section>header .text-button{align-items:center;gap:.15rem;display:inline-flex}.library-category-grid{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.library-category-grid>button{border:0;border-right:1px solid var(--border);border-bottom:1px solid var(--border);min-height:72px;color:inherit;text-align:left;cursor:pointer;background:0 0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.9rem 1rem;display:grid}.library-category-grid>button:nth-child(3n){border-right:0}.library-category-grid>button:nth-last-child(-n+3){border-bottom:0}.library-category-grid>button:hover,.library-newest-list button:hover{background:var(--accent)}.library-category-grid>button>span:nth-child(2),.library-newest-name{gap:.2rem;min-width:0;display:grid}.library-category-grid strong,.library-recent-grid strong,.library-shelf-grid strong,.library-newest-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;font-weight:550;overflow:hidden}.library-recent-grid,.library-shelf-grid,.library-newest-list{margin:0;padding:0;list-style:none}.library-recent-grid,.library-home-skeleton.is-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:.875rem;display:grid}.library-recent-grid>li,.library-shelf-grid>li{min-width:0}.library-shelf-grid,.library-home-skeleton.is-shelves{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.library-newest-list{border-block:1px solid var(--border)}.library-newest-list li+li{border-top:1px solid var(--border)}.library-newest-list button{width:100%;min-height:58px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.8rem;padding:.65rem .25rem;display:grid}.library-newest-list time{color:var(--muted-foreground);font-size:.75rem}.library-home-empty{border:1px dashed var(--border);border-radius:var(--radius);min-height:72px;color:var(--muted-foreground);align-items:center;gap:.5rem;padding:1rem;font-size:.8125rem;display:flex}.library-home-empty .text-button{margin-left:auto}.library-home-skeleton{gap:.875rem;display:grid}.library-home-skeleton.is-rows{border-block:1px solid var(--border);grid-template-columns:1fr;gap:0}.library-newest-placeholder{align-items:center;gap:.8rem;min-height:58px;padding:.65rem .25rem;display:flex}.library-newest-placeholder+.library-newest-placeholder{border-top:1px solid var(--border)}@media (width<=1040px){.library-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-category-grid>button,.library-category-grid>button:nth-child(3n){border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.library-category-grid>button:nth-child(2n){border-right:0}.library-category-grid>button:nth-last-child(-n+2){border-bottom:0}.library-recent-grid,.library-home-skeleton.is-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=680px){.library-home{gap:1.5rem}.library-category-grid,.library-recent-grid,.library-shelf-grid,.library-home-skeleton.is-cards,.library-home-skeleton.is-shelves{grid-template-columns:1fr}.library-category-grid>button,.library-category-grid>button:nth-child(2n),.library-category-grid>button:nth-child(3n),.library-category-grid>button:nth-last-child(-n+3){border-right:0;border-bottom:1px solid var(--border)}.library-category-grid>button:last-child{border-bottom:0}.library-newest-list button{grid-template-columns:auto minmax(0,1fr) auto}.library-newest-list time{display:none}}.library-recent-grid>li,.library-shelf-grid>li,.library-newest-list>li{position:relative}.home-item-actions{position:absolute;bottom:12px;right:8px}.library-newest-list .home-item-actions{top:50%;bottom:auto;transform:translateY(-50%)}.library-newest-list>li>button{padding-right:52px}.home-item-actions button{width:32px;padding:0;display:inline-flex}
