/* Общ изглед на пътеките — ползва се от index.html и admin.html */
.eko-pin{width:30px;height:30px;border-radius:999px;border:3px solid #fff;background:#D9822B;color:#fff;font:700 13px Inter,system-ui,sans-serif;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,.3);padding:0}
.eko-spot{width:30px;height:30px;cursor:pointer}
.eko-spot.front{z-index:5}
.eko-card{position:absolute;top:50%;transform:translateY(-50%);width:176px;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px rgba(20,30,25,.22);text-align:left;border:0;padding:0;font-family:Inter,system-ui,sans-serif;cursor:pointer}
.eko-spot.r .eko-card{left:40px}
.eko-spot.l .eko-card{right:40px}
.eko-photo{height:84px;background:#DDE2D8;display:flex;align-items:center;justify-content:center;font-size:12px;color:#5B635D}
.eko-photo img{width:100%;height:100%;object-fit:cover;display:block}
.eko-text{padding:8px 11px 10px}
.eko-text b{display:block;font-size:13px;line-height:1.3;color:#1C211E}
.eko-text span{display:block;margin-top:3px;font-size:12px;line-height:1.4;color:#5B635D}

/* обекти: мост, заслон, чешма */
.eko-poi{width:28px;height:28px;border-radius:999px;background:#fff;border:1.5px solid #1C211E;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.eko-poi svg{width:16px;height:16px;display:block}

/* старт / финиш */
.eko-flag{display:flex;flex-direction:column;align-items:center;pointer-events:none}
.eko-flag .pill{display:flex;align-items:center;gap:5px;padding:4px 9px 4px 7px;border-radius:999px;color:#fff;font:700 12px Inter,system-ui,sans-serif;box-shadow:0 2px 6px rgba(0,0,0,.28);white-space:nowrap}
.eko-flag .pill svg{width:13px;height:13px;display:block}
.eko-flag .stem{width:2px;height:8px}
.eko-flag .dot{width:10px;height:10px;border-radius:999px;border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.eko-flag.start .pill,.eko-flag.start .stem,.eko-flag.start .dot{background:#2F6B4F}
.eko-flag.finish .pill,.eko-flag.finish .stem,.eko-flag.finish .dot{background:#1C211E}
.eko-flag.label .pill{background:#fff;color:#1C211E;border:1.5px solid #1C211E;padding:3px 9px}
.eko-flag.label .stem,.eko-flag.label .dot{background:#1C211E}
.eko-flag.drag{pointer-events:auto;cursor:grab}

@media(max-width:600px){
  .eko-card{width:140px}
  .eko-photo{height:62px}
  .eko-text{padding:6px 9px 8px}
  .eko-text span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
