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

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

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

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

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

.tb-card {
    border: 1px solid #5a2800;
    background: #f1e0c6;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    padding: 8px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

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

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

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

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

.tb-sprite-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 96px;
    margin: 4px 0 8px;
    background: linear-gradient(180deg, rgba(90, 40, 0, 0.08) 0%, rgba(90, 40, 0, 0.02) 100%);
    border: 1px solid rgba(90, 40, 0, 0.25);
    border-radius: 2px;
    overflow: hidden;
}

.tb-sprite {
    width: 64px;
    height: 80px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.tb-sprite-placeholder {
    width: 64px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8pt;
    color: #666;
    text-align: center;
    padding: 4px;
}

.tb-card-title {
    font-weight: 700;
    font-size: 9pt;
    margin-bottom: 4px;
    text-align: center;
}

.tb-card-meta {
    font-size: 8pt;
    line-height: 1.35;
    color: #505050;
    margin-top: auto;
}

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

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

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

.tb-error {
    color: #ef0000;
}

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