.thymus-hero {
  background:
    radial-gradient(circle at 88% 20%, rgba(188, 106, 98, 0.12), transparent 24rem),
    var(--color-surface-soft);
}

.thymus-path span {
  border-color: rgba(139, 88, 96, 0.22);
}

.thymus-visual {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
  background:
    radial-gradient(circle at 22% 22%, rgba(89, 42, 62, 0.18) 0 3px, transparent 4px),
    radial-gradient(circle at 76% 68%, rgba(89, 42, 62, 0.14) 0 3px, transparent 4px),
    #f2e8e7;
}

.thymus-lobule {
  position: absolute;
  border: 2px solid rgba(99, 48, 68, 0.65);
  border-radius: 46% 54% 48% 52%;
  background: #8d5063;
  box-shadow: inset 0 0 0 22px #6f354d;
}

.thymus-lobule::after {
  position: absolute;
  inset: 27% 24%;
  border-radius: 48%;
  background: #d6a5a4;
  content: "";
}

.thymus-lobule--one {
  top: 35px;
  left: 9%;
  width: 170px;
  height: 155px;
}

.thymus-lobule--two {
  top: 53px;
  right: 10%;
  width: 185px;
  height: 145px;
  transform: rotate(5deg);
}

.thymus-septum {
  position: absolute;
  top: 16px;
  bottom: 28px;
  left: 50%;
  width: 8px;
  border-radius: 999px;
  background: rgba(108, 72, 72, 0.36);
  transform: rotate(9deg);
}

.thymus-focus {
  position: absolute;
  z-index: 3;
  top: 70px;
  left: 23%;
  width: 52px;
  height: 52px;
  border: 3px solid #e5b169;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(229, 177, 105, 0.2);
}

.thymus-visual[data-landmark="capsule_septa_lobules"] .thymus-focus {
  top: 28px;
  left: 8%;
  width: 180px;
  height: 165px;
  border-radius: 45%;
}

.thymus-visual[data-landmark="cortex"] .thymus-focus {
  top: 47px;
  left: 13%;
  width: 144px;
  height: 126px;
}

.thymus-visual[data-landmark="corticomedullary_junction"] .thymus-focus {
  top: 84px;
  left: 24%;
  width: 76px;
  height: 65px;
}

.thymus-visual[data-landmark="medulla"] .thymus-focus {
  top: 92px;
  left: 28%;
  width: 62px;
  height: 52px;
}

.thymus-visual[data-landmark="epithelial_reticular_cells"] .thymus-focus {
  top: 106px;
  left: 68%;
  width: 48px;
  height: 48px;
}

.thymus-visual[data-landmark="hassall_corpuscles_cysts"] .thymus-focus {
  top: 118px;
  left: 73%;
  width: 32px;
  height: 32px;
}

.thymus-visual .placeholder-label {
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  z-index: 4;
}

.evidence-lens-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.evidence-lens {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  min-height: 150px;
  padding: 1rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-ink);
  text-align: left;
  cursor: pointer;
}

.evidence-lens:hover,
.evidence-lens:focus-visible {
  border-color: var(--color-primary);
}

.evidence-lens.is-visited {
  background: var(--color-primary-soft);
  border-color: rgba(24, 94, 91, 0.42);
}

.evidence-lens__number {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

.thymus-builder-result {
  min-height: 210px;
}

@media (max-width: 960px) {
  .evidence-lens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .thymus-lobule--one {
    left: 4%;
  }

  .thymus-lobule--two {
    right: 4%;
  }

  .evidence-lens-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .thymus-visual {
    min-height: 210px;
  }

  .thymus-lobule--one {
    width: 132px;
    height: 126px;
  }

  .thymus-lobule--two {
    width: 140px;
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thymus-focus {
    transition: none;
  }
}
