.leaflet-container {
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
    left: 0;
    position: absolute;
    top: 0;
}

.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas {
    pointer-events: none;
}

.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile {
    -webkit-user-drag: none;
    user-select: none;
}

.leaflet-tile {
    visibility: hidden;
}

.leaflet-tile-loaded {
    visibility: inherit;
}

.leaflet-zoom-animated {
    transform-origin: 0 0;
}

.leaflet-zoom-hide {
    visibility: hidden;
}

.leaflet-pane { z-index: 400; }
.leaflet-tile-pane { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane { z-index: 500; }
.leaflet-marker-pane { z-index: 600; }
.leaflet-tooltip-pane { z-index: 650; }
.leaflet-popup-pane { z-index: 700; }

.leaflet-control {
    position: relative;
    z-index: 800;
}

.leaflet-top,
.leaflet-bottom {
    pointer-events: none;
    position: absolute;
    z-index: 1000;
}

.leaflet-top { top: 0; }
.leaflet-right { right: 0; }
.leaflet-bottom { bottom: 0; }
.leaflet-left { left: 0; }

.leaflet-control {
    clear: both;
    float: left;
    pointer-events: auto;
}

.leaflet-right .leaflet-control { float: right; }
.leaflet-top .leaflet-control { margin-top: 10px; }
.leaflet-bottom .leaflet-control { margin-bottom: 10px; }
.leaflet-left .leaflet-control { margin-left: 10px; }
.leaflet-right .leaflet-control { margin-right: 10px; }

.leaflet-control-zoom a {
    background: #fff;
    border-bottom: 1px solid #ccc;
    color: #222;
    display: block;
    font-size: 22px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    width: 30px;
}

.leaflet-control-zoom {
    border: 2px solid rgba(0, 0, 0, .2);
    border-radius: 4px;
    overflow: hidden;
}

.leaflet-control-attribution {
    background: rgba(255, 255, 255, .8);
    color: #333;
    font-size: 11px;
    line-height: 1.25;
    max-width: min(62vw, 520px);
    padding: 0 5px;
    text-align: right;
    white-space: normal;
}

.leaflet-popup {
    margin-bottom: 20px;
    position: absolute;
    text-align: center;
}

.leaflet-popup-content-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .35);
    padding: 1px;
    text-align: left;
}

.leaflet-popup-content {
    line-height: 1.35;
    margin: 13px 18px;
}

.leaflet-popup-tip-container {
    height: 20px;
    left: 50%;
    margin-left: -20px;
    overflow: hidden;
    position: absolute;
    width: 40px;
}

.leaflet-popup-tip {
    background: #fff;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, .25);
    height: 17px;
    margin: -10px auto 0;
    transform: rotate(45deg);
    width: 17px;
}

.leaflet-popup-close-button {
    color: #666;
    font-size: 20px;
    padding: 5px 7px 0 0;
    position: absolute;
    right: 0;
    text-decoration: none;
    top: 0;
    z-index: 2;
}

.club-map-page {
    padding-bottom: 20px;
}

.club-map-sr-only {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.club-map-toolbar {
    align-items: flex-end;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 22px 0 14px;
}

.club-map-intro {
    color: #555;
    line-height: 1.45;
    margin: 0;
    max-width: 760px;
}

.club-map-season-form {
    flex: 0 0 auto;
    margin: 0;
}

.club-map-season-form select {
    min-width: 120px;
}

.club-map-shell {
    background: #eef2ed;
    border: 1px solid rgba(0, 0, 0, .28);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.club-map-shell:fullscreen,
.club-map-shell.is-pseudo-fullscreen {
    background: #eef2ed;
    border: 0;
    border-radius: 0;
}

.club-map-shell:fullscreen .club-map-canvas,
.club-map-shell.is-pseudo-fullscreen .club-map-canvas {
    height: 100vh;
    max-height: none;
    min-height: 100vh;
}

.club-map-shell.is-pseudo-fullscreen {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10050;
}

body.club-map-fullscreen-open {
    overflow: hidden;
}

.club-map-canvas {
    background: #dce6eb;
    height: min(68vh, 680px);
    min-height: 460px;
    width: 100%;
    z-index: 1;
}

.club-map-country-artwork {
    pointer-events: none;
    user-select: none;
}

.club-map-declutter-guide {
    stroke-linecap: round;
}

.club-map-coordinate-anchor {
    pointer-events: none;
}

.club-map-city-label-wrap {
    background: transparent;
    border: 0;
    pointer-events: none;
}

.club-map-city-label {
    background: rgba(255, 255, 255, .78);
    border-radius: 2px;
    color: #344047;
    display: inline-block;
    font-size: 11px;
    line-height: 1.2;
    padding: 1px 3px;
    white-space: nowrap;
}

.club-map-empty {
    padding: 80px 20px;
    text-align: center;
}

.club-map-marker-wrap {
    background: transparent;
    border: 0;
}

.club-map-marker {
    align-items: center;
    background: #178657;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .38);
    color: #fff;
    display: flex;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    position: relative;
    transform: translate(var(--club-map-declutter-x, 0), var(--club-map-declutter-y, 0)) scale(var(--club-map-marker-scale, 1));
    transform-origin: center;
    transition: filter .16s ease, transform .18s ease;
    width: 36px;
}

.club-map-marker-crest {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 46px;
    padding: 0;
    width: 46px;
}

.club-map-marker-crest img {
    display: block;
    height: 46px;
    max-width: 46px;
    object-fit: contain;
    width: 46px;
}

.club-map-marker-empty {
    font-size: 0;
}

.club-map-marker-empty::after {
    background: #fff;
    border-radius: 50%;
    content: "";
    height: 8px;
    width: 8px;
}

.club-map-marker.is-highlighted {
    filter: drop-shadow(0 0 5px #ffbd2e) drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
}

.club-map-marker.is-comparison-new {
    filter: drop-shadow(0 0 4px #28a745) drop-shadow(0 0 7px rgba(40, 167, 69, .72));
}

.club-map-marker-place {
    align-items: center;
    background: #20262b;
    border: 1px solid #fff;
    border-radius: 9px;
    bottom: -4px;
    color: #fff;
    display: flex;
    font-size: 9px;
    font-weight: 700;
    height: 17px;
    justify-content: center;
    line-height: 1;
    min-width: 17px;
    padding: 0 3px;
    position: absolute;
    right: -5px;
}

.club-map-marker:not(.club-map-marker-crest).is-highlighted {
    box-shadow: 0 0 0 4px rgba(255, 189, 46, .62), 0 2px 7px rgba(0, 0, 0, .38);
}

.club-map-fan-marker {
    animation: club-map-fan-in .16s ease-out;
}

@keyframes club-map-fan-in {
    from { opacity: 0; transform: scale(.45); }
    to { opacity: 1; transform: scale(var(--club-map-marker-scale, 1)); }
}

.club-map-control {
    border: 2px solid rgba(0, 0, 0, .2);
    border-radius: 4px;
    overflow: hidden;
}

.club-map-control-button {
    align-items: center;
    background: #fff;
    border: 0;
    color: #222;
    cursor: pointer;
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 30px;
}

.club-map-control-button:hover,
.club-map-control-button:focus-visible {
    background: #f3f3f3;
    color: #176f4d;
    outline: 0;
}

.club-map-legend {
    background: rgba(255, 255, 255, .94);
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
    color: #263038;
    display: flex;
    flex-direction: column;
    font-size: 11px;
    gap: 4px;
    line-height: 1.2;
    padding: 7px 9px;
}

.club-map-legend > strong {
    font-size: 12px;
    margin-bottom: 1px;
}

.club-map-legend > span {
    align-items: center;
    display: flex;
    gap: 6px;
}

.club-map-legend i {
    display: inline-flex;
    flex: 0 0 16px;
    height: 16px;
}

.club-map-legend-crest {
    background: url("/img/basic.webp") center / contain no-repeat;
}

.club-map-legend-count {
    align-items: center;
    background: #178657;
    border-radius: 50%;
    color: #fff;
    font-size: 9px;
    font-style: normal;
    justify-content: center;
}

.club-map-legend-place {
    align-items: center;
    background: #20262b;
    border: 1px solid #fff;
    border-radius: 8px;
    color: #fff;
    font-size: 9px;
    font-style: normal;
    justify-content: center;
}

.club-map-legend-anchor {
    position: relative;
}

.club-map-legend-anchor::before {
    background: #68767c;
    content: "";
    height: 1px;
    left: 1px;
    position: absolute;
    top: 8px;
    width: 14px;
}

.club-map-legend-anchor::after {
    background: #32434b;
    border: 1px solid #fff;
    border-radius: 50%;
    content: "";
    height: 6px;
    left: 5px;
    position: absolute;
    top: 5px;
    width: 6px;
}

.club-map-legend-new {
    border: 3px solid #28a745;
    border-radius: 50%;
}

.club-map-legend-old {
    border: 2px dashed #b04a52;
    border-radius: 50%;
}

.club-map-legend-comparison {
    display: none !important;
}

.club-map-shell.has-comparison .club-map-legend-comparison {
    display: flex !important;
}

.leaflet-tooltip {
    background: rgba(25, 31, 35, .94);
    border-radius: 4px;
    color: #fff;
    max-width: 230px;
    padding: 6px 9px;
    pointer-events: none;
    position: absolute;
    white-space: nowrap;
}

.club-map-tooltip strong,
.club-map-tooltip span {
    display: block;
}

.club-map-tooltip small {
    color: #aeb8b2;
    display: block;
    font-size: 9px;
    margin-top: 3px;
}

.club-map-comparison-old {
    align-items: center;
    background: rgba(255, 255, 255, .72);
    border: 2px dashed #b04a52;
    border-radius: 50%;
    display: flex;
    height: 34px;
    justify-content: center;
    opacity: .75;
    width: 34px;
}

.club-map-comparison-old img {
    filter: grayscale(.55);
    height: 25px;
    max-width: 25px;
    object-fit: contain;
    width: 25px;
}

.club-map-comparison-old > span {
    background: #b04a52;
    border-radius: 50%;
    height: 8px;
    width: 8px;
}

.club-map-tooltip span {
    color: #d9dedb;
    font-size: 11px;
    margin-top: 1px;
}

.club-map-popup {
    min-width: 210px;
}

.club-map-popup > strong {
    display: block;
    font-size: 16px;
    margin-bottom: 1px;
}

.club-map-popup-caption {
    color: #666;
    display: block;
    font-size: 11px;
    margin-bottom: 7px;
}

.club-map-popup-club {
    align-items: center;
    border-top: 1px solid #eee;
    color: #222;
    display: grid;
    gap: 7px;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    min-height: 36px;
    padding: 4px 0;
    text-decoration: none;
}

.club-map-popup-club:hover {
    color: #178657;
    text-decoration: none;
}

.club-map-popup-logo {
    align-items: center;
    display: flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.club-map-popup-logo img {
    height: 28px;
    max-width: 28px;
    object-fit: contain;
    width: 28px;
}

.club-map-popup-place,
.club-map-index-place {
    color: #666;
    font-size: 11px;
    font-weight: 600;
}

.club-map-city-index {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}

.club-map-filterbar {
    align-items: flex-end;
    background: #f5f7f5;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 12px;
    padding: 9px 10px;
}

.club-map-filterbar label {
    display: flex;
    flex: 1 1 155px;
    flex-direction: column;
    font-size: 11px;
    font-weight: 600;
    gap: 3px;
    margin: 0;
    max-width: 220px;
}

.club-map-filterbar select {
    background: #fff;
    border: 1px solid #aeb5b0;
    border-radius: 3px;
    font-size: 13px;
    min-height: 32px;
    padding: 4px 6px;
}

.club-map-compare-summary {
    color: #555;
    flex: 1 0 100%;
    font-size: 11px;
    min-height: 14px;
}

.club-map-city-card {
    background: rgba(255, 255, 255, .55);
    border-bottom: 1px solid rgba(0, 0, 0, .16);
    display: flex;
    flex-direction: column;
    outline: 2px solid transparent;
    padding: 8px 10px;
    transition: background-color .16s ease, outline-color .16s ease;
}

.club-map-city-card.is-highlighted,
.club-map-city-card:focus-visible {
    background: #fff6d7;
    outline-color: #ffbd2e;
}

.club-map-city-card > span {
    font-size: 13px;
}

.club-map-index-place {
    margin-left: 3px;
}

.club-map-missing {
    background: #fff3b0;
    border: 1px solid #e1cf78;
    margin-top: 16px;
    padding: 10px;
}

.leaflet-popup-content a {
    color: #176f4d;
}

@media (max-width: 767.98px) {
    .club-map-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .club-map-season-form select {
        width: 100%;
    }

    .club-map-canvas {
        height: 62vh;
        min-height: 390px;
    }

    .club-map-city-index {
        grid-template-columns: 1fr;
    }

    .club-map-filterbar label {
        max-width: none;
        min-width: calc(50% - 8px);
    }
}

@media (max-width: 575.98px) {
    .club-map-canvas {
        height: 58vh;
        min-height: 350px;
    }

    .club-map-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .club-map-filterbar label {
        flex-basis: 100%;
        min-width: 100%;
    }

    .leaflet-bottom .club-map-legend {
        margin-bottom: 52px;
        max-width: 175px;
    }
}
