/* V5.1.4: independent, compact chat results. Does not style advanced search. */
.tsugi-shell .tsugi-results{display:flex;flex-direction:column;gap:0;background:var(--panel,#15151b);border:1px solid var(--line,#292932);border-radius:12px;overflow:hidden;min-width:0;}
.tsugi-shell .tsugi-results .tsugi-compact-row{display:grid;grid-template-columns:64px minmax(0,1fr) 32px;align-items:start;gap:14px;padding:12px 14px;margin:0;min-width:0;min-height:0;height:auto;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--text,#f5f5f7);font-size:14px;}
.tsugi-shell .tsugi-compact-row+.tsugi-compact-row{border-top:1px solid var(--line,#292932);}
.tsugi-shell .tsugi-compact-row:hover{background:rgba(255,255,255,.025);}
.tsugi-shell .tsugi-cover{display:block;position:relative;box-sizing:border-box;width:64px;height:96px;aspect-ratio:2/3;overflow:hidden;border-radius:6px;background:#24242a;align-self:start;}
.tsugi-shell .tsugi-cover img,.tsugi-shell .tsugi-cover .poster{display:block;width:100%!important;height:100%!important;max-width:none;max-height:none;object-fit:cover;object-position:center;border-radius:0;margin:0;}
.tsugi-shell .tsugi-cover.tsugi-no-cover{display:grid;place-items:center;text-align:center;color:var(--muted,#a5a5b0);font-size:10px;line-height:1.2;padding:4px;}
.tsugi-shell .tsugi-result-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px;}
.tsugi-shell .tsugi-result-title{font:inherit;font-weight:650;font-size:15px;line-height:1.35;margin:0;padding:0;letter-spacing:normal;color:inherit;overflow-wrap:anywhere;}
.tsugi-shell .tsugi-result-title a{color:inherit;text-decoration:none;}
.tsugi-shell .tsugi-result-title a:hover{text-decoration:underline;text-underline-offset:3px;}
.tsugi-shell .tsugi-result-meta{font-size:11px;line-height:1.35;color:var(--muted,#a5a5b0);overflow-wrap:anywhere;}
.tsugi-shell .tsugi-result-reason{font-size:13px;line-height:1.55;margin:2px 0 0;padding:0;color:var(--text,#dedee5);opacity:.9;overflow-wrap:anywhere;white-space:normal;}
.tsugi-shell .tsugi-result-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;min-width:0;margin-top:2px;}
.tsugi-shell .tsugi-view-link{font-size:12px;font-weight:550;text-decoration:none;color:var(--tsugi,#b5a1ff);min-height:28px;display:inline-flex;align-items:center;gap:5px;}
.tsugi-shell .tsugi-compact-row .tsugi-hide{font:inherit;font-size:12px;line-height:1.3;background:transparent;border:0;padding:6px 0;min-height:28px;color:var(--muted,#a5a5b0);cursor:pointer;align-self:auto;}
.tsugi-shell .tsugi-compact-row .tsugi-hide:hover,.tsugi-shell .tsugi-view-link:hover{color:var(--tsugi,#b5a1ff);text-decoration:underline;text-underline-offset:3px;}
.tsugi-shell .tsugi-result-save{display:flex;justify-content:center;align-items:flex-start;min-width:0;}
.tsugi-shell .tsugi-result-save button{display:grid;place-items:center;width:30px;height:30px;min-width:0;min-height:0;padding:5px;border:0;background:transparent;border-radius:6px;box-shadow:none;}
.tsugi-shell .tsugi-result-save button:hover{background:rgba(255,255,255,.08);}
.tsugi-shell .tsugi-result-save svg{width:17px;height:17px;}
.tsugi-shell .tsugi-old{opacity:1;color:var(--text,#f5f5f7);}
.tsugi-shell .tsugi-old summary{font-size:12px;color:var(--muted,#a5a5b0);padding:8px 0;}
.tsugi-shell .tsugi-old[open] .tsugi-results{margin-top:4px;}
.tsugi-shell .tsugi-results>p{margin:12px 14px;}
.tsugi-shell .tsugi-result a:focus-visible,.tsugi-shell .tsugi-result button:focus-visible{outline:2px solid var(--tsugi,#b5a1ff);outline-offset:2px;}
@media(max-width:600px){.tsugi-shell .tsugi-results .tsugi-compact-row{grid-template-columns:52px minmax(0,1fr) 26px;gap:10px;padding:10px;}.tsugi-shell .tsugi-cover{width:52px;height:78px;}.tsugi-shell .tsugi-result-title{font-size:14px;}.tsugi-shell .tsugi-result-reason{font-size:12px;line-height:1.5;}.tsugi-shell .tsugi-result-save button{width:26px;height:32px;}.tsugi-shell .tsugi-result-actions{gap:4px 12px;}.tsugi-shell .tsugi-view-link,.tsugi-shell .tsugi-compact-row .tsugi-hide{min-height:34px;}}
