.mv .parcours { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; max-width: 1000px; margin: 0 auto; }
.mv .parcours .auth { max-width: none; margin: 0; }

.mv .guide { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }

.mv .guide-stage { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.mv .guide-bubble { position: relative; z-index: 3; width: 100%; min-height: 74px; box-sizing: border-box; margin: 0 0 18px; padding: 14px 18px; border-radius: 18px; background: #fff; font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--ink); text-align: center; box-shadow: 0 5px 0 rgba(74,44,27,.22); display: grid; place-items: center; }
.mv .guide-bubble::after { content: ""; position: absolute; left: 50%; bottom: -10px; margin-left: -10px; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }
.mv .guide-char { position: relative; width: 190px; text-align: center; }
.mv .guide-char .guide-body { position: relative; z-index: 2; display: block; width: 124px; height: 190px; margin: 0 auto -32px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 10px 8px rgba(0,0,0,.3)); transform-origin: 50% 100%; }
.mv .guide-char .guide-base { display: block; width: 190px; }
.mv .guide-char.hop .guide-body { animation: guide-hop .5s cubic-bezier(.3,.7,.4,1.4); }
@keyframes guide-hop {
  0% { transform: translateY(0) scale(1, 1); }
  25% { transform: translateY(0) scale(1.06, .94); }
  55% { transform: translateY(-16px) scale(.97, 1.04); }
  100% { transform: translateY(0) scale(1, 1); }
}

.mv .trail { position: relative; display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; --fill: calc(var(--trail-progress, 0) * 100%); }
.mv .trail::before, .mv .trail::after { content: ""; position: absolute; left: 21px; top: 22px; width: 4px; border-radius: 4px; }
.mv .trail::before { bottom: 22px; background: var(--parch-d); }
.mv .trail::after { height: calc((100% - 44px) * var(--trail-progress, 0)); background: linear-gradient(180deg, var(--rose-l), var(--rose)); transition: height .45s ease; }
.mv .trail li { position: relative; z-index: 1; }
.mv .trail button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 4px 10px 4px 0; border: 0; background: none; font: inherit; color: var(--ink-2); text-align: left; cursor: pointer; border-radius: 14px; }
.mv .trail button:disabled { cursor: default; opacity: .6; }
.mv .trail button:not(:disabled):hover .label { color: var(--rose); }
.mv .trail button:focus-visible { outline: 3px solid var(--rose-l); outline-offset: 2px; }
.mv .trail .dot { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 50%; background: #fff; font-size: 15px; font-weight: 800; color: var(--ink-2); box-shadow: inset 0 0 0 3px var(--parch-d); transition: background .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease; }
.mv .trail .label { font-size: 14px; font-weight: 800; letter-spacing: .01em; transition: color .2s ease; }
.mv .trail li.current .dot { background: linear-gradient(180deg, #f6cf62, var(--or)); color: var(--ink); box-shadow: 0 4px 0 var(--or-d); transform: scale(1.08); }
.mv .trail li.current .label { color: var(--ink); }
.mv .trail li.done .dot { background: linear-gradient(180deg, var(--rose-l), var(--rose)); color: transparent; box-shadow: 0 3px 0 rgba(74,44,27,.18); position: relative; }
.mv .trail li.done .dot::after { content: ""; position: absolute; width: 14px; height: 8px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: translateY(-2px) rotate(-45deg); }
.mv .trail li.done .label { color: var(--ink); }

.mv .guide-pick { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 3px var(--parch-d); }
.mv .guide-pick-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 12px; font-weight: 800; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.mv .sex-toggle { padding: 6px 12px; border: 0; border-radius: 999px; background: #fff; font: inherit; font-size: 11px; font-weight: 800; color: var(--marron-d); text-transform: uppercase; letter-spacing: .03em; box-shadow: inset 0 0 0 2px var(--parch-d); cursor: pointer; transition: box-shadow .2s ease; }
.mv .sex-toggle:hover { box-shadow: inset 0 0 0 2px var(--marron); }
.mv .sex-toggle:focus-visible { outline: 3px solid var(--rose-l); outline-offset: 2px; }
.mv .guide-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.mv .guide-list button { display: grid; place-items: end center; aspect-ratio: 1; padding: 3px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 2px var(--parch-d); cursor: pointer; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.mv .guide-list button img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.mv .guide-list button:hover { transform: translateY(-2px); }
.mv .guide-list button.active { box-shadow: inset 0 0 0 3px var(--or), 0 3px 0 var(--or-d); }
.mv .guide-list button:focus-visible { outline: 3px solid var(--rose-l); outline-offset: 2px; }

.mv .parcours .sheet { padding: 30px 38px 32px; scroll-margin-top: 96px; }
.mv .parcours input, .mv .parcours select, .mv .parcours .step-title { scroll-margin-top: 110px; }
.mv .sheet-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.mv .step-count { flex: 0 0 auto; font-size: 12px; font-weight: 800; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.mv .sheet-top .bar { flex: 1; height: 10px; border-radius: 10px; background: var(--parch-d); overflow: hidden; }
.mv .sheet-top .bar span { display: block; height: 100%; width: 25%; border-radius: 10px; background: linear-gradient(90deg, var(--rose-l), var(--rose)); transition: width .45s ease; }

.mv .step { padding: 0; animation: step-in .35s ease; }
.mv .parcours input::-ms-reveal, .mv .parcours input::-ms-clear { display: none; }
.mv .step[hidden] { display: none; }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }
.mv .step-title { margin: 0 0 6px; font-size: 26px; font-weight: 800; color: var(--ink); outline: 0; }
.mv .step-lead { margin: 0 0 22px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

.mv .parcours .field > .input { margin-bottom: 0; }
.mv .parcours .field { margin-bottom: 18px; }
.mv .parcours .field[hidden] { display: none; }

.mv .parcours .count { flex: 0 0 auto; padding: 0 10px; font-size: 12px; font-weight: 800; color: #b0927a; font-variant-numeric: tabular-nums; }
.mv .parcours .count.full { color: var(--marron-d); }
.mv .parcours .tick { flex: 0 0 30px; height: 30px; border-radius: 50%; position: relative; transform: scale(0); transition: transform .25s cubic-bezier(.3,.7,.4,1.5); }
.mv .parcours .input.good .tick { transform: scale(1); background: var(--ok); }
.mv .parcours .tick::after { content: ""; position: absolute; left: 9px; top: 9px; width: 11px; height: 6px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg); }

.mv .runes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.mv .runes li { position: relative; padding: 8px 4px 8px 22px; border-radius: 10px; background: #fff; font-size: 11px; font-weight: 700; line-height: 1.25; color: #9c8068; box-shadow: inset 0 0 0 2px var(--parch-d); transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.mv .runes li::before { content: ""; position: absolute; left: 8px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 2px; background: var(--parch-d); transform: rotate(45deg); transition: background .25s ease, transform .25s ease; }
.mv .runes li.lit { background: rgba(79,154,58,.1); color: #3c7a2b; box-shadow: inset 0 0 0 2px rgba(79,154,58,.45); }
.mv .runes li.lit::before { background: var(--ok); transform: rotate(45deg) scale(1.2); }

.mv .recap { display: grid; gap: 8px; margin: 0 0 6px; }
.mv .recap > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 12px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 2px var(--parch-d); }
.mv .recap dt { grid-column: 1; font-size: 11px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.mv .recap dd { grid-column: 1; margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.mv .recap .edit { grid-column: 2; grid-row: 1 / span 2; padding: 6px 12px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 12px; font-weight: 800; color: var(--rose); cursor: pointer; }
.mv .recap .edit:hover { background: rgba(209,110,129,.1); }
.mv .recap .edit:focus-visible { outline: 3px solid var(--rose-l); outline-offset: 2px; }

.mv .parcours .btn.gold.go { min-height: 58px; font-size: 17px; }
.mv .parcours .after { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--ink-2); }

.mv .step-nav { display: flex; gap: 12px; margin-top: 8px; }
.mv .step-nav.last { justify-content: center; margin-top: 2px; }
.mv .step-nav.last .btn.line { min-height: 40px; padding: 0 16px; background: none; box-shadow: none; font-size: 13px; color: var(--ink-2); }
.mv .step-nav.last .btn.line:hover { color: var(--ink); text-decoration: underline; }
.mv .step-nav .btn { min-height: 52px; font-size: 15px; border: 0; }
.mv .step-nav .btn.line { flex: 0 0 auto; width: auto; padding: 0 26px; }
.mv .step-nav .btn.gold { flex: 1; }
.mv .step-nav [hidden] { display: none; }

.mv .parcours .already { margin: 22px 0 0; text-align: center; font-size: 13px; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .mv .guide-char.hop .guide-body, .mv .step { animation: none; }
  .mv .trail::after, .mv .sheet-top .bar span { transition: none; }
}

@media (max-width: 900px) {
  .mv .parcours { grid-template-columns: 1fr; gap: 18px; }
  .mv .guide { position: static; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "char bubble" "trail trail" "pick pick"; gap: 14px; align-items: center; }
  .mv .guide-stage { display: contents; }
  .mv .guide-bubble { grid-area: bubble; margin: 0; min-height: 0; font-size: 13px; text-align: left; place-items: center start; }
  .mv .guide-bubble::after { left: -10px; top: 50%; bottom: auto; margin: -10px 0 0; border: 10px solid transparent; border-right-color: #fff; border-left: 0; }
  .mv .guide-char { grid-area: char; width: 104px; }
  .mv .guide-char .guide-body { width: 68px; height: 104px; margin-bottom: -18px; }
  .mv .guide-char .guide-base { width: 104px; }
  .mv .trail { grid-area: trail; grid-template-columns: repeat(4, 1fr); gap: 0; }
  .mv .trail::before, .mv .trail::after { left: 12.5%; top: 21px; height: 4px; width: auto; }
  .mv .trail::before { right: 12.5%; bottom: auto; }
  .mv .trail::after { width: calc(75% * var(--trail-progress, 0)); height: 4px; transition: width .45s ease; }
  .mv .trail button { flex-direction: column; gap: 4px; padding: 0; text-align: center; }
  .mv .trail .dot { flex: 0 0 auto; width: 42px; height: 42px; }
  .mv .trail .label { font-size: 12px; }
  .mv .guide-pick { grid-area: pick; padding: 12px; }
  .mv .guide-list { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
  .mv .guide-list button { border-radius: 8px; padding: 2px; }
}

@media (max-width: 760px) {
  .mv .parcours .sheet { padding: 24px 20px 26px; }
  .mv .step-title { font-size: 22px; }
  .mv .runes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mv .guide-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .mv .step-nav .btn.line { padding: 0 18px; }
}

.piege { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
