/* Cytotoxicity lesson. All rules scoped under .cyx-* */
.cyx-sc { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cyx-note { font-size: 12.5px; color: var(--faint); text-align: center; line-height: 1.35; max-width: 320px; }
.cyx-hero img { width: 280px; max-width: 100%; max-height: 34vh; object-fit: contain; display: block; filter: drop-shadow(0 16px 28px rgba(123,92,253,.3)); }
.cyx-svg { display: block; width: 100%; height: auto; }
.cyx-t { fill: var(--text); font: 700 13px var(--sans); text-anchor: middle; }
.cyx-t.dim { fill: var(--dim); font-weight: 600; font-size: 12.5px; }
.cyx-t.gold { fill: var(--gold); font-size: 13px; }
.cyx-t.red { fill: #FF8A8A; font-size: 13px; font-weight: 800; }
.cyx-t.start { text-anchor: start; }
.cyx-t.end { text-anchor: end; }

/* cells and dishes */
.cyx-dish { fill: rgba(234,227,215,.04); stroke: var(--line-strong); stroke-width: 2; }
.cyx-b { fill: rgba(169,155,255,.18); stroke: var(--violet-bright); stroke-width: 1.8; transition: opacity .5s, stroke .3s, fill .3s; }
.cyx-n { fill: rgba(169,155,255,.5); transition: opacity .5s; }
.cyx-cell.dead .cyx-b { stroke: #FF8A8A; fill: rgba(216,85,85,.08); stroke-dasharray: 3 3; opacity: .85; }
.cyx-cell.dead .cyx-n { opacity: 0; }
.cyx-cell.glow .cyx-b { stroke: var(--mint); fill: rgba(63,214,154,.14); }
.cyx-ring { fill: rgba(123,92,253,.16); stroke: rgba(169,155,255,.5); stroke-width: 1.5; }
.cyx-drop { fill: rgba(169,155,255,.8); }

/* dropper and syringe */
.cyx-dropper, .cyx-syr { cursor: pointer; }
.cyx-bulb { fill: var(--gold-deep); }
.cyx-glass { fill: rgba(169,155,255,.35); stroke: var(--line-strong); stroke-width: 1.5; }
.cyx-hit { fill: transparent; }
.cyx-dropper.live .cyx-bulb, .cyx-syr.live rect:first-child { animation: cyxPulse 1s ease-in-out 3; }
@keyframes cyxPulse { 50% { fill: var(--gold); } }
.cyx-quiet { opacity: .45; pointer-events: none; }

/* skin */
.cyx-flat { fill: rgba(166,159,147,.22); stroke: rgba(166,159,147,.55); stroke-width: 1.2; }
.cyx-sheen { fill: rgba(123,92,253,.22); }

/* nerve and muscle */
.cyx-axon { fill: none; stroke: var(--violet-bright); stroke-width: 7; stroke-linecap: round; opacity: .7; }
.cyx-term { fill: rgba(169,155,255,.35); stroke: var(--violet-bright); stroke-width: 2; }
.cyx-muscle { fill: rgba(216,85,85,.2); stroke: #FF8A8A; stroke-width: 2; }
.cyx-stripes line { stroke: rgba(255,138,138,.35); stroke-width: 2; }
.cyx-dot { fill: var(--mint); }
.cyx-tx { fill: var(--gold); }
.cyx-syr rect:first-child { fill: var(--surface); stroke: var(--gold); stroke-width: 2; }
.cyx-syr path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; }
.cyx-syr .cyx-hit { stroke: none; }

.cyx-day { font-size: 15px; font-weight: 700; color: var(--dim); }

@media (max-height: 700px) {
  .cyx-hero img { max-height: 30vh; }
}
