.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-season-bar,
.bp-week-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.bp-season-btn,
.bp-week-btn {
    border: 1px solid #5a2800;
    background: #d4c0a1;
    color: #3b2200;
    font-size: 8pt;
    font-weight: 700;
    padding: 4px 10px;
    cursor: pointer;
}

.bp-season-btn.active,
.bp-week-btn.active {
    background: #ffdf80;
    box-shadow: inset 0 0 0 1px #5a2800;
}

.bp-season-btn:hover,
.bp-week-btn:hover {
    background: #f1e0c6;
}

.bp-rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 6px 14px;
    font-size: 8pt;
    line-height: 1.4;
}

.bp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 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-tier.crystal {
    background: linear-gradient(180deg, #b8f0ff 0%, #6ec8ff 45%, #c9a0ff 100%);
    color: #1a2040;
}

.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: #3b2200;
}

.bp-card-meta div {
    margin-top: 2px;
}

.bp-loading,
.bp-error {
    padding: 10px;
    font-size: 9pt;
}

.bp-error {
    color: #8b0000;
    font-weight: 700;
}

.bp-steps-wrap {
    overflow-x: auto;
}

.bp-steps-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 8pt;
}

.bp-steps-table th,
.bp-steps-table td {
    border: 1px solid #d4c0a1;
    padding: 6px;
    vertical-align: top;
    text-align: left;
}

.bp-steps-table th {
    background: #d4c0a1;
    color: #3b2200;
    font-weight: 700;
}

.bp-steps-table tr:nth-child(even) td {
    background: #f8efe0;
}

.bp-steps-table tr.bp-step-empty td {
    opacity: 0.55;
}

.bp-step-num {
    display: inline-block;
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    border: 1px solid #5a2800;
    background: #ffdf80;
    padding: 2px 4px;
}

.bp-reward-list {
    margin: 0;
    padding-left: 16px;
}

.bp-reward-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bp-reward-row {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 6px;
}

.bp-reward-text {
    flex: 1 1 auto;
    line-height: 1.35;
    min-width: 0;
}

.bp-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    align-items: flex-start;
    max-width: 100%;
}

.bp-icon-wrap {
    width: 96px;
    text-align: center;
}

.bp-icon-wrap-outfit,
.bp-icon-wrap-mount {
    width: 100px;
}

.bp-icon {
    position: relative;
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border: 1px solid #5a2800;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bp-icon img {
    max-width: 54px;
    max-height: 54px;
    width: auto;
    height: auto;
    image-rendering: pixelated;
}

.bp-icon-storeicon {
    width: 56px;
    height: 56px;
    background: #0d0d0d;
}

.bp-icon-storeicon img {
    max-width: 52px;
    max-height: 52px;
    image-rendering: auto;
}

.bp-icon-outfit {
    width: 96px;
    height: 96px;
    background: transparent;
    border: none;
    overflow: visible;
}

.bp-icon-mount {
    width: 64px;
    height: 64px;
    background: #1a1410;
}

.bp-icon-outfit img,
.bp-icon-mount img {
    max-width: 96px;
    max-height: 96px;
}

.bp-icon-wrap-outfit {
    width: 110px;
}

/* Sprite-sheet walk cycle (igual wiki Rubini) */
.bp-outfit-sheet {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

@keyframes bp-outfit-walk {
    from { background-position: 0 0; }
    to { background-position: var(--bp-end, -3072px) 0; }
}

.bp-icon-buff {
    background: linear-gradient(180deg, #5a4030 0%, #2a1a10 100%);
}

.bp-icon-glyph,
.bp-icon-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 9px;
    font-weight: 700;
    color: #ffe7a0;
    text-align: center;
    line-height: 1.1;
    padding: 2px;
    word-break: break-word;
}

.bp-icon-fallback {
    font-size: 8px;
    color: #fff3c8;
    background: #3a2a18;
}

.bp-icon-caption {
    margin-top: 2px;
    font-size: 7pt;
    line-height: 1.15;
    color: #3b2200;
    word-break: break-word;
}

.bp-icon-count {
    position: absolute;
    right: 1px;
    bottom: 0;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
}

.bp-icon-more {
    font-size: 8pt;
    font-weight: 700;
    color: #5a2800;
    align-self: center;
    max-width: 70px;
}

.bp-empty-slot {
    color: #7a5a3a;
    font-style: italic;
    font-size: 8pt;
}

@media (max-width: 720px) {
    .bp-grid {
        grid-template-columns: 1fr;
    }

    .bp-steps-table thead {
        display: none;
    }

    .bp-steps-table tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #5a2800;
    }

    .bp-steps-table td {
        display: block;
        border: none;
        border-bottom: 1px solid #d4c0a1;
    }

    .bp-steps-table td:before {
        content: attr(data-label) ": ";
        font-weight: 700;
    }
}
