/* Glosar · Leziune degenerativă de menisc (26 nov.). Prefix .gt-mn-. Sursa: PAGINA-GLOSAR-MENISC-DEGENERATIV.md.
   Primul ecran: genunchiul din față cu meniscurile aurii (imagini/menisc-test/genunchi-fata-720.webp) și lupa cu secțiunea prin menisc.
   Comutatorul (glosar-termen.js pune data-v pe #gt-mn-fig): „g12” = linia modificării rămâne înăuntru; „g3” = ajunge la suprafață. */
.gt-mn-fig { width: min(100%, 460px); justify-items: stretch; }
.gt-mn-b { position: relative; padding-bottom: 168px; }
.gt-mn-knee { display: block; width: 100%; height: auto; aspect-ratio: 560 / 400; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%); }
.gt-mn-knee .gt-zone { fill: rgb(254 209 148 / .62); stroke: #fed194; stroke-width: 2; }
.gt-mn-fig .gt-lbl { stroke: rgb(12 37 44 / .85) !important; }
.gt-mn-fig .gt-lbl.is-k { fill: #ecc980 !important; }

/* lupa: cerc sub tăietura din meniscul din stânga (x 215 din 80–640 = 24 %) */
.gt-mn-lupa { position: absolute; left: max(0px, calc(24% - 96px)); bottom: 0; width: 192px; aspect-ratio: 1; border-radius: 50%;
  box-shadow: 0 0 0 2px #fed194, 0 0 0 8px rgb(254 209 148 / .12), 0 24px 48px -20px rgb(0 0 0 / .6); }
.gt-mn-lupa::before { content: ""; position: absolute; left: calc(50% - 1px); bottom: 100%; height: 44px; border-left: 2px dashed rgb(254 209 148 / .7); }
.gt-mn-lupa svg { display: block; width: 100%; height: 100%; border-radius: 50%; }
.gt-mn-bg { fill: #0f2c33; }
.gt-mn-fem, .gt-mn-tib { fill: none; stroke: rgb(159 224 212 / .55); stroke-width: 10; stroke-linecap: round; }
.gt-mn-w { fill: rgb(126 216 222 / .32); stroke: #9fe0d4; stroke-width: 3; stroke-linejoin: round; }
.gt-mn-l { fill: none; stroke: #fed194; stroke-width: 7; stroke-linecap: round; filter: drop-shadow(0 0 5px rgb(254 209 148 / .7)); transition: opacity 400ms ease; }
.gt-mn-hit { fill: #f2897e; opacity: 0; transition: opacity 300ms ease 200ms, r 300ms var(--gt-ease); }
.gt-mn-tx { font: 500 24px/1 var(--font-display); fill: rgb(237 232 223 / .7); }
.gt-mn-fig[data-v="g12"] .gt-mn-l.is-g3, .gt-mn-fig[data-v="g3"] .gt-mn-l.is-g12 { opacity: 0; }
.gt-mn-fig[data-v="g3"] .gt-mn-l.is-g3 { stroke: #f2b37e; }
.gt-mn-fig[data-v="g3"] .gt-mn-hit { opacity: 1; }

/* textul stării, lângă lupă */
.gt-mn-st { position: absolute; left: calc(max(0px, calc(24% - 96px)) + 216px); right: 0; bottom: 34px; margin: 0; font-size: .9375rem; line-height: 1.45; color: rgb(237 232 223 / .8); }
.gt-mn-st b { color: #ede8df; font-weight: 600; }
.gt-mn-st > span > b:first-child { display: block; margin-bottom: 4px; font: 500 1.0625rem/1.25 var(--font-display); color: #fed194; }
.gt-mn-fig[data-v="g12"] .gt-mn-st .is-g3, .gt-mn-fig[data-v="g3"] .gt-mn-st .is-g12 { display: none; }
.gt-mn-fig .gt-tog { margin-top: 18px; justify-content: center; }
.gt-mn-fig .gt-cap { justify-self: center; }

/* apariția: meniscurile (gt-zone, din glosar-termen.css), apoi lupa */
.mk-js .gt-mn-fig :is(.gt-mn-lupa, .gt-mn-st) { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity 600ms ease 900ms, transform 800ms var(--gt-ease) 900ms; }
.mk-js .gt-mn-fig .gt-mn-st { transition-delay: 1200ms; }
.mk-js .gt-mn-fig.is-in :is(.gt-mn-lupa, .gt-mn-st) { opacity: 1; transform: none; }
:is(.mk-shot, .rm) .gt-mn-fig :is(.gt-mn-lupa, .gt-mn-st, .gt-mn-l, .gt-mn-hit) { transform: none !important; transition: none !important; }
:is(.mk-shot, .rm) .gt-mn-fig :is(.gt-mn-lupa, .gt-mn-st) { opacity: 1 !important; }

/* conflictul de interese: în corpul paginii (D, „Observații”), ca o notă a clinicii, nu în subsol */
.gt-mn-cf { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: 18px; background: color-mix(in srgb, var(--color-brand-gold, #d4b07a) 10%, var(--color-card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-brand-gold, #d4b07a) 40%, transparent); }
.gt-mn-cf p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--color-foreground); }
.gt-mn-cf .gt-mn-cf-k { margin-bottom: 8px; font: 600 .8125rem/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--color-eyebrow); }

/* cele trei întrebări: mari, de citit de pe ecran la consultație */
.gt-mn-q { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.gt-mn-q li { position: relative; padding: 18px 20px 18px 56px; border-radius: 18px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12);
  font: 500 clamp(1.125rem, 1rem + .5vw, 1.375rem)/1.35 var(--font-display); color: #ede8df; }
.gt-mn-q li::before { content: "?"; position: absolute; left: 18px; top: 16px; width: 26px; height: 26px; border-radius: 50%; background: #fed194; color: #142429; font: 600 1rem/26px var(--font-display); text-align: center; }

@media (max-width: 1023px) { .gt-mn-fig { justify-self: center; } }
@media (max-width: 639px) {
  .gt-mn-fig { width: min(100%, 310px); gap: 8px; }
  .gt-mn-b { padding-bottom: 128px; }
  .gt-mn-lupa { width: 124px; left: max(0px, calc(24% - 62px)); }
  .gt-mn-lupa::before { height: 26px; }
  .gt-mn-st { left: calc(max(0px, calc(24% - 62px)) + 138px); bottom: 6px; font-size: .8125rem; line-height: 1.4; }
  .gt-mn-st > span > b:first-child { font-size: .9375rem; }
  .gt-mn-fig .gt-tog { margin-top: 12px; }
  .gt-mn-q li { padding: 14px 16px 14px 48px; } .gt-mn-q li::before { left: 14px; top: 13px; }
}

/* „Surse N”: cifra ieșea cu 0,6–1 px jos la 390 (cifre-cerc.mjs); stratul propriu o aliniază la pixel împreună cu cercul (ca la test-sold) */
.gt-page[data-pagina="glosar-leziune-degenerativa-de-menisc"] .hh-src-h span { will-change: transform; }
