/* Partypeople – Bau-Modus & Katalog (aus geocraft.css ausgelagert) */
/* =============================================================
   Build Catalog Modal & Buildable Items Grid Styles (Compact & Mobile-First)
   ============================================================= */
.build-catalog-container {
    max-width: 640px !important;
    width: 95vw !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 16px 18px !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    background: rgba(10, 14, 24, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 240, 255, 0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.build-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
    flex-shrink: 0;
}
.build-modal-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.build-modal-header-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
    flex-shrink: 0;
}
.build-modal-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.2px;
}
.build-modal-sub {
    margin: 2px 0 0 0;
    font-size: 0.72rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn-build-close {
    padding: 4px 10px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    cursor: pointer;
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.15s ease;
}
.btn-build-close:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

/* Featured Hero: Party pinnen — Sleek horizontal card, 100% visible */
.build-party-hero {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 15px rgba(0, 240, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0 !important;
    min-height: auto !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.build-party-hero:hover {
    border-color: rgba(0, 240, 255, 0.55);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 240, 255, 0.18);
}
.build-party-hero-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.build-party-hero-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.build-party-hero-info {
    min-width: 0;
}
.build-party-hero-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.build-party-hero-title {
    font-size: 0.96rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    white-space: nowrap;
}
.build-party-hero-pill {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: #00f0ff;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
}
.build-party-hero-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn-party-hero-action {
    padding: 9px 16px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2) 0%, rgba(112, 0, 255, 0.25) 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.45) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 240, 255, 0.2) !important;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-party-hero-action:hover, .btn-party-hero-action:active {
    transform: translateY(-1px);
    filter: brightness(1.15);
    border-color: rgba(0, 240, 255, 0.75) !important;
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.35) !important;
}

/* Section label */
.build-section-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #64748b;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.build-catalog-sparks-badge {
    font-size: 0.76rem;
    font-weight: 700;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
    padding: 2px 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 2-Column Grid for 3D Items */
.build-compact-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

/* Zombie film set sections (dynamically rendered from prop registry) */
#build-zombie-sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}
.build-zombie-category {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.build-zombie-hint {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #64748b;
    text-align: right;
}

/* Uniform, orderly item card */
.build-mini-card {
    background: rgba(15, 23, 42, 0.65) !important;
    border: 1px solid rgba(0, 240, 255, 0.18) !important;
    border-radius: 12px !important;
    padding: 11px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}
.build-mini-card:hover {
    border-color: rgba(0, 240, 255, 0.5) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 14px rgba(0, 240, 255, 0.15) !important;
    transform: translateY(-1px) !important;
}

.build-mini-head {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
}
.build-mini-icon-wrap {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(0, 240, 255, 0.22) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
}
.build-mini-meta {
    min-width: 0 !important;
    flex: 1 !important;
}
.build-mini-title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25 !important;
}
.build-mini-tag {
    font-size: 0.66rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 1px !important;
}

.build-mini-desc {
    margin: 0 !important;
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
    color: #94a3b8 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.7em !important;
}

.build-mini-cost-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
    padding-top: 2px !important;
}
.build-mini-cost-label {
    color: #64748b !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
}
.build-cost-badge {
    font-weight: 700 !important;
    font-size: 0.73rem !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #e2e8f0 !important;
    white-space: nowrap !important;
}

.btn-mini-build {
    width: 100% !important;
    padding: 6px 10px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: 7px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    background: rgba(0, 240, 255, 0.1) !important;
    border: 1px solid rgba(0, 240, 255, 0.32) !important;
    color: #00f0ff !important;
    transition: all 0.16s ease !important;
    white-space: nowrap !important;
}
.btn-mini-build:hover {
    background: rgba(0, 240, 255, 0.22) !important;
    border-color: rgba(0, 240, 255, 0.6) !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.22) !important;
}

/* Footer */
.build-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.18);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.72rem;
    color: #94a3b8;
    flex-shrink: 0;
}
.build-modal-footer-tip strong {
    color: #00f0ff;
}
.btn-build-footer-close {
    padding: 3px 8px;
    font-size: 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s ease;
}
.btn-build-footer-close:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Responsive: 1-column on narrow smartphones (<480px) */
@media (max-width: 480px) {
    .build-catalog-container {
        width: 96vw !important;
        padding: 12px 12px !important;
        max-height: 90vh !important;
        border-radius: 14px !important;
    }
    .build-party-hero {
        flex-direction: column;
        align-items: stretch;
        gap: 9px;
        padding: 10px 12px;
    }
    .btn-party-hero-action {
        width: 100%;
    }
    .build-compact-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .build-mini-card {
        padding: 9px 10px !important;
    }
}
#sign-interaction-prompt {
    display: none !important;
}

/* =============================================================
   Bau-Katalog 2.0 – Online-Katalog-Layout mit Kategorien & Suche
   ============================================================= */
.build-catalog-shell {
    width: min(1120px, 96vw) !important;
    max-width: 1120px !important;
    height: min(88vh, 860px) !important;
    max-height: 88vh !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    background: linear-gradient(180deg, rgba(12, 17, 29, 0.985) 0%, rgba(8, 11, 20, 0.995) 100%) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 60px rgba(0, 240, 255, 0.12) !important;
    display: flex !important;
    flex-direction: column !important;
}

.build-catalog-shell .build-modal-header {
    padding: 15px 20px !important;
    gap: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: radial-gradient(ellipse at top left, rgba(0, 240, 255, 0.09), transparent 62%) !important;
}
.build-catalog-shell .build-modal-header-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    font-size: 1.35rem !important;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(112, 0, 255, 0.22)) !important;
    border-color: rgba(0, 240, 255, 0.4) !important;
}
.build-catalog-shell .build-modal-header-left > div {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}
.build-catalog-shell .build-modal-title {
    font-size: 1.22rem !important;
    letter-spacing: -0.5px !important;
}
.build-catalog-shell .build-modal-sub {
    font-size: 0.74rem !important;
    max-width: min(430px, 100%) !important;
}
.build-catalog-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}
.build-catalog-balance {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    background: rgba(255, 215, 0, 0.08) !important;
    border: 1px solid rgba(255, 215, 0, 0.28) !important;
    color: #ffd700 !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}
.build-catalog-balance-icon {
    font-size: 0.92rem !important;
}
.build-catalog-balance-label {
    color: #a88b1f !important;
    font-size: 0.66rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
}

.build-catalog-shell .build-party-hero {
    margin: 12px 20px 0 !important;
    background: linear-gradient(135deg, rgba(255, 0, 127, 0.09) 0%, rgba(15, 23, 42, 0.8) 60%, rgba(0, 240, 255, 0.06) 100%) !important;
    border-color: rgba(255, 0, 127, 0.28) !important;
}
.build-catalog-shell .build-party-hero:hover {
    border-color: rgba(255, 0, 127, 0.5) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 0, 127, 0.14) !important;
}
.build-catalog-shell .build-party-hero-icon {
    background: rgba(255, 0, 127, 0.12) !important;
    border-color: rgba(255, 0, 127, 0.35) !important;
}
.build-catalog-shell .build-party-hero-pill {
    background: rgba(255, 0, 127, 0.12) !important;
    border-color: rgba(255, 0, 127, 0.32) !important;
    color: #ff5ca8 !important;
}

.build-catalog-toolbar {
    padding: 12px 20px 10px !important;
    flex-shrink: 0 !important;
}
.build-catalog-search {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    height: 43px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(15, 23, 42, 0.72) !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}
.build-catalog-search:focus-within {
    border-color: rgba(0, 240, 255, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.08) !important;
}
.build-catalog-search-icon {
    font-size: 0.92rem !important;
    opacity: 0.75 !important;
}
.build-catalog-search input {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #f8fafc !important;
    font: inherit !important;
    font-size: 0.84rem !important;
}
.build-catalog-search input::placeholder {
    color: #64748b !important;
}
.build-catalog-search input::-webkit-search-cancel-button {
    display: none !important;
}
.build-catalog-search-clear {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    font-size: 0.68rem !important;
    cursor: pointer !important;
}
.build-catalog-search-clear.is-visible {
    display: inline-flex !important;
}
.build-catalog-search-clear:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.16) !important;
}

.build-catalog-body {
    display: flex !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
}
.build-catalog-sidebar {
    width: 228px !important;
    flex: 0 0 228px !important;
    padding: 14px 12px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 60%) !important;
}
.build-catalog-sidebar-title {
    padding: 2px 10px 8px !important;
    font-size: 0.6rem !important;
    font-weight: 800 !important;
    letter-spacing: 1.1px !important;
    text-transform: uppercase !important;
    color: #64748b !important;
}
.build-catalog-cat {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 9px 10px !important;
    margin: 0 0 3px 0 !important;
    border: 1px solid transparent !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #94a3b8 !important;
    font: inherit !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}
.build-catalog-cat:hover {
    background: rgba(255, 255, 255, 0.045) !important;
    color: #f1f5f9 !important;
}
.build-catalog-cat.is-active {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.15), rgba(112, 0, 255, 0.09)) !important;
    border-color: rgba(0, 240, 255, 0.32) !important;
    color: #ffffff !important;
    box-shadow: inset 3px 0 0 #00f0ff !important;
}
.build-catalog-cat-icon {
    width: 22px !important;
    height: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.92rem !important;
    flex-shrink: 0 !important;
}
.build-catalog-cat-label {
    flex: 1 !important;
    min-width: 0 !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.build-catalog-cat-count {
    flex-shrink: 0 !important;
    min-width: 21px !important;
    padding: 1px 6px !important;
    box-sizing: border-box !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: #64748b !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    text-align: center !important;
}
.build-catalog-cat.is-active .build-catalog-cat-count {
    background: rgba(0, 240, 255, 0.16) !important;
    color: #00f0ff !important;
}
.build-catalog-sidebar-promo {
    display: flex !important;
    gap: 8px !important;
    margin-top: 14px !important;
    padding: 10px 11px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(168, 85, 247, 0.22) !important;
    background: rgba(112, 0, 255, 0.07) !important;
    color: #94a3b8 !important;
    font-size: 0.66rem !important;
    line-height: 1.45 !important;
}
.build-catalog-sidebar-promo strong {
    color: #e9d5ff !important;
}
.build-catalog-sidebar-promo span {
    color: #c084fc !important;
    font-weight: 700 !important;
}
.build-catalog-sidebar-promo-icon {
    font-size: 1rem !important;
    line-height: 1.3 !important;
}

.build-catalog-main {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 16px 20px 22px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    scrollbar-gutter: stable !important;
}
.build-catalog-topline {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
}
.build-catalog-topline h3 {
    margin: 0 !important;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
    color: #f8fafc !important;
}
.build-catalog-topline p {
    margin: 3px 0 0 0 !important;
    font-size: 0.71rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
}
.build-catalog-sort {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: #64748b !important;
}
.build-catalog-sort select {
    -webkit-appearance: none !important;
    appearance: none !important;
    padding: 7px 27px 7px 10px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background-color: rgba(15, 23, 42, 0.9) !important;
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%) !important;
    background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50% !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
    color: #cbd5e1 !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    outline: none !important;
}
.build-catalog-sort select option {
    background: #0f172a !important;
    color: #e2e8f0 !important;
}

.build-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}
.build-catalog-card {
    --cat-accent: #00f0ff;
    --cat-glow: rgba(0, 240, 255, 0.17);
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
    border-radius: 13px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(15, 23, 42, 0.6) !important;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}
.build-catalog-card[data-category="party"] { --cat-accent: #ff3d9a; --cat-glow: rgba(255, 0, 127, 0.2); }
.build-catalog-card[data-category="signs"] { --cat-accent: #00f0ff; --cat-glow: rgba(0, 240, 255, 0.18); }
.build-catalog-card[data-category="light"] { --cat-accent: #ffb020; --cat-glow: rgba(255, 176, 32, 0.18); }
.build-catalog-card[data-category="set"] { --cat-accent: #94a3b8; --cat-glow: rgba(148, 163, 184, 0.16); }
.build-catalog-card[data-category="film"] { --cat-accent: #c084fc; --cat-glow: rgba(168, 85, 247, 0.19); }
.build-catalog-card[data-category="zombie"] { --cat-accent: #a3e635; --cat-glow: rgba(163, 230, 53, 0.17); }
.build-catalog-card:hover {
    transform: translateY(-2px) !important;
    border-color: var(--cat-accent) !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45), 0 0 20px var(--cat-glow) !important;
}
.build-catalog-card-visual {
    position: relative !important;
    height: 98px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    background:
        radial-gradient(circle at 50% 36%, var(--cat-glow), transparent 62%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(5, 8, 16, 0.28)) !important;
    overflow: hidden !important;
}
.build-catalog-card-visual::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) !important;
    background-size: 18px 18px !important;
    opacity: 0.7 !important;
    pointer-events: none !important;
}
.build-catalog-card-icon {
    position: relative !important;
    z-index: 1 !important;
    font-size: 2.45rem !important;
    line-height: 1 !important;
    transform: translateY(-2px) !important;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5)) !important;
}
.build-catalog-card-badges {
    position: absolute !important;
    z-index: 2 !important;
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    pointer-events: none !important;
}
.build-catalog-badge {
    padding: 3px 7px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    background: rgba(8, 12, 20, 0.74) !important;
    color: #cbd5e1 !important;
    font-size: 0.55rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.35px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    backdrop-filter: blur(6px) !important;
}
.build-catalog-badge.is-filmset {
    color: #e9d5ff !important;
    border-color: rgba(168, 85, 247, 0.45) !important;
    background: rgba(76, 29, 149, 0.4) !important;
}
.build-catalog-badge.is-halloween {
    color: #ffedd5 !important;
    border-color: rgba(249, 115, 22, 0.5) !important;
    background: rgba(124, 45, 18, 0.46) !important;
}
.build-catalog-badge.is-osm {
    color: #d1fae5 !important;
    border-color: rgba(16, 185, 129, 0.5) !important;
    background: rgba(6, 78, 59, 0.48) !important;
}
.build-catalog-badge.is-buildings {
    color: #fef3c7 !important;
    border-color: rgba(245, 158, 11, 0.55) !important;
    background: rgba(120, 53, 15, 0.46) !important;
}
.build-catalog-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    gap: 5px !important;
    padding: 10px 12px 12px !important;
    min-width: 0 !important;
}
.build-catalog-card-title {
    font-size: 0.89rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.build-catalog-card-spec {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.25px !important;
    color: var(--cat-accent) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.build-catalog-card-desc {
    margin: 0 !important;
    min-height: 2.7em !important;
    font-size: 0.7rem !important;
    line-height: 1.4 !important;
    color: #94a3b8 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.build-catalog-card-foot {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-top: auto !important;
    padding-top: 7px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.055) !important;
}
.build-catalog-price {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
    min-width: 0 !important;
}
.build-catalog-price-label {
    color: #64748b !important;
    font-size: 0.55rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}
.build-catalog-price-value {
    color: #ffd700 !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}
.build-catalog-price.is-insufficient .build-catalog-price-value {
    color: #ff6b7d !important;
}
.build-catalog-crown {
    font-size: 0.72rem !important;
}
.build-catalog-buy {
    flex-shrink: 0 !important;
    padding: 7px 10px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.14), rgba(112, 0, 255, 0.12)) !important;
    color: #eaffff !important;
    font: inherit !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease !important;
}
.build-catalog-buy:hover {
    filter: brightness(1.2) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(0, 240, 255, 0.22) !important;
}
.build-catalog-buy.is-short {
    border-color: rgba(255, 85, 102, 0.38) !important;
    background: rgba(255, 85, 102, 0.09) !important;
    color: #ff9aa6 !important;
}

.build-catalog-empty {
    display: none;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 50px 20px !important;
    text-align: center !important;
    border: 1px dashed rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.018) !important;
}
.build-catalog-empty-icon {
    font-size: 1.8rem !important;
    opacity: 0.8 !important;
}
.build-catalog-empty-title {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #f8fafc !important;
}
.build-catalog-empty p {
    margin: 0 0 4px 0 !important;
    max-width: 320px !important;
    font-size: 0.75rem !important;
    line-height: 1.45 !important;
    color: #94a3b8 !important;
}
.build-catalog-empty .btn-geo {
    padding: 7px 14px !important;
    font-size: 0.75rem !important;
    cursor: pointer !important;
}

.build-catalog-shell .build-modal-footer {
    margin: 0 20px 14px !important;
    flex-shrink: 0 !important;
}

@media (max-width: 900px) {
    .build-catalog-shell {
        width: 96vw !important;
        height: 92vh !important;
        max-height: 92vh !important;
        border-radius: 16px !important;
    }
    .build-catalog-shell .build-modal-header {
        padding: 12px 14px !important;
    }
    .build-catalog-shell .build-modal-header-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.15rem !important;
    }
    .build-catalog-shell .build-modal-title {
        font-size: 1.05rem !important;
    }
    .build-catalog-shell .build-modal-sub {
        font-size: 0.68rem !important;
    }
    .build-catalog-balance {
        padding: 6px 9px !important;
        font-size: 0.72rem !important;
    }
    .build-catalog-balance-label {
        display: none !important;
    }
    .build-catalog-shell .build-party-hero {
        margin: 10px 14px 0 !important;
    }
    .build-catalog-toolbar {
        padding: 10px 14px 8px !important;
    }
    .build-catalog-body {
        flex-direction: column !important;
    }
    .build-catalog-sidebar {
        width: 100% !important;
        flex: 0 0 auto !important;
        padding: 8px 14px 9px !important;
        overflow: visible !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    }
    .build-catalog-sidebar-title,
    .build-catalog-sidebar-promo {
        display: none !important;
    }
    #build-catalog-categories {
        display: flex !important;
        gap: 6px !important;
        overflow-x: auto !important;
        padding-bottom: 2px !important;
        scrollbar-width: none !important;
    }
    #build-catalog-categories::-webkit-scrollbar {
        display: none !important;
    }
    .build-catalog-cat {
        width: auto !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 7px 10px !important;
        white-space: nowrap !important;
    }
    .build-catalog-cat-count {
        display: none !important;
    }
    .build-catalog-main {
        padding: 13px 14px 18px !important;
    }
    .build-catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
        gap: 10px !important;
    }
    .build-catalog-card-visual {
        height: 82px !important;
    }
    .build-catalog-card-icon {
        font-size: 2rem !important;
    }
    .build-catalog-shell .build-modal-footer {
        margin: 0 14px 10px !important;
    }
}

@media (max-width: 560px) {
    .build-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .build-catalog-card-body {
        padding: 9px 10px 10px !important;
    }
    .build-catalog-card-title {
        font-size: 0.82rem !important;
    }
    .build-catalog-buy {
        padding: 7px 8px !important;
        font-size: 0.68rem !important;
    }
    .build-catalog-sort span {
        display: none !important;
    }
    .build-catalog-topline h3 {
        font-size: 0.94rem !important;
    }
    .build-catalog-badge.is-filmset {
        display: none !important;
    }
    .build-catalog-shell .build-modal-footer-tip {
        display: none !important;
    }
}

@media (max-width: 390px) {
    .build-catalog-grid {
        grid-template-columns: 1fr !important;
    }
    .build-catalog-card-desc {
        min-height: 0 !important;
    }
}





