/* DNA profiling lesson. All rules scoped under .dnp-* */
.dnp-sc { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dnp-note { font-size: 12px; color: var(--faint); text-align: center; }
.dnp-hero img { display: block; width: 280px; max-width: 100%; max-height: 34vh; object-fit: contain; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(123, 92, 253, .35)); }

.dnp-copy { width: 100%; max-width: 360px; display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 8px; }
.dnp-who { font: 600 12px/1.2 var(--sans); color: var(--dim); }
.dnp-strand { display: flex; gap: 4px; }
.dnp-blk { width: 20px; height: 22px; border-radius: 5px; background: rgba(234, 227, 215, .06); border: 1px solid var(--line); transition: background .15s, color .15s; }
.dnp-blk.lit { background: rgba(169, 155, 255, .45); border-color: var(--violet-bright); }
.dnp-n { font: 700 20px/1 var(--sans); color: var(--gold); text-align: right; }

.dnp-table { width: 100%; max-width: 360px; display: grid; grid-template-columns: 62px repeat(4, minmax(0, 1fr)); gap: 4px; }
.dnp-c { font: 600 13px/1.1 var(--mono); color: var(--text); text-align: center; padding: 6px 2px; border-radius: 6px; background: rgba(234, 227, 215, .05); transition: opacity .2s, background .2s; }
.dnp-c.h { font-family: var(--sans); font-weight: 700; background: none; color: var(--dim); }
.dnp-c.lab { font-family: var(--sans); font-weight: 600; color: var(--dim); text-align: left; background: none; }
.dnp-c.crime { color: var(--gold); }
.dnp-c.dim { opacity: .18; }
.dnp-c.ok { background: rgba(63, 214, 154, .16); }
.dnp-c.bad { background: rgba(216, 85, 85, .3); }
.dnp-c.gone:not(.bad) { opacity: .3; }
.dnp-read { width: 100%; max-width: 360px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 600 13px/1.2 var(--sans); color: var(--dim); }
.dnp-read b { font-size: 17px; color: var(--gold); white-space: nowrap; }

@media (max-height: 700px) {
  .dnp-hero img { max-height: 150px; }
  .dnp-c { padding: 4px 1px; }
  .dnp-sc { gap: 8px; }
}
