.board {
    margin-inline: auto;
    position: relative;
    width: min(100%, calc(85vh * 1.5239));
}

.board img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.board svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.s {
    fill: transparent;
    cursor: pointer;
    transition: fill .15s;
}

.s:hover,
.s:focus {
    fill: rgba(41, 240, 137, 0.28);
    stroke: #29aaf0;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
    outline: none;
}

.tip {
    position: absolute;
    pointer-events: none;
    background: var(--pal1);
    color: var(--pal4);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
}

.card {
    position: absolute;
    left: 5px;
    bottom: 5px;
    padding: 8px;
    max-width: min(360px, calc(100% - 24px));
    background: var(--pal1);
    color: var(--pal4);
    border: 1px solid var(--pal3);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
    z-index: 100;
}

.card h3,
.card p {
    margin-block: 0;
}

.card h3 {
    padding-right: 1.25rem;
}

.card button {
    position: absolute;
    top: 4px;
    right: 6px;
    border: 0;
    background: none;
    font-size: 20px;
    color: var(--pal4);
    cursor: pointer;
}