.submission-journey {
  --journey-progress: 0;
  --journey-bubble-offset: 60px;
  --journey-edge-space: 128px;
  width: 100%;
  margin: 0;
  /* Balance the visible bubble and pin, including their offsets inside the stage. */
  padding: calc(var(--journey-edge-space) - 24.65px) 0 var(--journey-edge-space);
  background: #f9f9f9;
  scroll-margin-top: 96px;
  color: #111;
}
.journey-world { position: relative; width: min(964px, calc(100% - 48px)); height: 404px; margin: 0 auto; isolation: isolate; }
.submission-journey[data-bubble-side="left"] { --journey-bubble-offset: -340px; }
.journey-message {
  position: absolute;
  top: 36.65px;
  left: calc(58px + (100% - 116px) * var(--journey-progress) + var(--journey-bubble-offset));
  z-index: 3;
  width: 280px;
  min-height: 128px;
  padding: 16px 20px 20px;
  border-radius: 24px;
  background: #e8e8e8;
  transition: left .45s cubic-bezier(.2,.75,.2,1);
}
.journey-message-kicker,
.journey-message h3,
.journey-milestone > span:last-child,
.journey-instruction {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#journey-copy { margin: 0; color: #111; font-size: 14px; line-height: 1.64; }
#journey-copy strong { color: #000; font-weight: 700; }
.submission-journey em { font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.journey-reaction { position: absolute; right: 14px; bottom: -18px; display: grid; place-items: center; width: 35px; height: 30px; padding: 2.5px 5px; border: 2.5px solid #f9f9f9; border-radius: 999px; background: #f3f3f3; }
.journey-reaction img { display: block; width: 20px; height: 20px; max-width: none; object-fit: contain; }
.journey-track { position: absolute; left: 58px; right: 58px; bottom: 16px; height: 18px; touch-action: pan-y; user-select: none; }
.journey-ruler { position: absolute; inset: 0; pointer-events: none; }
.journey-minor-tick { position: absolute; top: 3px; width: 1px; height: 12px; border-radius: 999px; background: #00000026; transform: translateX(-50%); }
/* Forty minor ticks across 44 intervals; quarter nodes remain clear. */
.journey-minor-tick:nth-child(1) { left: 2.272727%; }
.journey-minor-tick:nth-child(2) { left: 4.545455%; }
.journey-minor-tick:nth-child(3) { left: 6.818182%; }
.journey-minor-tick:nth-child(4) { left: 9.090909%; }
.journey-minor-tick:nth-child(5) { left: 11.363636%; }
.journey-minor-tick:nth-child(6) { left: 13.636364%; }
.journey-minor-tick:nth-child(7) { left: 15.909091%; }
.journey-minor-tick:nth-child(8) { left: 18.181818%; }
.journey-minor-tick:nth-child(9) { left: 20.454545%; }
.journey-minor-tick:nth-child(10) { left: 22.727273%; }
.journey-minor-tick:nth-child(11) { left: 27.272727%; }
.journey-minor-tick:nth-child(12) { left: 29.545455%; }
.journey-minor-tick:nth-child(13) { left: 31.818182%; }
.journey-minor-tick:nth-child(14) { left: 34.090909%; }
.journey-minor-tick:nth-child(15) { left: 36.363636%; }
.journey-minor-tick:nth-child(16) { left: 38.636364%; }
.journey-minor-tick:nth-child(17) { left: 40.909091%; }
.journey-minor-tick:nth-child(18) { left: 43.181818%; }
.journey-minor-tick:nth-child(19) { left: 45.454545%; }
.journey-minor-tick:nth-child(20) { left: 47.727273%; }
.journey-minor-tick:nth-child(21) { left: 52.272727%; }
.journey-minor-tick:nth-child(22) { left: 54.545455%; }
.journey-minor-tick:nth-child(23) { left: 56.818182%; }
.journey-minor-tick:nth-child(24) { left: 59.090909%; }
.journey-minor-tick:nth-child(25) { left: 61.363636%; }
.journey-minor-tick:nth-child(26) { left: 63.636364%; }
.journey-minor-tick:nth-child(27) { left: 65.909091%; }
.journey-minor-tick:nth-child(28) { left: 68.181818%; }
.journey-minor-tick:nth-child(29) { left: 70.454545%; }
.journey-minor-tick:nth-child(30) { left: 72.727273%; }
.journey-minor-tick:nth-child(31) { left: 77.272727%; }
.journey-minor-tick:nth-child(32) { left: 79.545455%; }
.journey-minor-tick:nth-child(33) { left: 81.818182%; }
.journey-minor-tick:nth-child(34) { left: 84.090909%; }
.journey-minor-tick:nth-child(35) { left: 86.363636%; }
.journey-minor-tick:nth-child(36) { left: 88.636364%; }
.journey-minor-tick:nth-child(37) { left: 90.909091%; }
.journey-minor-tick:nth-child(38) { left: 93.181818%; }
.journey-minor-tick:nth-child(39) { left: 95.454545%; }
.journey-minor-tick:nth-child(40) { left: 97.727273%; }
.journey-range { position: absolute; z-index: 6; top: -80px; left: 0; width: 100%; height: 144px; margin: 0; opacity: 0; cursor: ew-resize; touch-action: none; }
.journey-range:focus-visible { outline: none; }
.journey-handle {
  position: absolute;
  z-index: 8;
  top: -50px;
  left: calc(var(--journey-progress) * 100%);
  display: grid;
  grid-template-columns: 20px 1fr 20px;
  align-items: center;
  width: 116px;
  height: 36px;
  padding: 0 8px;
  border-radius: 12px;
  background: transparent;
  color: #111;
  transform: translateX(-50%);
  transition: left .45s cubic-bezier(.2,.75,.2,1);
  cursor: grab;
  touch-action: none;
}
.journey-handle-tail { position: absolute; z-index: -1; top: 0; left: 0; width: 116px; height: 72px; color: #ffd529; pointer-events: none; }
#journey-step-label { color: #111; font-size: 14px; font-weight: 500; line-height: 1.64; text-align: center; white-space: nowrap; }
.submission-journey[data-step="1"] #journey-step-label,
.submission-journey[data-step="3"] #journey-step-label { font-style: italic; }
.journey-handle button { position: relative; display: grid; place-items: center; width: 20px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #111; }
.journey-handle button::before { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
.journey-handle button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.journey-handle button:disabled { opacity: .35; }
.journey-handle button:hover:not(:disabled) { background: #ffffff40; }
.journey-handle button:focus-visible { outline: 2px solid #796307; outline-offset: -4px; }
.journey-traveler { position: absolute; z-index: 9; left: calc(var(--journey-progress) * 100%); bottom: 68px; width: 164px; height: 164px; transform: translateX(-50%); transition: left .45s cubic-bezier(.2,.75,.2,1); pointer-events: none; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.journey-traveler::before { content: ""; position: absolute; z-index: 1; top: 12%; bottom: 10%; left: 20%; right: 20%; border-radius: 45%; pointer-events: auto; touch-action: none; }
.journey-traveler:active, .journey-handle:active { cursor: grabbing; }
.journey-snowman { display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; animation: journey-breathe 8.4s ease-in-out infinite; transform-origin: 50% 90%; }
.journey-pet-art { transform-box: fill-box; transform-origin: 50% 90%; transition: transform .45s ease; }
.journey-hat { transform-origin: 112px 78px; transition: transform .45s ease; }
.submission-journey[data-step="0"] .journey-pet-art { transform: rotate(-3deg); }
.submission-journey[data-step="1"] .journey-pet-art { transform: translateY(-2px) rotate(3deg); }
.submission-journey[data-step="1"] .journey-hat { animation: journey-hat-salute 3s ease-in-out infinite; }
.submission-journey[data-step="2"] .journey-pet-art { transform: translateY(6px) rotate(-5deg) scale(.98); }
.submission-journey[data-step="2"] .journey-hat { transform: translate(-4px,6px) rotate(-13deg); }
.submission-journey[data-step="2"] .journey-tear { animation: journey-tear 2s ease-in infinite; }
.submission-journey[data-step="2"] .journey-tear--right { animation-delay: .5s; }
.submission-journey[data-step="3"] .journey-pet-art { transform: translateY(-3px) rotate(3deg) scale(1.01); }
.submission-journey[data-step="3"] .journey-hat { transform: translateY(-2px) rotate(4deg); }
.submission-journey[data-step="4"] .journey-pet-art { transform: rotate(-2deg); }
.submission-journey[data-step="4"] .journey-hat { animation: journey-hat-salute 2.2s ease-in-out infinite; }
.submission-journey[data-step="4"] .journey-celebration { animation: journey-sparkles 2.2s ease-in-out infinite; transform-origin: 120px 130px; }
.journey-blink { transform-box: fill-box; transform-origin: center; animation: journey-blink 5.8s linear infinite; }
.journey-face, .journey-celebration { opacity: 0; transition: opacity .25s ease; }
.submission-journey[data-step="0"] .journey-face--hopeful,
.submission-journey[data-step="1"] .journey-face--confident,
.submission-journey[data-step="2"] .journey-face--sad,
.submission-journey[data-step="3"] .journey-face--determined,
.submission-journey[data-step="4"] .journey-face--joyful,
.submission-journey[data-step="4"] .journey-celebration { opacity: 1; }
.submission-journey[data-step="2"] .journey-snowman { animation-duration: 9.6s; }
.submission-journey[data-step="4"] .journey-snowman { animation: journey-celebrate 2.2s ease-in-out infinite; }
.journey-milestone { position: absolute; z-index: 7; top: -210px; left: 0; width: min(148px, calc(25% - 8px)); height: 240px; min-height: 0; padding: 0; border: 0; background: transparent; transform: translateX(-50%); cursor: pointer; touch-action: pan-y; }
.journey-milestone[data-journey-target="1"] { left: 25%; }
.journey-milestone[data-journey-target="2"] { left: 50%; }
.journey-milestone[data-journey-target="3"] { left: 75%; }
.journey-milestone[data-journey-target="4"] { left: 100%; }
.journey-milestone-dot { position: absolute; top: 210px; left: calc(50% - 9px); width: 18px; height: 18px; border-radius: 9px; background: #bebebe; }
.journey-milestone[aria-current="step"] .journey-milestone-dot { transform: scaleX(.111111); }
.journey-milestone:focus-visible { outline: none; }
.journey-milestone:focus-visible::after { content: ""; position: absolute; top: 207px; left: 50%; width: 24px; height: 24px; border: 2px solid #796307; border-radius: 50%; transform: translateX(-50%); pointer-events: none; }
.submission-journey.is-dragging .journey-traveler,
.submission-journey.is-dragging .journey-message,
.submission-journey.is-dragging .journey-handle { transition: none; cursor: grabbing; }
.submission-journey.is-dragging .journey-snowman,
.submission-journey.is-dragging .journey-blink,
.submission-journey.is-dragging .journey-hat,
.submission-journey.is-dragging .journey-tear,
.submission-journey.is-dragging .journey-celebration { animation-play-state: paused; }
@keyframes journey-breathe {
  0%, 14%, 100% { transform: translateY(0) rotate(0) scale(1); }
  30% { transform: translateY(-2px) rotate(-.6deg) scale(1.008); }
  44% { transform: translateY(-1px) rotate(.8deg) scale(1.004); }
  58% { transform: translateY(0) rotate(0) scale(1); }
  76% { transform: translateY(-1.5px) rotate(-1deg) scale(1.006); }
  88% { transform: translateY(-.5px) rotate(0) scale(1.002); }
}
@keyframes journey-blink {
  0%, 28%, 32%, 78%, 82%, 100% { transform: scaleY(1); }
  29.5%, 30.5%, 79.5%, 80.5% { transform: scaleY(.10); }
}
@keyframes journey-celebrate {
  0%, 18%, 100% { transform: translateY(0) rotate(0); }
  36% { transform: translateY(-8px) rotate(-4deg); }
  54% { transform: translateY(-2px) rotate(3deg); }
  72% { transform: translateY(0) rotate(0); }
  86% { transform: translateY(-4px) rotate(2deg); }
}
@keyframes journey-hat-salute {
  0%, 15%, 65%, 100% { transform: translateY(0) rotate(0); }
  30%, 42% { transform: translate(3px,-9px) rotate(10deg); }
  53% { transform: translateY(-2px) rotate(-2deg); }
}
@keyframes journey-tear {
  0%, 15% { transform: translateY(0); opacity: 1; }
  72% { opacity: .8; }
  100% { transform: translateY(13px); opacity: 0; }
}
@keyframes journey-sparkles {
  0%, 100% { transform: scale(.94); }
  45% { transform: scale(1.09); }
  70% { transform: scale(1); }
}
@media (max-width: 760px) {
  .submission-journey { --journey-edge-space: 64px; overflow-x: clip; scroll-margin-top: 80px; }
  .journey-world { width: calc(100% - 40px); }
  .journey-message { left: 50%; width: min(280px, 100%); transform: translateX(-50%); }
  .journey-traveler::before { left: 28%; right: 28%; }
}
@media (prefers-reduced-motion: reduce) {
  .submission-journey *, .submission-journey *::before, .submission-journey *::after { animation: none !important; transition: none !important; }
}
