/* ================================================================
   SHELTER (Убежище) — блоки, карточки
   ================================================================ */
.shelter-page {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}
.shelter-desc {
    font-size: 13px;
    color: #a1a1aa;
    text-align: center;
    padding: 0 4px;
}
.shelter-blocks-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.shelter-block-card {
    background: rgba(39,39,42,0.7);
    border: 1px solid #3f3f46;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.shelter-block-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.shelter-block-icon {
    font-size: 28px;
    min-width: 36px;
    text-align: center;
}
.shelter-block-info {
    flex: 1;
}
.shelter-block-name {
    font-weight: 600;
    font-size: 15px;
    color: #e4e4e7;
}
.shelter-block-level {
    font-size: 12px;
    color: #71717a;
}
.shelter-block-desc {
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.4;
}
.shelter-bonuses {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.shelter-usecase {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(161, 161, 170, 0.2);
    background: rgba(24, 24, 27, 0.42);
}

.shelter-usecase-basic_repair {
    border-color: rgba(163, 163, 163, 0.35);
    background: rgba(63, 63, 70, 0.28);
}

.shelter-usecase-utility {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(37, 99, 235, 0.14);
}

.shelter-usecase-infrastructure {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.12);
}

.shelter-usecase-name {
    font-size: 12px;
    font-weight: 700;
    color: #f4f4f5;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.shelter-usecase-desc,
.shelter-cost-meta {
    font-size: 11px;
    color: #a1a1aa;
}
.shelter-bonus-tag {
    background: rgba(34,197,94,0.15);
    color: #4ade80;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.shelter-costs {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 13px;
}
.shelter-cost-row {
    display: flex;
    justify-content: space-between;
    color: #a1a1aa;
    padding: 2px 0;
    gap: 8px;
}
.shelter-cost-insufficient {
    color: #ef4444;
}
.shelter-max-label {
    text-align: center;
    color: #22c55e;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 0;
}
.shelter-upgrade-btn {
    width: 100%;
    min-height: 44px;
    font-size: 14px;
}
.shelter-back-btn {
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
}
