/* ─── Bestiary Section ─────────────────────────────────── */

.bestiary-creature {
    max-width: 720px;
}

/* 2-Column Grid (stacks on narrow views) */
.bst-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 2rem;
}

@media (min-width: 560px) {
    .bst-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.bst-grid .it-heading {
    margin-top: 0.6rem;
}

/* Stat Tables */
.bst-stat-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.3rem 0 0.8rem;
}

.bst-stat-table tr {
    border-bottom: 1px solid rgba(139, 119, 85, 0.15);
}

.bst-stat-table tr:last-child {
    border-bottom: none;
}

.bst-stat-label {
    padding: 0.3rem 0.6rem 0.3rem 0;
    color: rgba(62, 50, 32, 0.75);
    font-size: 0.88rem;
}

.bst-stat-value {
    padding: 0.3rem 0;
    text-align: right;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    font-size: 0.88rem;
    color: #3e3220;
    white-space: nowrap;
}

/* AI State Flow Diagram */
.bst-state-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    margin: 0.4rem 0 0.8rem;
}

.bst-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(139, 119, 85, 0.08);
    border: 1px solid rgba(139, 119, 85, 0.2);
    border-radius: 4px;
    padding: 0.3rem 0.6rem;
    min-width: 64px;
}

.bst-state-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: #3e3220;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bst-state-desc {
    font-size: 0.72rem;
    color: rgba(62, 50, 32, 0.6);
    margin-top: 0.1rem;
    text-align: center;
}

.bst-state-arrow {
    color: rgba(139, 119, 85, 0.5);
    font-size: 1.0rem;
    line-height: 1;
}
