/* Readable map markers, route commitment, and a destination reveal. */
.route-v2 {font-family:'M PLUS Rounded 1c',sans-serif}
.route-v2 .section-top {gap:16px;align-items:center}
.route-v2 .section-top h1 {font-size:clamp(22px,2.3vw,32px)}
.route-side-badge {display:flex;align-items:center;gap:8px;flex-shrink:0;padding:10px 15px;color:#ffe6a0;background:#18384b;border:1px solid #bd9d5b;border-radius:4px;font-size:13px;box-shadow:0 3px #0b1928}
.route-v2 .antique-map {height:800px;min-height:800px;border:7px solid #8e6a3b;box-shadow:0 0 0 2px #e6c991,0 16px 36px #08132188}
.route-v2 .map-tint {background:linear-gradient(0deg,#ead7adf0,transparent 20%,#fae7ba77 50%,#efdaac77 80%,#edd9b6ed)}
.route-v2 .map-caption {top:14px;left:18px;gap:4px;max-width:30%}
.route-v2 .map-caption b {font-size:18px;line-height:1.5}
.route-v2 .map-caption small {font-size:10px;line-height:1.5}
.route-v2 .map-north {right:20px;top:17px}
.route-lane {position:absolute;top:100px;font-size:11px;font-weight:900;letter-spacing:.18em;color:#725329;border-bottom:1px solid #a88852;padding-bottom:4px;transform:translateX(-50%)}
.route-lane.lane-left {left:24%}.route-lane.lane-right {left:76%}
.route-v2 .route-lines path {stroke:#624e32;stroke-width:3.4;opacity:.58;stroke-dasharray:3 9}
.route-v2 .route-lines path.active {stroke:#a34422;stroke-width:5;opacity:1;stroke-dasharray:5 9;animation:route-flow 2s linear infinite}
.route-v2 .route-lines path.done {stroke:#226d63;stroke-width:5;opacity:.85;stroke-dasharray:none}
.route-v2 .route-lines path.closed {opacity:.12;stroke-width:2}
.route-v2 .map-node {min-width:74px;max-width:180px}
.route-v2 .map-node>i {width:42px;height:42px;border-color:#76552c;background:#e5cda0;box-shadow:2px 3px #ad8f5c}
.route-v2 .map-node span {font-size:12px!important;padding:4px 9px;max-width:none;letter-spacing:0;color:#51391d;background:#f9ebc8;line-height:1.5}
.route-v2 .map-node.available>i {border-color:#ad3b24;background:#ffe5a1;outline:3px solid #fff6d1;color:#91351e;box-shadow:0 0 0 7px #f2b45845,2px 4px #b79962;animation:route-marker 2s ease-in-out infinite}
.route-v2 .map-node.available span {border:2px solid #9a3d24;background:#fff2ce;color:#702b1d;font-weight:900}
.route-v2 .map-node.current>i {background:#216b67;border-color:#f6e7b5;outline:2px solid #277368;color:#fff4ce}
.route-v2 .map-node.current span {background:#245b55;color:#fff2cc;border-color:#fbdf8d}
.route-v2 .map-node .you-marker {background:#173c3c;color:#ffecb2;padding:4px 7px;top:-24px;white-space:nowrap;font-size:11px;border:1px solid #ffe6a5;border-radius:3px}
.route-v2 .map-node.node-elite>i {background:#e4c3db;border-color:#7b3b74;color:#6b2864}
.route-v2 .map-node.node-boss>i {background:#473458;border-color:#bd933f;color:#ffe091;box-shadow:0 0 0 3px #f3d49b88}
.route-v2 .map-node.visited:not(.current)>i {background:#c9d1ac;border-color:#5c7b61;color:#3e6757}
.route-v2 .map-node.unreachable {opacity:.4;filter:grayscale(.7)}
.route-v2 .map-node.unreachable span {background:#e6d6b6}
.route-v2 .map-node .route-cross {position:absolute;top:0;right:calc(50% - 30px);width:21px;height:21px;display:grid;place-items:center;background:#6c5542;color:#ffedca;border:1px solid #ead2a5;border-radius:50%;font:900 17px/1 sans-serif}
.route-v2 .map-node:focus-visible {outline:3px solid #125968;outline-offset:4px;border-radius:7px}
.route-v2 .map-key {bottom:10px;left:16px;right:16px;font-weight:900;gap:5px}
.route-v2 .map-key small {font-size:10px;font-weight:500}
.route-v2 .route-sidebar {gap:0}
.route-v2 .current-place {border-color:#a9c2c4;background:linear-gradient(120deg,#29495a,#1b3349);border-radius:4px}
.route-v2 .current-place span {display:flex;align-items:center;gap:7px}
.route-v2 .current-place span .icon {width:15px;height:15px;color:#ffe09c}
.route-v2 .route-sidebar h2 {font-size:18px;margin:22px 0 13px}
.route-v2 .route-choice {position:relative;gap:12px;padding:15px 13px;background:linear-gradient(125deg,#294a60,#20374f);border-color:#7d9cab;transition:transform .16s,background .16s,box-shadow .16s}
.route-v2 .route-choice:hover {transform:translateY(-2px);border-color:#efd08f;box-shadow:0 5px 0 #081a2d,0 0 16px #a1e7ee15}
.route-v2 .route-choice:focus-visible {outline:3px solid #ffe19e;outline-offset:4px}
.route-v2 .route-choice small {font-size:11px;color:#b6d1dd}
.route-v2 .route-choice b {font-size:19px;color:#fff3d1;letter-spacing:.04em}
.route-v2 .route-choice em {font-size:12px;line-height:1.7}
.route-v2 .route-icon {display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;background:#122b3e;border:1px solid #90aebe;border-radius:4px;color:#f3dfaa;font-size:26px;font-weight:900}
.route-v2 .route-icon.elite {color:#f5bded;border-color:#b784b6}
.route-v2 .route-choice .route-reward {font-size:11px;line-height:1.7;color:#f6db8c}
.route-v2 .route-choice .risk-note {font-size:11px;color:#f1b3aa}
.route-v2 .route-advice {display:block;border:1px solid #8c815c;background:#1c3043;border-radius:3px;padding:15px;margin-top:20px}
.route-v2 .route-advice b {display:flex;align-items:center;gap:8px;font-size:14px}
.route-v2 .route-advice p {font-size:12px;line-height:1.9;margin:9px 0;color:#d7e4e5}
.route-v2 .route-advice small {display:block;color:#a9c3cd;font-size:11px;line-height:1.8}
.route-v2 .goal-preview {margin-top:18px;background:#172a3c;border:1px solid #4c6877;padding:12px;border-radius:4px}
.route-v2 .goal-preview .mini {width:56px;height:60px;flex-shrink:0}
.route-v2 .goal-preview strong {font-size:14px;color:#fce3a2}
.route-v2 .goal-preview small {font-size:11px;color:#b3c9d2}
.screen-enter {animation:screen-enter .35s ease-out both}
body.travelling {overflow:hidden}
.travel-transition {position:fixed;inset:0;z-index:1000;isolation:isolate;display:grid;place-items:center;color:#fff3d0;outline:none;font-family:'M PLUS Rounded 1c',sans-serif;overflow:hidden}
.travel-curtain {position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 45%,#275064,#14293f 65%);animation:travel-cover .44s cubic-bezier(.7,0,.3,1) both}
.travel-curtain::after {content:'';position:absolute;inset:18px;border:1px solid #a6bdad55;outline:1px solid #a6bdad33;outline-offset:5px}
.travel-departure {text-align:center;opacity:0;animation:departure-in .24s .25s ease forwards}
.travel-compass {font-size:42px;color:#e6c17b;margin-bottom:10px}
.travel-walker {width:110px;height:116px;margin:auto;animation:travel-bounce .36s ease-in-out infinite alternate}
.travel-walker img,.travel-walker canvas,.travel-walker svg {width:100%;height:100%;image-rendering:pixelated;object-fit:contain}
.travel-trail {display:flex;gap:12px;justify-content:center;margin:8px 0 20px}
.travel-trail i {width:7px;height:7px;background:#e4c586;transform:rotate(45deg);animation:trail-glow .8s infinite alternate}
.travel-trail i:nth-child(2n) {animation-delay:.2s}.travel-trail i:nth-child(3n) {animation-delay:.4s}
.travel-departure p {font-size:17px;letter-spacing:.15em;margin:0}
.arrival-content {display:none;position:relative;text-align:center;width:min(100% - 36px,800px);padding:44px 24px 30px;isolation:isolate}
.travel-transition.has-arrived {background:linear-gradient(0deg,#0b1b31aa,#0c223333 38%,#0a1e3344 65%,#0b1a31bb),var(--arrival-scene) center/cover no-repeat}
.has-arrived .travel-curtain {animation:travel-unveil .65s ease-out forwards}
.has-arrived .travel-departure {display:none}
.has-arrived .arrival-content {display:block;animation:arrival-in .65s cubic-bezier(.16,1,.3,1) both}
.arrival-content::before {content:'';position:absolute;inset:0 -30vw;z-index:-1;background:linear-gradient(90deg,#10283c00,#10273de8 20%,#123044f5 50%,#10273de8 80%,#10283c00);border-top:1px solid #efce854d;border-bottom:1px solid #efce854d;box-shadow:0 18px 55px #09162955}
.arrival-eyebrow {display:flex;justify-content:center;align-items:center;gap:16px;font-size:13px;letter-spacing:.25em;color:#f3d79e}
.arrival-eyebrow>span {width:55px;height:1px;background:linear-gradient(90deg,transparent,#deba73)}
.arrival-eyebrow>span:last-child {transform:rotate(180deg)}
.arrival-reading {font-size:clamp(13px,2vw,19px);letter-spacing:.3em;margin:30px 0 10px;color:#e0eeee}
.arrival-content h2 {font-size:clamp(34px,5.5vw,66px);font-weight:900;line-height:1.35;letter-spacing:.16em;margin:0;padding-left:.16em;color:#fff5d5;text-shadow:0 3px #11202e,0 0 25px #f9da9c38}
.arrival-divider {color:#eac68a;font-size:19px;display:flex;align-items:center;justify-content:center;gap:16px;margin:19px auto 9px}
.arrival-divider::before,.arrival-divider::after {content:'';width:80px;height:1px;background:#b8a377}
.arrival-subtitle {font-size:clamp(13px,1.6vw,18px);line-height:1.9;letter-spacing:.06em;margin:8px 0 28px;color:#e8f2eb}
.arrival-stamp {position:absolute;right:0;top:16px;width:62px;height:62px;border:2px solid #eec47a;outline:1px solid #eec47a;outline-offset:4px;display:grid;place-items:center;border-radius:50%;transform:rotate(12deg);font-size:17px;color:#ffdb9a;background:#19314488}
.arrival-continue {font:900 14px 'M PLUS Rounded 1c',sans-serif;cursor:pointer;color:#193949;background:linear-gradient(#ffefbb,#e3c47e);padding:14px 28px;border:2px solid #ffeec5;border-radius:4px;box-shadow:0 4px #8c713f,0 7px 24px #06172977;letter-spacing:.08em;transition:transform .15s}
.arrival-continue span {margin-left:25px;font-size:12px;color:#627364}
.arrival-continue:hover {transform:translateY(-2px);background:#fff0bf}
.arrival-continue:focus-visible {outline:3px solid #c8f0f1;outline-offset:5px}
.travel-transition.travel-finished {animation:arrival-out .32s ease forwards;pointer-events:none}
@keyframes route-flow {to {stroke-dashoffset:-28}}
@keyframes route-marker {50% {box-shadow:0 0 0 9px #f2b45825,2px 4px #b79962}}
@keyframes screen-enter {from {opacity:.2;transform:translateY(8px)} to {opacity:1;transform:none}}
@keyframes travel-cover {from {clip-path:polygon(0 0,0 0,0 100%,0 100%)} to {clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}}
@keyframes departure-in {to {opacity:1}}
@keyframes travel-bounce {to {transform:translateY(-5px) rotate(3deg)}}
@keyframes trail-glow {to {opacity:.3}}
@keyframes travel-unveil {to {opacity:0}}
@keyframes arrival-in {from {opacity:0;transform:translateY(15px)} to {opacity:1;transform:none}}
@keyframes arrival-out {to {opacity:0;transform:scale(1.015)}}
@media(max-width:760px) {
  .route-v2 .section-top {align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:20px}
  .route-v2 .section-top h1 {font-size:22px;line-height:1.5}
  .route-v2 .section-top .eyebrow {font-size:10px}
  .route-side-badge {font-size:12px;padding:7px 11px}
  .route-v2 .antique-map {height:700px;min-height:700px;border-width:4px}
  .route-v2 .map-caption {top:13px;left:10px;max-width:31%}
  .route-v2 .map-caption b {font-size:12px}.route-v2 .map-caption small {font-size:8px}
  .route-v2 .map-north {right:11px;top:13px;font-size:13px}
  .route-lane {top:83px;font-size:10px}
  .route-v2 .map-node {min-width:62px;max-width:108px;padding:3px}
  .route-v2 .map-node>i {width:34px;height:34px}
  .route-v2 .map-node>i>.icon {width:19px;height:19px}
  .route-v2 .map-node span {font-size:11px!important;max-width:106px;white-space:normal;padding:3px 6px;line-height:1.4}
  .route-v2 .map-node .you-marker {font-size:10px;top:-21px;padding:3px 5px}
  .route-v2 .map-node .route-cross {right:calc(50% - 26px);width:17px;height:17px;font-size:15px}
  .route-v2 .map-key {left:9px;right:9px;bottom:9px;font-size:10px;gap:3px}
  .route-v2 .map-key small {font-size:9px;line-height:1.6}
  .route-v2 .route-advice {display:block;margin-top:17px}
  .route-v2 .goal-preview {display:none}
  .arrival-content {padding:39px 8px 28px;width:calc(100% - 32px)}
  .arrival-eyebrow {font-size:11px;gap:10px;letter-spacing:.15em}
  .arrival-eyebrow>span {width:25px}
  .arrival-reading {margin-top:24px;letter-spacing:.15em}
  .arrival-content h2 {font-size:clamp(28px,8vw,38px);letter-spacing:.08em;padding-left:.08em}
  .arrival-stamp {top:-57px;right:5px;width:46px;height:46px;font-size:13px}
  .arrival-subtitle {font-size:13px;margin-bottom:25px}
  .arrival-continue {font-size:14px;padding:13px 22px}
  .travel-transition.has-arrived {background-size:auto,auto 100%;background-position:center}
}
@media(prefers-reduced-motion:reduce) {
  .route-v2 *, .travel-transition, .travel-transition *, .screen-enter {animation:none!important;transition:none!important}
  .travel-departure {opacity:1}.has-arrived .travel-curtain {opacity:0}
}
