/* Testul „Cot / nerv ulnar” (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: cb- (ct- e folosit de contact).
   Direcțiile: B = „Ce degete amorțesc” pe primul ecran, A = cele trei puncte ale cotului și nervul ulnar pe braț, C = cotul îndoit, sub test.
   Culorile: durerea de tendon = portocaliu (#ff8a4c), nervul ulnar și degetele lui = auriu (#d4b07a), nervul median = turcoaz (#5ed0d8). */

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

/* ── primul ecran (B): „Ce degete amorțesc” ──────────────────────────── */
.cb-fin { margin-top: var(--space-6, 1.5rem); }
.cb-fin-h { margin: 0 0 12px; font: 500 1.125rem/1.3 var(--font-display); color: #ede8df; }
.cb-fin-o { display: grid; gap: 8px; }
.cb-fin-o button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 22px minmax(0, 220px) minmax(0, 1fr); column-gap: 14px; align-items: center; min-height: 52px; padding: 12px 18px; border-radius: 18px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); transition: background 200ms ease, box-shadow 200ms ease; }
.cb-fin-o button:hover { background: rgb(255 255 255 / .07); }
.cb-fin-o button:focus-visible { outline: 2px solid #5ed0d8; outline-offset: 3px; }
.cb-fin-o .tc-r { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .4); transition: box-shadow 200ms ease; }
.cb-fin-o b { font: 500 1rem/1.3 var(--font-display); color: #ede8df; }
.cb-fin-o b + span { font-size: .875rem; line-height: 1.4; color: #b5c2c0; }
.cb-fin-o [data-deg="m"][aria-pressed="true"] { background: rgb(94 208 216 / .1); box-shadow: inset 0 0 0 1.5px #5ed0d8; }
.cb-fin-o [data-deg="m"][aria-pressed="true"] .tc-r { box-shadow: inset 0 0 0 6px #5ed0d8; }
.cb-fin-o [data-deg="u"][aria-pressed="true"] { background: rgb(212 176 122 / .12); box-shadow: inset 0 0 0 1.5px #d4b07a; }
.cb-fin-o [data-deg="u"][aria-pressed="true"] .tc-r { box-shadow: inset 0 0 0 6px #d4b07a; }
.cb-fin-o [data-deg="x"][aria-pressed="true"] { background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1.5px #ede8df; }
.cb-fin-o [data-deg="x"][aria-pressed="true"] .tc-r { box-shadow: inset 0 0 0 6px #ede8df; }
.cb-fin-v { min-height: 3.2em; margin-top: 12px; }
.cb-fin-v p { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin: 0; font-size: .9375rem; line-height: 1.5; color: #b5c2c0; }
.cb-fin-v p[hidden] { display: none; }
.cb-fin-v p > span { flex: 1 1 280px; }
.cb-fin-v b { color: #ede8df; font-weight: 500; }
.cb-fin-v .tc-link { flex: none; }

/* ── figura (A): brațul din față, cu mâna ─────────────────────────── */
.cb-fig { position: relative; }
.cb-body { position: relative; height: min(calc(100svh - 250px), 720px); aspect-ratio: 512 / 1440; margin-inline: auto; }
.cb-body img, .cb-body svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cb-body img { object-fit: contain; }
.cb-ghost { stroke-dasharray: 2 10; }
.cb-j { fill: none; stroke: rgb(237 232 223 / .4); stroke-width: 3; stroke-dasharray: 3 8; stroke-linecap: round; transition: stroke 300ms ease, opacity 300ms ease; }
.cb-j.is-faint { stroke: rgb(255 138 76 / .75); stroke-dasharray: 6 7; }
.cb-j.is-on { stroke: #ff8a4c; stroke-dasharray: none; stroke-width: 4; filter: url(#tc-g); }
.cb-jn.is-faint { stroke: rgb(212 176 122 / .8); }
.cb-jn.is-on { stroke: #d4b07a; }
.cb-halo { fill: #ff8a4c; opacity: 0; filter: url(#tc-bl); transition: opacity 400ms ease; }
.cb-nv { fill: none; stroke: #d4b07a; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; opacity: 0; transition: stroke-dashoffset 800ms cubic-bezier(.23, 1, .32, 1), opacity 300ms ease; }
.cb-nv.is-on { opacity: .75; } .cb-nv.is-max { opacity: 1; filter: url(#tc-g); }
.cb-cv { fill: none; stroke: #d4b07a; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 3 12; opacity: 0; transition: opacity 300ms ease; }
.cb-cv.is-faint { opacity: .5; } .cb-cv.is-on { opacity: 1; }
.cb-md { fill: none; stroke: #bff8fb; stroke-width: 6; stroke-linecap: round; opacity: 0; transition: opacity 300ms ease; }
.cb-wr { fill: none; stroke: #bff8fb; stroke-width: 4; opacity: 0; transition: opacity 300ms ease; }
.cb-md.is-on, .cb-wr.is-on { opacity: 1; filter: url(#tc-g); }
.cb-fg { fill: none; stroke: #bff8fb; stroke-width: 26; stroke-linecap: round; opacity: 0; transition: opacity 300ms ease; }
.cb-fg-u { stroke: #d4b07a; }
.cb-fg.is-faint { opacity: .35; } .cb-fg.is-on { opacity: .75; filter: url(#tc-g); }
.cb-sp { fill: none; stroke: #ff8a4c; stroke-width: 4; stroke-dasharray: 3 8; stroke-linecap: round; opacity: 0; transition: opacity 300ms ease; }
.cb-sp.is-faint { opacity: .55; } .cb-sp.is-on { opacity: 1; stroke-dasharray: none; filter: url(#tc-g); }
.cb-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; }
.cb-lg.is-faint { fill: #d7dedc; } .cb-lg.is-on { fill: #ffd2b4; }
.cb-lg[data-t="sant"].is-on, .cb-lg[data-t="deg"].is-on, .cb-lg[data-t="cv"].is-on { fill: #f3dcb4; }
.cb-lg-s { font-size: 26px; fill: #b5c2c0; }
.cb-lg[data-t="cv"], .cb-lg[data-t="sp"] { opacity: 0; }
.cb-lg[data-t="cv"]:is(.is-on, .is-faint), .cb-lg[data-t="sp"].is-on { opacity: 1; }   /* „verifică aici” doar la deficit */
.cb-lg[data-t="sp"].is-on { fill: #ffd2b4; }
.cb-lg[data-t="deg"]:not(.is-on):not(.is-faint) { opacity: 0; }
.cb-fig .is-dim { opacity: .14 !important; filter: none !important; }
.cb-fig .cb-lg.is-dim { opacity: .35 !important; }

/* clasamentul „De unde vine” (sub figură și în rezultat) */
.cb-rank { width: min(340px, 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; }
.cb-rank-h { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px; font: 500 .875rem/1.2 var(--font-display); color: #ede8df; }
.cb-rank-h em { font-style: normal; color: #d4b07a; text-align: right; }
.cb-rk { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cb-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; }
.cb-rk li > i { position: relative; height: 8px; border-radius: 4px; background: rgb(255 255 255 / .08); overflow: hidden; }
.cb-rk li > i b { position: absolute; inset: 0; border-radius: 4px; background: rgb(255 138 76 / .55); transform: scaleX(0); transform-origin: left; transition: transform 700ms cubic-bezier(.23, 1, .32, 1), background 300ms ease; }
.cb-rk li[data-k="nerv"] > i b { background: rgb(212 176 122 / .55); }
.cb-rk li[data-k="sev"] > i b { background: rgb(237 232 223 / .4); }
.cb-rk li.is-top { color: #f3dcb4; }
.cb-rk li.is-top > i b { background: #ff8a4c; box-shadow: 0 0 12px rgb(255 138 76 / .6); }
.cb-rk li[data-k="nerv"].is-top > i b { background: #d4b07a; box-shadow: 0 0 12px rgb(212 176 122 / .6); }
.cb-rk em { font-style: normal; font-variant-numeric: tabular-nums; color: #b5c2c0; text-align: right; white-space: nowrap; }
[data-ecran="siguranta"] .cb-fig .cb-rank, [data-ecran="stop"] .cb-fig .cb-rank { visibility: hidden; }
[data-ecran="rezultat"] .cb-fig .cb-rank, [data-ecran="intro"] .cb-fig .cb-rank { display: none; }   /* rezultatul are clasamentul lui, în panou */
.cb-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); }
.cb-rank-r .tm-sc-k { margin-bottom: 6px; }
.cb-side { margin: 0 0 10px; font-size: .9375rem; color: #b5c2c0; }
.cb-side b { color: #ffd2b4; font-weight: 500; }
.cb-rank-r .cb-rk { gap: 10px; }
.cb-rank-r .cb-rk li { grid-template-columns: 128px minmax(0, 1fr) 64px; font-size: .9375rem; color: #b5c2c0; }
.cb-rank-r .cb-rk li.is-top { color: #f3dcb4; }

/* ── rezultatul ─────────────────────────────────────────────────────── */
.cb-def { margin-bottom: 1.25rem; }
.cb-def p { margin: .75rem 0 0; }
.cb-def-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cb-def-t a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cb-def-t a b { font-variant-numeric: tabular-nums; }
.cb-def-t span { font-size: .875rem; opacity: .8; }
.cb-pt { margin-top: 1.5rem; }
.cb-pt p { margin: .75rem 0 0; }
.cb-pt p[hidden] { display: none; }
.cb-cerv { 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); }
.cb-cerv p { margin: 8px 0 0; font-size: .9375rem; line-height: 1.55; color: #d7dedc; }
.cb-cerv .cb-cerv-k { margin: 0; font: 500 1.0625rem/1.3 var(--font-display); color: #f3dcb4; }
.cb-cerv .rn-next { margin-top: 12px; }

/* ── 01 · „Cotul e singurul loc unde poți arăta cu degetul” ────────── */
.cb-pts { display: grid; gap: 10px; margin: 1.5rem 0; padding: 0; list-style: none; }
.cb-pts li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 18px; border-radius: 20px; background: var(--surface, #fff); box-shadow: inset 0 0 0 1px rgb(19 32 31 / .08); }
.dark .cb-pts li { background: #10252a; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.cb-pts .cifra-cerc { will-change: transform; width: 36px; height: 36px; border-radius: 50%; background: #d4b07a; color: #13201f; font: 500 1rem/1 var(--font-display); }
.cb-pts li:nth-child(3) .cifra-cerc { background: #5ed0d8; color: #0e2226; }
.cb-pts b { display: block; font: 500 1.0625rem/1.3 var(--font-display); color: var(--ink, #13201f); }
.dark .cb-pts b { color: #ede8df; }
.cb-pts p { margin: 4px 0 0; font-size: .9375rem; line-height: 1.5; }
.cb-why .si-80 { background: rgb(212 176 122 / .14); }

/* ── 02 · cotul îndoit (C) ─────────────────────────────────────────── */
.cb-bend-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.cb-scene { margin: 0; }
.cb-scene-i { position: relative; aspect-ratio: 1416 / 1004; border-radius: 28px; background: #10252a; overflow: hidden; }
.cb-scene-i img, .cb-scene-i svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cb-sc-h { fill: #d4b07a; opacity: .45; filter: blur(16px); }
.cb-sc-r { fill: none; stroke: #d4b07a; stroke-width: 4; }
.cb-scene figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .875rem; line-height: 1.4; color: var(--muted, #5b6b69); }
.dark .cb-scene figcaption { color: #b5c2c0; }
.cb-sc-d { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #d4b07a; box-shadow: 0 0 10px rgb(212 176 122 / .8); }
.cb-bend-t .hh-h2 { margin-bottom: 1rem; }
.cb-bend-t > p { margin: 0 0 1rem; }
.cb-bend-k { margin: 1.5rem 0 .75rem !important; font: 500 1.0625rem/1.3 var(--font-display); color: var(--ink, #13201f); }
.dark .cb-bend-k { color: #ede8df; }
.cb-do { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cb-do li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border-radius: 18px; background: var(--surface, #fff); box-shadow: inset 0 0 0 1px rgb(19 32 31 / .08); font-size: .9875rem; line-height: 1.5; }
.dark .cb-do li { background: #10252a; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.cb-do .cifra-cerc { width: 32px; height: 32px; border-radius: 50%; background: #d4b07a; color: #13201f; font: 500 .9375rem/1 var(--font-display); }
.cb-bend-n { margin-top: 1rem !important; font-size: .9375rem; }

@media (min-width: 1024px) {
  /* la primul ecran și la rezultat, figura stă sus, lângă titlu (panoul e lung; jos ar ieși sub ecran) */
  .cb-hero[data-ecran="intro"] .cb-fig, .cb-hero[data-ecran="rezultat"] .cb-fig { position: sticky; top: 96px; bottom: auto; align-self: start; }
}
@media (max-width: 1023px) {
  .cb-fin-o button { grid-template-columns: 22px minmax(0, 1fr); row-gap: 2px; }
  .cb-fin-o b + span { grid-column: 2; }
  .cb-fig { padding-top: 10px; }
  .cb-body { height: 330px; }
  .cb-lg { font-size: 64px; stroke-width: 16px; }
  .cb-lg-s { display: none; }
  .cb-lg[data-t="cv"] { font-size: 52px; display: inline; }
  .cb-rank { width: 100%; margin-top: 10px; padding: 10px 14px; }
  [data-ecran="siguranta"] .cb-fig .cb-rank, [data-ecran="stop"] .cb-fig .cb-rank { display: none; }
  .cb-fig .cb-rk { gap: 4px; }
  .cb-fig .cb-rk li { grid-template-columns: 84px minmax(0, 1fr); }
  .cb-rank-r .cb-rk li { grid-template-columns: 100px minmax(0, 1fr) 60px; }
  .cb-bend-in { grid-template-columns: minmax(0, 1fr); }
  .cb-scene-i { border-radius: 22px; }
}
:is(.rm, .mk-shot) :is(.cb-j, .cb-halo, .cb-nv, .cb-cv, .cb-md, .cb-wr, .cb-fg, .cb-sp, .cb-lg, .cb-rk li > i b) { transition: none !important; }

/* cifra numărului de surse („1”): stratul propriu, ca la genunchi */
.cb-page .hh-src-h span { padding-top: 0; will-change: transform; }
@media (max-width: 1023px) { .cb-page .hh-src-h span { will-change: auto; } }   /* pe telefon, stratul propriu muta cifra cu 0,8 px (măsurat cu cifre-cerc.mjs) */
