/* Forest Frontier v0.12.8 — painted-road chapter map alignment. */
body.theme-ashen.screen-map-active #screenMap .path-chapter-canvas{
  /* The route coordinate system now matches the full chapter art exactly. */
  background-size:100% 100%!important;
  background-position:center!important;
}

/* The medallion is the actual road anchor; the plaque is a connected callout. */
body.theme-ashen.screen-map-active #screenMap button.path-map-node .path-node-anchor{
  z-index:5!important;
}
body.theme-ashen.screen-map-active #screenMap button.path-map-node .path-node-label{
  min-width:84px!important;
  max-width:116px!important;
  padding:5px 8px!important;
  z-index:3!important;
}
body.theme-ashen.screen-map-active #screenMap button.path-map-node.side-right .path-node-label{
  left:calc(50% + 24px)!important;
  padding-left:9px!important;
  border-radius:9px 12px 12px 9px!important;
}
body.theme-ashen.screen-map-active #screenMap button.path-map-node.side-left .path-node-label{
  right:calc(50% + 24px)!important;
  padding-right:9px!important;
  border-radius:12px 9px 9px 12px!important;
}
body.theme-ashen.screen-map-active #screenMap button.path-map-node .path-node-connector{
  width:var(--path-connector-length,30px)!important;
  height:2px!important;
  opacity:.88!important;
  z-index:2!important;
}
body.theme-ashen.screen-map-active #screenMap button.path-map-node.current .path-node-connector,
body.theme-ashen.screen-map-active #screenMap button.path-map-node.selected .path-node-connector{
  opacity:1!important;
}

/* Painted road is primary; progress line reinforces it without becoming a second road. */
body.theme-ashen.screen-map-active #screenMap .path-map-edges .path-route{
  stroke-width:.52!important;
  opacity:.72!important;
}
body.theme-ashen.screen-map-active #screenMap .path-map-edges .path-route.state-active{
  stroke-width:.96!important;
  opacity:.94!important;
}
body.theme-ashen.screen-map-active #screenMap .path-map-edges .path-route.ruins-link{
  stroke-width:.64!important;
  opacity:.72!important;
}

@media(max-width:390px){
  body.theme-ashen.screen-map-active #screenMap button.path-map-node .path-node-label{
    min-width:76px!important;
    max-width:104px!important;
    padding-top:4px!important;
    padding-bottom:4px!important;
  }
  body.theme-ashen.screen-map-active #screenMap button.path-map-node.side-right .path-node-label{left:calc(50% + 22px)!important}
  body.theme-ashen.screen-map-active #screenMap button.path-map-node.side-left .path-node-label{right:calc(50% + 22px)!important}
}
