#ineractSvg {
    max-width: 100%;
    max-height: 100%; 
    margin: 0 auto;
}

.animal-text {
    font-size: 20px;
    text-anchor: middle;
    dominant-baseline: middle;
}

/* Общие стили текста */
.animal-text {
  font-size: 20px;
  text-anchor: middle;
}


.animal-name {
    font-size: 14px;
    text-anchor: middle;
    dominant-baseline: middle;
}

.dot {
    fill: black;
}

/* Цвета для сезонов */
.spring {
    stroke: #00b200;
    fill: #00b200;
}

.summer {
    stroke: #df0000;
    fill: #df0000;
}

.autumn {
    stroke: gray;
    fill: gray;
}

.winter {
    stroke: blue;
    fill: blue;
}

/* Стили для линий */
.conflict-line {
    stroke: red;
    stroke-width: 2;
}

.merge-line {
    stroke: #4bbb36;
    stroke-width: 2;
}

.season-line {
    stroke-width: 2;
    stroke-dasharray: 5,5;
    opacity: 0.7;
}

.season-text {
    font-size: 14px;
    text-anchor: middle;
    dominant-baseline: middle;
}





/* Стили для сетки наказаний */

.combinations-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8px;
    margin-block-end: 20px;
    justify-content: center;
}

.combinations-block {
    min-width: 80px;
    padding: 12px 5px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(25deg, #f8f8f8, #fffcfc);
    box-shadow: var(--box-shadow);
    transition: all 0.2s;
    font-size: 16px;
}

    .combinations-block:hover {
        border-color: #dddddd;
        background: linear-gradient(25deg, #f5f5f5, #fffcfc);
    }

.combinations-block-conflict {
    margin: 0;
    min-width: 80px;
    padding: 12px 5px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(25deg, #fff5f5, #fffcfc);
    box-shadow: 0 0 2px rgb(255 0 0 / 20%);
    transition: all 0.2s;
    font-size: 16px;
}

    .combinations-block-conflict:hover {
        border-color: #ffc6c6;
        background: linear-gradient(25deg, #fff5f5, #fbf6f6);
    }

.combinations-block-merges {
    margin: 0;
    min-width: 80px;
    padding: 12px 5px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(25deg, #f6fff5, #fffcfc);
    box-shadow: 0 0 2px rgb(0 255 94 / 20%);
    transition: all 0.2s;
    font-size: 16px;
}

    .combinations-block-merges:hover {
        border-color: #c0d2c0;
        background: linear-gradient(25deg, #f1faf1, #f4fcf6);
    }


.combinations-info {
    font-size: 0.6em;
    color: #666;
    line-height: 1.4;
    margin-inline: 8px;
    
}