.library-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.5rem; }
.library-heading h1 { font-weight:400; font-size:2rem; margin:0; letter-spacing:-.035em; }
.library-feedback { color:var(--muted); display:flex; align-items:center; gap:1rem; min-height:1.5rem; }
.library-feedback:empty { display:none; }
.poster-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:1.4rem 1rem; }
.title-tile { min-width:0; position:relative; }
.poster-card { width:100%; display:block; padding:0; background:none; border:0; border-radius:var(--radius-poster); cursor:pointer; text-align:left; }
.poster-art { display:flex; align-items:center; justify-content:center; position:relative; aspect-ratio:2/3; overflow:hidden; border-radius:var(--radius-poster); background:var(--fs-solid); }
.poster-art>img { width:100%; height:100%; object-fit:cover; }
.poster-art>.icon { width:2.5rem; height:2.5rem; color:var(--muted); }
.poster-card h3 { font-size:.9rem; font-weight:500; line-height:1.35; margin:.65rem 0 .2rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.card-meta { font-size:.72rem; color:var(--muted); margin:0; }
.poster-description { position:absolute; inset:0; padding:1rem; background:var(--fs-solid); display:none; flex-direction:column; overflow:hidden; }
.poster-description strong { font-size:.92rem; font-weight:500; }
.poster-description p { font-size:.78rem; line-height:1.5; color:var(--muted); overflow:hidden; flex:1; }
.poster-hint { font-size:.75rem; color:var(--accent); }
.tile-preview { position:absolute; inset:0; z-index:3; background:#000; display:flex; align-items:center; justify-content:center; }
.preview-frame { border:0; width:100%; height:100%; pointer-events:none; }
.preview-loading { position:absolute; left:0; right:0; text-align:center; padding:1rem; font-size:.82rem; background:#000b; }
.revealed .poster-description { display:flex; }
.tile-remove { width:100%; padding:.6rem .4rem; font-size:.65rem; min-height:44px; margin-top:.6rem; }
.tile-remove .icon { width:1rem; height:1rem; }
.library-pagination { display:flex; justify-content:center; padding:2rem 0; }
.discovery-section { margin-bottom:2rem; }
.discovery-section h2,.continue-section h2 { font-size:1.3rem; font-weight:400; margin:0 0 1rem; }
.continue-section:empty { display:none; }
.continue-section { margin-bottom:2rem; }
.continue-section .poster-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
.continue-section .poster-art { aspect-ratio:16/9; }
.resume-progress { display:block; width:100%; height:4px; accent-color:var(--accent); margin-top:.5rem; }
.title-detail-panel { width:clamp(400px,45vw,1000px); }
.detail-art { width:100%; max-height:30vh; border-radius:var(--radius-poster); object-fit:cover; }
.detail-description { line-height:1.6; color:var(--muted); }
.detail-actions { display:flex; flex-wrap:wrap; gap:.8rem; margin:1.5rem 0; }
.episode-list,.filter-choices { display:flex; flex-direction:column; gap:.75rem; margin:1rem 0; }
.episode-list .control { justify-content:flex-start; }
.search-form,.profile-form { display:flex; flex-direction:column; gap:1rem; }
@media(min-width:2600px) { .poster-grid { grid-template-columns:repeat(8,minmax(0,1fr)); } }
@media(max-width:1400px) { .poster-grid { grid-template-columns:repeat(6,minmax(0,1fr)); } }
@media(max-width:800px) { .poster-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } .continue-section .poster-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:600px) { .poster-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem .65rem; } .continue-section .poster-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .title-detail-panel { width:100vw; } .poster-description { padding:.6rem; } .poster-description strong { font-size:.75rem; } .poster-description p { font-size:.65rem; } }
