{
  "version": 8,
  "name": "Tropa Pro Outdoor",
  "metadata": {
    "mapbox:autocomposite": false,
    "mapbox:type": "template",
    "maputnik:renderer": "mbgljs",
    "openmaptiles:version": "3.x",
    "openmaptiles:mapbox:owner": "openmaptiles",
    "openmaptiles:mapbox:source:url": "mapbox://openmaptiles.4qljc88t"
  },
  "sources": {
    "openmaptiles": {
      "type": "vector",
      "tiles": ["https://trailtrack.ru/tiles/planet/{z}/{x}/{y}.mvt"],
      "minzoom": 0,
      "maxzoom": 14
    },
    "tropa-contours": {
      "type": "vector",
      "tiles": ["https://trailtrack.ru/tiles-cache/contours/{z}/{x}/{y}.pbf"],
      "minzoom": 9,
      "maxzoom": 14
    }
  },
  "sprite": "https://trailtrack.ru/static/sprites/sprite",
  "glyphs": "https://trailtrack.ru/static/fonts/{fontstack}/{range}.pbf",
  "layers": [
    {
      "id": "background",
      "type": "background",
      "paint": {"background-color": "#edf0df"}
    },
    {
      "id": "landuse-residential",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landuse",
      "filter": [
        "all",
        ["==", "$type", "Polygon"],
        ["in", "class", "residential", "suburb", "neighbourhood"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {"fill-color": "#E6E6E6", "fill-opacity": 0.7}
    },
    {
      "id": "landcover_grass",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landcover",
      "filter": ["==", "class", "grass"],
      "paint": {
        "fill-color": "#E0E0B4",
        "fill-opacity": 0.45,
        "fill-outline-color": "rgba(173, 173, 131, 1)"
      }
    },
    {
      "id": "landcover_wood",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landcover",
      "minzoom": 0,
      "filter": ["in", "class", "wood", "forest"],
      "paint": {
        "fill-opacity": {"base": 1, "stops": [[0, 0.32], [5, 0.46], [8, 0.62], [12, 0.92]]},
        "fill-color": "#C4D69A",
        "fill-outline-color": "rgba(153, 170, 110, 1)"
      }
    },
    {
      "id": "tropa-wetland-fill",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landcover",
      "filter": ["==", "class", "wetland"],
      "paint": {"fill-color": "#aed1c9", "fill-opacity": 0.5}
    },
    {
      "id": "tropa-wetland-pattern",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landcover",
      "filter": ["==", "class", "wetland"],
      "paint": {
        "fill-opacity": 1,
        "fill-antialias": false,
        "fill-color": "rgba(214, 235, 213, 1)",
        "fill-outline-color": "rgba(10, 10, 10, 1)"
      }
    },
    {
      "id": "tropa-wetland-border",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "landcover",
      "filter": ["==", "class", "wetland"],
      "paint": {
        "line-color": "#5c9688",
        "line-width": ["interpolate", ["linear"], ["zoom"], 10, 0.5, 15, 1.5],
        "line-dasharray": [3, 2],
        "line-opacity": 0.8
      }
    },
    {
      "id": "tropa-bare-rock",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landcover",
      "filter": ["in", "class", "bare_rock", "scree", "shingle"],
      "paint": {"fill-color": "#dcdad6", "fill-opacity": 0.8}
    },
    {
      "id": "tropa-national-parks-fill",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "park",
      "filter": [
        "any",
        ["==", "class", "national_park"],
        ["==", "class", "protected_area"]
      ],
      "paint": {"fill-color": "#A5C478", "fill-opacity": 0.4}
    },
    {
      "id": "tropa-national-parks-border",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "park",
      "filter": [
        "any",
        ["==", "class", "national_park"],
        ["==", "class", "protected_area"]
      ],
      "paint": {
        "line-color": "#4CAF50",
        "line-width": ["interpolate", ["linear"], ["zoom"], 5, 1, 15, 3],
        "line-dasharray": [3, 3]
      }
    },
    {
      "id": "water",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "water",
      "filter": [
        "all",
        ["==", "$type", "Polygon"],
        ["!=", "intermittent", 1],
        ["!=", "brunnel", "tunnel"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {"fill-color": "#96C8DB", "fill-opacity": 1}
    },
    {
      "id": "water_intermittent",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "water",
      "filter": ["all", ["==", "$type", "Polygon"], ["==", "intermittent", 1]],
      "layout": {"visibility": "visible"},
      "paint": {"fill-color": "hsl(205, 56%, 73%)", "fill-opacity": 0.7}
    },
    {
      "id": "landcover-ice-shelf",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landcover",
      "filter": ["==", "subclass", "ice_shelf"],
      "layout": {"visibility": "visible"},
      "paint": {"fill-color": "hsl(47, 26%, 88%)", "fill-opacity": 0.8}
    },
    {
      "id": "landcover-glacier",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landcover",
      "filter": ["==", "subclass", "glacier"],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "hsl(47, 22%, 94%)",
        "fill-opacity": {"base": 1, "stops": [[0, 1], [8, 0.5]]}
      }
    },
    {
      "id": "landcover_sand",
      "type": "fill",
      "metadata": {},
      "source": "openmaptiles",
      "source-layer": "landcover",
      "filter": ["all", ["in", "class", "sand"]],
      "paint": {
        "fill-antialias": false,
        "fill-opacity": 0.3,
        "fill-color": "rgba(241, 180, 0, 1)"
      }
    },
    {
      "id": "landuse",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landuse",
      "filter": ["==", "class", "agriculture"],
      "layout": {"visibility": "visible"},
      "paint": {"fill-color": "#eae0d0"}
    },
    {
      "id": "landuse_overlay_national_park",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landcover",
      "filter": ["==", "class", "national_park"],
      "paint": {
        "fill-color": "#E1EBB0",
        "fill-opacity": {"base": 1, "stops": [[0, 0.18], [5, 0.28], [9, 0.68]]}
      }
    },
    {
      "id": "tropa-military-fill",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landuse",
      "filter": [
        "all",
        ["==", "$type", "Polygon"],
        ["==", "class", "military"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "#d94a4a",
        "fill-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          5,
          0.1,
          11,
          0.16,
          15,
          0.22
        ]
      }
    },
    {
      "id": "tropa-military-border",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "landuse",
      "filter": [
        "all",
        ["==", "$type", "Polygon"],
        ["==", "class", "military"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#b91c1c",
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          5,
          1.2,
          11,
          2,
          15,
          3.2
        ],
        "line-opacity": 0.68,
        "line-dasharray": [2, 1.2]
      }
    },
    {
      "id": "tropa-private-territory-fill",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landuse",
      "minzoom": 12,
      "filter": [
        "all",
        ["==", "$type", "Polygon"],
        [
          "any",
          ["==", "class", "private"],
          ["==", "subclass", "private"],
          ["==", "access", "private"],
          ["==", "ownership", "private"],
          ["==", "operator:type", "private"]
        ]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "#d8b57b",
        "fill-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          12,
          0.05,
          14,
          0.08,
          16,
          0.12
        ]
      }
    },
    {
      "id": "tropa-private-territory-border",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "landuse",
      "minzoom": 12,
      "filter": [
        "all",
        ["==", "$type", "Polygon"],
        [
          "any",
          ["==", "class", "private"],
          ["==", "subclass", "private"],
          ["==", "access", "private"],
          ["==", "ownership", "private"],
          ["==", "operator:type", "private"]
        ]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#b78a5f",
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          12,
          0.45,
          14,
          0.8,
          16,
          1.25
        ],
        "line-opacity": 0.42,
        "line-dasharray": [2, 2.4]
      }
    },
    {
      "id": "waterway-tunnel",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "waterway",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "brunnel", "tunnel"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-color": "hsl(205, 56%, 73%)",
        "line-dasharray": [3, 3],
        "line-gap-width": {"stops": [[12, 0], [20, 6]]},
        "line-opacity": 1,
        "line-width": {"base": 1.4, "stops": [[8, 1], [20, 2]]}
      }
    },
    {
      "id": "waterway",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "waterway",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["!in", "brunnel", "tunnel", "bridge"],
        ["!=", "intermittent", 1]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-color": "hsl(205, 56%, 73%)",
        "line-opacity": 1,
        "line-width": {"base": 1.4, "stops": [[8, 1], [20, 8]]}
      }
    },
    {
      "id": "waterway_intermittent",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "waterway",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["!in", "brunnel", "tunnel", "bridge"],
        ["==", "intermittent", 1]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-color": "hsl(205, 56%, 73%)",
        "line-dasharray": [2, 1],
        "line-opacity": 1,
        "line-width": {"base": 1.4, "stops": [[8, 1], [20, 8]]}
      }
    },
    {
      "id": "tunnel_railway_transit",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 0,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "brunnel", "tunnel"],
        ["==", "class", "transit"]
      ],
      "layout": {"line-cap": "butt", "line-join": "miter"},
      "paint": {
        "line-color": "hsl(34, 12%, 66%)",
        "line-dasharray": [3, 3],
        "line-opacity": {"base": 1, "stops": [[11, 0], [16, 1]]}
      }
    },
    {
      "id": "building",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "building",
      "paint": {
        "fill-antialias": true,
        "fill-color": "#DBDBDB",
        "fill-opacity": {"base": 1, "stops": [[13, 0], [15, 1]]},
        "fill-outline-color": {
          "stops": [[15, "rgba(55, 44, 34, 0)"], [16, "rgba(61, 47, 35, 0.5)"]]
        }
      }
    },
    {
      "id": "tropa-contour-lines",
      "type": "line",
      "source": "tropa-contours",
      "source-layer": "contour",
      "minzoom": 10,
      "filter": ["==", "$type", "LineString"],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": [
          "case",
          [">=", ["to-number", ["get", "nth_line"], 0], 5],
          "rgba(92, 64, 38, 0.92)",
          "rgba(124, 94, 59, 0.66)"
        ],
        "line-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          10,
          0.48,
          13,
          0.62,
          16,
          0.74
        ],
        "line-width": [
          "interpolate",
          ["linear"],
          ["zoom"],
          10,
          ["case", [">=", ["to-number", ["get", "nth_line"], 0], 5], 0.7, 0.34],
          13,
          ["case", [">=", ["to-number", ["get", "nth_line"], 0], 5], 1.1, 0.56],
          16,
          ["case", [">=", ["to-number", ["get", "nth_line"], 0], 5], 1.6, 0.82]
        ]
      }
    },
    {
      "id": "housenumber",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "housenumber",
      "minzoom": 17,
      "filter": ["==", "$type", "Point"],
      "layout": {
        "text-field": "{housenumber}",
        "text-font": ["Noto Sans Regular"],
        "text-size": 10
      },
      "paint": {"text-color": "rgba(18, 17, 16, 1)"}
    },
    {
      "id": "road_area_pier",
      "type": "fill",
      "metadata": {},
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": ["all", ["==", "$type", "Polygon"], ["==", "class", "pier"]],
      "layout": {"visibility": "visible"},
      "paint": {"fill-antialias": true, "fill-color": "hsl(47, 26%, 88%)"}
    },
    {
      "id": "road_pier",
      "type": "line",
      "metadata": {},
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": ["all", ["==", "$type", "LineString"], ["in", "class", "pier"]],
      "layout": {"line-cap": "round", "line-join": "round"},
      "paint": {
        "line-color": "hsl(47, 26%, 88%)",
        "line-width": {"base": 1.2, "stops": [[15, 1], [17, 4]]}
      }
    },
    {
      "id": "road_bridge_area",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "all",
        ["==", "$type", "Polygon"],
        ["in", "brunnel", "bridge"]
      ],
      "layout": {},
      "paint": {"fill-color": "hsl(47, 26%, 88%)", "fill-opacity": 0.5}
    },
    {
      "id": "tropa-power-lines",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 13,
      "filter": ["any", ["==", "class", "power"], ["==", "class", "line"]],
      "paint": {
        "line-color": "#8f8f8f",
        "line-width": 0.8,
        "line-dasharray": [10, 4]
      }
    },
    {
      "id": "tropa-tracks-overview",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 4,
      "maxzoom": 13.4,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "track"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": [
          "match",
          ["get", "tracktype"],
          "grade1",
          "#c58a3a",
          "grade2",
          "#d97706",
          "grade3",
          "#b45309",
          "grade4",
          "#92400e",
          "grade5",
          "#6b3410",
          "#7c3f16"
        ],
        "line-width": ["interpolate", ["linear"], ["zoom"], 4, 0.45, 7, 0.75, 10, 1.2, 12, 1.7, 13.4, 2],
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 4, 0.42, 7, 0.56, 10, 0.66, 12, 0.78, 13.4, 0.84]
      }
    },
    {
      "id": "tropa-paths-overview",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 5.5,
      "maxzoom": 13.4,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "path"],
        ["!=", "subclass", "cycleway"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": [
          "match",
          ["get", "trail_visibility"],
          "excellent",
          "#9a6a3a",
          "good",
          "#9a6a3a",
          "intermediate",
          "#b85f1f",
          "bad",
          "#c2410c",
          "horrible",
          "#7c2d12",
          "no",
          "#7c2d12",
          "#8f5f3a"
        ],
        "line-width": ["interpolate", ["linear"], ["zoom"], 5.5, 0.28, 8, 0.5, 10, 0.78, 12, 1.12, 13.4, 1.35],
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 5.5, 0.24, 8, 0.38, 10, 0.52, 12, 0.66, 13.4, 0.74]
      }
    },
    {
      "id": "tropa-outdoor-minor-overview",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 9.8,
      "maxzoom": 13.2,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["in", "class", "minor", "service", "minor_road"],
        ["!in", "brunnel", "tunnel"],
        [
          "any",
          ["!has", "ref"],
          ["==", "ref", ""]
        ],
        [
          "any",
          ["!has", "name"],
          ["==", "name", ""],
          ["in", "surface", "gravel", "fine_gravel", "compacted", "ground", "dirt", "earth", "grass", "mud", "sand"],
          ["in", "tracktype", "grade1", "grade2", "grade3", "grade4", "grade5"],
          ["in", "subclass", "track", "path", "service", "footway", "unclassified"]
        ]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#7a4a22",
        "line-width": ["interpolate", ["linear"], ["zoom"], 9.8, 0.45, 11, 0.75, 12.5, 1.12, 13.2, 1.3],
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 9.8, 0.32, 11, 0.48, 12.5, 0.62, 13.2, 0.66],
        "line-blur": ["interpolate", ["linear"], ["zoom"], 9.8, 0.15, 12, 0.08, 13.2, 0]
      }
    },
    {
      "id": "tropa-dirt-tracks-grade1",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 10.5,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "track"],
        ["==", "tracktype", "grade1"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#c58a3a",
        "line-width": {
          "base": 1.5,
          "stops": [[7, 1], [12, 2.2], [16, 3.8], [20, 9.5]]
        },
        "line-opacity": 0.95
      }
    },
    {
      "id": "tropa-dirt-tracks-grade2",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 10.5,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "track"],
        ["==", "tracktype", "grade2"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#d97706",
        "line-dasharray": [5, 1.5],
        "line-width": {
          "base": 1.5,
          "stops": [[7, 1], [12, 2.2], [16, 3.8], [20, 9]]
        },
        "line-opacity": 0.94
      }
    },
    {
      "id": "tropa-dirt-tracks-grade3",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 10.8,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "track"],
        ["==", "tracktype", "grade3"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#b45309",
        "line-dasharray": [3.5, 1.8],
        "line-width": {
          "base": 1.5,
          "stops": [[7, 0.95], [12, 2], [16, 3.5], [20, 8.4]]
        },
        "line-opacity": 0.92
      }
    },
    {
      "id": "tropa-dirt-tracks-grade4",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 11,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "track"],
        ["==", "tracktype", "grade4"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#92400e",
        "line-dasharray": [2, 2],
        "line-width": {
          "base": 1.5,
          "stops": [[7, 0.9], [12, 1.8], [16, 3.2], [20, 7.8]]
        },
        "line-opacity": 0.9
      }
    },
    {
      "id": "tropa-dirt-tracks-grade5",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 11.2,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "track"],
        ["==", "tracktype", "grade5"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#6b3410",
        "line-dasharray": [1, 2.3],
        "line-width": {
          "base": 1.5,
          "stops": [[7, 0.85], [12, 1.6], [16, 2.8], [20, 7]]
        },
        "line-opacity": 0.88
      }
    },
    {
      "id": "tropa-dirt-tracks-default",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 10.5,
      "maxzoom": 24,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "track"],
        ["!in", "tracktype", "grade1", "grade2", "grade3", "grade4", "grade5"]
      ],
      "layout": {
        "line-cap": "butt",
        "line-join": "round",
        "visibility": "visible",
        "line-miter-limit": 1,
        "line-round-limit": 1
      },
      "paint": {
        "line-color": "#7c3f16",
        "line-dasharray": [2.4, 1.2],
        "line-width": {
          "base": 1,
          "stops": [[7, 0.85], [10, 1.25], [12, 1.7], [16, 3.8], [20, 10]]
        },
        "line-opacity": 0.86
      }
    },
    {
      "id": "tropa-cycleways",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 11,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["any", ["==", "class", "cycleway"], ["==", "subclass", "cycleway"]]
      ],
      "layout": {
        "line-cap": "square",
        "line-join": "miter",
        "visibility": "visible",
        "line-round-limit": 1,
        "line-miter-limit": 3
      },
      "paint": {
        "line-color": "#1d4ed8",
        "line-dasharray": [2, 1.5],
        "line-width": {
          "base": 1.2,
          "stops": [[8, 1], [10, 1.7], [14, 3], [20, 7]]
        },
        "line-opacity": 0.9
      }
    },
    {
      "id": "tropa-paths-excellent",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 10.5,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "path"],
        ["!=", "subclass", "cycleway"],
        ["in", "trail_visibility", "excellent", "good"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#8b5e34",
        "line-dasharray": [5, 1.1],
        "line-width": {
          "base": 1.2,
          "stops": [[6, 0.75], [10, 1.35], [14, 2.25], [20, 5]]
        },
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 6, 0.58, 12, 0.78, 16, 0.94]
      }
    },
    {
      "id": "tropa-paths-intermediate",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 11,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "path"],
        ["!=", "subclass", "cycleway"],
        ["==", "trail_visibility", "intermediate"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#b85f1f",
        "line-dasharray": [3, 1.8],
        "line-width": {
          "base": 1.2,
          "stops": [[9, 0.7], [12, 1.3], [16, 2.25], [20, 4.6]]
        },
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 9, 0.56, 12, 0.74, 16, 0.9]
      }
    },
    {
      "id": "tropa-paths-bad",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 11.5,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "path"],
        ["!=", "subclass", "cycleway"],
        ["in", "trail_visibility", "bad"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#c2410c",
        "line-dasharray": [1.4, 2.1],
        "line-width": {"base": 1.2, "stops": [[11, 0.65], [14, 1.25], [20, 3.8]]},
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 11, 0.54, 14, 0.72, 17, 0.9]
      }
    },
    {
      "id": "tropa-paths-horrible",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 12,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "path"],
        ["!=", "subclass", "cycleway"],
        ["in", "trail_visibility", "horrible", "no"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#7c2d12",
        "line-dasharray": [0.9, 2.6],
        "line-width": {"base": 1.2, "stops": [[12, 0.55], [16, 1.15], [20, 3.2]]},
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 12, 0.48, 16, 0.74]
      }
    },
    {
      "id": "tropa-city-footways",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 12,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["in", "class", "pedestrian", "footway"],
        ["!=", "subclass", "cycleway"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#c27a62",
        "line-dasharray": [1.2, 2.2],
        "line-width": {"base": 1.2, "stops": [[12, 0.35], [16, 0.85], [20, 2.35]]},
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 12, 0.24, 15, 0.38, 18, 0.56]
      }
    },
    {
      "id": "tropa-paths-default",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 10.8,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "path"],
        ["!=", "subclass", "cycleway"],
        [
          "!in",
          "trail_visibility",
          "excellent",
          "good",
          "intermediate",
          "bad",
          "horrible",
          "no"
        ]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "#8f5f3a",
        "line-dasharray": [3.6, 1.7],
        "line-width": {"base": 3, "stops": [[10, 0.75], [14, 1.35], [20, 4.2]]},
        "line-opacity": ["interpolate", ["linear"], ["zoom"], 10, 0.54, 14, 0.74, 17, 0.9]
      }
    },
    {
      "id": "road_minor_case",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 12,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["in", "class", "minor", "service"]
      ],
      "layout": {"line-cap": "round", "line-join": "round"},
      "paint": {
        "line-color": "#d7d3ca",
        "line-width": {"base": 1.55, "stops": [[12, 1.1], [16, 4.8], [20, 17]]},
        "line-opacity": 0.95
      }
    },
    {
      "id": "road_minor",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 13,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["in", "class", "minor", "service"]
      ],
      "layout": {"line-cap": "round", "line-join": "round"},
      "paint": {
        "line-color": "#ffffff",
        "line-width": {"base": 1.55, "stops": [[11, 0.5], [20, 15]]}
      }
    },
    {
      "id": "tunnel_minor",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "brunnel", "tunnel"],
        ["==", "class", "minor_road"]
      ],
      "layout": {"line-cap": "butt", "line-join": "miter"},
      "paint": {
        "line-color": "#efefef",
        "line-dasharray": [0.36, 0.18],
        "line-width": {"base": 1.55, "stops": [[4, 0.25], [20, 30]]}
      }
    },
    {
      "id": "tunnel_major",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "brunnel", "tunnel"],
        ["in", "class", "primary", "secondary", "tertiary", "trunk"]
      ],
      "layout": {"line-cap": "butt", "line-join": "miter"},
      "paint": {
        "line-color": "#fff",
        "line-dasharray": [0.28, 0.14],
        "line-width": {"base": 1.4, "stops": [[6, 0.5], [20, 30]]}
      }
    },
    {
      "id": "aeroway-area",
      "type": "fill",
      "metadata": {"mapbox:group": "1444849345966.4436"},
      "source": "openmaptiles",
      "source-layer": "aeroway",
      "minzoom": 4,
      "filter": [
        "all",
        ["==", "$type", "Polygon"],
        ["in", "class", "runway", "taxiway"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "fill-color": "rgba(255, 255, 255, 1)",
        "fill-opacity": {"base": 1, "stops": [[13, 0], [14, 1]]}
      }
    },
    {
      "id": "aeroway-taxiway",
      "type": "line",
      "metadata": {"mapbox:group": "1444849345966.4436"},
      "source": "openmaptiles",
      "source-layer": "aeroway",
      "minzoom": 12,
      "filter": [
        "all",
        ["in", "class", "taxiway"],
        ["==", "$type", "LineString"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "rgba(255, 255, 255, 1)",
        "line-opacity": 1,
        "line-width": {"base": 1.5, "stops": [[12, 1], [17, 10]]}
      }
    },
    {
      "id": "aeroway-runway",
      "type": "line",
      "metadata": {"mapbox:group": "1444849345966.4436"},
      "source": "openmaptiles",
      "source-layer": "aeroway",
      "minzoom": 4,
      "filter": [
        "all",
        ["in", "class", "runway"],
        ["==", "$type", "LineString"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "rgba(255, 255, 255, 1)",
        "line-opacity": 1,
        "line-width": {"base": 1.5, "stops": [[11, 4], [17, 50]]}
      }
    },
    {
      "id": "road_major_case",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["in", "class", "motorway", "trunk", "primary", "secondary", "tertiary"]
      ],
      "layout": {"line-cap": "round", "line-join": "round"},
      "paint": {
        "line-color": "#cfc8bc",
        "line-width": {"base": 1.45, "stops": [[6, 0.9], [12, 2.2], [16, 8.5], [20, 33]]},
        "line-opacity": 0.9
      }
    },
    {
      "id": "road_trunk_primary",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["in", "class", "trunk", "primary"]
      ],
      "layout": {"line-cap": "round", "line-join": "round"},
      "paint": {
        "line-color": "#f3c57d",
        "line-width": {"base": 1.4, "stops": [[6, 0.5], [20, 30]]}
      }
    },
    {
      "id": "road_secondary_tertiary",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["in", "class", "secondary", "tertiary"]
      ],
      "layout": {"line-cap": "round", "line-join": "round"},
      "paint": {
        "line-color": "#fffdf6",
        "line-width": {"base": 1.4, "stops": [[6, 0.5], [20, 20]]}
      }
    },
    {
      "id": "road_major_motorway",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "motorway"]
      ],
      "layout": {"line-cap": "round", "line-join": "round"},
      "paint": {
        "line-color": "#f0b66f",
        "line-width": {"base": 1.4, "stops": [[8, 1], [16, 10]]}
      }
    },
    {
      "id": "railway-transit",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "all",
        ["==", "class", "transit"],
        ["!=", "brunnel", "tunnel"]
      ],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-color": "hsl(34, 12%, 66%)",
        "line-opacity": {"base": 1, "stops": [[11, 0], [16, 1]]}
      }
    },
    {
      "id": "railway",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": ["==", "class", "rail"],
      "layout": {"visibility": "visible"},
      "paint": {
        "line-color": "hsl(34, 12%, 66%)",
        "line-opacity": {"base": 1, "stops": [[11, 0], [16, 1]]}
      }
    },
    {
      "id": "waterway-bridge-case",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "waterway",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "brunnel", "bridge"]
      ],
      "layout": {"line-cap": "butt", "line-join": "miter"},
      "paint": {
        "line-color": "#bbbbbb",
        "line-gap-width": {"base": 1.55, "stops": [[4, 0.25], [20, 30]]},
        "line-width": {"base": 1.6, "stops": [[12, 0.5], [20, 10]]}
      }
    },
    {
      "id": "waterway-bridge",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "waterway",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "brunnel", "bridge"]
      ],
      "layout": {"line-cap": "round", "line-join": "round"},
      "paint": {
        "line-color": "hsl(205, 56%, 73%)",
        "line-width": {"base": 1.55, "stops": [[4, 0.25], [20, 30]]}
      }
    },
    {
      "id": "bridge_minor case",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "brunnel", "bridge"],
        ["==", "class", "minor_road"]
      ],
      "layout": {"line-cap": "butt", "line-join": "miter"},
      "paint": {
        "line-color": "#dedede",
        "line-gap-width": {"base": 1.55, "stops": [[4, 0.25], [20, 30]]},
        "line-width": {"base": 1.6, "stops": [[12, 0.5], [20, 10]]}
      }
    },
    {
      "id": "bridge_major case",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "brunnel", "bridge"],
        ["in", "class", "primary", "secondary", "tertiary", "trunk"]
      ],
      "layout": {"line-cap": "butt", "line-join": "miter"},
      "paint": {
        "line-color": "#dedede",
        "line-gap-width": {"base": 1.55, "stops": [[4, 0.25], [20, 30]]},
        "line-width": {"base": 1.6, "stops": [[12, 0.5], [20, 10]]}
      }
    },
    {
      "id": "bridge_minor",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "brunnel", "bridge"],
        ["==", "class", "minor_road"]
      ],
      "layout": {"line-cap": "round", "line-join": "round"},
      "paint": {
        "line-color": "#efefef",
        "line-width": {"base": 1.55, "stops": [[4, 0.25], [20, 30]]}
      }
    },
    {
      "id": "bridge_major",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "brunnel", "bridge"],
        ["in", "class", "primary", "secondary", "tertiary", "trunk"]
      ],
      "layout": {"line-cap": "round", "line-join": "round"},
      "paint": {
        "line-color": "#fff",
        "line-width": {"base": 1.4, "stops": [[6, 0.5], [20, 30]]}
      }
    },
    {
      "id": "tropa-sac-mountain-hiking",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 12,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "path"],
        ["in", "sac_scale", "mountain_hiking", "demanding_mountain_hiking"]
      ],
      "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"},
      "paint": {
        "line-color": "#d97706",
        "line-width": ["interpolate", ["linear"], ["zoom"], 11, 0.8, 14, 1.45, 17, 2.45],
        "line-dasharray": [1.4, 1.5],
        "line-opacity": 0.76
      }
    },
    {
      "id": "tropa-sac-alpine-hiking",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 12.2,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["==", "class", "path"],
        ["in", "sac_scale", "alpine_hiking", "demanding_alpine_hiking", "difficult_alpine_hiking"]
      ],
      "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"},
      "paint": {
        "line-color": "#b91c1c",
        "line-width": ["interpolate", ["linear"], ["zoom"], 12, 0.9, 14, 1.6, 17, 2.8],
        "line-dasharray": [0.9, 1.6],
        "line-opacity": 0.82
      }
    },
    {
      "id": "tropa-surface-asphalt",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 13,
      "filter": ["all", ["==", "$type", "LineString"], ["in", "class", "path", "track", "cycleway"], ["in", "surface", "asphalt", "concrete"]],
      "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"},
      "paint": {
        "line-color": "#64748b",
        "line-width": ["interpolate", ["linear"], ["zoom"], 12, 0.45, 15, 0.9, 18, 1.7],
        "line-opacity": 0.24
      }
    },
    {
      "id": "tropa-surface-gravel",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 13,
      "filter": ["all", ["==", "$type", "LineString"], ["in", "class", "path", "track", "cycleway"], ["in", "surface", "gravel", "fine_gravel", "pebblestone", "compacted"]],
      "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"},
      "paint": {
        "line-color": "#d97706",
        "line-width": ["interpolate", ["linear"], ["zoom"], 12, 1, 15, 1.7, 18, 3.1],
        "line-dasharray": [1.2, 1],
        "line-opacity": 0.72
      }
    },
    {
      "id": "tropa-surface-ground",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 13,
      "filter": ["all", ["==", "$type", "LineString"], ["in", "class", "path", "track", "cycleway"], ["in", "surface", "ground", "dirt", "earth", "grass", "mud"]],
      "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"},
      "paint": {
        "line-color": "#a16207",
        "line-width": ["interpolate", ["linear"], ["zoom"], 12, 1, 15, 1.8, 18, 3.3],
        "line-dasharray": [2.4, 1.2],
        "line-opacity": 0.7
      }
    },
    {
      "id": "tropa-surface-sand",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 13,
      "filter": ["all", ["==", "$type", "LineString"], ["in", "class", "path", "track", "cycleway"], ["in", "surface", "sand"]],
      "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"},
      "paint": {
        "line-color": "#facc15",
        "line-width": ["interpolate", ["linear"], ["zoom"], 12, 1.1, 15, 1.9, 18, 3.4],
        "line-dasharray": [0.8, 1.2],
        "line-opacity": 0.78
      }
    },
    {
      "id": "tropa-surface-paving-stones",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 13,
      "filter": ["all", ["==", "$type", "LineString"], ["in", "class", "path", "track", "cycleway"], ["in", "surface", "paving_stones", "sett", "cobblestone"]],
      "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"},
      "paint": {
        "line-color": "#475569",
        "line-width": ["interpolate", ["linear"], ["zoom"], 13, 1, 15, 1.65, 18, 3],
        "line-dasharray": [0.5, 1.1],
        "line-opacity": 0.72
      }
    },
    {
      "id": "tropa-access-restricted",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 12,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["in", "class", "path", "track", "cycleway"],
        [
          "any",
          ["in", "access", "private", "no"],
          ["==", "subclass", "private"]
        ]
      ],
      "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"},
      "paint": {
        "line-color": "#8b6f67",
        "line-width": ["interpolate", ["linear"], ["zoom"], 12, 0.7, 15, 1.2, 18, 2],
        "line-dasharray": [1, 1.9],
        "line-opacity": 0.58
      }
    },
    {
      "id": "tropa-access-destination",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 12,
      "filter": ["all", ["==", "$type", "LineString"], ["in", "class", "path", "track", "cycleway"], ["==", "access", "destination"]],
      "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"},
      "paint": {
        "line-color": "#b7834d",
        "line-width": ["interpolate", ["linear"], ["zoom"], 12, 0.6, 15, 1, 18, 1.8],
        "line-dasharray": [2, 2],
        "line-opacity": 0.46
      }
    },
    {
      "id": "tropa-barriers-lines",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 14,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        [
          "any",
          ["in", "class", "fence", "wall", "barrier"],
          ["in", "subclass", "fence", "wall", "barrier", "hedge"]
        ]
      ],
      "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"},
      "paint": {
        "line-color": "#44403c",
        "line-width": ["interpolate", ["linear"], ["zoom"], 14, 0.7, 17, 1.2],
        "line-dasharray": [2, 1.5],
        "line-opacity": 0.75
      }
    },
    {
      "id": "tropa-fords-transportation",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 13,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["any", ["==", "ford", "yes"], ["==", "ford", 1]]
      ],
      "layout": {"line-cap": "round", "line-join": "round", "visibility": "visible"},
      "paint": {
        "line-color": "#0284c7",
        "line-width": ["interpolate", ["linear"], ["zoom"], 13, 2, 16, 4],
        "line-dasharray": [1, 1],
        "line-opacity": 0.8
      }
    },
    {
      "id": "tropa-cliffs",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 12,
      "filter": [
        "all",
        ["==", "$type", "LineString"],
        ["any", ["==", "class", "cliff"], ["==", "subclass", "cliff"]]
      ],
      "layout": {"line-cap": "butt", "line-join": "round", "visibility": "visible"},
      "paint": {
        "line-color": "#7c2d12",
        "line-width": ["interpolate", ["linear"], ["zoom"], 12, 1, 16, 2],
        "line-dasharray": [3, 1],
        "line-opacity": 0.86
      }
    },
    {
      "id": "tropa-gates",
      "type": "circle",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 13,
      "filter": [
        "all",
        ["==", "$type", "Point"],
        [
          "any",
          ["in", "class", "gate", "entrance", "swing_gate", "kissing_gate", "wicket_gate"],
          ["in", "subclass", "gate", "entrance", "swing_gate", "kissing_gate", "wicket_gate"],
          ["in", "barrier", "gate", "swing_gate", "kissing_gate", "wicket_gate"]
        ]
      ],
      "paint": {
        "circle-radius": ["interpolate", ["linear"], ["zoom"], 13, 2.6, 15, 3.4, 18, 5.4],
        "circle-color": "#ffffff",
        "circle-stroke-color": "#16a34a",
        "circle-stroke-width": 2,
        "circle-opacity": 0.95
      }
    },
    {
      "id": "tropa-lift-gates",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "transportation",
      "minzoom": 13,
      "filter": [
        "all",
        ["==", "$type", "Point"],
        [
          "any",
          ["in", "class", "lift_gate", "barrier", "bollard", "block", "chain", "cycle_barrier"],
          ["in", "subclass", "lift_gate", "barrier", "bollard", "block", "chain", "cycle_barrier"],
          ["in", "barrier", "lift_gate", "bollard", "block", "chain", "cycle_barrier"],
          ["has", "lift_gate:type"]
        ]
      ],
      "layout": {
        "text-field": "×",
        "text-font": ["Noto Sans Bold"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 13, 10, 15, 12, 18, 16],
        "text-allow-overlap": true,
        "text-ignore-placement": false
      },
      "paint": {
        "text-color": "#dc2626",
        "text-halo-color": "#ffffff",
        "text-halo-width": 2
      }
    },
    {
      "id": "tropa-gates-points",
      "type": "circle",
      "source": "openmaptiles",
      "source-layer": "poi",
      "minzoom": 13,
      "filter": [
        "all",
        ["==", "$type", "Point"],
        [
          "any",
          ["in", "class", "gate", "entrance", "swing_gate", "kissing_gate", "wicket_gate"],
          ["in", "subclass", "gate", "entrance", "swing_gate", "kissing_gate", "wicket_gate"],
          ["in", "barrier", "gate", "swing_gate", "kissing_gate", "wicket_gate"]
        ]
      ],
      "paint": {
        "circle-radius": ["interpolate", ["linear"], ["zoom"], 13, 2.6, 14, 3.2, 18, 5.4],
        "circle-color": "#ffffff",
        "circle-stroke-color": "#16a34a",
        "circle-stroke-width": ["interpolate", ["linear"], ["zoom"], 14, 1.6, 17, 2.2],
        "circle-opacity": 0.98
      }
    },
    {
      "id": "tropa-lift-gates-points",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "poi",
      "minzoom": 13,
      "filter": [
        "all",
        ["==", "$type", "Point"],
        [
          "any",
          ["in", "class", "lift_gate", "barrier", "bollard", "block", "chain", "cycle_barrier"],
          ["in", "subclass", "lift_gate", "barrier", "bollard", "block", "chain", "cycle_barrier"],
          ["in", "barrier", "lift_gate", "bollard", "block", "chain", "cycle_barrier"],
          ["has", "lift_gate:type"]
        ],
        ["!in", "barrier", "gate", "swing_gate", "kissing_gate", "wicket_gate"]
      ],
      "layout": {
        "text-field": "×",
        "text-font": ["Noto Sans Bold"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 13, 10, 14, 12, 18, 17],
        "text-allow-overlap": true,
        "text-ignore-placement": false
      },
      "paint": {
        "text-color": "#dc2626",
        "text-halo-color": "#ffffff",
        "text-halo-width": 2
      }
    },
    {
      "id": "admin_sub",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "boundary",
      "filter": ["in", "admin_level", 4, 6, 8],
      "layout": {"visibility": "visible"},
      "paint": {"line-color": "hsla(0, 0%, 60%, 0.5)", "line-dasharray": [2, 1]}
    },
    {
      "id": "admin_country_z0-4",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "boundary",
      "minzoom": 0,
      "maxzoom": 5,
      "filter": [
        "all",
        ["<=", "admin_level", 2],
        ["==", "$type", "LineString"],
        ["!has", "claimed_by"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "hsl(0, 0%, 60%)",
        "line-width": {"base": 1.3, "stops": [[3, 0.5], [22, 15]]}
      }
    },
    {
      "id": "admin_country_z5-",
      "type": "line",
      "source": "openmaptiles",
      "source-layer": "boundary",
      "minzoom": 5,
      "filter": [
        "all",
        ["<=", "admin_level", 2],
        ["==", "$type", "LineString"]
      ],
      "layout": {
        "line-cap": "round",
        "line-join": "round",
        "visibility": "visible"
      },
      "paint": {
        "line-color": "hsl(0, 0%, 60%)",
        "line-width": {"base": 1.3, "stops": [[3, 0.5], [22, 15]]}
      }
    },
    {
      "id": "poi_label",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "poi",
      "minzoom": 14,
      "filter": [
        "all",
        ["==", "$type", "Point"],
        ["<=", "rank", 20],
        ["!in", "class", "gate", "entrance", "lift_gate", "swing_gate", "kissing_gate", "wicket_gate", "barrier", "bollard", "block", "chain", "cycle_barrier"],
        ["!in", "subclass", "gate", "entrance", "lift_gate", "swing_gate", "kissing_gate", "wicket_gate", "barrier", "bollard", "block", "chain", "cycle_barrier"],
        ["!in", "barrier", "gate", "lift_gate", "swing_gate", "kissing_gate", "wicket_gate", "bollard", "block", "chain", "cycle_barrier"],
        ["!has", "lift_gate:type"]
      ],
      "layout": {
        "icon-image": "{class}_11",
        "icon-size": 1,
        "text-anchor": "top",
        "text-field": "{name:latin}\n{name:nonlatin}",
        "text-font": ["Noto Sans Regular"],
        "text-max-width": 8,
        "text-offset": [0, 0.6],
        "text-size": 2,
        "visibility": "visible"
      },
      "paint": {
        "text-color": "#666",
        "text-halo-blur": 0,
        "text-halo-color": "rgba(255,255,255,0.75)",
        "text-halo-width": 1
      }
    },
    {
      "id": "airport-label",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "aerodrome_label",
      "minzoom": 10,
      "filter": ["all", ["has", "iata"]],
      "layout": {
        "icon-image": "airport_11",
        "icon-size": 1,
        "text-anchor": "top",
        "text-field": "{name:latin}\n{name:nonlatin}",
        "text-font": ["Noto Sans Regular"],
        "text-max-width": 8,
        "text-offset": [0, 0.6],
        "text-size": 11,
        "visibility": "visible"
      },
      "paint": {
        "text-color": "#666",
        "text-halo-blur": 0,
        "text-halo-color": "rgba(255,255,255,0.75)",
        "text-halo-width": 1
      }
    },
    {
      "id": "road_major_label",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "transportation_name",
      "minzoom": 13,
      "filter": ["==", "$type", "LineString"],
      "layout": {
        "symbol-placement": "line",
        "text-field": "{name:latin} {name:nonlatin}",
        "text-font": ["Noto Sans Regular"],
        "text-letter-spacing": 0.1,
        "text-rotation-alignment": "map",
        "text-size": {"base": 1.4, "stops": [[10, 8], [20, 14]]},
        "text-transform": "uppercase",
        "visibility": "visible"
      },
      "paint": {
        "text-color": "#000",
        "text-halo-color": "hsl(0, 0%, 100%)",
        "text-halo-width": 2
      }
    },
    {
      "id": "place_label_other",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "place",
      "minzoom": 8,
      "filter": [
        "all",
        ["==", "$type", "Point"],
        ["!in", "class", "city", "state", "country", "continent"]
      ],
      "layout": {
        "text-anchor": "center",
        "text-field": "{name:latin}\n{name:nonlatin}",
        "text-font": ["Noto Sans Bold"],
        "text-max-width": 6,
        "text-size": {"stops": [[6, 11], [10, 13], [14, 15]]},
        "visibility": "visible"
      },
      "paint": {
        "text-color": "#2f3438",
        "text-halo-blur": 0.15,
        "text-halo-color": "rgba(255, 255, 255, 0.96)",
        "text-halo-width": 2.2
      }
    },
    {
      "id": "place_label_city",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "place",
      "maxzoom": 16,
      "filter": ["all", ["==", "$type", "Point"], ["==", "class", "city"]],
      "layout": {
        "text-field": "{name:latin}\n{name:nonlatin}",
        "text-font": ["Noto Sans Bold"],
        "text-max-width": 10,
        "text-size": {"stops": [[3, 13], [8, 18], [12, 20]]}
      },
      "paint": {
        "text-color": "#111827",
        "text-halo-blur": 0.15,
        "text-halo-color": "rgba(255, 255, 255, 0.96)",
        "text-halo-width": 2.4
      }
    },
    {
      "id": "country_label-other",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "place",
      "maxzoom": 12,
      "filter": [
        "all",
        ["==", "$type", "Point"],
        ["==", "class", "country"],
        ["!has", "iso_a2"]
      ],
      "layout": {
        "text-field": "{name:latin}",
        "text-font": ["Noto Sans Regular"],
        "text-max-width": 10,
        "text-size": {"stops": [[3, 12], [8, 22]]},
        "visibility": "visible"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 13%)",
        "text-halo-blur": 0,
        "text-halo-color": "rgba(255,255,255,0.75)",
        "text-halo-width": 2
      }
    },
    {
      "id": "country_label",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "place",
      "maxzoom": 12,
      "filter": [
        "all",
        ["==", "$type", "Point"],
        ["==", "class", "country"],
        ["has", "iso_a2"]
      ],
      "layout": {
        "text-field": "{name:latin}",
        "text-font": ["Noto Sans Bold"],
        "text-max-width": 10,
        "text-size": {"stops": [[3, 12], [8, 22]]},
        "visibility": "visible"
      },
      "paint": {
        "text-color": "hsl(0, 0%, 13%)",
        "text-halo-blur": 0,
        "text-halo-color": "rgba(255,255,255,0.75)",
        "text-halo-width": 2
      }
    },
    {
      "id": "tropa-outdoor-vip",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "poi",
      "minzoom": 9,
      "filter": [
        "any",
        [
          "in",
          "class",
          "campsite",
          "camp_site",
          "picnic_site",
          "drinking_water",
          "viewpoint",
          "shelter",
          "fountain",
          "picnic_table",
          "caravan_site",
          "bbq",
          "shower",
          "firepit",
          "bird_hide"
        ],
        [
          "in",
          "subclass",
          "spring",
          "shelter",
          "alpine_hut",
          "fountain",
          "picnic_table",
          "caravan_site",
          "bbq",
          "shower",
          "firepit",
          "bird_hide"
        ]
      ],
      "layout": {
        "icon-image": [
          "concat",
          ["coalesce", ["get", "subclass"], ["get", "class"]],
          "_11"
        ],
        "icon-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          9,
          0.85,
          12,
          1,
          16,
          1.2
        ],
        "text-field": "",
        "text-font": ["Noto Sans Bold"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          12,
          9,
          16,
          10
        ],
        "text-offset": [0, 1.5],
        "text-anchor": "top",
        "text-max-width": 8,
        "icon-optional": true,
        "text-optional": false,
        "icon-allow-overlap": false,
        "text-allow-overlap": false,
        "text-ignore-placement": false,
        "icon-ignore-placement": true,
        "symbol-avoid-edges": false
      },
      "paint": {
        "text-color": "#15803d",
        "text-halo-color": "rgba(255, 255, 255, 0.9)",
        "text-halo-width": 2,
        "text-halo-blur": 0
      }
    },
    {
      "id": "tropa-outdoor-vip-labels",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "poi",
      "minzoom": 12,
      "filter": [
        "any",
        [
          "in",
          "class",
          "campsite",
          "camp_site",
          "picnic_site",
          "drinking_water",
          "viewpoint",
          "shelter",
          "fountain",
          "picnic_table",
          "caravan_site",
          "bbq",
          "shower",
          "firepit",
          "bird_hide"
        ],
        [
          "in",
          "subclass",
          "spring",
          "shelter",
          "alpine_hut",
          "fountain",
          "picnic_table",
          "caravan_site",
          "bbq",
          "shower",
          "firepit",
          "bird_hide"
        ]
      ],
      "layout": {
        "text-field": ["coalesce", ["get", "name:ru"], ["get", "name:en"], ["get", "name"], ""],
        "text-font": ["Noto Sans Bold"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 12, 9, 16, 10],
        "text-offset": [0, 1.5],
        "text-anchor": "top",
        "text-max-width": 8,
        "text-allow-overlap": false,
        "text-ignore-placement": false,
        "symbol-avoid-edges": false
      },
      "paint": {
        "text-color": "#15803d",
        "text-halo-color": "rgba(255, 255, 255, 0.9)",
        "text-halo-width": 2,
        "text-halo-blur": 0
      }
    },
    {
      "id": "tropa-fords",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "poi",
      "minzoom": 10,
      "filter": [
        "any",
        ["==", "ford", "yes"],
        ["==", "class", "ford"],
        ["==", "ford", 1]
      ],
      "layout": {
        "icon-image": "water_11",
        "text-field": "?? Брод",
        "text-font": ["Noto Sans Bold"],
        "text-size": 10,
        "text-offset": [0, 1.2],
        "text-anchor": "top",
        "symbol-avoid-edges": false
      },
      "paint": {
        "text-color": "#0284c7",
        "text-halo-color": "#ffffff",
        "text-halo-width": 1.5,
        "text-halo-blur": 0
      }
    },
    {
      "id": "tropa-peaks-passes",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "mountain_peak",
      "minzoom": 5,
      "filter": [
        "all",
        ["==", "$type", "Point"],
        ["in", "class", "peak", "volcano", "saddle", "pass"]
      ],
      "layout": {
        "icon-image": [
          "match",
          ["get", "class"],
          "peak",
          "peak_11",
          "volcano",
          "volcano_11",
          "triangle_11"
        ],
        "icon-size": ["interpolate", ["linear"], ["zoom"], 5, 0.6, 15, 1.2],
        "icon-allow-overlap": true,
        "text-optional": true,
        "text-field": [
          "case",
          ["!", ["has", "ele"]],
          [
            "coalesce",
            ["get", "name:ru"],
            ["get", "name:nonlatin"],
            ["get", "name"],
            ""
          ],
          [
            "==",
            [
              "coalesce",
              ["get", "name:ru"],
              ["get", "name:nonlatin"],
              ["get", "name"],
              ""
            ],
            ""
          ],
          ["concat", ["to-string", ["get", "ele"]], " м"],
          [
            "all",
            [
              "<=",
              [
                "length",
                [
                  "coalesce",
                  ["get", "name:ru"],
                  ["get", "name:nonlatin"],
                  ["get", "name"],
                  ""
                ]
              ],
              7
            ],
            [
              "in",
              ["to-string", ["get", "ele"]],
              [
                "coalesce",
                ["get", "name:ru"],
                ["get", "name:nonlatin"],
                ["get", "name"],
                ""
              ]
            ]
          ],
          ["concat", ["to-string", ["get", "ele"]], " м"],
          [
            "concat",
            [
              "coalesce",
              ["get", "name:ru"],
              ["get", "name:nonlatin"],
              ["get", "name"],
              ""
            ],
            "\n",
            ["to-string", ["get", "ele"]],
            " м"
          ]
        ],
        "text-font": ["Noto Sans Bold"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 5, 8, 15, 12],
        "text-offset": [0, 0.8],
        "text-anchor": "top",
        "symbol-avoid-edges": false
      },
      "paint": {
        "text-color": "#78350f",
        "text-halo-color": "rgba(255, 255, 255, 0.85)",
        "text-halo-width": 2,
        "text-halo-blur": 0
      }
    },
    {
      "id": "tropa-national-parks-label",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "park",
      "minzoom": 0,
      "maxzoom": 24,
      "filter": [
        "any",
        ["==", "class", "national_park"],
        ["==", "class", "nature_reserve"],
        ["==", "class", "protected_area"]
      ],
      "layout": {
        "text-field": [
          "coalesce",
          ["get", "name:ru"],
          ["get", "name:nonlatin"],
          ["get", "name"],
          ""
        ],
        "text-font": ["Noto Sans Bold"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 5, 5, 15, 8],
        "text-transform": "uppercase",
        "text-letter-spacing": 0.1,
        "text-max-width": 8,
        "symbol-placement": "point",
        "icon-rotation-alignment": "auto",
        "text-justify": "center"
      },
      "paint": {
        "text-color": "#166534",
        "text-halo-color": "rgba(255, 255, 255, 0)",
        "text-halo-width": 2,
        "text-halo-blur": 0
      }
    },
    {
      "id": "water-label",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "water_name",
      "minzoom": 8,
      "filter": ["all", ["has", "name"]],
      "layout": {
        "text-field": [
          "coalesce",
          ["get", "name:ru"],
          ["get", "name:en"],
          ["get", "name"],
          ""
        ],
        "text-font": ["Noto Sans Bold"],
        "text-size": {"stops": [[8, 10], [14, 10]]},
        "text-transform": "none",
        "text-letter-spacing": 0.1,
        "text-max-width": 8,
        "symbol-z-order": "viewport-y",
        "text-pitch-alignment": "auto",
        "symbol-placement": "line-center",
        "symbol-spacing": 250,
        "symbol-avoid-edges": false
      },
      "paint": {
        "text-color": "#115e59",
        "text-halo-color": "rgba(255, 255, 255, 0.8)",
        "text-halo-width": 1.5,
        "text-halo-blur": 0
      }
    },
    {
      "id": "tropa-wetland-label",
      "type": "symbol",
      "source": "openmaptiles",
      "source-layer": "landcover",
      "minzoom": 10,
      "filter": ["all", ["==", "class", "wetland"], ["has", "name"]],
      "layout": {
        "text-field": [
          "coalesce",
          ["get", "name:ru"],
          ["get", "name:en"],
          ["get", "name"],
          ""
        ],
        "text-font": ["Noto Sans Regular"],
        "text-size": ["interpolate", ["linear"], ["zoom"], 10, 10, 14, 13],
        "text-letter-spacing": 0.05,
        "text-max-width": 8,
        "symbol-placement": "point",
        "text-padding": 2,
        "visibility": "visible"
      },
      "paint": {
        "text-color": "#3d635a",
        "text-halo-color": "rgba(255, 255, 255, 0.8)",
        "text-halo-width": 1.5,
        "text-halo-blur": 0
      }
    },
    {
      "id": "tropa-contour-labels",
      "type": "symbol",
      "source": "tropa-contours",
      "source-layer": "contour",
      "minzoom": 11,
      "filter": [
        "all",
        ["any", ["has", "height"], ["has", "ele"]],
        [">=", ["to-number", ["get", "nth_line"], 0], 5]
      ],
      "layout": {
        "symbol-placement": "line",
        "symbol-spacing": [
          "interpolate",
          ["linear"],
          ["zoom"],
          11,
          760,
          14,
          620,
          16,
          520
        ],
        "text-field": [
          "concat",
          ["to-string", ["coalesce", ["get", "height"], ["get", "ele"]]],
          " м"
        ],
        "text-font": ["Noto Sans Regular"],
        "text-size": [
          "interpolate",
          ["linear"],
          ["zoom"],
          11,
          10,
          14,
          11,
          16,
          12
        ],
        "text-rotation-alignment": "map",
        "text-pitch-alignment": "viewport",
        "text-keep-upright": true,
        "text-optional": true,
        "text-allow-overlap": false,
        "text-ignore-placement": false,
        "text-padding": 8,
        "visibility": "visible"
      },
      "paint": {
        "text-color": "rgba(78, 50, 27, 0.96)",
        "text-halo-color": "rgba(246, 242, 226, 0.96)",
        "text-halo-width": 1.8,
        "text-halo-blur": 0.15,
        "text-opacity": [
          "interpolate",
          ["linear"],
          ["zoom"],
          11,
          0.62,
          14,
          0.9,
          16,
          0.96
        ]
      }
    }
  ],
  "id": "tropa-pro-outdoor"
}
