.bp-page-note {
    margin-bottom: 12px;
    line-height: 1.45;
}

.bp-status-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 14px;
    font-size: 9pt;
}

.bp-status-bar span {
    white-space: nowrap;
}

.bp-sync-note {
    font-size: 8pt;
    color: #505050;
    margin-top: 6px;
}

.bp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.bp-card {
    border: 1px solid #5a2800;
    background: #f1e0c6;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    padding: 8px;
    min-height: 150px;
}

.bp-card.locked {
    opacity: 0.65;
    background: #d5c0a1;
}

.bp-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.bp-tier {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #5a2800;
    font-size: 8pt;
    font-weight: 700;
}

.bp-tier.bronze { background: #c49a6c; color: #3b2200; }
.bp-tier.silver { background: #c8c8c8; color: #222; }
.bp-tier.gold { background: #ffdf80; color: #3b2200; }

.bp-points {
    font-size: 8pt;
    font-weight: 700;
    color: #5a2800;
}

.bp-card-title {
    font-weight: 700;
    font-size: 9pt;
    margin-bottom: 4px;
}

.bp-card-desc,
.bp-card-meta {
    font-size: 8pt;
    line-height: 1.35;
}

.bp-card-meta {
    margin-top: 6px;
    color: #505050;
}

.bp-steps-wrap {
    max-height: 520px;
    overflow: auto;
}

.bp-steps-table {
    width: 100%;
    border-collapse: collapse;
}

.bp-steps-table th,
.bp-steps-table td {
    border: 1px solid #faf0d7;
    padding: 6px 8px;
    vertical-align: top;
    font-size: 9pt;
}

.bp-steps-table th {
    background: #505050;
    color: #fff;
    text-align: left;
}

.bp-steps-table tr:nth-child(even) td {
    background: #f1e0c6;
}

.bp-steps-table tr:nth-child(odd) td {
    background: #d4c0a1;
}

.bp-reward-list {
    margin: 0;
    padding-left: 16px;
}

.bp-reward-list li {
    margin-bottom: 3px;
}

.bp-loading,
.bp-error {
    text-align: center;
    padding: 16px;
    font-weight: 700;
}

.bp-error {
    color: #ef0000;
}

@media (max-width: 768px) {
    .bp-grid {
        grid-template-columns: 1fr;
    }

    .bp-steps-table thead {
        display: none;
    }

    .bp-steps-table tr,
    .bp-steps-table td {
        display: block;
        width: 100%;
    }

    .bp-steps-table td {
        border-top: 0;
    }

    .bp-steps-table td:before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        margin-bottom: 4px;
        color: #5a2800;
    }
}
