/* Forensic entomology lesson. All rules scoped under .fen-* */
.fen-sc { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fen-note { font-size: 12px; color: var(--faint); text-align: center; max-width: 300px; }
.fen-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)); }

.fen-clock { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 8px; }
.fen-read { display: flex; justify-content: space-between; align-items: baseline; font: 600 14px/1.2 var(--sans); color: var(--dim); }
.fen-read b { font-size: 22px; color: var(--gold); }
.fen-track { position: relative; height: 44px; border-radius: 10px; background: rgba(234, 227, 215, .05); border: 1px solid var(--line); overflow: hidden; }
.fen-bar { display: flex; height: 100%; transition: width .12s linear; }
.fen-seg { display: flex; align-items: center; justify-content: center; height: 100%; overflow: hidden; border-right: 2px solid #0A0E1A; transition: width .12s linear; }
.fen-seg span { font: 700 12px/1 var(--sans); color: #0A0E1A; white-space: nowrap; }
.fen-seg.s0 { background: #E9D9A8; }
.fen-seg.s1 { background: #E3C277; }
.fen-seg.s2 { background: var(--gold); }
.fen-ruler { position: relative; height: 16px; }
.fen-ruler span { position: absolute; top: 0; transform: translateX(-50%); font: 600 12px/1 var(--sans); color: var(--faint); white-space: nowrap; }
.fen-ruler span:first-child { transform: none; }

.fen-line { width: 100%; max-width: 360px; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: start; gap: 4px; }
.fen-pt { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 62px; }
.fen-pt i { width: 16px; height: 16px; border-radius: 50%; background: var(--gold); }
.fen-pt span { font: 600 12px/1.2 var(--sans); color: var(--text); text-align: center; }
.fen-gap { height: 16px; display: flex; align-items: center; justify-content: center; border-top: 2px solid var(--line-strong); margin-top: 8px; padding-top: 18px; }
.fen-gap.q { border-top-style: dashed; }
.fen-gap b { font: 700 14px/1.2 var(--sans); color: var(--gold); text-align: center; }
.fen-gap.q b { color: var(--violet-bright); }

@media (max-height: 700px) {
  .fen-hero img { max-height: 150px; }
  .fen-sc { gap: 10px; }
}

.fen-jar { width: 100%; max-width: 360px; display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px; }
.fen-pick { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px; min-height: 96px; padding: 12px 6px 10px; border-radius: 14px; background: rgba(234, 227, 215, .05); border: 1.5px solid var(--line-strong); color: var(--text); cursor: pointer; transition: opacity .3s, border-color .2s; }
.fen-art { flex: 1; display: flex; align-items: center; }
.fen-cap { font: 600 13px/1.2 var(--sans); color: var(--dim); text-align: center; }
.fen-grub { height: auto; max-width: 100%; }
.fen-grub ellipse { fill: #EFE4C8; stroke: #B9A982; stroke-width: 1; }
.fen-pick.right { border-color: var(--mint); }
.fen-pick.wrong { border-color: var(--red); }
.fen-pick.off { opacity: .35; }
