.pd-detect-card { position: relative; display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.pd-detect-card:focus-visible { outline: 2px solid var(--pd-ui-signal, #79d4b8); outline-offset: 3px; }
.pd-detect-card[data-risk="caution"] { --pd-card-risk: var(--pd-caution, #f0b429); --threat-color: var(--pd-caution, #f0b429); }
.pd-detect-card[data-risk="high"] { --pd-card-risk: var(--pd-warn, #ff8a3d); --threat-color: var(--pd-warn, #ff8a3d); }
.pd-detect-card[data-risk="critical"] { --pd-card-risk: var(--pd-danger, #ff3b4e); --threat-color: var(--pd-danger, #ff3b4e); }
.pd-detect-card[data-risk="unknown"] { --pd-card-risk: var(--pd-ui-muted, #8b9e97); --threat-color: var(--pd-ui-muted, #8b9e97); }
.pd-detect-thumb { position: relative; flex: 0 0 88px; width: 88px; height: 56px; margin: 0; overflow: hidden; border: 1px solid var(--pd-ui-line, #365147); border-radius: 7px; background: var(--pd-ui-bg, #0a0f14); }
.pd-detect-thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--pd-ui-muted, #8b9e97); }
.pd-detect-thumb-fallback svg { width: 24px; height: 24px; }
.pd-detect-thumb > .pd-detect-image { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pd-detect-image[hidden], .pd-detect-brand-icon[hidden] { display: none; }
.pd-detect-body { flex: 1; min-width: 0; }
.pd-detect-domain { display: block; color: var(--pd-ui-text, #e8f6f1); font: 600 13px/1.5 var(--pd-ui-mono, monospace); overflow-wrap: anywhere; }
.pd-detect-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 6px; color: var(--pd-ui-secondary, #8b9e97); font: 400 12px/1.5 var(--pd-ui-font, sans-serif); }
.pd-detect-brand-icon { flex: 0 0 14px; width: 14px; height: 14px; object-fit: contain; }
.pd-detect-meta { margin-top: 4px; color: var(--pd-ui-muted, #8b9e97); font: 400 11px/1.6 var(--pd-ui-font, sans-serif); overflow-wrap: anywhere; }
.pd-detect-card > .pd-detection-open { flex: 0 0 18px; color: var(--pd-ui-muted, #8b9e97); }
.pd-detect-card > .pd-detection-open svg { display: block; width: 18px; height: 18px; }
.pd-detect-card .pd-detection-card__top { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 0 0 6px; }
.pd-detect-card .pd-detection-time { margin-inline-start: auto; font-size: 10px; white-space: nowrap; }
.pd-detect-card .pd-detect-score { color: var(--pd-card-risk); font: 500 10px/1.6 var(--pd-ui-font, sans-serif); }
.pd-detect-card:nth-child(6n+1) { --card-i: 0; }
.pd-detect-card:nth-child(6n+2) { --card-i: 1; }
.pd-detect-card:nth-child(6n+3) { --card-i: 2; }
.pd-detect-card:nth-child(6n+4) { --card-i: 3; }
.pd-detect-card:nth-child(6n+5) { --card-i: 4; }
.pd-detect-card:nth-child(6n+6) { --card-i: 5; }
@layer pd-quality {
  html body main .detection-card.pd-detection-card.pd-detect-card {
    display: flex !important; flex-direction: row !important; align-items: center !important; gap: 14px !important;
    padding: 18px !important; min-height: 140px !important;
  }
  html body main .pd-detect-card .pd-detection-domain { margin: 0 !important; font-size: 13px !important; line-height: 1.5 !important; white-space: normal !important; }
  html body main .pd-detect-card .pd-detection-meta { margin-top: 6px !important; justify-content: flex-start !important; }
  html body main .pd-detect-card[data-risk] .pd-detect-score { color: var(--pd-card-risk) !important; }
}
@media (max-width: 479px) {
  .pd-detect-thumb { flex-basis: 64px; width: 64px; height: 48px; }
  @layer pd-quality {
    html body main .detection-card.pd-detection-card.pd-detect-card { gap: 10px !important; padding: 16px 12px !important; }
  }
}
