/* =========================================
   CR-CALC — MONSTER DETAIL CARDS
   ========================================= */

/* Individual monster card */
#crcalc-page .monster-card {
    background: rgba(0, 0, 0, 0.55); /* same dark glass as character cards */
    border: 1px solid rgba(255, 204, 102, 0.32); /* same gold edge */
    border-radius: 8px;

    box-shadow:
        0 0 14px rgba(0, 0, 0, 0.6),
        0 0 18px rgba(255, 140, 60, 0.18); /* ember glow */

    padding: 0.75rem;
    margin-top: 0.5rem;
    width: auto;
}


/* Header */
#crcalc-page .monster-card-header {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Body labels */
#crcalc-page .monster-card-body label {
    display: block;
    margin-bottom: 0.35rem;
}

/* Rulesets grid */
#crcalc-page .monster-rulesets {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 0.25rem;
    margin-top: 0.5rem;
}

/* CR output block */
#crcalc-page .monster-cr-output {
    margin-top: 0.5rem;
    border-top: 1px solid #33363d;
    padding-top: 0.5rem;
    font-size: 0.85rem;
}

/* ---------------------------
   EXPAND/COLLAPSE CONTAINER
---------------------------- */
#crcalc-page .monster-card-container {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
}

#crcalc-page .monster-card-container.open {
    max-height: 600px;
}
