.feed-rsidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feed-rsidebar-card {
    background: #fff;
    border: 1px solid #ebe7df;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feed-rsidebar-card h6,
.feed-rsidebar-card .frs-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* Wallet */
.frs-wallet {
    background: linear-gradient(135deg, #ff8a2a 0%, #ff6b35 55%, #f45d20 100%);
    border: none;
    color: #fff;
    padding: 18px 16px;
    position: relative;
    overflow: hidden;
}

.frs-wallet-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.5rem;
    opacity: 0.35;
}

.frs-wallet h6 {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.frs-wallet-balance {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0.35rem 0;
}

.frs-wallet-sub {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.frs-wallet-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff;
    color: #1a1a1a;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    text-decoration: none;
}

.frs-wallet-btn:hover {
    background: #fff7f0;
    color: #1a1a1a;
}

/* Coin value */
.frs-coin-inner {
    background: linear-gradient(to right, #fde6d2, #e6f4ea);
    border-radius: 12px;
    padding: 12px 14px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.frs-coin-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #7a3e00;
}

.frs-coin-growth {
    color: #2e7d32;
    font-weight: 700;
    font-size: 0.85rem;
}

.frs-coin-graph,
.frs-coin-graph-green {
    position: absolute;
    bottom: 0;
    height: 42px;
    pointer-events: none;
}

.frs-coin-graph {
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(244, 167, 66, 0.35), transparent);
    clip-path: polygon(0% 80%, 15% 65%, 30% 70%, 50% 50%, 70% 55%, 100% 35%, 100% 100%, 0% 100%);
}

.frs-coin-graph-green {
    right: 0;
    width: 55%;
    background: linear-gradient(to top, rgba(76, 175, 80, 0.35), transparent);
    clip-path: polygon(0% 65%, 40% 55%, 70% 45%, 100% 38%, 100% 100%, 0% 100%);
}

/* Live activity */
.frs-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    animation: frs-pulse 1.5s infinite;
}

@keyframes frs-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.frs-activity-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.8rem;
}

.frs-activity-row:last-child {
    border-bottom: none;
}

.frs-activity-row img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.frs-coin-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
}

.frs-coin-badge.orange { background: #fff3e6; color: #ea580c; }
.frs-coin-badge.purple { background: #f3e8ff; color: #7c3aed; }
.frs-coin-badge.green { background: #dcfce7; color: #15803d; }
.frs-coin-badge.blue { background: #dbeafe; color: #1d4ed8; }

/* Weekly challenge */
.frs-challenge {
    background: linear-gradient(180deg, #fff8f3 0%, #fff 100%);
    border-color: #ffe4cc;
}

.frs-challenge-progress {
    height: 8px;
    background: #f3f4f6;
    border-radius: 999px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.frs-challenge-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff8a2a, #ff6b35);
    border-radius: 999px;
}

/* Social stats grid */
.frs-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.frs-stat-box {
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 10px;
}

.frs-stat-box .val {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
}

.frs-stat-growth {
    font-size: 0.72rem;
    color: #16a34a;
    font-weight: 600;
}

/* Leaderboard */
.frs-lb-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.82rem;
}

.frs-lb-rank {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

.frs-lb-rank.gold { background: #fef3c7; color: #b45309; }

.frs-lb-row img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.frs-lb-amount {
    margin-left: auto;
    color: #16a34a;
    font-weight: 700;
}

/* Streaks */
.frs-streak-avatars {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}

.frs-streak-item {
    text-align: center;
    flex: 1;
    min-width: 0;
}

.frs-streak-item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.frs-streak-fire {
    font-size: 0.7rem;
    color: #ea580c;
    margin-top: 4px;
}

/* Membership */
.frs-member-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    color: inherit;
}

.frs-member-row:last-child {
    border-bottom: none;
}

.frs-card-icon {
    width: 40px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
}

.frs-card-icon.silver {
    background: linear-gradient(135deg, #94a3b8, #cbd5e1);
}

.frs-card-icon.gold {
    background: linear-gradient(135deg, #d97706, #fbbf24);
}

/* Promo */
.frs-promo {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: #fed7aa;
    position: relative;
    overflow: hidden;
}

.frs-promo-coins {
    position: absolute;
    right: 8px;
    bottom: 8px;
    font-size: 2.5rem;
    opacity: 0.5;
}

.frs-promo-btn {
    background: #ff6b35;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}

.frs-promo-btn:hover {
    background: #e55a2b;
    color: #fff;
}

.frs-link-sm {
    font-size: 0.78rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
}

.frs-link-sm:hover {
    color: #ff6b35;
}
