/* Testul „Umăr înghețat” (26 nov. 2026): peste test-cervical.css (tc-*) și piesele testelor „RMN normal” (rn-next, rn-nodx), de amorțeală (tm-book, tm-sc-k),
   „Hernie de disc” (hd-note), „Durerea de umăr” (us-rise, us-ctl, us-mark, us-deg: proba cu brațul). Prefixul propriu: ug-.
   Direcțiile: C = „același exercițiu, trei efecte” pe primul ecran, A = capsula care se strânge + curba fazelor, B = proba cu altcineva la întrebarea 6.
   Culorile: durerea = portocaliul (#ff8a4c), mobilitatea = turcoazul (#5ed0d8), dezghețul = auriul cald (#f0c27a). */

/* ── primul ecran (C): cele trei faze ─────────────────────────────── */
.ug-ph-k { margin: var(--space-6, 1.5rem) 0 10px !important; font: 500 .9375rem/1.3 var(--font-display) !important; color: #d4b07a !important; }
.ug-ph { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ug-ph li { position: relative; display: grid; grid-template-rows: auto auto 1fr; padding: 14px 16px 16px; border-radius: 18px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.ug-ph-n { width: 28px; height: 28px; border-radius: 50%; font: 500 .875rem/1 var(--font-display); font-variant-numeric: tabular-nums; color: #13201f; }
.ug-ph li[data-ph="1"] .ug-ph-n { background: #ff8a4c; box-shadow: 0 0 14px rgb(255 138 76 / .55); }
.ug-ph li[data-ph="2"] .ug-ph-n { background: #5ed0d8; }
.ug-ph li[data-ph="3"] .ug-ph-n { background: #f0c27a; }
.ug-ph li[data-ph="1"] { background: rgb(255 138 76 / .08); box-shadow: inset 0 0 0 1px rgb(255 138 76 / .45); }
.ug-ph b { margin-top: 10px; font: 500 1rem/1.25 var(--font-display); color: #ede8df; }
.ug-ph-t { margin-top: 6px; font-size: .875rem; line-height: 1.45; color: #b5c2c0; }
.ug-sign { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0 !important; padding: 14px 16px; border-radius: 18px; background: rgb(94 208 216 / .08); box-shadow: inset 0 0 0 1px rgb(94 208 216 / .3); font-size: .9375rem !important; line-height: 1.5 !important; color: #d7dedc !important; }
.ug-sign .bo-i { flex: none; margin-top: 2px; color: #5ed0d8; }

/* ── figura (A): articulația + curba fazelor ──────────────────────── */
.tc-fig.ug-fig { display: flex; flex-direction: column; align-items: center; }
.ug-body { position: relative; width: auto; height: min(calc(100svh - 420px), 500px); aspect-ratio: 900 / 949; margin-inline: auto; }
.ug-body[hidden], .ug-proba[hidden], .ug-curve[hidden] { display: none; }
.ug-body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ug-tight { opacity: 0; transition: opacity 700ms cubic-bezier(.23, 1, .32, 1); }
.ug-grip { position: absolute; left: 50%; top: 2%; transform: translateX(-50%); display: flex; gap: 8px; align-items: baseline; margin: 0; padding: 8px 14px; border-radius: 999px; background: rgb(8 42 48 / .82); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font: 500 .8125rem/1 var(--font-display); color: #b5c2c0; white-space: nowrap; transition: opacity 300ms ease; }
.ug-grip b { font-weight: 500; color: #ffd2b4; font-variant-numeric: tabular-nums; }
.ug-curve { width: min(100%, 480px); margin: 10px auto 18px; padding: 12px 14px 8px; border-radius: 20px; background: rgb(8 42 48 / .72); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); box-sizing: border-box; }
.ug-curve svg { display: block; width: 100%; height: auto; overflow: visible; }
.ug-key { display: flex; gap: 16px; align-items: center; margin: 0 0 6px; font: 500 .75rem/1 var(--font-display); color: #b5c2c0; }
.ug-key i { display: inline-block; width: 14px; height: 3px; margin-right: 6px; border-radius: 2px; vertical-align: middle; }
.ug-kp { background: #ff8a4c; } .ug-km { background: #5ed0d8; }
.ug-key em { margin-left: auto; font-style: normal; color: #8fa09d; }
.ug-key em::after { content: " →"; }
.ug-band { fill: #ede8df; opacity: 0; transition: opacity 400ms ease; }
.ug-band.is-on { opacity: .05; }
.ug-band[data-band="1"].is-on { fill: #ff8a4c; opacity: .12; }
.ug-band[data-band="3"].is-on { fill: #f0c27a; opacity: .1; }
.ug-sep { stroke: rgb(255 255 255 / .16); stroke-dasharray: 3 5; }
.ug-pain, .ug-mob { fill: none; stroke-width: 3.5; stroke-linecap: round; transition: opacity 300ms ease; }
.ug-pain { stroke: #ff8a4c; filter: url(#ug-g); }
.ug-mob { stroke: #5ed0d8; }
.ug-curve.is-dim .ug-pain, .ug-curve.is-dim .ug-mob { opacity: .35; }
.ug-bl { fill: #8fa09d; font: 500 12px var(--font-display); transition: fill 300ms ease; }
.ug-bl.is-on[data-bl="1"] { fill: #ffb48a; } .ug-bl.is-on[data-bl="2"] { fill: #8fe3e9; } .ug-bl.is-on[data-bl="3"] { fill: #f3dcb4; }
.ug-tu { opacity: 0; transition: opacity 300ms ease; }
.ug-tu.is-on { opacity: 1; } .ug-tu.is-faint { opacity: .55; }
.ug-tu line { stroke: #ede8df; stroke-width: 1.5; stroke-dasharray: 2 4; opacity: .5; }
.ug-tu circle { fill: #ede8df; } .ug-tu .ug-tu-h { fill: none; stroke: #ede8df; stroke-width: 1.5; opacity: .45; }
.ug-tu text { fill: #ede8df; font: 500 13px var(--font-display); paint-order: stroke; stroke: #082a30; stroke-width: 6px; }
.ug-tu.is-span line { opacity: 0; }

/* ── proba cu altcineva (B), la întrebarea 6 ──────────────────────── */
.ug-proba { width: min(100%, 560px); margin: 0 auto 18px; }
.ug-ticks { position: relative; height: 28px; margin: 2px 0 0; }
.ug-ticks span { position: absolute; top: 0; padding: 6px 10px; border-radius: 999px; font: 500 .75rem/1 var(--font-display); white-space: nowrap; transition: left 200ms cubic-bezier(.23, 1, .32, 1); }
.ug-ticks span[hidden] { display: none; }
.ug-ticks b { font-weight: 500; font-variant-numeric: tabular-nums; }
.ug-t1 { transform: translateX(calc(-100% - 4px)); background: rgb(255 138 76 / .16); box-shadow: inset 0 0 0 1px rgb(255 138 76 / .5); color: #ffd2b4; }
.ug-t2 { transform: translateX(4px); background: rgb(94 208 216 / .16); box-shadow: inset 0 0 0 1px rgb(94 208 216 / .5); color: #c6f1f4; }
.ug-ticks span::before { content: ""; position: absolute; top: -6px; width: 2px; height: 8px; border-radius: 1px; background: currentColor; }
.ug-t1::before { right: -5px; } .ug-t2::before { left: -5px; }
.ug-mk { display: flex; flex-wrap: wrap; gap: 8px; }
.ug-mk .us-mark { margin-top: 6px; }
.ug-m2 { background: rgb(94 208 216 / .12); box-shadow: inset 0 0 0 1px rgb(94 208 216 / .5); color: #c6f1f4; }
.ug-m2 i { background: #5ed0d8; box-shadow: 0 0 10px #5ed0d8; }
@media (hover: hover) and (pointer: fine) { .ug-m2:hover { background: rgb(94 208 216 / .2); } }
.ug-mk .us-mark[aria-pressed="true"] { box-shadow: inset 0 0 0 2px currentColor; }
.ug-diff { margin: 12px 0 0; padding: 12px 14px; border-radius: 16px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); font-size: .9375rem; line-height: 1.45; color: #d7dedc; }
.ug-diff b { font-weight: 500; color: #ede8df; font-variant-numeric: tabular-nums; }

/* ── rezultatul ───────────────────────────────────────────────────── */
.ug-fk { margin: 0 0 10px !important; font: 500 .9375rem/1.2 var(--font-display) !important; color: #d4b07a !important; }
.ug-f[data-f="1"] .ug-fk { color: #ffb48a !important; }
.ug-f[data-f="2"] .ug-fk { color: #8fe3e9 !important; }
.ug-f[data-f="3"] .ug-fk { color: #f3dcb4 !important; }
.ug-nu { background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.ug-nu .ug-fk { color: #b5c2c0 !important; }
.ug-f { margin-top: 1.5rem; }
.ug-f p { margin: .75rem 0 0; }
.ug-warn { margin-top: 1.25rem; padding: 16px 18px; border-radius: 20px; background: rgb(255 138 76 / .1); box-shadow: inset 0 0 0 1px rgb(255 138 76 / .45); }
.ug-warn p { margin: 8px 0 0 !important; color: #ede8df !important; }
.ug-warn .ug-warn-k { margin: 0 !important; font: 500 1rem/1.3 var(--font-display) !important; color: #ffb48a !important; }
.ug-meter { margin: 4px 0 0; padding: 14px 18px 16px; border-radius: 18px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.ug-meter[hidden] { display: none; }
.ug-meter .tm-sc-k { margin-bottom: 10px; }
.ug-mt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.ug-mt i { position: relative; height: 8px; border-radius: 4px; background: rgb(255 255 255 / .08); overflow: hidden; }
.ug-mt i b { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(90deg, #5ed0d8, #ff8a4c); transform: scaleX(0); transform-origin: left; transition: transform 700ms cubic-bezier(.23, 1, .32, 1); }
.ug-mt em { font: 500 .875rem/1 var(--font-display); font-style: normal; font-variant-numeric: tabular-nums; color: #ede8df; }
.ug-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.ug-strip li { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgb(255 255 255 / .05); font: 500 .8125rem/1.1 var(--font-display); color: #8fa09d; transition: background-color 300ms ease, color 300ms ease; }
.ug-strip span { flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; font-size: .6875rem; font-variant-numeric: tabular-nums; }
.ug-strip li.is-on { color: #13201f; }
.ug-strip li.is-on span { box-shadow: inset 0 0 0 1.5px #13201f; }
.ug-strip li[data-st="1"].is-on { background: #ff8a4c; } .ug-strip li[data-st="2"].is-on { background: #5ed0d8; } .ug-strip li[data-st="3"].is-on { background: #f0c27a; }
.ug-fa { margin-top: 1rem; padding: 12px 16px; border-radius: 16px; background: rgb(212 176 122 / .08); box-shadow: inset 0 0 0 1px rgb(212 176 122 / .3); }
.ug-fa p { margin: 0 !important; font-size: .9375rem !important; }
.ug-dur { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .12); }
.ug-dur[hidden] { display: none; }
.ug-dur p { margin: .5rem 0 0; font-size: 1rem !important; }
.ug-dur .ug-dur-k { margin: 0; font: 500 1rem/1.3 var(--font-display) !important; color: #d4b07a !important; }

/* ── „Semnul care deosebește rigiditatea de durere” ───────────────── */
.ug-semn-l { margin: var(--space-6, 1.5rem) 0 0; max-width: 40rem; font: 500 clamp(1.25rem, 1.05rem + .6vw, 1.625rem)/1.35 var(--font-display); color: var(--color-foreground); text-wrap: balance; }
.ug-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: var(--space-6, 1.5rem); max-width: 880px; }
.ug-two-c { padding: 20px 22px 22px; border-radius: 22px; background: var(--color-card, #fff); box-shadow: 0 0 0 1px var(--hh-line); }
.ug-two-c { overflow: hidden; padding: 0 0 22px; }
.ug-two-c > p { padding-inline: 22px; }
.ug-two-c p { margin: 8px 0 0; color: var(--color-muted-foreground); font-size: 1rem; line-height: 1.5; }
.ug-two-c .ug-two-k { margin-top: 16px; font: 500 1.0625rem/1.3 var(--font-display); color: var(--color-foreground); }
/* cadrele clipului cu brațul care urcă (higgsfield/concept-d-cadre): 42 = 88°, 49 = 120° (tabelul ANG); fantoma arată unde ajunge brațul cu ajutor */
.ug-two-fig { position: relative; margin: 0; aspect-ratio: 16 / 8; overflow: hidden; background: #0c1517; }
.ug-two-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.ug-ghost { opacity: .42; mix-blend-mode: screen; filter: hue-rotate(-20deg) saturate(1.4); }
.ug-chip { position: absolute; padding: 6px 10px; border-radius: 999px; font: 500 .75rem/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ug-c1 { left: 12px; bottom: 12px; background: rgb(255 138 76 / .22); box-shadow: inset 0 0 0 1px rgb(255 138 76 / .6); color: #ffd2b4; }
.ug-c2, .ug-c3 { left: 12px; top: 12px; background: rgb(94 208 216 / .2); box-shadow: inset 0 0 0 1px rgb(94 208 216 / .6); color: #c6f1f4; }
.ug-c3 { background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); color: #ede8df; }
.ug-semn-p { margin: var(--space-6, 1.5rem) 0 0; max-width: 44rem; color: var(--color-muted-foreground); font-size: 1.0625rem; line-height: 1.6; }

@media (max-width: 1023px) {
  .ug-ph { grid-template-columns: minmax(0, 1fr); }
  .ug-ph li { grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; padding: 12px 14px; }
  .ug-ph-n { grid-row: span 2; }
  .ug-ph b { margin-top: 0; align-self: center; }
  .ug-ph-t { margin-top: 4px; }
  /* telefonul: articulația și curba una lângă alta, deasupra panoului */
  .tc-fig.ug-fig { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 10px; align-items: center; padding-top: 4px; }
  .ug-proba { grid-column: 1 / -1; margin-bottom: 6px; }
  .ug-body { width: 100%; height: auto; }
  .ug-grip { top: auto; bottom: 0; padding: 6px 9px; font-size: .6875rem; gap: 4px; }
  .ug-grip > span { display: none; }
  .ug-curve { width: 100%; margin: 0; padding: 8px 8px 4px; border-radius: 16px; }
  .ug-key { gap: 10px; font-size: .6875rem; }
  .ug-bl { font-size: 15px; }
  .ug-two { grid-template-columns: minmax(0, 1fr); }
  .ug-strip li { gap: 5px; padding: 8px 6px; font-size: .75rem; }
  .ug-strip span { width: 18px; height: 18px; }
  [data-ecran="q"][data-proba-on] .ug-fig .ug-body, [data-ecran="q"][data-proba-on] .ug-fig .ug-curve { display: none; }
}
:is(.rm, .mk-shot) :is(.ug-tight, .ug-band, .ug-tu, .ug-mt i b, .ug-ticks span, .ug-strip li, .ug-bl) { transition: none !important; }
[data-tc]:is([data-ecran="intro"], [data-ecran="siguranta"], [data-ecran="stop"]) .ug-grip { visibility: hidden; }   /* opacitatea o forțează efectele de apariție */
/* desktop: figura rămâne lipită jos în ecran cât panoul e mai înalt decât ecranul (.si-fig o făcea relativă) */
@media (min-width: 1024px) { .tc-fig.ug-fig { position: sticky; bottom: 0; } }
@media (max-width: 1023px) { .ug-bl { font-size: 22px; } .ug-key em { display: none; } .ug-tu text { font-size: 20px; } }
/* cifra numărului de surse („1”): fără împingerea de 1 px de la sciatică (ca la umăr) */
.ug-page .hh-src-h span { padding-top: 0; }
