/* Ad Blocker Test. Base layout comes from /zone-tools/zone-tools.css.
   The bait boxes are styled through .abt-bait only, never through the ad class names,
   so nothing here competes with a blocker's own hiding rules. */

.abt-summary {
  margin: 0 0 1.4rem; padding: 1.2rem 1.3rem; border-radius: 12px;
  border: 1px solid var(--border); border-left: 5px solid var(--neutral);
  background: var(--surface, #fff);
}
.abt-summary:focus { outline: none; }
.abt-summary.is-good { border-left-color: var(--ok); }
.abt-summary.is-mixed { border-left-color: var(--warn); }
.abt-summary.is-bad { border-left-color: var(--fix); }
.abt-summary.is-running { border-left-color: var(--accent); }
.abt-verdict { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.6rem); line-height: 1.25; }
.abt-count { margin: 0.25rem 0 0; font-weight: 600; font-size: 0.92rem; }
.abt-advice, .abt-detector { margin: 0.5rem 0 0; font-size: 0.88rem; line-height: 1.6; color: var(--prose-muted, #3a3a40); max-width: 68ch; }
.abt-detector:empty { display: none; }

.abt-scores { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.abt-scores li { font-size: 0.8rem; line-height: 1.4; }
.abt-scores strong { display: block; font-size: 0.82rem; }
.abt-scores meter { display: block; width: 100%; height: 0.55rem; margin: 0.35rem 0 0.2rem; }
.abt-scores span { color: var(--muted); }

.abt-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 1rem 0 0; }
.abt-actions .zt-status { margin: 0; }

/* Results */
.abt-group { margin: 1.6rem 0 0; }
.abt-group h3 { margin: 0; font-size: 1.05rem; }
.abt-group > p { margin: 0.15rem 0 0.6rem; font-size: 0.84rem; color: var(--muted); line-height: 1.55; }
.abt-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 10px; background: var(--surface, #fff); overflow: hidden; }
.abt-row { display: flex; gap: 0.8rem; align-items: center; justify-content: space-between; padding: 0.65rem 1rem; }
.abt-row + .abt-row { border-top: 1px solid var(--border); }
.abt-row-main { display: grid; gap: 0.1rem; min-width: 0; }
.abt-row-name { font-size: 0.9rem; font-weight: 600; }
.abt-row-meta { font-size: 0.76rem; color: var(--muted); overflow-wrap: anywhere; }
.abt-row-meta code { font-size: 0.74rem; }
.abt-row-why { font-size: 0.78rem; color: var(--warn); }
.abt-badge {
  flex: none; padding: 0.1rem 0.7rem; border-radius: 999px; border: 1px solid currentColor;
  font-size: 0.74rem; font-weight: 600; white-space: nowrap;
}
.abt-badge.is-blocked { color: var(--ok); background: var(--ok-bg); }
.abt-badge.is-allowed { color: var(--fix); background: var(--err-bg); }
.abt-badge.is-unknown, .abt-badge.is-wait { color: var(--muted); background: var(--neutral-bg); }

/* Bait shelf: real elements a cosmetic filter can hide. */
.abt-shelf { margin: 2rem 0 0; }
.abt-shelf h2 { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 0.2rem; }
.abt-shelf > p { margin: 0 0 0.8rem; font-size: 0.84rem; color: var(--muted); line-height: 1.55; max-width: 68ch; }
.abt-baits { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.abt-bait {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  flex: 1 1 10rem; min-height: 5.5rem; padding: 0.6rem;
  border: 2px dashed var(--border-accent); border-radius: 10px; background: var(--badge-bg, #eef4fc);
  font-size: 0.78rem; line-height: 1.4; color: var(--muted);
}
.abt-bait strong { color: var(--text); font-size: 0.82rem; }
.abt-bait code { margin-top: 0.2rem; font-size: 0.72rem; }
.abt-bait.is-wide { flex-basis: 100%; min-height: 4.5rem; }
.abt-bait.is-tall { min-height: 9rem; }

@media (max-width: 640px) {
  .abt-scores { grid-template-columns: minmax(0, 1fr); }
  .abt-row { align-items: flex-start; }
}
