#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;
}

.harm-line {
    stroke: orange;
    stroke-width: 2;
}

.damage-line {
    stroke: gray;
    stroke-width: 1;
}

.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 #e8e8e8;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    box-shadow: 0 4px 12px rgba(100, 120, 255, 0.08),
                0 2px 4px rgba(100, 120, 255, 0.04);
    transition: all 0.3s ease;
    font-size: 16px;
}

    .combinations-block:hover {
        border-color: #d0d7ff;
        background: linear-gradient(135deg, #f0f3ff 0%, #ffffff 100%);
        box-shadow: 0 6px 16px rgba(100, 120, 255, 0.12),
                    0 3px 6px rgba(100, 120, 255, 0.06);
        transform: translateY(-2px);
    }

.combinations-block-conflict {
    margin: 0;
    min-width: 80px;
    padding: 12px 5px;
    border: 1px solid #ffe0e0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(135deg, #fff0f0 0%, #fffafa 100%);
    box-shadow: 0 4px 12px rgba(255, 100, 100, 0.15),
                0 2px 4px rgba(255, 100, 100, 0.08);
    transition: all 0.3s ease;
    font-size: 16px;
}

    .combinations-block-conflict:hover {
        border-color: #ffb3b3;
        background: linear-gradient(135deg, #ffe8e8 0%, #fff5f5 100%);
        box-shadow: 0 6px 16px rgba(255, 100, 100, 0.2),
                    0 3px 6px rgba(255, 100, 100, 0.12);
        transform: translateY(-2px);
    }

.combinations-block-merges {
    margin: 0;
    min-width: 80px;
    padding: 12px 5px;
    border: 1px solid #d4f0d4;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(135deg, #f0fff0 0%, #fafffa 100%);
    box-shadow: 0 4px 12px rgba(100, 220, 100, 0.15),
                0 2px 4px rgba(100, 220, 100, 0.08);
    transition: all 0.3s ease;
    font-size: 16px;
}

    .combinations-block-merges:hover {
        border-color: #a8e6a8;
        background: linear-gradient(135deg, #e8ffe8 0%, #f5fff5 100%);
        box-shadow: 0 6px 16px rgba(100, 220, 100, 0.2),
                    0 3px 6px rgba(100, 220, 100, 0.12);
        transform: translateY(-2px);
    }

.combinations-block-damage {
    margin: 0;
    min-width: 80px;
    padding: 12px 5px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    box-shadow: 0 4px 12px rgba(150, 150, 150, 0.15),
                0 2px 4px rgba(150, 150, 150, 0.08);
    transition: all 0.3s ease;
    font-size: 16px;
}

    .combinations-block-damage:hover {
        border-color: #c8c8c8;
        background: linear-gradient(135deg, #eeeeee 0%, #f5f5f5 100%);
        box-shadow: 0 6px 16px rgba(150, 150, 150, 0.2),
                    0 3px 6px rgba(150, 150, 150, 0.12);
        transform: translateY(-2px);
    }

.combinations-block-harm {
    margin: 0;
    min-width: 80px;
    padding: 12px 5px;
    border: 1px solid #ffe866;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(135deg, #fff9d9 0%, #fffcee 100%);
    box-shadow: 0 4px 12px rgba(255, 200, 0, 0.2),
                0 2px 4px rgba(255, 200, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 16px;
}

    .combinations-block-harm:hover {
        border-color: #ffd700;
        background: linear-gradient(135deg, #fff5c2 0%, #fffae6 100%);
        box-shadow: 0 6px 16px rgba(255, 200, 0, 0.25),
                    0 3px 6px rgba(255, 200, 0, 0.15);
        transform: translateY(-2px);
    }
.combinations-info {
    font-size: 0.6em;
    color: #666;
    line-height: 1.4;
    margin-inline: 8px;
    
}