/* spam/spam.css - Spam Detective look (uses the colours of pil_seo_brand.css) */
.sd-search { position: relative; display: flex; gap: 8px; max-width: 640px; }
.sd-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9aa0a6; z-index: 1; }
.sd-search input { padding: .8rem 1rem .8rem 2.5rem; border-radius: 14px; border: 0; font-size: 1rem; }
.sd-search .btn { border-radius: 14px; padding: 0 1.4rem; white-space: nowrap; }
.sd-tabs, .sd-subtabs { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 6px; margin: 0; }
.sd-tabs { background: #fff; border: 1px solid var(--pb-line); border-radius: 16px; box-shadow: 0 8px 24px rgba(16,24,40,.05); }
.sd-subtabs { padding: 0; }
.sd-tabs button, .sd-subtabs button { border: 0; background: transparent; border-radius: 10px; padding: .5rem .9rem; font-weight: 600; color: #4b5563; font-size: .9rem; white-space: nowrap; }
.sd-tabs button.active, .sd-subtabs button.active { background: var(--pb-ink); color: #fff; }
.sd-tabs button:hover:not(.active), .sd-subtabs button:hover:not(.active) { background: #f3f4f6; }
.sd-stat { background: #fff; border: 1px solid var(--pb-line); border-radius: 14px; padding: 12px 14px; height: 100%; }
.sd-stat .lbl { font-size: .7rem; text-transform: uppercase; letter-spacing: .5px; color: var(--pb-muted); font-weight: 700; }
.sd-stat .val { font-size: 1.35rem; font-weight: 800; }
.sd-stat .sub { font-size: .78rem; color: var(--pb-muted); }
.sd-bar { display: grid; grid-template-columns: minmax(0, 1fr) 90px 30px; gap: 8px; align-items: center; font-size: .85rem; margin-bottom: 6px; }
.sd-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-bar div { background: #eef0f3; border-radius: 6px; height: 8px; overflow: hidden; }
.sd-bar i { display: block; height: 100%; background: var(--pb-red); border-radius: 6px; }
.sd-bar b { text-align: right; }
.sd-list li a, .sd-mine li { display: block; padding: 12px 14px; border: 1px solid var(--pb-line); border-radius: 12px; margin-bottom: 8px; text-decoration: none; background: #fff; }
.sd-list li a:hover { border-color: var(--pb-ink); }
.sd-count { font-size: 1.4rem; font-weight: 800; color: var(--pb-red); line-height: 1; }
.sd-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-choice .btn { border: 2px solid var(--pb-line); border-radius: 12px; font-weight: 600; background: #fff; }
.sd-choice .btn-check:checked + .btn { border-color: var(--pb-red); background: #fff5f5; color: var(--pb-ink); }
.sd-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--pb-line); border-radius: 999px; padding: .3rem .75rem; margin: 0 6px 6px 0; font-size: .85rem; background: #f9fafb; }
.sd-letter { font-size: .9rem; }
.sd-guide li { margin-bottom: 6px; }
.min-w-0 { min-width: 0; }
@media (max-width: 575px) {
  .sd-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sd-tabs::-webkit-scrollbar { display: none; }
  .sd-search .btn { padding: 0 1rem; }
  .sd-choice .btn { flex: 1 1 auto; }
}
.sd-cta { border: 2px solid #ffd6d6; }
