.type-chart-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.type-chart-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 800px; /* pozwala przewijać poziomo */
    text-align: center;
    font-family: Arial, sans-serif;
}

.type-chart-table th,
.type-chart-table td {
    border: 1px solid #ccc;
    padding: 8px;
    vertical-align: middle;
}

.type-chart-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.type-chart-table td.cell {
    background-color: #fff;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.type-chart-table td.cell:hover {
    background-color: #ffe;
    cursor: pointer;
    transform: scale(1.1);
}

.atk-type img,
.def-type img {
    width: 30px;
    height: 30px;
    display: block;
    margin: 0 auto 5px auto;
}

.type-chart-table th,
.type-chart-table td {
    min-width: 40px;
}
