body {
    font-family: 'Merriweather', serif;
    background: url('../images/ui/parchment.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Все элементы теперь внизу */
    align-items: center;
    height: 100vh;
    padding: 10px;
    color: #4A2C2A;
}

.slots-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid #734d26;
    border-radius: 12px;
    padding: 20px;
    width: 80%;
    margin-bottom: 20px; /* Отступ перед меню выбора */
}

.character-section {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.character-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #734d26;
    margin-right: 20px;
}

.character-slots {
    display: flex;
    gap: 10px;
}

.main-slots {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slots-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.slot {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #734d26;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spacer {
    width: 50px;
    height: 50px;
}

.image-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid #734d26;
    border-radius: 12px;
    padding: 10px;
    width: 80%;
    margin-top: 10px; /* Отступ между панелью доступа и меню */
}

.image-menu h3 {
    width: 100%;
    text-align: center;
    color: white;
    margin-bottom: 10px;
}

.image {
    margin: 10px;
    cursor: grab;
}

.image img {
    width: 50px;
    height: 50px;
    border: 2px solid #734d26;
    border-radius: 4px;
}
