/* Confirmed presentation repairs; preserve each article's original composition. */
html[data-pd-research="dns-abuse-enforcement-framework"] body .daf-layout {
  max-width: 1240px;
}
html[data-pd-research="dns-abuse-enforcement-framework"] body .pd-table-scroll > .daf-table {
  display: table !important;
  width: 100% !important;
  min-width: 640px !important;
  table-layout: auto;
  overflow: visible !important;
}
html[data-pd-research="dns-abuse-enforcement-framework"] body .daf-table :is(th, td) {
  white-space: normal !important;
  overflow-wrap: break-word;
}
html[data-pd-research="dns-abuse-enforcement-framework"] body .daf-table .daf-source-tag {
  display: inline-block;
  white-space: nowrap !important;
}
html[data-pd-research="dns-abuse-enforcement-framework"] body .daf-table code {
  white-space: normal;
  overflow-wrap: anywhere;
}

/* A code excerpt needs its line structure as well as readable comments. */
html[data-pd-research="namesilo-investigation"] body .inv-code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
html[data-pd-research="namesilo-investigation"] body .inv-code .cmt {
  color: #9aabba !important;
}
html[data-pd-research="namesilo-investigation"] body a.demo-link {
  color: #06231a !important;
}
html[data-pd-research="namesilo-investigation"] body a.demo-link:is(:hover, :focus-visible) {
  color: #06231a !important;
  background: #9bdfc4;
}
html[data-pd-research="namesilo-investigation"] body a.demo-link:focus-visible {
  outline: 2px solid #c3f3df;
  outline-offset: 4px;
}
html[data-pd-research="namesilo-investigation"] body .breaking-wrap .brk {
  background: #a42d37;
  color: #fff;
}
html[data-pd-research="namesilo-investigation"] body :is(.rel-card-badge, .tc-badge, .pr-reality) {
  color: #eea3aa;
}

/* Secondary labels remain quieter than headings without disappearing. */
html[data-pd-research="seed-security-score"] body .pes-ledger th {
  color: #aab9c8;
}
html[data-pd-research="seed-security-score"] body .pes-ledger :is(td, td small) {
  color: #a8b7c6;
}
html[data-pd-research="seed-security-score"] body .pes-ledger td::before {
  color: #94a7b8 !important;
}
html[data-pd-research="seed-security-score"] body .pes-checker fieldset label {
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
html[data-pd-research="seed-security-score"] body .pes-checker input[type="radio"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  flex: 0 0 16px;
  margin: 0 !important;
  accent-color: #9bdfc4;
}
html[data-pd-research="seed-security-score"] body :is(.pes-bit-field-label, .pes-bit-field-label span, .pes-checker-privacy, .pes-checker-help, .pes-victim-bar > span, .pes-byline, .pes-byline span, .pes-byline time, .pes-console-bar > span) {
  color: #91a4b7;
}
html[data-page="seo-hijack"] body :is(.method-card-desc, .comp-table caption) {
  color: #a0b1bd;
}
html[data-page="seo-hijack"] body .tag-blue { color: #92c8f4; }
html[data-page="seo-hijack"] body .tag-red { color: #eea2aa; }

/* One illustrated recommendation group is enough after the BUYTRX evidence. */
html[data-pd-research="buytrx-drainer-exposed"] body .pd-related-media {
  display: none;
}
html[data-pd-research="buytrx-drainer-exposed"] body .pd-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
html[data-pd-research="buytrx-drainer-exposed"] body .pd-related-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 96px;
  padding: 20px 40px 20px 0;
  border: 0;
  border-block-end: 1px solid #293c41;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
html[data-pd-research="buytrx-drainer-exposed"] body .pd-related-body {
  padding: 0;
}
html[data-pd-research="buytrx-drainer-exposed"] body .pd-related-title {
  font-size: 16px;
  line-height: 1.5;
}
html[data-pd-research="buytrx-drainer-exposed"] body .pd-related-card::after {
  content: "→";
  position: absolute;
  inset-inline-end: 4px;
  font-size: 22px;
  color: #9bdfc4;
}
html[data-pd-research="buytrx-drainer-exposed"] body .pd-related-card:is(:hover, :focus-visible) .pd-related-title {
  color: #9bdfc4;
  text-decoration: underline;
  text-underline-offset: 4px;
}
html[data-pd-research="buytrx-drainer-exposed"] body .pd-related-card:focus-visible {
  outline: 2px solid #9bdfc4;
  outline-offset: 4px;
}
@media screen and (max-width: 640px) {
  html[data-pd-research="buytrx-drainer-exposed"] body .pd-related-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Keep complete amounts readable in the six-column ICANN ledger. */
html[data-page="icann-cybercrime-economy-exposed"] body .pd-data-table:has(th:nth-child(6)) {
  min-width: 880px !important;
}
html[data-page="icann-cybercrime-economy-exposed"] body .pd-data-table td:not(:first-child) {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
@media screen and (max-width: 480px) {
  html[data-pd-research-review="nicenic-evidence"] body .stat-val {
    font-size: clamp(1.25rem, 6.8vw, 1.875rem) !important;
    letter-spacing: -.035em;
    white-space: nowrap;
  }
}

/* These evidence tables have real column headings. An unrelated card rule
   labelled their first two cells "Spend" and "Action / Save" on phones. */
@media screen and (max-width: 768px) {
  html:is([data-page="seo-hijack"], [data-page="enemy-one"], [data-page="phishing-anatomy"], [data-page="seed-flooding"]) body .comp-table {
    display: table !important;
    width: 100% !important;
    min-width: 640px !important;
    table-layout: auto;
    border-collapse: collapse;
    overflow: visible !important;
  }
  html:is([data-page="seo-hijack"], [data-page="enemy-one"], [data-page="phishing-anatomy"], [data-page="seed-flooding"]) body .comp-table caption {
    display: table-caption !important;
    width: auto !important;
    min-width: 0;
    padding: 14px 16px;
    text-align: start;
    white-space: normal;
    overflow-wrap: normal;
  }
  html:is([data-page="seo-hijack"], [data-page="enemy-one"], [data-page="phishing-anatomy"], [data-page="seed-flooding"]) body .comp-table thead {
    display: table-header-group !important;
    width: auto !important;
  }
  html:is([data-page="seo-hijack"], [data-page="enemy-one"], [data-page="phishing-anatomy"], [data-page="seed-flooding"]) body .comp-table tbody {
    display: table-row-group !important;
    width: auto !important;
  }
  html:is([data-page="seo-hijack"], [data-page="enemy-one"], [data-page="phishing-anatomy"], [data-page="seed-flooding"]) body .comp-table tr {
    display: table-row !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: none !important;
    overflow: visible !important;
    clip: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    white-space: normal !important;
  }
  html:is([data-page="seo-hijack"], [data-page="enemy-one"], [data-page="phishing-anatomy"], [data-page="seed-flooding"]) body .comp-table :is(th, td) {
    display: table-cell !important;
    position: static !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 13px 16px !important;
    text-align: start !important;
    vertical-align: top;
    border-bottom: 1px solid rgba(157,196,190,.17) !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  html:is([data-page="seo-hijack"], [data-page="enemy-one"], [data-page="phishing-anatomy"], [data-page="seed-flooding"]) body .comp-table td::before {
    display: none !important;
    content: none !important;
  }
}
