.torrent-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.torrent-head p{margin:4px 0;color:var(--text-muted,#8d96a6);font-size:13px}.torrent-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.torrent-tools select{background:var(--bg-card,#191f29);color:var(--text-primary,#e8edf4);padding:9px;border:1px solid var(--border-color,#303746);border-radius:7px}.torrent-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,470px),1fr));gap:18px}.torrent-card{background:var(--bg-card,#191f29);border:1px solid var(--border-color,#303746);border-left:3px solid #38bdf8;border-radius:12px;padding:20px;min-width:0}.torrent-card.torrent-high{border-left-color:#fbbf24}.torrent-card header{display:flex;justify-content:space-between;gap:12px;align-items:start}.torrent-card h3{font-size:16px;overflow-wrap:anywhere;margin:7px 0}.torrent-priority{font-size:11px;color:#38bdf8;text-transform:uppercase;letter-spacing:.06em}.torrent-high .torrent-priority{color:#fbbf24}.torrent-state{font-size:11px;white-space:nowrap;padding:5px 8px;background:#6366f122;border-radius:5px}.torrent-reasons,.torrent-last{font-size:12px;line-height:1.6;color:var(--text-secondary,#a8b2c3)}.torrent-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px 0;border-top:1px solid #8390a31a;border-bottom:1px solid #8390a31a}.torrent-metrics strong{font-size:25px;display:block}.torrent-metrics span,.torrent-metrics small{font-size:11px;display:block;color:var(--text-secondary,#a8b2c3);margin-top:4px;line-height:1.5}.torrent-metrics small{opacity:.75}.torrent-comparison{font-size:12px;line-height:1.8;background:#6366f115;border-radius:7px;padding:10px 12px;margin:12px 0}.torrent-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.torrent-card button:disabled{opacity:.4;cursor:not-allowed}.torrent-card details{font-size:12px;line-height:1.7;color:var(--text-secondary,#a8b2c3)}.torrent-card summary{cursor:pointer}.torrent-card ol{padding-left:20px}.torrent-card li{padding:6px 0}.torrent-card li span{color:#8995a9;margin-right:5px}.torrent-empty{text-align:center;padding:60px 20px;color:var(--text-secondary,#a8b2c3);line-height:2;border:1px dashed #8390a333;border-radius:12px}#torrent-mode{font-size:12px;color:#a5b4fc;display:block;margin:8px 0 20px}@media(max-width:650px){.torrent-head{align-items:start;flex-direction:column}.torrent-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.torrent-card{padding:16px}.torrent-card header{flex-wrap:wrap}}
.torrent-buttons .btn-danger{background:#ba3c4c;color:#fff;border:1px solid #d84b5d;padding:7px 11px;border-radius:6px}.torrent-buttons .btn-ghost{padding:7px 11px;border:1px solid #8390a333;border-radius:6px}.torrent-buttons .btn-danger:hover:not(:disabled){background:#cc4355}
#tab-torrents{--bg-card:var(--bg2);--text-primary:var(--text);--text-secondary:var(--text2);--text-muted:var(--text2);--border-color:var(--border3)}[data-theme="light"] .torrent-priority{color:#0369a1}[data-theme="light"] .torrent-high .torrent-priority{color:#92400e}[data-theme="light"] #torrent-mode{color:#4338ca}
#tab-torrents,.torrent-card{color:var(--text)}[data-theme="light"] #tab-torrents{background:var(--bg);padding:16px;border-radius:12px}[data-theme="light"] .torrent-state{color:#4338ca}
