/* 全局行距调整 */
body {
    line-height: 1.6; /* 增加整体行高，减少拥挤感 */
}

/* 词条行距 */
.entry {
    line-height: 1.8; /* 词条标题增加行高 */
    margin-bottom: 0.8em; /* 增加词条底部间距 */
}

/* 中文释义行距 */
.cn {
    line-height: 1.6; /* 中文解释增加行高 */
    margin-bottom: 0.8em; /* 增加段落间距 */
}

/* 示例区块间距 */
div.setphr, div.test {
    margin: 1.2em 0; /* 增加示例区块的上下外边距 */
}

/* 列表项间距 */
span.id, span.sum, span.ver {
    margin-bottom: 0.5em; /* 增加列表项间距 */
}

.grade {
  font-size:9pt;
  font-weight: 200;
  color: #8B0000; /* DarkRed */
  display:inline-block;
  border:1px solid #8B0000; /* DarkRed */
  margin-left: 0.5em;
  padding-left: 0.2em;
  padding-right:0.2em;
}
.occurrence {
  font-size:11pt;
  font-weight: 200;
  color: #000000; /* Black */
  margin-left: 0.5em;
  box-shadow: 0 4px 3px #DCDCDC;
}
.source {
  font-size:11pt;
  font-weight: 500;
  color: #00AEEF; /* 保持不变，已是HEX */
}
.entry {
  font-size:14pt;
  font-weight: 700;
  color: #000000; /* Black */
  line-height:1.5;
}
.IPA {
   font-size:14pt;
   color: #4169E1; /* RoyalBlue */
}
.vs {
  font-size: 14pt;
  color: #FF0000; /* Red */
}
.AmE {
   font-size: 70%;
   color: #8B0000; /* DarkRed */
}
.pos {
  font-size: 12pt;
  font-weight: 700;
  font-style: italic;
  color: #0000FF; /* Blue */
  display:inline;
  margin-right: 0.3em;
}
.mbr {
  font-size: 12pt;
  font-weight: 700;
  font-style: italic;
  color: #0000FF; /* Blue */
}
.aspect {
  font-size: 110%;
  font-weight: 500;
  font-style: normal;
  color: #FF6347; /* Tomato */
}
.freq {
  font-size: 12pt;
  font-weight: normal;
  font-style: normal;
  color: #808080; /* Gray */
}
.plural {
  font-size: 110%;
  font-weight: normal;
  font-style: normal;
  color: #8B0000; /* DarkRed */
}
.pinyin {
  font-size:110%;
  font-weight: bold;
  color: #8B0000; /* DarkRed */
  margin-left: 6px;
}
.affixen {
  font-size: 110%;
  color: #8B0000; /* DarkRed */
}
.affixcn {
  font-size: 110%;
  color: #000000; /* Black */
}
.comparative {
  font-size: 14pt;
  font-weight: 500;
  font-style: normal;
  color: #008B8B; /* DarkCyan */
}
.cn {
  font-size:12pt;
  font-style: normal;
  color: #445566; /* 替换 #456 -> #445566 */
}
.tb {
  font-size:12pt;
  font-weight: 700;
  color: #00AEEF; /* 保持不变 */
}
.HeadYJ {
  font-size:11pt;
  color: #426ab3;
  border: 1px solid #426ab3;
  border-top-left-radius: 8px;
  border-bottom-right-radius: 8px;
  width:fit-content;
  padding-left:0.2em;
  padding-right:0.2em;
  text-shadow:0 0 1px #999;
  font-family: Heiti;
}
.key {
  font-size: 110%;
  color: #FF0000; /* Red */
  opacity: 0;
}
.key:hover {
opacity: 1;
}
.ans {
    text-decoration: underline;
}
.HeadYJK {
  font-size:110%;
  color: #808080; /* Gray */
}
.HeadXX {
  font-size:110%;
  color: #0000FF; /* Blue */
}
.HeadTZC {
  font-size:110%;
  color: #008080; /* Teal */
}
.HeadGPDC {
  font-size:110%;
  color: #0000FF; /* Blue */
}
.ZhExpression {
  font-size: 110%;
  color: #808080; /* Gray */
}
.EnExpression {
  font-size: 110%;
  color: #000000; /* Black */
}
.HeadCompound {
  font-size: 110%;
  color: #FF0000; /* Red */
}
.ZhCompound {
  font-size: 110%;
  color: #808080; /* Gray */
}
.EnCompound {
  font-size: 110%;
  color: #000000; /* Black */
}
.EnCn {
  font-size: 12pt;
  color: #000000; /* Black */
}
.EnPhrVerb {
  font-size: 110%;
  font-style: italic;
  color: #80002A;
}
span.VphrExample:before {
    content: "◑";
    color: #808080; /* Gray */
}
.SubHead {
  font-size: 120%;
  font-weight: bold;
  color: #1F6096;
}
.VphrExample {
  font-size: 110%;
  color: #000000; /* Black */
}
.EnChunk {
  font-size: 110%;
  font-style: italic;
   color: #008080; /* Teal */
}
.EnChunkEg {
  color: #000000; /* Black */
  font-size: 12pt;
  font-style: normal;
  display: block;
}
span.EnChunkEg:before {
    content: "◐";
    color: #888888; /* #888 -> #888888 */
    font-size: smaller;
    margin-right: 0.2em;
}
span.ch {
    color: #808080; /* Gray */
    font-size: 12pt;
    font-style: normal;
    display: block;
display: block;
margin-left: 12px;
margin-top: 0.1em;
margin-bottom: 0.15em;
font-family: SimSun;
}
.EnAlloc {
  color: #80002A;
  font-size: 12pt;
  font-style: italic;
}
.ExAlloc {
  font-size: 12pt;
  color: #000000; /* Black */
}
span.ExAlloc:before {
    content: "◑";
    color: #808080; /* Gray */
}
span.circle:before {
    content: "○";
    color: #FF0000; /* Red - 这里已修正为红色 */
    display: block; 
}
.group {
  font-size: 110%;
  font-weight: bold;
  color: #1468de;
}
div.coll {
counter-reset: inum pvnum;
}
span.id:before {
    counter-increment: inum;    
    content: counter(inum)". ";
}
span.id {
    color: #FF6347; /* Tomato */
    font-size: 110%;
    font-weight: bold;
   display: block;
}
.sum {
  counter-reset: subpvnum;
}
span.sum::before {
  counter-increment: pvnum;
  content: counter(pvnum)". ";
  color: #000000; /* Black */
}
span.ver::before {
  counter-increment: subpvnum;
   content: counter(subpvnum)") ";
color: #000000; /* Black */
}
span.sum {
    color: #000000; /* Black */
    font-size: 12pt;
    font-weight: bold;
    display: block;
}
span.ver {
    color: #8B0000; /* DarkRed */
    font-size: 12pt;
    font-weight: bold;
    margin-left: 15px;
    display: block;
}
span.t {
     color: #8B0000; /* DarkRed */
    font-size: 12pt;
    font-weight: bold;
}
span.sign {
     color: #000000; /* Black */
     margin-left: 4px;
     font-weight: normal;
}
.num {
    color: #000000; /* Black */
    font-size: 110%;
    font-weight: bold;
    margin-left: 15px;
   display: block;
}
.st {
    font-size: 12pt;
    color: #008080; /* Teal */
    display: block;
}

/* 英文例句设置Times New Roman字体 */
span.st {
    font-family: "Times New Roman", Times, serif !important;
    font-style: italic !important;
}

/* 中文翻译保持正常字体 */
span.ch {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", 
                 "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif !important;
    font-style: normal !important;
}

/* 例句前双圈引导符 */
span.st:before {
    font-style: normal !important;
    font-weight: 900 !important; /* 最粗的字体权重 */
    content: "◎";
    color: #FF0000;
    margin-right: 0.5em; /* 右边距 */
    font-size: 80%; /* 小于正文字号 */
    text-shadow: 0 0 3px rgba(255, 0, 0, 0.7), /* 阴影效果 */
                 0 0 5px rgba(255, 100, 100, 0.3);
    display: inline-block;
    transform: scale(1.0);
}

span.cnplus:before {
    content: "║";
    color: #808080; /* Gray */
}
.cnplus {
    color: #000000; /* Black */
    font-size: 12pt;
    font-weight: normal;
}
div.setphr {
	border: 1.2px dashed #0088DD;
	border-radius: 12px;
	margin: 1em 0;
	padding: 0.6em 1.3em 0.6em 1.3em;
	line-height: 135%;
}
div.test {
            color: #8B0000; /* DarkRed */
	border: 1.2px dashed #0088DD;
	border-radius: 12px;
	margin: 1em 0;
	padding: 0.6em 1.3em 0.6em 1.3em;
	line-height: 135%;
}
.stem {
    font-size: 12pt;
    color: #000000; /* Black */
    display: block;
}
.txt {
    font-size: 12pt;
    color: #000000; /* Black */
    display: block;
}
.opt {
    color: #000000; /* Black */
    font-size:12pt;
    display: block;
}
.hint {
    color: #8B0000; /* DarkRed */
    font-size:12pt;
    display: block;
}
span.chunken {
  font-size: 12pt;
  color: #000000; /* Black */
display: block;
}
.idm {
  font-size: 12pt;
  color: #8B0000; /* DarkRed */
display: block;
}
.note {
background-color: #f1f4e9;
display: block;
margin-top: 2px;
margin-bottom: 2px;
border: #c5d3dd 1px solid;
padding-left: 3px;padding-top: 1px;
padding-bottom: 1px;
max-width: fit-content;
}

.hw {color:#069460;font-weight:700;background-color:#E8EBBE}
.hw:before{content:"『";color:#8b0000;vertical-align:top;font-size:70%}
.hw:after{content:"』";color:#8b0000;vertical-align:bottom;font-size:70%}
.enword {font-size:110%;width:240px;display:table-cell;}
.cnversion {font-size:110%;display:table-cell;}
ct {display:table;}
ct::before{color:#00008b;font-weight:900;width:30px;display: table-cell;}
.family {color:#FF0000;font-weight:700;background-color:#E8EBBE} /* Red */
.family:before{content:"『";color:#8b0000;vertical-align:top;font-size:70%}
.family:after{content:"』";color:#8b0000;vertical-align:bottom;font-size:70%}
.mbr {font-size:110%;color: #0000FF;width:50px;display:table-cell;} /* Blue */
.lead {font-size:110%;font-weight: bold;color: #8B0000;} /* DarkRed */
.plus {font-size:110%; color: #00008B;} /* DarkBlue */
.mt {font-size:110%;display:table-cell;}
ct {display:table;}
ct::before{color:#00008b;font-weight:900;width:30px;display:table-cell;}

.yr, .year {
  background-color: #F5F5F5; /* 灰色背景 */
  font-size: 80%;
  font-family: Heiti;
  color: #666;
  padding: 0em 0em; /* 内边距 */
  border-radius: 3px; /* 添加圆角 */
  display: inline-block; /* 确保背景只围绕文本 */
  margin: 0 0em; /* 外边距 */
}

.clear{ clear: both; font-size:1px; width:1px; visibility: hidden; }
div.EnChunk > span.Cn {display: inline-block;margin-left: 0.8em;}
img {margin-bottom: -3px;}