body {
    display: flex;
    font-family: sans-serif;
    padding: 2rem;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}
#counter {
    display: block;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    min-width: 200px;
}
#tooltip {
    position: absolute;
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    pointer-events: none;
    display: none;
    z-index: 1000;
}
.prefecture {
    fill: #ccc;
    stroke: #333;
    cursor: pointer;
    transition: fill 0.2s;
}
.prefecture.selected {
    fill: red;
}

#prefecture-list {
    columns:3;
    column-gap: 2rem;
    max-height: 10%;
    width:fit-content;
    list-style: none;
    padding: 1px;
    margin: 1px;
}
.prefecture-item {
    font-family: Consolas, monospace;
    cursor: pointer;
    padding: 4px 8px;
    transition: background 0.2s;
}
.prefecture-item.selected {
    background-color: #fdd;
    font-weight: bold;
}
#text-list {
    display:block;
}
svg {
    width: 600px;
    height: auto;
}