/* Linkler */
.lk-add { display: grid; grid-template-columns: 1fr 200px auto; gap: 8px; margin-bottom: 12px; }
.lk-add .search { padding-left: 12px; }
.lk-list { display: grid; gap: 8px; }
.lk-item { display: grid; grid-template-columns: 132px 1fr auto; gap: 14px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.lk-item:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.lk-thumb { display: grid; place-items: center; width: 132px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--panel-3); font-size: 28px; }
.lk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lk-body { min-width: 0; }
.lk-title { display: block; color: var(--text); font-weight: 700; font-size: 15px; line-height: 1.35; margin-bottom: 4px; overflow-wrap: anywhere; }
.lk-item.opened .lk-title { color: var(--muted); font-weight: 500; }
.lk-body p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lk-note { margin-top: 6px; font-size: 13px; background: var(--panel-2); border-radius: 8px; padding: 6px 9px; white-space: pre-wrap; overflow-wrap: anywhere; }
.lk-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.lk-tags button { background: none; cursor: pointer; }
.lk-tags button:hover { color: var(--accent); border-color: var(--accent); }
.lk-kind { font-weight: 700; }
.lk-kind.youtube { color: #ff3b3b; } .lk-kind.instagram { color: #e1306c; } .lk-kind.tiktok { color: #25f4ee; }
.lk-kind.reddit { color: #ff5700; } .lk-kind.spotify { color: #1db954; } .lk-kind.x, .lk-kind.github { color: var(--text); }
.lk-new { color: var(--accent); font-weight: 700; }
.lk-actions { display: flex; gap: 2px; }
.lk-actions button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 15px; padding: 3px 6px; border-radius: 6px; }
.lk-actions button:hover { color: var(--text); background: var(--panel-2); }
.lk-actions button.on { color: var(--star); }
.lk-form { display: grid; gap: 12px; }
.lk-form label { display: grid; gap: 5px; font-size: 12px; color: var(--muted); }
.lk-form input, .lk-form textarea { padding-left: 12px; font: inherit; color: var(--text); }
.lk-form textarea { min-height: 110px; resize: vertical; padding: 10px 12px; }
.lk-form .frow { display: flex; gap: 8px; flex-wrap: wrap; }
