/* Стили экрана library: правила начинаются с .app[data-screen="library"] (K4). Источник: C-Main:133-148. */
.app[data-screen="library"] .vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.app[data-screen="library"] .search{display:flex;align-items:center;gap:10px;height:48px;padding:0 16px;border-radius:16px;background:var(--fill);color:var(--mute)}
.app[data-screen="library"] .search:focus-within{outline:2px solid var(--acc);outline-offset:2px}
.app[data-screen="library"] .search svg{width:20px;height:20px}
.app[data-screen="library"] .search input{flex:1;align-self:stretch;min-width:0;border:0;background:transparent;font:inherit;font-size:16px;color:var(--text);outline:none}
.app[data-screen="library"] .search input::placeholder{color:var(--mute)}
.app[data-screen="library"] .seg{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0 4px}
.app[data-screen="library"] .sec-list{margin-top:8px}
.app[data-screen="library"] .row{position:relative;display:flex;gap:14px;padding:16px;text-decoration:none;color:var(--text);background:var(--card)}
.app[data-screen="library"] .row+.row::before{content:"";position:absolute;top:0;left:74px;right:0;height:1px;background:var(--line)}
.app[data-screen="library"] .row:hover{background:var(--hover);color:var(--text)}
.app[data-screen="library"] .rbody{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}
.app[data-screen="library"] .rt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:16px;font-weight:700;line-height:1.3;letter-spacing:var(--trk)}
.app[data-screen="library"] .rs{font-size:14px;line-height:1.45;color:var(--text2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.app[data-screen="library"] .rmeta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin-top:3px}
.app[data-screen="library"] .rmeta .tp{height:26px;padding:0 10px;font-size:12px}
.app[data-screen="library"] .rm{font-size:13px;color:var(--mute)}
.app[data-screen="library"] .empty{padding:28px 16px;text-align:center;font-size:15px;color:var(--mute)}
