/* Page sheet for creatures.php. Linked after style.css by includes/css.php,
   so these rules win ties against the shared sheet. */

/* Only what is genuinely this page's own. The letter bar, the type
   badges and the filter buttons moved to THE SHARED KIT in style.css
   on 2026-09-02; what stays below is the A-Z grouped table, which no
   other page has. */
.lgroup { scroll-margin-top: 90px; }
.lgroup-head td {
    background: rgba(154,35,35,0.07);
    border-bottom: 1px solid var(--accent) !important;
    color: var(--accent);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-align: left !important;
    padding: 10px 14px !important;
}
.creatures-table th,
.creatures-table td { text-align: left; }
.creatures-table th { padding: 10px 8px; }
.creatures-table td { padding: 13px 8px; }
/* Centre the type cell so the badge group is balanced in the column. */
.creatures-table th.type-col,
.creatures-table td.type-col { width: 170px; white-space: nowrap; text-align: center; }
.creatures-table .detail-col { color: var(--text-dim); }
.cr-row:hover { background: rgba(154,35,35,0.04); }
.cr-row:hover td { color: var(--text-main); }
.no-results-row td { text-align: center; padding: 40px; color: var(--text-dim); }

/* Clickable name → registry (inherit text colour, red on hover) */