/* Testul lombar (25 nov. 2026): peste șablonul testelor (test-cervical.css, tc-*) și piesele testului de amorțeală (tm-meters, tm-book, tm-two).
   Direcțiile alese: C = rutarea pe primul ecran, B = camera celor patru mișcări (întrebările 3–6, 12), A = figura din spate (durerea până unde coboară). */

/* ── rutarea (C), pe primul ecran și la rezultat ─────────────────────── */
.tl-routes-k { margin: var(--space-6, 1.5rem) 0 10px; font: 500 .9375rem/1.3 var(--font-display); color: #d4b07a; }
.tl-routes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tl-routes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 16px; border-radius: 16px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); transition: background-color 300ms ease, box-shadow 300ms ease, opacity 300ms ease; }
.tl-rt { font-size: .9375rem; line-height: 1.4; color: #ede8df; }
.tl-rg { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; }
.tl-rg a { font: 500 .9375rem/1.3 var(--font-display); color: #5ed0d8; text-decoration: none; white-space: nowrap; }
.tl-rg a::after { content: " →"; }
@media (hover: hover) and (pointer: fine) { .tl-rg a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.tl-rg a:focus-visible { outline: 2px solid #5ed0d8; outline-offset: 3px; border-radius: 4px; }
[data-scr="intro"] .tc-go-row { margin-top: var(--space-6, 1.5rem); }
/* la rezultat: rândul tiparului tău se aprinde, celelalte se retrag */
.tl-res-routes { margin-top: var(--space-6, 1.5rem); }
.tl-res-routes .tl-routes li { opacity: .5; }
.tl-res-routes .tl-routes li.is-on { opacity: 1; background: rgb(212 176 122 / .14); box-shadow: inset 0 0 0 1.5px #d4b07a; }

/* ── întrebările ────────────────────────────────────────────────────── */
.tl-stand { margin: var(--space-4, 1rem) 0 0; padding: 16px 20px; border-radius: 18px; background: rgb(212 176 122 / .1); box-shadow: inset 0 0 0 1px rgb(212 176 122 / .35); }
.tl-stand p { margin: 8px 0 0; font-size: 1rem; line-height: 1.55; color: #c9d3d1; }
.tl-stand p b { font-weight: 500; color: #ede8df; }
.tl-stand .tl-stand-k { margin: 0; font: 500 .875rem/1.3 var(--font-display); color: #d4b07a; }
.tl-q15 { margin: var(--space-4, 1rem) 0 0; font-size: .9375rem; color: #ffb48a; }
.tl-stop-p { margin: 8px 0 0 !important; font-size: 1rem !important; line-height: 1.55; color: #ede8df !important; }
.tl-stop-p b { font-weight: 500; }

/* ── rezultatul ─────────────────────────────────────────────────────── */
.tl-main [data-tipar] p, .tl-nm p { margin: .75rem 0 0; }
.tl-nm { margin: var(--space-4, 1rem) 0 var(--space-6, 1.5rem); }
.tl-nm .tc-h3 { margin: 0; }
.tl-esc { margin-top: var(--space-4, 1rem) !important; padding-top: var(--space-4, 1rem); border-top: 1px solid rgb(255 138 76 / .25); font-size: .9375rem !important; }
.tl-dir { margin-top: var(--space-6, 1.5rem); padding: 18px 20px; border-radius: 18px; background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.tl-dir-t { position: relative; height: 8px; margin-top: 14px; border-radius: 6px; background: linear-gradient(90deg, rgb(94 208 216 / .5), rgb(255 255 255 / .08) 50%, rgb(212 176 122 / .6)); }
.tl-dir-m { position: absolute; top: -8px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: #ede8df; box-shadow: 0 0 0 4px #0f2328; transition: left 600ms cubic-bezier(.23, 1, .32, 1); }
.tl-dir-l { display: flex; justify-content: space-between; margin-top: 10px; font: 500 .8125rem/1.3 var(--font-display); color: #b5c2c0; }
.tl-meters { margin: 18px 0 0; padding: 16px 0 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid rgb(255 255 255 / .08); }
.tl-meters .tm-m { grid-template-columns: 150px 1fr 64px; }
.tl-meters .tm-m:nth-child(1) .tm-m-t i { background: #ff8a4c; }
.tl-weight { display: flex; gap: 10px; align-items: flex-start; margin: var(--space-6, 1.5rem) 0 0; font-size: .9375rem; line-height: 1.5; color: #b5c2c0; }
.tl-weight b { font-weight: 500; color: #ede8df; }

/* ── figura: camera mișcărilor (B) și figura din spate (A) ─────────────── */
.tl-cam { position: relative; height: min(calc(100svh - 230px), 640px); aspect-ratio: 340 / 687; margin-inline: auto; border-radius: 28px; background: #0a2529 url(../imagini/spate/spate-miscari-1600.webp) no-repeat; background-size: calc(1600 / 340 * 100%) auto; background-position: var(--x, 9%) 0; transition: background-position 700ms cubic-bezier(.77, 0, .175, 1); }
.tl-cam[hidden] { display: none; }
.tl-body { position: relative; height: min(calc(100svh - 230px), 700px); aspect-ratio: 592 / 1412; margin-inline: auto; }
.tl-body[hidden] { display: none; }
.tl-body img, .tl-body svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tl-fig .tc-lg { font-size: 24px; stroke-width: 8px; }
.tl-pain { stroke-width: 9; }
.tl-pain.is-hot { stroke: #ffa070; stroke-width: 11; }
.tl-lomb { fill: #ff8a4c; opacity: 0; filter: url(#tc-bl); transition: opacity 400ms ease; }
.tl-halo { fill: #d4b07a; opacity: 0; filter: url(#tc-bl); transition: opacity 400ms ease; }
.tl-numb { fill: none; stroke: #5ed0d8; stroke-width: 18; stroke-linecap: round; opacity: 0; filter: url(#tc-g); transition: opacity 400ms ease; }
.tl-numb.is-faint { opacity: .3; } .tl-numb.is-on { opacity: .75; }

/* ── secțiunea „Ce urmărește testul” ───────────────────────────────── */
.tl-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1023px) {
  .tl-routes li { grid-template-columns: 1fr; gap: 6px; padding: 12px 14px; }
  .tl-rg { justify-content: flex-start; }
  .tl-cam { height: 260px; border-radius: 20px; }
  .tl-body { height: 260px; }
  .tl-meters .tm-m { grid-template-columns: 112px 1fr 64px; gap: 10px; }
  .tl-four { grid-template-columns: 1fr; }
}
:is(.rm, .mk-shot) :is(.tl-cam, .tl-dir-m, .tl-lomb, .tl-halo, .tl-numb, .tl-routes li) { transition: none !important; }
