#map-wrapper {
    --reel-margin-width: 80px;
    position: relative;
    width: calc(100% - 2px);
    border: 1px solid black;

    border-image-source: url("/assets/img/map/reel_border.svg");
    border-image-width: 0 var(--reel-margin-width);
    border-image-outset: 0 calc(var(--reel-margin-width) - 1px);
    border-image-repeat: round;
    border-image-slice: 0 50% 0;

    background-color: black;
}

#map-act {
    width: 100%;

    border: solid black;
    border-width: 6px 0;
    border-radius: 16px;
    padding: .5rem;

    background-color: var(--fg-color);

    display: grid;
    grid-template-columns: repeat(6, 1fr);
    place-items: start center;
    place-content: start center;
    row-gap: .5rem;

    a>img {
        display: block;
        max-width: calc(100vw / 6 - .5rem);
        height: auto;
    }

    a>img,
    .act-header {
        border: 4px solid #3ac9ff;
    }

    a:hover>img,
    .act-header:hover {
        border-color: white;
    }
}

.act-header {
    height: 120px;
    width: 100%;

    align-self: flex-start;
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    justify-content: center;

    color: white !important;
    -webkit-text-stroke: 6px black;
    paint-order: stroke fill;
    text-decoration: none;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (max-width: 500px) {

    #map-wrapper a>img,
    .act-header {
        border-width: 2px !important;
    }
}