/* 主体结构 */
.entry+.entry {
    padding-top: 1em;
    border-top: 1px dashed gray;
    margin-top: 1.5em;
}

/* 词头、音标等 */
.entry-header {
    vertical-align: middle;
}

.entry-header .ref {
    font-weight: bold;
}

.entry-header .pron-t,
.entry_pos .pron-t,
.drv-form .pron-t {
    color: #456;
}

.headword {
    font-size: 1.45em;
    font-weight: bold;
    color: #069;
    padding-right: .3em;
}

.headword .sp:before {
    transition: font-size .2s .8s;
}

.headword:hover .sp:before {
    font-size: 0;
}

.headword sup {
    font-size: .5em;
    color: #456;
}

.sp:before {
    content: "\00b7";
    font-family: "sans";
    font-size: .9em;
    color: #789;
}

/* 义项 */
.entry_pos,
.etymon,
.idiom,
.phrv {
    margin-bottom: 1em;
}

.rhw {
    font-size: 1.1em;
}

.rhw i {
    color: #069;
    font-style: normal;
}

.register {
    color: green;
    font-weight: bold;
    font-family: sans-serif;
    font-stretch: condensed;
    font-size: 1em;
}

.pos {
    font-weight: bold;
    color: indianred;
}

.infl {
    font-weight: bold;
}

.sense {
    padding-left: 1.5rem;
    position: relative;
    margin: .3em 0;
}

.num {
    display: inline-block;
    width: 2rem;
    position: absolute;
    left: -.75rem;
    text-align: right;
    font-weight: bold;
}

.sub-num {
    display: inline-block;
    font-weight: bold;
    font-family: monospace;
    color: #600;
    margin-right: -2px;
}

.exa {
    color: #066;
    font-style: normal;
    margin-left: .2em;
}

.author {
    color: darkgreen;
}

.sense sup {
    font-size: .6em;
}

.sense>i,
.sub-sense>i {
    margin-right: .2em;
}

/* 派生词 */
.drv-form:before {
    content: '';
    width: 1.5em;
    height: 2px;
    background-color: darkslateblue;
    vertical-align: middle;
    display: inline-block;
    margin-right: .2em;
}

.drv-form .drv {
    color: darkslateblue;
    font-weight: bold;
    font-size: 1.1em;
}

.minion-new.pua {
    font-family: 'Minion New PUA' !important;
}

/* 词头中的特殊字符用伪元素呈现（避免选中PUA字符） */
.minion-new[str]:before {
    content: attr(str);
    color: #789;
    font-weight: normal;
}


/* 习语、短语动词 */
.idioms,
.phrasal-verbs {
    margin: 1em 0;
}

.idioms .title,
.phrasal-verbs .title {
    padding: .2em .5em;
    margin: 0 -1px;
    color: #222;
    border-radius: .3em .3em 0 0;
}

.idioms .title {
    background-color: linen;
    border: 1px solid #ffe6cf;
    border-bottom-width: 0;
}

.phrasal-verbs .title {
    background-color: #eff1df;
    border: 1px solid #e3e6c8;
    border-bottom-width: 0;
}

.idioms .idiom,
.phrasal-verbs .phrv {
    padding: .5em .3em .3em 0;
    margin: 0 -1px .2em;
}

.idioms .idiom {
    border: 1px solid #f1dfdf;
}

.phrasal-verbs .phrv {
    border: 1px solid #e3e6c8;
}

.idioms .title+.idiom,
.phrasal-verbs .title+.phrv {
    border-top-width: 0;
}

.idioms .idiom:last-of-type,
.phrasal-verbs .phrv:last-of-type {
    border-radius: 0 0 .3em .3em;
}

.rhw {
    margin-left: .5em;
    font-weight: bold;
}

.extract .rhw,
.ext .rhw {
    margin-left: 0;
    font-size: 1.45em;
}

div+.ext {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px dashed gray;
}

.xr {
    font-stretch: condensed;
    font-family: sans-serif;
    color: #789;
    font-size: .9em;
}

.xref {
    font-weight: bold;
}


/* 各种知识框 */
.xbox {
    padding: 1em 1.5rem;
    border: 1px solid #ccc;
    background-color: aliceblue;
}

.xbox .title>b {
    display: inline-block;
    margin-left: calc(-1.5rem - 5px);
    position: relative;
    color: #222;
    background-color: #8be;
    padding: 3px .5em 3px 1em;
    margin-right: .3em;
}

.xbox .title>b:before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    border-right: 5px solid #789;
    border-bottom: 3px solid transparent;
}

.xbox .title>b>i {
    font-style: normal;
}

.xbox .title a {
    font-weight: bold;
    color: #800;
    border-bottom: 0;
}

.xbox .title a.here {
    color: #222;
}

.xbox.word-history {
    background-color: snow;
}

.xbox.word-history .title>b {
    background-color: plum;
}

.xbox.usage-note {
    background-color: lightgoldenrodyellow;
}

.xbox.usage-note .title>b {
    background-color: yellowgreen;
}

.xbox.our-living-language {
    background-color: seashell;
}

.xbox.our-living-language .title>b {
    background-color: lightsalmon;
}

.xbox .p {
    margin: .5em 0;
}

.i.w,
.i.w2 {
    font-weight: bold;
}

.i.ws {
    color: #066;
}

/* 图片 */
.image {
    margin: 1em 1.5rem 1.5rem;
    overflow: auto;
}

.image+.image {
    margin-top: -1em;
}

.image .img {
    padding: 5px;
    margin: 2px;
    transition: box-shadow .2s;
    box-shadow: 0 0 2px gray;
}

.image .img:not(.zoom-out) {
    max-width: 30%;
    max-height: 30%;
}

.image .img:hover {
    cursor: zoom-in;
    box-shadow: 2px 2px 4px gray;
}

.image .img.zoom-out:hover {
    cursor: zoom-out;
}

.image .title {
    font-weight: bold;
    display: block;
}

.image .scp {
    color: seagreen;
}

.image .scp i {
    font-style: normal;
    color: #456;
}

.image .img.nopic {
    box-shadow: none;
}

.image .img.nopic:before {
    content: "\0028Note: no picture or thumbnail\0029";
    color: #c16;
    font-size: .8em;
    display: block;
}


/* root */
.ahd24.rt- {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 2px solid #eee;
}

.h2,
.h3 {
    display: block;
    margin: 1em 0;
}

.h2 {
    font-size: 1.2rem;
}

.h3 {
    font-size: 1.1rem;
}

.root .headword {
    color: #e16;
}

.root .headword.semitic {
    color: mediumvioletred;
}

.root .headword>b>sup {
    color: #e16;
}

.root .definition>ol>li {
    margin-bottom: 1em;
}

.root sup {
    font-size: .7em;
}

.root ol {
    padding-left: 1.5rem;
}

.root ol ol {
    padding-left: 1rem;
}

.root dd {
    margin-left: 1.5rem;
}

.root li::marker {
    font-weight: bold;
}

.root li[type="a"]::marker {
    color: #006;
}

.root a.rt {
    color: #e16;
}


.root a.here {
    color: darkorange;
}

.appendix-link {
    margin-bottom: 1em;
    border-top: 2px solid gray;
    border-bottom: 1px solid gray;
    width: max-content;
}

.appendix-link>a.indo-euro:before {
    content: "\2794\20 Appendix I - Indo-European Root";
    display: block;
}

.appendix-link>a.semitic:before {
    content: "\2794\20 Appendix II - Semitic Root";
    display: block;
}

.appendix-link>a {
    display: block;
    padding: .3em .5em;
}

.appendix-link>a+a {
    border-top: 1px dotted gray;
}

/* 杂项 */
.etymon i,
.root i {
    color: #800;
    font-style: normal;
}

.pron-t i {
    font-style: normal;
    color: darkgreen;
    font-stretch: condensed;
}

.etymon a {
    font-weight: bold;
    border-bottom: 1px dashed gray;
}

a {
    text-decoration: none;
    color: #800;
    font-size: 1em;
}

a:hover {
    text-shadow: 0 0 1px #789;
}

a.ref,
a.xref,
a.drv.xref {
    color: #800;
    font-weight: bold;
    border-bottom: 1px dashed #bbb;
}

a.here {
    border-bottom: 0;
    color: #222;
}

a.i.xref {
    color: #800;
    font-weight: bold;
}

a.empt {
    font-size: 1em;
    color: #222;
    border-bottom: 0;
}

/* 发音喇叭 */
.audio:before {
    content: "";
    display: inline-block;
    user-select: none;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsSAAALEgHS3X78AAAF7UlEQVRIx4VWf2wcRxX+ZvbOZztqHTsuVeSmgSmqobSVwkQV+SP/tRCkFkLSolZGFGiZAOJXCq0TaCSiiNhgVUVK/oDEClHagFzVgigNwTRR1FhWqyYNjm2K7Ribs3PN+cc557vb3dnZ3Xn84b3IoTQ8abTS25nvzTfz3veGaa0/BaAIgOEWZi0cAOAccTI3Sqd5PedgROya1nEjY+CMwa5cBq11i9YaWmuWfD80PM+HtSHi2MD3NfM8DSKDw4eneoVU/xgcnN9OZBzf1/D9m9fyFdHY/xrWEq+rS6G/v/D00NDSlzIZTtaSAxDC0IYA7tv2zM9ff/nl6V7HQQvnDERwbmDcikGl4jtEEfr6PtglpCIh1ThR0OR5GtaGjCjio6OFx4VU48n/y0HgfzIIAvi+5v/N4CaLIkqtWpWOz52b/eF3f/aLjsTNAVgiyvT0XPvt228XdrS2rn597J0Dm7+59bkBAA/u3z99rKaG1RHB3mCQnF3K97Xj+9qpVPwUUYSBg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UeOTB4TUuWFVDmioLFU8tJdXRMnq3rU13d1PxGhvz//fOIbIAq452mslGueSDbzPN+JogDFovt5IVWxCrQsFWZVoVBZn0jJzODgfBuRxcTEohJSxUIqymaLW5Lm5HxkP3Bd34ljg4UF91Eh1WIS4F9Eeo3WARYXy62ep5uJLC5enPteInJ07ty1XcvH7PMguJnBhxqO6/qOtQazs5XHhFTu3r1jZ4kMr1R8FscG+Xz5wY6OKyeqDN98M7e3Cl7F+L892fP86p3cXS57dwZBANf1QRTWtLf/81L16EZHC1tXgN/AYlrrFgC5RDLoI14U3HGYBYgRAURATQ2jsTH38Xw+aN28ufEQ53xe6ziZt6LRa63XArh2qwAr2iWtnJNKcTgORxDEzFriyZPmJvsP/jRWM6VmvHUAAAAASUVORK5CYII=');
    background-repeat: no-repeat;
    background-size: cover;
    vertical-align: sub;
    width: 1rem;
    height: 1rem;
    margin: 0 .2em;

}

.audio:hover {
    filter: drop-shadow(0px 1px 1px #789);
    cursor: pointer;
}


/* 音标和词头中的私用区字符必须使用这个字体才能显示 */
@font-face {
    font-family: 'Minion New PUA';
    src: url('data:font/woff;charset=utf-8;base64,[encoded data, 7820 characters]') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
