/* ============================================================
   卡片清单 · 21世纪（赤陶）
   卡片清单样式，主色赤陶 #b8502f —— 用于《21世纪大英汉词典》
   用法：替换对应词典目录下的 hytycfc.css
   ============================================================ */

lal,
lar,
lcl,
lcr {
  display: none;
}
a {
  color: inherit;
  text-decoration: none;
}
.hw, .cx, ct, dct, .en, .cn, .zm, .jh, .tyc, .hl, .abc,
.lya, .sma, .smb, .smc, .lyb, .lyc {
  --b-bg:    #f4f6f8;
  --b-ink:   #0b1220;
  --b-ink2:  #374151;
  --b-ink3:  #6b7280;
  --b-acc:   #2563eb;
  --b-soft:  #e8f0ff;
  --b-acc-ink: #1d4ed8;
  --b-line2: #c7d7fb;
  --b-glow:  rgba(37, 99, 235, .28);
  --b-line:  #e5e9f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.72;
  color: var(--b-ink2);
  -webkit-font-smoothing: antialiased;
}
.hw {
  display: block;
  margin: 0 0 8px;
  font-size: 27px;
  line-height: 1.24;
  font-weight: 750;
  letter-spacing: -.015em;
  color: var(--b-ink);
}
.hw::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--b-acc);
  vertical-align: .3em;
}
.cx {
  display: table;
  margin: 14px 0 6px;
  padding: 2px 10px 3px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--b-acc-ink);
  background: var(--b-soft);
  border-radius: 999px;
  counter-reset: b-ct;
}
.hw + .cx {
  margin-top: 0;
}
dct,
ct {
  display: grid;
  align-items: baseline;
  padding: 5px 0;
}
dct {
  grid-template-columns: 1.9em fit-content(12em) minmax(0, 1fr);
  column-gap: 1.1em;
}
ct {
  grid-template-columns: 1.9em minmax(0, 6.8em) minmax(0, 1fr);
  column-gap: .6em;
}
.hw + dct,
.hw + ct {
  margin-top: 2px;
}
ct {
  counter-increment: b-ct;
}
ct::before {
  content: counter(b-ct);
  justify-self: start;
  align-self: start;
  width: 18px;
  margin-top: .2em;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: var(--b-ink3);
  background: #eceff4;
  border-radius: 6px;
}
dct::before {
  content: "";
}
.en {
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -.005em;
  color: var(--b-acc-ink);
  word-break: break-word;
}
.en a {
  border-bottom: 1px solid var(--b-line2);
}
.cn {
  font-size: 15px;
  color: var(--b-ink2);
}
.cn {
  counter-reset: b-abc;
}
.abc {
  display: block;
}
.abc::before {
  counter-increment: b-abc;
  content: counter(b-abc, lower-alpha) ". ";
  font-weight: 700;
  color: #9aa6b6;
}
.lya {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #0f766e;
  background: #d8f3ef;
  padding: 1px 6px 2px;
  border-radius: 4px;
  margin-right: 5px;
  white-space: nowrap;
}
.lyb,
.lyc {
  font-size: 11.5px;
  font-weight: 600;
  color: #b45309;
  background: #fdf3dd;
  padding: 1px 6px 2px;
  border-radius: 4px;
  margin-right: 5px;
  white-space: nowrap;
}
.sma {
  font-size: 12.5px;
  color: var(--b-ink3);
  margin-right: 5px;
}
.smb,
.smc {
  font-size: 13px;
  color: var(--b-ink3);
}
.zm {
  display: block;
  position: relative;
  margin: 0 0 10px;
  padding-left: 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--b-ink);
}
.zm::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 3px;
  height: 1em;
  border-radius: 2px;
  background: var(--b-acc);
}
.jh {
  line-height: 2.15;
}
.tyc {
  display: inline-block;
  padding: 2px 9px 3px;
  font-size: 13.5px;
  color: #334155;
  background: #fff;
  border: 1px solid var(--b-line);
  border-radius: 7px;
}
.tyc::after {
  content: "";
}
.hl {
  display: inline-block;
  padding: 2px 10px 3px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: var(--b-acc);
  border-radius: 7px;
  box-shadow: 0 1px 2px var(--b-glow);
}
.hl::after {
  content: "";
}
.hw, .cx, ct, dct, .en, .cn, .zm, .jh, .tyc, .hl, .abc,
.lya, .sma, .smb, .smc, .lyb, .lyc {
  --b-acc:     #b8502f;
  --b-soft:    #fae9e1;
  --b-acc-ink: #a1432a;
  --b-line2:   #f0cbb9;
  --b-glow:    rgba(184, 80, 47, .28);
}
.lyb,
.lyc {
  color: #3f5c78;
  background: #e8eef5;
}
