.feed-guest-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 100%;
    min-width: 0;
}

.feed-in-guest-layout.container {
    max-width: 1140px;
}

.feed-in-guest-layout .mobile-admin-right-sidebar {
    min-width: 0;
}

@media (min-width: 992px) {
    .feed-in-guest-layout .mobile-admin-right-sidebar {
        position: sticky;
        top: 88px;
        align-self: flex-start;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .feed-in-guest-layout .mobile-admin-right-sidebar::-webkit-scrollbar {
        display: none;
    }
}

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

.fgs-title {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ff6b35;
    margin-bottom: 0.15rem;
}

.fgs-sub {
    font-size: 0.72rem;
    color: #6b7280;
    display: block;
}

.fgs-card-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.fgs-link {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
}

.fgs-link:hover {
    color: #ff6b35;
}

/* COINET TODAY grid */
.fgs-today-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 0.65rem;
}

.fgs-today-stat {
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    background: #f9fafb;
    border: 1px solid #f0f0f0;
}

.fgs-today-stat.teal {
    grid-column: 1 / -1;
}

.fgs-today-stat i {
    font-size: 1rem;
    display: block;
    margin-bottom: 0.2rem;
}

.fgs-today-stat .val {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
}

.fgs-today-stat .lbl {
    font-size: 0.62rem;
    color: #6b7280;
    margin-top: 0.1rem;
}

.fgs-today-stat.blue i, .fgs-today-stat.blue .val { color: #2563eb; }
.fgs-today-stat.green i, .fgs-today-stat.green .val { color: #16a34a; }
.fgs-today-stat.gold i, .fgs-today-stat.gold .val { color: #d97706; }
.fgs-today-stat.purple i, .fgs-today-stat.purple .val { color: #7c3aed; }
.fgs-today-stat.teal i, .fgs-today-stat.teal .val { color: #0d9488; }

/* Top members */
.fgs-member-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.82rem;
}

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

.fgs-rank {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

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

.fgs-member-row img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.fgs-member-name {
    flex: 1;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fgs-member-coins {
    color: #16a34a;
    font-weight: 700;
    font-size: 0.78rem;
    white-space: nowrap;
}

/* New members */
.fgs-new-members {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.fgs-new-members::-webkit-scrollbar {
    display: none;
}

.fgs-new-member {
    flex: 0 0 72px;
    text-align: center;
}

.fgs-new-member 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);
}

.fgs-new-member .name {
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fgs-new-member .joined {
    font-size: 0.62rem;
    color: #9ca3af;
}

/* How it works */
.fgs-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 0.5rem;
}

.fgs-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 52px;
    font-size: 0.62rem;
    font-weight: 600;
    color: #374151;
}

.fgs-step i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.fgs-step-blue i { background: #dbeafe; color: #2563eb; }
.fgs-step-gold i { background: #fef3c7; color: #d97706; }
.fgs-step-purple i { background: #ede9fe; color: #7c3aed; }
.fgs-step-green i { background: #dcfce7; color: #16a34a; }
.fgs-step-orange i { background: #ffedd5; color: #ea580c; }

.fgs-step-arrow {
    color: #d1d5db;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Today's rewards */
.fgs-rewards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.fgs-reward {
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s;
}

.fgs-reward:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.fgs-reward i {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.fgs-reward .lbl {
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
}

.fgs-reward .coins {
    font-size: 0.78rem;
    font-weight: 800;
    color: #16a34a;
    margin-top: 0.15rem;
}

.fgs-reward-pink i { color: #ec4899; }
.fgs-reward-blue i { color: #2563eb; }
.fgs-reward-green i { color: #16a34a; }
.fgs-reward-orange i { color: #ea580c; }

/* Guest composer */
.feed-guest-composer-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #ffe4cc;
}

.feed-login-gate {
    cursor: pointer;
}

.feed-guest-composer-textarea {
    cursor: pointer;
}

@media (max-width: 991px) {
    .feed-in-guest-layout .mobile-admin-right-sidebar {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .fgs-steps {
        justify-content: center;
    }

    .fgs-step-arrow {
        display: none;
    }

    .fgs-step {
        min-width: 58px;
    }
}
