/* /Components/Pages/CatalogBrowse.razor.rz.scp.css */
/* ── Catalog Browse Page ── Sidebar + Grid/List Layout ────── */

/* ── Page shell ── */
.catalog-page[b-e4latss9ng] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    background: #f8f9fb;
    min-height: 100vh;
}

/* ── Top bar: search + view toggle ── */
.catalog-topbar[b-e4latss9ng] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.catalog-search-wrap[b-e4latss9ng] {
    flex: 1;
    position: relative;
}

.catalog-search-icon[b-e4latss9ng] {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.9rem;
    pointer-events: none;
}

.catalog-search-input[b-e4latss9ng] {
    width: 100%;
    padding: 0.625rem 0.875rem 0.625rem 2.35rem;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    color: #212529;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.catalog-search-input[b-e4latss9ng]::placeholder {
    color: #6c757d;
}

.catalog-search-input:focus[b-e4latss9ng] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.25);
}

/* ── View toggle ── */
.view-toggle[b-e4latss9ng] {
    display: flex;
    gap: 2px;
    background: #e9ecef;
    border-radius: 8px;
    padding: 3px;
    flex-shrink: 0;
}

.view-toggle-btn[b-e4latss9ng] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.view-toggle-btn:hover[b-e4latss9ng] {
    color: #212529;
    background: rgba(0,0,0,0.04);
}

.view-toggle-btn.active[b-e4latss9ng] {
    background: #0d6efd;
    color: #fff;
}

.view-toggle-btn:focus-visible[b-e4latss9ng] {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* ── Type pills ── */
.type-pills[b-e4latss9ng] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.type-pill[b-e4latss9ng] {
    padding: 0.35rem 0.9rem;
    border: 1px solid #ced4da;
    border-radius: 20px;
    background: #fff;
    color: #495057;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.type-pill:hover[b-e4latss9ng] {
    color: #212529;
    border-color: #86b7fe;
    background: #e7f1ff;
}

.type-pill.active[b-e4latss9ng] {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.type-pill:focus-visible[b-e4latss9ng] {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* ── Mobile filter button (hidden on desktop) ── */
.mobile-filter-btn[b-e4latss9ng] {
    display: none;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.6rem 1rem;
    margin-bottom: 0.75rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #212529;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.mobile-filter-btn:hover[b-e4latss9ng] {
    background: #e9ecef;
}

.mobile-filter-btn:focus-visible[b-e4latss9ng] {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.filter-badge[b-e4latss9ng] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #0d6efd;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

/* ── Two-column layout ── */
.catalog-layout[b-e4latss9ng] {
    display: flex;
    gap: 1.25rem;
    position: relative;
}

/* ── Sidebar overlay (mobile) ── */
.sidebar-overlay[b-e4latss9ng] {
    display: none;
}

/* ── Sidebar ── */
.catalog-sidebar[b-e4latss9ng] {
    width: 250px;
    min-width: 250px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    padding: 1rem;
    align-self: flex-start;
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.sidebar-header[b-e4latss9ng] {
    display: none;
}

.sidebar-title[b-e4latss9ng] {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.sidebar-close[b-e4latss9ng] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0,0,0,0.04);
    border-radius: 6px;
    color: #6c757d;
    cursor: pointer;
}

.sidebar-close:hover[b-e4latss9ng] {
    color: #212529;
    background: rgba(0,0,0,0.06);
}

/* ── Filter sections ── */
.filter-section[b-e4latss9ng] {
    border: none;
    padding: 0;
    margin: 0 0 1.1rem 0;
}

.filter-section:last-of-type[b-e4latss9ng] {
    margin-bottom: 0.5rem;
}

.filter-label[b-e4latss9ng] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6c757d;
    margin-bottom: 0.5rem;
    padding: 0;
    width: auto;
    float: none;
}

.filter-select[b-e4latss9ng] {
    width: 100%;
    padding: 0.45rem 0.65rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #212529;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: auto;
}

.filter-select:focus[b-e4latss9ng] {
    border-color: #0d6efd;
}

.filter-select:focus-visible[b-e4latss9ng] {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.filter-select option[b-e4latss9ng] {
    background: #fff;
    color: #212529;
}

/* ── Filter pills (source / loader) ── */
.filter-pills-group[b-e4latss9ng] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.filter-pill[b-e4latss9ng] {
    padding: 0.3rem 0.7rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: #fff;
    color: #495057;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.filter-pill:hover[b-e4latss9ng] {
    color: #0d6efd;
    border-color: #86b7fe;
    background: #e7f1ff;
}

.filter-pill.active[b-e4latss9ng] {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    box-shadow: 0 1px 3px rgba(13,110,253,0.3);
}

.filter-pill:focus-visible[b-e4latss9ng] {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* ── Clear / Apply buttons ── */
.clear-filters-btn[b-e4latss9ng] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.75rem;
    background: transparent;
    border: 1px solid rgba(220,53,69,0.3);
    border-radius: 6px;
    color: #dc3545;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.15s;
}

.clear-filters-btn:hover[b-e4latss9ng] {
    background: rgba(220,53,69,0.06);
    border-color: rgba(220,53,69,0.5);
}

.clear-filters-btn:focus-visible[b-e4latss9ng] {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

.mobile-apply-btn[b-e4latss9ng] {
    display: none;
}

/* ── Main content area ── */
.catalog-main[b-e4latss9ng] {
    flex: 1;
    min-width: 0;
}

/* ── Browse heading ── */
[b-e4latss9ng] .browse-heading {
    font-family: 'Fredoka', sans-serif;
    color: #212529;
}

/* ── Skeleton loading ── */
[b-e4latss9ng] .browse-skeleton-spotlight {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

[b-e4latss9ng] .browse-skeleton-pulse {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%);
    background-size: 200% 100%;
    animation: browse-pulse-b-e4latss9ng 1.5s infinite;
}

@keyframes browse-pulse-b-e4latss9ng {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   Mobile / Tablet responsive
   ======================================== */
@media (max-width: 768px) {
    .catalog-page[b-e4latss9ng] {
        padding: 0.5rem;
    }

    .mobile-filter-btn[b-e4latss9ng] {
        display: flex;
    }

    .catalog-layout[b-e4latss9ng] {
        flex-direction: column;
    }

    /* Sidebar: off-canvas slide-in */
    .catalog-sidebar[b-e4latss9ng] {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 300px;
        min-width: 0;
        max-height: 100vh;
        border-radius: 0;
        border: none;
        border-right: 1px solid #dee2e6;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 1rem;
        padding-bottom: 5rem;
        overflow-y: auto;
    }

    .catalog-sidebar.open[b-e4latss9ng] {
        transform: translateX(0);
    }

    .sidebar-header[b-e4latss9ng] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #dee2e6;
    }

    .sidebar-overlay[b-e4latss9ng] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.3);
        z-index: 1040;
    }

    .mobile-apply-btn[b-e4latss9ng] {
        display: block;
        width: 100%;
        padding: 0.7rem;
        margin-top: 1rem;
        background: #0d6efd;
        border: none;
        border-radius: 8px;
        color: #fff;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.15s;
    }

    .mobile-apply-btn:hover[b-e4latss9ng] {
        background: #0b5ed7;
    }

    .mobile-apply-btn:focus-visible[b-e4latss9ng] {
        outline: 2px solid #0d6efd;
        outline-offset: 2px;
    }

    .catalog-main[b-e4latss9ng] {
        width: 100%;
    }

    .view-toggle-btn[b-e4latss9ng] {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .catalog-sidebar[b-e4latss9ng] {
        width: 100%;
    }
}
/* /Components/Pages/CatalogDetail.razor.rz.scp.css */
/* ── Catalog Detail Page — Light Theme + WCAG AA ───────────── */

/* Page wrapper */
[b-uzzx6ea5xt] .catalog-detail-page {
    padding: 1.5rem;
    background: #f8f9fb;
    min-height: 100vh;
}

/* Centered content column */
[b-uzzx6ea5xt] .catalog-detail {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

/* ── Back link ─────────────────────────────────────────────── */
[b-uzzx6ea5xt] .detail-back-link {
    color: #0d6efd;
    font-size: 0.95rem;
    transition: color 0.15s;
}
[b-uzzx6ea5xt] .detail-back-link:hover {
    color: #0a58ca;
}
[b-uzzx6ea5xt] .detail-back-link:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
    border-radius: 2px;
}

/* ── Spinner ───────────────────────────────────────────────── */
[b-uzzx6ea5xt] .detail-spinner {
    color: #6c757d;
}

/* ── Typography ────────────────────────────────────────────── */
[b-uzzx6ea5xt] .detail-heading {
    font-family: 'Fredoka', sans-serif;
    color: #212529;
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

[b-uzzx6ea5xt] .detail-secondary-text {
    color: #6c757d;
}

/* Author line */
[b-uzzx6ea5xt] .detail-author {
    color: #6c757d;
}

[b-uzzx6ea5xt] .detail-link {
    color: #0d6efd;
}
[b-uzzx6ea5xt] .detail-link:hover {
    color: #0a58ca;
}
[b-uzzx6ea5xt] .detail-author a {
    color: #0d6efd;
}
[b-uzzx6ea5xt] .detail-author a:hover {
    color: #0a58ca;
}

/* Meta info section */
[b-uzzx6ea5xt] .detail-meta {
    color: #6c757d;
}
[b-uzzx6ea5xt] .detail-meta p {
    margin-bottom: 0.35rem;
}

[b-uzzx6ea5xt] .detail-description {
    color: #495057;
    line-height: 1.6;
}

/* ── Header layout ─────────────────────────────────────────── */
[b-uzzx6ea5xt] .detail-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

[b-uzzx6ea5xt] .detail-icon {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
}

[b-uzzx6ea5xt] .detail-icon-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: #212529;
}

[b-uzzx6ea5xt] .detail-info {
    flex: 1;
    min-width: 0;
}

/* ── Stats bar ─────────────────────────────────────────────── */
[b-uzzx6ea5xt] .detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

[b-uzzx6ea5xt] .stat {
    color: #212529;
    font-size: 0.95rem;
}

[b-uzzx6ea5xt] .stat i {
    margin-right: 0.3rem;
    color: #6c757d;
}

/* ── Badges & tags ─────────────────────────────────────────── */
[b-uzzx6ea5xt] .detail-badges {
    display: flex;
    flex-wrap: wrap;
}

/* Source badges */
[b-uzzx6ea5xt] .detail-source-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    width: fit-content;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* CurseForge: #E5572A bg, white text for contrast */
[b-uzzx6ea5xt] .badge-curseforge {
    background: #E5572A;
    color: #fff;
}

/* Modrinth: #18B85A bg, white text for contrast */
[b-uzzx6ea5xt] .badge-modrinth {
    background: #18B85A;
    color: #fff;
}

/* FTB: #1B6BEF bg, white text */
[b-uzzx6ea5xt] .badge-ftb {
    background: #1B6BEF;
    color: #fff;
}

/* Thunderstore: #2196F3 bg, white text */
[b-uzzx6ea5xt] .badge-thunderstore {
    background: #2196F3;
    color: #fff;
}

/* VoteSite / fallback: #7B4DE5 bg, white text */
[b-uzzx6ea5xt] .badge-votesite {
    background: #7B4DE5;
    color: #fff;
}

/* Generic detail tags (versions) — green tint */
[b-uzzx6ea5xt] .detail-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #a3cfbb;
}

/* Loader tags — blue/cyan tint */
[b-uzzx6ea5xt] .detail-tag-loader {
    background: #cff4fc;
    color: #055160;
    border: 1px solid #9eeaf9;
}

/* Category tags — purple/lavender tint */
[b-uzzx6ea5xt] .detail-tag-category {
    background: #e2d9f3;
    color: #432874;
    border: 1px solid #c8b6e2;
}

/* ── Action buttons — ensure dark bg compat ────────────────── */
[b-uzzx6ea5xt] .detail-actions .btn {
    transition: box-shadow 0.15s, opacity 0.15s;
}

[b-uzzx6ea5xt] .detail-actions .btn:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

[b-uzzx6ea5xt] .detail-actions .btn-outline-light {
    color: #495057;
    border-color: #adb5bd;
}

[b-uzzx6ea5xt] .detail-actions .btn-outline-light:hover {
    background: #f8f9fa;
    color: #212529;
}

/* ── Button animation on favorite/request toggle ───────────── */
[b-uzzx6ea5xt] .btn-just-toggled {
    animation: btnPulse-b-uzzx6ea5xt 0.6s ease;
}

@keyframes btnPulse-b-uzzx6ea5xt {
    0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4); }
    40%  { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(13, 110, 253, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

/* ── Focus-visible for all interactive elements ────────────── */
[b-uzzx6ea5xt] a:focus-visible,
[b-uzzx6ea5xt] button:focus-visible,
[b-uzzx6ea5xt] select:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
    border-radius: 2px;
}

/* ── Server vote site listings ─────────────────────────────── */
[b-uzzx6ea5xt] .vote-site-listing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    margin-bottom: 0.5rem;
    color: #212529;
}

[b-uzzx6ea5xt] .vote-site-listing span {
    font-size: 0.9rem;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 576px) {
    [b-uzzx6ea5xt] .catalog-detail-page {
        padding: 1rem;
    }

    [b-uzzx6ea5xt] .detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    [b-uzzx6ea5xt] .detail-info {
        text-align: center;
    }

    [b-uzzx6ea5xt] .detail-stats {
        justify-content: center;
    }

    [b-uzzx6ea5xt] .detail-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    [b-uzzx6ea5xt] .detail-actions .btn {
        width: 100%;
        margin-right: 0 !important;
    }

    [b-uzzx6ea5xt] .vote-site-listing {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}
/* /Components/Pages/CatalogHome.razor.rz.scp.css */
/* ── Catalog Home Page ────────────────────────────────────── */

.catalog-page[b-yz5i4qy5hy] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    min-height: 100vh;
}

/* ── Inline server cards (not using CatalogCard component) ── */

[b-yz5i4qy5hy] .catalog-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #dee2e6;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    height: 100%;
}

[b-yz5i4qy5hy] .catalog-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

[b-yz5i4qy5hy] .catalog-card:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

[b-yz5i4qy5hy] .card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    flex-shrink: 0;
    background: #e9ecef;
}

[b-yz5i4qy5hy] .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[b-yz5i4qy5hy] .card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

[b-yz5i4qy5hy] .card-source-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

[b-yz5i4qy5hy] .card-live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    background: rgba(25, 135, 84, 0.85);
    display: flex;
    align-items: center;
    gap: 2px;
}

[b-yz5i4qy5hy] .badge-votesite { background: #7B4DE5; }

[b-yz5i4qy5hy] .card-body {
    padding: 0.65rem 0.75rem;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

[b-yz5i4qy5hy] .card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem;
}

[b-yz5i4qy5hy] .card-subtitle {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

[b-yz5i4qy5hy] .card-stats {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.75rem;
    color: #6c757d;
    flex-wrap: wrap;
    margin-top: auto;
}

[b-yz5i4qy5hy] .card-stats i { margin-right: 0.2rem; }

/* ── Section headings ── */

.catalog-hero h1[b-yz5i4qy5hy] {
    font-size: 1.8rem;
}

[b-yz5i4qy5hy] .catalog-section h2 {
    font-size: 1.3rem;
}
/* /Components/Pages/CatalogModpacks.razor.rz.scp.css */
/* ── Catalog Modpacks Page ────────────────────────────────── */

.catalog-page[b-xdwqigqmyy] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    min-height: 100vh;
}

.catalog-topbar[b-xdwqigqmyy] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.catalog-search-wrap[b-xdwqigqmyy] {
    flex: 1;
    position: relative;
}

.catalog-search-icon[b-xdwqigqmyy] {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.9rem;
    pointer-events: none;
}

.catalog-search-input[b-xdwqigqmyy] {
    width: 100%;
    padding: 0.625rem 0.875rem 0.625rem 2.35rem;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    color: #212529;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.catalog-search-input[b-xdwqigqmyy]::placeholder { color: #6c757d; }

.catalog-search-input:focus[b-xdwqigqmyy] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.25);
}

/* ── View toggle ── */
[b-xdwqigqmyy] .view-toggle {
    display: flex;
    gap: 2px;
    background: #e9ecef;
    border-radius: 8px;
    padding: 3px;
    flex-shrink: 0;
}

[b-xdwqigqmyy] .view-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

[b-xdwqigqmyy] .view-toggle-btn:hover {
    color: #212529;
    background: rgba(0,0,0,0.04);
}

[b-xdwqigqmyy] .view-toggle-btn.active {
    background: #0d6efd;
    color: #fff;
}
/* /Components/Pages/CatalogMods.razor.rz.scp.css */
/* ── Catalog Mods Page ────────────────────────────────────── */

.catalog-page[b-uwld887c5m] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    min-height: 100vh;
}

.catalog-topbar[b-uwld887c5m] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.catalog-search-wrap[b-uwld887c5m] {
    flex: 1;
    position: relative;
}

.catalog-search-icon[b-uwld887c5m] {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.9rem;
    pointer-events: none;
}

.catalog-search-input[b-uwld887c5m] {
    width: 100%;
    padding: 0.625rem 0.875rem 0.625rem 2.35rem;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    color: #212529;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.catalog-search-input[b-uwld887c5m]::placeholder { color: #6c757d; }

.catalog-search-input:focus[b-uwld887c5m] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.25);
}

/* ── View toggle ── */
[b-uwld887c5m] .view-toggle {
    display: flex;
    gap: 2px;
    background: #e9ecef;
    border-radius: 8px;
    padding: 3px;
    flex-shrink: 0;
}

[b-uwld887c5m] .view-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

[b-uwld887c5m] .view-toggle-btn:hover {
    color: #212529;
    background: rgba(0,0,0,0.04);
}

[b-uwld887c5m] .view-toggle-btn.active {
    background: #0d6efd;
    color: #fff;
}
/* /Components/Pages/CatalogServerEndpoint.razor.rz.scp.css */
/* ── Catalog Server Endpoint Detail Page ──────────────────── */

/* Page wrapper */
.catalog-detail-page[b-joeo9w8z1i] {
    padding: 1.5rem;
    min-height: 100vh;
}

/* Centered content column */
[b-joeo9w8z1i] .catalog-detail {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

/* ── Back link ── */
[b-joeo9w8z1i] .detail-back-link {
    color: #0d6efd;
    font-size: 0.95rem;
    transition: color 0.15s;
}
[b-joeo9w8z1i] .detail-back-link:hover { color: #0a58ca; }

/* ── Spinner / Typography ── */
[b-joeo9w8z1i] .detail-spinner { color: #6c757d; }

[b-joeo9w8z1i] .detail-heading {
    font-family: 'Fredoka', sans-serif;
    color: #212529;
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

[b-joeo9w8z1i] .detail-secondary-text { color: #6c757d; }
[b-joeo9w8z1i] .detail-author { color: #6c757d; }

[b-joeo9w8z1i] .detail-description {
    color: #495057;
    line-height: 1.6;
}

/* ── Header layout ── */
[b-joeo9w8z1i] .detail-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

[b-joeo9w8z1i] .detail-icon {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
}

[b-joeo9w8z1i] .detail-icon-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
}

[b-joeo9w8z1i] .detail-info {
    flex: 1;
    min-width: 0;
}

/* ── Stats bar ── */
[b-joeo9w8z1i] .detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

[b-joeo9w8z1i] .stat {
    color: #212529;
    font-size: 0.95rem;
}

[b-joeo9w8z1i] .stat i {
    margin-right: 0.3rem;
    color: #6c757d;
}

/* ── Source badge ── */
[b-joeo9w8z1i] .detail-source-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    width: fit-content;
}

[b-joeo9w8z1i] .badge-votesite {
    background: #7B4DE5;
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .catalog-detail-page[b-joeo9w8z1i] { padding: 1rem; }

    [b-joeo9w8z1i] .detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    [b-joeo9w8z1i] .detail-info { text-align: center; }

    [b-joeo9w8z1i] .detail-stats { justify-content: center; }
}
/* /Components/Pages/CatalogServers.razor.rz.scp.css */
/* ── Catalog Servers Page ─────────────────────────────────── */

.catalog-page[b-dr4mb1jdxz] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    min-height: 100vh;
}

/* ── Reuse CatalogBrowse search bar styles ── */

.catalog-topbar[b-dr4mb1jdxz] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.catalog-search-wrap[b-dr4mb1jdxz] {
    flex: 1;
    position: relative;
}

.catalog-search-icon[b-dr4mb1jdxz] {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.9rem;
    pointer-events: none;
}

.catalog-search-input[b-dr4mb1jdxz] {
    width: 100%;
    padding: 0.625rem 0.875rem 0.625rem 2.35rem;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    color: #212529;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.catalog-search-input[b-dr4mb1jdxz]::placeholder { color: #6c757d; }

.catalog-search-input:focus[b-dr4mb1jdxz] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.25);
}

/* ── Inline server cards ── */

[b-dr4mb1jdxz] .catalog-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #dee2e6;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    height: 100%;
}

[b-dr4mb1jdxz] .catalog-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

[b-dr4mb1jdxz] .catalog-card:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

[b-dr4mb1jdxz] .card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    flex-shrink: 0;
    background: #e9ecef;
}

[b-dr4mb1jdxz] .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[b-dr4mb1jdxz] .card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

[b-dr4mb1jdxz] .card-source-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

[b-dr4mb1jdxz] .card-live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    background: rgba(25, 135, 84, 0.85);
    display: flex;
    align-items: center;
    gap: 2px;
}

[b-dr4mb1jdxz] .badge-votesite { background: #7B4DE5; }

[b-dr4mb1jdxz] .card-body {
    padding: 0.65rem 0.75rem;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

[b-dr4mb1jdxz] .card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem;
}

[b-dr4mb1jdxz] .card-subtitle {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
    word-break: break-all;
}

[b-dr4mb1jdxz] .card-stats {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.75rem;
    color: #6c757d;
    flex-wrap: wrap;
    margin-top: auto;
}

[b-dr4mb1jdxz] .card-stats i { margin-right: 0.2rem; }
/* /Components/Pages/MissionControl.razor.rz.scp.css */
/* Mission Control — Scoped Styles */

.mc-page[b-fo10y8kbem] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
}

.mc-header[b-fo10y8kbem] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mc-header h1[b-fo10y8kbem] {
    margin: 0;
    font-size: 1.6rem;
}

.mc-header-actions[b-fo10y8kbem] {
    display: flex;
    align-items: center;
}

/* Service health grid */
.mc-section[b-fo10y8kbem] {
    margin-bottom: 2rem;
}

.mc-section-title[b-fo10y8kbem] {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.mc-grid[b-fo10y8kbem] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}

.mc-card[b-fo10y8kbem] {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.mc-card:hover[b-fo10y8kbem] {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mc-card-indicator[b-fo10y8kbem] {
    width: 5px;
    flex-shrink: 0;
}

.mc-up .mc-card-indicator[b-fo10y8kbem] { background: #22c55e; }
.mc-down .mc-card-indicator[b-fo10y8kbem] { background: #ef4444; }
.mc-checking .mc-card-indicator[b-fo10y8kbem] { background: #94a3b8; }

.mc-card-body[b-fo10y8kbem] {
    padding: 0.6rem 0.75rem;
    flex: 1;
    min-width: 0;
}

.mc-card-name[b-fo10y8kbem] {
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mc-card-status[b-fo10y8kbem] {
    font-size: 0.75rem;
    margin-top: 2px;
}

.mc-up .mc-card-status[b-fo10y8kbem] { color: #16a34a; }
.mc-down .mc-card-status[b-fo10y8kbem] { color: #dc2626; font-weight: 700; }
.mc-checking .mc-card-status[b-fo10y8kbem] { color: #64748b; }

/* Worker table */
[b-fo10y8kbem] .mc-table {
    font-size: 0.85rem;
}

[b-fo10y8kbem] .mc-table th {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    border-bottom-width: 2px;
}

.mc-worker-summary[b-fo10y8kbem] {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Live feed */
.mc-feed-controls[b-fo10y8kbem] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mc-feed[b-fo10y8kbem] {
    max-height: 420px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

[b-fo10y8kbem] .mc-feed-table {
    font-size: 0.78rem;
    font-family: 'Cascadia Mono', 'Consolas', monospace;
}

[b-fo10y8kbem] .mc-feed-table thead th {
    position: sticky;
    top: 0;
    background: #f1f5f9;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    z-index: 1;
    border-bottom: 2px solid #cbd5e1;
}

[b-fo10y8kbem] .mc-feed-table tbody tr {
    animation: mc-fadein 0.3s ease-out;
}

.mc-feed-time[b-fo10y8kbem] {
    color: #6b7280;
    font-size: 0.72rem;
}

.mc-feed-path[b-fo10y8kbem] {
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@@keyframes mc-fadein {
    from[b-fo10y8kbem] { opacity: 0; transform: translateY(-4px); }
    to[b-fo10y8kbem] { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@@media (max-width: 768px) {
    .mc-grid[b-fo10y8kbem] {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.5rem;
    }

    .mc-feed[b-fo10y8kbem] {
        max-height: 300px;
    }

    .mc-feed-path[b-fo10y8kbem] {
        max-width: 200px;
    }
}
/* /Components/Pages/WorkbenchBoard.razor.rz.scp.css */
/* WorkbenchBoard — Responsive layout + touch support */

/* Desktop sidebar */
[b-7jb3wgvezm] .workbench-sidebar {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
}

/* Draggable cursor — desktop only */
[b-7jb3wgvezm] .workbench-draggable,
[b-7jb3wgvezm] .workbench-card {
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

[b-7jb3wgvezm] .workbench-draggable:active,
[b-7jb3wgvezm] .workbench-card:active {
    cursor: grabbing;
}

/* Server card sizing */
[b-7jb3wgvezm] .workbench-card {
    min-width: 200px;
    max-width: 240px;
}

[b-7jb3wgvezm] .workbench-card.w-100 {
    max-width: 100% !important;
}

/* Touch drop target highlight */
[b-7jb3wgvezm] .touch-drop-hover {
    outline: 2px dashed #0d6efd !important;
    outline-offset: -2px;
    background-color: rgba(13, 110, 253, 0.05) !important;
}

/* ── Mobile: < 768px ── */
@media (max-width: 767.98px) {
    /* Hide sidebar by default on mobile */
    [b-7jb3wgvezm] .workbench-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 85vw;
        max-width: 320px;
        height: 100vh;
        z-index: 1060;
        background: white;
        box-shadow: 4px 0 16px rgba(0, 0, 0, 0.15);
        padding-top: 60px;
        overflow-y: auto;
    }

    [b-7jb3wgvezm] .workbench-sidebar.show {
        display: block;
    }

    /* Stack layout vertically */
    [b-7jb3wgvezm] .workbench-layout {
        flex-direction: column !important;
    }

    /* Cards go full width */
    [b-7jb3wgvezm] .workbench-card {
        min-width: unset !important;
        max-width: 100% !important;
        width: 100%;
    }

    /* Server cards wrap single column */
    [b-7jb3wgvezm] .d-flex.flex-wrap.gap-2 {
        flex-direction: column !important;
    }

    /* Make board container full width */
    [b-7jb3wgvezm] .workbench-board {
        max-width: 100% !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

/* ── Tablet: 768px-991px ── */
@media (min-width: 768px) and (max-width: 991.98px) {
    [b-7jb3wgvezm] .workbench-sidebar {
        width: 220px;
        min-width: 220px;
    }

    [b-7jb3wgvezm] .workbench-card {
        min-width: 180px;
        max-width: 200px;
    }
}
/* /Components/Shared/CatalogCard.razor.rz.scp.css */
/* ── Catalog Card ───────────────────────────────────────────── */

.catalog-card[b-wqsz5w8o87] {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #dee2e6;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    height: 100%;
}

.catalog-card:hover[b-wqsz5w8o87] {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.catalog-card:focus-visible[b-wqsz5w8o87] {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

[b-wqsz5w8o87] .card-image { position: relative; aspect-ratio: 4/3; overflow: hidden; flex-shrink: 0; }
[b-wqsz5w8o87] .card-image img { width: 100%; height: 100%; object-fit: cover; }

[b-wqsz5w8o87] .card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

[b-wqsz5w8o87] .card-source-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

[b-wqsz5w8o87] .badge-curseforge { background: #E5572A; color: #fff; }
[b-wqsz5w8o87] .badge-modrinth  { background: #18B85A; color: #fff; }
[b-wqsz5w8o87] .badge-ftb       { background: #1B6BEF; color: #fff; }
[b-wqsz5w8o87] .badge-thunderstore { background: #2196F3; color: #fff; }
[b-wqsz5w8o87] .badge-votesite  { background: #7B4DE5; color: #fff; }

[b-wqsz5w8o87] .card-live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    background: rgba(25, 135, 84, 0.85);
    display: flex;
    align-items: center;
    gap: 2px;
}

[b-wqsz5w8o87] .card-body { padding: 0.5rem 0.6rem; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: space-between; }

[b-wqsz5w8o87] .card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.15rem;
}

[b-wqsz5w8o87] .card-subtitle {
    font-size: 0.72rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

[b-wqsz5w8o87] .card-stats {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.75rem;
    color: #6c757d;
    flex-wrap: wrap;
    margin-top: auto;
}

[b-wqsz5w8o87] .card-stats i { margin-right: 0.2rem; }

[b-wqsz5w8o87] .mc-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #a3cfbb;
    font-size: 0.65rem;
    font-weight: 500;
}

[b-wqsz5w8o87] .heart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #6c757d;
    font-size: 0.75rem;
    transition: color 0.2s;
    position: relative;
}

[b-wqsz5w8o87] .heart-btn:hover { color: #ff6b81; }
[b-wqsz5w8o87] .heart-btn:focus-visible { outline: 2px solid #0d6efd; outline-offset: 2px; border-radius: 4px; }
[b-wqsz5w8o87] .heart-btn.hearted { color: #ff4757; }
[b-wqsz5w8o87] .heart-btn.heart-just-toggled i { animation: heartPop-b-wqsz5w8o87 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67); }
[b-wqsz5w8o87] .heart-count { font-size: 0.7rem; }

/* Ring pulse that expands out from the heart */
[b-wqsz5w8o87] .heart-btn.heart-just-toggled::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #ff4757;
    animation: heartRing-b-wqsz5w8o87 0.6s ease forwards;
    pointer-events: none;
}

/* Brief glow on the card when favorited */
.catalog-card.card-just-toggled[b-wqsz5w8o87] {
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.35), 0 4px 15px rgba(255, 71, 87, 0.15);
}

@keyframes heartPop-b-wqsz5w8o87 {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.5); }
    60%  { transform: scale(0.85); }
    100% { transform: scale(1); }
}

@keyframes heartRing-b-wqsz5w8o87 {
    0%   { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}
/* /Components/Shared/CatalogGrid.razor.rz.scp.css */
/* ── Catalog Grid — Skeletons & Layout ──────────────────────── */

/* Grid skeleton (card placeholders) */
[b-0ppg5aml7x] .catalog-grid-skeleton {
    aspect-ratio: 3/4;
    background: #e9ecef;
    border-radius: 8px;
}

[b-0ppg5aml7x] .grid-skeleton-pulse {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%);
    background-size: 200% 100%;
    animation: grid-pulse-b-0ppg5aml7x 1.5s infinite;
}

@keyframes grid-pulse-b-0ppg5aml7x {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── List View ─────────────────────────────────────────────── */

[b-0ppg5aml7x] .catalog-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* List skeleton (row placeholders) */
[b-0ppg5aml7x] .catalog-list-skeleton {
    height: 72px;
    border-radius: 8px;
    background: #e9ecef;
}

[b-0ppg5aml7x] .list-skeleton-pulse {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%);
    background-size: 200% 100%;
    animation: grid-pulse-b-0ppg5aml7x 1.5s infinite;
}
/* /Components/Shared/CatalogListItem.razor.rz.scp.css */
/* ── Catalog List Item (horizontal row) ─────────────────────── */

.catalog-list-item[b-e6idw6ybyj] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
    transition: background 0.15s;
}

.catalog-list-item:hover[b-e6idw6ybyj] {
    background: #f8f9fa;
}

.catalog-list-item:focus-visible[b-e6idw6ybyj] {
    outline: 2px solid #0d6efd;
    outline-offset: -2px;
}

/* ── Icon ── */

[b-e6idw6ybyj] .list-icon {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

[b-e6idw6ybyj] .list-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

[b-e6idw6ybyj] .icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    border-radius: 6px;
}

[b-e6idw6ybyj] .live-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #1BD96A;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* ── Middle info column ── */

[b-e6idw6ybyj] .list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

[b-e6idw6ybyj] .list-title-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

[b-e6idw6ybyj] .list-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-e6idw6ybyj] .list-source-pill {
    flex-shrink: 0;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

[b-e6idw6ybyj] .list-subtitle {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-e6idw6ybyj] .subtitle-sep {
    margin: 0 0.25rem;
    color: #6c757d;
}

[b-e6idw6ybyj] .list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.1rem;
}

[b-e6idw6ybyj] .tag-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    background: #e7f1ff;
    color: #084298;
    border: 1px solid #b6d4fe;
    font-size: 0.62rem;
    font-weight: 500;
    line-height: 1.4;
}

/* ── Source badge colors ── */

[b-e6idw6ybyj] .badge-curseforge { background: #E5572A; color: #fff; }
[b-e6idw6ybyj] .badge-modrinth  { background: #18B85A; color: #fff; }
[b-e6idw6ybyj] .badge-ftb       { background: #1B6BEF; color: #fff; }
[b-e6idw6ybyj] .badge-thunderstore { background: #2196F3; color: #fff; }
[b-e6idw6ybyj] .badge-votesite  { background: #7B4DE5; color: #fff; }

/* ── Right stats column ── */

[b-e6idw6ybyj] .list-stats {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: #6c757d;
}

[b-e6idw6ybyj] .stat {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
}

[b-e6idw6ybyj] .mc-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #a3cfbb;
    font-size: 0.65rem;
    font-weight: 500;
}

/* ── Heart / Favorite button ── */

[b-e6idw6ybyj] .heart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background: none;
    border: none;
    padding: 0.15rem;
    cursor: pointer;
    color: #6c757d;
    font-size: 0.8rem;
    transition: color 0.2s;
    position: relative;
}

[b-e6idw6ybyj] .heart-btn:hover { color: #ff6b81; }
[b-e6idw6ybyj] .heart-btn:focus-visible { outline: 2px solid #0d6efd; outline-offset: 2px; border-radius: 4px; }
[b-e6idw6ybyj] .heart-btn.hearted { color: #ff4757; }
[b-e6idw6ybyj] .heart-btn.heart-just-toggled i { animation: heartPop-b-e6idw6ybyj 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67); }
[b-e6idw6ybyj] .heart-count { font-size: 0.7rem; }

/* Ring pulse that expands out from the heart */
[b-e6idw6ybyj] .heart-btn.heart-just-toggled::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #ff4757;
    animation: heartRing-b-e6idw6ybyj 0.6s ease forwards;
    pointer-events: none;
}

/* Brief highlight flash on the row when favorited */
.catalog-list-item.row-just-toggled[b-e6idw6ybyj] {
    animation: rowFlash-b-e6idw6ybyj 0.6s ease;
}

@keyframes heartPop-b-e6idw6ybyj {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.5); }
    60%  { transform: scale(0.85); }
    100% { transform: scale(1); }
}

@keyframes heartRing-b-e6idw6ybyj {
    0%   { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

@keyframes rowFlash-b-e6idw6ybyj {
    0%   { background: #fff; }
    30%  { background: rgba(255, 71, 87, 0.08); }
    100% { background: #fff; }
}

/* ── Responsive: mobile ── */

@media (max-width: 768px) {
    .catalog-list-item[b-e6idw6ybyj] {
        gap: 0.5rem;
        padding: 0.5rem;
    }

    [b-e6idw6ybyj] .list-icon {
        width: 40px;
        height: 40px;
    }

    [b-e6idw6ybyj] .list-subtitle {
        display: none;
    }

    [b-e6idw6ybyj] .list-tags {
        display: none;
    }

    [b-e6idw6ybyj] .list-name {
        font-size: 0.82rem;
    }
}
/* /Components/Shared/CatalogNav.razor.rz.scp.css */
.catalog-nav[b-oqq4bfl7dt] {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #dee2e6;
}

.catalog-nav-tab[b-oqq4bfl7dt] {
    padding: 0.6rem 1.25rem;
    border-radius: 8px 8px 0 0;
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.catalog-nav-tab:hover[b-oqq4bfl7dt] {
    color: #212529;
    background: rgba(0, 0, 0, 0.04);
}

.catalog-nav-tab.active[b-oqq4bfl7dt] {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    background: rgba(13, 110, 253, 0.06);
}

@@media (max-width: 576px) {
    .catalog-nav[b-oqq4bfl7dt] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .catalog-nav-tab[b-oqq4bfl7dt] {
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}
/* /Components/Shared/CatalogRow.razor.rz.scp.css */
/* ── Catalog Row ────────────────────────────────────────────── */

.catalog-row[b-dnaojphtym] { margin-bottom: 1.5rem; }

[b-dnaojphtym] .row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

[b-dnaojphtym] .row-header h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
    color: #212529;
    margin: 0;
}

[b-dnaojphtym] .view-all {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
}

[b-dnaojphtym] .view-all:hover { color: #212529; }

[b-dnaojphtym] .row-scroll-container { position: relative; }

[b-dnaojphtym] .row-cards {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.25rem 0;
}

[b-dnaojphtym] .row-cards::-webkit-scrollbar { display: none; }

[b-dnaojphtym] .row-cards > * {
    scroll-snap-align: start;
    flex: 0 0 200px;
}

[b-dnaojphtym] .scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

[b-dnaojphtym] .scroll-arrow:hover { background: rgba(0,0,0,0.7); }
[b-dnaojphtym] .scroll-arrow:focus-visible { outline: 2px solid #0d6efd; outline-offset: 2px; }
[b-dnaojphtym] .scroll-left  { left: -12px; }
[b-dnaojphtym] .scroll-right { right: -12px; }

[b-dnaojphtym] .skeleton-card { border-radius: 8px; background: #e9ecef; min-height: 200px; }

[b-dnaojphtym] .skeleton-pulse {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%);
    background-size: 200% 100%;
    animation: catalog-pulse-b-dnaojphtym 1.5s infinite;
}

@keyframes catalog-pulse-b-dnaojphtym {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 768px) {
    [b-dnaojphtym] .row-cards > * { flex: 0 0 160px; }
    [b-dnaojphtym] .scroll-arrow { display: none; }
}

@media (min-width: 1200px) {
    [b-dnaojphtym] .row-cards > * { flex: 0 0 220px; }
}
/* /Components/Shared/CatalogSpotlight.razor.rz.scp.css */
/* ── Spotlight Hero ──────────────────────────────────────────── */

.catalog-spotlight[b-1366uvdk61] {
    width: 100%;
    max-height: 400px;
    min-height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    background: #0d0d1a;
}

[b-1366uvdk61] .spotlight-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

[b-1366uvdk61] .spotlight-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(28px) brightness(0.4) saturate(1.4);
    transform: scale(1.2);
}

[b-1366uvdk61] .spotlight-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.82) 35%, rgba(0,0,0,0.2) 100%);
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-end;
    color: white;
}

[b-1366uvdk61] .spotlight-icon {
    width: 128px;
    height: 128px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

[b-1366uvdk61] .spotlight-icon-placeholder {
    width: 128px;
    height: 128px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

[b-1366uvdk61] .spotlight-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
}

[b-1366uvdk61] .spotlight-text h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

[b-1366uvdk61] .spotlight-author { opacity: 0.9; margin-bottom: 0.25rem; }
[b-1366uvdk61] .spotlight-desc { max-width: 500px; margin-bottom: 0.5rem; }

[b-1366uvdk61] .spotlight-stats {
    display: flex;
    gap: 1.25rem;
    font-size: 0.95rem;
}

[b-1366uvdk61] .spotlight-stats i { margin-right: 0.3rem; }

/* ── Source badges (shared naming) ────────────────────────────── */

[b-1366uvdk61] .source-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    width: fit-content;
}

[b-1366uvdk61] .badge-curseforge { background: #F16436; color: #000; }
[b-1366uvdk61] .badge-modrinth  { background: #1BD96A; color: #000; }
[b-1366uvdk61] .badge-ftb       { background: #1B6BEF; }
[b-1366uvdk61] .badge-votesite  { background: #7B4DE5; }

@media (max-width: 768px) {
    .catalog-spotlight[b-1366uvdk61] { max-height: 300px; }
    [b-1366uvdk61] .spotlight-text h1 { font-size: 1.4rem; }
    [b-1366uvdk61] .spotlight-desc { display: none; }
    [b-1366uvdk61] .spotlight-icon { width: 80px; height: 80px; }
}
