body.beasts-page {
    background: #0b1220;
    color: #e6eef8;
    font-family: -apple-system, "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    margin: 0;
    padding-top: 64px;
}
.beasts-page .beasts-container {
    max-width: 1200px;
    margin: 16px auto 40px;
    padding: 0 16px;
}
.beasts-page .beasts-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #1f2937;
}
.beasts-page .beasts-head-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.beasts-page .beasts-icon { font-size: 2rem; line-height: 1; }
.beasts-page .beasts-head h1 {
    margin: 0;
    color: #fbbf24;
    font-size: 1.5rem;
}
.beasts-page .beasts-tagline {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: 0.88rem;
}
.beasts-page .beasts-head-links a {
    color: #93c5fd;
    text-decoration: none;
    font-size: 0.88rem;
    white-space: nowrap;
}
.beasts-page .beasts-head-links a:hover { text-decoration: underline; }
.beasts-page .beasts-head-links a.cross-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    background: #1e3a5f;
    border: 1px solid #3b82f6;
    border-radius: 6px;
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}
.beasts-page .beasts-head-links a.cross-link-btn:hover {
    background: #1e4a80;
    text-decoration: none;
}
.beasts-page .beasts-filters {
    position: sticky;
    top: 64px;
    z-index: 20;
    background: #0f1724;
    border: 1px solid #23303f;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.beasts-page .filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 0;
}
.beasts-page .filter-row-search {
    margin-bottom: 10px;
}
.beasts-page .filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}
.beasts-page .filter-label {
    width: 40px;
    flex-shrink: 0;
    color: #64748b;
    font-size: 0.82rem;
}
.beasts-page .filter-row input[type="search"] {
    flex: 1;
    min-width: 200px;
    max-width: 420px;
    padding: 8px 11px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #0b1220;
    color: #e2e8f0;
    font-size: 0.88rem;
}
.beasts-page .filter-row input:focus {
    outline: none;
    border-color: #0ea5e9;
}
.beasts-page .filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.beasts-page .filter-pill {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #0b1220;
    color: #cbd5e1;
    font-size: 0.84rem;
    cursor: pointer;
}
.beasts-page .filter-pill.active {
    border-color: #0ea5e9;
    background: #0c4a6e;
    color: #fff;
}
.beasts-page .beasts-meta {
    color: #64748b;
    font-size: 0.82rem;
    margin: 0 0 8px;
}
.beasts-page .beasts-table-wrap {
    overflow-x: auto;
    background: #0f1724;
    border: 1px solid #23303f;
    border-radius: 12px;
}
.beasts-page table.beasts-table {
    width: 100%;
    border-collapse: collapse;
}
.beasts-page table.beasts-table th,
.beasts-page table.beasts-table td {
    text-align: left;
    padding: 10px 10px;
    border-bottom: 1px solid #1f2937;
    vertical-align: middle;
}
.beasts-page table.beasts-table th {
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}
.beasts-page .type-cell { width: 36px; text-align: center; }
.beasts-page .type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.beasts-page .type-badge.type-red {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.45);
}
.beasts-page .type-badge.type-yellow {
    background: rgba(234, 179, 8, 0.15);
    color: #fde047;
    border: 1px solid rgba(234, 179, 8, 0.4);
}
.beasts-page .name-cell .item-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}
.beasts-page .name-cell .beast-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}
.beasts-page .name-cell .beast-icon-slot {
    display: block;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
.beasts-page .price-cell { white-space: nowrap; font-variant-numeric: tabular-nums; }
.beasts-page .use-cell {
    color: #94a3b8;
    font-size: 0.84rem;
    max-width: 320px;
}
.beasts-page .patch-badges { display: inline-flex; gap: 4px; }
.beasts-page .patch-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
}
.beasts-page .patch-badge.patch-on {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.35);
}
.beasts-page .patch-badge.patch-off {
    background: rgba(100, 116, 139, 0.12);
    color: #64748b;
    border: 1px solid #334155;
}
.beasts-page .action-cell { white-space: nowrap; }
.beasts-page a.buy-link,
.beasts-page button.buy-link {
    color: #93c5fd;
    text-decoration: none;
    font-size: 0.84rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.beasts-page a.buy-link:hover,
.beasts-page button.buy-link:hover { text-decoration: underline; }
.beasts-page .muted { color: #64748b; }
@media (max-width: 768px) {
    .beasts-page .beasts-head { flex-direction: column; }
    .beasts-page .use-cell { max-width: 180px; }
    .beasts-page .filter-grid { grid-template-columns: 1fr; }
    .beasts-page .beasts-filters { border-radius: 0; margin-left: -16px; margin-right: -16px; }
}
