/* Testul „Genunchi funcțional” (26 nov. 2026): peste test-cervical.css (tc-*) și piesele testelor lombar, „RMN normal” (rn-next, rn-nodx), de amorțeală (tm-book),
   „Hernie de disc” (hd-note, hd-alert), „Sciatică” (si-80) și umăr (us-do). Prefixul propriu: gk-.
   Direcțiile: C = „doare aici, vine de aici?” pe primul ecran, A = cine plătește și cine produce (picioarele din față), B = proba filmată înaintea întrebărilor 4 și 5.
   Culorile: genunchiul = portocaliul de durere (#ff8a4c), vecinii (șoldul, glezna) și povara pe care o trimit = auriu (#d4b07a), umflarea = turcoaz (#5ed0d8). */

/* ── primul ecran (C): titlul pe două rânduri la 1440 (S: H1 lung) ───── */
.gk-hero .tc-h1 { font-size: clamp(2.25rem, 1.2rem + 2.6vw, 3.375rem); }

/* ── primul ecran (C): cele trei etaje ──────────────────────────────── */
.gk-three { display: grid; gap: 8px; margin: var(--space-6, 1.5rem) 0 0; padding: 0; list-style: none; }
.gk-three li { display: grid; grid-template-columns: 12px minmax(0, 168px) minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding: 13px 18px; border-radius: 18px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.gk-three li[data-et="genunchi"] { background: rgb(255 138 76 / .08); box-shadow: inset 0 0 0 1px rgb(255 138 76 / .4); }
.gk-three i { width: 10px; height: 10px; border-radius: 50%; background: #d4b07a; box-shadow: 0 0 10px rgb(212 176 122 / .8); transform: translateY(-1px); }
.gk-three li[data-et="genunchi"] i { background: #ff8a4c; box-shadow: 0 0 10px #ff8a4c; }
.gk-three b { font: 500 .9375rem/1.3 var(--font-display); color: #ede8df; }
.gk-three span { font-size: .875rem; line-height: 1.45; color: #b5c2c0; }
.gk-rec { display: flex; align-items: flex-start; gap: 12px; margin: var(--space-6, 1.5rem) 0 0; font-size: .9375rem; line-height: 1.5; color: #d7dedc; }
.gk-rec-d { flex: none; margin-top: .5em; width: 10px; height: 10px; border-radius: 50%; background: #ff5a4a; box-shadow: 0 0 0 4px rgb(255 90 74 / .18), 0 0 12px rgb(255 90 74 / .8); }

/* ── figura (A): picioarele din față ───────────────────────────────── */
.gk-fig { position: relative; }
.gk-body { position: relative; height: min(calc(100svh - 330px), 640px); aspect-ratio: 560 / 1210; margin-inline: auto; transform: translateX(-34px); }
.gk-body[hidden] { display: none; }
.gk-body img, .gk-body svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gk-body img { object-fit: contain; }
.gk-j { fill: none; stroke: rgb(237 232 223 / .4); stroke-width: 3; stroke-dasharray: 3 9; stroke-linecap: round; transition: stroke 300ms ease, opacity 300ms ease, cx 500ms cubic-bezier(.23, 1, .32, 1); }
.gk-j.is-faint { stroke: rgb(212 176 122 / .75); stroke-dasharray: 6 8; }
.gk-j.is-on { stroke: #d4b07a; stroke-dasharray: none; stroke-width: 4; filter: url(#tc-g); }
.gk-jk.is-faint { stroke: rgb(255 138 76 / .7); }
.gk-jk.is-on { stroke: #ff8a4c; }
.gk-halo { fill: #ff8a4c; opacity: 0; filter: url(#tc-bl); transition: opacity 400ms ease, cx 500ms cubic-bezier(.23, 1, .32, 1); }
.gk-swell { fill: none; stroke: #5ed0d8; stroke-width: 4; stroke-dasharray: 2 9; stroke-linecap: round; opacity: 0; transition: opacity 300ms ease, cx 500ms cubic-bezier(.23, 1, .32, 1); }
.gk-swell.is-faint { opacity: .5; } .gk-swell.is-on { opacity: 1; stroke-dasharray: none; filter: url(#tc-g); }
.gk-valg { fill: none; stroke: #ff8a4c; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 300ms ease, d 500ms cubic-bezier(.23, 1, .32, 1); }
.gk-valg.is-on { opacity: .9; filter: url(#tc-g); }
.gk-flow { fill: none; stroke: #d4b07a; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; opacity: 0; transition: stroke-dashoffset 800ms cubic-bezier(.23, 1, .32, 1), opacity 300ms ease; }
.gk-flow.is-on { opacity: .7; } .gk-flow.is-max { opacity: 1; filter: url(#tc-g); }
.gk-lg { font: 500 34px var(--font-display); fill: #8fa09d; stroke: #10252a; stroke-width: 9px; stroke-linejoin: round; paint-order: stroke; transition: fill 300ms ease, opacity 300ms ease; }
.gk-lg.is-faint { fill: #d7dedc; } .gk-lg.is-on { fill: #f3dcb4; } .gk-lg-k.is-on { fill: #ffd2b4; }
.gk-lg-s { font-size: 26px; fill: #b5c2c0; }
.gk-lg-s[data-ts="genunchi"] { fill: #ffb48a; }
.gk-fig .is-dim { opacity: .14 !important; filter: none !important; }
.gk-fig .gk-lg.is-dim { opacity: .35 !important; }

/* clasamentul „De unde vine” (sub figură și în rezultat) */
.gk-rank { width: min(360px, 100%); margin: 14px auto 0; padding: 12px 16px; border-radius: 18px; background: rgb(11 42 48 / .86); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); box-sizing: border-box; }
.gk-rank[hidden] { display: none; }
.gk-rank-h { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px; font: 500 .875rem/1.2 var(--font-display); color: #ede8df; }
.gk-rank-h em { font-style: normal; color: #d4b07a; text-align: right; }
.gk-rk { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gk-rk li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; font: 500 .8125rem/1.2 var(--font-display); color: #8fa09d; transition: color 300ms ease; }
.gk-rk li > i { position: relative; height: 8px; border-radius: 4px; background: rgb(255 255 255 / .08); overflow: hidden; }
.gk-rk li > i b { position: absolute; inset: 0; border-radius: 4px; background: rgb(212 176 122 / .5); transform: scaleX(0); transform-origin: left; transition: transform 700ms cubic-bezier(.23, 1, .32, 1), background 300ms ease; }
.gk-rk li[data-k="func"] > i b { background: rgb(255 138 76 / .75); }
.gk-rk li.is-top { color: #f3dcb4; }
.gk-rk li.is-top > i b { background: #d4b07a; box-shadow: 0 0 12px rgb(212 176 122 / .6); }
.gk-rk em { font-style: normal; font-variant-numeric: tabular-nums; color: #b5c2c0; text-align: right; }
.gk-rk small { display: block; margin-top: 2px; font: 400 .75rem/1.2 var(--font-sans); color: #8fa09d; }
[data-ecran="siguranta"] .gk-fig .gk-rank, [data-ecran="stop"] .gk-fig .gk-rank { visibility: hidden; }
[data-ecran="rezultat"] .gk-fig .gk-rank, [data-ecran="intro"] .gk-fig .gk-rank { display: none; }   /* rezultatul are clasamentul lui, în panou */
.gk-rank-r { width: 100%; margin: 4px 0 0; padding: 14px 18px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.gk-rank-r .tm-sc-k { margin-bottom: 10px; }
.gk-rank-r .gk-rk { gap: 10px; }
.gk-rank-r .gk-rk li { grid-template-columns: 128px minmax(0, 1fr) 56px; font-size: .9375rem; color: #b5c2c0; }
.gk-rank-r .gk-rk li.is-top { color: #f3dcb4; }

/* ── proba filmată (B): vizorul camerei ────────────────────────────── */
.gk-vf { position: relative; width: min(100%, 540px); aspect-ratio: 540 / 520; margin-inline: auto; border-radius: 28px; background: #0c1c20; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 30px 60px -30px rgb(0 0 0 / .6); overflow: hidden; }
.gk-vf[hidden] { display: none; }
.gk-br { position: absolute; width: 30px; height: 30px; border: 3px solid rgb(237 232 223 / .75); }
.gk-br-1 { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.gk-br-2 { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.gk-br-3 { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.gk-br-4 { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.gk-recb { position: absolute; top: 20px; left: 50%; z-index: 2; display: inline-flex; gap: 8px; align-items: center; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgb(0 0 0 / .4); transform: translateX(-50%); font: 500 .875rem/1 var(--font-display); font-variant-numeric: tabular-nums; color: #ede8df; }
.gk-recb i { width: 10px; height: 10px; border-radius: 50%; background: #ff5a4a; box-shadow: 0 0 10px #ff5a4a; animation: gk-blink 1.2s steps(2) infinite; }
.gk-vf:not(.is-proba) .gk-recb { display: none; }
@keyframes gk-blink { 50% { opacity: .2; } }
.gk-pair { position: absolute; inset: 62px 26px 58px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gk-pair[hidden] { display: none; }
.gk-pair figure { position: relative; margin: 0; min-height: 0; transition: opacity 300ms ease; }
.gk-pair img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.gk-pair figcaption { position: absolute; left: -6px; right: -6px; top: calc(100% + 10px); text-align: center; font: 500 .875rem/1.25 var(--font-display); color: #b5c2c0; transition: color 300ms ease; }
.gk-pair figure.is-pick figcaption { color: #f3dcb4; }
.gk-pair figure.is-pick::after { content: ""; position: absolute; left: 50%; top: calc(100% + 4px); width: 36px; height: 2px; margin-left: -18px; border-radius: 2px; background: #d4b07a; }
.gk-pair figure.is-half { opacity: .8; }
.gk-pair figure.is-off { opacity: .34; }

/* pașii probei: cifrele în cercuri (regula comună din acasa-v10.css, .cifra-cerc) */
.gk-steps { display: grid; gap: 12px; margin: var(--space-6, 1.5rem) 0 0; padding: 0; list-style: none; }
.gk-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 1.0625rem; line-height: 1.5; color: #d7dedc; }
.gk-steps .cifra-cerc { width: 32px; height: 32px; border-radius: 50%; background: #d4b07a; color: #13201f; font: 500 .9375rem/1 var(--font-display); }
.gk-proba .hd-note { margin-top: var(--space-6, 1.5rem); }

/* ── rezultatul ─────────────────────────────────────────────────────── */
.gk-art { margin-bottom: 1.25rem; }
.gk-art .rn-next { margin-top: 1rem; }
.gk-pt { margin-top: 1.5rem; }
.gk-pt p { margin: .75rem 0 0; }
.gk-kin { margin: 1.5rem 0 0; padding: 18px 20px; border-radius: 20px; background: rgb(212 176 122 / .1); box-shadow: inset 0 0 0 1px rgb(212 176 122 / .4); }
.gk-kin p { margin: 8px 0 0; font-size: .9375rem; line-height: 1.55; color: #d7dedc; }
.gk-kin .gk-kin-k { margin: 0; font: 500 1.0625rem/1.3 var(--font-display); color: #f3dcb4; }
.gk-kin b { color: #ede8df; font-weight: 500; }

/* ── „Genunchiul plătește pentru vecini” ─────────────────────────── */
.gk-q { margin: 1.5rem 0 0; padding: 4px 0 4px 20px; box-shadow: inset 3px 0 0 #d4b07a; }
.gk-q p { margin: 0; font: 500 1.125rem/1.5 var(--font-display); color: var(--ink, #13201f); }
.dark .gk-q p { color: #ede8df; }
.gk-mean { margin-top: 1.75rem; }
.gk-mean-k { margin: 0 0 12px; font: 500 1rem/1.3 var(--font-display); color: var(--ink, #13201f); }
.dark .gk-mean-k { color: #ede8df; }
.gk-mean-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gk-mean-g figure { margin: 0; padding: 18px 18px 16px; border-radius: 22px; background: #10252a; }
.gk-mean-g img { display: block; width: auto; height: 220px; max-width: 100%; margin: 0 auto; object-fit: contain; }
.gk-mean-g figcaption { margin-top: 12px; font-size: .9375rem; line-height: 1.45; color: #b5c2c0; }
.gk-mean-g figcaption b { color: #ede8df; font-weight: 500; }
.gk-mean .si-80 { margin-top: 12px; }
.gk-why .si-80 { background: rgb(212 176 122 / .14); }

@media (min-width: 1024px) {
  .gk-fig .gk-vf { margin-bottom: 6px; }
  /* la primul ecran și la rezultat, figura stă sus, lângă titlu (panoul e lung; jos ar ieși sub ecran) */
  .gk-hero[data-ecran="intro"] .gk-fig, .gk-hero[data-ecran="rezultat"] .gk-fig { position: sticky; top: 96px; bottom: auto; align-self: start; }
}
.gk-vf.is-profil { aspect-ratio: 540 / 420; }
@media (max-width: 1023px) {
  .gk-three li { grid-template-columns: 12px minmax(0, 1fr); }
  .gk-three span { grid-column: 2; margin-top: 2px; }
  .gk-body { height: 300px; transform: translateX(-28px); }
  .gk-lg { font-size: 62px; stroke-width: 14px; }
  .gk-lg-s { font-size: 50px; }
  .gk-rank { width: 100%; margin-top: 10px; padding: 10px 14px; }
  [data-ecran="siguranta"] .gk-fig .gk-rank, [data-ecran="stop"] .gk-fig .gk-rank { display: none; }
  .gk-fig .gk-rk { gap: 4px; }
  .gk-fig .gk-rk li { grid-template-columns: 84px minmax(0, 1fr); }
  .gk-rank-r .gk-rk li { grid-template-columns: 104px minmax(0, 1fr) 52px; }
  .gk-vf { aspect-ratio: 1 / 1; border-radius: 22px; }
  .gk-pair { inset: 52px 22px 66px; gap: 10px; }
  .gk-pair figcaption { left: 0; right: 0; font-size: .8125rem; }
  .gk-vf.is-profil { aspect-ratio: 1 / .78; }
  .gk-mean-g img { height: 150px; }
  .gk-mean-g figure { padding: 14px 12px; }
}
@media (max-width: 1023px) { .gk-fig .gk-vf { margin-top: 4px; } }
@media (prefers-reduced-motion: reduce) { .gk-recb i { animation: none; } }
:is(.rm, .mk-shot) :is(.gk-j, .gk-halo, .gk-swell, .gk-valg, .gk-flow, .gk-lg, .gk-rk li > i b, .gk-pair figure) { transition: none !important; }
:is(.rm, .mk-shot) .gk-recb i { animation: none; }

/* cifra numărului de surse („1”): fără împingerea de 1 px de la sciatică (ca la umăr) */
.gk-page .hh-src-h span { padding-top: 0; will-change: transform; }   /* stratul propriu: cercul și cifra se aliniază împreună la pixel, oricare ar fi înălțimea ecranului de deasupra (fără el: -0,55 px la 1440 pe primul ecran) */
