/* Màn Hành trình: tấm bản đồ giấy cắt dán ghim trên tường; đường mòn là dải giấy kraft, mỗi trạm là một nam châm giấy tròn,
   tên trạm là nhãn giấy dán lệch. Trạm đặt theo phần trăm của cảnh; cỡ nam châm theo chiều cao màn để ba hàng luôn vừa. */
#screen[data-screen=journey] .fr{background:var(--fz-grain),linear-gradient(180deg,#F4DCC0,#EBC9A3)}
#screen[data-screen=journey] .fr-stage>.jr-map{position:absolute;inset:6px 4px 0}

/* Tấm bản đồ: giấy trời, đồi giấy, ghim nam châm ở hai góc */
#screen[data-screen=journey] .jr-map{position:relative;border-radius:10px 16px 9px 15px/14px 9px 15px 10px;overflow:hidden;background:var(--fz-grain),var(--fz-fiber),#CFE8F2;
  box-shadow:0 0 0 6px #FFFDF8,0 3px 0 6px rgba(43,38,34,.14),0 16px 22px rgba(43,38,34,.2);--stone:clamp(80px,12.5vh,100px)}
#screen[data-screen=journey] .jr-map::after{content:"";position:absolute;inset:0;pointer-events:none;background:var(--fz-grain);opacity:.8}
#screen[data-screen=journey] .jr-land{position:absolute;inset:0;width:100%;height:100%}
#screen[data-screen=journey] .jr-land [class]{fill:none;stroke-linecap:round;vector-effect:non-scaling-stroke}
/* Đoạn chưa đi: chấm giấy kem. Đoạn đã đi: dải giấy kraft có viền giấy trắng và đường khâu. */
#screen[data-screen=journey] .jr-r0{stroke:#FFFDF7;stroke-width:18;stroke-dasharray:.1 38;opacity:.9}
#screen[data-screen=journey] .jr-r1{stroke:#FFFDF7;stroke-width:50}
#screen[data-screen=journey] .jr-r2{stroke:#E2BF8B;stroke-width:40}
#screen[data-screen=journey] .jr-r3{stroke:#B4875A;stroke-width:4;stroke-dasharray:6 12}
#screen[data-screen=journey] .jr-sun{position:absolute;right:3%;top:12px;width:58px;height:58px;border-radius:50%;
  background:radial-gradient(circle at 38% 34%,#FBE29A 0 26%,transparent 28%),#F5C94A;box-shadow:0 3px 0 rgba(43,38,34,.22),0 0 0 6px rgba(245,201,74,.35)}

/* Trạm: một điểm không kích thước, mọi thứ canh quanh tâm nam châm */
#screen[data-screen=journey] .jr-st{position:absolute;width:0;height:0;z-index:1}
#screen[data-screen=journey] .jr-st.is-now{z-index:2}
#screen[data-screen=journey] .jr-stone{position:absolute;left:calc(var(--stone) / -2);top:calc(var(--stone) / -2);width:var(--stone);height:var(--stone);
  border-radius:50% 47% 52% 48%;background:var(--fz-grain),#E4F1DA;box-shadow:0 0 0 5px #FFFDF8,0 5px 0 4px rgba(43,38,34,.22),0 10px 12px rgba(43,38,34,.16);display:grid;place-items:center;
  transition:transform .12s var(--fz-out),box-shadow .12s var(--fz-out)}
#screen[data-screen=journey] .jr-stone:active{transform:translateY(4px);box-shadow:0 0 0 5px #FFFDF8,0 1px 0 4px rgba(43,38,34,.22)}
#screen[data-screen=journey] .jr-stone .ic-task{width:66%;height:66%}
#screen[data-screen=journey] .jr-stone .fl{height:70%;width:auto}
#screen[data-screen=journey] .is-now .jr-stone{background:var(--fz-grain),var(--fz-yellow)}
#screen[data-screen=journey] .is-next .jr-stone{background:var(--fz-grain),#EBDCC2;box-shadow:0 0 0 5px rgba(255,253,248,.7),0 3px 0 4px rgba(43,38,34,.14)}
#screen[data-screen=journey] .is-end .jr-stone{background:var(--fz-grain),var(--fz-cream);--stone:72px}
#screen[data-screen=journey] .sel .jr-stone{outline:4px dashed #8E63B8;outline-offset:9px}

#screen[data-screen=journey] .jr-lab{position:absolute;left:0;top:calc(var(--stone) / 2 + 14px);transform:translateX(-50%) rotate(-2deg);white-space:nowrap;
  background:var(--fz-grain),var(--fz-cream);border-radius:6px 11px 7px 10px;padding:3px 12px 2px;font:700 18px/1.3 var(--tieu-de);color:var(--fz-ink);box-shadow:0 2px 0 rgba(43,38,34,.2)}
#screen[data-screen=journey] .jr-st:nth-child(even) .jr-lab{transform:translateX(-50%) rotate(2deg)}
#screen[data-screen=journey] .is-next .jr-lab{background:var(--fz-grain),#EBDCC2;color:var(--muc2)}

/* Hoa giấy nở hai bên trạm đã qua */
#screen[data-screen=journey] .jr-fl{position:absolute;top:calc(var(--stone) / 2 - 38px);width:28px;pointer-events:none;
  transform-origin:50% 100%;animation:jr-no .5s var(--nay) var(--d,0ms) backwards}
#screen[data-screen=journey] .jr-fl.a{left:calc(var(--stone) / -2 - 22px)}
#screen[data-screen=journey] .jr-fl.b{left:calc(var(--stone) / 2 - 6px)}
#screen[data-screen=journey] .jr-fl .fl{display:block;width:100%;height:auto}
@keyframes jr-no{from{transform:scale(.3);opacity:0}to{transform:scale(1);opacity:1}}

/* Thỏ đứng cạnh nam châm, chân ngang mép dưới đường mòn */
#screen[data-screen=journey] .jr-rb{position:absolute;height:calc(var(--stone) * 1.25);bottom:-40px;right:calc(var(--stone) / 2 - 10px);pointer-events:none;z-index:1}
#screen[data-screen=journey] .jr-rb.phai{right:auto;left:calc(var(--stone) / 2 - 10px);transform:scaleX(-1)}
#screen[data-screen=journey] .jr-rb .rb{height:100%;width:auto}

@media (prefers-reduced-motion:reduce){
  #screen[data-screen=journey] .jr-fl{animation:none}
  #screen[data-screen=journey] .jr-stone{transition:none}
}
