.cell-motion {
  position: relative;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(151, 218, 221, .22);
  border-radius: 22px;
  background: #061c29;
  isolation: isolate;
}
.cell-motion__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 0;
  color: #eaf8f8;
}
.cell-motion__heading strong {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
}
.cell-motion__scale {
  color: #a8c3cd;
  font-size: 11px;
  text-align: right;
}
.cell-motion__scene {
  position: relative;
  height: clamp(218px, 27vw, 290px);
}
.cell-motion__canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.cell-motion__outside,
.cell-motion__inside {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: #d5eaf1;
  text-shadow: 0 1px 10px #031724;
}
.cell-motion__outside {
  top: 10%;
  left: 7%;
}
.cell-motion__inside {
  top: 42%;
  left: 66%;
  width: 42%;
  align-items: center;
  transform: translateX(-50%);
  text-align: center;
}
.cell-motion__outside span,
.cell-motion__inside span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .035em;
}
.cell-motion__inside span {
  color: #dcfff6;
}
.cell-motion__outside strong,
.cell-motion__inside strong {
  font-size: clamp(19px, 2.5vw, 28px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  line-height: 1.15;
}
.cell-motion__inside small {
  color: #c0e5df;
  font-size: 10px;
  line-height: 1.2;
}
.cell-motion__caption {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 41px;
  margin: 0 18px;
  padding: 10px 0 9px;
  border-top: 1px solid rgba(131, 194, 208, .16);
  color: #d7f6f0;
  font-size: 12px;
  line-height: 1.5;
}
.cell-motion__direction {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(114, 230, 211, .1);
  color: #91eede;
  font-size: 19px;
}
.cell-motion__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  padding: 0 18px 15px;
  color: #9db9c4;
  font-size: 10px;
  line-height: 1.45;
}
.cell-motion__legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.cell-motion__legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8fdff;
  box-shadow: 0 0 6px rgba(172, 242, 254, .5);
}
.cell-motion__legend i.solute {
  border-radius: 2px;
  background: #ffcda0;
  box-shadow: none;
}
.cell-motion__legend .cell-motion__symbolic {
  flex-basis: 100%;
  font-size: 10px;
}
@media (max-width: 760px) {
  .cell-motion { margin-top: 16px; border-radius: 17px; }
  .cell-motion__heading { padding: 13px 13px 0; }
  .cell-motion__heading strong { font-size: 12px; }
  .cell-motion__scale { max-width: 100px; font-size: 10px; }
  .cell-motion__scene { height: 216px; }
  .cell-motion__outside { top: 9%; left: 6%; }
  .cell-motion__inside { top: 43%; }
  .cell-motion__outside span, .cell-motion__inside span { font-size: 10px; }
  .cell-motion__outside strong, .cell-motion__inside strong { font-size: 20px; }
  .cell-motion__caption { margin-inline: 13px; font-size: 11px; }
  .cell-motion__legend { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .cell-motion * { animation: none !important; transition: none !important; }
}
