.route-mode{background:#2a2e2d;color:#2d454d}
.route-mode:before{opacity:.025}
.route-mode .sidebar,.route-mode .topbar,.route-mode .page-heading,.route-mode main>footer{display:none}
.route-mode main{margin:0;padding:16px;max-width:none;min-height:0;height:100svh;width:100%;overflow:hidden}
.route-mode #page-content{height:100%;width:100%}
.travel-atlas{width:100%;height:100%;position:relative}
.atlas-back{position:fixed;top:28px;left:28px;z-index:8;padding:8px 12px;font-family:'Neucha',sans-serif;font-size:16px;line-height:1;background:#f2eee2e8;border:1px solid #cdd2c2;color:#36535a;border-radius:2px;box-shadow:0 2px 12px #223b3d12}
.atlas-back:hover{background:#faf7ed;color:#a24f4a}
.map-stage{display:flex;width:100%;height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:none}
.map-stage::-webkit-scrollbar{display:none}
.map-stage:focus-visible{outline:1px dashed #a7b7b1;outline-offset:-2px}
.map-sheet{position:relative;flex-shrink:0;width:min(100%,calc((100svh - 32px)*1.4));aspect-ratio:1400/1000;margin:auto;container-type:inline-size;isolation:isolate;color:#2b454e;box-shadow:0 9px 35px #12202433}
.map-base{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.map-heading{position:absolute;top:5%;left:5%;pointer-events:none}
.map-heading>span{font-size:clamp(8px,1cqw,12px);font-weight:500;letter-spacing:.16em;color:#68796f}
.map-heading h1{font-family:'Neucha',sans-serif;font-size:clamp(36px,5.2cqw,72px);font-weight:400;line-height:1;margin:12px 0 0;letter-spacing:.02em}
.map-routes{position:absolute;inset:0;width:100%;height:100%;fill:none;pointer-events:none;stroke-linecap:round;stroke-linejoin:round}
.map-route-halo{stroke:#f7f2e2;stroke-width:8;opacity:.9}
.map-route-line{stroke:#ac4947;stroke-width:4;stroke-dasharray:8 9;opacity:.95}
.map-spot{position:absolute;left:var(--pin-x);top:var(--pin-y);width:clamp(64px,8cqw,112px);height:clamp(60px,7cqw,98px);transform:translate(-50%,-50%);border:0;background:none;padding:0;color:#29464f;z-index:2}
.spot-novi-sad{width:32%;height:20%}
.spot-belgrade{width:40%;height:20%}
.spot-mokra-gora{width:26%;height:19%}
.spot-kopaonik{width:30%;height:18%}
.spot-novi-sad,.spot-mokra-gora{z-index:3}
.map-pin{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:14px;height:14px;border:3px solid #f7f2e3;background:#b85c56;box-shadow:0 0 0 1px #b05d58;border-radius:50%;transition:transform .2s,background .2s}
.map-spot-label{position:absolute;top:calc(50% + 23px);left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;width:max-content;padding:3px 7px;max-width:240px;background:#f3f0e3cb;box-shadow:0 0 5px 2px #f3f0e370;border-radius:2px}
.map-spot-label strong{font-family:'Neucha',sans-serif;font-size:clamp(18px,2cqw,28px);font-weight:400;line-height:1.05;letter-spacing:.025em;text-transform:uppercase;white-space:nowrap}
.spot-novi-sad .map-spot-label{left:calc(50% + 19.88cqw);top:calc(50% + 2.6cqw)}
.spot-mokra-gora .map-spot-label{left:calc(50% + 16.9cqw);top:calc(50% + 4.6cqw)}
.map-label-leaders{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#5f7d7a;stroke-width:1;stroke-linecap:round;opacity:.65;pointer-events:none}
.map-spot-label small{font-size:clamp(9px,.9cqw,12px);margin-top:4px;letter-spacing:.1em;color:#748478}
.map-spot:hover .map-pin,.map-spot:focus-visible .map-pin{transform:translate(-50%,-50%) scale(1.3);background:#335c70}
.map-spot:hover .map-spot-label{color:#a14b48}
.map-spot:focus-visible{outline:1px dashed #385e6b;outline-offset:4px;border-radius:50%}
.map-local{position:absolute;z-index:3;transform:translate(-50%,-50%);display:flex;align-items:center;gap:5px;width:max-content;max-width:220px;white-space:nowrap;padding:5px 8px;background:#f3f0e3e8;border:0;border-radius:2px;color:#435c62;font-family:'Neucha',sans-serif;font-size:clamp(13px,1.4cqw,18px);line-height:1.15;box-shadow:0 0 8px 4px #f3f0e360}
.map-local>span{font-size:15px;color:#b35852}
.map-local:hover{color:#a14b48;background:#fffaf0}
.map-leg{position:absolute;z-index:4;transform:translateX(-50%);display:flex;flex-direction:row;align-items:center;gap:0;width:max-content;padding:5px 7px;background:#deebe8f2;border:1px dashed #839e9f;border-left:3px solid #b56d65;border-radius:3px;box-shadow:0 2px 4px #294d5215;text-align:center;color:#31596a;line-height:1.15;font-variant-numeric:tabular-nums}
.map-leg:before{content:'';position:absolute;bottom:100%;left:50%;transform:translateX(-50%);width:clamp(55px,8cqw,110px);height:clamp(30px,4.5cqw,64px)}
.map-leg time{font-family:ui-monospace,Consolas,monospace;font-size:clamp(11px,1.05cqw,14px);font-weight:600;letter-spacing:.01em}
.map-leg-distance{font-family:ui-monospace,Consolas,monospace;font-size:clamp(10px,.9cqw,12px);color:#496d78;white-space:nowrap;margin-left:7px;padding-left:7px;border-left:1px dashed #91abaa}
.map-leg:hover{background:#eaf4ef;border-color:#4b7982;border-left-color:#a5524c}
@media(max-width:720px){
  .route-mode main{padding:0}
  .atlas-back{top:14px;left:14px;font-size:15px}
  .map-sheet{width:840px;max-width:none;box-shadow:none}
  .map-heading{left:4%;top:4%}
}
@media(prefers-reduced-motion:reduce){.map-pin{transition:none}}
