/* ======================================================================
   Бестиарий: блок «Ценности» на странице существа (bot_info.php, старый дизайн)
   Светло-бежевые тона + красно-золотые акценты в духе общей палитры игры.
   ====================================================================== */

.bot-loot-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    color: #49382D;
}

.bot-loot-list > li {
    margin: 0;
    padding: 0;
}

.bot-loot-group {
    margin: 0 0 10px;
    border: 1px solid #DB9F73;
    border-radius: 5px;
    background: #FFFBD6;
    box-shadow: 0 1px 2px rgba(73, 56, 45, 0.08);
    overflow: hidden;
}

.bot-loot-group:last-child {
    margin-bottom: 0;
}

.bot-loot-group-title {
    padding: 5px 12px;
    background: linear-gradient(180deg, #F3D8B2 0%, #D4B889 100%);
    border-bottom: 1px solid #DB9F73;
    color: #7B0000;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
    font-family: Tahoma, Geneva, sans-serif;
}

.bot-loot-group-body {
    padding: 8px 10px 8px;
}

.bot-loot-subgroup + .bot-loot-subgroup {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #DB9F73;
}

.bot-loot-subgroup-title {
    display: inline-block;
    margin: 0 0 6px;
    padding: 1px 9px;
    background: #FFE7C5;
    border: 1px solid #DB9F73;
    border-radius: 3px;
    color: #955C4A;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.bot-loot-items {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bot-loot-items > li {
    margin: 0;
    padding: 0;
}

.bot-loot-item {
    display: inline-block;
    margin: 0;
    max-width: 100%;
}

.bot-loot-item a {
    display: inline-block;
    padding: 2px 9px;
    background: #FFFBD6;
    border: 1px solid #DB9F73;
    border-radius: 3px;
    font-size: 11px;
    line-height: 1.5;
    text-decoration: none !important;
    transition: background 0.12s, border-color 0.12s, box-shadow 0.12s;
    white-space: normal;
    word-break: break-word;
}

.bot-loot-item a:hover {
    background: #FFE7C5;
    border-color: #B8860B;
    box-shadow: 0 1px 4px rgba(184, 134, 11, 0.35);
    text-decoration: none !important;
}

/* Цветная рамка по качеству предмета */
.bot-loot-item a.macros_artifact_quality0 { border-color: #A89A8A; }
.bot-loot-item a.macros_artifact_quality1 { border-color: #6E9F53; }
.bot-loot-item a.macros_artifact_quality2 { border-color: #5A8AD4; }
.bot-loot-item a.macros_artifact_quality3 { border-color: #A06AC0; }
.bot-loot-item a.macros_artifact_quality4 { border-color: #E0A030; }
.bot-loot-item a.macros_artifact_quality5 { border-color: #D06040; }

/* Кнопка «Открыть в бестиарии» */
.bot-bestiary-link-wrap {
    text-align: center;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #DB9F73;
}

.bot-bestiary-link {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(180deg, #F3D8B2 0%, #D4B889 100%);
    border: 1px solid #B8860B;
    border-radius: 4px;
    color: #7B0000 !important;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none !important;
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.7),
            0 1px 3px rgba(0, 0, 0, 0.15);
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s;
    font-family: Tahoma, Geneva, sans-serif;
    cursor: pointer;
    letter-spacing: 0.2px;
}

.bot-bestiary-link:hover {
    background: linear-gradient(180deg, #FFE7C5 0%, #E3B360 100%);
    border-color: #7B0000;
    color: #A00000 !important;
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.85),
            0 1px 5px rgba(184, 134, 11, 0.45);
    text-decoration: none !important;
}

.bot-bestiary-link:active {
    box-shadow: inset 0 2px 3px rgba(73, 56, 45, 0.2);
    transform: translateY(1px);
}