/* Testul „Șold” (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: sdt- (sd- e al hubului de șold).
   Direcțiile: A = „Arată cu mâna” (harta celor trei zone pe corp, primul ecran + figura testului), B = testul pe scaun înaintea întrebării 6,
   C = „mai adânc decât crezi” în secțiunea „Înainte de test”.
   Culorile: articulația (inghinal) = portocaliul de durere (#ff8a4c), lateral = auriu (#d4b07a), fesa = gri-turcoaz (#8fa09d, „nu e primul lucru de verificat”),
   labrumul = turcoaz (#5ed0d8), drumul spre genunchi = auriu. */

/* ── primul ecran (A): titlul pe două rânduri la 1440 ───────────────── */
.sdt-hero .tc-h1 { font-size: clamp(2.25rem, 1.2rem + 2.6vw, 3.375rem); }
.sdt-ask { margin: var(--space-6, 1.5rem) 0 10px; font: 500 1rem/1.3 var(--font-display); color: #ede8df; }

/* ușile: cele trei zone (S, tabelul de sus) */
.sdt-doors { display: grid; gap: 8px; }
.sdt-door { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 12px minmax(0, 196px) 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); transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease; }
.sdt-door:hover { background: rgb(255 255 255 / .07); transform: translateY(-2px); }
.sdt-door:focus-visible { outline: 2px solid #5ed0d8; outline-offset: 2px; }
.sdt-door i { width: 10px; height: 10px; border-radius: 50%; transform: translateY(-1px); }
.sdt-door[data-zona="0"] i { background: #8fa09d; }
.sdt-door[data-zona="1"] i { background: #d4b07a; box-shadow: 0 0 10px rgb(212 176 122 / .8); }
.sdt-door[data-zona="2"] i { background: #ff8a4c; box-shadow: 0 0 10px #ff8a4c; }
.sdt-door b { font: 500 .9375rem/1.3 var(--font-display); color: #ede8df; }
.sdt-door span { font-size: .875rem; line-height: 1.45; color: #b5c2c0; }
.sdt-door[aria-pressed="true"] { background: rgb(212 176 122 / .12); box-shadow: inset 0 0 0 1.5px #d4b07a; }
.sdt-door[data-zona="2"][aria-pressed="true"] { background: rgb(255 138 76 / .1); box-shadow: inset 0 0 0 1.5px #ff8a4c; }
.sdt-door[data-zona="0"][aria-pressed="true"] { background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1.5px #b5c2c0; }
.sdt-away { margin: 10px 0 0; padding: 14px 18px; border-radius: 18px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.sdt-away[hidden] { display: none; }
.sdt-away p { margin: 0; font-size: .9375rem; line-height: 1.5; color: #d7dedc; }
.sdt-away b { color: #ede8df; font-weight: 500; }
.sdt-away-l { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px !important; }
.sdt-hero .tc-go-row { margin-top: var(--space-6, 1.5rem); }

/* ── figura (A): corpul din față și din spate ──────────────────────── */
.sdt-fig { position: relative; }
.sdt-body { position: relative; height: min(calc(100svh - 300px), 610px); aspect-ratio: 590 / 765; margin-inline: auto; }
.sdt-body[hidden] { display: none; }
.sdt-body img, .sdt-body svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sdt-body img { object-fit: contain; }
.sdt-side { position: absolute; top: -4px; z-index: 1; font: 500 .8125rem/1 var(--font-display); color: #8fa09d; }
.sdt-side-f { left: 15%; } .sdt-side-s { left: 66%; }
.sdt-z { fill: none; stroke: rgb(237 232 223 / .42); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; transition: stroke 300ms ease, opacity 300ms ease, stroke-width 300ms ease; }
.sdt-z.is-faint { stroke-dasharray: 5 6; }
.sdt-z.is-on { stroke-dasharray: none; stroke-width: 3; filter: url(#tc-g); }
.sdt-z-a.is-faint { stroke: rgb(255 138 76 / .8); } .sdt-z-a.is-on { stroke: #ff8a4c; }
.sdt-z-l.is-faint { stroke: rgb(212 176 122 / .8); } .sdt-z-l.is-on { stroke: #d4b07a; }
.sdt-z-b.is-faint, .sdt-z-b.is-on { stroke: #b5c2c0; }
.sdt-z-k { opacity: 0; } .sdt-z-k.is-faint { opacity: 1; stroke: rgb(212 176 122 / .8); } .sdt-z-k.is-on { opacity: 1; stroke: #d4b07a; }
.sdt-halo { fill: #ff8a4c; opacity: 0; filter: url(#tc-bl); transition: opacity 400ms ease; }
.sdt-halo-l { fill: #d4b07a; } .sdt-halo-b { fill: #b5c2c0; }
.sdt-lab { fill: none; stroke: #5ed0d8; stroke-width: 3; opacity: 0; transition: opacity 300ms ease; }
.sdt-lab.is-faint { opacity: .6; stroke-dasharray: 2 4; } .sdt-lab.is-on { opacity: 1; filter: url(#tc-g); }
.sdt-click { fill: none; stroke: #5ed0d8; stroke-width: 3; stroke-linecap: round; opacity: 0; transition: opacity 300ms ease; }
.sdt-click.is-on { opacity: 1; }
.sdt-knee-ar { fill: none; stroke: #d4b07a; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; opacity: 0; transition: stroke-dashoffset 900ms cubic-bezier(.23, 1, .32, 1), opacity 300ms ease; }
.sdt-knee-ar.is-faint { opacity: .55; } .sdt-knee-ar.is-on { opacity: 1; filter: url(#tc-g); }
.sdt-lg { font: 500 21px var(--font-display); fill: #8fa09d; stroke: #10252a; stroke-width: 6px; stroke-linejoin: round; paint-order: stroke; transition: fill 300ms ease, opacity 300ms ease; }
.sdt-lg.is-faint { fill: #d7dedc; } .sdt-lg.is-on { fill: #f3dcb4; }
.sdt-lg[data-t="art"].is-on { fill: #ffd2b4; }
.sdt-lg-s { font-size: 16px; fill: #b5c2c0; }
.sdt-lg-s[data-ts="art"] { fill: #ffb48a; } .sdt-lg-s[data-ts="knee"] { fill: #f3dcb4; }
.sdt-fig .is-dim { opacity: .18 !important; filter: none !important; }
.sdt-fig .sdt-lg.is-dim { opacity: .4 !important; }

/* clasamentul „Unde stă durerea” (sub figură și în rezultat) */
.sdt-rank { width: min(380px, 100%); margin: 12px 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; }
.sdt-rank[hidden] { display: none; }
.sdt-rank-h { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px; font: 500 .875rem/1.2 var(--font-display); color: #ede8df; }
.sdt-rank-h em { font-style: normal; color: #d4b07a; text-align: right; }
.sdt-rk { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sdt-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; }
.sdt-rk li > i { position: relative; height: 8px; border-radius: 4px; background: rgb(255 255 255 / .08); overflow: hidden; }
.sdt-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; }
.sdt-rk li[data-k="art"] > i b { background: rgb(255 138 76 / .6); }
.sdt-rk li[data-k="lab"] > i b { background: rgb(94 208 216 / .55); }
.sdt-rk li[data-k="func"] > i b { background: rgb(181 194 192 / .55); }
.sdt-rk li.is-top { color: #f3dcb4; }
.sdt-rk li.is-top > i b { background: #d4b07a; box-shadow: 0 0 12px rgb(212 176 122 / .6); }
.sdt-rk li[data-k="art"].is-top > i b { background: #ff8a4c; box-shadow: 0 0 12px rgb(255 138 76 / .6); }
.sdt-rk li[data-k="lab"].is-top > i b { background: #5ed0d8; box-shadow: 0 0 12px rgb(94 208 216 / .6); }
.sdt-rk em { white-space: nowrap; font-style: normal; font-variant-numeric: tabular-nums; color: #b5c2c0; text-align: right; }
.sdt-rk small { display: block; margin-top: 2px; font: 400 .75rem/1.2 var(--font-sans); color: #8fa09d; }
[data-ecran="siguranta"] .sdt-fig .sdt-rank, [data-ecran="stop"] .sdt-fig .sdt-rank { visibility: hidden; }
[data-ecran="rezultat"] .sdt-fig .sdt-rank, [data-ecran="intro"] .sdt-fig .sdt-rank { display: none; }   /* rezultatul are clasamentul lui, în panou */
.sdt-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); }
.sdt-rank-r .tm-sc-k { margin-bottom: 10px; }
.sdt-rank-r .sdt-rk { gap: 10px; }
.sdt-rank-r .sdt-rk li { grid-template-columns: 150px minmax(0, 1fr) 76px; font-size: .9375rem; color: #b5c2c0; }
.sdt-rank-r .sdt-rk li.is-top { color: #f3dcb4; }

/* ── testul pe scaun (B) ───────────────────────────────────────────── */
.sdt-ch { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(100%, 500px); margin-inline: auto; }
.sdt-ch[hidden] { display: none; }
.sdt-ch figure { margin: 0; transition: opacity 300ms ease; }
.sdt-chf { position: relative; height: min(calc(100svh - 390px), 520px); aspect-ratio: 480 / 910; margin-inline: auto; }
.sdt-chf img, .sdt-chf svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sdt-chf img { object-fit: contain; }
.sdt-ch figcaption { margin-top: 10px; text-align: center; font: 500 .875rem/1.3 var(--font-display); color: #b5c2c0; }
.sdt-ch figure[data-cv="1"] figcaption { color: #f3dcb4; }
.sdt-plumb { stroke: rgb(237 232 223 / .5); stroke-width: 3; stroke-dasharray: 3 9; stroke-linecap: round; }
.sdt-arc { fill: none; stroke: #d4b07a; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 0; filter: url(#tc-g); transition: stroke-dashoffset 700ms cubic-bezier(.23, 1, .32, 1); }
.sdt-foot { fill: #d4b07a; transition: opacity 300ms ease; }
.sdt-gr { fill: #ff8a4c; opacity: 0; filter: url(#tc-bl); transition: opacity 400ms ease; }
.sdt-ch.is-a0 figure[data-cv="0"] { opacity: .5; }

/* pașii testului pe scaun: cifrele în cercuri (regula comună din acasa-v10.css, .cifra-cerc) */
.sdt-steps { display: grid; gap: 12px; margin: var(--space-6, 1.5rem) 0 0; padding: 0; list-style: none; }
.sdt-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; }
.sdt-steps li > span:last-child b { color: #ede8df; font-weight: 500; }
.sdt-steps .cifra-cerc { width: 32px; height: 32px; border-radius: 50%; background: #d4b07a; color: #13201f; font: 500 .9375rem/1 var(--font-display); }
.sdt-proba .hd-note { margin-top: var(--space-6, 1.5rem); }

/* ── rezultatul ─────────────────────────────────────────────────────── */
.sdt-not { margin-bottom: 1.25rem; }
.sdt-next { flex-wrap: wrap; gap: 8px 22px; margin-top: 1rem; }
.sdt-pt { margin-top: 1.5rem; }
.sdt-pt p { margin: .75rem 0 0; }
.sdt-tonight { margin: 1rem 0 0; padding: 16px 20px; border-radius: 20px; background: rgb(212 176 122 / .1); box-shadow: inset 0 0 0 1px rgb(212 176 122 / .4); }
.sdt-tonight p { margin: 6px 0 0; font-size: .9375rem; line-height: 1.55; color: #d7dedc; }
.sdt-tonight .sdt-tonight-k { margin: 0; font: 500 1.0625rem/1.3 var(--font-display); color: #f3dcb4; }
.sdt-knee { 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); }
.sdt-knee p { margin: 8px 0 0; font-size: .9375rem; line-height: 1.55; color: #d7dedc; }
.sdt-knee .sdt-knee-k { margin: 0; font: 500 1.0625rem/1.3 var(--font-display); color: #f3dcb4; }
.sdt-knee .sdt-knee-a { margin-top: 12px; }

/* ── „Mă doare șoldul” înseamnă trei lucruri diferite (C) ──────────── */
.sdt-deep { position: relative; margin: 1.5rem 0 0; border-radius: 24px; overflow: hidden; background: #05242c; height: 340px; }
.sdt-deep img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.sdt-deep figcaption { position: absolute; left: 16px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgb(5 36 44 / .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font: 500 .875rem/1.3 var(--font-display); color: #ede8df; }
.sdt-deep-d { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #ff8a4c; box-shadow: 0 0 10px #ff8a4c; }
.sdt-map { display: grid; gap: 6px; margin: 1.25rem 0 0; }
.sdt-map-r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: baseline; padding: 12px 16px; border-radius: 16px; background: var(--surface, #fff); box-shadow: inset 0 0 0 1px rgb(19 32 31 / .1); font-size: .9375rem; line-height: 1.45; color: var(--ink-2, #3c4a48); }
.dark .sdt-map-r { background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); color: #b5c2c0; }
.sdt-map-r b { font-weight: 500; color: var(--ink, #13201f); }
.dark .sdt-map-r b { color: #ede8df; }
.sdt-map-r span:first-child { display: flex; align-items: baseline; gap: 10px; }
.sdt-map-r i { flex: none; width: 10px; height: 10px; border-radius: 50%; transform: translateY(-1px); }
.sdt-map-r[data-m="0"] i { background: #8fa09d; } .sdt-map-r[data-m="1"] i { background: #d4b07a; } .sdt-map-r[data-m="2"] i { background: #ff8a4c; }
.sdt-map-h { padding-block: 4px; background: none !important; box-shadow: none !important; font: 500 .8125rem/1.2 var(--font-display); color: var(--ink-3, #6b7a78); }
.dark .sdt-map-h { color: #8fa09d; }
.sdt-map-h span:first-child { padding-left: 20px; }
.sdt-q { margin: 1.5rem 0 0; padding: 4px 0 4px 20px; box-shadow: inset 3px 0 0 #d4b07a; }
.sdt-q p { margin: 0; font: 500 1.125rem/1.5 var(--font-display); color: var(--ink, #13201f); }
.dark .sdt-q p { color: #ede8df; }
.sdt-why .si-80 { margin-top: 1.25rem; background: rgb(212 176 122 / .14); }

@media (min-width: 1024px) {
  .sdt-fig .sdt-rank { margin: 0 auto 26px; }   /* figura e în coloană inversă: clasamentul stă deasupra corpului, cu loc pentru „din față / din spate” */
  /* la primul ecran și la rezultat, figura stă sus, lângă titlu (panoul e lung; jos ar ieși sub ecran) */
  .sdt-hero[data-ecran="intro"] .sdt-fig, .sdt-hero[data-ecran="rezultat"] .sdt-fig { position: sticky; top: 96px; bottom: auto; align-self: start; }
}
@media (max-width: 1023px) {
  .sdt-door { grid-template-columns: 12px minmax(0, 1fr); }
  .sdt-door span { grid-column: 2; margin-top: 2px; }
  .sdt-body { height: 300px; margin-top: 22px; }
  /* pe telefon, la siguranță și la oprire, mesajul e primul: figura nu mai stă deasupra lui (lecția testului de sacroiliacă) */
  .sdt-hero:is([data-ecran="siguranta"], [data-ecran="stop"]) .sdt-fig { display: none; }
  .sdt-lg { font-size: 30px; stroke-width: 9px; }
  .sdt-lg-s { font-size: 24px; }
  .sdt-side { font-size: .75rem; }
  .sdt-rank { width: 100%; margin-top: 10px; padding: 10px 14px; }
  [data-ecran="siguranta"] .sdt-fig .sdt-rank, [data-ecran="stop"] .sdt-fig .sdt-rank { display: none; }
  .sdt-fig .sdt-rk { gap: 4px; }
  .sdt-fig .sdt-rk li { grid-template-columns: 84px minmax(0, 1fr); }
  .sdt-rank-r .sdt-rk li { grid-template-columns: 100px minmax(0, 1fr) 76px; }
  .sdt-chf { height: 250px; }
  .sdt-ch { gap: 8px; }
  .sdt-ch figcaption { font-size: .8125rem; }
  .sdt-map-r { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sdt-map-r span:last-child { padding-left: 20px; }
  .sdt-map-h { display: none; }
  .sdt-deep { height: 260px; }
  .sdt-deep img { object-position: 62% 40%; }
}
:is(.rm, .mk-shot) :is(.sdt-z, .sdt-halo, .sdt-lab, .sdt-click, .sdt-knee-ar, .sdt-lg, .sdt-rk li > i b, .sdt-arc, .sdt-gr, .sdt-ch figure, .sdt-door) { transition: none !important; }

/* cifra numărului de surse („1”): fără împingerea de 1 px de la sciatică (ca la umăr și genunchi) */
.sdt-page .hh-src-h span { padding-top: 0; will-change: transform; }   /* stratul propriu: cercul și cifra se aliniază împreună la pixel (ca la genunchi) */
@media (max-width: 1023px) { .sdt-page .hh-src-h span { will-change: auto; } }   /* la 390 stratul împingea cifra cu 0,6–0,7 px jos în două stări; fără el, toate ≤ 0,4 px */
