/* Simptom „Îmi amorțește mâna” (25 nov. 2026). Peste simptom-durere-picior.css (același schelet: cp-*); aici doar ce diferă (am-*).
   Figurile: imagini/mana/{palma,bust,palme}-*.webp; degetele și traseele = SVG pe coordonatele decupajelor. */

/* ── 00 · primul ecran: palma ───────────────────────────────────────── */
.am-page .cp-hero .cp-body { aspect-ratio: 785 / 1431; height: min(calc(100svh - 150px), 740px); }
.am-pick-s { margin: -4px 0 var(--space-4, 1rem); font-size: .9375rem; color: var(--v8-soft, rgb(237 232 223 / .7)); }
.am-fg { fill: none; stroke: #ff8a4c; stroke-width: 46; stroke-linecap: round; opacity: 0; transition: opacity 350ms ease; }
.am-fg.is-on { opacity: .6; }
[data-am-f].is-x .am-fg.is-on { stroke: #e0745a; }
.am-nv { fill: none; stroke: #ff8a4c; stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 6px rgb(255 138 76 / .85)); opacity: 0; transition: opacity 350ms ease; }
.am-nv.is-on { opacity: 1; }
.am-site { fill: none; stroke: #ede8df; stroke-width: 3; stroke-dasharray: 4 6; opacity: 0; transition: opacity 350ms ease; } .am-site.is-on { opacity: 1; }
.am-sl { fill: #ede8df; font: 500 30px var(--font-display); opacity: 0; transition: opacity 350ms ease; } .am-sl.is-on { opacity: 1; }
.am-vd-x b { color: #f2c6b8 !important; }

/* ── 02 · verificarea: palmele alăturate ─────────────────────────────── */
.am-chk-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.am-chk .hh-h2 { color: var(--v8-white, #ede8df); }
.am-chk-l { margin-top: var(--space-6, 1.5rem); }
.am-chk-l li { color: var(--v8-soft, rgb(237 232 223 / .78)); }
.am-chk-l li b { color: var(--v8-white, #ede8df); }
.am-chk .hh-loop-n { margin-bottom: 0; }
.am-chk-p { margin: var(--space-6, 1.5rem) 0 0; max-width: 36rem; font-size: 1.125rem; line-height: 1.5; color: var(--v8-soft, rgb(237 232 223 / .78)); }
.am-chk-p b { font-weight: 500; color: #d4b07a; }
.am-chk-d { display: grid; gap: 10px; margin: var(--space-6, 1.5rem) 0 0; max-width: 36rem; padding: 0; }
.am-chk-d div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 4px 16px; padding-top: 10px; border-top: 1px solid rgb(255 255 255 / .12); }
.am-chk-d dt { font: 500 1rem/1.4 var(--font-display); color: var(--v8-white, #ede8df); }
.am-chk-d dd { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--v8-soft, rgb(237 232 223 / .78)); }
.am-chk-n { display: inline-block; margin: var(--space-6, 1.5rem) 0 0; padding: 12px 16px; border-radius: 16px; background: rgb(212 176 122 / .12); box-shadow: inset 0 0 0 1px rgb(212 176 122 / .45); font: 500 1rem/1.4 var(--font-display); color: #ede8df; }
.am-palme { margin: 0; display: grid; justify-items: center; gap: 10px; }
.am-palme-b { position: relative; width: min(100%, 620px); aspect-ratio: 1064 / 974; }
.am-palme-b img, .am-palme-b svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.am-then { fill: rgb(255 138 76 / .16); stroke: #ff8a4c; stroke-width: 3; stroke-dasharray: 5 7; }
.am-then.is-q { fill: none; stroke: #ede8df; }

/* ── 03 · la două niveluri: figura întreagă ─────────────────────────── */
.am-two-in { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
.hh-sec.am-two { background: #012c38; color: #ede8df; }   /* a doua scenă închisă la rând: fundalul figurii, ca să se despartă de verificare */
.am-two .hh-h2 { color: #ede8df; }
.am-two .hh-k { color: #d4b07a; }
.am-two .sd-acc { color: #5ed0d8; }
.am-bust-b { position: relative; width: 100%; aspect-ratio: 999 / 1517; max-height: 72svh; }
.am-bust-b img, .am-bust-b svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.am-two-p { margin: var(--space-4, 1rem) 0 0; max-width: 36rem; font-size: 1.125rem; line-height: 1.55; color: rgb(237 232 223 / .78); text-wrap: pretty; }
.am-two-p b { font-weight: 500; color: #ede8df; }
.am-lvs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-6, 1.5rem); }
.am-lvs button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); color: #ede8df; font: 500 .9375rem/1 var(--font-display); cursor: pointer; transition: background-color 200ms ease, color 200ms ease, transform 150ms cubic-bezier(.23, 1, .32, 1); }
.am-lvs button:active { transform: scale(.97); }
.am-lvs button[aria-pressed="true"] { background: #5ed0d8; color: #0e2226; box-shadow: none; }
.am-lvs button:focus-visible { outline: 2px solid #5ed0d8; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .am-lvs button:not([aria-pressed="true"]):hover { background: rgb(255 255 255 / .12); } }

/* ── 04 · huburile ──────────────────────────────────────────────────── */
.am-hubs { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.am-hubs a { display: inline-flex; align-items: center; gap: 6px; }

/* ── telefon ───────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .am-page .cp-hero .cp-body { height: auto; }
  .am-pick-s { font-size: .8125rem; margin-bottom: .75rem; }
  .am-sl { display: none; }   /* pe figura îngustă eticheta ar avea ~5 px; locul îl spune rezultatul de sub degete */
  .am-chk-in { grid-template-columns: 1fr; }
  .am-palme { order: -1; }
  .am-chk-d div { grid-template-columns: 1fr; }
  .am-two-in { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: start; }
  .am-bust { position: sticky; top: 84px; }
  .am-bust .cp-cap { display: none; }
  .am-two-p { font-size: 1rem; }
  .am-lvs button { min-height: 40px; padding: 0 14px; font-size: .875rem; }
}

:is(.rm, .mk-shot) :is(.am-fg, .am-nv, .am-site, .am-sl) { transition: none; }

/* legăturile din rezultat: pe rând îngust săgeata rămâne lipită de ultimul cuvânt (inline-flex o împingea la marginea dreaptă) */
.am-page .cp-vd-a a { display: inline; }
.am-page .cp-vd-a a svg { display: inline-block; margin-left: 6px; vertical-align: -3px; }
/* cifrele treptelor pe telefon (34 px): cifra stă cu 0,88 px mai jos (cifre-cerc.mjs) → 1 px dedesubt o urcă la jumătate */
@media (max-width: 1023px) { .am-page .cp-lvls .sp-door-n { padding-bottom: 1px; box-sizing: border-box; } }
