/* The Scoliosis Dictionary in running text (src/glossary.mjs, glossary.js).
   A term reads as part of the sentence: same color and weight, a dotted navy underline. Site links keep their solid green one. */
a.scc-term,span.scc-term,.w2-sec a.scc-term,.entry-content a.scc-term{color:inherit!important; font-weight:inherit!important; text-decoration:none!important;
  border:0!important; padding:0!important; background-image:radial-gradient(circle,#333399 1.1px,transparent 1.3px);
  background-size:5px 3px; background-repeat:repeat-x; background-position:0 100%; padding-bottom:2px!important;
  cursor:pointer; border-radius:3px; transition:background-color .15s}
a.scc-term:hover,span.scc-term:hover,a.scc-term[aria-describedby],span.scc-term[aria-describedby]{background-color:rgba(141,184,106,.22)}
a.scc-term:focus-visible,span.scc-term:focus-visible{outline:3px solid #8DB86A; outline-offset:2px}
/* Later mentions: plain text until the card opens for them, then the same dotted underline and tint. */
span.scc-term.is-quiet{background-image:none; padding-bottom:0!important; border-radius:3px; cursor:help}
span.scc-term.is-quiet:hover{background-color:transparent}
span.scc-term.is-quiet[aria-describedby]{background-image:radial-gradient(circle,#333399 1.1px,transparent 1.3px); background-color:rgba(141,184,106,.22)}

.scc-gloss{position:absolute; z-index:9000; box-sizing:border-box; width:min(340px,calc(100vw - 24px)); padding:16px 20px 16px;
  background:#fff; border:1px solid #e7e1d2; border-radius:14px; color:#2b2b45; text-align:left;
  box-shadow:0 2px 4px rgba(37,37,117,.06),0 18px 40px -8px rgba(37,37,117,.28)}
.scc-gloss[hidden]{display:none!important}
.scc-gloss::before{content:""; position:absolute; left:var(--arrow,50%); top:-7px; width:12px; height:12px; margin-left:-6px; background:#fff;
  border:solid #e7e1d2; border-width:1px 0 0 1px; transform:rotate(45deg)}
.scc-gloss.is-above::before{top:auto; bottom:-7px; border-width:0 1px 1px 0}
.scc-gloss.is-in{animation:sccGlossIn .14s ease-out}
@keyframes sccGlossIn{from{opacity:0; transform:translateY(3px)}to{opacity:1; transform:none}}
.scc-gloss p{margin:0}
.scc-gloss-hw{font:15px/1.4 Georgia,"Times New Roman",serif; color:#6f6b5e}
.scc-gloss-hw dfn{font:700 21px/1.2 Georgia,"Times New Roman",serif; font-style:normal; color:#333399}
.scc-gloss-pr{white-space:nowrap}
.scc-gloss-pos{font-style:italic; color:#2b2b45}
.scc-gloss-own{display:inline-block; margin-left:6px; padding:1px 9px; border-radius:999px; vertical-align:2px; background:rgba(141,184,106,.16);
  color:#4E6B33; font:600 11.5px/1.6 Raleway,system-ui,sans-serif; white-space:nowrap}
.scc-gloss-def{margin-top:6px!important; font:16px/1.6 Georgia,"Times New Roman",serif; color:#2b2b45}
.scc-gloss-more{display:inline-block; margin-top:10px; font-size:14.5px; font-weight:600; color:#333399!important; text-decoration:none!important;
  border-bottom:2px solid #8DB86A; padding-bottom:1px}
.scc-gloss-more::after{content:"\2192"; margin-left:6px}
.scc-gloss-more:hover{color:#252575!important; border-bottom-color:#4E6B33}
.scc-gloss-more:focus-visible{outline:3px solid #8DB86A; outline-offset:2px}
@media (prefers-reduced-motion:reduce){.scc-gloss.is-in{animation:none} a.scc-term,span.scc-term{transition:none}}
