/* Encar Export | route component v11: static first, progressive enhancement */
.jr-section{--jr-green:#214d3c;--jr-lime:#d6ed9b;--jr-paper:#f7f9f1;--jr-progress:0;--jr-accent:#739e43;position:relative;isolation:isolate;scroll-margin-top:30px}
.jr-defs{position:absolute;overflow:hidden;pointer-events:none}
.jr-header{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:0 0 25px}
.jr-header .eyebrow{font-size:10px;letter-spacing:1.5px;color:#59705e;margin-bottom:15px}
.jr-header h2{font-size:clamp(32px,3.5vw,49px);letter-spacing:-1.8px;line-height:1.08}
.jr-header h2 em{font-style:normal;color:var(--jr-green);white-space:nowrap;position:relative}
.jr-header h2 em:after{content:'';position:absolute;left:0;bottom:-5px;right:0;height:3px;background:var(--jr-lime);transform:rotate(-1.6deg);z-index:-1}
.jr-header p{font-size:13px;line-height:1.6;color:#607064;margin:14px 0 0}
.jr-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}
.jr-controls button{background:transparent;color:#274737;border:1px solid #cbd6c3;border-radius:999px;padding:9px 13px;min-height:42px;display:inline-flex;align-items:center;gap:6px;font:600 12px Arial,sans-serif;cursor:pointer}
.jr-controls button:hover{background:#e6efda}.jr-controls [hidden]{display:none!important}.jr-duration{font-size:11px;color:#60725e;margin-right:8px}
.jr-icon{display:inline-block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
.jr-card{border:1px solid #cdd8c3;background:#f9fbf5;border-radius:22px;overflow:hidden;position:relative;box-shadow:0 15px 38px -29px #183e2b52}
.jr-trust-strip{display:flex;align-items:center;gap:32px;padding:17px 26px;border-bottom:1px solid #e3e9db;background:#f4f8eb;position:relative;z-index:2}
.jr-trust-strip span{display:flex;align-items:center;gap:8px;color:#3c5c44;font-size:12px;font-weight:600;white-space:nowrap}.jr-trust-strip span:last-child{margin-left:auto}
.jr-trust-strip .jr-icon{width:17px;height:17px}
.jr-scene{position:relative;height:260px;overflow:hidden;background:linear-gradient(180deg,#fdfef9 2%,#f5f8ee 75%,#ecf3e6)}
.jr-landscape{position:absolute;inset:0;width:100%;height:100%}
.jr-korea-photo{position:absolute;top:10%;left:0;width:32%;height:87%;overflow:hidden;opacity:.24;mask-image:linear-gradient(90deg,#000 5%,#000 65%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 5%,#000 65%,transparent)}
.jr-korea-photo img{width:100%;height:100%;object-fit:cover;filter:saturate(.65)}
.jr-locale{position:absolute;top:20px;font-size:11px;font-weight:700;letter-spacing:.02em;display:flex;gap:8px;align-items:center;color:#264b3b}
.jr-locale span{display:inline-block;line-height:1;background:#e5efda;padding:6px 7px;border-radius:5px;font-size:10px;letter-spacing:.06em}
.jr-locale-korea{left:5%}.jr-locale-vl{left:61%}.jr-locale-ekb{right:3%}
.jr-person{position:absolute;top:72px;display:flex;align-items:center;flex-direction:column;gap:6px;z-index:3;transform:translateX(-50%)}
.jr-person img{width:77px;height:92px;object-fit:cover;border-radius:12px;box-shadow:0 0 0 4px #f6f9ee,0 3px 12px #26452a19}
.jr-person span{font-size:12px;font-weight:700;background:#fbfdf7e8;padding:4px 9px;border-radius:7px;line-height:1.3;color:#234b39}
.jr-person-dmitry{left:17%}.jr-person-albert{left:84%}.jr-person img{transition:box-shadow .28s ease}
.jr-section[data-route-active="2"] .jr-person-dmitry img,.jr-section[data-route-active="7"] .jr-person-albert img{box-shadow:0 0 0 5px #d6ed9b,0 4px 16px #355b371e}
.jr-traveller{position:absolute;z-index:5;bottom:18px;pointer-events:none;will-change:transform,opacity;transform:translateX(-50%)}
.jr-traveller svg{display:block;width:100%;height:auto;overflow:visible}.jr-carrier-motion{width:112px;left:90%;bottom:17px}.jr-ferry-motion{width:143px;left:60%;bottom:20px}
.jr-broker-scene{position:absolute;width:55px;height:80px;left:72%;bottom:27px;z-index:4;transform:translateX(-50%)}.jr-broker-scene svg{width:100%;height:100%}
.jr-delivered{position:absolute;right:4%;top:60px;width:28px;height:28px;border-radius:50%;background:#d6ed9b;display:flex;align-items:center;justify-content:center;color:#2c532c;z-index:6;box-shadow:0 0 0 3px #fff;transition:none}.jr-delivered .jr-icon{width:19px;height:19px}
.jr-scene-caption{position:absolute;left:13px;bottom:3px;font-size:8px;color:#5e7a64;line-height:1.3}
.jr-track{height:3px;background:#dce8d2;position:relative;margin:0 26px;overflow:visible}
.jr-track i{position:absolute;left:0;top:0;height:100%;width:100%;background:#6c9847;transform:scaleX(var(--jr-progress));transform-origin:left center}
.jr-track b{position:absolute;top:50%;left:calc(var(--jr-progress)*100%);width:10px;height:10px;background:#3c6b36;border:2px solid #e5f3cd;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 4px #eaf2de;z-index:4}
.jr-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;margin:15px 22px 20px}
.jr-step{position:relative;display:flex;align-items:flex-start;gap:9px;padding:13px 8px;color:#627562;background:none;border:none;border-radius:9px;text-align:left;cursor:pointer;min-width:0;transition:background .2s,color .2s}
.jr-step .jr-step-icon{display:flex;flex-shrink:0;width:30px;height:30px;align-items:center;justify-content:center;background:#e9f0e1;border-radius:8px}
.jr-step b{display:block;font-size:13px;font-weight:700;color:#2c4b36;line-height:1.3;margin:1px 0 5px;white-space:nowrap}.jr-step small{display:block;font-size:10px;line-height:1.5;max-width:110px}
.jr-step[aria-pressed=true]{background:#e6f0d4;color:#2a4b30}.jr-step[aria-pressed=true] .jr-step-icon{background:#d5e8ae}.jr-step[data-done=true]:not([aria-pressed=true]){color:#385939}
.jr-step:hover{background:#edf3e5}.jr-step:focus-visible,.jr-controls button:focus-visible{outline:3px solid #648143;outline-offset:2px}
.jr-details{border-top:1px solid #e1e8d6;border-bottom:1px solid #e1e8d6;background:#fff;margin:0 26px;min-height:184px;display:grid}
.jr-detail{display:grid;grid-template-columns:210px 1fr;gap:28px;align-items:center;padding:20px 0;min-height:183px;grid-area:1/1}
.jr-detail[hidden]{display:none!important}.jr-section[data-route-ready] .jr-detail:not([hidden]){animation:jr-reveal .23s ease-out both}
@keyframes jr-reveal{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}
.jr-detail-media{height:140px;overflow:hidden;border-radius:10px;background:transparent;display:flex;align-items:center;justify-content:center}
.jr-real-photo{width:100%;height:100%;object-fit:cover}.jr-detail .jr-portrait-dmitry{object-position:50% 0%}.jr-detail .jr-portrait-albert{object-position:50% 0%}
.jr-kicker{display:block;font-size:9px;font-weight:700;color:#5f7b50;letter-spacing:1.6px;margin-bottom:9px}
.jr-detail h3{font-size:clamp(20px,2vw,26px);letter-spacing:-.6px;line-height:1.15;color:#224a36;margin:0 0 9px}
.jr-detail p{font-size:13px;line-height:1.65;max-width:770px;color:#415a46;margin:0 0 9px}
.jr-detail-copy>small{font-size:10px;line-height:1.55;color:#70816b;display:block}
.jr-payment-media{display:flex;align-items:center;gap:4px;height:100%;width:100%;padding:0 6px}.jr-client{width:70px;height:118px;flex-shrink:0}.jr-payment-arrow{color:#5f8941;font-size:23px}.jr-atb{width:93px;height:auto;mix-blend-mode:multiply;flex-shrink:0}.jr-broker-media{width:100%;height:100%}.jr-broker-media svg{width:100%;height:100%}
.jr-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 26px}.jr-bottom>span{font-size:11px;color:#63775c}.jr-bottom .button{min-height:43px;padding:12px 18px;font-size:12px}
.jr-conditions{border-bottom:1px solid #dce4d4;margin-top:13px;padding:0;color:#566b54}.jr-conditions summary{font-size:11px;padding:10px 0;cursor:pointer}.jr-condition-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;padding:10px 0 20px}.jr-condition-grid p{font-size:11px;line-height:1.8;margin:0}.jr-condition-grid b{display:block;font-size:12px;color:#294b32;margin-bottom:8px}
.jr-payment-note{display:flex;align-items:center;gap:14px;border-left:3px solid #98b764;padding:14px 18px;margin:18px 0;background:#edf3e6;border-radius:0 8px 8px 0}.jr-payment-note img{width:78px;height:auto;mix-blend-mode:multiply}.jr-payment-note b{font-size:13px;color:#2b4c37}.jr-payment-note p{font-size:11px;color:#5a715a;margin:3px 0 0;line-height:1.6}
.jr-nojs{font-size:13px;color:#59705e}.jr-demo .jr-section{padding:30px 0}.jr-demo{background:#f6f6f1;color:#172728;font-family:Arial,Helvetica,sans-serif;margin:0;line-height:1.6}.jr-demo-top{padding:16px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dae3d3;font-size:11px;color:#6a7e61}.jr-demo-top img{width:270px;height:auto;mix-blend-mode:multiply}.jr-demo .container{width:min(1232px,calc(100% - 48px));margin:auto}
@media(min-width:700px) and (max-width:1023px){.jr-controls{flex-wrap:wrap;max-width:200px;justify-content:flex-end}.jr-duration{width:100%;text-align:right}.jr-step{display:block;padding:10px 6px}.jr-step .jr-step-icon{margin-bottom:8px}.jr-scene{height:240px}.jr-person-albert{left:84%}.jr-locale{font-size:10px;gap:4px}}
@media(max-width:699px){
 .jr-header{display:block;margin-bottom:17px}.jr-header .eyebrow{font-size:8px;letter-spacing:1.1px;margin-bottom:12px}.jr-header h2{font-size:34px;letter-spacing:-1.25px}.jr-header p{font-size:11px;line-height:1.6;margin-top:13px;max-width:330px}
 .jr-controls{margin-top:18px;gap:7px;justify-content:flex-end}.jr-duration{margin-right:auto;font-size:10px}.jr-controls button{font-size:11px;min-height:40px;padding:7px 12px}
 .jr-card{border-radius:16px}.jr-trust-strip{padding:13px 12px;display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}.jr-trust-strip span{font-size:9px;gap:5px}.jr-trust-strip span:last-child{margin:0;grid-column:1/-1}.jr-trust-strip .jr-icon{width:15px;height:15px}
 .jr-scene{height:190px}.jr-landscape{height:135px;top:55px}.jr-korea-photo{height:130px;top:53px;width:36%;opacity:.25}.jr-locale{font-size:9px;gap:3px;top:15px;letter-spacing:-.1px}.jr-locale span{font-size:7px;padding:4px 4px}.jr-locale-korea{left:4%}.jr-locale-vl{left:46%;top:21px}.jr-locale-vl span{display:none}.jr-locale-ekb{right:3%;flex-direction:row-reverse}.jr-locale-ekb span{display:none}
 .jr-person{top:55px;gap:4px}.jr-person img{width:48px;height:60px;border-radius:8px;box-shadow:0 0 0 3px #f6f9ee}.jr-person span{font-size:9px;padding:3px 4px;border-radius:4px}.jr-person-dmitry{left:15%}.jr-person-albert{left:90%}
 .jr-carrier-motion{width:58px;bottom:10px}.jr-ferry-motion{width:69px;bottom:12px}.jr-broker-scene{width:31px;height:48px;left:71%;bottom:14px}.jr-delivered{width:22px;height:22px;top:45px;right:3%}.jr-delivered .jr-icon{width:15px;height:15px}.jr-scene-caption{font-size:6px;left:8px;bottom:1px}
 .jr-track{margin:0 15px}.jr-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:16px 10px}.jr-step{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:9px 6px}.jr-step .jr-step-icon{width:26px;height:26px}.jr-step .jr-icon{width:18px;height:18px}.jr-step b{font-size:10px;margin:0 0 3px}.jr-step small{font-size:8px;line-height:1.4}
 .jr-details{margin:0 14px;min-height:245px}.jr-detail{grid-template-columns:87px minmax(0,1fr);gap:14px;align-items:start;min-height:244px;padding:20px 0}.jr-detail-media{height:114px;border-radius:8px}.jr-detail h3{font-size:19px;line-height:1.2;letter-spacing:-.45px;margin-bottom:8px}.jr-kicker{font-size:7px;letter-spacing:1px;margin-bottom:9px}.jr-detail p{font-size:11px;line-height:1.65;margin-bottom:9px}.jr-detail-copy>small{font-size:8px;line-height:1.55}
 .jr-payment-media{flex-direction:column;justify-content:center;gap:2px;padding:0}.jr-client{width:46px;height:64px}.jr-payment-arrow{display:none}.jr-atb{width:79px;height:auto}.jr-broker-media svg{width:155%;max-width:none;margin-left:-25%}
 .jr-bottom{display:block;padding:16px 14px}.jr-bottom>span{display:block;font-size:10px;margin-bottom:13px;max-width:260px}.jr-bottom .button{width:100%;font-size:11px;justify-content:space-between}
 .jr-conditions summary{font-size:10px}.jr-condition-grid{grid-template-columns:1fr;gap:15px}.jr-payment-note{padding:12px;gap:12px}.jr-payment-note img{width:58px}.jr-payment-note b{font-size:12px}.jr-payment-note p{font-size:10px}
 .jr-demo .container{width:calc(100% - 28px)}.jr-demo .jr-section{padding:22px 0}.jr-demo-top{padding:14px 0;gap:14px}.jr-demo-top img{width:215px}.jr-demo-top span{font-size:8px;max-width:80px;text-align:right}
}
@media(max-width:359px){.jr-header h2{font-size:30px}.jr-detail{grid-template-columns:70px minmax(0,1fr);gap:10px}.jr-details,.jr-detail{min-height:272px}.jr-step b{font-size:9px}.jr-step small{font-size:7.5px}.jr-atb{width:65px}.jr-locale{font-size:8px}}
@media(prefers-reduced-motion:reduce){html:not([data-encar-autoplay="always"]) .jr-section:not([data-route-motion="user"]) *{animation:none!important;transition:none!important}.jr-traveller{will-change:auto}}
@media print{.jr-controls,.jr-bottom .button{display:none!important}.jr-detail[hidden]{display:grid!important}.jr-details{display:block}.jr-condition-grid{display:block}.jr-conditions>div{display:block}.jr-section{break-inside:avoid}}

/* The bank transfer moves back to Korea, separately from the vehicle route */
.jr-transfer-track{position:absolute;left:28%;top:65px;width:38%;height:32px;color:#547547;pointer-events:none}
.jr-transfer-track>span{display:block;text-align:center;font-size:10px;font-weight:600;letter-spacing:.3px;margin-bottom:12px}
.jr-transfer-track>i{display:block;border-top:1px dashed #b5caa2}
.jr-transfer-track>b{position:absolute;top:21px;left:100%;width:26px;height:26px;border-radius:7px;background:#deedc4;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center}
.jr-transfer-track .jr-icon{width:16px;height:16px}
@media(max-width:699px){.jr-transfer-track{left:29%;width:40%;top:63px}.jr-transfer-track>span{font-size:7px;letter-spacing:0}.jr-transfer-track>b{width:20px;height:20px}.jr-transfer-track .jr-icon{width:13px;height:13px}.jr-person-albert{left:88%}.jr-delivered{right:5%}}


/* v12 overrides */
.jr-korea-photo{opacity:.32;width:34%}
.jr-person img{object-fit:cover;object-position:50% 18%}
.jr-person-albert img{object-position:50% 10%}
.jr-detail .jr-portrait-dmitry{object-position:50% 16%}
.jr-detail .jr-portrait-albert{object-position:50% 12%}
.jr-detail .jr-delivery-photo{object-position:50% 40%}
.jr-kicker{font-size:10px;letter-spacing:1.2px}
.jr-detail-link{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-size:12px;font-weight:700;color:#214d3c;text-decoration:none;border-bottom:1px solid #cdd9c4;padding-bottom:2px}
.jr-detail-link:hover{color:#3b663d;border-color:#98b764}
.jr-bottom>span{max-width:760px}
.jr-step small{max-width:118px}
.jr-step b{white-space:normal}
.jr-broker-scene{width:96px;height:82px;left:72%;bottom:24px}
.jr-broker-scene .jr-doc-shuttle{transform:translate(calc(var(--jr-customs-progress,0) * 16px),calc(var(--jr-customs-progress,0) * 2px));opacity:calc(.2 + var(--jr-customs-progress,0) * .95)}
.jr-broker-scene .jr-badge-ok{opacity:var(--jr-customs-progress,0);transform-origin:148px 26px;transform:scale(calc(.75 + var(--jr-customs-progress,0) * .25))}
.jr-broker-media .jr-broker-pass-loop{transform-origin:50% 50%}
.jr-broker-doc-loop{animation:jr-doc-pass 2.4s ease-in-out infinite}
.jr-broker-ok-loop{animation:jr-ok-pop 2.4s ease-in-out infinite}
@keyframes jr-doc-pass{0%,18%{transform:translateX(0);opacity:.25}35%,60%{transform:translateX(14px);opacity:1}100%{transform:translateX(14px);opacity:.85}}
@keyframes jr-ok-pop{0%,52%{opacity:0;transform:scale(.6)}64%,82%{opacity:1;transform:scale(1)}100%{opacity:.85;transform:scale(1)}}
.route-explainers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:28px 0 10px}
.route-card{background:#fff;border:1px solid #dce6d5;border-radius:20px;padding:22px;box-shadow:0 15px 35px -32px rgba(24,62,43,.35);scroll-margin-top:120px}
.route-card .eyebrow{margin-bottom:10px;font-size:10px;letter-spacing:1.3px;color:#5f7b50}
.route-card h3{font-size:24px;line-height:1.14;color:#224a36;margin:0 0 12px}
.route-card p{font-size:14px;line-height:1.72;color:#425b46;margin:0 0 10px}
.route-card ul{margin:12px 0 0 18px;padding:0;color:#425b46;font-size:13px;line-height:1.72}
@media(max-width:699px){
 .jr-broker-scene{width:60px;height:52px;bottom:12px}
 .jr-detail-link{font-size:11px;margin-top:12px}
 .route-explainers{grid-template-columns:1fr;gap:14px}
 .route-card{padding:18px 16px;border-radius:16px}
 .route-card h3{font-size:20px}
 .route-card p,.route-card ul{font-size:12px}
}

/* v13 overrides */
.jr-person img{object-fit:cover;object-position:50% 18%}
.jr-person-dmitry img{object-position:50% 8%}
.jr-person-albert img{object-position:50% 8%}
.jr-insured-tag{position:absolute;left:79%;bottom:44px;padding:5px 10px;border-radius:999px;background:#d6ed9b;color:#244336;font-size:10px;font-weight:800;letter-spacing:.3px;opacity:0;transform:translateY(4px);transition:opacity .25s,transform .25s;box-shadow:0 10px 18px -18px rgba(0,0,0,.35)}
[data-route-active="5"] .jr-insured-tag,[data-route-state="finished"] .jr-insured-tag{opacity:1;transform:translateY(0)}
.jr-step{min-width:0}
.jr-steps{grid-template-columns:repeat(8,minmax(0,1fr))}
.jr-step small{max-width:106px}
.jr-detail .jr-portrait-dmitry{object-position:50% 16%}
.jr-broker-scene{left:68%;bottom:24px}
.jr-transport-media .jr-transport-loop{animation:jr-road-haul 3.4s ease-in-out infinite}
.jr-transport-media .jr-insure-badge{animation:jr-insure-pulse 3.4s ease-in-out infinite;transform-origin:382px 88px}
@keyframes jr-road-haul{0%,12%{transform:translateX(-18px)}45%,75%{transform:translateX(38px)}100%{transform:translateX(38px)}}
@keyframes jr-insure-pulse{0%,42%{opacity:.45;transform:scale(.86)}60%,84%{opacity:1;transform:scale(1)}100%{opacity:.88;transform:scale(1)}}
@media(max-width:1120px){.jr-steps{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:699px){.jr-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.jr-insured-tag{left:70%;bottom:14px;font-size:9px;padding:4px 7px}.jr-broker-scene{left:63%;bottom:10px}}

/* v14 overrides */
.jr-person-dmitry img,.jr-detail .jr-portrait-dmitry{object-position:50% 12%}
.jr-locale-ekb{right:24px;bottom:156px}
.jr-locale-ekb span{display:inline-flex;align-items:center;justify-content:center;min-width:26px;padding:0 8px;border-radius:999px;background:#d6ed9b;color:#244336;font-size:11px;font-weight:800;margin-left:6px}
.jr-scene-caption{right:22px;left:auto;bottom:8px}
@media(max-width:699px){.jr-locale-ekb{right:8px;bottom:126px}.jr-locale-ekb span{font-size:10px;min-width:22px;padding:0 6px}}
.jr-insured-tag{display:none!important}

/* v15: keep the complete transport photograph visible, including on mobile */
.jr-detail[data-route-panel="6"] .jr-detail-media{height:auto;aspect-ratio:884/649;align-self:center}
.jr-detail .jr-carrier-photo{width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block}
.route-card .route-transport-photo{display:block;width:100%;height:auto;max-width:640px;aspect-ratio:884/649;object-fit:cover;border-radius:12px;margin:18px 0 14px}

/* v16: supplied cityscape, unwarped, without the former city hall */
.jr-ekb-skyline{position:absolute;right:1.3%;bottom:28px;width:31%;height:auto;aspect-ratio:567/167;object-fit:contain;display:block;max-width:none;pointer-events:none;z-index:1}
.jr-person-albert{left:92%;top:64px}
.jr-locale-ekb{top:20px;bottom:auto;right:3%;min-height:23px}
.jr-locale-ekb span{padding:5px 7px;line-height:1}
.jr-scene-caption{left:13px;right:auto;bottom:3px}
/* Keep the new skyline clear of the portrait without changing portrait files. */
@media(min-width:700px) and (max-width:1023px){
 .jr-ekb-skyline{width:33%;right:1%;bottom:24px}
 .jr-person-albert{left:92%;top:58px}
 .jr-person-albert img{width:65px;height:81px}
}
@media(max-width:699px){
 .jr-ekb-skyline{width:42%;right:1.5%;bottom:23px}
 .jr-person-albert{left:89%;top:51px}
 .jr-locale-ekb{top:15px;bottom:auto;right:3%;min-height:12px;flex-direction:row}
 .jr-locale-ekb span{display:none}
 .jr-scene-caption{left:8px;right:auto;bottom:1px}
 .jr-delivered{right:4%;top:42px}
}

/* v17.1: preserve the approved skyline dimensions; shift only, clip at scene edge */
.jr-scene{overflow:hidden}
.jr-ekb-skyline{transform:translateX(34%)}
/* Flag badge replaces the letter badge without inheriting hidden/mobile text styles */
.jr-locale .jr-flag-badge{display:inline-flex!important;align-items:center;justify-content:center;flex-shrink:0;width:26px;height:18px;min-width:0;min-height:0;padding:0;background:transparent;border-radius:2px;overflow:hidden;box-shadow:0 0 0 1px #27494316;line-height:0;font-size:0}
.jr-flag-badge img{display:block;width:100%;height:100%;max-width:none;object-fit:contain}
@media(max-width:699px){
 .jr-locale .jr-flag-badge{width:18px;height:12px}
 .jr-locale-vl{top:15px;left:45%}
}

/* v18: updated route media and raised locale markers for the new background image */
.jr-locale{top:12px}
.jr-locale-vl{top:12px}
.jr-locale-ekb{top:12px}
.jr-korea-photo img{object-position:50% 44%;filter:saturate(.72)}
.jr-detail[data-route-panel="3"] .jr-real-photo{object-position:50% 58%}
.jr-detail[data-route-panel="5"] .jr-real-photo{object-position:50% 42%}
.jr-detail[data-route-panel="5"] .jr-real-photo{object-position:50% 42%}
.jr-detail[data-route-panel="6"] .jr-real-photo{object-position:50% 56%}
@media(max-width:699px){
 .jr-locale{top:9px}
 .jr-locale-vl{top:9px;left:45%}
 .jr-locale-ekb{top:9px;right:3%}
 .jr-korea-photo img{object-position:50% 40%}
}

/* v18.1: raise only the Korean flag + country label, leaving the photo unchanged */
.jr-scene .jr-locale-korea{top:2px;bottom:auto;z-index:4}
@media(max-width:699px){.jr-scene .jr-locale-korea{top:5px}}


/* v18.2: inspection step added before bank + aligned locale markers */
.jr-detail[data-route-panel="0"] .jr-detail-media{height:140px;background:#fff;border:1px solid #e1e8d6}
.jr-detail[data-route-panel="0"] .jr-real-photo{object-fit:contain;background:#fff}
.route-card .route-inspection-photo{display:block;width:100%;height:auto;max-width:420px;border-radius:12px;margin:18px 0 14px;border:1px solid #e1e8d6}
.jr-scene .jr-locale-korea,.jr-scene .jr-locale-vl,.jr-scene .jr-locale-ekb{top:2px;bottom:auto;z-index:4;height:18px;min-height:0;line-height:18px;white-space:nowrap}
.jr-scene .jr-locale-ekb>span{height:18px;line-height:18px;padding:0 7px}
@media(max-width:699px){.jr-scene .jr-locale-korea,.jr-scene .jr-locale-vl,.jr-scene .jr-locale-ekb{top:5px;height:14px;min-height:0;line-height:14px}}

/* Same photo crops after inserting the first step */
.jr-detail[data-route-panel="4"] .jr-real-photo{object-position:50% 42%}

/* v18-3 right-side muted delivery photo */
.jr-ekb-photo{position:absolute;top:10%;right:0;width:31%;height:87%;overflow:hidden;opacity:.22;mask-image:linear-gradient(270deg,#000 6%,#000 72%,transparent);-webkit-mask-image:linear-gradient(270deg,#000 6%,#000 72%,transparent);z-index:0}
.jr-ekb-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 46%;filter:saturate(.68)}
@media(max-width:699px){.jr-ekb-photo{top:53px;height:130px;width:38%;opacity:.2}.jr-ekb-photo img{object-position:0% 44%}}

/* Scene playback and a real touch/keyboard timeline; selected positions remain paused. */
.jr-controls [data-route-toggle],.jr-controls [data-route-replay]{display:none!important}
.jr-scene[role="button"]{cursor:default;-webkit-tap-highlight-color:transparent;touch-action:pan-y}
.jr-scene[data-route-clickable="true"]{cursor:pointer}
.jr-scene[role="button"]:focus-visible{outline:3px solid #648143;outline-offset:-5px}
.jr-track.has-scrubber{height:38px;margin:0 26px;background:transparent}
.jr-timeline{display:block;box-sizing:border-box;width:100%;height:38px;margin:0;padding:0;border:0;border-radius:0;background:transparent;appearance:none;-webkit-appearance:none;cursor:ew-resize;touch-action:pan-y;accent-color:#497736}
.jr-timeline::-webkit-slider-runnable-track{height:4px;border:0;border-radius:5px;background:linear-gradient(to right,#6c9847 0%,#6c9847 var(--jr-progress-fill,0%),#dce8d2 var(--jr-progress-fill,0%),#dce8d2 100%)}
.jr-timeline::-webkit-slider-thumb{width:20px;height:20px;margin-top:-8px;border:3px solid #e5f3cd;border-radius:50%;background:#3c6b36;box-shadow:0 0 0 3px #eaf2de;appearance:none;-webkit-appearance:none}
.jr-timeline::-moz-range-track{height:4px;border:0;border-radius:5px;background:#dce8d2}
.jr-timeline::-moz-range-progress{height:4px;border-radius:5px;background:#6c9847}
.jr-timeline::-moz-range-thumb{width:14px;height:14px;border:3px solid #e5f3cd;border-radius:50%;background:#3c6b36;box-shadow:0 0 0 3px #eaf2de}
.jr-timeline:focus-visible{outline:2px solid #648143;outline-offset:2px;border-radius:7px}
.jr-track.has-scrubber+.jr-steps{margin-top:0}
.jr-section[data-route-state="scrubbing"] .jr-detail{animation:none!important}
.jr-section:not([data-route-state="playing"]) .jr-broker-doc-loop,
.jr-section:not([data-route-state="playing"]) .jr-broker-ok-loop,
.jr-section:not([data-route-state="playing"]) .jr-transport-loop,
.jr-section:not([data-route-state="playing"]) .jr-insure-badge{animation-play-state:paused}
@media(max-width:699px){.jr-track.has-scrubber{height:44px;margin:0 15px}.jr-timeline{height:44px}.jr-timeline::-webkit-slider-thumb{width:24px;height:24px;margin-top:-10px}.jr-timeline::-moz-range-thumb{width:18px;height:18px}}
@media print{.jr-track.has-scrubber{display:none}}

/* An explicit scene activation resumes a manually selected stage. */
.jr-section[data-route-phone="true"] .jr-scene[role="button"]{touch-action:pan-y}

/* v29: keep both people in the narrow mobile handover thumbnail. */
@media(max-width:699px){.jr-detail[data-route-panel="7"] .jr-delivery-photo{object-position:90% 40%}}
