/* Glosar · Scala VAS a durerii (26 nov.). Prefix .gt-vs-. Rigla din definiție: linia de 10 cm, „fără durere” → „cea mai puternică durere imaginabilă”.
   Marcajul se trage (mouse, deget, tastatură: e un input range); scorul = distanța de la capătul „fără durere”.
   data-v="linie" = VAS-ul propriu-zis (fără cifre, ca pe hârtie); data-v="cifra" = scala numerică 0–10 (glosar-scala-vas-a-durerii.js). */
.gt-vs { width: 100%; justify-items: stretch; gap: 16px; }
.gt-vs .gt-tog { margin-top: 0; justify-content: center; }
.gt-vs .gt-cap { justify-self: center; }
.gt-vs-card { padding: clamp(20px, 1rem + 1.4vw, 34px); border-radius: 24px; background: rgb(255 255 255 / .045); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.gt-vs-q { margin: 0 0 30px; font: 500 clamp(1.125rem, 1rem + .4vw, 1.375rem)/1.3 var(--font-display); color: #ede8df; }
.gt-vs-ruler { position: relative; padding: 0 2px; }
.gt-vs-track { position: relative; height: 60px; }
/* linia de 10 cm, cu cele două capete */
.gt-vs-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: rgb(237 232 223 / .55); }
.gt-vs-track::after { content: ""; position: absolute; inset: 16px 0; background: linear-gradient(#ede8df, #ede8df) left / 3px 100% no-repeat, linear-gradient(#ede8df, #ede8df) right / 3px 100% no-repeat; }
.gt-vs-fill { position: absolute; left: 0; right: 0; top: 50%; height: 7px; margin-top: -3.5px; border-radius: 4px; background: linear-gradient(90deg, #5ed0d8, #fed194 55%, #f2897e); clip-path: inset(0 calc(100% - var(--v) * 10%) 0 0 round 4px); }
/* marcajul: linia trasă de pacient pe hârtie + butonul de tras */
.gt-vs-mark { position: absolute; left: calc(var(--v) * 10%); top: 4px; bottom: 4px; width: 4px; margin-left: -2px; border-radius: 2px; background: #fed194; box-shadow: 0 0 14px rgb(254 209 148 / .6); }
.gt-vs-mark::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: #fed194; box-shadow: 0 0 0 4px rgb(254 209 148 / .22), 0 6px 14px -6px rgb(0 0 0 / .6); transition: transform 150ms var(--gt-ease); }
.gt-vs-ruler:has(.gt-vs-in:active) .gt-vs-mark::after { transform: scale(1.12); }
.gt-vs-ruler:has(.gt-vs-in:focus-visible) .gt-vs-mark::after { box-shadow: 0 0 0 3px #142429, 0 0 0 6px #5ed0d8; }
/* inputul acoperă toată linia (invizibil), cu butonul de 2 px: punctul atins = punctul marcat */
.gt-vs-in { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 76px; margin: 0; opacity: 0; cursor: grab; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.gt-vs-in:active { cursor: grabbing; }
.gt-vs-in::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 76px; }
.gt-vs-in::-moz-range-thumb { width: 2px; height: 76px; border: 0; }
/* gradațiile: pe linie, centimetrii (rigla cu care se măsoară, stinsă); pe cifră, cele 11 cifre */
.gt-vs-ticks { position: relative; height: 30px; margin: 16px 0 0; padding: 0; list-style: none; }
.gt-vs-ticks li { position: absolute; left: calc(var(--i) * 10%); top: 0; display: grid; justify-items: center; gap: 4px; transform: translateX(-50%); }
.gt-vs-ticks li::before { content: ""; width: 1px; height: 8px; background: rgb(237 232 223 / .3); }
.gt-vs-ticks span { font: 500 .8125rem/1 var(--font-display); font-variant-numeric: tabular-nums; color: rgb(237 232 223 / .4); }
.gt-vs[data-v="linie"] .gt-vs-ticks span { opacity: 0; }
.gt-vs[data-v="cifra"] .gt-vs-ticks li::before { height: 12px; width: 2px; background: rgb(237 232 223 / .55); }
.gt-vs[data-v="cifra"] .gt-vs-ticks span { font-size: 1rem; color: #ede8df; }
.gt-vs[data-v="cifra"] .gt-vs-track::before { background: repeating-linear-gradient(90deg, rgb(237 232 223 / .55) 0 calc(10% - 3px), transparent calc(10% - 3px) 10%); }
.gt-vs-ends { display: flex; justify-content: space-between; gap: 24px; margin-top: 8px; font: 500 .9375rem/1.3 var(--font-display); color: rgb(237 232 223 / .72); }
.gt-vs-ends span { max-width: 13rem; } .gt-vs-ends span:last-child { text-align: right; }
.gt-vs-out { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); }
.gt-vs-k { font: 500 .9375rem/1 var(--font-display); color: rgb(237 232 223 / .62); }
.gt-vs-n { font: 500 3.25rem/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #fed194; min-width: 4.2ch; }
.gt-vs-u { flex-basis: 100%; font-size: .9375rem; line-height: 1.45; color: rgb(237 232 223 / .72); }
@media (max-width: 639px) {
  .gt-vs-q { margin-bottom: 22px; }
  .gt-vs-ends { font-size: .8125rem; gap: 16px; } .gt-vs-ends span { max-width: 9.5rem; }
  .gt-vs-n { font-size: 2.75rem; }
  .gt-vs[data-v="cifra"] .gt-vs-ticks span { font-size: .875rem; }
}

/* „Cum se folosește la evaluare”: două dureri, repaus și mișcare (exemplul din text) */
.gt-vs-pair { justify-items: stretch; gap: 12px; width: 100%; max-width: 26rem; }
.gt-vs-pc { padding: 16px 18px; border-radius: 18px; background: var(--color-card); box-shadow: 0 0 0 1px var(--hh-line); }
.gt-vs-ph { margin: 0 0 12px; font: 500 1rem/1.2 var(--font-display); color: var(--color-foreground); }
.gt-vs-pc ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.gt-vs-pc li { display: grid; grid-template-columns: 5.75rem minmax(0, 1fr) 1.5rem; align-items: center; gap: 12px; font-size: .9375rem; color: var(--color-muted-foreground); }
.gt-vs-pt { position: relative; height: 3px; border-radius: 2px; background: var(--hh-line); }
.gt-vs-pt::before { content: ""; position: absolute; left: 0; top: -1px; height: 5px; width: calc(var(--v) * 10%); border-radius: 3px; background: linear-gradient(90deg, #2a9aa3, #c99a4e); }
.gt-vs-pt i { position: absolute; left: calc(var(--v) * 10%); top: 50%; width: 4px; height: 20px; margin: -10px 0 0 -2px; border-radius: 2px; background: #b2883c; }
.dark .gt-vs-pt i { background: #fed194; }
.gt-vs-pc b { font: 600 1.0625rem/1 var(--font-display); font-variant-numeric: tabular-nums; text-align: right; color: var(--color-foreground); }
@media (max-width: 1023px) { .gt-vs-pair { max-width: none; } }
