/**
 * Бестиарий — игровой iframe и публичная библиотека
 */

.bestiary-frame-body {
    text-align: center;
    background: transparent;
    overflow: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 6px 8px 12px;
}

.bestiary-frame-wrap {
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.bestiary-table td,
.bestiary-table th {
    vertical-align: top;
}

.bestiary-col-name img {
    border-radius: 4px;
}

.bestiary-nick {
    min-height: 10px;
    margin-top: 4px;
    font-size: 11px;
}

.bestiary-col-stats,
.bestiary-col-money {
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.bestiary-col-loc {
    font-size: 11px;
    line-height: 1.45;
}

.bestiary-reward-toggle {
    border-bottom: 1px dashed #8c6939;
    text-decoration: none;
    color: #461c0b;
    font-size: 11px;
}

.bestiary-reward-toggle:hover {
    color: #a3260a;
    border-bottom-color: #a3260a;
}

.bestiary-drops {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    font-size: 11px;
}

.bestiary-drop-col {
    flex: 1 1 240px;
    min-width: 200px;
}

.bestiary-drop-item {
    cursor: pointer;
}

.bestiary-drop-empty {
    color: #6b5344;
    font-style: italic;
}

.bestiary-empty {
    padding: 24px 12px;
    text-align: center;
}

.bot-info-money img {
    vertical-align: sub;
}

/* Публичная библиотека */
.lib-bestiary .bestiary-table--library {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background: rgba(255, 248, 230, 0.65);
    border: 1px solid rgba(140, 105, 57, 0.45);
}

.lib-bestiary .bestiary-table--library th {
    background: linear-gradient(to bottom, #7a1f0c 0%, #4a1006 100%);
    color: #fff6d8;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 11px;
    padding: 8px 6px;
    border: 1px solid rgba(90, 46, 20, 0.5);
}

.lib-bestiary .bestiary-table--library td {
    border: 1px solid rgba(140, 105, 57, 0.35);
    background: rgba(255, 250, 235, 0.85);
    font-family: Tahoma, Geneva, sans-serif;
    color: #2b1a0a;
}

.lib-bestiary .bestiary-search--library table {
    width: 100%;
    background: rgba(255, 248, 230, 0.75);
    border: 1px solid rgba(140, 105, 57, 0.4);
}

.lib-bestiary .bestiary-search--library input,
.lib-bestiary .bestiary-search--library select {
    font-family: Tahoma, Geneva, sans-serif;
}

.lib-bestiary .bestiary-pager {
    margin-top: 12px;
}

.lib-bestiary .bestiary-pager a {
    color: #a3260a;
}
