/* 蜘蛛抓取分析 widget - 可复用，任意工具页/静态页引入即可 */
.spa-widget{margin-top:8px;}
.spa-summary{display:flex;flex-wrap:wrap;gap:12px;margin:6px 0 14px;}
.spa-stat{flex:1 1 140px;min-width:130px;background:linear-gradient(135deg,#0f766e,#10b981);color:#fff;border-radius:10px;padding:12px 14px;box-shadow:0 2px 8px rgba(15,118,110,.18);}
.spa-stat .num{display:block;font-size:24px;font-weight:700;line-height:1.2;}
.spa-stat .lbl{display:block;font-size:12px;opacity:.92;margin-top:2px;}
.spa-chart{display:flex;align-items:flex-end;gap:2px;height:90px;padding:6px 0 2px;border-bottom:1px solid #e5e7eb;overflow:hidden;}
.spa-bar{flex:1 1 auto;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;min-width:3px;}
.spa-bar .fill{width:100%;background:#10b981;border-radius:2px 2px 0 0;min-height:2px;transition:height .3s;}
.spa-bar:hover .fill{background:#0f766e;}
.spa-chart-x{display:flex;justify-content:space-between;font-size:10px;color:#9ca3af;margin-top:2px;}
.spa-bots{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.spa-bot{background:rgba(15,118,110,.08);color:#0f766e;border:1px solid rgba(15,118,110,.18);border-radius:999px;padding:4px 12px;font-size:13px;}
.spa-bot b{font-weight:700;}
.spa-meta{font-size:12px;color:#9ca3af;margin-top:10px;}
.spa-loading,.spa-empty{padding:18px;text-align:center;color:#9ca3af;font-size:14px;}
.spa-note{font-size:12px;color:#6b7280;margin-top:6px;}

/* 独立区块外壳（自带样式，不依赖各页面 .card） */
.spider-analysis{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:22px;margin-bottom:20px;box-shadow:0 1px 3px rgba(0,0,0,.04);}
.spider-analysis h2{font-size:20px;color:#0f766e;margin-bottom:12px;border-left:4px solid #10b981;padding-left:10px;}
.spider-analysis .hint{font-size:13px;color:#6b7280;margin-bottom:10px;}
.spider-analysis .cta{font-size:14px;margin-top:6px;}
.spider-analysis .cta a{color:#0f766e;font-weight:600;text-decoration:none;}
.spider-analysis .cta a:hover{text-decoration:underline;}
