/* Scoliosis Dictionary definition card (src/dictionary.mjs). Self-contained: no page styles needed.
   Signature: a thumb-index tab on the card's edge with the entry's letter, like a printed dictionary. */
.scc-def{
  --def-ink:#2b2b45; --def-navy:#333399; --def-navy-dark:#252575; --def-muted:#7a7768;
  --def-line:#e7e1d2; --def-green:#8DB86A; --def-green-dark:#4E6B33; --def-tile:#f6f3ea;
  position:relative; display:block; box-sizing:border-box; margin:0; padding:30px 40px 28px 32px;
  border:1px solid var(--def-line); border-radius:18px; background:#fff;
  box-shadow:0 1px 0 rgba(59,34,20,.04),0 22px 44px -18px rgba(59,34,20,.22);
  color:var(--def-ink); font-size:17px; line-height:1.6; text-align:left;
}
.scc-def *,.scc-def *::before,.scc-def *::after{box-sizing:border-box}

/* thumb-index tab: a notch cut into the right edge, carrying the entry's letter */
.scc-def-tab{
  position:absolute; top:28px; right:-15px; width:36px; height:66px; padding-left:6px;
  display:grid; place-items:center; border-radius:0 12px 12px 0; background:var(--def-navy);
  color:#fff; font:400 24px/1 Georgia,"Times New Roman",serif;
  box-shadow:6px 8px 16px -8px rgba(37,37,117,.45);
}

.scc-def-head{display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 14px; margin:0 0 12px}
.scc-def-word{
  font:400 34px/1.1 Georgia,"Times New Roman",serif; font-style:normal; letter-spacing:.005em; color:var(--def-navy);
}
.scc-def-meta{display:inline-flex; align-items:baseline; gap:10px; font-size:15px; color:var(--def-muted)}
.scc-def-pron{letter-spacing:.02em}
.scc-def-pron::before{content:"("} .scc-def-pron::after{content:")"}
.scc-def-pos{font-family:Georgia,"Times New Roman",serif; font-style:italic; font-size:16px}
.scc-def-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; font-style:normal; letter-spacing:.01em; white-space:nowrap}

.scc-def-text{margin:0; max-width:34em; font-size:19px; line-height:1.55; color:var(--def-ink)}

.scc-def-compare{display:grid; grid-template-columns:1fr 1.25fr; gap:10px; margin:22px 0 0}
.scc-def-fig{padding:14px 16px 15px; border-radius:12px; background:var(--def-tile)}
.scc-def-fig b{display:block; font:400 36px/1 Georgia,"Times New Roman",serif; color:#6E4128}
.scc-def-fig span{display:block; margin-top:7px; font-size:14px; line-height:1.4; color:#5a5f6b}
.scc-def-fig.is-strong{background:var(--def-navy)}
.scc-def-fig.is-strong b{color:#fff}
.scc-def-fig.is-strong span{color:rgba(255,255,255,.86)}

/* link to the full dictionary entry: the site's standard link (bold navy, green underline) */
.scc-def-more{
  display:inline-flex; align-items:center; gap:8px; margin-top:20px; padding-bottom:2px;
  font-size:16px; font-weight:700; color:var(--def-navy); text-decoration:none; border-bottom:2px solid var(--def-green);
}
.scc-def-more::after{content:"\2192"}
.scc-def-more svg{width:18px; height:18px; flex:none}
.scc-def-more:hover{color:var(--def-navy-dark); border-bottom-color:var(--def-green-dark)}
.scc-def-more:focus-visible{outline:3px solid var(--def-green); outline-offset:3px; border-radius:2px}

@media (max-width:600px){
  .scc-def{padding:24px 20px 22px}
  .scc-def-tab{top:-12px; right:20px; width:38px; height:42px; padding:8px 0 0; border-radius:10px 10px 0 0; font-size:21px; box-shadow:none}
  .scc-def{margin-top:12px}
  .scc-def-head{padding-right:44px}
  .scc-def-word{font-size:29px}
  .scc-def-text{font-size:17.5px}
  .scc-def-fig b{font-size:30px}
}
