
/** Fonts */
body
{
  font-family: Bookerly,Georgia,"FZYouSongJ GBK 508R","Source Han Serif CN",Helvetica,"Open Sans",Arial,sans-serif;
}
.HWD, .SUBHWD, .References, .Reference,
.EXP,
.Ref,
.VARITYPE,
.VAR,
.PROPFORM,
.SPELLING,
.SECDEF,
.Hint::before,
.HINTBO,
 a .Section,
.SECNR,
.GRAM,
.LABEL
{
  font-family: Optima,Georgia,"FZYouSongJ GBK 508R","Source Han Serif CN",Helvetica,"Open Sans",Arial,sans-serif;
}
.PRON
{
  font-family: "Gentium Plus", "CharisSIL", Courier;
}
.GRAM,
.LABEL
{
  font-family: Lora, Georgia,"FZYouSongJ GBK 508R","Source Han Serif CN",Helvetica,"Open Sans",Arial,sans-serif;
}

/** Colors */
.SUBHWD,
.References,
.Reference,
.Section > .SECNR,
.VARITYPE,
.GRAM,
.LABEL,
.Crossref::before,
.Hint::before
{
  color: #BE0000;
}
.HWD ~ a,
.Concept ~ a,
.SUBHWD ~ a,
.SECNR,
.EXP,
.VAR,
.Ref,
.HINTBO,
.PROPFORM,
.SPELLING,
.REPEAT::before
{
  color: #647FB8;
}
.SECDEF
{
  background-color: #647FB8;
}
.Hint
{
  border-color: #647FB8;
}
.EXP
{
  background-color: rgba(100,127,184,.15);
}
.SECDEF,
.SECDEF zh_cn
{
  color: #fff;
}
.PRON,
.LABEL,
.REFTYPE zh_cn {
  color: #637F9A;
}
.EXAMPLE,
.HINTEXA
{
  color: #666;
}
zh_cn
{
  color: #777;
}
.DEF zh_cn,
.GLOSS zh_cn
{
  color: inherit;
}

/** --- */
body {
  line-height: 1.55;
}

.HWD {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: .35rem;
  text-transform: lowercase;
}
.SUBHWD,
.References,
.Reference {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: .35rem;
}
.HWD ~ a,
.Concept ~ a,
.SUBHWD ~ a {
  font-weight: 600;
  display: inline-block;
  margin: 0 1rem .45rem 0;
}
.HWD ~ a .Section,
.Concept ~ a .Section,
.SUBHWD ~ a .Section {
  display: inline;
  line-height: 1.2;
  border-bottom: 1px dotted;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.HWD ~ a:hover .Section,
.Concept ~ a:hover .Section,
.SUBHWD ~ a:hover .Section {
  border-bottom-style: solid;
}
.SUBHWD::before {
  content: "⎯ ";
  font-weight: 400;
}
.Section > .SECNR {
  margin-right: 0;
  font-size: 1rem;
  font-weight: 600;
}

.Section {
  display: table;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

.ACTIVATOR {
  display: block;
  margin-top: .75rem;
}

.SECNR {
  font-weight: 600;
  position: absolute;
  left: 0;
  width: 1.25rem;
  text-align: center;
  pointer-events: none;
}
.HWD ~ a .SECNR,
.Concept ~ a .SECNR,
.SUBHWD ~ a .SECNR {
  position: relative;
  width: unset;
}

.References .TITLE {
  display: none;
}

.REFTYPE::after {
  content: ": ";
  font-weight: 400;
}

.REFTYPE {
  font-size: 16px;
}

.REFTYPE zh_cn {
  display: inline;
}

.Crossref {
  display: inline-block;
  margin-right: 6px;
  text-transform: lowercase;
}
.Reference + .Crossref,
.References + .Crossref {
  margin-left: 1.15rem;
}

.Crossref + .Crossref::before {
  content: ", ";
}
body > span.Crossref:last-of-type {
  font-size: 2rem;
}

.EXP {
  display: inline;
  line-height: 1.6;
  padding: .05rem .25rem;
  border-radius: .35rem;
  box-sizing: border-box;
  font-weight: 600;
  margin-left: .75rem;
  position: relative;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.EXP::before {
  content: "►";
  position: absolute;
  left: -1.15rem;
  top: 0;
}

.VARITYPE {
  display: inline-block;
  line-height: 1;
  padding: .1rem .25rem;
  border-radius: .3rem;
  border: 1px solid;
  font-size: .7rem;
  font-weight: 600;
  text-transform: capitalize;
  margin-left: .25rem;
}
.VAR {
  font-weight: 600;
}

.GRAM,
.LABEL {
  font-weight: 400;
  font-size: .85rem;
  font-style: italic;
  margin-left: .25rem;
}
.GRAM::before,
.LABEL::before {
  content: "⟨";
  font-style: normal;
}
.GRAM::after,
.LABEL::after {
  content: "⟩";
  font-style: normal;
}
.LABEL .neutral,
.GRAM .neutral {
  display: none;
}

.DEF {
  display: block;
  margin-bottom: .25rem;
}

.Exponent {
  display: block;
}
.Exponent + .Exponent {
  margin-top: .55rem;
}

.PROPFORM {
  padding-top: .25rem;
  display: block;
  font-weight: 600;
}
.SPELLING {
  font-weight: 600;
}
/*
.PROPFORM::before,
.SPELLING::before {
  content: "⎯ ";
  opacity: .35;
}
*/

zh_cn {
  font-style: normal;
  font-weight: 400;
  font-size: .85rem;
  word-break: break-all;
  display: inline;
}

.EXAMPLE {
  font-style: italic;
  display: block;
  padding-left: .55rem;
  margin-left: .75rem;
  position: relative;
}
.EXAMPLE::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3rem;
  bottom: .15rem;
  width: 3px;
  border-radius: 1px;
  background: rgba(0,0,0,.15);
}
.EXAMPLE + .EXAMPLE {
  margin-top: .15rem;
}

.EXAMPLE zh_cn {
  display: block;
}

.SECDEF zh_cn {
  display: inline;
}

.SECDEF {
  margin: 1rem 0 0 .75rem;
  font-weight: 600;
  line-height: 1.6;
  padding: .1rem .25rem;
  display: inline;
  border-radius: .35rem;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.REPEAT {
  display: inline-block;
  line-height: 1.2;
  position: relative;
  margin-left: .25rem;
  font-style: italic;
}
.REPEAT .neutral {
  display: none;
}
.REPEAT::before {
  content: "▲";
  font-size: .5rem;
  margin-right: 2px;
  display: inline-block;
}

.GLOSS zh_cn {
  display: inline;
  font-size: .9rem;
}

.References {
  display: block;
}

.Reference {
  padding-left: 1.15rem;
  position: relative;
}
.Reference::before {
  content: "→";
  position: absolute;
  left: -.1rem;
  /* margin-top: -.1rem; */
  line-height: 1.7;
}

.Ref {
  display: inline-block;
  font-weight: 600;
  line-height: 1.2;
  border-bottom: 1px dotted;
}
.Ref:hover {
  border-bottom-style: solid;
}

.Hint {
  padding: .35rem .35rem .65rem .85rem;
  margin: .75rem 0 .5rem;
  border-radius: .5rem;
  border-width: 1px;
  border-style: solid;
  display: block;
  font-style: italic;
}

.HINTBO {
  font-weight: 600;
  font-style: normal;
}

.HINTRO {
  display: inline;
}

.HINTEXA {
  display: block;
}

.Hint::before {
  content: "✪ Usage";
  display: block;
  font-weight: 600;
  font-style: normal;
  line-height: 1.2;
}

/** GoldenDict /////////////////////////////////////// */
body {
  line-height: 1.3;
}
.ACTIVATOR {
  line-height: 1.55;
}
.GRAM,
.LABEL {
  /* font-style: normal; */
}
/**/

/** Eudict iOS /////////////////////////////////////// /
.SECNR {
  width: 1.7rem;
}
.HWD ~ a .SECNR,
.Concept ~ a .SECNR,
.SUBHWD ~ a .SECNR {
  width: initial;
}
.Reference::before {
  margin-top: -.2rem;
}
/**/