/* 词性高亮样式 */
.adhd-n {
  color: #0066cc !important;
  background-color: rgba(0, 102, 204, 0.1) !important;
  border-radius: 2px !important;
  padding: 1px 2px !important;
  margin: 0 1px !important;
}

.adhd-v {
  color: #cc0000 !important;
  background-color: rgba(204, 0, 0, 0.1) !important;
  border-radius: 2px !important;
  padding: 1px 2px !important;
  margin: 0 1px !important;
}

.adhd-a {
  color: #009933 !important;
  background-color: rgba(0, 153, 51, 0.1) !important;
  border-radius: 2px !important;
  padding: 1px 2px !important;
  margin: 0 1px !important;
}

/* 确保样式优先级 */
.adhd-processed span {
  font-family: inherit !important;
  font-weight: inherit !important;
  text-decoration: inherit !important;
}

/* 悬停效果 */
.adhd-n:hover {
  background-color: rgba(0, 102, 204, 0.2) !important;
}

.adhd-v:hover {
  background-color: rgba(204, 0, 0, 0.2) !important;
}

.adhd-a:hover {
  background-color: rgba(0, 153, 51, 0.2) !important;
}

.adhd-comp {
  color: #9966cc !important;
  background-color: rgba(153, 102, 204, 0.1) !important;
  border-radius: 2px !important;
  padding: 1px 2px !important;
  margin: 0 1px !important;
}

.adhd-comp:hover {
  background-color: rgba(153, 102, 204, 0.2) !important;
}

/* 其他词性样式 - 当前支持名词、动词、形容词、比较级/最高级四种类型的高亮 */
/* 未来扩展其他词性支持时，可以在此添加样式，例如：
.adhd-adv {
  color: #ff6b6b;
  background-color: rgba(255, 107, 107, 0.1);
}

.adhd-adv:hover {
  background-color: rgba(255, 107, 107, 0.2);
}

.adhd-prep {
  color: #4ecdc4;
  background-color: rgba(78, 205, 196, 0.1);
}

.adhd-prep:hover {
  background-color: rgba(78, 205, 196, 0.2);
}
*/

/* 确保不影响页面布局 */
.adhd-processed {
  display: inline !important;
}